/* =============================================
   DOT Hub Child Theme — main.css
   Design System v1.0
   ============================================= */

/* ─── RESET & ROOT ─────────────────────────── */
:root {
    --red:         #e41d24;
    --red-dark:    #c91920;
    --black:       #0c0c0c;
    --white:       #ffffff;
    --grey:        #737373;
    --lgrey:       #f5f5f7;
    --border-dark: #222222;
    --coral:       #e1706a;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background: #fff;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

a  { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ─── UTILITY ───────────────────────────────── */
.red { color: var(--red); }

/* ─── PULSE ANIMATION ───────────────────────── */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.5); opacity: .5; }
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
    display: inline-block;
}

/* ─── BUTTONS ───────────────────────────────── */
.btn-red {
    background: var(--red);
    color: #fff;
    padding: 10px 22px;
    font-size: 14px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: background .2s;
}
.btn-red:hover { background: var(--red-dark); }

.btn-red-lg {
    background: var(--red);
    color: #fff;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: background .2s;
}
.btn-red-lg:hover { background: var(--red-dark); }

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff;
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    transition: all .2s;
}
.btn-outline-white:hover { background: #fff; color: var(--black); }

/* ─── NAVBAR ────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 70px;
    background: var(--black);
    border-bottom: 1px solid #1e1e1e;
    z-index: 1000;
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-dot { font-size: 30px; font-weight: 900; color: var(--red); line-height: 1; }
.nav-logo-sep { width: 4px; height: 4px; border-radius: 50%; background: #444; }
.nav-logo-name { font-size: 13px; color: #777; font-weight: 500; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: #aaa; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { white-space: nowrap; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #aaa;
    border-radius: 2px;
    transition: all .3s;
}

/* Mobile menu — slide-in panel from the right, with backdrop */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 998;
    opacity: 0;
    transition: opacity .3s ease;
}
.mobile-menu-overlay.open {
    display: block;
    opacity: 1;
}
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(340px, 86vw);
    background: var(--black);
    border-left: 1px solid #1e1e1e;
    z-index: 999;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #1a1a1a;
    flex-shrink: 0;
}
.mobile-menu-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.mobile-menu-close {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #161616;
    border: 1px solid #262626;
    border-radius: 8px;
    color: #aaa;
    cursor: pointer;
    transition: all .2s;
}
.mobile-menu-close:hover { color: #fff; border-color: var(--red); }

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 20px 20px;
}
.mobile-menu-footer {
    padding: 16px 20px 24px;
    border-top: 1px solid #1a1a1a;
    flex-shrink: 0;
}
.mobile-menu-footer .btn-red {
    display: flex;
    justify-content: center;
    width: 100%;
    border: none;
}

.mobile-nav-links { list-style: none; margin: 0; padding: 0; }
.mobile-nav-links > li {
    list-style: none;
    border-bottom: 1px solid #161616;
}
.mobile-nav-links > li:last-child { border-bottom: none; }
.mobile-nav-links a {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #ddd;
    padding: 15px 0;
    transition: color .2s;
}
.mobile-nav-links > li > a:hover,
.mobile-nav-links > li.submenu-open > a { color: #fff; }

/* ─── HERO ──────────────────────────────────── */
.hero {
    background: var(--black);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 70px; /* nav height */
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px; right: -100px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(228,29,36,.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 5% 80px;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 28px;
}
.hero-badge span:last-child { font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1.5px; }
.hero h1 { font-size: clamp(29px, 3.85vw, 53px); font-weight: 900; line-height: 1.05; letter-spacing: -2.5px; color: #fff; }
.hero h1 .red { display: block; }
.hero-sub { font-size: 18px; color: var(--grey); line-height: 1.75; max-width: 500px; margin-top: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 44px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--grey); }

/* Hero visual */
.hero-visual {
    position: relative;
    min-height: 520px;
    border-radius: 24px;
    overflow: visible;
}
.hero-visual-img {
    width: 100%; height: 100%;
    min-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}
.hero-visual-overlay {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(228,29,36,.08) 0%, rgba(0,0,0,.3) 100%);
    pointer-events: none;
}

/* Floating badges */
.badge { position: absolute; border-radius: 14px; z-index: 10; }
.badge-a { top: -16px; right: 20px; background: #fff; padding: 14px 20px; box-shadow: 0 12px 40px rgba(0,0,0,.6); }
.badge-a-top { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.badge-a-top span:last-child { font-size: 11px; color: #888; }
.badge-a-num { font-size: 28px; font-weight: 900; color: var(--black); line-height: 1; }
.badge-a-label { font-size: 12px; color: #888; margin-top: 2px; }
.badge-b {
    top: 50%; left: -24px;
    transform: translateY(-50%);
    background: #111;
    border: 1px solid #2a2a2a;
    border-top: 2px solid var(--red);
    padding: 18px 22px;
    min-width: 160px;
}
.badge-b-title { font-size: 24px; font-weight: 900; color: #fff; line-height: 1; }
.badge-b-sub { font-size: 12px; color: #666; margin-top: 4px; margin-bottom: 12px; }
.badge-b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tag-pill { font-size: 10px; font-weight: 700; border-radius: 999px; padding: 4px 10px; text-align: center; text-transform: uppercase; letter-spacing: .5px; }
.tag-red { background: var(--red); color: #fff; }
.tag-dark { background: #1e1e1e; color: #aaa; border: 1px solid #2a2a2a; }
.badge-c { bottom: 20px; right: 16px; background: #fff; padding: 14px 20px; box-shadow: 0 12px 40px rgba(0,0,0,.6); }
.badge-c-num { font-size: 26px; font-weight: 900; color: var(--red); line-height: 1; }
.badge-c-label { font-size: 12px; color: #888; margin-top: 2px; }
.hero-bottom-pill {
    position: absolute;
    bottom: -18px; left: 50%;
    transform: translateX(-50%);
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 13px;
    color: #888;
    white-space: nowrap;
    z-index: 10;
}

/* Trust logos row */
.trust-logos {
    max-width: 1280px;
    margin: 72px auto 0;
    padding: 0 5% 80px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.trust-logos-label { font-size: 13px; color: #444; }
.trust-logos-items { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-logo-ph { width: 100px; height: 36px; background: #111; border: 1px solid #2a2a2a; border-radius: 8px; }

/* ─── TICKER ─────────────────────────────────── */
.ticker { background: var(--red); padding: 16px 0; overflow: hidden; }
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-inner {
    display: inline-flex;
    animation: ticker 32s linear infinite;
    white-space: nowrap;
}
.ticker-item { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; padding: 0 24px; }
.ticker-sep  { color: rgba(255,255,255,.5); padding: 0 4px; }

/* ─── WHO WE ARE ─────────────────────────────── */
.who { background: var(--lgrey); padding: 100px 5%; }
.who-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.section-tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}
.who h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 900; letter-spacing: -1.5px; line-height: 1.1; color: var(--black); }
.who-body { font-size: 17px; color: #555; line-height: 1.8; margin-top: 20px; }
.who-closing { font-size: 17px; color: var(--black); font-weight: 700; margin-top: 20px; }
.who-link { display: inline-block; font-size: 15px; font-weight: 600; color: var(--red); margin-top: 32px; transition: opacity .2s; }
.who-link:hover { opacity: .75; }
.who-img-wrap { border-radius: 20px; overflow: hidden; min-height: 480px; position: relative; }
.who-img-wrap img { width: 100%; height: 100%; min-height: 480px; object-fit: cover; display: block; }
.who-overlay {
    position: absolute;
    bottom: 24px; left: 24px; right: 24px;
    background: rgba(10,10,10,.92);
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.who-quote { font-size: 14px; color: #fff; font-style: italic; line-height: 1.6; flex: 1; }

/* ─── WHAT WE DO ─────────────────────────────── */
.what { background: var(--black); padding: 100px 5%; }
.what-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(30px, 3.8vw, 52px); font-weight: 900; letter-spacing: -1.5px; color: #fff; line-height: 1.1; }
.section-header .sub { font-size: 17px; color: var(--grey); max-width: 560px; margin: 16px auto 0; line-height: 1.7; }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Pillar cards */
.pillar-card {
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 28px 80px rgba(0,0,0,.5); }
.pillar-card-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform .4s ease;
}
.pillar-card:hover .pillar-card-bg { transform: scale(1.04); }
.pillar-card-overlay { position: absolute; inset: 0; z-index: 1; border-radius: 20px; }
.pillar-card-content { position: relative; z-index: 2; }
.pillar-num {
    position: absolute; top: 20px; right: 20px;
    font-size: 80px; font-weight: 900;
    color: rgba(255,255,255,.06);
    line-height: 1; pointer-events: none; z-index: 2;
}
.pillar-top-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 3; border-radius: 20px 20px 0 0; }
.pillar-top-red { background: var(--red); }
.pillar-top-white { background: rgba(255,255,255,.3); }
.pillar-badge-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.pillar-card h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; line-height: 1.2; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.pillar-card p { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.65; margin-bottom: 20px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.pillar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pillar-tags-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.pillar-tag {
    font-size: 13px; color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    padding: 6px 14px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .2s;
}
.pillar-tag:hover { background: rgba(228,29,36,.5); border-color: var(--red); }
.pillar-metric { display: flex; align-items: baseline; gap: 8px; margin-top: 16px; }
.pillar-metric-num { font-size: 32px; font-weight: 900; color: #fff; line-height: 1; text-shadow: 0 0 20px rgba(228,29,36,.5); }
.pillar-metric-label { font-size: 13px; color: rgba(255,255,255,.7); }
.flow-diagram { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.flow-box { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 6px 12px; font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .5px; backdrop-filter: blur(8px); }
.flow-arrow { color: #fff; font-size: 14px; font-weight: 900; opacity: .8; }
.what-cta { text-align: center; margin-top: 48px; }

/* ─── WHY DOT ────────────────────────────────── */
.why { background: #fff; padding: 100px 5%; }
.why-inner { max-width: 1280px; margin: 0 auto; }
.why-header { text-align: center; margin-bottom: 56px; }
.why-header h2 { font-size: clamp(30px, 3.8vw, 50px); font-weight: 900; letter-spacing: -1.5px; color: var(--black); line-height: 1.1; }
.why-header .sub { font-size: 17px; color: #666; margin-top: 12px; }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.diff-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-left: 3px solid var(--red);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
    color: var(--black);
}
.diff-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.diff-icon { width: 40px; height: 40px; background: rgba(228,29,36,.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.diff-card h4 { font-size: 17px; font-weight: 800; color: var(--black); margin-top: 16px; }
.diff-card p { font-size: 14px; color: #666; line-height: 1.65; margin-top: 8px; }

/* ─── STATS ──────────────────────────────────── */
.stats { background: var(--red); padding: 72px 5%; }
.stats-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 20px; position: relative; }
.stat-item + .stat-item::before {
    content: '';
    position: absolute; left: 0; top: 20%; height: 60%; width: 1px;
    background: rgba(255,255,255,.25);
}
.stat-num { font-size: clamp(48px, 5vw, 72px); font-weight: 900; color: #fff; line-height: 1; }
.stat-label { font-size: 15px; color: rgba(255,255,255,.8); margin-top: 10px; font-weight: 500; }

/* ─── CTA BANNER ─────────────────────────────── */
.cta-banner { background: var(--black); padding: 110px 5%; text-align: center; position: relative; overflow: hidden; }
.cta-dots { position: absolute; inset: 0; background-image: radial-gradient(#1a1a1a 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.cta-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(228,29,36,.18) 0%, transparent 65%); pointer-events: none; }
.cta-circles { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 500px; height: 500px; opacity: .05; pointer-events: none; }
.cta-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta-tag { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; }
.cta-tag span:last-child { font-size: 12px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 2px; }
.cta-banner h2 { font-size: clamp(38px, 5vw, 66px); font-weight: 900; letter-spacing: -2.5px; line-height: 1.05; color: #fff; }
.cta-banner p { font-size: 17px; color: var(--grey); max-width: 480px; margin: 20px auto; line-height: 1.7; }
.btn-cta-xl {
    background: var(--red); color: #fff;
    padding: 18px 48px; font-size: 17px; font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 0 60px rgba(228,29,36,.4);
    display: inline-flex; align-items: center;
    margin-top: 40px;
    transition: all .2s;
}
.btn-cta-xl:hover { background: var(--red-dark); box-shadow: 0 0 80px rgba(228,29,36,.6); }
.cta-note { font-size: 13px; color: #444; margin-top: 16px; }

/* ─── FOOTER ─────────────────────────────────── */
.footer { background: #0a0a0a; border-top: 1px solid #1a1a1a; padding: 72px 5% 32px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand-dot { font-size: 28px; font-weight: 900; color: var(--red); }
.footer-brand-name { font-size: 13px; color: #777; margin-top: 4px; }
.footer-desc { font-size: 14px; color: #555; max-width: 240px; line-height: 1.7; margin-top: 16px; }
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.social-btn { width: 36px; height: 36px; border: 1px solid #2a2a2a; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.social-btn:hover { border-color: var(--red); }
.social-btn svg { stroke: #666; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; width: 16px; height: 16px; }
.social-btn:hover svg { stroke: var(--red); }
.footer-col h5 { font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #555; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-links .soon { font-size: 14px; color: #333; }
.footer-links .soon small { font-size: 11px; color: #333; }
.footer-loc-item { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-loc-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.footer-loc-text { font-size: 14px; color: #555; }
.footer-email-sm { font-size: 13px; color: #444; margin-top: 8px; }
.footer-bottom {
    border-top: 1px solid #1a1a1a;
    margin-top: 48px; padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom span { font-size: 13px; color: #444; }

/* ─── SCROLL REVEAL ──────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 1024px) {
    .diff-grid      { grid-template-columns: repeat(2, 1fr); }
    .footer-grid    { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid   { grid-template-columns: 1fr; }
    .pillar-card    { min-height: 320px; }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-right .btn-red { display: none; }
    .hamburger           { display: flex; }
    .hero-inner          { grid-template-columns: 1fr; padding: 60px 5% 60px; }
    .hero-visual         { min-height: 380px; }
    .badge-b             { display: none; }
    .who-inner           { grid-template-columns: 1fr; }
    .diff-grid           { grid-template-columns: 1fr; }
    .stats-inner         { grid-template-columns: repeat(2, 1fr); }
    .footer-grid         { grid-template-columns: 1fr; }
    .cta-circles         { display: none; }
    .hero-trust          { gap: 16px; }
}

@media (max-width: 480px) {
    .stats-inner { grid-template-columns: 1fr; }
    .stat-item + .stat-item::before { display: none; }
    .hero-cta { flex-direction: column; }
    .hero-cta a { width: 100%; text-align: center; justify-content: center; }
    .pillar-num { font-size: 60px; }
}

/* Fix nav position when WP admin bar is visible */
html body.admin-bar .nav,
html body.admin-bar.customize-support .nav {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    html body.admin-bar .nav,
    html body.admin-bar.customize-support .nav {
        top: 46px !important;
    }
}

body.admin-bar .hero {
    min-height: calc(100vh - 32px);
}


.nav-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    display: block;
    margin-bottom: 12px;
}

/* ─── NAV DROPDOWN ──────────────────────────── */
.nav-links li {
    position: relative;
    list-style: none;
}

/* Sub-menu sits flush against the parent link (top: 100%, no gap) so
   there's no dead zone for the cursor to cross — the dropdown would
   otherwise close before the mouse ever reaches it. Visual separation
   comes from box-shadow/border only, not empty space. */
.nav-links li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    background: #111;
    border: 1px solid #2a2a2a;
    border-top: 2px solid var(--red);
    border-radius: 10px;
    padding: 8px;
    min-width: 190px;
    z-index: 1001;
    box-shadow: 0 16px 40px rgba(0,0,0,.6);
    list-style: none;
}

.nav-links li:hover > ul.sub-menu {
    display: block;
}

.nav-links li ul.sub-menu li {
    list-style: none;
}

.nav-links li ul.sub-menu li a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    color: #aaa;
    border-radius: 6px;
    transition: all .2s;
    white-space: nowrap;
}

.nav-links li ul.sub-menu li a:hover {
    color: #fff;
    background: #1a1a1a;
}

/* Small dropdown indicator on parent items */
.nav-links li.menu-item-has-children > a::after {
    content: '▾';
    display: inline-block;
    margin-left: 5px;
    font-size: 10px;
    opacity: .6;
    vertical-align: middle;
}

/* Nested (2nd level) sub-menu — flies out to the right instead of
   stacking below, e.g. "Google Ads" nested under "Media Buying". */
.nav-links li ul.sub-menu li ul.sub-menu {
    top: -9px;
    left: calc(100% + 6px);
    margin: 0;
}

/* ─── MOBILE SUB-MENU ACCORDION ──────────────── */
.mobile-nav-links li { position: relative; }
.mobile-nav-links .mobile-submenu-toggle {
    position: absolute;
    right: 0;
    top: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    transition: transform .25s ease, color .2s ease;
}
.mobile-nav-links li.submenu-open > .mobile-submenu-toggle {
    transform: rotate(180deg);
    color: #fff;
}
.mobile-nav-links ul.sub-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    margin: 0;
    padding: 0;
}
.mobile-nav-links li.submenu-open > ul.sub-menu {
    max-height: 800px;
    padding-bottom: 6px;
}
.mobile-nav-links ul.sub-menu li {
    border-bottom: none;
}
.mobile-nav-links ul.sub-menu li a {
    font-size: 14px;
    font-weight: 500;
    color: #888;
    padding: 10px 0 10px 16px;
    position: relative;
}
.mobile-nav-links ul.sub-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    opacity: .7;
}
.mobile-nav-links ul.sub-menu li a:hover { color: #fff; }
/* 2nd-level nested sub-menu (e.g. Google Ads under Media Buying) — extra indent */
.mobile-nav-links ul.sub-menu ul.sub-menu li a { padding-left: 32px; }
/* ─────────────────────────────────────────────
   CASE STUDIES MODULE — live/enabled card style
   (matches the .portfolio-ph placeholder card
   footprint so enabled and placeholder cards
   sit flush in the same grid)
───────────────────────────────────────────── */
.case-card-live{
    background:rgba(255,255,255,.1);
    border:1px solid rgba(255,255,255,.2);
    border-radius:16px;
    padding:24px;
    transition:transform .3s ease,background-color .3s ease,border-color .3s ease;
    min-height:200px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.case-card-live:hover{
    transform:translateY(-6px);
    background:#0c0c0c;
    border-color:#0c0c0c;
}
.case-card-live-link{display:block;color:inherit;text-decoration:none;height:100%}
.case-card-live h3{
    font-size:17px;
    font-weight:800;
    color:var(--white,#fff);
    margin-bottom:8px;
}
.case-card-live-desc{
    font-size:13px;
    color:rgba(255,255,255,.75);
    line-height:1.6;
    margin-bottom:16px;
}
.case-card-live-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}
.case-card-live-stats .case-stat-num{
    font-size:17px;
    font-weight:900;
    color:var(--white,#fff);
    line-height:1;
    margin-bottom:4px;
}
.case-card-live-stats .case-stat-label{
    font-size:10px;
    color:rgba(255,255,255,.6);
    line-height:1.4;
}
@media(max-width:768px){
    .case-card-live-stats{grid-template-columns:1fr}
}

/* ─────────────────────────────────────────────
   CASE STUDIES MODULE — "light" premium variant
   (used by pages with genuine showcased results,
   e.g. Google Ads — matches the original design)
───────────────────────────────────────────── */
.cases-sec-live{background:var(--lgrey,#f5f5f7);padding:100px 5%}
.cases-live-inner{max-width:1280px;margin:0 auto}
.cases-live-header{text-align:center;margin-bottom:56px}
.cases-live-header h2{font-size:clamp(28px,3.8vw,48px);font-weight:900;letter-spacing:-1.5px;color:#0c0c0c;margin-bottom:16px;line-height:1.1}
.cases-live-header p{font-size:17px;color:#555;max-width:560px;margin:0 auto;line-height:1.7}
.cases-live-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.case-live-card{
    display:block;
    background:#fff;
    border:1px solid #e8e8e8;
    border-radius:20px;
    padding:32px;
    text-decoration:none;
    color:inherit;
    transition:transform .3s ease,background-color .3s ease,box-shadow .3s ease;
}
.case-live-card:hover{
    transform:translateY(-8px);
    background:#0c0c0c;
    box-shadow:0 20px 44px rgba(0,0,0,.18);
}
.case-live-card h3{
    font-size:19px;font-weight:800;color:#0c0c0c;margin-bottom:8px;
    transition:color .3s ease;
}
.case-live-card:hover h3{color:#fff}
.case-live-desc{
    font-size:14px;color:#666;line-height:1.6;margin-bottom:24px;
    transition:color .3s ease;
}
.case-live-card:hover .case-live-desc{color:rgba(255,255,255,.7)}
.case-live-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.case-live-stat{text-align:center;border-left:1px solid #e8e8e8;padding-left:12px;transition:border-color .3s ease}
.case-live-stat:first-child{border-left:none;padding-left:0}
.case-live-card:hover .case-live-stat{border-color:#333}
.case-live-stat-num{font-size:20px;font-weight:900;color:var(--red);line-height:1;margin-bottom:6px}
.case-live-stat-label{font-size:10.5px;color:#888;line-height:1.4;transition:color .3s ease}
.case-live-card:hover .case-live-stat-label{color:rgba(255,255,255,.6)}
.case-live-ph{
    background:#fff;border:1px dashed #ddd;border-radius:20px;
    padding:32px;display:flex;align-items:center;justify-content:center;
    min-height:200px;color:#aaa;font-size:14px;font-weight:600;
}
.cases-live-cta{text-align:center;margin-top:40px}
@media(max-width:1024px){
    .cases-live-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
    .cases-sec-live{padding:72px 5%}
    .case-live-stats{grid-template-columns:1fr}
    .case-live-stat{border-left:none;padding-left:0;border-top:1px solid #e8e8e8;padding-top:10px}
    .case-live-stat:first-child{border-top:none;padding-top:0}
}