/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
    --navy:       #0a1628;
    --navy-mid:   #112240;
    --navy-light: #1e3a5f;
    --cyan:       #00c8e0;
    --cyan-dark:  #0099b0;
    --orange:     #ff6b35;
    --white:      #ffffff;
    --gray:       #94a3b8;
    --text:       #1e293b;
    --text-light: #475569;
    --light-bg:   #f0f4f8;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { line-height: 1.15; }

.eyebrow {
    font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--cyan); margin-bottom: 0.9rem; display: block;
}
.section-light .eyebrow,
.section-white .eyebrow { color: var(--cyan-dark); }

.section-h {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900; line-height: 1.1;
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }

.section        { padding: 6rem 0; }
.section-dark   { background: var(--navy);     color: var(--white); }
.section-mid    { background: var(--navy-mid); color: var(--white); }
.section-light  { background: var(--light-bg); color: var(--text); }
.section-white  { background: var(--white);    color: var(--text); }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    background: var(--cyan); color: var(--navy);
    padding: 0.9rem 2rem; border-radius: 4px;
    font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em;
    transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.88; }

.btn-ghost {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.28); color: var(--white);
    padding: 0.9rem 2rem; border-radius: 4px;
    font-weight: 500; font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(0,200,224,0.08); }

.btn-ghost-dark {
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.2); color: var(--text);
    padding: 0.9rem 2rem; border-radius: 4px;
    font-weight: 500; font-size: 0.9rem;
    transition: border-color 0.2s;
}
.btn-ghost-dark:hover { border-color: var(--cyan-dark); }

.btn-wa {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: #25d366; color: #fff;
    padding: 0.9rem 2rem; border-radius: 4px;
    font-weight: 700; font-size: 0.9rem;
    transition: opacity 0.2s;
}
.btn-wa:hover { opacity: 0.88; }
.btn-wa svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }

/* ── NAV ───────────────────────────────────────────────────── */
#topnav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 300;
    padding: 1.1rem 3rem;
    display: flex; align-items: center; gap: 2rem;
    background: rgba(10,22,40,0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0,200,224,0.12);
    transition: box-shadow 0.3s;
}
#topnav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }

.nav-logo {
    font-size: 1rem; font-weight: 800;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--white); white-space: nowrap;
    margin-right: auto;
}
.nav-logo span { color: var(--cyan); }

.nav-links {
    display: flex; align-items: center; gap: 0.25rem;
}

.nav-link {
    color: rgba(255,255,255,0.8); font-size: 0.875rem; font-weight: 500;
    padding: 0.5rem 0.85rem; border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--cyan); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
    position: absolute; top: calc(100% + 0.5rem); left: 0;
    background: var(--navy-mid);
    border: 1px solid rgba(0,200,224,0.15);
    border-radius: 8px; min-width: 200px;
    padding: 0.5rem 0; opacity: 0; visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
    display: block; padding: 0.65rem 1.25rem;
    color: rgba(255,255,255,0.75); font-size: 0.875rem; font-weight: 500;
    transition: color 0.15s, background 0.15s;
}
.nav-dropdown-menu a:hover { color: var(--cyan); background: rgba(0,200,224,0.06); }

.nav-cta {
    background: var(--cyan); color: var(--navy);
    padding: 0.55rem 1.3rem; border-radius: 4px;
    font-weight: 700; font-size: 0.82rem;
    letter-spacing: 0.06em; text-transform: uppercase;
    white-space: nowrap; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }

.nav-toggle {
    display: none; background: none; border: none;
    color: var(--white); cursor: pointer; padding: 0.4rem;
    margin-left: 0.5rem;
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }

/* ── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero {
    background: var(--navy-mid);
    padding: 10rem 0 5rem;
    border-bottom: 1px solid rgba(0,200,224,0.12);
}
.page-hero .eyebrow { color: var(--cyan); }
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900; line-height: 1.1; color: var(--white);
    margin-top: 0.5rem;
}
.page-hero p {
    font-size: 1.05rem; color: var(--gray);
    line-height: 1.75; max-width: 560px; margin-top: 1rem;
}

/* ── CONTENT PROSE ─────────────────────────────────────────── */
.content-prose { max-width: 760px; }
.content-prose h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 1.25rem; }
.content-prose h3 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.content-prose p  { line-height: 1.8; color: var(--text-light); margin-bottom: 1.1rem; }
.section-dark .content-prose p,
.section-mid  .content-prose p { color: var(--gray); }

/* ── SERVICE CARDS (homepage grid) ────────────────────────── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin-top: 3.5rem;
}
.service-card {
    background: var(--white); border-radius: 12px;
    padding: 2rem 1.75rem;
    box-shadow: 0 2px 18px rgba(0,0,0,0.07);
    border-top: 3px solid var(--cyan);
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.11); }
.service-card.featured { border-top-color: var(--orange); background: var(--navy); color: var(--white); }
.service-icon {
    width: 48px; height: 48px; background: rgba(0,200,224,0.1);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.service-card.featured .service-icon { background: rgba(255,107,53,0.15); }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--navy); }
.service-card.featured h3 { color: var(--white); }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }
.service-card.featured p { color: var(--gray); }
.service-card a.card-link {
    display: inline-block; margin-top: 1.25rem;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--cyan-dark);
}
.service-card.featured a.card-link { color: var(--orange); }

/* ── INFO GRID (two-col content + image) ───────────────────── */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
    margin-top: 3rem;
}
.info-grid.reversed { direction: rtl; }
.info-grid.reversed > * { direction: ltr; }
.info-photo { border-radius: 12px; overflow: hidden; }
.info-photo img { width: 100%; height: 360px; object-fit: cover; }

/* ── PHOTO GRID ────────────────────────────────────────────── */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem; margin-top: 3rem;
}
.photo-grid-3 { grid-template-columns: repeat(3, 1fr); }
.photo-item { border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.photo-item:hover img { transform: scale(1.03); }

/* ── VIDEO GRID ────────────────────────────────────────────── */
.video-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; margin-top: 3rem;
}
.video-wrap {
    position: relative; padding-top: 56.25%;
    border-radius: 10px; overflow: hidden;
    background: var(--navy-mid);
}
.video-wrap iframe {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%; border: 0;
}

/* ── TABS ──────────────────────────────────────────────────── */
.tabs-nav {
    display: flex; gap: 0; border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 2rem; overflow-x: auto;
}
.section-dark .tabs-nav,
.section-mid  .tabs-nav { border-bottom-color: rgba(255,255,255,0.1); }
.tab-btn {
    background: none; border: none; cursor: pointer;
    padding: 0.85rem 1.25rem; font-size: 0.9rem; font-weight: 600;
    color: var(--text-light); border-bottom: 2px solid transparent;
    white-space: nowrap; transition: color 0.2s, border-color 0.2s;
    margin-bottom: -1px;
}
.section-dark .tab-btn,
.section-mid  .tab-btn { color: var(--gray); }
.tab-btn:hover { color: var(--cyan-dark); }
.tab-btn.active { color: var(--cyan-dark); border-bottom-color: var(--cyan-dark); }
.section-dark .tab-btn.active,
.section-mid  .tab-btn.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel p { line-height: 1.8; color: var(--text-light); }
.section-dark .tab-panel p,
.section-mid  .tab-panel p { color: var(--gray); }
.tab-panel p strong { color: var(--text); }
.section-dark .tab-panel p strong { color: var(--white); }

/* ── TEAM GRID ─────────────────────────────────────────────── */
.team-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3rem; margin-top: 3.5rem;
}
.team-card {
    display: flex; gap: 2rem; align-items: flex-start;
}
.team-photo {
    width: 160px; flex-shrink: 0;
    border-radius: 10px; overflow: hidden;
}
.team-photo img { width: 100%; height: 200px; object-fit: cover; object-position: top; }
.team-role {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--cyan-dark);
    margin-bottom: 0.35rem;
}
.team-name { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.75rem; }
.team-bio { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.team-email { margin-top: 0.75rem; font-size: 0.85rem; font-weight: 600; color: var(--cyan-dark); }

/* ── CONTACT FORM ──────────────────────────────────────────── */
.contact-wrap {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 5rem; align-items: start; margin-top: 3rem;
}
.contact-info h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info p { color: var(--text-light); line-height: 1.75; margin-bottom: 1.5rem; }
.contact-detail { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; align-items: flex-start; }
.contact-detail-label {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--cyan-dark);
    min-width: 56px; padding-top: 0.1rem;
}
.contact-detail-val { font-size: 0.9rem; color: var(--text); }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block; font-size: 0.8rem; font-weight: 600;
    margin-bottom: 0.4rem; color: var(--text-light);
}
.form-input, .form-textarea, .form-select {
    width: 100%; padding: 0.8rem 1rem;
    border: 1px solid #d1d5db; border-radius: 6px;
    font-family: inherit; font-size: 0.9rem; color: var(--text);
    background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-input:focus, .form-textarea:focus {
    border-color: var(--cyan-dark);
    box-shadow: 0 0 0 3px rgba(0,153,176,0.12);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
    background: var(--cyan); color: var(--navy);
    padding: 0.9rem 2.2rem; border-radius: 4px;
    font-weight: 700; font-size: 0.9rem; border: none;
    cursor: pointer; font-family: inherit;
    transition: opacity 0.2s; letter-spacing: 0.04em;
}
.btn-submit:hover { opacity: 0.88; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list { max-width: 780px; margin-top: 3rem; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); }
.section-dark .faq-item { border-bottom-color: rgba(255,255,255,0.08); }
.faq-q {
    width: 100%; text-align: left; background: none; border: none;
    cursor: pointer; padding: 1.4rem 0;
    display: flex; justify-content: space-between; align-items: center;
    gap: 1rem; font-family: inherit;
}
.faq-q-text { font-size: 1rem; font-weight: 600; color: var(--text); }
.section-dark .faq-q-text { color: var(--white); }
.faq-icon {
    width: 24px; height: 24px; flex-shrink: 0;
    color: var(--cyan-dark); transition: transform 0.3s;
}
.section-dark .faq-icon { color: var(--cyan); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s;
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding-bottom: 1.4rem; color: var(--text-light); line-height: 1.8; font-size: 0.93rem; }
.section-dark .faq-a-inner { color: var(--gray); }

/* ── SENTRY CALLOUT ────────────────────────────────────────── */
.sentry-callout {
    background: var(--navy-mid);
    border: 1px solid rgba(0,200,224,0.18);
    border-radius: 16px; padding: 4rem;
    display: grid; grid-template-columns: 1fr auto;
    gap: 3rem; align-items: center;
    margin-top: 3rem;
}
.sentry-callout .eyebrow { color: var(--orange); }
.sentry-callout h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; margin-top: 0.5rem; }
.sentry-callout p { color: var(--gray); line-height: 1.7; max-width: 520px; margin-top: 0.75rem; }
.sentry-callout-cta { display: flex; flex-direction: column; gap: 0.75rem; flex-shrink: 0; }

/* ── CTA STRIP ─────────────────────────────────────────────── */
.cta-strip {
    background: var(--navy); padding: 6rem 0;
    text-align: center; position: relative; overflow: hidden;
}
.cta-glow {
    position: absolute; width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,200,224,0.1) 0%, transparent 68%);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    pointer-events: none;
}
.cta-strip h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 1rem; }
.cta-strip p { color: var(--gray); font-size: 1.05rem; margin-bottom: 2.5rem; }
.cta-strip-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── STATS ROW ─────────────────────────────────────────────── */
.stats-row {
    display: flex; gap: 3rem; flex-wrap: wrap;
    padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 2.5rem;
}
.stat { font-size: 0.75rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; }
.stat strong { display: block; font-size: 1.5rem; font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 0.15rem; }
.stat strong span { color: var(--cyan); }

/* ── WHY GRID ──────────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 3.5rem; }
.why-item { display: flex; gap: 1.25rem; }
.why-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(0,153,176,0.1); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.why-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
    background: var(--navy-mid);
    border-top: 1px solid rgba(0,200,224,0.1);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-logo {
    font-size: 1rem; font-weight: 800;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--white); margin-bottom: 1rem;
}
.footer-logo span { color: var(--cyan); }
.footer-tagline { color: var(--gray); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-col h4 {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--white);
    margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a, .footer-col ul li {
    font-size: 0.875rem; color: var(--gray);
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--cyan); }
.footer-contact-item { margin-bottom: 0.5rem; }
.footer-contact-item a { font-size: 0.875rem; color: var(--gray); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--cyan); }
.footer-contact-item span { font-size: 0.875rem; color: var(--gray); }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.06); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray); transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: rgba(0,200,224,0.15); color: var(--cyan); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
    margin-top: 3rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--gray); }
.footer-bottom a { color: var(--cyan); }

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 3px; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    #topnav { padding: 1rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .service-grid { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: 1fr; gap: 2rem; }
    .info-grid.reversed { direction: ltr; }
    .photo-grid { grid-template-columns: 1fr 1fr; }
    .photo-grid-3 { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
    .sentry-callout { grid-template-columns: 1fr; }
    .sentry-callout-cta { flex-direction: row; }
    .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; flex-direction: column; align-items: stretch;
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: var(--navy); padding: 6rem 2rem 2rem;
        overflow-y: auto; z-index: 200;
        gap: 0;
    }
    .nav-links.open { display: flex; }
    .nav-link { padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1rem; }
    .nav-dropdown-menu {
        position: static; opacity: 1; visibility: visible;
        transform: none; border: none; background: none;
        padding: 0; display: none;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu a { padding: 0.7rem 0 0.7rem 1rem; color: var(--gray); }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .service-grid { grid-template-columns: 1fr; }
    .video-grid { grid-template-columns: 1fr; }
    .photo-grid, .photo-grid-3 { grid-template-columns: 1fr 1fr; }
    .team-card { flex-direction: column; }
    .team-photo { width: 100%; }
    .team-photo img { height: 260px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-row { gap: 1.5rem; }
    .form-row { grid-template-columns: 1fr; }
    .sentry-callout { padding: 2.5rem 1.5rem; }
    .sentry-callout-cta { flex-direction: column; }
    .section { padding: 4rem 0; }
    .page-hero { padding: 8rem 0 4rem; }
    .why-grid { gap: 1.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .photo-grid, .photo-grid-3 { grid-template-columns: 1fr; }
}
