/* Wealin Ho & Co. — Abogados de Accidentes de Auto en Nueva York */

:root {
    --navy: #0b1d36;
    --navy-2: #12294a;
    --navy-3: #1b3a64;
    --gold: #c9a45c;
    --gold-2: #e2c48a;
    --gold-dark: #a8843f;
    --ink: #1c2433;
    --muted: #5d6879;
    --line: #e4e0d8;
    --cream: #f8f5ef;
    --white: #ffffff;
    --dark-color: #08162a;
    --accent-color: #c9a45c;
    --radius: 14px;
    --shadow: 0 18px 50px rgba(8, 22, 42, 0.12);
    --shadow-lg: 0 30px 80px rgba(8, 22, 42, 0.22);
    --transition: all 0.3s ease;
    --serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: var(--navy-3); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.22; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
p { margin-bottom: 1rem; }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold-dark); margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.on-dark .eyebrow, .eyebrow.light { color: var(--gold-2); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 1rem;
    border: 2px solid transparent; cursor: pointer; transition: var(--transition); font-family: var(--sans);
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-dark)); color: var(--navy); box-shadow: 0 10px 30px rgba(201, 164, 92, 0.35); }
.btn-gold:hover { transform: translateY(-2px); color: var(--navy); box-shadow: 0 16px 36px rgba(201, 164, 92, 0.5); }
.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); color: var(--white); transform: translateY(-2px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark-color); color: rgba(255, 255, 255, 0.78); font-size: 0.85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, 0.85); }
.topbar a:hover { color: var(--gold-2); }
.topbar-group { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.topbar .badge { color: var(--gold-2); font-weight: 700; letter-spacing: 0.04em; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line); transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(8, 22, 42, 0.1); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }

.logo a { display: flex; white-space: nowrap; align-items: center; gap: 12px; color: var(--navy); transition: opacity 0.3s ease; }
.logo a:hover { opacity: 0.85; color: var(--navy); }
.logo-mark { width: 46px; height: 46px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--serif); font-size: 1.32rem; letter-spacing: 0.01em; }
.logo-text small { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }

.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a { display: block; white-space: nowrap; padding: 10px 13px; color: var(--ink); font-weight: 600; font-size: 0.95rem; border-radius: 8px; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-dark); }
.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; font-size: 0.7rem; margin-left: 6px; }
.sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 270px; background: var(--white);
    border-radius: 12px; box-shadow: var(--shadow-lg); padding: 10px; border-top: 3px solid var(--gold);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: var(--transition);
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { padding: 10px 14px; font-weight: 500; }
.sub-menu a:hover { background: var(--cream); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-call { padding: 12px 22px; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px auto; transition: var(--transition); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy); }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 22, 42, 0.94) 0%, rgba(8, 22, 42, 0.78) 45%, rgba(8, 22, 42, 0.35) 100%); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 50px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero p.lead { color: rgba(255, 255, 255, 0.86); margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; fill: var(--gold-2); }

.hero-card {
    background: rgba(255, 255, 255, 0.97); color: var(--ink); border-radius: 20px; padding: 34px;
    box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold);
}
.hero-card h2 { font-size: 1.55rem; margin-bottom: 0.4rem; }
.hero-card p { color: var(--muted); font-size: 0.95rem; }
.hero-card ul { margin: 1rem 0 1.4rem; }
.hero-card li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 0.97rem; }
.hero-card li svg { width: 20px; height: 20px; fill: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }
.hero-card .btn { width: 100%; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 110px 0 90px; color: var(--white); background: var(--navy); overflow: hidden; }
.page-hero img, .page-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 22, 42, 0.95), rgba(8, 22, 42, 0.55)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; max-width: 900px; }
.page-hero p { color: rgba(255, 255, 255, 0.85); font-size: 1.15rem; max-width: 760px; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 1.2rem; color: rgba(255, 255, 255, 0.7); }
.breadcrumb a { color: var(--gold-2); }
.breadcrumb span { margin: 0 8px; }

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: var(--white); position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.1); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); color: var(--gold-2); line-height: 1.1; }
.stat span { font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: rgba(255, 255, 255, 0.85); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.section-head { margin-bottom: 3.2rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.split-media .media-badge {
    position: absolute; bottom: -26px; right: -14px; background: var(--navy); color: var(--white);
    padding: 22px 26px; border-radius: 14px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--gold);
}
.media-badge strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold-2); line-height: 1; }
.media-badge span { font-size: 0.85rem; }

.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230b1d36' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list.two-col { columns: 2; column-gap: 32px; }
.check-list.two-col li { break-inside: avoid; }

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

.practice-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    display: flex; flex-direction: column; transition: var(--transition); color: var(--ink);
}
.practice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.practice-card img { width: 100%; height: 220px; object-fit: cover; }
.practice-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.practice-card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.practice-card .more { font-weight: 700; color: var(--gold-dark); font-size: 0.92rem; }

.feature { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); transition: var(--transition); }
.feature:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.feature .icon {
    width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
    background: linear-gradient(135deg, var(--navy), var(--navy-3));
}
.feature .icon svg { width: 28px; height: 28px; fill: var(--gold-2); }
.feature p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.bg-navy .feature { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.bg-navy .feature p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Results ---------- */
.result-card { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border-top: 4px solid var(--gold); display: flex; flex-direction: column; }
.result-card .tag { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.result-card .amount { font-family: var(--serif); font-size: 2.4rem; color: var(--navy); font-weight: 700; line-height: 1.15; margin: 6px 0 10px; }
.result-card h3 { font-size: 1.15rem; }
.result-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.result-card .outcome { display: inline-block; align-self: flex-start; background: var(--cream); color: var(--gold-dark); font-weight: 700; font-size: 0.8rem; padding: 5px 12px; border-radius: 999px; }
.disclaimer-note { font-size: 0.85rem; color: var(--muted); margin-top: 2rem; font-style: italic; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process.four { grid-template-columns: repeat(4, 1fr); margin: 1.5rem 0 2rem; }
.step { position: relative; text-align: center; padding: 10px; }
.step .num {
    width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
    font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--navy);
    background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 10px 26px rgba(201, 164, 92, 0.4);
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.93rem; color: var(--muted); }
.bg-navy .step p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Video band ---------- */
.video-band { position: relative; overflow: hidden; color: var(--white); padding: 120px 0; background: var(--navy); }
.video-band video, .video-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-band::after { content: ""; position: absolute; inset: 0; background: rgba(8, 22, 42, 0.78); }
.video-band .container { position: relative; z-index: 2; }
.video-band h2 { color: var(--white); }
.video-band p { color: rgba(255, 255, 255, 0.85); }

.video-feature { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy); }
.video-feature video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.video-feature figcaption, .prose .video-feature figcaption { padding: 14px 20px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.8); background: var(--navy); }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); position: relative; }
.testimonial::before { content: "\201C"; position: absolute; top: 4px; right: 24px; font-family: var(--serif); font-size: 6rem; color: var(--gold); opacity: 0.3; line-height: 1; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.testimonial p { font-style: italic; color: var(--ink); }
.testimonial .who { font-weight: 700; color: var(--navy); margin: 0; }
.testimonial .who small { display: block; font-weight: 500; color: var(--muted); }

/* ---------- Content pages ---------- */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; align-items: start; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8rem; }
.prose ul { margin: 0 0 1.4rem; }
.prose ul:not(.check-list) li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose ul:not(.check-list) li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.prose figure { margin: 2rem 0; }
.prose figure img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }
.prose figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 10px; }
.callout { background: var(--cream); border-left: 4px solid var(--gold); padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0; margin: 2rem 0; }
.callout strong { color: var(--navy); }
.callout p:last-child { margin: 0; }

.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 1.4rem 0 2rem; }
.type-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.type-item strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.05rem; margin-bottom: 4px; }
.type-item span { font-size: 0.93rem; color: var(--muted); }

.sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.side-box { background: var(--navy); color: rgba(255, 255, 255, 0.85); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.side-box h3 { color: var(--white); }
.side-box .phone-big { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--gold-2); font-weight: 700; margin: 6px 0 16px; }
.side-box .btn { width: 100%; }
.side-links { background: var(--cream); border-radius: var(--radius); padding: 26px; }
.side-links h3 { font-size: 1.15rem; }
.side-links a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.side-links a:hover, .side-links a.active { color: var(--gold-dark); padding-left: 6px; }

/* ---------- Areas ---------- */
.area-card { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.area-card h3 { display: flex; align-items: center; gap: 10px; }
.area-card h3 svg { width: 22px; height: 22px; fill: var(--gold-dark); }
.area-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font-weight: 700; color: var(--navy);
    font-size: 1.05rem; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 50%; background: var(--cream); color: var(--gold-dark);
    display: grid; place-items: center; font-size: 1.3rem; transition: var(--transition);
}
.faq-item[open] summary::after { content: "−"; background: var(--gold); color: var(--navy); }
.faq-item .answer { padding: 0 26px 22px; color: var(--muted); }
.faq-item .answer p:last-child { margin: 0; }
.faq-group-title { margin: 3rem 0 1.2rem; font-size: 1.5rem; }
.faq-group-title:first-child { margin-top: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.info-list .ic svg { width: 22px; height: 22px; fill: var(--gold-2); }
.info-list strong { display: block; color: var(--navy); }
.info-list span, .info-list a { color: var(--muted); }
.info-list a:hover { color: var(--gold-dark); }

.form-card { background: var(--white); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); border-top: 4px solid var(--gold); }
.form-card h2 { font-size: 1.8rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 1.4rem; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #d6d2c9; border-radius: 10px; font-size: 1rem;
    font-family: var(--sans); background: #fcfbf8; color: var(--ink); transition: var(--transition);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.18); background: var(--white); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button { grid-column: 1 / -1; width: 100%; }
.form-note { grid-column: 1 / -1; font-size: 0.82rem; color: var(--muted); margin: 0; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: var(--white); padding: 80px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(201, 164, 92, 0.08); right: -140px; top: -200px; }
.cta-band .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255, 255, 255, 0.8); margin: 0; max-width: 640px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer (templates/footer.css base) ---------- */
footer { background: var(--dark-color); color: var(--white); padding: 4.5rem 0 1rem; }
.footer-content { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-section h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.15rem; }
.footer-section p, .footer-section a { color: rgba(255, 255, 255, 0.75); line-height: 1.8; font-size: 0.95rem; }
.footer-section a:hover { color: var(--accent-color); }
.footer-section li { margin-bottom: 4px; }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: 0.6rem; }
.footer-legal { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.6rem; margin-bottom: 1rem; }
.footer-legal p { margin-bottom: 0.4rem; }
.footer-bottom { text-align: center; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.footer-bottom p { margin-bottom: 0.5rem; }
.footer-partner { margin-top: 1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.footer-partner a { color: var(--accent-color); text-decoration: none; transition: var(--transition); }
.footer-partner a:hover { color: var(--white); }

/* ---------- Mobile call bar ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal ---------- */
.has-js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.has-js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .has-js .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1220px) {
    .main-nav a { padding: 10px 9px; font-size: 0.92rem; }
    .nav-call { padding: 12px 16px; }
}

@media (max-width: 1024px) {
    .hero .container, .split, .content-layout, .contact-grid { grid-template-columns: 1fr; }
    .split.reverse > :first-child { order: 0; }
    .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(3, 1fr); }
    .process.four { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .sidebar { position: static; }
    .split-media .media-badge { right: 14px; }

    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; top: 0; right: 0; width: min(340px, 86vw); height: 100vh; background: var(--white);
        box-shadow: var(--shadow-lg); padding: 90px 24px 30px; overflow-y: auto;
        transform: translateX(100%); transition: transform 0.35s ease; z-index: 120;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav > ul { flex-direction: column; align-items: stretch; }
    .main-nav a { padding: 12px 6px; border-bottom: 1px solid var(--line); }
    .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 0 0 0 14px; min-width: 0; }
    .has-sub > a::after { content: ""; }
    .nav-toggle { position: relative; z-index: 130; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .nav-cta .btn { display: none; }
}

@media (max-width: 720px) {
    body { font-size: 16px; padding-bottom: 64px; }
    .topbar .hide-sm { display: none; }
    .topbar .container { justify-content: center; }
    .nav-wrap { height: 72px; }
    .logo-mark { width: 40px; height: 40px; }
    .logo-text strong { font-size: 1.12rem; }
    .logo-text small { font-size: 0.6rem; }
    .hero { min-height: auto; }
    .hero .container { padding-top: 50px; padding-bottom: 50px; }
    .hero-card { padding: 26px; }
    .section { padding: 70px 0; }
    .page-hero { padding: 80px 0 60px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: 0; }
    .stat { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 28px 12px; }
    .card-grid, .card-grid.four, .card-grid.two, .type-grid { grid-template-columns: 1fr; }
    .process, .process.four { grid-template-columns: 1fr; }
    .check-list.two-col { columns: 1; }
    .contact-form { grid-template-columns: 1fr; }
    .form-card { padding: 28px 22px; }
    .footer-content { grid-template-columns: 1fr; }
    .cta-band .container { flex-direction: column; align-items: flex-start; }
    .video-band { padding: 80px 0; }
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
        box-shadow: 0 -6px 24px rgba(8, 22, 42, 0.2);
    }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 10px; font-weight: 700; }
    .mobile-bar a svg { width: 18px; height: 18px; fill: currentColor; }
    .mobile-bar .call { background: var(--gold); color: var(--navy); }
    .mobile-bar .msg { background: var(--navy); color: var(--white); }
}
