/* =============================================
   INNOVAYS TECH — Glossy White Light Theme
   Same structure as the dark theme, colors inverted
   to create a premium MacOS-style white finish.
   ============================================= */
:root {
    /* === Light / White Palette === */
    --bg:         #ffffff;
    --bg-2:       #f5f5f7;
    --bg-card:    #ffffff;
    --bg-raised:  #f0f0f2;

    /* === Text (dark on white) === */
    --text-white: #1d1d1f;   /* "primary" text — same var name, dark value */
    --text-off:   #6e6e73;
    --text-dim:   #aeaeb2;

    /* === Borders & Glass === */
    --border:     rgba(0, 0, 0, 0.08);
    --glass-bg:   rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.8);

    /* === Accent (black for buttons) === */
    --accent:     #1d1d1f;
    --accent-dim: rgba(0, 0, 0, 0.04);

    /* === System font stack === */
    --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }
.hidden { display: none !important; }

/* ---- UTILS ---- */
.section-pad { padding: 110px 40px; max-width: 1440px; margin: 0 auto; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 40px; }
.center-intro { text-align: center; }
.alt-bg { background: var(--bg-2); }
.reveal { opacity: 0; transform: translateY(44px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ---- TYPOGRAPHY ---- */
.section-label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--text-off);
    margin-bottom: 20px; display: block;
}
.section-title {
    font-size: clamp(40px, 5.5vw, 80px);
    font-weight: 800; line-height: 1.0; letter-spacing: -0.03em;
    color: var(--text-white); margin-bottom: 20px;
}
.section-title em { font-style: italic; font-weight: 300; color: var(--text-off); }
.section-sub { font-size: 17px; color: var(--text-off); max-width: 620px; margin: 0 auto 60px; line-height: 1.7; }

/* ---- NAVBAR (Frosted White Glass) ---- */
/* Works whether the element is <header> or <nav> */
#navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 99999;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: background 0.35s, padding 0.25s;
    display: block;
    min-height: 60px;
}
/* Logo image — always visible */
.nav-logo-img {
    height: 40px !important;
    width: auto !important;
    max-width: 180px;
    display: block !important;
    object-fit: contain;
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(0, 0, 0, 0.07);
    padding: 12px 40px;
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1440px; margin: 0 auto; width: 100%; position: relative;
}
.site-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 17px; font-weight: 700; letter-spacing: -0.02em;
    color: var(--text-white); flex-shrink: 0;
}
.site-logo i { font-size: 19px; }
.site-logo em { font-style: italic; font-weight: 300; }

.main-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.has-mega { position: relative; }
.nav-link {
    font-size: 13px; font-weight: 500; color: var(--text-off);
    padding: 8px 14px; border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap; display: flex; align-items: center; gap: 6px;
}
.nav-link:hover { color: var(--text-white); background: rgba(0,0,0,0.04); }
.nav-chevron { font-size: 9px; transition: transform 0.25s; }
.has-mega.mega-open .nav-chevron { transform: rotate(180deg); }

/* MEGA MENU (White Glass) */
.mega-menu {
    /* top:100% + padding-top replaces the old `calc(100% + 14px)` gap.
       The padding keeps the visual offset but there is NO dead zone where
       the hover chain can break when the mouse moves from nav item → menu. */
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: transparent;          /* outer wrapper is transparent */
    min-width: 400px;
    padding-top: 14px;                /* bridging gap — hover area is solid */
    opacity: 0; visibility: hidden; pointer-events: none;
    /* delay on hide (visibility/opacity) so fast mouse moves don't flicker */
    transition: opacity 0.22s var(--ease),
                transform 0.22s var(--ease),
                visibility 0s linear 0.22s;
}
/* The visual card lives inside a pseudo or a wrapper — we use ::before */
.mega-menu::before {
    content: '';
    position: absolute; inset: 14px 0 0 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(0,0,0,0.08); border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
    z-index: -1;
}
.mega-menu--wide { min-width: 680px; }
.has-mega.mega-open .mega-menu {
    opacity: 1; visibility: visible; pointer-events: all;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.22s var(--ease),
                transform 0.22s var(--ease),
                visibility 0s linear 0s;   /* show instantly, hide with delay */
}
.mega-inner { padding: 16px; position: relative; z-index: 1; }
.mega-menu--wide .mega-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 20px; }
.mega-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.mega-icon { font-size: 28px; color: var(--text-white); opacity: 0.5; }
.mega-header h4 { font-size: 14px; font-weight: 600; color: var(--text-white); margin-bottom: 2px; }
.mega-header p { font-size: 12px; color: var(--text-off); }
.mega-col-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.mega-col-header i { font-size: 16px; color: var(--text-white); opacity: 0.5; }
.mega-col-header strong { font-size: 13px; font-weight: 600; color: var(--text-white); }
.mega-links { list-style: none; }
.mega-links li a { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; transition: background 0.2s; }
.mega-links li a:hover { background: var(--accent-dim); }
.mega-links li a > i { font-size: 14px; color: var(--text-off); margin-top: 2px; width: 16px; flex-shrink: 0; }
.mega-links li a span { display: flex; flex-direction: column; gap: 2px; }
.mega-links li a span strong { font-size: 13px; font-weight: 500; color: var(--text-white); }
.mega-links li a span { font-size: 12px; color: var(--text-off); }

/* ── Phone in header ── */
.nav-phone {
    display: flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 600; color: var(--text-white);
    white-space: nowrap; padding: 7px 14px;
    border: 1px solid var(--border); border-radius: 999px;
    transition: background 0.2s, border-color 0.2s;
}
.nav-phone i { font-size: 11px; color: #25d366; }
.nav-phone:hover { background: var(--accent-dim); border-color: rgba(0,0,0,0.14); }
.nav-phone span { display: inline; }
@media (max-width: 860px) { .nav-phone span { display: none; } }
@media (max-width: 640px) { .nav-phone { display: none; } }

/* ── Footer contact block ── */
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 20px; }
.footer-contact-item {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 13px; color: var(--text-off); line-height: 1.5;
    text-decoration: none; transition: color 0.2s;
}
.footer-contact-item i { font-size: 13px; color: var(--text-dim); margin-top: 2px; flex-shrink: 0; }
a.footer-contact-item:hover { color: var(--text-white); }
a.footer-contact-item:hover i { color: var(--text-white); }

/* ── Floating WhatsApp button ── */
.wa-float {
    position: fixed; bottom: 28px; right: 24px; z-index: 99990;
    display: flex; align-items: center; gap: 10px;
    background: #25d366; color: #fff;
    padding: 13px 20px 13px 16px;
    border-radius: 999px;
    font-size: 14px; font-weight: 600;
    box-shadow: 0 8px 28px rgba(37,211,102,0.4);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    animation: waFloat 3s ease-in-out infinite;
}
.wa-float i { font-size: 22px; line-height: 1; }
.wa-float:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 36px rgba(37,211,102,0.5);
}
.wa-label { font-size: 13px; white-space: nowrap; }
@media (max-width: 480px) { .wa-label { display: none; } .wa-float { padding: 14px; } }
@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
.wa-float:hover { animation: none; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta {
    font-size: 12px; font-weight: 600; color: var(--bg);
    background: var(--text-white); padding: 9px 20px;
    border-radius: 999px; white-space: nowrap; transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.8; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-white); border-radius: 2px; }

/* ---- HERO (Full-screen with World Video) ---- */
.hero-section {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; text-align: center;
}
.hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
    filter: grayscale(80%) brightness(1.1);
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.6) 0%,
        rgba(255,255,255,0.82) 55%,
        rgba(255,255,255,1) 100%
    );
}
.hero-content { position: relative; z-index: 2; padding: 0 20px; width: 100%; max-width: 900px; }
.eyebrow-tag {
    display: inline-block; font-size: 11px; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-off);
    border: 1px solid var(--border); padding: 7px 18px; border-radius: 999px; margin-bottom: 36px;
}
.hero-headline {
    font-size: clamp(56px, 9vw, 120px); font-weight: 900;
    line-height: 0.92; letter-spacing: -0.04em; margin-bottom: 28px;
    color: var(--text-white);
}
.hero-headline .outline-text {
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.18);
    color: transparent;
}
.hero-sub {
    font-size: clamp(15px, 1.8vw, 18px); color: var(--text-off);
    max-width: 560px; margin: 0 auto 44px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }
.text-link { font-size: 14px; font-weight: 600; color: var(--text-off); display: flex; align-items: center; gap: 8px; transition: color 0.2s; }
.text-link:hover { color: var(--text-white); }
.text-link i { transition: transform 0.2s; }
.text-link:hover i { transform: translateX(4px); }
.scroll-hint { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-line { width: 1px; height: 56px; background: linear-gradient(to bottom, rgba(0,0,0,0.3), transparent); animation: scrollPulse 2.2s ease-in-out infinite; }
.scroll-hint span { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dim); }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---- BUTTONS ---- */
.pill-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 999px; font-size: 14px; font-weight: 600;
    letter-spacing: -0.01em; transition: all 0.25s var(--ease); cursor: pointer; border: none;
    font-family: var(--sans);
}
.pill-btn--white { background: var(--text-white); color: var(--bg); }
.pill-btn--white:hover { opacity: 0.82; transform: scale(1.02); }
.pill-btn--sm {
    padding: 9px 20px; font-size: 13px;
    background: var(--accent-dim); color: var(--text-white);
    border: 1px solid var(--border);
}
.pill-btn--sm:hover { background: var(--text-white); color: var(--bg); }
.pill-btn--lg { padding: 17px 38px; font-size: 15px; }

/* ---- TICKER ---- */
.ticker-wrap { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-block; animation: ticker 50s linear infinite; }
.ticker-track span { font-size: 12px; font-weight: 500; letter-spacing: 0.05em; color: var(--text-off); margin: 0 16px; }
.ticker-track .sep { color: var(--text-dim); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- SERVICE ICON GRID ---- */
.services-icon-section { background: var(--bg); }
.services-icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 1200px; margin: 0 auto; }
.svc-icon-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s; cursor: pointer; }
.svc-icon-card:hover { transform: translateY(-6px); border-color: rgba(0,0,0,0.14); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.svc-icon-wrap { width: 64px; height: 64px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--text-white); margin-bottom: 20px; transition: background 0.3s, color 0.3s; }
.svc-icon-card:hover .svc-icon-wrap { background: var(--text-white); color: var(--bg); }
.svc-icon-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.svc-icon-card p { font-size: 13px; color: var(--text-off); line-height: 1.6; }

/* ---- SUB-SERVICES GRID ---- */
.sub-services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.sub-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.sub-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.sub-icon { font-size: 28px; color: var(--text-off); margin-bottom: 20px; }
.sub-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.sub-card p { font-size: 14px; color: var(--text-off); line-height: 1.65; margin-bottom: 20px; }
.sub-list { list-style: none; }
.sub-list li { font-size: 13px; color: var(--text-off); padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.sub-list li::before { content: '→'; color: var(--text-dim); font-size: 12px; }

/* ---- FEATURE ROWS ---- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 80px 40px; max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--border); }
.feature-row--rev .feature-img { order: 2; }
.feature-row--rev .feature-copy { order: 1; }
.feature-img { border-radius: 20px; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-2); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.feature-img:hover img { transform: scale(1.04); }
.chip { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-off); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.feature-copy h3 { font-size: clamp(30px, 3.2vw, 48px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 18px; }
.feature-copy p { font-size: 16px; color: var(--text-off); line-height: 1.7; margin-bottom: 24px; }
.feature-bullets { list-style: none; margin-bottom: 32px; }
.feature-bullets li { font-size: 14px; color: var(--text-off); padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.feature-bullets li i { font-size: 10px; background: var(--text-white); color: var(--bg); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---- MARKETING CARDS ---- */
.marketing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; padding: 0 40px; max-width: 1440px; margin: 0 auto; }
.m-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 30px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.m-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.m-icon { font-size: 26px; color: var(--text-off); margin-bottom: 16px; display: block; }
.m-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.m-card p { font-size: 13px; color: var(--text-off); line-height: 1.65; }

/* ---- SOCIAL PLATFORM GRID ---- */
.social-platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1300px; margin: 0 auto; }
.platform-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 34px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.platform-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.platform-header { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.platform-icon { font-size: 24px; color: var(--text-off); }
.platform-header h4 { font-size: 15px; font-weight: 700; }

/* ---- DEV TABS ---- */
.dev-tabs-section { max-width: 1200px; margin: 0 auto; }
.dev-tabs { display: flex; gap: 8px; margin-bottom: 40px; padding: 4px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 12px; width: fit-content; margin-left: auto; margin-right: auto; }
.dev-tab { font-size: 13px; font-weight: 600; font-family: var(--sans); padding: 10px 24px; border-radius: 10px; border: none; background: none; color: var(--text-off); cursor: pointer; transition: all 0.25s; }
.dev-tab.active { background: var(--text-white); color: var(--bg); }
.dev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.dev-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 34px; position: relative; overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.dev-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.dev-num { font-size: 48px; font-weight: 900; color: rgba(0,0,0,0.04); position: absolute; top: 12px; right: 20px; line-height: 1; letter-spacing: -0.04em; }
.dev-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.dev-card p { font-size: 14px; color: var(--text-off); line-height: 1.65; }

/* ---- STATS BAR ---- */
.stats-bar { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 40px; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; }
.stat-block { text-align: center; flex: 1; min-width: 160px; }
.stat-num { font-size: clamp(36px, 4.5vw, 64px); font-weight: 800; letter-spacing: -0.04em; color: var(--text-white); line-height: 1; margin-bottom: 10px; }
.stat-desc { font-size: 13px; color: var(--text-off); max-width: 140px; margin: 0 auto; line-height: 1.5; }
.stat-divider { width: 1px; height: 72px; background: var(--border); flex-shrink: 0; }

/* ---- RESULTS / TESTIMONIALS ---- */
.results-grid { max-width: 1440px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.result-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; transition: box-shadow 0.3s, transform 0.3s; }
.result-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.06); transform: translateY(-4px); }
.result-icon { width: 44px; height: 44px; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text-white); margin-bottom: 22px; }
.result-card blockquote { font-size: 15px; line-height: 1.7; color: var(--text-off); margin-bottom: 22px; font-style: italic; }
.result-author strong { display: block; font-size: 14px; font-weight: 600; color: var(--text-white); }
.result-author span { font-size: 12px; color: var(--text-dim); }

/* ---- CTA SECTION (Dark for Contrast) ---- */
.cta-section { padding: 140px 40px; text-align: center; background: #1d1d1f; border-top: none; }
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-section .section-label { color: rgba(255,255,255,0.45); }
.cta-section h2 { font-size: clamp(44px, 5.5vw, 80px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; margin-bottom: 20px; color: #ffffff; }
.cta-section h2 em { font-style: italic; font-weight: 300; color: rgba(255,255,255,0.45); }
.cta-sub { font-size: 17px; color: rgba(255,255,255,0.55); margin-bottom: 44px; line-height: 1.65; }
.cta-form { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.cta-form input { width: 100%; max-width: 460px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 15px 18px; font-size: 14px; color: #fff; font-family: var(--sans); outline: none; transition: border-color 0.2s; }
.cta-form input::placeholder { color: rgba(255,255,255,0.3); }
.cta-form input:focus { border-color: rgba(255,255,255,0.25); }
.cta-section .pill-btn--white { background: #ffffff; color: #1d1d1f; }
.cta-section .pill-btn--white:hover { opacity: 0.88; }

/* ---- FOOTER ---- */
.site-footer { border-top: 1px solid var(--border); padding: 80px 40px 28px; background: var(--bg-2); }
.footer-inner { max-width: 1440px; margin: 0 auto; display: flex; gap: 60px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 60px; }
.footer-brand { max-width: 260px; }
.footer-brand .site-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--text-off); line-height: 1.7; margin-bottom: 24px; }
.social-row { display: flex; gap: 12px; }
.social-row a { width: 34px; height: 34px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--text-off); transition: background 0.2s, color 0.2s; }
.social-row a:hover { background: var(--text-white); color: var(--bg); }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-off); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 11px; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-white); }
.footer-bar { max-width: 1440px; margin: 28px auto 0; border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); flex-wrap: wrap; gap: 10px; }

/* ================================
   SERVICE / SUBPAGE STYLES
   ================================ */
/* Breadcrumb */
.breadcrumb-bar { padding: 56px 40px 14px; background: var(--bg); border-bottom: 1px solid var(--border); }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-off); flex-wrap: wrap; }
.breadcrumb-inner a { color: var(--text-off); transition: color 0.2s; }
.breadcrumb-inner a:hover { color: var(--text-white); }
.breadcrumb-inner span.current { color: var(--text-white); font-weight: 500; }
.breadcrumb-sep { color: var(--text-dim); }

/* Page Hero */
.page-hero { padding: 80px 40px 100px; background: var(--bg-2); text-align: center; border-bottom: 1px solid var(--border); }
.page-hero-meta { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 24px; }
.page-hero-icon { width: 56px; height: 56px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--text-white); }
.page-hero h1 { font-size: clamp(32px, 5vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 20px; }
.page-hero p { font-size: 18px; max-width: 580px; margin: 0 auto 36px; color: var(--text-off); line-height: 1.65; }

/* Service page sections */
.sp-section { padding: 90px 40px; max-width: 1200px; margin: 0 auto; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.sp-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.sp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.sp-card-icon { font-size: 28px; color: var(--text-off); margin-bottom: 20px; }
.sp-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.sp-card p { font-size: 14px; color: var(--text-off); line-height: 1.65; }

/* Process Steps */
.process-steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.process-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: 18px; padding: 32px; position: relative; overflow: hidden; }
.process-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 12px; right: 20px; font-size: 44px; font-weight: 900; color: rgba(0,0,0,0.04); letter-spacing: -0.04em; line-height: 1; }
.process-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.process-step p { font-size: 13px; color: var(--text-off); line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; font-size: 16px; font-weight: 600; color: var(--text-white); padding: 24px 0; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--sans); }
.faq-q i { font-size: 12px; color: var(--text-off); transition: transform 0.3s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { font-size: 15px; color: var(--text-off); line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 24px; }

/* Related Services */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.related-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 24px; display: flex; align-items: center; gap: 14px; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.related-card i { font-size: 20px; color: var(--text-off); width: 20px; flex-shrink: 0; }
.related-card span { font-size: 14px; font-weight: 500; color: var(--text-white); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
    .feature-row, .feature-row--rev { grid-template-columns: 1fr; gap: 40px; }
    .feature-row--rev .feature-img, .feature-row--rev .feature-copy { order: unset; }
}

/* ── TABLET + MOBILE NAV (≤1024px) ── */
@media (max-width: 1024px) {

    /* Show hamburger */
    .hamburger { display: flex !important; }

    /* Hide desktop nav */
    #main-nav,
    .main-nav {
        display: none !important;
        visibility: hidden;
    }

    /* Keep logo and hamburger on top of mobile menu */
    .nav-inner .site-logo,
    .nav-inner .nav-right {
        position: relative;
        z-index: 99999;
    }

    /* Mobile menu open state */
    #main-nav.mobile-open,
    .main-nav.mobile-open {
        display: block !important;
        visibility: visible;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 99998 !important;
        background: #ffffff !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        padding: 70px 0 80px !important;
        margin: 0 !important;
        list-style: none !important;
        flex-direction: unset !important;
    }

    #main-nav.mobile-open .nav-list {
        display: block !important;
        width: 100%;
        margin: 0; padding: 0;
        list-style: none;
    }

    /* Top-level list items */
    #main-nav.mobile-open .nav-list > li,
    .main-nav.mobile-open .nav-list > li {
        display: block !important;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        list-style: none;
    }

    /* All nav links in mobile */
    #main-nav.mobile-open .nav-link,
    .main-nav.mobile-open .nav-link {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #1d1d1f !important;
        padding: 16px 24px !important;
        border-radius: 0 !important;
        white-space: normal !important;
        background: none;
    }
    #main-nav.mobile-open .nav-link:hover,
    .main-nav.mobile-open .nav-link:hover { background: #f9f9f9 !important; }

    /* Chevron flips when submenu open */
    .has-mega.mega-open .nav-chevron { transform: rotate(180deg); }

    /* ── DROPDOWN — accordion ── */
    .mega-menu,
    .mega-menu--wide {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        min-width: unset !important;
        width: 100% !important;
        padding: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.38s ease, visibility 0s linear 0.38s !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
    .mega-menu::before { display: none !important; }

    .has-mega.mega-open .mega-menu {
        visibility: visible !important;
        pointer-events: all !important;
        max-height: 2000px !important;
        transition: max-height 0.5s ease, visibility 0s linear 0s !important;
    }

    /* Dropdown inner — single column */
    .mega-inner,
    .mega-menu--wide .mega-inner {
        display: block !important;
        padding: 0 !important;
        background: #f7f7f7 !important;
        margin: 0 20px 12px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        border: 1px solid #ebebeb !important;
        grid-template-columns: unset !important;
    }

    /* Hide decorative headers */
    .mega-header { display: none !important; }
    .mega-col-header[style*="visibility:hidden"] { display: none !important; }

    /* Section label inside dropdown */
    .mega-col-header {
        display: flex !important;
        align-items: center;
        gap: 8px;
        padding: 10px 16px 8px !important;
        background: rgba(0,0,0,0.03) !important;
        border-bottom: 1px solid #ebebeb !important;
        margin: 0 !important;
    }
    .mega-col-header strong { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #888; }
    .mega-col-header i { font-size: 11px; color: #aaa; }

    /* Sub-links */
    .mega-links { list-style: none !important; padding: 0 !important; margin: 0 !important; }
    .mega-links > li { display: block !important; border-bottom: 1px solid #ebebeb !important; }
    .mega-links > li:last-child { border-bottom: none !important; }
    .mega-links li a {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 13px 16px !important;
        border-radius: 0 !important;
        color: #1d1d1f !important;
    }
    .mega-links li a:hover { background: rgba(0,0,0,0.03) !important; }
    .mega-links li a > i { font-size: 14px; width: 18px; flex-shrink: 0; color: #888; margin-top: 0 !important; }
    .mega-links li a span { display: flex !important; flex-direction: column !important; gap: 2px !important; }
    .mega-links li a span strong { font-size: 13px !important; font-weight: 600 !important; color: #1d1d1f !important; display: block !important; }
    .mega-links li a span { font-size: 11px !important; color: #888 !important; }
}

/* ── MOBILE ONLY (≤768px) ── */
@media (max-width: 768px) {
    #navbar { padding: 14px 20px; }
    .section-pad { padding: 72px 20px; }
    .services-icon-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-row { padding: 48px 20px; }
    .marketing-grid, .results-grid { padding: 0 20px; }
    .footer-inner { flex-direction: column; }
    .footer-cols { gap: 28px; }
    .cta-section { padding: 80px 24px; }
    .stats-inner { flex-direction: column; }
    .stat-divider { width: 60px; height: 1px; }
    .sp-section { padding: 60px 20px; }
    .page-hero { padding: 60px 20px 80px; }
    .breadcrumb-bar { padding: 60px 20px 14px; }
}

/* Hamburger X animation */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger span { transition: transform 0.25s ease, opacity 0.2s ease; }
