:root {
    --ivory: #f7f4ee;
    --ivory-dark: #eee8dc;
    --champagne: #c5aa76;
    --champagne-light: #ddcba8;
    --gold-dark: #9d7e45;
    --charcoal: #a18167;
    --gray: #77736b;
    --white: #ffffff;
    --border: rgba(37, 37, 37, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--charcoal);
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    letter-spacing: .01em;
    background-color: #F4F2EB;
}

.luxury-header {
    background: #F4F2EB;
    padding: 10px;
    border-bottom: 1px solid rgba(37, 37, 37, .08);
}

.brand-logo {
    width: 215px;
    max-width: 100%;
}

.affiliate-text {
    margin: 0;
    color: #a18167;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.hero {
    position: relative;
    text-align: center;
    padding: 80px 20px 70px;
    overflow: hidden;
    background: linear-gradient( 90deg, rgba(35, 30, 24, .08) 0%, rgba(35, 30, 24, .5) 45%, rgba(35, 30, 24, .08) 100%), url(../img/fondo12.webp);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(197, 170, 118, .08);
    top: -220px;
    left: -150px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(197, 170, 118, .06);
    right: -160px;
    bottom: -180px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .35em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 auto;
    max-width: 850px;
    font-family: "Cinzel", serif;
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: .04em;
}

.hero-description {
    max-width: 650px;
    margin: 24px auto 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.9;
}

.gold-line {
    width: 55px;
    height: 1px;
    margin: 28px auto 0;
    background: var(--champagne);
}


/* =========================================================
           FORM CONTAINER
        ========================================================= */

.form-section {
    padding: 0 20px 100px;
    background-color: #F4F2EB;
}

.luxury-card {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 55px 65px 60px;
    background: var(--white);
    border: 1px solid rgba(37, 37, 37, .08);
    box-shadow: 0 20px 60px rgba(37, 37, 37, .07);
}


/* =========================================================
           PROGRESS
        ========================================================= */

.progress-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto 55px;
}

.progress-item {
    flex: 0 0 auto;
    text-align: center;
}

.progress-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: auto;
    border: 1px solid #cfc8bb;
    border-radius: 50%;
    color: #aaa398;
    font-family: "Cinzel", serif;
    font-size: 13px;
    transition: all .4s ease;
}

.progress-label {
    margin-top: 11px;
    color: #aaa398;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.progress-line {
    width: 130px;
    height: 1px;
    margin: 19px 15px 0;
    background: #ddd7cc;
    transition: background .4s ease;
}

.progress-item.active .progress-number {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--white);
}

.progress-item.active .progress-label {
    color: var(--charcoal);
}

.progress-line.active {
    background: var(--champagne);
}


/* =========================================================
           STEPS
        ========================================================= */

.step {
    display: none;
    animation: fadeIn .5s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-header {
    margin-bottom: 40px;
}

.step-number {
    margin-bottom: 10px;
    color: var(--champagne);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.step-title {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: .04em;
}

.step-description {
    max-width: 600px;
    margin-top: 12px;
    color: var(--gray);
    font-size: 12px;
    line-height: 1.8;
}


/* =========================================================
           INPUTS
        ========================================================= */

.field {
    position: relative;
    margin-bottom: 32px;
}

.field label {
    display: block;
    margin-bottom: 10px;
    color: #69645c;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.luxury-input,
.luxury-textarea {
    width: 100%;
    padding: 11px 2px 13px;
    border: 0;
    border-bottom: 1px solid #cfc9bf;
    border-radius: 0;
    outline: none;
    background: transparent;
    color: var(--charcoal);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 400;
    transition: border-color .3s ease;
}

.luxury-input:focus,
.luxury-textarea:focus {
    border-color: var(--champagne);
    box-shadow: none;
}

.luxury-input::placeholder,
.luxury-textarea::placeholder {
    color: #b0aba2;
    font-weight: 300;
}

.luxury-textarea {
    min-height: 150px;
    resize: vertical;
}


/* =========================================================
           OPTION CARDS
        ========================================================= */

.option-title {
    margin-bottom: 18px;
    color: #69645c;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 35px;
}

.option-card {
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-card label {
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 15px 18px;
    border: 1px solid #ddd8ce;
    background: #fff;
    cursor: pointer;
    transition: border-color .3s ease, background .3s ease, transform .3s ease;
}

.option-card label:hover {
    border-color: var(--champagne);
    transform: translateY(-2px);
}

.option-card input:checked+label {
    border-color: var(--champagne);
    background: #faf7f0;
}

.option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 14px;
    border: 1px solid #d6d0c4;
    border-radius: 50%;
    color: var(--gold-dark);
    font-size: 13px;
}

.option-text strong {
    display: block;
    color: var(--charcoal);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.option-text span {
    display: block;
    margin-top: 4px;
    color: #99948b;
    font-size: 9px;
}


/* =========================================================
           SERVICES
        ========================================================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 35px;
}

.service-card {
    position: relative;
}

.service-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-card label {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 65px;
    padding: 10px;
    border: 1px solid #ddd8ce;
    color: #77736b;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
}

.service-card label:hover {
    border-color: var(--champagne);
}

.service-card input:checked+label {
    border-color: var(--champagne);
    background: #faf7f0;
    color: var(--charcoal);
}


/* =========================================================
           BUTTONS
        ========================================================= */

.button-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #eeeae3;
}

.btn-luxury {
    position: relative;
    min-width: 150px;
    padding: 14px 24px;
    border: 1px solid var(--charcoal);
    background: var(--charcoal);
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: all .3s ease;
}

.btn-luxury a {
    position: relative;
    min-width: 150px;
    padding: 14px 24px;
    border: 1px solid var(--charcoal);
    background: var(--charcoal);
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: all .3s ease;
    text-decoration: none;
}

.btn-luxury a:hover {
    background: var(--champagne);
    border-color: var(--champagne);
    color: var(--white);
}

.btn-luxury:hover {
    background: var(--champagne);
    border-color: var(--champagne);
    color: var(--white);
}

.btn-back {
    min-width: auto;
    border: 0;
    background: transparent;
    color: #77736b;
}

.btn-back:hover {
    background: transparent;
    color: var(--charcoal);
}

.thank-you-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background: var(--ivory);
    text-align: center;
    display: none;
}

.thank-you-content {
    max-width: 650px;
    margin: 0 auto;
}

.thank-you-eyebrow {
    margin-bottom: 20px;
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .35em;
    text-transform: uppercase;
}

.thank-you-section h2 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: .03em;
    color: var(--charcoal);
}

.thank-you-section .gold-line {
    margin: 28px auto;
}

.thank-you-section p {
    max-width: 560px;
    margin: 0 auto 25px;
    color: #2b2927;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.9;
}

.thank-you-message {
    display: block;
    color: var(--gold-dark);
    font-family: "Cinzel", serif;
    font-size: 15px;
    letter-spacing: .08em;
}


/* =========================================================
           FOOTER
        ========================================================= */

footer {
    padding: 35px 20px;
    border-top: 1px solid rgba(37, 37, 37, .08);
    text-align: center;
}

footer p {
    margin: 0;
    color: #858078;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
}


/* =========================================================
           HONEYPOT
        ========================================================= */

.hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


/* =========================================================
           FLATPICKR
        ========================================================= */

.flatpickr-calendar {
    border-radius: 0 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--charcoal) !important;
    border-color: var(--charcoal) !important;
}

.flatpickr-day.inRange {
    background: #eee8dc !important;
    border-color: #eee8dc !important;
}


/* =========================================================
           RESPONSIVE
        ========================================================= */

@media (max-width: 991px) {
    .luxury-card {
        padding: 45px 40px 50px;
    }
    .progress-line {
        width: 80px;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .luxury-header {
        padding: 25px 15px;
    }
    .affiliate-text {
        margin-top: 0px;
        font-size: 12px;
        letter-spacing: .2em;
        line-height: 1.7;
    }
    .hero {
        padding: 60px 20px 50px;
    }
    .hero h1 {
        font-size: 31px;
    }
    .hero-description {
        font-size: 12px;
        line-height: 1.8;
    }
    .form-section {
        padding: 0 12px 60px;
    }
    .luxury-card {
        padding: 35px 22px 40px;
    }
    .progress-wrapper {
        margin-bottom: 40px;
    }
    .progress-number {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }
    .progress-line {
        width: 35px;
        margin-left: 6px;
        margin-right: 6px;
        margin-top: 16px;
    }
    .progress-label {
        font-size: 7px;
        letter-spacing: .08em;
    }
    .step-title {
        font-size: 23px;
    }
    .option-grid {
        grid-template-columns: 1fr;
    }
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .button-row {
        margin-top: 35px;
    }
    .btn-luxury {
        min-width: 130px;
        padding: 13px 15px;
        font-size: 9px;
    }
}

@media (max-width: 400px) {
    .progress-label {
        display: none;
    }
    .progress-line {
        width: 45px;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
}