.hero {
    min-height: 78vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-image,
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 14%, rgba(231, 180, 82, 0.2), transparent 42%),
        linear-gradient(180deg, rgba(17, 11, 9, 0.56), rgba(17, 11, 9, 0.44));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 100%;
    padding-top: 112px;
    padding-bottom: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-kicker {
    margin: 0 0 8px;
    color: #f5d88b;
    font-size: 0.78rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    font-weight: 700;
}

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    margin: 0 0 12px;
    line-height: 1.14;
    color: #2c1a15;
}

h1 {
    font-size: clamp(2.1rem, 5.2vw, 4.1rem);
}

h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.75rem);
}

p {
    margin: 0 0 10px;
    color: var(--muted);
    line-height: 1.62;
}

.hero-content h1 {
    color: #f7f1e4;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: .01em;
    text-wrap: balance;
    max-width: 14ch;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.hero-subtitle {
    color: #ece3d2;
    max-width: 70ch;
    text-align: center;
    margin-bottom: 18px;
    font-size: 1rem;
}

.quick-box {
    background: rgba(247, 246, 244, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 12px;
}

.hero-booking {
    margin-top: 8px;
    width: min(100%, 1140px);
    box-shadow: 0 20px 38px rgba(24, 11, 7, 0.28);
    backdrop-filter: blur(8px);
}

.quick-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr auto;
    gap: 10px;
    align-items: stretch;
}

.booking-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    padding: 8px 10px;
    min-height: 88px;
}

.booking-date,
.booking-occupancy {
    border-right: 1px solid rgba(56, 42, 29, 0.14);
}

.booking-label {
    font-size: 0.76rem;
    letter-spacing: .11em;
    color: #59606e;
    font-weight: 700;
    text-transform: uppercase;
}

.booking-date-trigger {
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
}

.booking-date-trigger:focus-visible {
    outline: 2px solid #1f2937;
    outline-offset: 2px;
}

.booking-date-value {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1;
}

.booking-date-value strong {
    font-size: 2.85rem;
    line-height: 0.88;
    color: #1d2230;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.booking-date-value span {
    font-size: 0.82rem;
    color: #1f2a3a;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.booking-date input[type="text"],
#stay-range-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.booking-arrow {
    display: none;
}

.occupancy-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 5px;
}

.occupancy-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #efefef;
    border-radius: 8px;
    padding: 10px 11px;
    min-height: 43px;
    border: 1px solid #e3e3e3;
    transition: border-color .2s ease, background-color .2s ease;
}

.occupancy-group label:hover {
    border-color: #d7b344;
    background: #f5f3ee;
}

.occupancy-group label span {
    color: #4b5565;
    font-weight: 500;
}

.occupancy-group select {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 1.08rem;
    font-weight: 700;
    min-width: 30px;
    color: #1f2937;
    cursor: pointer;
}

.hero-booking .btn {
    min-width: 170px;
    align-self: center;
    border-radius: 14px;
    text-transform: uppercase;
    letter-spacing: .035em;
    font-size: 1.05rem;
    padding-inline: 20px;
    min-height: 88px;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 8px 18px rgba(215, 179, 68, 0.3);
}

.section {
    padding: 78px 0;
    position: relative;
    background: transparent;
}

.section-alt {
    background: transparent;
    border-top: 0;
    border-bottom: 0;
}

.section-intro {
    max-width: 68ch;
    font-size: 1.04rem;
    color: #505a69;
    margin-top: 4px;
}

.benefits-intro {
    margin-top: 4px;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 800;
    color: #9f6a1a;
}

.section-kicker::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.benefits-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.benefits-grid article {
    background: #fff;
    border: 1px solid #ece5d8;
    border-radius: 18px;
    padding: 20px 18px 22px;
    box-shadow: 0 14px 28px rgba(28, 26, 23, 0.08);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.benefits-grid article:hover {
    transform: translateY(-4px);
    border-color: #d7b344;
    box-shadow: 0 20px 36px rgba(24, 21, 17, 0.14);
}

.benefit-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: linear-gradient(180deg, #edd57b, #d7b344);
    color: #2b211d;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.benefits-grid h3 {
    margin: 8px 0 10px;
    font-size: 1.42rem;
    line-height: 1.1;
}

.benefits-grid p {
    margin: 0;
    color: #3b3f4a;
    font-size: 1.02rem;
    line-height: 1.48;
}

.cards-2 {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.card {
    background: #fff;
    border: 1px solid #ece5d8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(28, 26, 23, 0.08);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    border-color: #d7b344;
    box-shadow: 0 22px 38px rgba(24, 21, 17, 0.14);
}

.card img {
    width: 100%;
    height: 238px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 20px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.card-actions {
    margin-top: auto;
    padding-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.card-actions .btn {
    min-height: 42px;
    padding: 8px 14px;
    font-size: 0.94rem;
}

.card-actions .text-link {
    font-size: 0.95rem;
}

.card-contemp-feature {
    position: relative;
    border-color: #cfd9ea;
    background: linear-gradient(160deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: 0 16px 34px rgba(20, 44, 84, 0.14);
}

.card-contemp-feature::before {
    content: "CONTEMPORANEA";
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: #0e2b52;
    background: rgba(225, 236, 252, 0.95);
    border: 1px solid #bfd4f5;
    border-radius: 999px;
    padding: 6px 10px;
}

.card-contemp-feature:hover {
    border-color: #8fb0e5;
    box-shadow: 0 24px 42px rgba(20, 44, 84, 0.2);
}

.card-contemp-feature img {
    filter: saturate(1.06) contrast(1.03);
}

.card-contemp-feature .card-body h3 {
    color: #132f55;
}

.card-contemp-feature .text-link {
    color: #1f4e87;
    font-weight: 700;
}

.card-colonial-feature {
    position: relative;
    border-color: #dfc89f;
    background: linear-gradient(160deg, #fffdf8 0%, #fff5e2 100%);
    box-shadow: 0 16px 34px rgba(112, 48, 20, 0.16);
}

.card-colonial-feature::before {
    content: "COLONIAL";
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    font-weight: 800;
    color: #5e2813;
    background: rgba(255, 236, 197, 0.95);
    border: 1px solid #dbbc7d;
    border-radius: 999px;
    padding: 6px 10px;
}

.card-colonial-feature:hover {
    border-color: #c9972e;
    box-shadow: 0 24px 42px rgba(112, 48, 20, 0.24);
}

.common-areas-home {
    background:
        radial-gradient(circle at top right, rgba(226, 193, 120, 0.2), transparent 28%),
        linear-gradient(180deg, #f8f1e6 0%, #fffaf3 100%);
}

.common-areas-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
}

.common-areas-copy h2 {
    margin-bottom: 10px;
}

.common-areas-copy .section-intro {
    margin-bottom: 18px;
}

.common-areas-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.common-areas-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #e5d6ba;
    color: #5b4639;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(65, 42, 24, 0.06);
}

.common-areas-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
    gap: 18px;
    align-items: start;
}

.common-spotlight,
.common-mini-card {
    background: #fff;
    border: 1px solid #eadfcb;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    box-shadow: 0 18px 36px rgba(24, 18, 12, 0.08);
}

.common-spotlight img,
.common-mini-card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.common-spotlight img {
    height: 100%;
    min-height: 420px;
    flex: 0 0 auto;
}

.common-spotlight {
    min-height: 0;
}

.common-spotlight-body,
.common-mini-body {
    padding: 18px;
    background: #fffdf7;
    position: relative;
    z-index: 1;
}

.common-spotlight-body p,
.common-mini-body p {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.74rem;
    font-weight: 800;
    color: #a16d1d;
}

.common-spotlight-body h3,
.common-mini-body h3 {
    margin-bottom: 10px;
}

.common-spotlight-body h3 {
    font-size: 1.62rem;
}

.common-mini-body h3 {
    font-size: 1.18rem;
    margin-bottom: 0;
}

.common-spotlight-body span {
    color: #565452;
    line-height: 1.56;
}

.common-areas-stack {
    display: grid;
    gap: 16px;
}

.common-mini-card img {
    height: 176px;
    flex: 0 0 auto;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

#ubicacion .hero-cta {
    margin-top: 18px;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-link {
    gap: 8px;
}

.location-link i {
    font-size: 1rem;
}

.location-grid iframe {
    width: 100%;
    min-height: 372px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.faq-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.faq-more-link {
    display: inline-flex;
    margin-top: 18px;
}

details {
    border: 1px solid #ece5d8;
    background: #fff;
    border-radius: 14px;
    padding: 15px 16px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

details[open] {
    border-color: #d7b344;
    background: #fff;
    box-shadow: 0 12px 26px rgba(24, 21, 17, 0.1);
}

summary {
    cursor: pointer;
    font-weight: 700;
    color: #2f2f2f;
    list-style: none;
    position: relative;
    padding-right: 24px;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: #8b5a2b;
    font-weight: 700;
}

details[open] summary::after {
    content: "−";
}

summary:focus-visible {
    outline: 2px solid #1f2937;
    outline-offset: 2px;
}

.faq-list details p {
    margin-top: 10px;
    margin-bottom: 0;
    color: #4a5564;
}

#beneficios h2,
#habitaciones h2,
#zonas-comunes h2,
#planes h2,
#ubicacion h2,
#faq h2 {
    margin-bottom: 6px;
}

@media (max-width: 1100px) {
    .quick-form {
        grid-template-columns: 1fr 1fr 1.3fr auto;
    }

    .booking-arrow {
        display: none;
    }

    .booking-date,
    .booking-occupancy {
        border-right: 0;
    }
}

@media (max-width: 940px) {
    .benefits-grid,
    .cards-2,
    .common-areas-shell,
    .common-areas-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 62px 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 124px;
        padding-bottom: 24px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        max-width: 45ch;
    }

    .hero-image,
    .hero-video {
        min-height: 76vh;
    }

    .hero-booking {
        width: 100%;
        margin-top: 12px;
        padding: 10px;
    }

    .quick-form {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .booking-item {
        min-height: auto;
        border-right: 0;
        padding: 6px 8px;
        justify-content: flex-start;
    }

    .hero-booking .btn {
        min-height: 56px;
        font-size: 1rem;
        min-width: auto;
    }

    .benefits-grid article {
        padding: 16px 14px 18px;
    }

    .benefits-grid h3 {
        font-size: 1.28rem;
    }

    .card img {
        height: 210px;
    }

    .card-body {
        padding: 16px 14px 14px;
    }

    .common-spotlight img {
        min-height: 280px;
    }

    .common-mini-card img {
        height: 210px;
    }

    .location-grid iframe {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .quick-box {
        border-radius: 14px;
        padding: 10px;
    }

    .quick-form {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .booking-item.booking-date {
        border: 1px solid #e2e5ea;
        border-radius: 10px;
        background: #f8f9fb;
        min-height: 0;
    }

    .booking-item.booking-occupancy {
        grid-column: 1 / -1;
        border: 0;
        padding: 2px 0 0;
    }

    .common-areas-grid {
        gap: 14px;
    }

    .common-spotlight img {
        height: 220px;
        min-height: 220px;
    }

    .common-mini-card img {
        height: 180px;
    }

    .common-spotlight-body,
    .common-mini-body {
        padding: 16px;
    }

    .common-spotlight-body h3 {
        font-size: 1.35rem;
    }

    .common-mini-body h3 {
        font-size: 1.08rem;
    }

    .booking-label {
        font-size: 0.7rem;
        letter-spacing: .1em;
    }

    .booking-date-value strong {
        font-size: 2.15rem;
        line-height: .9;
    }

    .booking-date-value span {
        font-size: 0.74rem;
        letter-spacing: .05em;
    }

    .occupancy-group {
        gap: 7px;
        margin-top: 4px;
    }

    .occupancy-group label {
        min-height: 40px;
        padding: 8px 10px;
    }

    .hero-booking .btn {
        grid-column: 1 / -1;
        min-height: 50px;
        font-size: .95rem;
        border-radius: 12px;
    }
}
