:root {
    --bg:         #fdfaf7;
    --surface:    #ffffff;
    --soft:       #f9f5f1;
    --ink:        #1d1512;
    --muted:      #7a6e67;
    --line:       rgba(29, 21, 18, 0.1);
    --brand:      #c49a78;
    --brand-dark: #9e7652;
    --accent:     #f5ede4;
    --header-bg:  #fff8f3;
    --success:    #e0f2e6;
    --error:      #f8dfdf;
    --r:          20px;
    --shadow:     0 4px 24px rgba(29, 21, 18, 0.08);
    --shadow-md:  0 12px 44px rgba(29, 21, 18, 0.12);
    --line-soft:  rgba(29, 21, 18, 0.07);
    --brand-shadow: rgba(158, 118, 82, 0.28);
    --brand-shadow-strong: rgba(158, 118, 82, 0.38);
    --brand-shadow-soft: rgba(158, 118, 82, 0.22);
    --hero-overlay-strong: rgba(18, 14, 12, 0.58);
    --hero-overlay-soft: rgba(18, 14, 12, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body, 'Be Vietnam Pro', sans-serif);
    font-size: 1rem;
    color: var(--ink);
    background: var(--bg);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

/* ── Layout ── */
.wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}
/* legacy selectors used by admin */
.hero, .section, .footer,
.dashboard-header, .table-shell, .auth-card {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}
.site-shell, .dashboard-shell, .auth-shell { position: relative; z-index: 1; }

/* ── Typography ── */
.brand-mark, h1, h2,
.auth-card h1, .dashboard-header h1 {
    font-family: var(--font-heading, 'Noto Serif', serif);
    letter-spacing: 0.02em;
}
h1 { margin: 0 0 20px; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.1; }
h2 { margin: 8px 0 0; font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { margin: 0 0 10px; font-size: 1.1rem; }
h1 em { font-style: italic; color: var(--brand-dark); }
.brand-mark { margin: 0; font-size: 1.4rem; }
.eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-dark);
}

/* ── Buttons ── */
.button-primary, .button-secondary, .nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 150ms, box-shadow 150ms, background 150ms;
}
.button-primary, .nav-button {
    background: var(--brand-dark);
    color: #fff;
    box-shadow: 0 6px 20px var(--brand-shadow);
}
.button-primary:hover, .nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px var(--brand-shadow-strong);
}
.button-secondary {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
}
.button-secondary:hover { background: var(--accent); border-color: transparent; }
.full-width { width: 100%; }

/* ── Header / Nav ── */
.site-header { background: var(--header-bg); border-bottom: 1px solid var(--line); }
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}
.brand-sub { margin: 3px 0 0; font-size: 0.74rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.topbar-right, .topbar-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.topbar-copy { display: grid; gap: 3px; }
.topbar-copy .brand-mark { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 800; margin: 0; }
.topbar-line { margin: 0; font-size: 0.86rem; color: var(--muted); font-weight: 500; }
.topbar-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    cursor: pointer;
}
.topbar-toggle-line {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 999px;
    transition: transform 160ms ease, opacity 160ms ease;
}
.nav-link { padding: 9px 14px; border-radius: 999px; font-size: 0.88rem; transition: background 150ms; }
.nav-link:hover { background: var(--accent); }
.nav-tel {
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.86rem;
    background: var(--ink);
    color: #fff;
    transition: background 150ms;
}
.nav-tel:hover { background: var(--brand-dark); }

/* ── Hero ── */
.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border-top: 1px solid var(--line);
}
.hero-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, var(--hero-overlay-strong), var(--hero-overlay-soft));
    z-index: 1;
}
.hero-slides {
    position: absolute;
    inset: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    animation: heroFade 18s infinite;
}
.hero-overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    min-height: 560px;
    display: grid;
    place-content: center;
    padding: 56px 0;
}
.hero-overlay .eyebrow { color: #f3d4bc; }
.hero-overlay h1 { color: #fff; }
.hero-overlay h1 em { color: #f3d4bc; }
.hero-overlay .hero-text {
    font-size: 1.02rem;
    line-height: 1.82;
    color: rgba(255, 255, 255, 0.84);
    max-width: 600px;
    margin: 0 auto 30px;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-overlay .button-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero-overlay .button-secondary:hover { color: var(--ink); background: #fff; }
.trust-row { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.trust-item strong { display: block; font-family: var(--font-heading, 'Noto Serif', serif); font-size: 1.7rem; color: #fff; }
.trust-item span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.82); }

/* ── Sections ── */
.section { padding: 64px 0; }
.section-tinted { background: var(--accent); }
.section-head { text-align: center; margin-bottom: 36px; }

/* ── Service Cards ── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform 200ms, box-shadow 200ms;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-bar {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    width: 44px;
    margin-bottom: 18px;
}
.svc-num { margin: 0 0 8px; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.svc-card h3 { font-size: 1.1rem; }
.svc-card p { color: var(--muted); line-height: 1.7; flex: 1; margin: 0 0 16px; }
.svc-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(196, 154, 120, 0.16);
    font-size: 0.76rem;
    color: var(--brand-dark);
    margin-bottom: 14px;
    align-self: flex-start;
}
.svc-link { font-size: 0.86rem; font-weight: 600; color: var(--brand-dark); margin-top: auto; }
.svc-link:hover { text-decoration: underline; }

/* ── Process ── */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step-card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--r);
    padding: 24px;
    box-shadow: var(--shadow);
}
.step-num {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(196, 154, 120, 0.15);
    color: var(--brand-dark);
    margin-bottom: 14px;
}
.step-card h3 { font-size: 0.98rem; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; margin: 0; }

/* ── Reviews ── */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 26px;
    box-shadow: var(--shadow);
}
.review-q { color: var(--muted); line-height: 1.82; margin: 0 0 16px; font-size: 0.93rem; }
.review-name { font-size: 0.86rem; }
.review-q { overflow-wrap: anywhere; }

/* ── Booking Layout ── */
.booking-layout { display: flex; gap: 24px; align-items: start; }
.booking-aside {
    flex: 0 0 280px;
    background: var(--ink);
    color: #fdfaf7;
    border-radius: var(--r);
    padding: 28px;
}
.booking-aside h3 { margin: 0 0 10px; font-family: var(--font-heading, 'Noto Serif', serif); font-size: 1.4rem; color: #fdfaf7; }
.booking-aside p { color: rgba(253, 250, 247, 0.68); font-size: 0.88rem; line-height: 1.7; margin: 0 0 20px; }
.aside-info { margin-top: 20px; display: grid; gap: 10px; }
.aside-info > div {
    padding: 13px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.aside-info span { display: block; font-size: 0.74rem; color: rgba(253, 250, 247, 0.5); margin-bottom: 3px; }
.aside-info strong { display: block; color: #fdfaf7; font-size: 0.88rem; }

/* ── Booking Form ── */
.booking-form {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 28px;
    box-shadow: var(--shadow);
}
.compact-form { display: grid; gap: 4px; }
.form-row { display: flex; gap: 16px; }
.form-row label { flex: 1; }
label { display: block; }
label span { display: block; margin-bottom: 8px; font-size: 0.86rem; font-weight: 500; }
input, textarea, select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--soft);
    color: var(--ink);
    margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); background: var(--surface); }
textarea { resize: vertical; min-height: 108px; }

/* ── Flash ── */
.flash { padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-size: 0.9rem; }
.flash-success { background: var(--success); }
.flash-error { background: var(--error); }

/* ── Footer ── */
.site-footer { background: var(--ink); color: rgba(253, 250, 247, 0.6); padding: 36px 0; font-size: 0.86rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .brand-mark { color: #fdfaf7; margin-bottom: 4px; }
.site-footer p { margin: 4px 0 0; font-size: 0.84rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--brand); }

/* ── Mobile App Nav ── */
.mobile-app-nav {
    display: none;
}

/* ── Anims ── */
.reveal-up { animation: revealUp 600ms ease both; }
@keyframes revealUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFade {
    0% { opacity: 0; transform: scale(1.03); }
    6% { opacity: 1; }
    30% { opacity: 1; transform: scale(1); }
    36% { opacity: 0; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.03); }
}

/* ══════════════════════════════
   Admin styles
══════════════════════════════ */
.admin-body { min-height: 100vh; background: var(--bg); }
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 32px 0; }
.auth-card {
    width: min(520px, calc(100% - 32px));
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: 2rem; margin: 0 0 6px; }
.auth-copy { color: var(--muted); margin: 0 0 22px; font-size: 0.9rem; }

.dashboard-shell { padding: 28px 0 48px; }
.dashboard-shell .table-shell + .table-shell { margin-top: 20px; }
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}
.dashboard-header h1 { font-size: 2rem; margin: 0 6px 0 0; }
.dashboard-header p.eyebrow { margin-bottom: 4px; }
.dashboard-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.section-head-left { text-align: left; margin-bottom: 22px; }
.admin-settings-wrap { padding: 24px; }
.admin-settings-form { display: grid; gap: 4px; }
.admin-settings-actions {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.admin-color-panel {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    background: linear-gradient(180deg, #fff, #fcf8f4);
    margin-bottom: 8px;
}

.admin-color-head {
    margin-bottom: 14px;
}

.admin-color-head h3 {
    margin: 0;
    font-size: 1.1rem;
}

.admin-color-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.admin-color-field {
    margin: 0;
}

.admin-color-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

.admin-color-inputs input[type="color"] {
    width: 46px;
    height: 42px;
    border-radius: 10px;
    padding: 0;
    border: 1px solid var(--line);
    background: #fff;
    margin: 0;
    cursor: pointer;
}

.admin-color-inputs input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 3px;
}

.admin-color-inputs input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 8px;
}

.admin-color-inputs input[type="text"] {
    margin: 0;
    font-family: Consolas, "Courier New", monospace;
    letter-spacing: 0.03em;
}

.admin-theme-preview {
    --preview-bg: #fdfaf7;
    --preview-header: #fff8f3;
    --preview-ink: #1d1512;
    --preview-brand: #c49a78;
    --preview-brand-dark: #9e7652;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.admin-theme-preview-header {
    background: var(--preview-header);
    color: var(--preview-ink);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.admin-theme-preview-body {
    background: var(--preview-bg);
    color: var(--preview-ink);
    padding: 16px 12px;
}

.admin-theme-preview-title {
    font-family: var(--font-heading, 'Noto Serif', serif);
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.admin-theme-preview-text {
    font-size: 0.8rem;
    opacity: 0.78;
    margin-bottom: 12px;
}

.admin-theme-preview-actions {
    display: flex;
    gap: 8px;
}

.preview-pill {
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 7px 11px;
}

.preview-pill-primary {
    background: var(--preview-brand-dark);
    color: #fff;
}

.preview-pill-secondary {
    background: rgba(0, 0, 0, 0.06);
    color: var(--preview-ink);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ── Theme Preset Cards ─────────────────────────────── */
.admin-theme-presets-panel {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    background: linear-gradient(180deg, #fff, #fcf8f4);
    margin-bottom: 8px;
}

.admin-presets-note {
    font-size: 0.84rem;
    color: var(--muted);
    margin: 4px 0 0;
}

.theme-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.theme-preset-card {
    background: #fff;
    border: 2px solid var(--line);
    border-radius: 14px;
    padding: 14px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.12s;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: inherit;
}

.theme-preset-card:hover {
    border-color: var(--brand);
    box-shadow: 0 4px 16px var(--brand-shadow);
    transform: translateY(-2px);
}

.theme-preset-card.is-active {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-shadow-soft), 0 4px 18px var(--brand-shadow);
}

.theme-preset-swatches {
    display: flex;
    height: 34px;
    border-radius: 9px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.theme-swatch {
    flex: 1;
    display: block;
}

.theme-preset-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.theme-preset-info strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.theme-preset-info span {
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.45;
}

.table-shell {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow);
}
.booking-table { width: 100%; border-collapse: collapse; }
.booking-table th,
.booking-table td { text-align: left; padding: 15px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.88rem; }
.booking-table th { font-size: 0.78rem; letter-spacing: 0.08em; color: var(--muted); }
.booking-table td strong,
.booking-table td span,
.booking-table td small { display: block; }
td span, td small { color: var(--muted); font-size: 0.82rem; }

.admin-update-form { display: grid; gap: 10px; min-width: 220px; }
.admin-update-form textarea,
.admin-update-form select { margin: 0; }
.empty-state { text-align: center; color: var(--muted); padding: 48px; }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .topbar-right {
        justify-content: flex-end;
    }

    .nav-link,
    .nav-tel {
        font-size: 0.83rem;
    }
}

@media (max-width: 900px) {
    .card-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
    .step-grid { grid-template-columns: repeat(2, 1fr); }
    .booking-layout { flex-direction: column; }
    .booking-aside, .booking-form { flex: none; width: 100%; }
    .form-row { flex-direction: column; gap: 0; }
    .topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 0 16px;
    }
    .topbar-right {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }
    .hero-slider, .hero-overlay {
        min-height: 470px;
    }
    .hero-overlay {
        padding: 44px 0;
    }
    .hero-overlay .hero-text {
        max-width: 90%;
        font-size: 0.98rem;
        line-height: 1.7;
    }
    .hero-cta {
        margin-bottom: 24px;
    }
    .trust-row {
        width: 100%;
        gap: 14px;
    }
    .trust-item {
        min-width: 120px;
    }

    .admin-color-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .section-head {
        margin-bottom: 24px;
    }

    h2 {
        font-size: clamp(1.4rem, 5vw, 1.9rem);
    }

    .svc-card,
    .step-card,
    .review-card,
    .booking-aside,
    .booking-form {
        padding: 20px;
    }

    .button-primary,
    .button-secondary {
        min-height: 46px;
        padding: 12px 20px;
    }

    .hero-cta {
        display: grid;
        gap: 10px;
        width: min(340px, 100%);
        margin-inline: auto;
        margin-bottom: 22px;
    }

    .hero-cta a {
        width: 100%;
    }
}

@media (max-width: 600px) {
    body {
        padding-bottom: 86px;
    }

    .card-grid, .step-grid, .review-grid { grid-template-columns: 1fr; }
    .hero-slider, .hero-overlay {
        min-height: 400px;
    }
    .section {
        padding: 38px 0;
    }
    h1 {
        font-size: clamp(1.85rem, 8vw, 2.2rem);
        line-height: 1.18;
        margin-bottom: 14px;
    }
    .eyebrow {
        font-size: 0.64rem;
        letter-spacing: 0.16em;
        margin-bottom: 8px;
    }
    .trust-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        justify-items: center;
    }
    .trust-item strong {
        font-size: 1.28rem;
    }
    .topbar {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
    }
    .topbar-copy .brand-mark {
        font-size: 1.3rem;
        font-weight: 800;
    }
    .topbar-toggle {
        display: inline-flex;
    }
    .topbar-right {
        display: none;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        grid-column: 1 / -1;
        padding-top: 6px;
    }
    .topbar.is-open .topbar-right {
        display: grid;
    }
    .topbar.is-open .topbar-toggle-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .topbar.is-open .topbar-toggle-line:nth-child(2) {
        opacity: 0;
    }
    .topbar.is-open .topbar-toggle-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .nav-link,
    .nav-tel {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 11px 12px;
        font-size: 0.82rem;
    }
    .nav-tel {
        grid-column: 1 / -1;
    }
    label span {
        margin-bottom: 6px;
        font-size: 0.84rem;
    }
    input,
    textarea,
    select {
        padding: 11px 12px;
    }

    .section {
        scroll-margin-top: 14px;
    }

    .card-grid,
    .review-grid {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(82%, 1fr);
        gap: 12px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .card-grid {
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        grid-auto-columns: unset;
        overflow: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }

    .review-grid {
        grid-auto-flow: row;
        grid-template-columns: 1fr;
        grid-auto-columns: unset;
        overflow: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }

    .step-grid {
        display: grid;
        gap: 12px;
    }

    .svc-card,
    .review-card {
        scroll-snap-align: start;
    }

    .card-grid .svc-card {
        scroll-snap-align: none;
    }

    .review-grid .review-card {
        scroll-snap-align: none;
    }

    .mobile-app-nav {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 10px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid var(--line-soft);
        backdrop-filter: blur(10px);
        box-shadow: 0 12px 30px rgba(29, 21, 18, 0.16);
        z-index: 40;
    }

    .mobile-app-item {
        display: grid;
        gap: 2px;
        text-align: center;
        align-content: center;
        min-height: 54px;
        border-radius: 12px;
        padding: 6px 4px;
        color: var(--ink);
    }

    .mobile-app-item:active {
        background: var(--accent);
    }

    .mobile-app-item.is-active {
        background: var(--accent);
        color: var(--brand-dark);
        box-shadow: inset 0 0 0 1px var(--brand-shadow-soft);
    }

    .mobile-app-primary {
        background: var(--brand-dark);
        color: #fff;
        box-shadow: 0 8px 18px var(--brand-shadow);
    }

    .mobile-app-title {
        font-size: 0.72rem;
        font-weight: 700;
        line-height: 1.1;
    }

    .mobile-app-sub {
        font-size: 0.64rem;
        opacity: 0.82;
        line-height: 1.1;
    }

    .wrap { width: calc(100% - 28px); }
}

@media (max-width: 420px) {
    .hero-slider,
    .hero-overlay {
        min-height: 370px;
    }

    .hero-overlay {
        padding: 34px 0;
    }

    .hero-overlay .hero-text {
        font-size: 0.9rem;
        margin-bottom: 18px;
    }

    .site-footer {
        padding: 26px 0;
    }

    .mobile-app-nav {
        left: 8px;
        right: 8px;
        bottom: 8px;
        gap: 6px;
        padding: 8px;
    }

    .mobile-app-title {
        font-size: 0.68rem;
    }
}
