:root {
    --black: #090909;
    --ink: #121212;
    --wine: #4d1016;
    --gold: #c8a25a;
    --gold-soft: #ead7a7;
    --ivory: #f4efe6;
    --white: #ffffff;
    --muted: #c9c1b4;
    --line: rgba(255, 255, 255, 0.14);
    --dark-line: rgba(18, 18, 18, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.hero {
    position: relative;
    min-height: 92vh;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.42)),
        url("assets/images/hero-wine.png") center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 35%, rgba(200, 162, 90, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.65));
}

.topbar,
.hero-content {
    position: relative;
    z-index: 1;
}

.topbar {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: clamp(88px, 10vw, 126px);
}

.brand img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.topbar-cta,
.ghost-button,
.primary-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0 24px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.topbar-cta,
.primary-button {
    background: var(--gold);
    color: #16110a;
    border: 1px solid var(--gold);
}

.ghost-button {
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(0, 0, 0, 0.18);
}

.topbar-cta:hover,
.primary-button:hover,
.ghost-button:hover {
    transform: translateY(-2px);
}

.hero-content {
    min-height: calc(92vh - 92px);
    display: grid;
    align-content: center;
    max-width: 760px;
    padding: 32px 0 76px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--gold-soft);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 6vw, 78px);
    line-height: 0.98;
    font-weight: 500;
}

h2 {
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.03;
    font-weight: 500;
}

h3 {
    margin-bottom: 12px;
    font-size: 22px;
    line-height: 1.15;
}

.hero-copy,
.section-copy {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 18px 0 34px;
}

.hero-points,
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-points li {
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 16px;
    border-radius: 999px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.92);
}

.section {
    padding: 96px 0;
}

.tone-dark {
    background: #0e0e0e;
}

.tone-ivory {
    background: var(--ivory);
    color: var(--ink);
}

.section-heading {
    margin-bottom: 36px;
}

.dark-copy .eyebrow {
    color: #805f24;
}

.step-grid,
.benefit-grid {
    display: grid;
    gap: 20px;
}

.step-grid {
    grid-template-columns: repeat(3, 1fr);
}

.step-card,
.benefit-card,
.lead-form {
    border-radius: 8px;
}

.step-card {
    min-height: 248px;
    padding: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.03);
}

.step-card span {
    display: inline-block;
    margin-bottom: 32px;
    color: var(--gold);
    font-size: 15px;
    font-weight: 700;
}

.step-card p,
.benefit-card p {
    margin-bottom: 0;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.76);
}

.split-layout,
.form-layout,
.footer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.split-section {
    background: linear-gradient(135deg, #101010, #1a1213);
}

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

.check-list li {
    position: relative;
    padding-left: 28px;
    line-height: 1.45;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold-soft);
}

.feature-media {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.feature-media img,
.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.benefit-grid {
    grid-template-columns: repeat(5, 1fr);
}

.benefit-card {
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--dark-line);
    background: rgba(255, 255, 255, 0.52);
}

.benefit-card p {
    color: rgba(18, 18, 18, 0.74);
}

.form-section {
    background: #111111;
}

.form-layout {
    align-items: start;
}

.compact {
    margin-top: 34px;
}

.lead-form {
    padding: 30px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
}

fieldset {
    margin: 0 0 28px;
    padding: 0;
    border: 0;
}

legend {
    margin-bottom: 20px;
    color: var(--gold-soft);
    font-size: 18px;
    font-weight: 700;
}

.field-grid,
.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

label,
.question-block p {
    display: grid;
    gap: 10px;
    font-size: 15px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 15px 16px;
    font: inherit;
}

select option {
    color: #111111;
}

textarea {
    resize: vertical;
    min-height: 132px;
}

.question-block {
    margin-bottom: 24px;
}

.choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.choice-row label,
.choice-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
}

.choice-row input,
.choice-grid input {
    width: auto;
    margin: 0;
}

.textarea-field {
    display: grid;
}

.submit-button {
    width: 100%;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-alert {
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 6px;
    background: rgba(157, 48, 48, 0.2);
    border: 1px solid rgba(255, 160, 160, 0.35);
}

.social-proof {
    background: linear-gradient(180deg, #171112, #090909);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.95fr 0.95fr;
    gap: 20px;
}

.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.gallery-grid figure:first-child img {
    aspect-ratio: 4 / 5;
}

.footer {
    border-top: 1px solid var(--line);
    background: #080808;
    padding: 38px 0 48px;
}

.footer-layout {
    align-items: end;
}

.footer p {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    flex-wrap: wrap;
}

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

.thank-you-page {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.55)),
        url("assets/images/hero-wine.png") center center / cover no-repeat;
}

.thank-you-shell {
    width: min(1180px, calc(100% - 48px));
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    align-items: center;
}

.thank-you-panel {
    width: min(760px, 100%);
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(8px);
}

.thank-you-panel .brand {
    margin-bottom: 28px;
}

.thank-you-panel h1 {
    margin-bottom: 18px;
}

.thank-you-panel p {
    max-width: 580px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 20px;
    line-height: 1.6;
}

@media (max-width: 1080px) {
    .step-grid,
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-layout,
    .form-layout,
    .footer-layout {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .shell,
    .topbar {
        width: min(100% - 28px, 1180px);
    }

    .topbar {
        min-height: 82px;
    }

    .topbar-cta {
        min-height: 48px;
        padding: 0 16px;
        font-size: 12px;
    }

    .brand {
        width: 92px;
    }

    .hero {
        min-height: auto;
        background-position: 62% center;
    }

    .hero-content {
        min-height: calc(100svh - 82px);
        padding-bottom: 48px;
    }

    .hero-copy,
    .section-copy {
        font-size: 18px;
    }

    .hero-actions,
    .choice-row {
        flex-direction: column;
    }

    .primary-button,
    .ghost-button,
    .topbar-cta {
        width: 100%;
    }

    .topbar-cta {
        width: auto;
    }

    .section {
        padding: 72px 0;
    }

    .step-grid,
    .benefit-grid,
    .field-grid,
    .choice-grid,
    .gallery-grid,
    .check-list {
        grid-template-columns: 1fr;
    }

    .lead-form {
        padding: 22px;
    }

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

    .thank-you-panel {
        padding: 28px;
    }
}
