/* =========================================================================
   Helprix — style.css
   Independent Apple device support. Mobile-first, framework-free.
   Theme: modern violet/indigo + warm zinc grays.
   ========================================================================= */

/* ---------- Design tokens ---------- */
:root {
    --brand:        #6d28d9;   /* violet-700 */
    --brand-2:      #7c3aed;   /* violet-600 */
    --brand-dark:   #5b21b6;   /* violet-800 */
    --brand-darker: #4c1d95;   /* violet-900 */
    --brand-soft:   #f3effe;   /* tinted violet wash */
    --brand-soft-2: #e4d8fb;

    --accent:       #14b8a6;   /* teal accent for ticks/success */

    /* Warm zinc neutrals (vs iAssistPro's cool slate) */
    --ink:          #18181b;   /* zinc-900 */
    --ink-2:        #3f3f46;   /* zinc-700 */
    --muted:        #71717a;   /* zinc-500 */
    --line:         #e4e4e7;   /* zinc-200 */

    --bg:           #ffffff;
    --bg-soft:      #fafafa;   /* zinc-50 */
    --bg-soft-2:    #f4f4f5;   /* zinc-100 */
    --ink-panel:    #1c1626;   /* deep violet-black for footer */

    --success:      #14b8a6;
    --warn:         #d97706;
    --danger:       #e11d48;

    --radius-sm: 12px;
    --radius:    18px;
    --radius-lg: 26px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(24,24,27,.06), 0 2px 6px rgba(24,24,27,.05);
    --shadow:    0 10px 30px rgba(76,29,149,.10);
    --shadow-lg: 0 24px 60px rgba(76,29,149,.20);

    --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
    --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
    --space-9: 88px;

    --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    --maxw: 1180px;
    --header-h: 70px;

    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-dark); }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 var(--space-4); font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.7vw, 2.55rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 var(--space-4); }

:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; border-radius: 4px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 200;
    background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-9) 0; }
.section-soft { background: var(--bg-soft); }
.section-brand { background: linear-gradient(145deg, var(--brand-darker), var(--brand-2)); color: #fff; }
.section-tight { padding: var(--space-7) 0; }
.narrow { max-width: 780px; margin-inline: auto; }

/* Section heads are LEFT-aligned by default here (vs centered in reference) */
.section-head { max-width: 760px; margin: 0 0 var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--brand); background: var(--brand-soft);
    padding: 6px 14px; border-radius: var(--radius-pill); margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--brand-2); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: 1rem; line-height: 1; cursor: pointer;
    padding: 15px 26px; border-radius: var(--radius-pill); border: 2px solid transparent;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
    text-align: center; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 17px 32px; font-size: 1.06rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(109,40,217,.28); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(109,40,217,.36); }
.btn-outline { background: transparent; color: var(--brand-dark); border-color: var(--brand-soft-2); }
.btn-outline:hover { border-color: var(--brand-2); color: var(--brand-darker); transform: translateY(-2px); background: var(--brand-soft); }
.btn-white { background: #fff; color: var(--brand-darker); }
.btn-white:hover { background: var(--brand-soft); color: var(--brand-darker); transform: translateY(-2px); }
.btn-ghost-white { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-white:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }
.btn-block { display: flex; width: 100%; }

/* ---------- Top utility bar (slim violet, vs dark disclaimer bar) ---------- */
.topbar {
    background: linear-gradient(90deg, var(--brand-darker), var(--brand)); color: #ede9fe;
    font-size: .82rem; padding: 7px 0;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.topbar-note { display: inline-flex; align-items: center; gap: 8px; }
.topbar-note strong { color: #fff; font-weight: 600; }
.topbar-links { display: inline-flex; gap: var(--space-4); }
.topbar-links a { color: #ede9fe; display: inline-flex; align-items: center; gap: 6px; }
.topbar-links a:hover { color: #fff; }
.topbar-links svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9);
    backdrop-filter: saturate(150%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; }
.brand-mark { display: inline-flex; }
.brand-text { font-size: 1.34rem; letter-spacing: -.03em; color: var(--ink); }
.brand-accent { color: var(--brand); }

.primary-nav ul { display: flex; align-items: center; gap: var(--space-1); list-style: none; }
.primary-nav a:not(.btn) {
    display: inline-flex; align-items: center; padding: 10px 14px; border-radius: var(--radius-sm);
    font-weight: 600; color: var(--ink-2); font-size: .98rem;
}
.primary-nav a:not(.btn):hover, .primary-nav a:not(.btn)[aria-current="page"] { color: var(--brand-dark); background: var(--brand-soft); }
.nav-cta { margin-left: var(--space-2); }
.nav-cta .btn { color: #fff; }
.nav-cta .btn:hover { color: #fff; }

.has-dropdown { position: relative; }
.has-dropdown > a[aria-haspopup]::after {
    content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg); opacity: .6;
}
.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 224px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-shadow: var(--shadow); padding: 8px; list-style: none;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s var(--ease); z-index: 20;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { width: 100%; }

.drawer-head, .nav-close, .submenu-toggle { display: none; }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: 0;
    padding: 10px; cursor: pointer; border-radius: var(--radius-sm);
}
.nav-toggle-bar { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero (CENTERED, with device picker) ---------- */
.hero {
    position: relative; padding: var(--space-9) 0 var(--space-8); overflow: hidden; text-align: center;
    background:
        radial-gradient(900px 420px at 50% -10%, var(--brand-soft), transparent 65%),
        radial-gradient(600px 300px at 85% 10%, #ecfeff, transparent 60%),
        var(--bg);
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(rgba(109,40,217,.07) 1px, transparent 1px);
    background-size: 22px 22px; mask-image: radial-gradient(700px 400px at 50% 0%, #000, transparent 75%);
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700;
    color: var(--brand-dark); background: #fff; border: 1px solid var(--brand-soft-2);
    padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: var(--space-5); box-shadow: var(--shadow-sm);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(20,184,166,.2); }
.hero h1 { margin: 0 auto var(--space-5); max-width: 900px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--brand-2), var(--brand-darker)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.2rem; color: var(--ink-2); max-width: 660px; margin: 0 auto var(--space-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; margin-bottom: var(--space-7); }

/* Device picker row */
.device-picker { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
.device-pick {
    display: inline-flex; flex-direction: column; align-items: center; gap: 8px; width: 104px; padding: 16px 10px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-2);
    font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-sm);
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.device-pick:hover { transform: translateY(-4px); border-color: var(--brand-soft-2); box-shadow: var(--shadow); color: var(--brand-dark); }
.device-pick .dp-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.device-pick .dp-ico svg { width: 24px; height: 24px; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: var(--space-6); box-shadow: var(--shadow-sm); overflow: hidden;
    transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
/* Distinct top accent bar on cards */
.card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--brand-2), var(--accent)); transform: scaleX(0); transform-origin: left;
    transition: transform .28s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-soft-2); }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }

.card-icon {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    background: var(--brand-soft); color: var(--brand); margin-bottom: var(--space-4);
}
.card-icon svg { width: 28px; height: 28px; }

.service-card { display: block; }
.service-card .card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; margin-top: var(--space-4); color: var(--brand); }
.service-card:hover .card-link { gap: 10px; }

/* Chips */
.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-3); }
.chip {
    display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; color: var(--ink-2); font-size: .96rem;
    transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}
.chip:hover { border-color: var(--brand-soft-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.chip .chip-ico { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.chip .chip-ico svg { width: 19px; height: 19px; }
.problem-grid .chip .chip-ico { background: #fff4e6; color: var(--warn); }

/* ---------- Feature list (why / values) ---------- */
.feature { display: flex; gap: var(--space-4); }
.feature .feature-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.feature .feature-ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Steps (how it works) — 3-up with connective spine ---------- */
.steps { counter-reset: step; }
.step {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: var(--space-6); box-shadow: var(--shadow-sm);
}
.step .step-num {
    width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(140deg, var(--brand-2), var(--brand-dark)); color: #fff;
    font-weight: 800; display: grid; place-items: center; margin-bottom: var(--space-4); font-size: 1.2rem;
    box-shadow: 0 8px 18px rgba(109,40,217,.35);
}
.step h3 { font-size: 1.16rem; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- Stats (integrated inline, light bg) ---------- */
.statline { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); text-align: center; }
.statline .stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5) var(--space-4); box-shadow: var(--shadow-sm); }
.statline .stat-num { font-size: 2.3rem; font-weight: 800; letter-spacing: -.02em;
    background: linear-gradient(120deg, var(--brand-2), var(--brand-darker)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statline .stat-label { color: var(--muted); font-size: .93rem; font-weight: 600; }

/* ---------- Testimonials (NEW section) ---------- */
.quote-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-6);
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--space-4);
}
.quote-card .stars { display: flex; gap: 3px; color: #f59e0b; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { margin: 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-card .avatar {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
    background: linear-gradient(140deg, var(--brand-2), var(--brand-dark)); color: #fff; font-weight: 800; font-size: 1.05rem;
}
.quote-card .who-name { font-weight: 700; color: var(--ink); font-size: .98rem; }
.quote-card .who-meta { color: var(--muted); font-size: .86rem; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 840px; }
.faq.center { margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: var(--space-3); overflow: hidden; transition: border-color .2s var(--ease); }
.faq-item.open { border-color: var(--brand-soft-2); }
.faq-q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    padding: 20px 22px; font-size: 1.04rem; font-weight: 700; color: var(--ink);
    display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: inherit;
}
.faq-q .faq-icon { flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s, color .2s; }
.faq-q .faq-icon svg { width: 16px; height: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 22px 20px; color: var(--muted); }
.faq-a-inner p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 640px; margin: 0 auto var(--space-6); }
.cta-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
    position: relative; overflow: hidden; color: #fff; padding: var(--space-8) 0 var(--space-9);
    background: linear-gradient(145deg, var(--brand-darker), var(--brand-2));
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; opacity: .5;
    background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 20px 20px;
    mask-image: radial-gradient(600px 300px at 80% 0%, #000, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: var(--space-4); }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.12rem; max-width: 660px; margin: 0; }
.breadcrumb { margin-bottom: var(--space-5); font-size: .9rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: rgba(255,255,255,.6); }
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }

/* ---------- Content / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: var(--space-7); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--space-5); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--space-4); }
.prose li { margin-bottom: 8px; }
.prose ul.check { list-style: none; padding-left: 0; }
.prose ul.check li { position: relative; padding-left: 32px; }
.prose ul.check li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px;
    background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236d28d9'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
}
.legal-updated { color: var(--muted); font-size: .95rem; margin-bottom: var(--space-6); }

/* Two-column layout with sticky sidebar (support pages) */
.layout-2col { display: grid; grid-template-columns: 1fr 300px; gap: var(--space-8); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); box-shadow: var(--shadow-sm); margin-bottom: var(--space-5); }
.sidebar-card h3 { font-size: 1.05rem; }
.toc { list-style: none; }
.toc li { margin-bottom: 2px; }
.toc a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: .94rem; }
.toc a:hover { background: var(--brand-soft); color: var(--brand-dark); }

/* Quick-fix checklist box at top of support pages */
.quickfix { background: var(--brand-soft); border: 1px solid var(--brand-soft-2); border-radius: var(--radius); padding: var(--space-5) var(--space-6); margin-bottom: var(--space-6); }
.quickfix h2 { margin: 0 0 var(--space-3); font-size: 1.15rem; }
.quickfix ol { margin: 0; padding-left: 1.2em; }
.quickfix li { margin-bottom: 6px; color: var(--ink-2); }

.topic-block { border-top: 1px solid var(--line); padding-top: var(--space-6); margin-top: var(--space-6); }
.topic-block:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.topic-block h2 { display: flex; align-items: center; gap: 12px; }
.topic-block h2 .t-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.topic-block h2 .t-ico svg { width: 23px; height: 23px; }

.callout { background: var(--brand-soft); border: 1px solid var(--brand-soft-2); border-radius: var(--radius); padding: var(--space-5); margin: var(--space-5) 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-warn { background: #fff8ef; border-color: #fde3c0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-7); box-shadow: var(--shadow); }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
.field label .req { color: var(--danger); }
.field input, .field textarea, .field select {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 140px; }
.field .error-text { color: var(--danger); font-size: .85rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.field.invalid .error-text { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: var(--space-3); }
.form-success { display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: var(--space-5); font-weight: 600; }
.form-success.show { display: block; }

.info-list { list-style: none; display: grid; gap: var(--space-4); }
.info-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.info-list .info-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; flex: none; }
.info-list .info-ico svg { width: 23px; height: 23px; }
.info-list h3 { font-size: 1.05rem; margin-bottom: 2px; }
.info-list p, .info-list a { margin: 0; color: var(--muted); }
.info-list a:hover { color: var(--brand); }

.map-placeholder {
    margin-top: var(--space-5); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(109,40,217,.07), rgba(109,40,217,.02)),
        repeating-linear-gradient(0deg, var(--bg-soft) 0 39px, var(--line) 39px 40px),
        repeating-linear-gradient(90deg, var(--bg-soft) 0 39px, var(--line) 39px 40px);
    height: 260px; display: grid; place-items: center; text-align: center; color: var(--muted); position: relative;
}
.map-placeholder .map-pin { color: var(--brand); }
.map-placeholder .map-pin svg { width: 40px; height: 40px; margin: 0 auto 8px; }

/* ---------- About specifics ---------- */
.mv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.mv-card .card-icon { margin-bottom: var(--space-4); }
.about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-panel); color: #a1a1aa; padding-top: var(--space-8); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: var(--space-6); padding-bottom: var(--space-7); }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: var(--space-4); letter-spacing: .01em; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #a1a1aa; }
.footer-col a:hover { color: #fff; }
.footer-about p { color: #a1a1aa; margin: var(--space-4) 0; max-width: 340px; }
.brand-footer .brand-text { color: #fff; }
.social-icons { display: flex; gap: 10px; }
.social-icons a { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.08); color: #d4d4d8; display: grid; place-items: center; }
.social-icons a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.footer-contact { gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { color: var(--brand-2); flex: none; margin-top: 3px; }
.footer-hours { color: #71717a; font-size: .88rem; }

.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.08); padding: var(--space-5) 0; }
.footer-disclaimer p { color: #71717a; font-size: .84rem; margin: 0; max-width: 920px; }
.footer-disclaimer strong { color: #d4d4d8; font-weight: 600; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: var(--space-4) 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-3); }
.footer-bottom p { margin: 0; font-size: .86rem; color: #71717a; }
.footer-bottom-links a { color: #a1a1aa; margin-left: var(--space-4); }
.footer-bottom-links a:hover { color: #fff; }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 14px;
    background: var(--brand); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-6); }
    .layout-2col { grid-template-columns: 1fr; }
    .sidebar { position: static; display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .statline { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }

    .primary-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
        background: #fff; display: flex; flex-direction: column; padding: 0;
        transform: translateX(100%); transition: transform .3s var(--ease);
        box-shadow: var(--shadow-lg); z-index: 200; overscroll-behavior: contain;
    }
    .primary-nav.open { transform: translateX(0); }

    .drawer-head {
        display: flex; align-items: center; justify-content: space-between;
        padding: 16px 18px; border-bottom: 1px solid var(--line); flex: none;
    }
    .drawer-head .brand-text { font-size: 1.2rem; }
    .nav-close {
        display: grid; place-items: center; width: 42px; height: 42px; border: 0; cursor: pointer;
        background: var(--bg-soft); color: var(--ink); border-radius: 12px; transition: background .18s var(--ease), color .18s var(--ease);
    }
    .nav-close:hover { background: var(--brand-soft); color: var(--brand-dark); }

    .primary-nav ul {
        flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px; overflow-y: auto; flex: 1 1 auto; scrollbar-width: none;
    }
    .primary-nav ul::-webkit-scrollbar { display: none; }
    .primary-nav a:not(.btn) { width: 100%; padding: 14px 16px; border-radius: 12px; font-size: 1.03rem; color: var(--ink); }

    .has-dropdown { display: flex; flex-wrap: wrap; align-items: center; }
    .primary-nav .has-dropdown > a { flex: 1 1 auto; width: auto; }
    .has-dropdown > a[aria-haspopup]::after { display: none; }
    .submenu-toggle {
        display: grid; place-items: center; width: 44px; height: 44px; flex: none;
        background: none; border: 0; cursor: pointer; color: var(--muted); border-radius: 12px;
    }
    .submenu-toggle:hover { background: var(--bg-soft); color: var(--brand-dark); }
    .submenu-toggle svg { transition: transform .25s var(--ease); }
    .has-dropdown.open .submenu-toggle { color: var(--brand-dark); }
    .has-dropdown.open .submenu-toggle svg { transform: rotate(180deg); }

    .dropdown {
        position: static; flex-basis: 100%; width: 100%; min-width: 0;
        opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
        padding: 0 0 0 8px; margin: 0; background: transparent;
        max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
    }
    .has-dropdown.open .dropdown { max-height: 360px; }
    .dropdown a { padding: 12px 16px; font-size: .98rem; color: var(--muted); border-radius: 10px; }
    .dropdown a:hover { color: var(--brand-dark); background: var(--brand-soft); }

    .nav-cta { margin-top: auto; padding: 16px 12px 22px; border-top: 1px solid var(--line); }
    .nav-cta .btn { width: 100%; padding: 15px 18px; font-size: 1.02rem; }

    body.nav-open { overflow: hidden; }
    .nav-backdrop {
        position: fixed; inset: 0; background: rgba(24,24,27,.5); z-index: 90;
        opacity: 0; visibility: hidden; transition: opacity .25s var(--ease);
        -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    }
    .nav-backdrop.show { opacity: 1; visibility: visible; }

    .topbar-links { display: none; }
    .topbar .container { justify-content: center; }
}

@media (max-width: 720px) {
    :root { --space-9: 60px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .statline { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .footer-bottom-links a { margin: 0 var(--space-3); }
}

@media (max-width: 460px) {
    body { font-size: 16px; }
    .container { padding: 0 var(--space-4); }
    .hero-actions .btn, .cta-actions .btn { width: 100%; }
    .statline { grid-template-columns: 1fr; }
    .device-pick { width: calc(50% - var(--space-3)); }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
@media print {
    .site-header, .topbar, .back-to-top, .nav-toggle, .cta-band, .hero-actions { display: none !important; }
    body { color: #000; }
    a { color: #000; text-decoration: underline; }
}
