: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;
}

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;
}

.pill,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 999px;
    font-family: "Public Sans", Arial, sans-serif;
    font-weight: 700;
    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 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.topic-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);
}

.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;
}

.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;
}

.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;
}

.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);
}

.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;
}

.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;
}

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

.anoc-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.anoc-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 24px;
    border: 1px solid #e6ddcb;
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent),
        var(--paper);
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.anoc-step__number {
    flex: none;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--gold-soft);
    color: #7a5f2f;
    font-family: "Spectral", Georgia, serif;
    font-size: 16px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.anoc-step h3 {
    margin: 0;
    font-size: 18px;
}

.anoc-step p {
    margin: 3px 0 0;
    font-size: 15px;
    line-height: 1.5;
}

.steps,
.timeline {
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.steps li,
.timeline li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    counter-increment: item;
}

.steps li::before,
.timeline li::before {
    content: counter(item, decimal-leading-zero);
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--gold-soft);
    color: #7a5f2f;
    font-family: "Spectral", Georgia, serif;
    font-weight: 800;
}

.steps strong,
.timeline strong {
    display: block;
    font-family: "Spectral", Georgia, serif;
    font-size: 20px;
}

.steps span,
.timeline span {
    color: var(--muted);
    line-height: 1.55;
}

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

.start-intro .lead {
    margin-bottom: 34px;
}

.process-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 28px;
    list-style: none;
    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);
}

.process-list li {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    align-items: start;
    padding: 24px 0;
    border-bottom: 1px solid rgba(224, 215, 197, 0.9);
}

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

.process-list li::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 62px;
    bottom: -18px;
    width: 1px;
    background: linear-gradient(180deg, rgba(176, 141, 79, 0.55), rgba(176, 141, 79, 0));
}

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

.process-number {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: 64px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 205, 182, 0.92);
    border-radius: 14px;
    background: linear-gradient(145deg, #f6eddb, #eadcc0);
    color: var(--gold);
    font-family: "Spectral", Georgia, serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 12px 24px -22px rgba(43, 38, 32, 0.7);
}

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

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

.service-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 34px;
    align-items: center;
}

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

.time-card {
    padding: 46px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
}

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

.time-card span {
    display: block;
    margin-top: 8px;
    color: #d9b877;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.time-card em {
    display: block;
    margin-top: 12px;
    color: #e4d9c4;
    font-style: normal;
}

.ready-card {
    padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
    border-radius: 26px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ready-card p {
    max-width: 620px;
    margin-inline: auto;
}

.ready-card .hero__actions {
    margin-bottom: 22px;
}

.ready-card .button-light {
    color: #3a2f22;
}

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

.narrow {
    max-width: 880px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
}

.faq-item {
    padding: 0;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-item summary {
    cursor: pointer;
    padding: 20px 24px;
    font-family: "Spectral", Georgia, serif;
    font-size: 19px;
    font-weight: 700;
}

.faq-item[open],
.faq-item:hover {
    border-color: #c9b894;
    box-shadow: var(--shadow-soft);
}

.faq-item p {
    margin: 0;
    padding: 0 24px 22px;
}

.topic-nav__spacer {
    width: 118px;
}

.disclosure-content h1 {
    max-width: 720px;
    margin: 10px 0 28px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.1;
}

.disclosure-content {
    background: rgba(251, 248, 241, 0.58);
    border: 1px solid rgba(224, 215, 197, 0.72);
    border-radius: var(--radius-lg);
    margin-block: 44px 70px;
    padding: 48px;
    box-shadow: var(--shadow-soft);
}

.disclosure-content article {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.disclosure-content article:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.disclosure-content h2 {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 22px;
}

.disclosure-content p {
    margin: 0 0 14px;
    color: #4f4639;
    font-size: 15.5px;
    line-height: 1.75;
}

.disclosure-content p:last-child {
    margin-bottom: 0;
}

.disclosure-content strong {
    color: var(--ink);
    letter-spacing: 0.02em;
}

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

.sample-row a {
    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;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
    gap: 40px;
    align-items: start;
}

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

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: block;
    padding: 18px 20px;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.contact-card span {
    color: #a89177;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-card strong {
    display: block;
    margin-top: 4px;
    font-family: "Spectral", Georgia, serif;
    font-size: 19px;
}

.form-card {
    padding: 32px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent),
        var(--paper);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #6b6254;
    font-size: 13px;
    font-weight: 700;
}

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

input:focus,
textarea:focus {
    border-color: #bda46f;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(176, 141, 79, 0.12);
    outline: 0;
}

textarea {
    resize: vertical;
}

.hp-field {
    position: absolute;
    left: -9999px;
}

.privacy-note {
    margin: 0;
    color: #9a8c74;
    font-size: 12px;
    text-align: center;
}

.alert {
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid transparent;
}

.alert h3 {
    margin-bottom: 4px;
}

.alert p {
    margin: 0;
}

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

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

.form-error-summary {
    padding: 12px 14px;
    border: 1px solid rgba(154, 74, 54, 0.18);
    border-radius: 12px;
    background: var(--error);
    color: var(--error-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.error-list {
    margin: 8px 0 0;
    padding-left: 20px;
    color: var(--error-ink);
}

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

.site-footer {
    border-top: 1px solid var(--line);
    background:
        radial-gradient(circle at 14% 20%, rgba(176, 141, 79, 0.14), transparent 22rem),
        linear-gradient(180deg, rgba(251, 248, 241, 0.58), transparent),
        #ded2bc;
    padding: 56px 0 34px;
}

.footer-panel {
    display: grid;
    grid-template-columns: minmax(280px, 1.35fr) minmax(190px, 0.8fr) minmax(260px, 0.95fr);
    gap: 28px;
    align-items: stretch;
    padding: 32px;
    border: 1px solid rgba(216, 205, 182, 0.82);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08)),
        rgba(251, 248, 241, 0.54);
    box-shadow: var(--shadow-soft);
}

.footer-brand,
.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand {
    padding-right: 18px;
}

.footer-brand .brand {
    width: max-content;
}

.footer-brand p {
    max-width: 430px;
    margin: 4px 0 0;
    color: #5f5547;
    font-size: 15px;
}

.footer-links,
.footer-contact {
    padding: 4px 0 4px 28px;
    border-left: 1px solid rgba(216, 205, 182, 0.9);
}

.footer-links strong,
.footer-contact > strong {
    color: #8b7555;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer a {
    color: var(--brown);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.16s ease, transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.footer-links a {
    position: relative;
    width: max-content;
    max-width: 100%;
    color: #3f372d;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--gold);
    transform: translateX(2px);
}

.footer-contact a:not(.footer-cta) {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 1px solid rgba(216, 205, 182, 0.9);
    border-radius: 14px;
    background: rgba(251, 248, 241, 0.66);
}

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

.footer-contact span {
    color: #9a8566;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 4px;
    padding: 12px 16px;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--brown), #5d4935);
    color: #f4efe4 !important;
    box-shadow: 0 14px 28px -24px rgba(43, 38, 32, 0.9);
}

.footer-cta:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
    padding-top: 22px;
    border-top: 1px solid rgba(216, 205, 182, 0.9);
}

.site-footer small {
    color: #8a7c66;
    font-size: 12px;
}

.back-home {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 80;
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(145deg, var(--brown), #5d4935);
    color: var(--paper);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.back-home:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

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

.admin-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 34px;
    border: 1px solid rgba(216, 205, 182, 0.86);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent),
        rgba(251, 248, 241, 0.78);
    box-shadow: var(--shadow-strong);
}

.admin-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(216, 205, 182, 0.9);
}

.admin-header h1 {
    margin: 24px 0 8px;
    font-size: clamp(30px, 4vw, 46px);
}

.admin-header p {
    margin: 0;
}

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

.admin-stat,
.admin-empty {
    padding: 22px 24px;
    border: 1px solid #e6ddcb;
    border-radius: var(--radius-md);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent),
        var(--paper);
    box-shadow: var(--shadow-soft);
}

.admin-stat span {
    display: block;
    color: #a89177;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-stat strong {
    display: block;
    margin-top: 4px;
    font-family: "Spectral", Georgia, serif;
    font-size: clamp(22px, 2.5vw, 34px);
    line-height: 1.05;
    word-break: break-word;
}

.admin-stat small {
    display: block;
    margin-top: 8px;
    color: #8a7c66;
    font-size: 12px;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid #e6ddcb;
    border-radius: var(--radius-md);
    background: var(--paper);
    box-shadow: var(--shadow-soft);
}

.admin-table-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid #eee5d4;
    background: rgba(243, 236, 220, 0.58);
}

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

.admin-table-header p {
    margin: 0;
    font-size: 14px;
}

.admin-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #eee5d4;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    background: rgba(251, 248, 241, 0.92);
    color: #8b7555;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-table td {
    color: #4f4639;
}

.admin-table tr:last-child td {
    border-bottom: 0;
}

.admin-table tbody tr:hover td {
    background: rgba(243, 236, 220, 0.36);
}

@media (max-width: 820px) {
    .site-header {
        align-items: flex-start;
        padding: 14px 18px;
    }

    .brand__tag {
        display: none;
    }

    .site-header__nav {
        justify-content: flex-end;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        padding-top: 54px;
    }

    .cta-band,
    .topic-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .topic-nav {
        position: static;
    }

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

    .two-column,
    .service-layout,
    .contact-layout,
    .footer-panel {
        grid-template-columns: 1fr;
    }

    .footer-links,
    .footer-contact {
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid rgba(216, 205, 182, 0.9);
        padding-top: 22px;
    }

    .admin-header {
        flex-direction: column;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .disclosure-content {
        margin-block: 24px 44px;
        padding: 30px 22px;
    }

    .process-list {
        padding-inline: 20px;
    }
}

@media (max-width: 560px) {
    .site-header {
        flex-direction: column;
    }

    .site-header__nav,
    .hero__actions,
    .section-actions {
        width: 100%;
    }

    .pill,
    .button {
        width: 100%;
    }

    .topic-card,
    .card,
    .form-card {
        padding: 20px;
    }

    .section {
        padding-block: 42px;
    }

    .hero {
        padding-top: 58px;
    }

    .topic-grid,
    .mini-grid,
    .compare-grid,
    .split-cards {
        grid-template-columns: 1fr;
    }

    .process-list {
        padding: 4px 18px;
    }

    .admin-shell {
        padding: 22px;
    }

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

    .process-list li {
        grid-template-columns: 52px 1fr;
        gap: 14px;
        padding: 20px 0;
    }

    .process-list li::before {
        left: 25px;
        top: 56px;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
