/* =========================================================
   Luxury Estate – Cuernavaca landing page styles
   Mirrors the ss-* system from casa-semana-santa.css
   ========================================================= */


/* ── Shared gold CTA button ─────────────────────────────── */
.le-cta-gold {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: #c19b76;
    color: #fff !important;
    font-family: 'Jost', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    border: none;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
    outline: none;
}
.le-cta-gold:hover {
    background: #a8845f;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(193,155,118,.35);
}
.le-cta-gold:focus-visible {
    outline: 2px solid #c19b76;
    outline-offset: 3px;
}
.le-cta-gold:active {
    transform: translateY(0);
}

/* ── Full-bleed ATF hero ────────────────────────────────── */
.le-atf {
    position: relative;
    height: 100vh;
    min-height: 620px;
    max-height: 960px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}
.le-atf-bg {
    position: absolute;
    inset: 0;
}
.le-atf-bg-img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center 35%;
       object-position: center 35%;
}
.le-atf-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(8,5,2,.72) 0%, rgba(8,5,2,.06) 55%, transparent 100%),
        linear-gradient(to top, rgba(8,5,2,.95) 0%, rgba(8,5,2,.55) 28%, rgba(8,5,2,.1) 55%, transparent 80%);
}
.le-atf-content-wrap {
    position: relative;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px 60px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}
.le-atf-eyebrow {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #c19b76;
    margin-bottom: 16px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}
.le-atf-title {
    font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 18px;
    max-width: 640px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.le-atf-sub {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,.8);
    line-height: 1.65;
    margin: 0 0 28px;
    max-width: 520px;
}
.le-atf-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 36px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
}
.le-atf-bullets li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
    font-family: 'Jost', sans-serif;
    font-size: .98rem;
    font-weight: 400;
    color: rgba(255,255,255,.88);
}
.le-atf-bullets li::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c19b76;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}
.le-atf-cta {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex !important;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
    background: #c19b76 !important;
    color: #fff !important;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 14px 30px;
    border-radius: 4px;
    text-decoration: none !important;
    -webkit-transition: background .2s ease, -webkit-transform .15s ease, -webkit-box-shadow .2s ease;
            transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    margin-bottom: 12px;
    border: none;
    cursor: pointer;
}
.le-atf-cta .fa,
.le-atf-cta .fas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    line-height: 1;
    flex-shrink: 0;
    translate: 0 1px;
}
.le-atf-cta:hover,
.le-atf-cta:focus {
    background: #a8845f !important;
    color: #fff !important;
    text-decoration: none !important;
    -webkit-transform: translateY(-1px);
            transform: translateY(-1px);
    -webkit-box-shadow: 0 6px 20px rgba(193,155,118,.35);
            box-shadow: 0 6px 20px rgba(193,155,118,.35);
}
.le-atf-microcopy {
    font-family: 'Jost', sans-serif;
    font-size: .77rem;
    color: rgba(255,255,255,.45);
    margin: 0;
    letter-spacing: .04em;
}
/* ── Below-hero property highlights ─────────────────────── */
.le-below-hero {
    padding: 24px 0;
}
.le-highlights-wrap {
    background: #fff;
    border: 1px solid #c19b76;
    border-left: 5px solid #c19b76;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    padding: 28px 32px;
}
.le-highlights-eyebrow {
    font-family: 'Jost', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #c19b76;
    margin: 0 0 20px;
}

/* Grid cards */
.le-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}
.le-highlight-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #f0ebe4;
    border-radius: 10px;
    background: #fdf9f5;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.le-highlight-item:hover {
    border-color: rgba(193,155,118,.4);
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.le-highlight-icon {
    font-size: 1rem;
    color: #c19b76;
    line-height: 1;
    margin-bottom: 2px;
}
.le-highlight-label {
    font-family: 'Jost', sans-serif;
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9a8878;
    line-height: 1;
}
.le-highlight-value {
    font-family: 'Jost', sans-serif;
    font-size: .9rem;
    font-weight: 500;
    color: #1a1410;
    line-height: 1.2;
}

/* Footer */
.le-highlights-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(193,155,118,.18);
    padding-top: 20px;
}
.le-highlights-footer .le-microcopy {
    font-family: 'Jost', sans-serif;
    font-size: .78rem;
    font-weight: 300;
    color: #9a8878;
    letter-spacing: .02em;
    margin: 0;
}
.le-highlights-cta {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: #c19b76;
    color: #fff !important;
    font-family: 'Jost', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none !important;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.le-highlights-cta:hover {
    background: #a8845f;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(193,155,118,.35);
    text-decoration: none !important;
}
.le-highlights-cta:focus-visible {
    outline: 2px solid #c19b76;
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 991px) {
    .le-highlights-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 767px) {
    .le-highlights-wrap {
        padding: 22px 20px;
    }
    .le-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .le-highlights-wrap {
        padding: 20px 16px;
        border-radius: 12px;
    }
    .le-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .le-highlights-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
.le-list--horizontal {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 6px 20px;
    margin-bottom: 18px !important;
}
.le-list--horizontal li {
    margin-bottom: 0 !important;
    white-space: nowrap;
}
.le-inquiry-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    border-top: 1px solid #f0ebe4;
    padding-top: 16px;
    margin-top: 4px;
}
.le-inquiry-footer .le-microcopy {
    margin: 0;
}

/* ── Responsive: ATF ────────────────────────────────────── */
@media (max-width: 1199px) {
    .le-atf-content-wrap {
        padding: 0 28px 44px;
    }
}
@media (max-width: 991px) {
    .le-atf {
        height: auto;
        min-height: 72vh;
        max-height: none;
    }
    .le-atf-content-wrap {
        padding: 0 20px 36px;
    }
}
@media (max-width: 575px) {
    .le-atf {
        min-height: 82vh;
    }
    .le-atf-content-wrap {
        padding: 0 16px 28px;
    }
    .le-atf-title {
        font-size: 1.8rem;
    }
    .le-atf-sub {
        font-size: .9rem;
    }
    .le-list--horizontal li {
        white-space: normal;
    }
    .le-inquiry-footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
        gap: 10px;
    }
}

.le-wrap {
    padding: 20px 0 10px;
}
.le-title {
    margin-bottom: 6px;
    font-size: 2rem;
    line-height: 1.2;
    color: #000;
}
.le-subtitle {
    color: #555;
    max-width: 960px;
    margin-bottom: 22px;
}

/* ── Gallery ────────────────────────────────────────────── */
.le-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(240px, 1fr));
    gap: 10px;
    border-radius: 14px;
    overflow: hidden;
}
.le-gallery a,
.le-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
}
.le-gallery img {
    object-fit: cover;
    min-height: 240px;
}
.le-gallery .le-main {
    grid-row: span 2;
}

/* ── Inquiry sidebar ────────────────────────────────────── */
.le-inquiry {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    padding: 22px;
    position: sticky;
    top: 110px;
}
.le-inquiry-headline {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #111;
}
.le-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}
.le-list li {
    margin-bottom: 9px;
    font-size: .97rem;
}
.le-list li .fas {
    color: #c19b76;
    width: 1.2em;
    text-align: center;
    margin-right: 4px;
}
.le-list-highlight {
    font-size: 1.2rem !important;
    font-weight: 600;
}
.le-microcopy {
    font-size: .82rem;
    color: #888;
    margin-top: 8px;
    text-align: center;
}

/* ── Badges strip ───────────────────────────────────────── */
.le-badges {
    margin: 14px 0 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.le-badge {
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    text-align: center;
    font-size: .92rem;
    line-height: 1.35;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* ── Card ───────────────────────────────────────────────── */
.le-card-especial {
    margin-top: 16px;
    padding-top: 2rem;
}
.le-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #ececec;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 18px;
}
.le-card h2 {
    margin-bottom: 16px;
}

/* ── Split card (2-column layout) ───────────────────────── */
.le-card--split .le-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.le-card--split .le-split img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    padding: 0;
}

/* ── Quote widget ───────────────────────────────────────── */
.le-quote {
    border-left: 4px solid #c19b76;
    padding: 14px 20px;
    margin: 20px 0;
    background: #fdf9f5;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #555;
    font-size: 1.02rem;
}

/* ── Columns grid (2 or 4) ──────────────────────────────── */
.le-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.le-columns--2 {
    grid-template-columns: repeat(2, 1fr);
}
.le-block {
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: 16px;
}
.le-block-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
    display: block;
    color: #c19b76;
}
.le-block strong {
    display: block;
    margin-bottom: 4px;
    font-size: .95rem;
    color: #111;
}
.le-block p,
.le-block span {
    font-size: .87rem;
    color: #666;
    margin: 0;
}

/* ── Specs grid (4×2 icon cards) ───────────────────────── */
.le-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.le-spec-card {
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.le-spec-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transform: translateY(-2px);
    border-color: #e0d0bf;
}
.le-spec-card .le-spec-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
    display: block;
    color: #c19b76;
}
.le-spec-card .le-spec-label {
    font-size: .78rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
    display: block;
    margin-bottom: 2px;
}
.le-spec-card .le-spec-value {
    font-size: .95rem;
    font-weight: 600;
    color: #111;
}

/* ── Gallery explore section ────────────────────────────── */
.le-gallery-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.le-gallery-preview a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    outline: none;
}
.le-gallery-preview a:focus-visible {
    outline: 2px solid #c19b76;
    outline-offset: 2px;
}
.le-gallery-preview img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity .2s, transform .25s ease;
    padding: 0;
}
.le-gallery-preview a:hover img {
    opacity: .92;
    transform: scale(1.04);
}

/* ── Video wrap ─────────────────────────────────────────── */
/* ── Location split ─────────────────────────────────────── */
.le-location-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    align-items: start;
}
.le-location-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.le-location-text > p:first-child {
    font-size: .95rem;
    line-height: 1.7;
    color: #3a3028;
    margin-bottom: 20px;
}

/* Address line */
.le-location-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: 'Jost', sans-serif;
    font-size: .82rem;
    font-weight: 400;
    color: #7a6e65;
    margin-bottom: 20px !important;
    line-height: 1.5;
}
.le-location-address .fas {
    color: #c19b76;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Distance list */
.le-location-distances {
    list-style: none;
    padding: 0;
    margin: 0 0 20px !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.le-location-distances li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid rgba(193,155,118,.18);
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'Jost', sans-serif;
}
.le-dist-name {
    font-size: .82rem;
    font-weight: 400;
    color: #3a3028;
}
.le-dist-km {
    font-size: .78rem;
    font-weight: 600;
    color: #c19b76;
    letter-spacing: .04em;
}

/* Google Maps link */
.le-location-map-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: 'Jost', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #c19b76 !important;
    text-decoration: none !important;
    border: 1px solid rgba(193,155,118,.4);
    border-radius: 4px;
    padding: 9px 16px;
    margin-bottom: 28px;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
    width: fit-content;
    cursor: pointer;
}
.le-location-map-link:hover {
    background: #c19b76 !important;
    color: #fff !important;
    border-color: #c19b76;
    text-decoration: none !important;
}
.le-location-map-link .fas {
    font-size: .7rem;
    flex-shrink: 0;
}

/* "Why buyers are drawn" subtitle */
.le-location-reasons-title {
    font-family: 'Jost', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #c19b76;
    margin-bottom: 14px;
}

/* Reasons list */
.le-location-reasons {
    list-style: none;
    padding: 0;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.le-location-reasons li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Jost', sans-serif;
    font-size: .88rem;
    font-weight: 400;
    color: #3a3028;
    padding: 0;
    margin: 0 !important;
}
.le-location-reasons li::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c19b76;
    flex-shrink: 0;
}

/* Map wrapper — refined */
.le-video-wrap {
    position: relative;
    padding-bottom: 72%;
    height: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(193,155,118,.2);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.le-video-wrap iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* ── Amenity grid ───────────────────────────────────────── */
.le-amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 6px;
}
.le-amenity-card {
    border: 1px solid #efefef;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.le-amenity-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.1);
    transform: translateY(-2px);
    border-color: #e0d0bf;
}
.le-amenity-card img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.le-amenity-body {
    padding: 14px;
}
.le-amenity-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.le-amenity-body p {
    font-size: .87rem;
    color: #666;
    margin: 0;
}

/* ── Checklist widget ───────────────────────────────────── */
.le-checklist {
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: 18px 20px;
    background: #fafafa;
}
.le-checklist-title {
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #777;
    margin-bottom: 12px;
}
.le-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.le-checklist ul li {
    padding: 6px 0;
    font-size: .93rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.le-checklist ul li:last-child {
    border-bottom: none;
}
.le-checklist ul li::before {
    content: '✓';
    color: #c19b76;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Opportunity points ─────────────────────────────────── */
.le-opportunity-points {
    border: 1px solid #e8ddd0;
    border-radius: 12px;
    padding: 20px;
    background: #fdf9f5;
}
.le-opportunity-points h3 {
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #c19b76;
    margin-bottom: 14px;
}
.le-opportunity-points ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.le-opportunity-points ul li {
    padding: 7px 0;
    font-size: .93rem;
    border-bottom: 1px solid #ede3d8;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.le-opportunity-points ul li:last-child {
    border-bottom: none;
}
.le-opportunity-points ul li::before {
    content: '→';
    color: #c19b76;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Trust strip ────────────────────────────────────────── */
.le-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 18px 0;
}
.le-trust-item {
    text-align: center;
    padding: 18px 12px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fff;
}
.le-trust-item .le-trust-icon {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 6px;
    color: #c19b76;
}
.le-trust-item strong {
    display: block;
    font-size: .92rem;
    color: #111;
    margin-bottom: 2px;
}
.le-trust-item span {
    font-size: .82rem;
    color: #888;
}

/* ── FAQ accordion ──────────────────────────────────────── */
/* FAQ counter */
.le-faq {
    counter-reset: faq-counter;
}

.le-faq details {
    border: none;
    border-bottom: 1px solid #ede8e2;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    background: transparent;
    cursor: pointer;
    counter-increment: faq-counter;
}
.le-faq details:first-of-type {
    border-top: 1px solid #ede8e2;
}

.le-faq summary {
    cursor: pointer;
    list-style: none;
    display: grid;
    grid-template-columns: 36px 1fr 24px;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.le-faq summary:focus-visible {
    outline: 2px solid #c19b76;
    outline-offset: 4px;
    border-radius: 4px;
}
.le-faq summary::-webkit-details-marker {
    display: none;
}

/* Number */
.le-faq summary::before {
    content: counter(faq-counter, decimal-leading-zero);
    font-family: 'Jost', sans-serif;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: #c19b76;
    line-height: 1;
    padding-top: 2px;
}

/* Question text — injected via span.le-faq-q */
.le-faq-q {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1410;
    line-height: 1.35;
    transition: color .18s ease;
}
.le-faq details[open] .le-faq-q {
    color: #c19b76;
}

/* Plus / minus indicator */
.le-faq summary::after {
    content: '+';
    font-family: 'Jost', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: #c19b76;
    line-height: 1;
    text-align: center;
    transition: transform .22s ease, content .22s ease;
    justify-self: end;
}
.le-faq details[open] summary::after {
    content: '−';
}

/* Answer content */
.le-faq .le-faq-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .28s ease, opacity .2s ease;
    padding-left: 48px;
}
.le-faq details[open] .le-faq-content {
    opacity: 1;
    padding-bottom: 20px;
}
.le-faq p,
.le-faq ul {
    font-family: 'Jost', sans-serif;
    font-size: .93rem;
    font-weight: 300;
    color: #4a3f36;
    line-height: 1.75;
    margin-top: 0;
    margin-bottom: 0;
}
.le-faq p strong {
    font-weight: 600;
    color: #1a1410;
}
.le-faq a {
    color: #c19b76;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.le-faq a:hover {
    color: #a8845f;
}

/* Mobile */
@media (max-width: 575px) {
    .le-faq summary {
        grid-template-columns: 28px 1fr 20px;
        gap: 8px;
        padding: 16px 0;
    }
    .le-faq-q {
        font-size: 1rem;
    }
    .le-faq .le-faq-content {
        padding-left: 36px;
    }
}

/* ── Photo tour modal ───────────────────────────────────── */
#le-tour-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0, 0, 0, .6);
}
#le-tour-backdrop.is-open {
    display: block;
}
#le-tour-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9001;
    background: #fff;
    flex-direction: column;
}
#le-tour-modal.is-open {
    display: flex;
}
.le-modal-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.le-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-bottom: 1px solid #ececec;
    background: #fff;
    flex-shrink: 0;
}
.le-modal-header h2 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
}
.le-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
    color: #333;
    outline: none;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.le-modal-close:hover {
    color: #000;
}
.le-modal-close:focus-visible {
    outline: 2px solid #c19b76;
    outline-offset: 2px;
    border-radius: 4px;
}
.le-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    margin: 0 auto;
    width: 100%;
}
.le-tour-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: auto;
    max-width: 920px;
}
.le-tour-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: inherit;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}
.le-tour-nav-item:focus-visible img {
    border-color: #c19b76;
    outline: 2px solid #c19b76;
    outline-offset: 2px;
}
.le-tour-nav-item img {
    width: 90px;
    height: 68px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #ececec;
    transition: border-color .2s;
    padding: 0;
}
.le-tour-nav-item:hover img {
    border-color: #c19b76;
}
.le-tour-section {
    padding-top: 18px;
    padding-bottom: 18px;
    border-top: 1px solid #f0f0f0;
    margin: auto;
    max-width: 920px;
}
.le-tour-section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.le-tour-desc {
    color: #666;
    font-size: .87rem;
    margin-bottom: 10px;
}
.le-tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}
.le-tour-grid a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
}
.le-tour-grid img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: opacity .2s;
    padding: 0;
}
.le-tour-grid a {
    cursor: pointer;
    outline: none;
}
.le-tour-grid a:focus-visible img {
    outline: 2px solid #c19b76;
    outline-offset: 2px;
}
.le-tour-grid a:hover img {
    opacity: .88;
}

/* ── Gallery open button (js-open-tour) ─────────────────── */
.js-open-tour {
    cursor: pointer;
}
.js-open-tour:focus-visible {
    outline: 2px solid #c19b76;
    outline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════
   Inquiry Form Redesign
   ══════════════════════════════════════════════════════════ */

.le-form-wrap {
    padding: 40px 44px;
    background: #fdf9f5;
    border-radius: 16px;
    border: 1px solid #c19b76;
    border-left: 5px solid #c19b76;
    position: relative;
    overflow: hidden;
}

/* Labels */
.le-form-wrap .form-group label {
    font-family: 'Jost', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #c19b76;
    display: block;
    margin-bottom: 8px;
}

/* Inputs, textarea, select — underline style */
.le-form-wrap .form-control {
    background: transparent !important;
    border: none !important;
    border-bottom: 1.5px solid #d8cfc6 !important;
    border-radius: 0 !important;
    padding: 8px 0 10px !important;
    font-family: 'Jost', sans-serif !important;
    font-size: .97rem !important;
    font-weight: 300 !important;
    color: #1a1410 !important;
    box-shadow: none !important;
    transition: border-color .22s ease !important;
    width: 100%;
}
.le-form-wrap .form-control:focus {
    border-bottom-color: #c19b76 !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}
.le-form-wrap .form-control::placeholder {
    color: transparent;
}
.le-form-wrap select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c19b76' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 4px center !important;
    padding-right: 24px !important;
    cursor: pointer;
}
.le-form-wrap select.form-control option {
    color: #1a1410;
    background: #fff;
}

/* Form group spacing */
.le-form-wrap .form-group {
    margin-bottom: 28px;
}
.le-form-wrap .form-group:last-of-type {
    margin-bottom: 0;
}

/* Error messages */
.le-form-wrap p strong {
    font-family: 'Jost', sans-serif;
    font-size: .82rem;
    color: #c0392b;
}


/* Microcopy below form */
.le-form-wrap + .le-microcopy {
    padding-left: 4px;
}

/* Responsive: tablet */
@media (max-width: 767px) {
    .le-form-wrap {
        padding: 28px 24px;
    }
}
@media (max-width: 575px) {
    .le-form-wrap {
        padding: 24px 16px;
        border-radius: 12px;
    }
}

/* ── Top padding ────────────────────────────────────────── */
.padding-superior {
    padding-top: 150px;
}

/* ── Responsive: tablet ─────────────────────────────────── */
@media (max-width: 991px) {
    .le-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, minmax(170px, 1fr));
    }
    .le-gallery .le-main {
        grid-column: span 2;
        grid-row: span 1;
    }
    .le-inquiry {
        position: static;
        margin-top: 14px;
    }
    .le-badges,
    .le-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .le-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    .le-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .le-location-split,
    .le-card--split .le-split {
        grid-template-columns: 1fr;
    }
    .le-video-wrap {
        padding-bottom: 56%;
    }
    .le-amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .le-gallery-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    .padding-superior {
        padding-top: 10px;
    }
}

/* ── Responsive: phablet (576–767px) ────────────────────── */
@media (max-width: 767px) {
    .le-columns--2 {
        grid-template-columns: 1fr;
    }
    .le-list--horizontal li {
        white-space: normal;
    }
    .le-tour-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
    }
    .le-tour-nav-item {
        flex-shrink: 0;
    }
    .le-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ── Responsive: mobile ─────────────────────────────────── */
@media (max-width: 575px) {
    .le-title {
        font-size: 1.6rem;
    }
    .le-badges,
    .le-trust-strip,
    .le-columns,
    .le-specs-grid,
    .le-amenity-grid,
    .le-gallery-preview {
        grid-template-columns: 1fr;
    }
    .padding-superior {
        padding-top: 0;
    }
    .le-tour-nav-item img {
        width: 70px;
        height: 54px;
    }
    .le-tour-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .le-video-wrap {
        padding-bottom: 75%;
    }
    .le-location-distances {
        grid-template-columns: 1fr;
    }
}

/* ── Accessibility: reduced motion ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    .le-gallery-preview img {
        transform: none !important;
    }
    .le-amenity-card:hover,
    .le-spec-card:hover {
        transform: none !important;
    }
}

/* ── Hero entrance animations ───────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.le-atf-eyebrow  { animation: fadeUp .6s ease .10s both; }
.le-atf-title    { animation: fadeUp .7s ease .28s both; }
.le-atf-sub      { animation: fadeUp .7s ease .48s both; }
.le-atf-bullets  { animation: fadeUp .6s ease .65s both; }
.le-atf-cta      { animation: fadeUp .6s ease .82s both; }
.le-atf-microcopy { animation: fadeUp .5s ease .95s both; }

@media (prefers-reduced-motion: reduce) {
    .le-atf-eyebrow,
    .le-atf-title,
    .le-atf-sub,
    .le-atf-bullets,
    .le-atf-cta,
    .le-atf-microcopy {
        animation: none;
    }
}

/* ── Scroll-triggered fade-in ───────────────────────────── */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s ease, transform .55s ease;
}
.fade-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Dark full-bleed emotional section ──────────────────── */
.le-dark-section {
    position: relative;
    background: #0f0a06;
    padding: 80px 0;
    overflow: hidden;
}
.le-dark-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/images/quinta-para-fin/casa-para-semana-santa/casa-alberca-y-jardin.jpg');
    background-size: cover;
    background-position: center 40%;
    opacity: .12;
    pointer-events: none;
}
.le-dark-section .container {
    position: relative;
    z-index: 1;
}
.le-dark-section .le-card--split {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.le-dark-section .milenia-section-title--style-2 {
    color: #f5ece0 !important;
}
.le-dark-section p {
    color: rgba(245, 236, 224, .78) !important;
}
.le-dark-section ul li {
    color: rgba(245, 236, 224, .78) !important;
}
.le-dark-section .le-quote {
    background: rgba(193, 155, 118, .12);
    border-left-color: #c19b76;
    color: #c19b76;
}
.le-dark-section .le-split img {
    border-radius: 12px;
    opacity: .9;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

@media (max-width: 991px) {
    .le-dark-section { padding: 60px 0; }
}
@media (max-width: 575px) {
    .le-dark-section { padding: 48px 0; }
}

/* ── Editorial spec cards (large number typography) ─────── */
.le-specs-grid--editorial {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.le-spec-card--editorial {
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: 24px 16px 20px;
    text-align: center;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.le-spec-card--editorial:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.08);
    transform: translateY(-2px);
    border-color: #e0d0bf;
}
.le-spec-number {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.6rem;
    font-weight: 600;
    line-height: 1;
    color: #1a1410;
    letter-spacing: -.01em;
    margin-bottom: 4px;
}
.le-spec-number sup {
    font-size: 1.4rem;
    vertical-align: super;
    font-weight: 400;
    color: #c19b76;
}
.le-spec-card--editorial .le-spec-icon {
    font-size: .82rem;
    color: #c19b76;
    display: block;
    margin-bottom: 6px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
}
.le-spec-card--editorial .le-spec-label {
    font-family: 'Jost', sans-serif;
    font-size: .65rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .1em;
    display: block;
    margin-top: 2px;
}

@media (max-width: 767px) {
    .le-specs-grid--editorial { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .le-specs-grid--editorial { grid-template-columns: repeat(2, 1fr); }
    .le-spec-number { font-size: 2.8rem; }
}

/* ── Editorial asymmetric gallery ───────────────────────── */
.le-gallery-editorial {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 280px 200px 300px;
    gap: 10px;
    margin-bottom: 18px;
}
.le-gallery-editorial__main {
    grid-row: span 2;
}
.le-gallery-editorial__wide {
    grid-column: 1 / -1;
    height: 300px;
}
.le-gallery-editorial a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    position: relative;
}
.le-gallery-editorial a:focus-visible {
    outline: 2px solid #c19b76;
    outline-offset: 2px;
}
.le-gallery-editorial img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, opacity .25s ease;
    padding: 0;
}
.le-gallery-editorial a:hover img {
    transform: scale(1.04);
    opacity: .88;
}
.le-gallery-editorial a::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 16px 18px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to top, rgba(8,5,2,.7) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
    border-radius: 10px;
}
.le-gallery-editorial a:hover::after {
    opacity: 1;
}

@media (max-width: 767px) {
    .le-gallery-editorial {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 160px 160px;
    }
    .le-gallery-editorial__main {
        grid-column: 1 / -1;
        grid-row: span 1;
    }
    .le-gallery-editorial__wide {
        grid-column: 1 / -1;
    }
}
@media (max-width: 575px) {
    .le-gallery-editorial {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .le-gallery-editorial a { height: 220px; }
    .le-gallery-editorial__main,
    .le-gallery-editorial__wide {
        grid-column: 1;
        grid-row: auto;
    }
}
