/* ══════════════════════════════════════
   SITE 38 — "Aperture"
   Teal-cyan gradients + burnt orange
   Panchang (display) + Ranade (body)
   Circular/radial design motifs
   ══════════════════════════════════════ */

:root {
    --teal: #0D7377;
    --teal-light: #14919B;
    --teal-pale: #E6F5F5;
    --cyan: #80DEEA;
    --burnt: #D4652A;
    --burnt-light: #E8844A;
    --near-black: #0B1215;
    --charcoal: #1A2126;
    --text-main: #1A2126;
    --text-dim: #6B7E87;
    --bg: #FAFBFC;
    --bg-warm: #F5F0EB;
    --border: #DDE3E6;
}

* { box-sizing: border-box; margin: 0; }

body {
    font-family: 'Ranade', sans-serif;
    background: var(--bg);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.display-font { font-family: 'Panchang', sans-serif; }

/* ── Nav centered ── */
.nav-centered {
    position: fixed; top: 1.5rem; left: 50%; transform: translateX(-50%);
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.6rem 0.6rem 0.6rem 1.5rem;
    display: flex; align-items: center; gap: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.nav-logo {
    font-family: 'Panchang', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    white-space: nowrap;
}
.nav-logo span { color: var(--burnt); }
.nav-menu {
    display: flex; gap: 1.75rem; list-style: none; padding: 0;
}
.nav-menu a {
    font-size: 0.78rem; font-weight: 500;
    color: var(--text-dim); text-decoration: none;
    transition: color 0.3s;
}
.nav-menu a:hover { color: var(--teal); }
.nav-pill {
    background: var(--teal); color: white;
    padding: 0.6rem 1.5rem; border-radius: 100px;
    font-size: 0.78rem; font-weight: 600;
    text-decoration: none; white-space: nowrap;
    transition: all 0.3s;
}
.nav-pill:hover {
    background: var(--burnt);
    box-shadow: 0 6px 20px rgba(212, 101, 42, 0.25);
}

/* ── Hero: centered with circle motif ── */
.hero-aperture {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 8rem 2rem 4rem;
    position: relative; overflow: hidden;
}
.hero-circle {
    position: absolute;
    border-radius: 50%; border: 1px solid var(--border);
    opacity: 0.5; pointer-events: none;
}
.hero-circle-1 { width: 600px; height: 600px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.hero-circle-2 { width: 400px; height: 400px; top: 50%; left: 50%; transform: translate(-50%, -50%); border-color: var(--teal-pale); }
.hero-circle-3 {
    width: 200px; height: 200px; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: none; background: var(--teal-pale); opacity: 0.3;
}
.hero-circle-accent {
    width: 80px; height: 80px;
    position: absolute; top: 22%; right: 18%;
    background: var(--burnt); border-radius: 50%; opacity: 0.12;
    animation: floatCircle 6s ease-in-out infinite;
}
@keyframes floatCircle {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--teal-pale); color: var(--teal);
    padding: 0.5rem 1.25rem; border-radius: 100px;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 2.5rem; position: relative; z-index: 1;
}
.hero-badge::before {
    content: ''; width: 6px; height: 6px;
    border-radius: 50%; background: var(--teal);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}
.hero-big {
    font-family: 'Panchang', sans-serif;
    font-size: clamp(2.5rem, 6.5vw, 5.5rem);
    font-weight: 700; line-height: 1;
    letter-spacing: -0.04em;
    position: relative; z-index: 1;
    margin-bottom: 1.5rem;
}
.hero-big .outline-text {
    -webkit-text-stroke: 1.5px var(--text-main);
    -webkit-text-fill-color: transparent;
}
.hero-big .fill-teal { color: var(--teal); -webkit-text-fill-color: var(--teal); -webkit-text-stroke: 0; }
.hero-p {
    font-size: 1.1rem; color: var(--text-dim);
    max-width: 520px; line-height: 1.75;
    margin: 0 auto 2.5rem; position: relative; z-index: 1;
}
.hero-btns {
    display: flex; gap: 1rem; justify-content: center;
    flex-wrap: wrap; position: relative; z-index: 1;
}
.btn-teal {
    background: var(--teal); color: white;
    padding: 1rem 2.25rem; border: none;
    font-weight: 600; font-size: 0.85rem;
    text-decoration: none; cursor: pointer;
    border-radius: 6px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-teal:hover {
    background: var(--teal-light);
    box-shadow: 0 10px 30px rgba(13, 115, 119, 0.25);
    transform: translateY(-2px);
}
.btn-outline-teal {
    background: transparent; color: var(--teal);
    border: 1.5px solid var(--teal);
    padding: 1rem 2.25rem; border-radius: 6px;
    font-weight: 600; font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-outline-teal:hover {
    background: var(--teal); color: white;
}

/* ── Horizontal stats ── */
.stats-strip {
    display: flex;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}
.stats-strip .s-item {
    flex: 1; padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background 0.3s;
}
.stats-strip .s-item:last-child { border-right: none; }
.stats-strip .s-item:hover { background: var(--teal-pale); }
.s-num {
    font-family: 'Panchang', sans-serif;
    font-size: 2.2rem; font-weight: 700; color: var(--teal);
}
.s-label {
    font-size: 0.75rem; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* ── Sections ── */
.sec { padding: 6rem 2rem; }
.sec-alt { background: var(--teal-pale); }
.sec-dark { background: var(--near-black); color: #C8D6DB; }
.sec-inner { max-width: 1200px; margin: 0 auto; }

.sec-head-center { text-align: center; margin-bottom: 3.5rem; }
.sec-eyebrow {
    font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--burnt); margin-bottom: 0.75rem;
}
.sec-h2 {
    font-family: 'Panchang', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700; line-height: 1.1;
    letter-spacing: -0.03em;
}
.sec-dark .sec-h2 { color: white; }
.sec-p {
    font-size: 1rem; color: var(--text-dim);
    line-height: 1.7; max-width: 550px;
}
.sec-dark .sec-p { color: #8EAAB4; }

/* ── Service circles ── */
.service-orbit {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.orbit-card {
    background: white; border: 1px solid var(--border);
    border-radius: 16px; padding: 2.5rem 2rem;
    text-align: center; position: relative;
    transition: all 0.4s;
}
.orbit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(13, 115, 119, 0.1);
    border-color: var(--teal);
}
.orbit-icon {
    width: 56px; height: 56px; margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-pale), rgba(13, 115, 119, 0.08));
    display: flex; align-items: center; justify-content: center;
    color: var(--teal); font-size: 1.2rem;
}
.orbit-title {
    font-family: 'Panchang', sans-serif;
    font-size: 1rem; font-weight: 600;
    margin-bottom: 0.5rem;
}
.orbit-text {
    font-size: 0.85rem; color: var(--text-dim); line-height: 1.65;
}

/* ── QEHS orbital ── */
.orbital-wrap {
    display: flex; align-items: center; justify-content: center;
    gap: 4rem; flex-wrap: wrap;
}
.orbital-center {
    width: 160px; height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    display: flex; align-items: center; justify-content: center;
    color: white; flex-shrink: 0;
    box-shadow: 0 20px 60px rgba(13, 115, 119, 0.2);
}
.orbital-center span {
    font-family: 'Panchang', sans-serif;
    font-size: 1.6rem; font-weight: 700;
}
.orbital-items { display: flex; flex-direction: column; gap: 1.5rem; }
.orb-item {
    display: flex; align-items: center; gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    transition: all 0.3s;
}
.orb-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--burnt);
}
.orb-dot {
    width: 10px; height: 10px; border-radius: 50%;
    flex-shrink: 0;
}
.orb-item-title {
    font-family: 'Panchang', sans-serif;
    font-weight: 600; font-size: 0.9rem; color: white;
}
.orb-item-desc { font-size: 0.8rem; color: #8EAAB4; margin-top: 0.25rem; }

/* ── Partners ── */
.partner-circles {
    display: flex; gap: 1.5rem; justify-content: center;
    flex-wrap: wrap; align-items: center;
}
.partner-c {
    width: 100px; height: 100px; border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Panchang', sans-serif;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    transition: all 0.3s; cursor: default;
}
.partner-c:hover {
    border-color: var(--burnt); color: var(--burnt);
    transform: scale(1.08);
}

/* ── Contact ── */
.contact-wave {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 50%, var(--burnt) 100%);
    color: white; padding: 5rem 2rem;
    text-align: center; position: relative;
}
.contact-wave .cw-title {
    font-family: 'Panchang', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; margin-bottom: 1rem;
}
.contact-wave .cw-text {
    font-size: 1rem; color: rgba(255,255,255,0.75);
    max-width: 500px; margin: 0 auto 2rem; line-height: 1.7;
}
.btn-white {
    background: white; color: var(--teal);
    padding: 1rem 2.25rem; border-radius: 6px;
    font-weight: 600; font-size: 0.85rem;
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
    transition: all 0.3s;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ── Footer ── */
.footer-teal {
    background: var(--near-black); color: #6B7E87;
    padding: 2.5rem 2rem; text-align: center;
    font-size: 0.8rem;
}

/* ── Animations ── */
.rise {
    opacity: 0; transform: translateY(35px);
    animation: riseUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes riseUp { to { opacity: 1; transform: none; } }
.w1 { animation-delay: 0.08s; } .w2 { animation-delay: 0.16s; }
.w3 { animation-delay: 0.24s; } .w4 { animation-delay: 0.32s; }
.w5 { animation-delay: 0.4s; } .w6 { animation-delay: 0.48s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .nav-menu { display: none; }
    .nav-centered { padding: 0.5rem 0.5rem 0.5rem 1.25rem; }
    .service-orbit { grid-template-columns: 1fr 1fr; }
    .orbital-wrap { flex-direction: column; }
    .stats-strip { flex-wrap: wrap; }
    .stats-strip .s-item { flex: 1 1 50%; }
}
@media (max-width: 640px) {
    .hero-aperture { padding: 7rem 1.25rem 3rem; }
    .sec { padding: 4rem 1.25rem; }
    .service-orbit { grid-template-columns: 1fr; }
    .stats-strip .s-item { flex: 1 1 50%; }
    .hero-btns { flex-direction: column; align-items: center; }
    .btn-teal, .btn-outline-teal { width: 100%; justify-content: center; }
    .partner-c { width: 72px; height: 72px; font-size: 0.6rem; }
}

::selection { background: var(--burnt); color: white; }
