:root {
    --ink: #2b2620;
    --muted: #5c5347;
    --soft: #efe8d9;
    --soft-2: #f7f2e7;
    --paper: #fbf8f1;
    --line: #e0d7c5;
    --line-2: #d8cdb6;
    --brown: #4a3b2b;
    --brown-2: #6e5a43;
    --gold: #b08d4f;
    --gold-soft: #efe3cb;
    --success: #e4efdb;
    --success-ink: #3f7a3f;
    --error: #f7e4de;
    --error-ink: #9a4a36;
    --shadow: 0 14px 32px -24px rgba(74, 59, 43, 0.42);
    --shadow-soft: 0 10px 24px -22px rgba(74, 59, 43, 0.36);
    --shadow-strong: 0 22px 54px -40px rgba(43, 38, 32, 0.5);
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

@keyframes viewIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(176, 141, 79, 0.12), transparent 34rem),
        linear-gradient(180deg, #f5efe2 0%, var(--soft) 42%, #e7decb 100%);
    color: var(--ink);
    font-family: "Public Sans", Arial, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.welcome-popup {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(43, 38, 32, 0.45);
    backdrop-filter: blur(4px);
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.welcome-popup.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.welcome-popup__card {
    width: min(640px, 100%);
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid #e4d9c4;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.32)),
        var(--paper);
    box-shadow: var(--shadow-strong);
    text-align: center;
}

.welcome-popup__card h2 {
    margin: 0;
}

.welcome-popup__card p {
    margin: 14px 0 0;
}

.welcome-popup__hint {
    color: var(--brown);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

a {
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 32px;
    background: rgba(247, 242, 231, 0.9);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px -26px rgba(43, 38, 32, 0.55);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand__mark {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--brown), #6b563f);
    color: var(--soft);
    font-family: "Spectral", Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 10px 22px -16px rgba(43, 38, 32, 0.9);
}

.brand__name {
    display: block;
    font-family: "Spectral", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
}

.brand__tag {
    display: block;
    color: #a89177;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-header__nav,
.topic-nav__actions,
.hero__actions,
.section-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 760px) {
    .site-header {
        padding: 12px 16px;
        gap: 12px;
        align-items: flex-start;
    }

    .brand {
        flex: 1 1 100%;
        min-width: 0;
        gap: 10px;
    }

    .brand > span:last-child {
        min-width: 0;
    }

    .brand__mark {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 16px;
        flex-shrink: 0;
    }

    .brand__name {
        font-size: clamp(17px, 5vw, 20px);
    }

    .brand__tag {
        font-size: 10px;
        line-height: 1.25;
        letter-spacing: 0.08em;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .site-header__nav {
        width: 100%;
        justify-content: stretch;
    }

    .site-header__nav .pill {
        width: 100%;
        min-height: 42px;
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 420px) {
    .site-header {
        padding: 10px 12px;
        gap: 10px;
    }

    .brand {
        gap: 8px;
    }

    .brand__mark {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .brand__name {
        font-size: 16px;
    }

    .brand__tag {
        font-size: 9px;
        letter-spacing: 0.06em;
    }
}

.pill,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 7px;
    border-radius: 999px;
    font-family: "Public Sans", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.pill {
    min-height: 40px;
    padding: 9px 18px;
    font-size: 14px;
}

.button {
    min-height: 48px;
    border: 1px solid transparent;
    padding: 13px 26px;
    font-size: 16px;
}

.pill-light,
.button-secondary {
    border: 1px solid var(--line-2);
    background: rgba(251, 248, 241, 0.88);
    color: var(--brown);
}

.pill-dark,
.button-primary {
    border: 1px solid var(--brown);
    background: linear-gradient(145deg, var(--brown), #5d4935);
    color: #f4efe4;
}

.button-light {
    background: var(--soft);
    color: #3a2f22;
}

.button-outline {
    border-color: #c9b894;
    color: #f4efe4;
}

.pill:hover,
.button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
}

.button:disabled,
.button.is-disabled {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
    box-shadow: none;
}

.pill:focus-visible,
.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(176, 141, 79, 0.45);
    outline-offset: 3px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 74px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 18% 10%, rgba(176, 141, 79, 0.1), transparent 19rem),
        linear-gradient(168deg, #fbf7ee 0%, var(--soft) 58%, #e4d8c3 100%);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(176, 141, 79, 0.1);
    border-radius: 999px;
}

.hero::before {
    width: 420px;
    height: 420px;
    right: -190px;
    top: -210px;
}

.hero::after {
    width: 260px;
    height: 260px;
    left: -150px;
    bottom: -120px;
}

.hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.eyebrow,
.kicker {
    color: #a89177;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(251, 248, 241, 0.85);
    color: var(--brown-2);
    letter-spacing: 0.04em;
    box-shadow: 0 12px 30px -26px rgba(43, 38, 32, 0.6);
}

.eyebrow span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--gold);
}

h1,
h2,
h3 {
    font-family: "Spectral", Georgia, serif;
    color: var(--ink);
    font-weight: 700;
}

h1 {
    max-width: 920px;
    margin: 26px auto 0;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.04;
    letter-spacing: -0.025em;
}

h2 {
    margin: 10px 0 14px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
}

h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

.hero p,
.lead {
    max-width: 720px;
    font-size: clamp(17px, 1.8vw, 18px);
}

.hero p {
    margin: 24px auto 0;
}

.hero__actions {
    justify-content: center;
    margin-top: 34px;
}

.hero__phone {
    font-size: 14px;
    font-weight: 700;
}

.section {
    padding-block: 64px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.section-heading p {
    max-width: 680px;
}

.topic-grid,
.mini-grid,
.compare-grid,
.split-cards,
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.topic-card,
.summary-card,
.card,
.form-card,
.contact-card,
.faq-item {
    background: var(--paper);
    border: 1px solid #e6ddcb;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75), var(--shadow-soft);
}

.service-summary {
    padding-block: 50px 38px;
}

.summary-panel {
    position: relative;
    overflow: hidden;
    display: block;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(216, 205, 182, 0.9);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.12)),
        rgba(251, 248, 241, 0.72);
    box-shadow: var(--shadow-strong);
}

.summary-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 12%, rgba(217, 184, 119, 0.18), transparent 18rem),
        linear-gradient(180deg, rgba(74, 59, 43, 0.05), transparent 45%);
}

.summary-intro {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-bottom: 28px;
}

.summary-intro h2 {
    margin-top: 12px;
    font-size: clamp(30px, 3.6vw, 42px);
}

.summary-intro p {
    margin: 0;
    max-width: 720px;
}

.summary-panel .summary-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.summary-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent 48%),
        var(--paper);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.summary-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), rgba(176, 141, 79, 0.08));
}

.summary-card:hover {
    transform: translateY(-1px);
    border-color: #c9b894;
    box-shadow: var(--shadow-strong);
}

.summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 0;
    border-radius: 16px;
    background: linear-gradient(145deg, #f6eddb, var(--gold-soft));
    color: #7a5f2f;
    font-family: "Spectral", Georgia, serif;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.summary-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.summary-label {
    display: block;
    margin-bottom: 0;
    color: #9a8566;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.summary-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.summary-card p {
    margin: 0;
    font-size: 15.5px;
}

.summary-card > strong {
    display: block;
    margin-top: auto;
    padding-top: 20px;
    color: var(--brown);
    font-size: 13.5px;
    line-height: 1.45;
}

.mission-panel {
    background:
        radial-gradient(circle at 12% 10%, rgba(176, 141, 79, 0.16), transparent 18rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.16)),
        rgba(251, 248, 241, 0.82);
}

.mission-panel-narrative {
    padding: clamp(34px, 5vw, 58px);
    background:
        radial-gradient(circle at 9% 12%, rgba(176, 141, 79, 0.14), transparent 20rem),
        linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(247, 242, 231, 0.72)),
        rgba(251, 248, 241, 0.86);
}

.mission-copy {
    position: relative;
    z-index: 1;
    max-width: 1060px;
}

.mission-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(38px, 5vw, 58px);
    letter-spacing: -0.04em;
}

.mission-copy p {
    max-width: 1000px;
    margin: 0;
    color: #332d25;
    font-size: clamp(15.5px, 1.25vw, 17px);
    line-height: 1.72;
}

.mission-copy p + p {
    margin-top: 18px;
}

.mission-intro {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-bottom: 30px;
}

.mission-intro h2 {
    max-width: 820px;
    margin: 12px 0 14px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.04;
}

.mission-intro p {
    max-width: 860px;
    margin: 0;
    color: #4f4639;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.72;
}

.mission-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
    gap: 20px;
    align-items: stretch;
}

.mission-side {
    display: grid;
    gap: 20px;
}

.mission-card {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid #e6ddcb;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.62), transparent 54%),
        var(--paper);
    box-shadow: var(--shadow-soft);
}

.mission-card-featured {
    min-height: 100%;
    border-color: rgba(176, 141, 79, 0.34);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(239, 232, 217, 0.54)),
        var(--paper);
}

.mission-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: linear-gradient(145deg, #f6eddb, var(--gold-soft));
    color: #7a5f2f;
    font-family: "Spectral", Georgia, serif;
    font-size: 20px;
    font-weight: 800;
}

.mission-card h3 {
    margin: 0 0 12px;
    font-size: clamp(22px, 2vw, 28px);
}

.mission-card p {
    margin: 0;
    color: #5c5347;
    font-size: 15.5px;
    line-height: 1.7;
}

.mission-card p + p {
    margin-top: 14px;
}

.topic-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-height: 178px;
    padding: 24px;
    text-decoration: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)),
        var(--paper);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.topic-card::after {
    content: "";
    position: absolute;
    inset: auto 20px 0 20px;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, transparent, rgba(176, 141, 79, 0.7), transparent);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.topic-card:hover,
.card:hover,
.contact-card:hover,
.anoc-step:hover {
    border-color: #c9b894;
    box-shadow: var(--shadow-strong);
}

.topic-card:hover {
    transform: translateY(-2px);
}

.topic-card:hover::after {
    opacity: 1;
}

.topic-card span {
    color: var(--gold);
    font-family: "Spectral", Georgia, serif;
    font-weight: 700;
}

.topic-card strong {
    font-family: "Spectral", Georgia, serif;
    font-size: 21px;
    line-height: 1.2;
}

.topic-card em {
    color: #6b6254;
    font-size: 14px;
    font-style: normal;
    line-height: 1.5;
}

.topic-card b {
    color: var(--brown-2);
    font-size: 13px;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 38px 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 38%),
        linear-gradient(120deg, var(--brown), #5c4a36);
    box-shadow: var(--shadow-strong);
}

.cta-band h2,
.cta-band p {
    color: #f4efe4;
}

.cta-band p {
    margin-bottom: 0;
}

.mailing-cta {
    margin-bottom: 34px;
}

.view-section {
    scroll-margin-top: 86px;
    border-top: 1px solid var(--line);
    display: none;
}

.view-section.is-active {
    display: block;
    animation: viewIn 0.24s ease both;
}

.main-view.is-hidden {
    display: none;
}

[hidden] {
    display: none !important;
}

.topic-nav {
    position: sticky;
    top: 74px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 248, 241, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px -30px rgba(43, 38, 32, 0.6);
}

.topic-nav__title {
    text-align: center;
}

.topic-nav__title span {
    display: block;
    color: #a89177;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.topic-nav__title strong {
    display: block;
    font-family: "Spectral", Georgia, serif;
    font-size: 18px;
}

.two-column {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 34px;
    align-items: start;
}

.two-column > .note,
.two-column > .section-actions {
    grid-column: 1 / -1;
}

.card {
    padding: 28px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
    transform: translateY(-1px);
}

.card-dark,
.ready-card,
.time-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 40%),
        linear-gradient(145deg, var(--brown), #5c4a36);
    border-color: var(--brown);
    color: #f4efe4;
    box-shadow: var(--shadow-strong);
}

.card-dark h3,
.card-dark p,
.card-dark li,
.ready-card h2,
.ready-card p,
.ready-card a,
.time-card {
    color: #f4efe4;
}

/* ── SERVICE LAYOUT (view 6) ── */
.service-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: center;
}

.service-layout .section-actions {
    grid-column: 1 / -1;
}

/* Time card — dark brown rectangle, "24" large */
.time-card {
    padding: 48px 36px;
    border-radius: 20px;
    text-align: center;
}

.time-card strong {
    display: block;
    color: var(--soft);
    font-family: "Spectral", Georgia, serif;
    font-size: 96px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.time-card span {
    display: block;
    margin-top: 10px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.time-card em {
    display: block;
    margin-top: 10px;
    color: #e4d9c4;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 820px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.card-label {
    display: block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.clean-list,
.good-list,
.bad-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.clean-list li,
.good-list li,
.bad-list li {
    color: var(--muted);
    line-height: 1.5;
}

.card-dark .clean-list li,
.card-dark .good-list li,
.card-dark .bad-list li {
    color: #f0e7d6;
}

.good-list li::before {
    content: "✓";
    color: #d9b877;
    font-weight: 800;
    margin-right: 8px;
}

.bad-list li::before {
    content: "x";
    color: #bca884;
    font-weight: 800;
    margin-right: 8px;
}

.note {
    margin-top: 20px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    background:
        linear-gradient(90deg, rgba(176, 141, 79, 0.1), transparent 48%),
        #f3ecdc;
    color: var(--brown);
    line-height: 1.6;
    box-shadow: 0 12px 26px -24px rgba(43, 38, 32, 0.5);
}

.section-actions {
    margin-top: 28px;
}

.tabs {
    margin-top: 24px;
}

.tab-list {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(243, 236, 220, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.tab-button {
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--brown-2);
    cursor: pointer;
    font: 700 15px "Public Sans", Arial, sans-serif;
    padding: 10px 20px;
}

.tab-button.is-active {
    background: linear-gradient(145deg, var(--brown), #5d4935);
    color: var(--paper);
    box-shadow: 0 10px 22px -18px rgba(43, 38, 32, 0.8);
}

.models-copy .tab-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    padding: 7px;
    border-radius: 18px;
    border-color: #ded2bc;
    background: rgba(243, 236, 220, 0.72);
}

.models-copy .tab-button {
    min-height: 48px;
    padding: 12px 14px;
    color: #6e5a43;
    font-size: 15.5px;
    font-weight: 800;
    white-space: nowrap;
}

.models-copy .tab-button.is-active {
    background: linear-gradient(145deg, var(--brown), #5d4935);
    color: #f4efe4;
    box-shadow: 0 12px 24px -18px rgba(43, 38, 32, 0.9);
}

.tab-panel {
    display: none;
    padding: 30px;
    border: 1px solid #e6ddcb;
    border-radius: var(--radius-md);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.tab-panel.is-active {
    display: block;
}

.models-heading {
    max-width: 980px;
    margin-bottom: 24px;
}

.models-heading h2 {
    margin-bottom: 12px;
    text-wrap: balance;
}

@media (min-width: 900px) {
    .models-heading h2 {
        white-space: nowrap;
    }
}

@media (max-width: 980px) {
    .models-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .models-copy {
        max-width: 560px;
    }

    .models-copy .tab-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        padding: 6px;
        border-radius: 16px;
    }

    .models-copy .tab-button {
        min-height: 44px;
        padding: 9px 8px;
        font-size: 14px;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }
}

.models-heading .lead {
    max-width: 760px;
}

.models-layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.78fr) minmax(520px, 1.22fr);
    gap: clamp(24px, 3.4vw, 42px);
    align-items: center;
}

.models-copy {
    width: 100%;
    max-width: 520px;
}

/* ── MODEL SCREENSHOTS — single image display ── */
.model-screenshots {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* Each preview is hidden by default */
.model-preview {
    display: none;
    margin: 0;
    width: 100%;
    animation: viewIn 0.22s ease both;
}

/* Only the active preview is shown */
.model-preview.is-active {
    display: block;
}

.model-preview img {
    display: block;
    width: 100%;

    object-fit: cover;

}

.model-preview figcaption {
    display: none;
    margin-top: 9px;
    color: #8a7c66;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: right;
    text-transform: uppercase;
}

.model-preview.is-active figcaption {
    display: block;
}

@media (max-width: 980px) {
    .models-layout {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .models-copy {
        max-width: none;
    }
}

.sample-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.sample-card strong {
    font-family: "Spectral", Georgia, serif;
    font-size: 20px;
}

.sample-card span {
    color: #8a7c66;
    font-size: 14px;
    font-weight: 700;
}

/* =========================================================
/* =========================================================
   TRANSLATION SECTION — VIEW 4
   Stacked images always visible. Click any image → lightbox.
   Language cards bring that image to front-right slot.
========================================================= */

.translation-section { position: relative; }

/* TOP HEADING BLOCK */
.translation-heading-block { max-width: 1180px; margin-bottom: 26px; }
.translation-heading-block .kicker { display: inline-block; margin-bottom: 10px; }
.translation-heading-block h2 { margin: 0 0 14px; white-space: nowrap; }
.translation-heading-block .lead { max-width: 760px; margin: 0; }

/* TWO COLUMNS */
.translation-layout {
    display: grid;
    grid-template-columns: 260px minmax(720px, 1fr);
    column-gap: 52px;
    align-items: start;
}

/* LEFT */
.translation-copy { display: flex; flex-direction: column; align-items: flex-start; }

.translation-language-stack {
    position: relative;
    width: 230px;
    padding-bottom: 22px;
}

.translation-language-stack::before,
.translation-language-stack::after {
    content: "";
    position: absolute;
    left: 10px; right: -8px;
    height: 56px;
    border-radius: 12px;
    background: #e7ddcc;
    z-index: 0;
}
.translation-language-stack::before { bottom: 18px; opacity: 0.55; }
.translation-language-stack::after  { bottom: 0;    opacity: 0.35; }

.translation-language-stack .sample-card {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    margin-bottom: 18px;
    padding: 0 18px;
    border-radius: 12px;
    background: #f7f3ea;
    color: #3d332a;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 1px 0 rgba(255,255,255,0.85) inset;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.translation-language-stack .sample-card:last-child { margin-bottom: 0; }
.translation-language-stack .sample-card strong {
    font-size: 18px; font-weight: 600; line-height: 1.2;
    color: #43382d; width: 100%; text-align: center;
}
.translation-language-stack .sample-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -14px rgba(74,59,43,0.45);
}
.translation-language-stack .sample-card.is-active {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 6px 18px -12px rgba(176,141,79,0.55);
}
.translation-language-stack .sample-card.is-active strong { color: var(--brown); }

.translation-section > .section-actions {
    margin-top: 30px;
    width: 100%;
    justify-content: center;
}

@media (min-width: 1025px) {
    .translation-section > .section-actions {
        width: auto;
        justify-content: flex-start;
    }
}

/* RIGHT — stacked previews container */
.translation-previews {
    position: relative;
    min-height: 720px;
    margin-top: 6px;
}

/* Every preview: absolutely positioned, always visible */
.translation-preview {
    position: absolute;
    margin: 0;
    width: min(680px, 100%);
    cursor: zoom-in;
    transition: top 0.38s ease, left 0.38s ease,
                opacity 0.38s ease, filter 0.38s ease,
                box-shadow 0.38s ease, transform 0.18s ease;
}

.translation-preview:hover { transform: translateY(-3px); }

.translation-preview img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: unset;
    pointer-events: none; /* click handled on figure */
}

/* DEFAULT stacked positions — all three always visible */
.translation-preview-english    { top: 0;    left: 0;      z-index: 1; opacity: 0.7;  filter: saturate(0.85); }
.translation-preview-spanish    { top: 34px; left: 78px;   z-index: 2; opacity: 0.82; filter: saturate(0.92); }
.translation-preview-vietnamese { top: 68px; left: 138px;  z-index: 3; opacity: 1;    filter: none;
                                   box-shadow: 0 28px 52px -32px rgba(43,38,32,0.75); }

/* ENGLISH card clicked → English to front-right */
.translation-previews[data-active="english"] .translation-preview-english {
    top: 68px; left: 138px; z-index: 3;
    opacity: 1; filter: none;
    box-shadow: 0 28px 52px -32px rgba(43,38,32,0.75);
}
.translation-previews[data-active="english"] .translation-preview-spanish    { top: 0;    left: 0;    z-index: 1; opacity: 0.6;  filter: saturate(0.82); }
.translation-previews[data-active="english"] .translation-preview-vietnamese { top: 34px; left: 78px; z-index: 2; opacity: 0.75; filter: saturate(0.88); }

/* SPANISH card clicked → Spanish to front-right */
.translation-previews[data-active="spanish"] .translation-preview-spanish {
    top: 68px; left: 138px; z-index: 3;
    opacity: 1; filter: none;
    box-shadow: 0 28px 52px -32px rgba(43,38,32,0.75);
}
.translation-previews[data-active="spanish"] .translation-preview-english    { top: 0;    left: 0;    z-index: 1; opacity: 0.6;  filter: saturate(0.82); }
.translation-previews[data-active="spanish"] .translation-preview-vietnamese { top: 34px; left: 78px; z-index: 2; opacity: 0.75; filter: saturate(0.88); }

/* VIETNAMESE card clicked → Vietnamese to front-right */
.translation-previews[data-active="vietnamese"] .translation-preview-vietnamese {
    top: 68px; left: 138px; z-index: 3;
    opacity: 1; filter: none;
    box-shadow: 0 28px 52px -32px rgba(43,38,32,0.75);
}
.translation-previews[data-active="vietnamese"] .translation-preview-english  { top: 0;    left: 0;    z-index: 1; opacity: 0.6;  filter: saturate(0.82); }
.translation-previews[data-active="vietnamese"] .translation-preview-spanish  { top: 34px; left: 78px; z-index: 2; opacity: 0.75; filter: saturate(0.88); }

/* RESPONSIVE */
@media (max-width: 1180px) {
    .translation-heading-block h2 { white-space: normal; }
    .translation-heading-block .lead { max-width: 100%; }
    .translation-layout { grid-template-columns: 1fr; row-gap: 28px; }
    .translation-previews { min-height: 620px; }
}

@media (max-width: 900px) {
    .translation-previews {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
    .translation-preview {
        position: relative;
        top: auto !important;
        left: auto !important;
        width: 100%;
        max-width: 100%;
        opacity: 1 !important;
        filter: none !important;
    }
    .translation-section > .section-actions {
        margin-top: 22px;
    }
}

@media (max-width: 640px) {
    .translation-language-stack {
        width: 100%;
        max-width: none;
        padding-bottom: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .translation-language-stack::before,
    .translation-language-stack::after {
        display: none;
    }

    .translation-language-stack .sample-card {
        min-height: 56px;
        margin-bottom: 0;
        padding: 0 8px;
    }

    .translation-language-stack .sample-card strong {
        font-size: clamp(13px, 3.6vw, 16px);
        line-height: 1.15;
    }
}

/* ── LIGHTBOX ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(20, 16, 10, 0.93);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
    animation: lightboxIn 0.22s ease both;
}

@keyframes lightboxIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.lightbox.is-open { display: flex; }

.lightbox__img {
    display: block;
    max-width: min(1100px, 100%);
    max-height: 90vh;
    width: auto;
    height: 520px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 40px 80px -40px rgba(0,0,0,0.9);
    cursor: default;
    animation: lightboxImgIn 0.26s ease both;
}

@keyframes lightboxImgIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

.lightbox__close {
    position: fixed;
    top: 18px; right: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: background 0.16s ease, transform 0.16s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,0.28); transform: scale(1.1); }

.lightbox__label {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #f4efe4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* =========================================================
   GRID SECTION — VIEWS 7 & 8
   Card size and image size match View 5 (ANOC section)
========================================================= */

/* Same two-column proportions as view 5 */
.grid-layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(300px, 1.1fr);
    gap: 48px;
    align-items: start;
    margin-top: 28px;
}

/* LEFT COLUMN: cards */
.grid-cards {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* Cards — identical padding, radius, shadow to view 5 anoc-step */
.grid-col-card {
    padding: 24px 28px;
    border-radius: 18px;
    background: #fff;
    border: none;
    box-shadow: 0 4px 24px -8px rgba(74, 59, 43, 0.13),
                0 1px 4px -1px rgba(74, 59, 43, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    min-width: 0;
    box-sizing: border-box;
}

.grid-col-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px -10px rgba(74, 59, 43, 0.18),
                0 2px 8px -2px rgba(74, 59, 43, 0.09);
}

.grid-col-card .card-label {
    display: block;
    margin-bottom: 6px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.grid-col-card h3 {
    margin: 0 0 6px;
    font-size: 19px;
    font-family: "Spectral", Georgia, serif;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}

.grid-col-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

.grid-note {
    min-width: 0;
    font-size: 13.5px;
    margin-top: 0;
}

/* RIGHT COLUMN: image — same wrap as view 5 anoc-image-wrap */
.grid-image-wrap {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    border: 2px solid #d4a017;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    background: #fff;
    align-self: start;
}

/* object-fit: cover, same as view 5 */
.grid-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top center;
}

/* Tablet */
@media (max-width: 960px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .grid-cards      { grid-column: 1; grid-row: 1; }
    .grid-image-wrap { grid-column: 1; grid-row: 2; }
}

/* FAQ - SAMPLE DOCUMENT LINKS
========================================================= */

.sample-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--paper);
    color: var(--brown-2);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.sample-doc-link:hover {
    border-color: var(--gold);
    background: #fff;
    transform: translateY(-1px);
}

.sample-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: #7a5f2f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sample-placeholder {
    padding: 8px 16px;
    border: 1px dashed var(--line-2);
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
}

.sample-placeholder em {
    font-style: normal;
    font-size: 12px;
    opacity: 0.7;
}

/* =========================================================
   ANOC SECTION — VIEW 5
========================================================= */

.anoc-lead {
    margin-bottom: 32px;
}

/* Two-column layout: wider steps left, image right */
.anoc-layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(300px, 1.1fr);
    gap: 48px;
    align-items: start;
}

/* LEFT: step cards stacked */
.anoc-steps-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Each card — white, rounded, soft shadow, no border */
.anoc-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    border-radius: 18px;
    background: #fff;
    border: none;
    box-shadow: 0 4px 24px -8px rgba(74, 59, 43, 0.13),
                0 1px 4px -1px rgba(74, 59, 43, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.anoc-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px -10px rgba(74, 59, 43, 0.18),
                0 2px 8px -2px rgba(74, 59, 43, 0.09);
    border-color: transparent;
}

/* Number badge — matches screenshot: square, warm beige, serif number */
.anoc-step__number {
    flex: none;
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--gold-soft);
    color: #8a6c3a;
    font-family: "Spectral", Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* Step text content */
.anoc-step div {
    flex: 1;
    min-width: 0;
}

.anoc-step h3 {
    margin: 0 0 6px;
    font-family: "Spectral", Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
}

.anoc-step p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--muted);
}

/* RIGHT: image */
.anoc-image-wrap {
    border: 2px solid #d4a017;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    background: #fff;
    align-self: start;
}

.anoc-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: unset;
}

@media (max-width: 960px) {
    .anoc-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* =========================================================
   BACK HOME BUTTON — fixed bottom-right
========================================================= */

.back-home {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    display: inline-flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brown);
    color: #f4efe4;
    font-family: "Public Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px -8px rgba(43, 38, 32, 0.55);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.back-home:hover {
    transform: translateY(-3px);
    background: var(--brown-2);
    box-shadow: 0 14px 32px -10px rgba(43, 38, 32, 0.65);
}

/* =========================================================
   VIEW 10 — GETTING STARTED (process list)
========================================================= */

.start-section {
    max-width: 860px;
}

.start-intro {
    margin-bottom: 40px;
}

.start-intro .lead {
    margin-bottom: 0;
    max-width: 680px;
}

/* ── Process list container ── */
.process-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(224, 215, 197, 0.9);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent),
        rgba(251, 248, 241, 0.72);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

/* ── Each step row ── */
.process-list li {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;
    align-items: start;
    padding: 28px 32px;
    border-bottom: 1px solid rgba(224, 215, 197, 0.8);
    transition: background 0.18s ease;
}

.process-list li:last-child {
    border-bottom: none;
}

.process-list li:hover {
    background: rgba(255, 255, 255, 0.55);
}

/* ── Connector line between steps ── */
.process-list li::before {
    content: "";
    position: absolute;
    left: 51px;
    top: 80px;
    bottom: -1px;
    width: 2px;
    background: linear-gradient(180deg,
        rgba(176, 141, 79, 0.45),
        rgba(176, 141, 79, 0.0));
}

.process-list li:last-child::before {
    display: none;
}

/* ── Step number badge ── */
.process-number {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(216, 205, 182, 0.85);
    border-radius: 14px;
    background: linear-gradient(145deg, #f6eddb, #eadcc0);
    color: var(--gold);
    font-family: "Spectral", Georgia, serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        0 4px 12px -6px rgba(43, 38, 32, 0.25);
    flex-shrink: 0;
}

/* ── Step text ── */
.process-list li > div {
    padding-top: 4px;
}

.process-list strong {
    display: block;
    font-family: "Spectral", Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 6px;
}

.process-list span:not(.process-number) {
    display: block;
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 640px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .process-list li {
        grid-template-columns: 52px 1fr;
        gap: 16px;
        padding: 22px 20px;
    }

    .process-number {
        width: 42px;
        height: 42px;
        font-size: 17px;
        border-radius: 12px;
    }

    .process-list li::before {
        left: 40px;
        top: 72px;
    }

    .process-list strong {
        font-size: 17px;
    }
}

/* =========================================================
   VIEW 11 — ARE YOU READY
========================================================= */

.ready-card {
    position: relative;
    overflow: hidden;
    padding: clamp(48px, 7vw, 80px) clamp(32px, 6vw, 72px);
    border-radius: 28px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 20% 10%, rgba(217, 184, 119, 0.22), transparent 22rem),
        linear-gradient(145deg, #3a2f22 0%, var(--brown) 52%, #6b563f 100%);
    box-shadow:
        0 32px 64px -32px rgba(43, 38, 32, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Decorative circle top-right */
.ready-card::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.07);
    top: -180px;
    right: -140px;
    pointer-events: none;
}

/* Decorative circle bottom-left */
.ready-card::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    bottom: -100px;
    left: -80px;
    pointer-events: none;
}

.ready-card .kicker {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--gold);
    letter-spacing: 0.22em;
}

.ready-card h2 {
    color: #f4efe4;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
    margin: 0 auto 18px;
    max-width: 640px;
}

.ready-card p {
    color: #d9cdb6;
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 34px;
}

/* Action buttons row */
.ready-card .hero__actions {
    justify-content: center;
    margin-bottom: 28px;
    gap: 14px;
}

.ready-card .button-light {
    background: #f4efe4;
    color: var(--brown);
    border: none;
    font-weight: 800;
}

.ready-card .button-light:hover {
    background: #fff;
    color: var(--ink);
}

.ready-card .button-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: #f4efe4;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}

.ready-card .button-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.16);
}

/* Email link below buttons */
.ready-card > a {
    display: inline-block;
    color: #c9b894;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.16s ease;
}

.ready-card > a:hover {
    color: #f4efe4;
}

@media (max-width: 640px) {
    .ready-card .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .ready-card .button-light,
    .ready-card .button-outline {
        width: 100%;
        max-width: 320px;
    }
}

/* =========================================================
   VIEW 12 — FAQ
========================================================= */

.narrow {
    max-width: 820px;
}

/* ── FAQ list container ── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

/* ── Each FAQ item (details/summary) ── */
.faq-item {
    background: #fff;
    border: 1px solid #e6ddcb;
    border-radius: 16px;
    box-shadow: 0 2px 12px -6px rgba(74, 59, 43, 0.09);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover,
.faq-item[open] {
    border-color: #c9b894;
    box-shadow: 0 6px 24px -8px rgba(74, 59, 43, 0.15);
}

/* ── Question (summary) ── */
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
    font-family: "Spectral", Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    user-select: none;
}

/* Hide default browser marker */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }

/* Plus/minus icon */
.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 22px;
    font-weight: 300;
    font-family: "Public Sans", Arial, sans-serif;
    line-height: 1;
    transition: transform 0.22s ease, background 0.2s ease;
}

.faq-item[open] summary::after {
    content: "−";
    transform: rotate(180deg);
    background: var(--gold);
    color: #fff;
}

/* ── Answer ── */
.faq-item p {
    margin: 0;
    padding: 0 26px 24px;
    font-size: 15.5px;
    line-height: 1.72;
    color: var(--muted);
    border-top: 1px solid #f0e8d8;
}

/* ── Divider between question and answer ── */
.faq-item[open] summary {
    padding-bottom: 18px;
    color: var(--brown);
}

/* ── Sample documents row ── */
.sample-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(243, 236, 220, 0.6);
    box-shadow: var(--shadow-soft);
}

.sample-row strong {
    color: var(--brown);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.sample-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    background: var(--paper);
    color: var(--brown-2);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.sample-doc-link:hover {
    border-color: var(--gold);
    background: #fff;
    transform: translateY(-1px);
}

.sample-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--gold-soft);
    color: #7a5f2f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.sample-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border: 1px dashed var(--line-2);
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
}

.sample-placeholder em {
    font-style: normal;
    font-size: 12px;
    opacity: 0.65;
}

@media (max-width: 640px) {
    .faq-item summary {
        padding: 18px 20px;
        font-size: 16px;
    }

    .faq-item p {
        padding: 0 20px 20px;
        font-size: 14.5px;
    }

    .sample-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* =========================================================
   VIEW 13 — CONTACT / MAILING LIST
========================================================= */

/* ── Two-column layout ── */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(340px, 1.25fr);
    gap: 40px;
    align-items: start;
}

.contact-layout .section-actions {
    grid-column: 1 / -1;
}

/* ── LEFT: contact info cards ── */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e6ddcb;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 2px 12px -6px rgba(74, 59, 43, 0.1);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    border-color: #c9b894;
    box-shadow: 0 8px 24px -8px rgba(74, 59, 43, 0.18);
}

.contact-card span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-card strong {
    display: block;
    font-family: "Spectral", Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}

/* ── RIGHT: form card ── */
.form-card {
    padding: 34px 36px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.12)),
        var(--paper);
    border: 1px solid #e6ddcb;
    border-radius: 20px;
    box-shadow: 0 4px 24px -8px rgba(74, 59, 43, 0.12);
}

/* ── Form layout ── */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

/* ── Labels & inputs ── */
label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7a6a52;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd4be;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font: 15px "Public Sans", Arial, sans-serif;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(176, 141, 79, 0.14);
}

textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

/* ── Honeypot (hidden spam field) ── */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* ── Submit button ── */
.lead-form .button-primary {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 12px;
    letter-spacing: 0.02em;
}

/* ── Privacy note ── */
.privacy-note {
    margin: 0;
    font-size: 12px;
    color: #9a8c74;
    text-align: center;
    line-height: 1.5;
}

/* ── Alert messages ── */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    margin-bottom: 20px;
}

.alert h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.alert p {
    margin: 0;
    font-size: 14px;
}

.alert-success {
    background: var(--success);
    color: var(--success-ink);
    border-color: rgba(63, 122, 63, 0.18);
}

.alert-error {
    background: var(--error);
    color: var(--error-ink);
    border-color: rgba(154, 74, 54, 0.18);
}

/* ── Inline form validation error ── */
.form-error-summary {
    padding: 12px 16px;
    border: 1px solid rgba(154, 74, 54, 0.2);
    border-radius: 10px;
    background: var(--error);
    color: var(--error-ink);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
}

.error-list {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--error-ink);
    font-size: 13.5px;
}

.error-list li + li {
    margin-top: 4px;
}

/* ── Responsive ── */
@media (max-width: 820px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 560px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-card {
        padding: 24px 20px;
    }
}

/* =========================================================
   SITE FOOTER
========================================================= */

/* =========================================================
   SITE FOOTER — matches screenshot exactly
========================================================= */

.site-footer {
    padding: 32px 0 28px;
    background:
        radial-gradient(circle at 14% 20%, rgba(176, 141, 79, 0.10), transparent 24rem),
        linear-gradient(180deg, #ede4d4 0%, #e0d4be 100%);
}

/* ── Main rounded panel ── */
.footer-panel {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 0;
    padding: 36px 40px;
    border: 1px solid rgba(210, 198, 178, 0.8);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.38), rgba(255,255,255,0.10)),
        rgba(251, 248, 241, 0.70);
    box-shadow: 0 2px 20px -8px rgba(74, 59, 43, 0.14);
    align-items: start;
}

/* ── BRAND column (left) ── */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-right: 40px;
    border-right: 1px solid rgba(210, 198, 178, 0.85);
}

.footer-brand .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    width: max-content;
}

.footer-brand p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #6b5e4a;
    max-width: 340px;
}

/* ── EXPLORE column (middle) ── */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0 32px;
    border-right: 1px solid rgba(210, 198, 178, 0.85);
}

.footer-links strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a08060;
    margin-bottom: 2px;
}

.footer-links a {
    font-size: 15px;
    font-weight: 700;
    color: var(--brown);
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

/* ── CONTACT column (right) ── */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 32px;
}

.footer-contact > strong {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #a08060;
    margin-bottom: 2px;
}

/* Phone & Email cards */
.footer-contact a:not(.footer-cta) {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(210, 198, 178, 0.8);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.footer-contact a:not(.footer-cta):hover {
    border-color: #c9b894;
    background: #fff;
}

.footer-contact span {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a08060;
}

/* Contact value (phone number / email) */
.footer-contact a:not(.footer-cta) strong {
    display: block;
    font-family: "Spectral", Georgia, serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
}

/* CTA button — dark pill */
.footer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 999px;
    background: linear-gradient(145deg, #3a2f22, var(--brown));
    color: #f4efe4 !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 18px -8px rgba(43, 38, 32, 0.5);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    margin-top: 4px;
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -8px rgba(43, 38, 32, 0.6);
}

/* ── Bottom bar — OUTSIDE the panel ── */
.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 0;
    border-top: none;
}

.site-footer small {
    font-size: 12.5px;
    color: #9a8c74;
    line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .footer-panel {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 28px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        border-right: none;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(210, 198, 178, 0.8);
    }

    .footer-links {
        padding: 0;
        border-right: none;
    }

    .footer-contact {
        padding-left: 0;
    }
}

@media (max-width: 560px) {
    .footer-panel {
        grid-template-columns: 1fr;
        gap: 24px;
        border-radius: 16px;
        padding: 24px 20px;
    }

    .footer-brand {
        border-bottom: 1px solid rgba(210, 198, 178, 0.8);
        padding-bottom: 20px;
    }

    .footer-links {
        border-bottom: 1px solid rgba(210, 198, 178, 0.8);
        padding-bottom: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-top: 16px;
    }
}

/* =========================================================
   ADMIN AREA
========================================================= */

.admin-page {
    min-height: 100vh;
    padding: 30px 20px;
}

.admin-page-login {
    display: grid;
    align-items: center;
}

.admin-page-dashboard {
    display: block;
}

.admin-shell {
    width: min(1320px, 100%);
    margin: 0 auto;
}

.admin-page-login .admin-shell {
    width: min(1220px, 100%);
}

.admin-login-layout {
    display: grid;
    grid-template-columns: minmax(360px, 1.05fr) minmax(360px, 0.95fr);
    gap: 24px;
    align-items: stretch;
}

.admin-page-login .admin-login-layout {
    align-items: stretch;
}

.admin-login-hero,
.admin-login-card,
.admin-panel,
.admin-table-wrap,
.admin-sidebar,
.admin-main {
    border: 1px solid #e2d8c6;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.12)),
        #fbf8f1;
    box-shadow: var(--shadow-soft);
}

.admin-login-hero {
    padding: clamp(30px, 4vw, 44px);
}

.admin-page-login .admin-login-hero,
.admin-page-login .admin-login-card {
    display: block;
}

.admin-page-login .admin-login-card {
    height: 100%;
}

.admin-login-kicker {
    display: inline-block;
    margin: 20px 0 8px;
    color: #8f7a5d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.admin-login-hero h1 {
    margin: 0;
    max-width: none;
    font-size: clamp(34px, 4vw, 46px);
}

.admin-login-hero p {
    margin: 14px 0 0;
    max-width: 620px;
}

.admin-login-points {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.admin-login-points > div {
    padding: 14px 16px;
    border: 1px solid #e5dccb;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.58);
}

.admin-login-points strong {
    display: block;
    margin-bottom: 4px;
    color: var(--brown);
    font-size: 15px;
}

.admin-login-points span {
    color: #645849;
    font-size: 14px;
    line-height: 1.55;
}

.admin-login-card {
    padding: clamp(26px, 3.4vw, 34px);
}

.admin-login-card__head span {
    color: #8f7a5d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.admin-login-card__head h2 {
    margin: 8px 0;
    font-size: clamp(30px, 3.4vw, 38px);
}

.admin-login-card__head p {
    margin: 0 0 16px;
}

.admin-login-form,
.admin-user-form {
    display: grid;
    gap: 12px;
}

.admin-login-note {
    margin: 14px 0 0;
    color: #8f7a5d;
    font-size: 13px;
}

.admin-dashboard {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 18px;
    padding: 20px;
}

.admin-sidebar-user {
    margin: 14px 0;
    color: #5d5347;
    font-size: 14px;
}

.admin-sidebar-user strong {
    color: var(--brown);
}

.admin-sidebar-nav {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.admin-sidebar-nav a {
    display: block;
    padding: 10px 12px;
    border: 1px solid #e0d6c4;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.66);
    color: #4e4336;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.16s ease, background 0.16s ease;
}

.admin-sidebar-nav a:hover {
    border-color: #c8b18b;
    background: #fff;
}

.admin-sidebar-actions {
    display: grid;
    gap: 10px;
}

.admin-sidebar .button {
    width: 100%;
}

.admin-main {
    padding: 20px;
}

.admin-dashboard-header {
    padding-bottom: 14px;
    border-bottom: 1px solid #e7ddcd;
    margin-bottom: 8px;
}

.admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.admin-header h1 {
    margin: 0;
    max-width: none;
    font-size: clamp(30px, 3vw, 40px);
}

.admin-dashboard-header p {
    margin: 10px 0 0;
    max-width: 900px;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.admin-stat {
    padding: 14px 16px;
    border: 1px solid #e2d8c6;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    min-width: 0;
}

.admin-stat span {
    display: block;
    color: #8f7a5d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-stat strong {
    display: block;
    margin: 6px 0 4px;
    color: #3d3125;
    font-family: "Spectral", Georgia, serif;
    font-size: 30px;
    line-height: 1;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-stat small {
    color: #6f6557;
    font-size: 13px;
}

.admin-control-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.admin-control-grid-full {
    grid-template-columns: minmax(0, 1fr);
}

.admin-panel {
    padding: 18px;
}

.admin-panel h2 {
    margin: 0 0 12px;
    font-size: 28px;
}

.admin-panel p {
    margin: 10px 0 14px;
}

.admin-rule-list {
    margin: 0;
    padding-left: 20px;
    color: #5f5548;
}

.admin-rule-list li + li {
    margin-top: 8px;
}

.admin-latest {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #eadfcf;
    border-radius: 10px;
    background: #fff;
    color: #4f4336;
    font-size: 14px;
}

.admin-table-wrap {
    margin-top: 14px;
    padding: 16px;
    overflow-x: auto;
}

.admin-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.admin-table-header h2 {
    margin: 0;
    font-size: 28px;
}

.admin-table-header p {
    margin: 6px 0 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid #e8dece;
    padding: 11px 10px;
    text-align: left;
    vertical-align: top;
    font-size: 14px;
}

.admin-table th {
    color: #6f604d;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.62);
}

.admin-status {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 800;
    text-transform: capitalize;
}

.admin-status-approved {
    color: #275a28;
    border-color: rgba(39, 90, 40, 0.2);
    background: rgba(66, 139, 67, 0.12);
}

.admin-status-pending {
    color: #7e5a0f;
    border-color: rgba(126, 90, 15, 0.2);
    background: rgba(220, 169, 55, 0.2);
}

.admin-status-rejected,
.admin-status-disabled {
    color: #8a2f25;
    border-color: rgba(138, 47, 37, 0.2);
    background: rgba(189, 78, 62, 0.14);
}

.admin-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.admin-row-actions form {
    margin: 0;
}

.admin-row-actions button {
    border: 1px solid #d8c8ad;
    border-radius: 999px;
    padding: 6px 11px;
    background: #fff;
    color: #584a39;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.admin-row-actions button:hover {
    border-color: #c39f66;
    background: #fefbf5;
}

@media (max-width: 1100px) {
    .admin-dashboard {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }

    .admin-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .admin-login-layout,
    .admin-control-grid {
        grid-template-columns: 1fr;
    }

    .admin-page-login .admin-login-layout {
        align-items: stretch;
    }

    .admin-page-login .admin-login-hero,
    .admin-page-login .admin-login-card {
        display: block;
    }
}

@media (max-width: 640px) {
    .admin-page {
        padding: 16px 10px;
    }

    .admin-main,
    .admin-sidebar,
    .admin-panel,
    .admin-table-wrap {
        padding: 14px;
    }

    .admin-header h1 {
        font-size: 28px;
    }

    .admin-table {
        min-width: 0;
    }

    .admin-table th,
    .admin-table td {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   GLOBAL RESPONSIVE HARDENING
========================================================= */

@media (max-width: 1024px) {
    .container {
        width: min(1180px, calc(100% - 32px));
    }

    .section {
        padding-block: 54px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .summary-panel .summary-grid {
        grid-template-columns: 1fr;
    }

    .mission-content,
    .two-column,
    .service-layout,
    .contact-layout,
    .grid-layout,
    .anoc-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }

    .topic-nav {
        top: 66px;
        padding: 10px 16px;
    }

    .topic-nav__title strong {
        font-size: 16px;
    }

    .section-actions {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .section-actions .button {
        width: auto;
        max-width: none;
        min-height: 42px;
        padding: 10px 14px;
        font-size: clamp(13px, 1.6vw, 15px);
        flex: 1 1 clamp(140px, 44vw, 320px);
    }
}

@media (max-width: 768px) {
    .container {
        width: min(1180px, calc(100% - 24px));
    }

    .hero {
        padding: 66px 0 52px;
    }

    .section {
        padding-block: 44px;
    }

    .topic-nav {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 10px;
        top: 64px;
    }

    .topic-nav__title {
        order: 3;
        width: 100%;
        text-align: left;
    }

    .topic-nav__actions {
        width: 100%;
        justify-content: stretch;
    }

    .topic-nav__actions .pill {
        flex: 1 1 160px;
    }

    .hero__actions {
        width: 100%;
    }

    .hero__actions .button {
        width: 100%;
        max-width: 100%;
    }

    .section-actions {
        flex-wrap: nowrap;
    }

    .section-actions .button {
        flex: 1 1 0;
        max-width: none;
        min-width: 0;
        min-height: 42px;
        padding: 10px 10px;
        font-size: clamp(12px, 2.6vw, 14px);
    }

    .models-copy .tab-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 6px;
    }

    .models-copy .tab-button {
        min-height: 42px;
        padding: 8px 6px;
        font-size: 13px;
    }

    .tab-panel {
        padding: 22px 18px;
    }

    .anoc-step,
    .grid-col-card,
    .card,
    .form-card {
        padding: 20px;
    }

    .footer-brand .brand {
        width: 100%;
        max-width: 100%;
    }

    .footer-brand p {
        max-width: none;
    }

    .admin-header,
    .admin-table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-header-actions {
        width: 100%;
    }

    .admin-header-actions .button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .welcome-popup {
        padding: 14px;
    }

    .welcome-popup__card {
        border-radius: 16px;
        padding: 22px 18px;
    }

    .hero::before,
    .hero::after,
    .ready-card::before,
    .ready-card::after {
        display: none;
    }

    .topic-card {
        min-height: auto;
        padding: 18px;
    }

    .sample-doc-link,
    .sample-placeholder {
        width: 100%;
        justify-content: center;
    }

    .back-home {
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
        font-size: 12px;
    }

    .lightbox {
        padding: 14px;
    }

    .lightbox__img {
        height: auto;
        max-height: 82vh;
    }

    .lightbox__label {
        max-width: calc(100% - 24px);
        text-align: center;
        white-space: normal;
    }

    .section-actions .button,
    .topic-nav__actions .pill {
        min-height: 40px;
        padding: 9px 8px;
        font-size: clamp(12px, 3.4vw, 13px);
    }
}

@media (max-width: 360px) {
    .models-copy .tab-list {
        gap: 5px;
        padding: 5px;
    }

    .models-copy .tab-button {
        min-height: 40px;
        padding: 7px 4px;
        font-size: 12px;
    }

    .topic-nav__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
    }

    .topic-nav__actions .pill {
        width: 100%;
        min-width: 0;
        min-height: 40px;
        padding: 9px 8px;
        font-size: 13px;
        flex: initial;
    }

    .section-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        align-items: stretch;
    }

    .section-actions .button {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 40px;
        padding: 9px 8px;
        font-size: 12px;
        line-height: 1.2;
        text-align: center;
    }
}