:root {
    --ink: #191714;
    --muted: #706b63;
    --line: #ece7df;
    --soft: #f8f5ef;
    --gold: #b18a45;
    --white: #ffffff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
}

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

.topbar {
    align-items: center;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 18px;
    grid-template-columns: 180px minmax(0, 1fr) 180px;
    padding: 12px clamp(20px, 4vw, 52px);
    position: sticky;
    top: 0;
    z-index: 20;
}

.brand {
    align-items: center;
    display: flex;
    gap: 12px;
}

.brand-logo {
    display: block;
    height: 40px;
    max-width: 150px;
    object-fit: contain;
    width: auto;
}

.desktop-brand-logo {
    display: block;
}

.mobile-brand-logo {
    display: none;
}

.brand-mark {
    align-items: center;
    background: var(--ink);
    border-radius: 50%;
    color: var(--white);
    display: inline-flex;
    font-family: Georgia, serif;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.brand small,
.eyebrow,
.product-body small {
    color: var(--gold);
    display: block;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.nav a {
    color: var(--muted);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    padding: 10px 13px;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease;
}

.nav a:hover {
    background: var(--soft);
    color: var(--ink);
}

.nav-cta {
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    justify-self: end;
    letter-spacing: .04em;
    white-space: nowrap;
}

.menu-toggle {
    align-items: center;
    background: var(--ink);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 4px;
    height: 44px;
    justify-content: center;
    padding: 0;
    width: 44px;
}

.menu-toggle span {
    background: var(--white);
    border-radius: 999px;
    display: block;
    height: 2px;
    transition: transform .2s ease, opacity .2s ease;
    width: 18px;
}

.mobile-menu {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(25, 23, 20, .12);
    display: none;
    gap: 4px;
    padding: 12px;
    position: absolute;
    right: clamp(20px, 5vw, 72px);
    top: calc(100% + 10px);
    width: min(280px, calc(100vw - 40px));
}

.mobile-menu a {
    border-radius: 14px;
    color: var(--ink);
    display: block;
    padding: 14px 16px;
}

.mobile-menu a:hover {
    background: var(--soft);
}

@media (min-width: 921px) {
    .menu-toggle,
    .mobile-menu {
        display: none !important;
    }

    .nav {
        display: flex !important;
    }

    .desktop-brand-logo {
        display: block !important;
    }

    .mobile-brand-logo {
        display: none !important;
    }
}

.hero,
.product-detail {
    align-items: center;
    display: grid;
    gap: clamp(30px, 4vw, 54px);
    grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
    padding: clamp(34px, 5vw, 62px) clamp(20px, 5vw, 72px) clamp(42px, 6vw, 76px);
}

.hero {
    min-height: auto;
    position: relative;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.split-section h2,
.product-panel h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 82px);
    font-weight: 400;
    line-height: .96;
    margin: 12px 0 20px;
}

.hero p,
.page-hero p,
.split-section p,
.summary {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.actions.stacked {
    flex-direction: column;
}

.button {
    border: 1px solid var(--ink);
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    padding: 14px 22px;
}

.button.primary {
    background: var(--ink);
    color: var(--white);
}

.button.ghost {
    background: var(--white);
}

.button:disabled {
    cursor: not-allowed;
    opacity: .45;
}

.button.whatsapp {
    background: #1f9d55;
    border-color: #1f9d55;
    color: var(--white);
}

.hero-card,
.gallery-image,
.content-image {
    background: var(--soft);
    border-radius: 28px;
    overflow: hidden;
}

.hero-card {
    aspect-ratio: 4 / 3;
    justify-self: stretch;
    max-height: min(68vh, 620px);
    position: relative;
    width: 100%;
}

.hero-slider {
    height: 100%;
    position: relative;
    width: 100%;
}

.hero-image,
.split-image,
.gallery-image,
.content-image {
    aspect-ratio: 4 / 5;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.hero-image {
    aspect-ratio: auto;
}

.hero-slide {
    animation: heroSlide calc(var(--slide-count) * 3s) infinite ease-in-out;
    inset: 0;
    opacity: 0;
    position: absolute;
    animation-delay: calc(var(--slide-index) * 3s);
}

.hero-slide:first-child {
    opacity: 1;
}

@keyframes heroSlide {
    0% {
        opacity: 0;
        transform: scale(1.015);
    }

    8%,
    33% {
        opacity: 1;
        transform: scale(1);
    }

    41%,
    100% {
        opacity: 0;
        transform: scale(1.015);
    }
}

@media (min-width: 1px) {
    .hero-slider .hero-slide:nth-child(1) {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        animation: none;
        opacity: 0;
    }

    .hero-slide:first-child {
        opacity: 1;
    }
}

.scroll-down {
    align-items: center;
    background: rgba(255, 255, 255, .82);
    border: 1px solid var(--line);
    border-radius: 999px;
    bottom: 18px;
    box-shadow: 0 14px 40px rgba(25, 23, 20, .08);
    color: var(--muted);
    display: inline-flex;
    font-size: 10px;
    font-weight: 700;
    gap: 8px;
    left: 50%;
    letter-spacing: .16em;
    padding: 9px 12px 9px 16px;
    position: absolute;
    text-transform: uppercase;
    transform: translateX(-50%);
    transition: color .2s ease, transform .2s ease, border-color .2s ease;
}

.scroll-down svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 18px;
}

.scroll-down:hover {
    border-color: var(--gold);
    color: var(--ink);
    transform: translateX(-50%) translateY(2px);
}

.section,
.split-section,
.catalogue,
.content-page {
    padding: clamp(46px, 7vw, 88px) clamp(20px, 5vw, 72px);
}

.section.soft {
    background: var(--soft);
}

.section-heading {
    margin-bottom: 28px;
    max-width: 760px;
}

.section-heading h2,
.split-section h2,
.product-panel h1,
.page-hero h1 {
    font-size: clamp(34px, 4vw, 56px);
}

.category-grid,
.product-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    display: block;
    overflow: hidden;
}

.product-body {
    padding: 16px;
    text-align: center;
}

.product-body small {
    margin: 0 0 8px;
}

.category-card span,
.product-body h3 {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 400;
    margin: 16px 16px 6px;
}

.product-body h3 {
    margin: 0 0 8px;
}

.category-card small,
.product-body p {
    color: var(--muted);
    display: block;
    line-height: 1.5;
    margin: 0 16px 18px;
}

.product-body p {
    margin: 0;
}

.card-image,
.product-image {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.image-placeholder {
    align-items: center;
    background: linear-gradient(135deg, #f9f7f2, #eee6d8);
    color: var(--gold);
    display: flex;
    justify-content: center;
    min-height: 240px;
    padding: 24px;
    text-align: center;
}

.split-section {
    align-items: center;
    display: grid;
    gap: 42px;
    grid-template-columns: 1fr 1fr;
}

.page-hero {
    background: var(--soft);
    padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px);
    text-align: center;
}

.catalogue {
    display: grid;
    gap: 32px;
    grid-template-columns: 240px 1fr;
}

.filters {
    align-self: start;
    border: 1px solid var(--line);
    border-radius: 22px;
    display: grid;
    gap: 12px;
    padding: 22px;
    position: sticky;
    top: 96px;
}

.filters a {
    color: var(--muted);
}

.gallery {
    display: grid;
    gap: 16px;
}

.product-panel {
    align-self: start;
    position: sticky;
    top: 110px;
}

.back-link {
    color: var(--gold);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.specs {
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    margin: 28px 0;
}

.specs div {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
}

.specs dt {
    color: var(--muted);
}

.rich-text {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 28px;
}

.content-page {
    margin: 0 auto;
    max-width: 900px;
}

.custom-hero {
    align-items: stretch;
    display: grid;
    gap: clamp(28px, 4vw, 56px);
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(34px, 5vw, 64px);
}

.custom-hero h1,
.thank-you-panel h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 6vw, 84px);
    font-weight: 400;
    line-height: .96;
    margin: 12px 0 22px;
}

.custom-hero p,
.thank-you-panel p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
    max-width: 720px;
}

.custom-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.custom-hero-badges span,
.wizard-kicker {
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--gold);
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    padding: 9px 12px;
    text-transform: uppercase;
}

.custom-hero-card {
    background:
        radial-gradient(circle at top right, rgba(177, 138, 69, .18), transparent 32%),
        linear-gradient(135deg, #1f1b17, #3d3429);
    border-radius: 34px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 360px;
    padding: clamp(28px, 4vw, 44px);
}

.custom-hero-card span {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .18em;
}

.custom-hero-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1;
    margin: 18px 0;
}

.custom-hero-card p {
    color: #e2d9cf;
}

.custom-wizard-shell {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: 300px minmax(0, 1fr);
    padding: 0 clamp(20px, 5vw, 72px) clamp(60px, 8vw, 110px);
}

.wizard-progress {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 26px;
    position: sticky;
    top: 96px;
}

.wizard-progress h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
    margin: 18px 0;
}

.wizard-progress ol {
    counter-reset: wizard;
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.wizard-progress li {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-weight: 700;
    gap: 10px;
}

.wizard-progress li::before {
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 50%;
    content: counter(wizard);
    counter-increment: wizard;
    display: inline-flex;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.wizard-progress li.is-active,
.wizard-progress li.is-complete {
    color: var(--ink);
}

.wizard-progress li.is-active::before,
.wizard-progress li.is-complete::before {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}

.wizard-progress p {
    color: var(--muted);
    line-height: 1.6;
}

.custom-wizard {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 34px;
    box-shadow: 0 24px 70px rgba(25, 23, 20, .07);
    padding: clamp(24px, 4vw, 42px);
}

.wizard-step {
    display: none;
}

.wizard-step.is-active {
    display: block;
}

.wizard-step h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.05;
    margin: 10px 0 24px;
}

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

.choice-card {
    background: linear-gradient(180deg, #fff, #fbf8f2);
    border: 1px solid var(--line);
    border-radius: 24px;
    cursor: pointer;
    display: grid;
    gap: 10px;
    min-height: 170px;
    padding: 20px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.choice-card input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.choice-card span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.choice-card strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
}

.choice-card small {
    color: var(--muted);
    line-height: 1.5;
}

.choice-card-image {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    object-fit: cover;
    width: 100%;
}

.choice-card:hover,
.choice-card.is-selected,
.choice-card:has(input:checked) {
    border-color: var(--gold);
    box-shadow: 0 18px 45px rgba(177, 138, 69, .16);
    transform: translateY(-2px);
}

.visual-choice {
    min-height: 150px;
}

.form-grid label,
.full-field {
    display: grid;
    gap: 8px;
}

.form-grid label span,
.full-field span,
.consent-field span {
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.custom-wizard input,
.custom-wizard select,
.custom-wizard textarea {
    background: #fffdf9;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--ink);
    font: inherit;
    padding: 14px 15px;
    width: 100%;
}

.custom-wizard textarea {
    resize: vertical;
}

.full-field {
    margin-bottom: 18px;
}

.full-field small,
.field-error {
    color: #a05b21;
    font-size: 13px;
}

.field-error:empty {
    display: none;
}

.consent-field {
    align-items: start;
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.consent-field input {
    margin-top: 3px;
    width: auto;
}

.wizard-actions {
    border-top: 1px solid var(--line);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 22px;
}

.wizard-actions--top {
    border-bottom: 1px solid var(--line);
    border-top: 0;
    margin: 0 0 28px;
    padding: 0 0 20px;
}

.form-alert {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 18px;
    color: #9a3412;
    margin-bottom: 24px;
    padding: 16px 18px;
}

.form-alert p {
    margin: 4px 0 0;
}

.thank-you-panel {
    margin: 0 auto;
    max-width: 820px;
    padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
    text-align: center;
}

.reference-card {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 28px;
    margin: 34px auto;
    max-width: 520px;
    padding: 28px;
}

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

.reference-card strong {
    display: block;
    font-size: clamp(28px, 4vw, 42px);
    margin: 10px 0;
}

.footer {
    background: var(--ink);
    color: var(--white);
    display: grid;
    gap: 26px;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    padding: 48px clamp(20px, 5vw, 72px);
}

.footer p,
.footer a {
    color: #d7d0c6;
}

.footer-logo {
    display: block;
    height: 54px;
    margin-bottom: 14px;
    max-width: 210px;
    object-fit: contain;
    width: auto;
}

.pagination {
    margin-top: 32px;
}

@media (max-width: 920px) {
    .nav,
    .nav-cta {
        display: none !important;
    }

    .topbar {
        display: flex;
        justify-content: space-between;
        padding: 14px clamp(20px, 5vw, 72px);
        position: sticky;
    }

    .menu-toggle {
        display: inline-flex !important;
    }

    .desktop-brand-logo {
        display: none !important;
    }

    .mobile-brand-logo {
        display: block !important;
        height: 42px;
        max-width: 210px;
    }

    .menu-open .mobile-menu {
        display: grid;
    }

    .menu-open .menu-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .menu-open .menu-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .hero,
    .product-detail,
    .split-section,
    .catalogue,
    .custom-hero,
    .custom-wizard-shell,
    .footer {
        grid-template-columns: 1fr;
    }

    .hero-card {
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .scroll-down {
        bottom: 14px;
        font-size: 9px;
    }

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

    .filters,
    .product-panel,
    .wizard-progress {
        position: static;
    }

    .custom-hero-card {
        min-height: 260px;
    }
}

@media (max-width: 560px) {
    .category-grid,
    .product-grid,
    .choice-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .custom-wizard,
    .wizard-progress {
        border-radius: 24px;
        padding: 20px;
    }

    .custom-wizard {
        padding-bottom: 96px;
    }

    .wizard-actions:not(.wizard-actions--top) {
        display: none;
    }

    .wizard-actions--top {
        align-items: center;
        background: rgba(255, 255, 255, .94);
        border: 1px solid var(--line);
        border-radius: 999px;
        bottom: 12px;
        box-shadow: 0 18px 55px rgba(25, 23, 20, .18);
        display: flex;
        gap: 8px;
        justify-content: space-between;
        left: 12px;
        margin: 0;
        padding: 8px;
        position: fixed;
        right: 12px;
        z-index: 50;
    }

    .wizard-actions--top .button {
        flex: 1;
        padding: 12px 14px;
        white-space: nowrap;
        width: auto;
    }
}
