:root {
    --primary: #101418;
    --primary-soft: #1c232b;
    --accent: #c89f57;
    --accent-dark: #a77b32;
    --white: #ffffff;
    --bg-light: #f7f4ef;
    --bg-soft: #fbfaf8;
    --text: #1e2329;
    --text-muted: #70757d;
    --border: rgba(16, 20, 24, 0.10);
    --glass: rgba(255, 255, 255, 0.86);
    --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-sm: 0 8px 24px rgba(16, 20, 24, 0.08);
    --shadow: 0 20px 60px rgba(16, 20, 24, 0.12);
    --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.24);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
}

/* RESET Y BASE */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow: hidden;
}

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

button,
input {
    font: inherit;
}

button {
    border: 0;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.section-padding {
    padding: 110px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background: linear-gradient(180deg, #fbfaf8 0%, #f5f1eb 100%);
}

h1, h2, h3 {
    margin-top: 0;
    color: var(--primary);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 22px;
}

p {
    color: var(--text-muted);
}

/* BARRA SUPERIOR */
.status-bar {
    background: #090b0e;
    color: rgba(255,255,255,0.86);
    padding: 9px 0;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.status-flex,
.status-group {
    display: flex;
    align-items: center;
}

.status-flex {
    justify-content: space-between;
}

.status-group {
    gap: 18px;
}

#local-time,
#weather-temp {
    color: var(--accent);
    font-weight: 600;
}

/* HEADER */
#main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(16, 20, 24, 0.04);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo a {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.55rem;
    letter-spacing: -0.8px;
    text-decoration: none;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    position: relative;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active-link {
    color: var(--accent-dark);
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 1.55rem;
    cursor: pointer;
}

/* HERO */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,8,12,0.82) 0%, rgba(5,8,12,0.55) 46%, rgba(5,8,12,0.14) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.30));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero h1 {
    margin: 0 0 24px;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 1.02;
    text-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.hero p {
    max-width: 640px;
    margin-bottom: 34px;
    color: rgba(255,255,255,0.88);
    font-size: 1.08rem;
}

/* BOTONES */
.btn-primary,
.btn-secondary {
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
    padding: 16px 32px;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 12px 30px rgba(200,159,87,0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(200,159,87,0.34);
}

.btn-secondary {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* HABITACIONES */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0 45px;
}

.filter-btn {
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(200,159,87,0.24);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 34px;
}

.room-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.room-card.hidden {
    display: none;
}

.room-img {
    height: 320px;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.room-card:hover .room-img {
    transform: scale(1.06);
}

.room-info {
    position: relative;
    padding: 32px;
    background: var(--white);
}

.room-info h3 {
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
}

.room-tag {
    display: block;
    margin-bottom: 10px;
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.price {
    margin: 0;
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 600;
}

.price span {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
}

/* TESTIMONIOS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 44px;
}

.testimonial-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    box-shadow: var(--shadow-sm);
}

.stars {
    margin-bottom: 16px;
    color: var(--accent);
    letter-spacing: 4px;
}

.user-meta {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.user-meta span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* PARALLAX */
.parallax-window {
    position: relative;
    width: 100vw;
    height: 65vh;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.parallax-window::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0,0,0,0.35);
}

.parallax-bg {
    position: absolute;
    top: -25%;
    left: 0;
    width: 100%;
    height: 150%;
    background-size: cover;
    background-position: center;
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 25px;
    text-align: center;
}

.parallax-content h2 {
    color: var(--white);
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    text-shadow: 0 10px 28px rgba(0,0,0,0.55);
}

.parallax-content p {
    color: rgba(255,255,255,0.88);
}

/* GALERĆ¨A */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
    transition: opacity var(--transition);
}

.btn-expand {
    padding: 10px 20px;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    font-size: 0.82rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* MAPA */
.map-wrapper {
    display: grid;
    grid-template-columns: 360px 1fr;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.map-details {
    padding: 50px;
    color: var(--white);
    background: linear-gradient(145deg, #11161b, #202832);
}

.map-details h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.map-details p {
    color: rgba(255,255,255,0.72);
}

.map-iframe-container iframe {
    display: block;
    min-height: 450px;
}

/* WIDGETS */
#back-to-top {
    position: fixed;
    left: 28px;
    bottom: 28px;
    z-index: 2000;
    width: 52px;
    height: 52px;
    display: none;
    color: var(--white);
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

#back-to-top.show {
    display: block;
}

.chat-widget {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 2000;
}

.chat-trigger {
    width: 62px;
    height: 62px;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 16px 36px rgba(200,159,87,0.34);
}

.chat-window {
    position: absolute;
    right: 0;
    bottom: 82px;
    width: 350px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.chat-window.active {
    display: flex;
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    color: var(--white);
    background: var(--primary);
    font-weight: 600;
}

#close-chat {
    color: var(--white);
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
}

.chat-body {
    height: 330px;
    padding: 22px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #f6f6f6;
}

.chat-msg {
    max-width: 82%;
    padding: 11px 15px;
    border-radius: 16px;
    font-size: 0.9rem;
}

.chat-msg.bot {
    align-self: flex-start;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.chat-msg.user {
    align-self: flex-end;
    color: var(--white);
    background: var(--accent-dark);
}

.chat-footer {
    display: flex;
    gap: 8px;
    padding: 14px;
    border-top: 1px solid var(--border);
}

#chat-input {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
}

#send-chat {
    width: 44px;
    border-radius: 12px;
    color: var(--white);
    background: var(--accent);
    cursor: pointer;
}

/* MODAL DE RESERVAS */
.modal,
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(4, 10, 17, 0.84);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal.active,
.lightbox.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: min(100%, 520px);
    padding: 44px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.35s ease both;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-content h3 {
    margin: 0 0 10px;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #4d535b;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
    background: var(--bg-light);
    transform: rotate(90deg);
}

#booking-form {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

#booking-form .form-row {
    display: grid;
    gap: 8px;
}

#booking-form label {
    color: var(--primary);
    font-size: 0.86rem;
    font-weight: 600;
}

#booking-form input[type="date"] {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    color: var(--text);
    background: #fbfbfb;
    border: 1px solid #dadde1;
    border-radius: 12px;
    outline: none;
    transition: var(--transition);
}

#booking-form input[type="date"]:hover {
    border-color: var(--accent);
    background: var(--white);
}

#booking-form input[type="date"]:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(200,159,87,0.16);
}

#booking-form .btn-primary {
    width: 100%;
    min-height: 54px;
    margin-top: 4px;
}

/* LIGHTBOX */
.lightbox-image {
    max-width: min(92vw, 1200px);
    max-height: 86vh;
    border-radius: 14px;
    box-shadow: 0 0 60px rgba(0,0,0,0.55);
}

.close-lightbox {
    position: absolute;
    top: 24px;
    right: 28px;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
}

/* PRELOADER */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: radial-gradient(circle at center, #1a2027 0%, #0c1014 70%);
}

#preloader.loaded {
    transform: translateY(-100%);
    transition: 1s cubic-bezier(0.86, 0, 0.07, 1);
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.preloader-logo span {
    color: var(--accent);
}

.preloader-bar {
    width: 220px;
    height: 3px;
    margin: 22px auto;
    overflow: hidden;
    background: rgba(255,255,255,0.12);
    border-radius: 99px;
}

.bar-progress {
    width: 40%;
    height: 100%;
    background: var(--accent);
    animation: loadingBar 1.2s ease-in-out infinite alternate;
}

@keyframes loadingBar {
    from { transform: translateX(-100%); }
    to { transform: translateX(250%); }
}

.preloader-text {
    color: rgba(255,255,255,0.65);
    font-size: 0.84rem;
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .map-wrapper {
        grid-template-columns: 1fr;
    }

    .map-details {
        padding: 38px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 74px 0;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .nav-links {
        display: none;
    }

    .nav-links.mobile-active {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 24px;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-links.mobile-active li,
    .nav-links.mobile-active .btn-primary {
        width: 100%;
    }

    .hero {
        min-height: 72vh;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .filters {
        justify-content: center;
    }

    .rooms-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .parallax-window {
        height: 45vh;
    }

    .chat-window {
        width: min(90vw, 350px);
        right: -8px;
    }

    .modal-content {
        padding: 38px 24px 28px;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 28px, 1200px);
    }

    .status-item.hide-mobile {
        display: none;
    }

    .logo a {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 2.55rem;
    }

    .hero p {
        font-size: 0.98rem;
    }

    .btn-primary {
        padding: 14px 22px;
        font-size: 0.75rem;
    }

    .room-info,
    .testimonial-card {
        padding: 24px;
    }

    .chat-widget {
        right: 18px;
        bottom: 18px;
    }

    #back-to-top {
        left: 18px;
        bottom: 18px;
    }
}
/* ACCESIBILIDAD Y MEJORAS DE INTERACCIÓN */
body.dialog-open {
    overflow: hidden;
}

button,
a,
input,
.gallery-item {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
.gallery-item:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.filter-btn[aria-pressed="true"] {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

.map-details a:not(.btn-primary) {
    color: #f0cf93;
    text-underline-offset: 4px;
}

.map-details .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.booking-status {
    min-height: 24px;
    margin: 4px 0 0;
    color: #8a5b16;
    font-size: 0.86rem;
    font-weight: 600;
}

.close-lightbox {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.28);
}

.close-lightbox:hover {
    background: rgba(0, 0, 0, 0.5);
}

.footer {
    padding: 55px 0;
    color: var(--white);
    background: #111;
}

.footer p {
    color: rgba(255, 255, 255, 0.72);
}

.footer .logo {
    margin-bottom: 16px;
}

.footer .logo a {
    color: var(--white);
}

.footer-copy {
    margin-bottom: 0;
    opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .parallax-bg {
        transform: none !important;
    }
}

/* SECCIÓN NOSOTROS — REDISEÑO */
.about-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(200,159,87,.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.about-section::before {
    content: '';
    position: absolute;
    right: -120px;
    top: 80px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(200,159,87,.16);
    border-radius: 50%;
}

.about-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    grid-template-areas:
        "copy visual"
        "highlights highlights";
    gap: 54px 72px;
    align-items: center;
}

.about-copy {
    grid-area: copy;
    max-width: 650px;
}

.about-copy h2 {
    max-width: 700px;
    margin-bottom: 24px;
    font-size: clamp(2.7rem, 5vw, 4.9rem);
    letter-spacing: -0.035em;
}

.about-lead {
    margin: 0 0 18px;
    color: #3f464d;
    font-size: clamp(1.06rem, 1.5vw, 1.22rem);
    line-height: 1.8;
}

.about-copy > p:not(.about-lead) {
    max-width: 620px;
    margin-bottom: 28px;
    font-size: .98rem;
    line-height: 1.85;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 7px;
    color: var(--primary);
    border-bottom: 1px solid rgba(16,20,24,.35);
    text-decoration: none;
    font-weight: 600;
    transition: gap var(--transition), color var(--transition), border-color var(--transition);
}

.about-link:hover {
    gap: 16px;
    color: var(--accent-dark);
    border-color: var(--accent);
}

.about-visual {
    grid-area: visual;
    position: relative;
    min-height: 470px;
}

.about-photo {
    position: absolute;
    inset: 0 0 34px 34px;
    background-size: cover;
    background-position: center;
    border-radius: 180px 24px 24px 24px;
    box-shadow: var(--shadow);
}

.about-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, transparent 45%, rgba(7,10,14,.28));
}

.about-badge {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 176px;
    min-height: 148px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    color: var(--white);
    background: linear-gradient(145deg, var(--accent), var(--accent-dark));
    border: 8px solid #fbfaf7;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(167,123,50,.28);
}

.about-badge strong {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    line-height: 1;
}

.about-badge span {
    margin-top: 8px;
    font-size: .78rem;
    line-height: 1.45;
    opacity: .9;
}

.about-highlights {
    grid-area: highlights;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-highlight {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    min-height: 175px;
    padding: 28px;
    overflow: hidden;
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(16,20,24,.08);
    border-radius: 20px;
    box-shadow: 0 12px 38px rgba(16,20,24,.07);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.about-highlight::after {
    content: '';
    position: absolute;
    right: -32px;
    bottom: -42px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(200,159,87,.09);
}

.about-highlight:hover {
    transform: translateY(-6px);
    border-color: rgba(200,159,87,.35);
    box-shadow: 0 22px 48px rgba(16,20,24,.11);
}

.highlight-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--accent-dark);
    background: #f7efe1;
    border: 1px solid rgba(200,159,87,.22);
    border-radius: 16px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
}

.about-highlight h3 {
    margin: 2px 0 10px;
    font-size: 1.05rem;
}

.about-highlight p {
    margin: 0;
    font-size: .9rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "visual"
            "highlights";
        gap: 40px;
    }

    .about-copy {
        max-width: 760px;
    }

    .about-visual {
        min-height: 440px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-highlight {
        min-height: auto;
    }
}

@media (max-width: 560px) {
    .about-copy h2 {
        font-size: 2.55rem;
    }

    .about-visual {
        min-height: 360px;
    }

    .about-photo {
        inset: 0 0 26px 18px;
        border-radius: 110px 20px 20px 20px;
    }

    .about-badge {
        width: 150px;
        min-height: 126px;
        padding: 18px;
        border-width: 6px;
    }

    .about-highlight {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 24px;
    }
}

/* TESTIMONIOS PREMIUM */
.testimonials-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 10%, rgba(200,159,87,.13), transparent 28%),
        linear-gradient(180deg, #fbfaf8 0%, #ffffff 100%);
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 7%;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(200,159,87,.18);
    border-radius: 50%;
    transform: translateY(-48%);
}

.testimonials-shell {
    position: relative;
    z-index: 1;
}

.testimonials-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 50px;
    margin-bottom: 48px;
}

.testimonials-heading h2 {
    max-width: 760px;
    margin-bottom: 16px;
}

.testimonials-heading p {
    max-width: 650px;
    margin: 0;
    font-size: 1rem;
}

.rating-summary {
    min-width: 235px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border: 1px solid rgba(200,159,87,.28);
    border-radius: 18px;
    background: rgba(255,255,255,.8);
    box-shadow: 0 16px 40px rgba(16,20,24,.07);
    backdrop-filter: blur(12px);
}

.rating-summary > strong {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: 2.7rem;
    line-height: 1;
}

.rating-summary .stars {
    margin: 0 0 3px;
    font-size: .86rem;
}

.rating-summary span {
    color: var(--text-muted);
    font-size: .74rem;
}

.testimonials-section .testimonials-grid {
    gap: 28px;
    margin-top: 0;
}

.testimonials-section .testimonial-card {
    position: relative;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px;
    overflow: hidden;
    border: 1px solid rgba(16,20,24,.08);
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 20px 55px rgba(16,20,24,.08);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.testimonials-section .testimonial-card::after {
    content: '';
    position: absolute;
    right: -45px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(200,159,87,.08);
}

.testimonials-section .testimonial-card:hover {
    transform: translateY(-7px);
    border-color: rgba(200,159,87,.35);
    box-shadow: 0 28px 70px rgba(16,20,24,.13);
}

.testimonial-card-featured {
    background: linear-gradient(145deg, #171c21, #252d35) !important;
}

.testimonial-card-featured blockquote,
.testimonial-card-featured .user-meta strong {
    color: #fff;
}

.testimonial-card-featured .user-meta span,
.testimonial-card-featured .testimonial-label {
    color: rgba(255,255,255,.63);
}

.testimonial-card-featured .guest-avatar {
    color: #161b20;
    background: linear-gradient(135deg, #e4c88f, #b88736);
}


.testimonial-topline {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.testimonial-topline .stars {
    margin: 0;
    font-size: .9rem;
}

.testimonial-label {
    color: var(--accent-dark);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.testimonials-section blockquote {
    position: relative;
    z-index: 1;
    margin: 30px 0 34px;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.55;
}

.testimonials-section .user-meta {
    position: relative;
    z-index: 1;
    flex-direction: row;
    align-items: center;
    gap: 13px;
    margin-top: 0;
}

.testimonials-section .user-meta div {
    display: flex;
    flex-direction: column;
}

.guest-avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    border-radius: 50%;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .5px;
}

@media (max-width: 900px) {
    .testimonials-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 28px;
    }

    .rating-summary {
        width: fit-content;
    }
}

@media (max-width: 600px) {
    .testimonials-section .testimonial-card {
        min-height: auto;
        padding: 28px 24px;
    }

    .testimonials-section blockquote {
        margin: 25px 0 28px;
        font-size: 1.2rem;
    }

    .rating-summary {
        min-width: 0;
        width: 100%;
    }
}

/* CORRECCIÓN DEFINITIVA DE LA TARJETA OSCURA */
.testimonials-section .testimonial-card.testimonial-card-featured {
    background: linear-gradient(145deg, #171c21, #252d35) !important;
}

.testimonials-section .testimonial-card.testimonial-card-featured blockquote {
    color: #ffffff !important;
}

.testimonials-section .testimonial-card.testimonial-card-featured .user-meta strong {
    color: #ffffff !important;
}

.testimonials-section .testimonial-card.testimonial-card-featured .user-meta span {
    color: rgba(255, 255, 255, 0.72) !important;
}

.testimonials-section .testimonial-card.testimonial-card-featured .testimonial-label {
    color: #e5c37f !important;
}

.testimonials-section .testimonial-card.testimonial-card-featured .stars {
    color: #d9a347 !important;
}

.testimonials-section .testimonial-card.testimonial-card-featured .guest-avatar {
    color: #171c21 !important;
    background: linear-gradient(135deg, #e5c37f, #b88636) !important;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 3000;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border: 3px solid #ffffff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.38);
    transition: 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 22px 44px rgba(37, 211, 102, 0.46);
}

.whatsapp-icon {
    width: 34px;
    height: 34px;
    fill: #ffffff;
}

@media (max-width: 480px) {
    .whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 58px;
        height: 58px;
    }

    .whatsapp-icon {
        width: 31px;
        height: 31px;
    }
}