/* =========================================================
   Yadav & Associates — Advocates & Legal Consultants
   Premium Design System
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
    /* Palette */
    --navy-900: #0a1626;
    --navy-800: #0f2238;
    --navy-700: #163150;
    --navy-600: #1d4068;
    --brass-500: #c2a878;   /* primary accent */
    --brass-400: #d4bd92;
    --brass-600: #a98c58;
    --ivory: #f7f4ee;
    --cream: #fbfaf7;
    --paper: #ffffff;
    --ink: #1a1f26;
    --slate: #4a5562;
    --muted: #8b95a1;
    --line: #e7e2d8;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing & rhythm */
    --container: 1200px;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 10px rgba(10, 22, 38, .06);
    --shadow-md: 0 14px 40px rgba(10, 22, 38, .10);
    --shadow-lg: 0 30px 70px rgba(10, 22, 38, .18);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    font-size: 16.5px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
::selection { background: var(--brass-500); color: var(--navy-900); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--navy-900); letter-spacing: .2px; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
p { color: var(--slate); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-ivory { background: var(--ivory); }
.bg-navy { background: var(--navy-900); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,.74); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-sans);
    font-size: .78rem; font-weight: 600; letter-spacing: .22em;
    text-transform: uppercase; color: var(--brass-600);
    margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--brass-500); display: inline-block; }
.bg-navy .eyebrow { color: var(--brass-400); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }
.lead { font-size: 1.18rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 30px; border-radius: 50px;
    font-weight: 600; font-size: .95rem; letter-spacing: .02em;
    transition: all .3s var(--ease); cursor: pointer; white-space: nowrap;
}
.btn i { transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn-primary { background: var(--brass-500); color: var(--navy-900); box-shadow: 0 10px 26px rgba(194,168,120,.35); }
.btn-primary:hover { background: var(--brass-400); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(194,168,120,.45); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: var(--brass-500); color: var(--brass-400); }
.btn-outline { border: 1.5px solid var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }

/* =========================================================
   Header
   ========================================================= */
header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--header-h);
    transition: all .35s var(--ease);
    background: transparent;
}
header.scrolled {
    height: 66px;
    background: rgba(251,250,247,.92);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; letter-spacing: .5px; line-height: 1; }
.logo small { display: block; font-family: var(--font-sans); font-size: .58rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--brass-400); margin-top: 4px; }
.logo span { color: var(--brass-400); }
header.scrolled .logo { color: var(--navy-900); }
header.scrolled .logo small { color: var(--brass-600); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a {
    position: relative; padding: 10px 16px; font-size: .92rem; font-weight: 500;
    color: rgba(255,255,255,.88);
}
header.scrolled .nav-links > a { color: var(--slate); }
.nav-links > a::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1.5px;
    background: var(--brass-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links > a:hover::after, .nav-links > a.active::after { transform: scaleX(1); }
.nav-links > a:hover, .nav-links > a.active { color: var(--brass-400); }
header.scrolled .nav-links > a:hover, header.scrolled .nav-links > a.active { color: var(--navy-900); }
.nav-cta { margin-left: 14px; padding: 11px 24px !important; }

/* dropdown */
.has-drop { position: relative; }
.drop-toggle::after { content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7rem; margin-left: 6px; }
.dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
    background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
    padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all .25s var(--ease); border: 1px solid var(--line);
}
.has-drop:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 6px; font-size: .9rem; color: var(--slate); }
.dropdown a:hover { background: var(--ivory); color: var(--navy-900); }

.mobile-menu-btn { display: none; font-size: 1.4rem; color: #fff; z-index: 1100; }
header.scrolled .mobile-menu-btn { color: var(--navy-900); }
.mobile-menu-btn.open { color: var(--navy-900); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding-top: var(--header-h); color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(10,22,38,.94) 0%, rgba(15,34,56,.82) 45%, rgba(10,22,38,.55) 100%);
}
.hero__inner { max-width: 720px; padding: 60px 0; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--brass-400); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__trust .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--brass-400); line-height: 1; }
.hero__trust .lbl { font-size: .82rem; color: rgba(255,255,255,.7); margin-top: 6px; }

/* =========================================================
   Cards / grids
   ========================================================= */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Feature / why-choose card */
.feature {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 38px 32px; transition: all .35s var(--ease); height: 100%;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature .ico {
    width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
    background: var(--navy-900); color: var(--brass-400); font-size: 1.3rem; margin-bottom: 22px;
    transition: all .35s var(--ease);
}
.feature:hover .ico { background: var(--brass-500); color: var(--navy-900); transform: rotate(-6deg); }
.feature h3 { margin-bottom: 12px; font-size: 1.3rem; }
.feature p { font-size: .98rem; }

/* Practice area card */
.practice {
    position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px;
    display: flex; align-items: flex-end; color: #fff; isolation: isolate;
}
.practice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.practice::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,22,38,.92) 12%, rgba(10,22,38,.25) 75%); }
.practice:hover img { transform: scale(1.07); }
.practice__body { padding: 30px; transition: transform .35s var(--ease); }
.practice .num { font-family: var(--font-display); font-size: 1rem; color: var(--brass-400); letter-spacing: .15em; }
.practice h3 { color: #fff; margin: 8px 0 10px; }
.practice p { color: rgba(255,255,255,.78); font-size: .95rem; max-height: 0; opacity: 0; overflow: hidden; transition: all .4s var(--ease); }
.practice:hover p { max-height: 120px; opacity: 1; }
.practice .link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--brass-400); font-weight: 600; font-size: .9rem; }

/* Detailed service block */
.service-block {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px; transition: all .35s var(--ease); height: 100%;
}
.service-block:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-block .ico { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; background: var(--ivory); color: var(--brass-600); font-size: 1.25rem; margin-bottom: 20px; }
.service-block h3 { margin-bottom: 12px; }
.service-block ul { margin-top: 16px; }
.service-block ul li { position: relative; padding-left: 24px; margin-bottom: 8px; font-size: .95rem; color: var(--slate); }
.service-block ul li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--brass-500); font-size: .8rem; top: 4px; }

/* =========================================================
   Metrics / counters
   ========================================================= */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.metric .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; color: var(--brass-400); line-height: 1; }
.metric .lbl { margin-top: 10px; font-size: .92rem; color: rgba(255,255,255,.72); letter-spacing: .04em; }

/* =========================================================
   About split
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__media .badge {
    position: absolute; bottom: -28px; left: -28px; background: var(--navy-900); color: #fff;
    padding: 26px 30px; border-radius: var(--radius); box-shadow: var(--shadow-md); max-width: 230px;
}
.split__media .badge .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--brass-400); line-height: 1; }
.split__media .badge p { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: 6px; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 14px; color: var(--slate); }
.check-list li::before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; color: var(--brass-500); }

/* =========================================================
   Team
   ========================================================= */
.team-card {
    background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    transition: all .35s var(--ease); height: 100%;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card__photo { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.06); }
.team-card__social {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 18px;
    display: flex; gap: 12px; justify-content: center;
    background: linear-gradient(to top, rgba(10,22,38,.9), transparent);
    transform: translateY(100%); opacity: 0; transition: all .35s var(--ease);
}
.team-card:hover .team-card__social { transform: translateY(0); opacity: 1; }
.team-card__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; transition: all .25s var(--ease); }
.team-card__social a:hover { background: var(--brass-500); color: var(--navy-900); }
.team-card__body { padding: 26px 28px 30px; text-align: center; }
.team-card__role { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-600); }
.team-card__body h3 { margin: 8px 0 12px; }
.team-card__body .tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.team-card__body .tags span { font-size: .78rem; padding: 5px 12px; border-radius: 30px; background: var(--ivory); color: var(--slate); border: 1px solid var(--line); }
.team-card__contact { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; gap: 16px; justify-content: center; font-size: .9rem; }
.team-card__contact a { color: var(--navy-700); font-weight: 600; }
.team-card__contact a:hover { color: var(--brass-600); }

/* =========================================================
   Testimonials
   ========================================================= */
.testi {
    background: #fff; border-radius: var(--radius); padding: 36px; border: 1px solid var(--line);
    position: relative; height: 100%; transition: all .35s var(--ease);
}
.testi:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testi .quote { font-family: var(--font-display); font-size: 3.4rem; color: var(--brass-500); line-height: .6; opacity: .5; }
.testi p { font-style: italic; margin: 14px 0 24px; color: var(--ink); font-size: 1.04rem; }
.testi .stars { color: var(--brass-500); margin-bottom: 14px; letter-spacing: 2px; }
.testi__person { display: flex; align-items: center; gap: 14px; }
.testi__person .av { width: 50px; height: 50px; border-radius: 50%; background: var(--navy-900); color: var(--brass-400); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.testi__person strong { display: block; color: var(--navy-900); font-family: var(--font-display); font-size: 1.15rem; }
.testi__person span { font-size: .85rem; color: var(--muted); }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 24px 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--navy-900);
}
.faq-q .ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--brass-600); transition: all .3s var(--ease); }
.faq-item.active .faq-q .ic { background: var(--brass-500); color: var(--navy-900); border-color: var(--brass-500); transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding-bottom: 24px; color: var(--slate); }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius); padding: clamp(48px, 7vw, 80px); text-align: center; color: #fff; }
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10,22,38,.9), rgba(15,34,56,.92)); }
.cta-band h2 { color: #fff; max-width: 760px; margin: 0 auto 18px; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 600px; margin: 0 auto 32px; font-size: 1.1rem; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
    position: relative; padding: calc(var(--header-h) + 70px) 0 70px; color: #fff; overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,22,38,.95), rgba(15,34,56,.78)); }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 620px; font-size: 1.12rem; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--brass-400); }
.breadcrumb i { font-size: .65rem; }

/* =========================================================
   Forms
   ========================================================= */
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy-800); margin-bottom: 8px; }
.field label .req { color: #c0392b; }
.field input, .field textarea, .field select {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: var(--cream); color: var(--ink); transition: all .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brass-500); background: #fff; box-shadow: 0 0 0 4px rgba(194,168,120,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .95rem; }
.alert-success { background: #e8f5ec; color: #1e6b3a; border: 1px solid #bfe3cb; }
.alert-error { background: #fdecea; color: #a5281b; border: 1px solid #f4c4bd; }

/* Contact info tiles */
.contact-tile { display: flex; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: all .3s var(--ease); }
.contact-tile:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.contact-tile .ico { flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px; background: var(--navy-900); color: var(--brass-400); display: grid; place-items: center; font-size: 1.2rem; }
.contact-tile h4 { font-size: 1.15rem; margin-bottom: 4px; }
.contact-tile a, .contact-tile p { color: var(--slate); font-size: .95rem; }
.contact-tile a:hover { color: var(--brass-600); }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* =========================================================
   Legal (privacy / terms) typography
   ========================================================= */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.7rem; margin: 40px 0 14px; }
.legal h3 { font-size: 1.25rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--slate); margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 18px; }
.legal ul li { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .9rem; font-style: italic; }

/* =========================================================
   Footer
   ========================================================= */
footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer-col h3 { font-size: 1.2rem; color: #fff; margin-bottom: 22px; }
.footer-col h4 { color: var(--brass-400); font-family: var(--font-sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; font-weight: 600; }
.footer-col p { color: rgba(255,255,255,.62); font-size: .95rem; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,.66); font-size: .94rem; }
.footer-links a:hover { color: var(--brass-400); padding-left: 4px; }
.footer-brand .logo { color: #fff; font-size: 1.5rem; margin-bottom: 18px; display: inline-block; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: .94rem; color: rgba(255,255,255,.66); }
.footer-contact li i { color: var(--brass-400); margin-top: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: all .25s var(--ease); }
.footer-social a:hover { background: var(--brass-500); color: var(--navy-900); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--brass-400); }

/* =========================================================
   Floating actions
   ========================================================= */
.whatsapp-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 900;
    width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
    display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 30px rgba(37,211,102,.5);
    transition: transform .3s var(--ease); animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.mobile-call-bar { display: none; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    html { scroll-behavior: auto; }
    .whatsapp-float { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .split { gap: 40px; }
}
@media (max-width: 860px) {
    :root { --header-h: 66px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 56px; }
    .split__media .badge { left: 16px; bottom: -20px; }
    .metrics { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    /* mobile nav */
    .mobile-menu-btn { display: block; }
    .nav-links {
        position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 6px;
        background: var(--cream); padding: 80px 24px; transform: translateX(100%);
        transition: transform .4s var(--ease); z-index: 1050; overflow-y: auto;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links > a { color: var(--navy-900); font-size: 1.3rem; font-family: var(--font-display); }
    .nav-links > a::after { display: none; }
    .drop-toggle::after { display: none; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0; text-align: center; min-width: 0; }
    .dropdown a { color: var(--slate); font-family: var(--font-sans); font-size: 1rem; }
    .nav-cta { margin: 14px 0 0 !important; }

    /* sticky mobile call bar */
    .mobile-call-bar {
        display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
        box-shadow: 0 -6px 24px rgba(10,22,38,.16);
    }
    .mobile-call-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; font-weight: 600; font-size: .95rem; color: #fff; }
    .mobile-call-bar .call { background: var(--navy-900); }
    .mobile-call-bar .wa { background: #25d366; }
    .whatsapp-float { bottom: 74px; right: 16px; width: 50px; height: 50px; font-size: 1.4rem; }
    body { padding-bottom: 54px; }
    .cta-band .actions { flex-direction: column; }
    .hero__trust { gap: 24px; }
}
@media (max-width: 480px) {
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { justify-content: center; }
    .metrics { grid-template-columns: 1fr 1fr; }
}
