/* ------------------------------------------------------------------
   Ranbhi Traders - site styles
   Change the brand colours in :root to restyle the whole site.
------------------------------------------------------------------ */
:root {
    --brand: #2563eb;
    --brand-2: #7c3aed;
    --brand-dark: #1e3a8a;
    --ink: #0b1220;
    --text: #3b475c;
    --muted: #64748b;
    --line: #e5e9f2;
    --bg: #ffffff;
    --bg-alt: #f5f7fc;
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --radius: 16px;
    --shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 10px 30px rgba(11, 18, 32, .07);
    --shadow-lg: 0 24px 60px rgba(11, 18, 32, .16);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --font-head: "Plus Jakarta Sans", var(--font);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
img, svg { max-width: 100%; }
code { font-size: .9em; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }

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

.sr-only, .hp {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }

.gradient-text { background: linear-gradient(90deg, #60a5fa, #c084fc); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Scroll reveal (only when JavaScript is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
    font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
    transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: 9px 18px; font-size: .95rem; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 8px 22px rgba(79, 70, 229, .35); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(79, 70, 229, .45); }
.btn-outline { border-color: #cfd6e4; color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand-dark); box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
.btn-light:hover { color: var(--brand-2); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gradient); color: #fff; box-shadow: 0 6px 16px rgba(79, 70, 229, .35); }
.brand-light, .brand-light:hover { color: #fff; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; transition: background .15s, color .15s; }
.nav-link:hover, .nav-link.active { color: var(--brand); background: #eef3ff; }
.site-nav .btn { margin-left: 10px; }
.caret { transition: transform .15s; }

.nav-group { position: relative; }
.nav-menu {
    position: absolute; top: 100%; left: 50%; width: 330px; padding: 10px; margin-top: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-group:hover .caret, .nav-group:focus-within .caret { transform: rotate(180deg); }
.nav-menu a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.nav-menu a:hover, .nav-menu a[aria-current] { background: var(--bg-alt); }
.nav-menu svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 11px; background: #eef3ff; color: var(--brand); }
.nav-menu strong { display: block; font-weight: 600; line-height: 1.3; }
.nav-menu small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.35; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); border-radius: 2px; }

/* Hero */
.hero {
    position: relative; overflow: hidden; color: #c7d2e6; padding: 104px 0 112px;
    background:
        radial-gradient(700px 420px at 12% -10%, rgba(59, 130, 246, .45), transparent 60%),
        radial-gradient(640px 460px at 95% 20%, rgba(139, 92, 246, .42), transparent 60%),
        #0b1220;
}
.hero h1 { color: #fff; }
.hero .lead { max-width: 560px; color: #c7d2e6; }
.hero .eyebrow { color: #93c5fd; }
.hero .btn-outline { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); color: #fff; }
.hero .btn-outline:hover { border-color: #fff; color: #fff; }
.hero .media { box-shadow: 0 30px 80px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .14); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; }
.pills a { display: inline-block; padding: 7px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; text-decoration: none; color: #dbe5f7; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background .15s, color .15s; }
.pills a:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.pills-dark { margin-top: 22px; }
.pills-dark a { color: var(--brand-dark); background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.pills-dark a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.page-hero {
    padding: 56px 0 64px; border-bottom: 1px solid var(--line);
    background:
        radial-gradient(600px 300px at 0% 0%, rgba(37, 99, 235, .1), transparent 60%),
        radial-gradient(600px 300px at 100% 0%, rgba(124, 58, 237, .1), transparent 60%),
        var(--bg-alt);
}
.page-hero .lead { max-width: 720px; }
.page-hero .meta { color: var(--muted); font-size: .95rem; margin: 0; }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #b6c0d2; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: 12px; }
.lead { font-size: 1.2rem; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.center-link { text-align: center; margin: 36px 0 0; font-weight: 600; }
.center-link a { text-decoration: none; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.media { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #d5dcf0; }
.card p { margin-bottom: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--brand); }

.tick { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: var(--gradient); }
.tick::before { content: ""; width: 13px; height: 7px; margin-top: -3px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }

.card-service { padding: 0; overflow: hidden; }
.card-image-link { display: block; overflow: hidden; }
.card-image { display: block; width: 100%; height: 210px; object-fit: cover; transition: transform .5s; }
.card-service:hover .card-image { transform: scale(1.06); }
.card-body { position: relative; padding: 0 30px 30px; }
.card-body p { margin-bottom: 1.1em; }
.card-icon { position: relative; width: 52px; height: 52px; padding: 13px; margin: -26px 0 16px; border-radius: 15px; background: var(--gradient); color: #fff; box-shadow: 0 10px 22px rgba(79, 70, 229, .35); }
.card-link { font-weight: 600; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

.link-card { display: grid; grid-template-columns: 200px 1fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--text); }
.link-card-image { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
.link-card-body { display: flex; flex-direction: column; gap: 8px; padding: 24px 26px; font-size: .97rem; }
.link-card-body strong { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.link-card-body em { font-style: normal; font-weight: 600; color: var(--brand); margin-top: auto; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--gradient); color: #fff; font-family: var(--font-head); font-weight: 700; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
.steps-2 { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
.after-steps { margin: 26px 0 0; font-weight: 500; }

/* Services overview */
.service-list { display: grid; gap: 30px; }
.service-row { display: grid; grid-template-columns: 320px 1.2fr 1fr; gap: 40px; align-items: center; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.service-row .media { aspect-ratio: 4 / 3; box-shadow: none; border-radius: 16px; }
.service-row h2 { font-size: 1.6rem; }
.service-row h2 a { color: inherit; text-decoration: none; }
.service-row h2 a:hover { color: var(--brand); }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 13px; height: 7px; border-left: 2.5px solid var(--brand-2); border-bottom: 2.5px solid var(--brand-2); transform: rotate(-45deg); }
.check-list-plain { margin: 6px 0 26px; }
.check-list-plain li { border-bottom: 0; padding-top: 6px; padding-bottom: 6px; }
.check-list-plain li::before { top: 14px; }

/* Call to action */
.cta-wrap { padding: 0 0 88px; }
.section-alt + .cta-wrap { padding-top: 88px; }
.cta {
    display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
    padding: 52px 56px; border-radius: 26px; color: #dbe4ff; box-shadow: var(--shadow-lg);
    background: linear-gradient(120deg, rgba(30, 58, 138, .92), rgba(91, 33, 182, .82)), url("../img/abstract-bg.jpg") center / cover;
}
.cta > div { flex: 1 1 420px; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; max-width: 620px; }
.cta p a { color: #fff; }

/* Text pages */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.8em; font-size: 1.45rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

.details { margin: 0 0 1.4em; display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; padding: 24px 28px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); }
.details dt { font-weight: 600; color: var(--ink); }
.details dd { margin: 0; overflow-wrap: anywhere; }

/* Privacy policy */
.policy-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 98px; max-height: calc(100vh - 120px); overflow: auto; padding: 24px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); font-size: .92rem; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.5em; }
.toc li { margin-bottom: 7px; line-height: 1.4; color: var(--muted); }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
.policy section { scroll-margin-top: 96px; padding-bottom: 8px; }
.policy section + section { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.policy h2 { margin-top: 0; }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-alt); color: var(--ink); font-weight: 600; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; align-items: start; }
.panel { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.5rem; margin-bottom: 1em; }
.contact-side { display: grid; gap: 18px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.info-card > svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--gradient); color: #fff; }
.info-card h3 { font-size: 1rem; margin-bottom: 2px; }
.info-card p { margin: 0; }
.info-card a { overflow-wrap: anywhere; }
.info-card-links { background: var(--bg-alt); box-shadow: none; }
.info-card-links .footer-links { margin: 10px 0 12px; }
.info-card-links .footer-links a { font-weight: 600; text-decoration: none; }
.info-card-links p { font-size: .93rem; color: var(--muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: 7px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px; font: inherit; color: var(--ink);
    background: var(--bg-alt); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.form-note { font-size: .9rem; color: var(--muted); margin: 16px 0 0; }

.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 24px; }
.alert ul { margin: 0; padding-left: 1.2em; }
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.map { overflow: hidden; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #e8ecf4; }
.map iframe { display: block; width: 100%; height: 460px; border: 0; }

/* Ads */
.ad-slot { padding: 24px 0; text-align: center; }

/* Footer */
.site-footer {
    position: relative; color: #9aa8c0; padding: 80px 0 0; font-size: .96rem;
    background:
        radial-gradient(620px 320px at 8% 0%, rgba(37, 99, 235, .22), transparent 65%),
        radial-gradient(620px 320px at 96% 100%, rgba(124, 58, 237, .2), transparent 65%),
        #0b1220;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gradient); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.5fr; gap: 48px; }
.footer-text { margin: 18px 0 20px; max-width: 340px; line-height: 1.65; }
.footer-heading { position: relative; font-family: var(--font); color: #fff; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 22px; padding-bottom: 12px; }
.footer-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--gradient); }
.footer-links, .social-links, .footer-tags, .contact-list { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; overflow-wrap: anywhere; }
.site-footer a { color: #d5deee; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-links a { display: inline-block; transition: color .15s, transform .15s; }
.site-footer .footer-links a:hover { transform: translateX(4px); color: #93c5fd; }

.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tags a { display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: .84rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); }
.footer-tags a:hover { background: rgba(255, 255, 255, .16); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.social-links a { display: inline-block; padding: 6px 14px; border-radius: 10px; font-size: .86rem; font-weight: 500; color: #fff; background: rgba(99, 102, 241, .28); border: 1px solid rgba(129, 140, 248, .4); }
.social-links a:hover { background: rgba(99, 102, 241, .5); }

.footer-contact { padding: 28px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; color: #d5deee; line-height: 1.5; overflow-wrap: anywhere; }
.contact-list svg { flex: none; width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--gradient); color: #fff; }
.contact-list span { min-width: 0; }
.contact-list strong { display: block; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #8fa0bd; margin-bottom: 2px; }
.contact-list .map-link { display: block; margin-top: 4px; font-size: .88rem; font-weight: 600; color: #93c5fd; }
.footer-contact .btn { margin-top: 4px; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 64px; padding-top: 24px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-meta { margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .2); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* Responsive */
@media (max-width: 1000px) {
    .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .service-row { grid-template-columns: 1fr 1fr; }
    .service-row .check-list { grid-column: 1 / -1; }
    .contact-grid, .policy-layout { grid-template-columns: 1fr; }
    .toc { position: static; max-height: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 74px); overflow: auto;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 24px; box-shadow: var(--shadow-lg);
    }
    .site-nav.open { display: flex; }
    .nav-link { padding: 12px 14px; }
    .caret { display: none; }
    .nav-menu { position: static; width: auto; margin: 0 0 6px 14px; padding: 0 0 0 10px; border: 0; border-left: 2px solid var(--line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
    .nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { transform: none; }
    .nav-menu a { padding: 8px; }
    .nav-menu svg, .nav-menu small { display: none; }
    .site-nav .btn { margin: 12px 0 0; }
    .hero { padding: 68px 0 76px; }
    .section { padding: 60px 0; }
    .cta-wrap { padding-bottom: 60px; }
    .section-alt + .cta-wrap { padding-top: 60px; }
    .cta { padding: 38px 28px; }
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .grid-3, .grid-4, .steps, .steps-2, .form-row, .footer-grid, .service-row, .link-card { grid-template-columns: 1fr; }
    .link-card-image { height: 180px; }
    .panel { padding: 24px; }
    .details { grid-template-columns: 1fr; gap: 2px; padding: 20px; }
    .details dd { margin-bottom: 10px; }
    .map iframe { height: 340px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

.notice { padding: 18px 22px; margin-bottom: 36px; border-radius: 12px; border: 1px solid #c7d7fe; border-left: 4px solid var(--brand); background: #eef3ff; color: var(--ink); }

.footer-grid { grid-template-rows: auto 1fr; }
.footer-contact { grid-column: 4; grid-row: 1 / span 2; align-self: start; }
.footer-app {
    grid-column: 1 / span 3; grid-row: 2; align-self: end;
    display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
    padding: 24px 28px; border-radius: 20px; border: 1px solid rgba(129, 140, 248, .3);
    background: linear-gradient(120deg, rgba(37, 99, 235, .22), rgba(124, 58, 237, .2));
}
.footer-app-icon { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--gradient); color: #fff; box-shadow: 0 10px 24px rgba(79, 70, 229, .4); }
.footer-app-icon svg { width: 30px; height: 30px; }
.footer-app-text { flex: 1 1 260px; min-width: 0; }
.footer-app-text h2 { color: #fff; font-size: 1.3rem; margin: 0 0 4px; }
.footer-app-text p { margin: 0; color: #c3cee2; line-height: 1.5; }
.footer-app-text p a { color: #93c5fd; font-weight: 600; white-space: nowrap; }
.footer-app-label { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #93c5fd !important; margin-bottom: 4px !important; }
.footer-app-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .store-badge { display: block; padding: 8px 18px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; line-height: 1.25; }
.site-footer a.store-badge:hover { color: var(--brand); }
.store-badge small { display: block; font-size: .68rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.site-footer .store-badge-soon { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.store-badge-soon small { color: #9aa8c0; }

@media (max-width: 1000px) {
    .footer-contact { grid-column: auto; grid-row: auto; }
    .footer-app { grid-column: 1 / -1; grid-row: auto; }
}
/* App documents and support */
.toc .toc-more { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc ul li { margin-bottom: 7px; }
.toc ul a { font-weight: 500; }
.policy ol { padding-left: 1.3em; }
.card-note { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.card a { overflow-wrap: anywhere; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq summary { position: relative; padding: 18px 56px 18px 22px; font-family: var(--font-head); font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #eef3ff; color: var(--brand); font-weight: 600; }
.faq details[open] summary::after { content: "\2212"; background: var(--gradient); color: #fff; }
.faq details p { margin: 0; padding: 0 22px 20px; }

.doc-card { display: flex; flex-direction: column; gap: 14px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doc-card strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.doc-card span { font-weight: 600; font-size: .92rem; }

.footer-app-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px !important; font-size: .88rem; }
.site-footer .footer-app-links a { color: #93c5fd; font-weight: 600; }
.site-footer .footer-app-links a:hover { color: #fff; }
