/* ================================================================
   ALTAVISTA CASAHOTEL — NUEVO PORTAL
   Design: Premium Boutique Hotel — 2026
   ================================================================ */

/* ----------------------------------------------------------------
   CSS CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
    /* Brand Palette */
    --gold: #cbaa5c;
    --gold-light: #e2c97c;
    --gold-dark: #a88940;
    --dark: #1d2939;
    --dark-mid: #2c3e50;
    --dark-text: #171717;
    --body-text: #747474;
    --light-bg: #f4f6f8;
    --white: #ffffff;
    --green: #87af17;

    /* Typography */
    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-quest: 'Outfit', sans-serif;

    /* Spacing */
    --section-py: 6rem;
    --container: 1200px;
    --header-h: 90px;

    /* Animation */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ----------------------------------------------------------------
   RESET & BASE
   ---------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ----------------------------------------------------------------
   PRELOADER
   ---------------------------------------------------------------- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: preloaderFadeIn 0.5s ease forwards;
}

@keyframes preloaderFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader-logo {
    max-width: 220px;
    width: 55vw;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(135, 175, 23, 0.18));
}

.preloader-divider {
    width: 48px;
    height: 2px;
    background: #87af17;
    border-radius: 99px;
    margin: -0.25rem 0;
}

.preloader-tagline {
    font-family: var(--font-serif);
    font-size: clamp(0.88rem, 2.5vw, 1.05rem);
    font-style: italic;
    color: #555555;
    letter-spacing: 1.5px;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: #e6f0c8;
    border-radius: 99px;
    overflow: hidden;
    margin-top: 0.25rem;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #5c8a0a, #87af17, #a8d420);
    border-radius: 99px;
    animation: preloaderProgress 2.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes preloaderProgress {
    0% {
        width: 0%;
    }

    60% {
        width: 72%;
    }

    90% {
        width: 94%;
    }

    100% {
        width: 100%;
    }
}

/* ----------------------------------------------------------------
   SCROLLBAR
   ---------------------------------------------------------------- */


::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}

/* ----------------------------------------------------------------
   LANG SWITCHER
   ---------------------------------------------------------------- */
.lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    color: var(--white);
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-family: var(--font-quest);
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    white-space: nowrap;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
}

.lang-chevron {
    font-size: 0.65rem;
    margin-left: 0.2rem;
    transition: transform 0.3s;
}

.lang-current[aria-expanded="true"] .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 155px;
    background: rgba(22, 32, 46, 0.98);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--green);
    border-radius: 0 0 5px 5px;
    padding: 0.3rem 0;
    list-style: none;
    display: none;
    z-index: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.lang-dropdown.open {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    border-left: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, padding-left 0.2s;
}

.lang-option:hover,
.lang-option.active {
    color: var(--white);
    border-left-color: var(--green);
    padding-left: 1.2rem;
    background: rgba(135, 175, 23, 0.08);
}

.lang-option.active {
    color: #a8d420;
}

/* Imágenes de bandera */
.lang-flag-img,
.lang-option img {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.lang-current .lang-flag-img {
    width: 22px;
    height: 15px;
}

/* ----------------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------------- */


.section-eyebrow {
    display: block;
    font-family: var(--font-quest);
    font-size: 0.75rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--dark-text);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-title em {
    font-style: italic;
    color: var(--gold-dark);
}

.section-title-center {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 300;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-title-center.light {
    color: var(--white);
}

/* ----------------------------------------------------------------
   ACCENT LINES
   ---------------------------------------------------------------- */
.gold-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 1.5rem;
}

.title-accent {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 1.25rem 0 1.75rem;
}

.title-accent-center {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 3rem;
}

/* ----------------------------------------------------------------
   CONTAINER
   ---------------------------------------------------------------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn-reservar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    font-size: 0.8rem;
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background 0.3s var(--ease), transform 0.2s;
    white-space: nowrap;
}

.btn-reservar:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 0.85rem 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 1px;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    margin-top: 1.5rem;
}

.btn-hero:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    padding: 0.8rem 1.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.4s var(--ease), box-shadow 0.4s, padding 0.4s;
    padding: 0;
}

.site-header.scrolled {
    background: rgba(29, 41, 57, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Logo box — destacado sobre cualquier fondo */
.logo-box {
    background: var(--white);
    border-radius: 6px;
    padding: 6px 10px 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(203, 170, 92, 0.35);
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.logo-link:hover .logo-box {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35), 0 0 0 2px var(--gold);
    transform: translateY(-1px);
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: height 0.3s;
}

.site-header.scrolled .logo-img {
    height: 50px;
}

.site-header.scrolled .logo-box {
    padding: 4px 8px 3px;
}

/* Nav */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    display: block;
    padding: 0.6rem 1rem;
    font-family: var(--font-quest);
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--gold);
    transition: left 0.3s var(--ease), right 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    left: 1rem;
    right: 1rem;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    background: rgba(29, 41, 57, 0.98);
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--gold);
    border-radius: 0 0 4px 4px;
    padding: 0.5rem 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--ease);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    border-left: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, padding-left 0.2s;
}

.dropdown-menu a:hover {
    color: var(--gold);
    border-left-color: var(--gold);
    padding-left: 1.5rem;
}

/* Header Right */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.social-links-header {
    display: flex;
    gap: 0.5rem;
}

.social-links-header a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 0.75rem;
    transition: all 0.3s;
}

.social-links-header a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ----------------------------------------------------------------
   HERO SECTION
   ---------------------------------------------------------------- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(29, 41, 57, 0.75) 0%,
            rgba(29, 41, 57, 0.4) 60%,
            rgba(29, 41, 57, 0.2) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 1.5rem;
    max-width: 800px;
}

.slide-eyebrow {
    display: block;
    font-family: var(--font-quest);
    font-size: 0.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s 0.3s var(--ease) forwards;
}

.slide-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    opacity: 0;
    transform: translateY(25px);
    animation: slideUp 0.9s 0.5s var(--ease) forwards;
}

.slide-title em {
    font-style: italic;
}

.slide-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s 0.7s var(--ease) forwards;
}

.btn-hero {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s 0.9s var(--ease) forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider controls */
.slider-controls {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.slider-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.3);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.slider-arrow-prev {
    left: 2rem;
}

.slider-arrow-next {
    right: 2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {

    0%,
    100% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

/* ----------------------------------------------------------------
   SECTION ABOUT
   ---------------------------------------------------------------- */
.section-about {
    padding: var(--section-py) 0;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-lead {
    font-size: 1.05rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.about-body {
    color: var(--body-text);
    margin-bottom: 0.9rem;
}

.about-body:last-of-type {
    margin-bottom: 2rem;
}

.about-media {
    position: relative;
}

.video-wrapper {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.video-wrapper video {
    width: 100%;
    display: block;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    width: 110px;
    height: 110px;
    background: var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 25px rgba(203, 170, 92, 0.4);
}

.badge-inner {
    text-align: center;
    color: var(--white);
    font-size: 0.65rem;
    letter-spacing: 1px;
    line-height: 1.5;
}

.badge-inner i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    display: block;
}

/* ----------------------------------------------------------------
   SECTION HEADER (shared)
   ---------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 1rem;
}

.section-ornament {
    margin: 0 auto 1.5rem;
    max-width: 200px;
    opacity: 0.85;
}

/* ----------------------------------------------------------------
   ROOMS SECTION
   ---------------------------------------------------------------- */
.section-rooms {
    padding: var(--section-py) 0;
    background: var(--light-bg);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.room-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.room-image {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.room-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(29, 41, 57, 0.08);
    transition: background 0.4s;
}

.room-card:hover .room-image::after {
    background: rgba(29, 41, 57, 0.35);
}

.room-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.room-card:hover .room-overlay {
    opacity: 1;
}

.btn-room-link {
    display: inline-block;
    background: var(--white);
    color: var(--dark-text);
    padding: 0.65rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    transform: translateY(10px);
    transition: transform 0.4s var(--ease);
}

.room-card:hover .btn-room-link {
    transform: translateY(0);
}

.room-info {
    padding: 1.5rem;
}

.room-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.room-accent {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 0.75rem;
}

.room-desc {
    font-size: 0.88rem;
    color: var(--body-text);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.btn-contact-room {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-dark);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: color 0.3s;
}

.btn-contact-room:hover {
    color: var(--dark-text);
}

.rooms-cta {
    text-align: center;
}

/* ----------------------------------------------------------------
   SERVICES SECTION
   ---------------------------------------------------------------- */
.section-services {
    padding: var(--section-py) 0;
    background: var(--dark);
}

.section-services .section-title-center {
    color: var(--white);
}

.section-services .title-accent-center {
    background: var(--gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: rgba(255, 255, 255, 0.05);
}

.service-item {
    background: rgba(29, 41, 57, 0.8);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s, border-color 0.3s;
}

.service-item:hover {
    background: rgba(203, 170, 92, 0.08);
    border-color: rgba(203, 170, 92, 0.3);
}

.service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 1.3rem;
    border: 1px solid rgba(203, 170, 92, 0.3);
    border-radius: 2px;
    transition: background 0.3s;
}

.service-item:hover .service-icon {
    background: var(--gold);
    color: var(--white);
}

.service-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.service-name small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.2rem;
}

/* ----------------------------------------------------------------
   TESTIMONIALS
   ---------------------------------------------------------------- */
.section-testimonials {
    position: relative;
    padding: var(--section-py) 0;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.testimonials-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 32, 46, 0.88);
}

.testimonials-container {
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(203, 170, 92, 0.2);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: background 0.3s, transform 0.4s;
}

.testimonial-card:hover {
    background: rgba(203, 170, 92, 0.08);
    transform: translateY(-6px);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--gold);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-quote-icon {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.testimonial-text {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
}

.testimonial-author {
    font-family: var(--font-quest);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

.testimonials-extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.testimonial-quote-block {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.quote-icon-circle {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--green);
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 1.1rem;
}

.testimonial-quote-block blockquote {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-quote-block cite {
    display: block;
    margin-top: 0.75rem;
    font-family: var(--font-quest);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    font-style: normal;
}

/* ----------------------------------------------------------------
   CONTACT SECTION
   ---------------------------------------------------------------- */
.section-contact {
    padding: var(--section-py) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.contact-logo {
    max-width: 160px;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--body-text);
}

.contact-details li i {
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
}

.contact-details a {
    color: var(--body-text);
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--gold);
}

.contact-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contact-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.contact-social a:hover {
    background: var(--gold);
    color: var(--white);
}

.contact-subtitle {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(203, 170, 92, 0.3);
}

.agencies-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--body-text);
}

.agencies-list strong {
    color: var(--dark-text);
}

.payment-methods {
    max-width: 100%;
    margin-top: 0.5rem;
}

.wallets {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.wallets img {
    border-radius: 8px;
}

.map-embed {
    border-radius: 4px;
    overflow: hidden;
    height: 250px;
    margin-top: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ----------------------------------------------------------------
   MAPA FULL WIDTH
   ---------------------------------------------------------------- */
.section-map-full {
    background: var(--dark);
}

.map-full-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
}

.map-full-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.map-full-subtitle {
    font-size: 0.9rem;
    color: var(--gold-light);
    letter-spacing: 1px;
}

.map-full-embed {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.map-full-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: grayscale(10%);
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */

.site-footer {
    background: var(--dark);
    padding: 1.75rem 2rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin: 0 auto;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    font-size: 0.78rem;
    transition: all 0.3s;
}

.footer-social a:hover {
    color: var(--white);
    border-color: var(--gold);
    background: var(--gold);
}

/* ----------------------------------------------------------------
   WHATSAPP FLOAT
   ---------------------------------------------------------------- */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.wa-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
    animation: waPulse 2.5s ease-in-out infinite;
}

.wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

@keyframes waPulse {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.1);
    }
}

.wa-popup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    width: 300px;
    overflow: hidden;
    transform: translateY(10px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-bounce), opacity 0.3s;
    transform-origin: bottom right;
}

.wa-popup.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.wa-popup-header {
    background: #075e54;
    padding: 1rem 1.25rem;
    position: relative;
}

.wa-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.wa-intro {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.wa-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.wa-close:hover {
    color: var(--white);
}

.wa-agent a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--dark-text);
    transition: background 0.2s;
}

.wa-agent a:hover {
    background: var(--light-bg);
}

.wa-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.wa-agent-info {
    flex: 1;
}

.wa-agent-info strong {
    display: block;
    font-size: 0.9rem;
}

.wa-agent-info span {
    display: block;
    font-size: 0.78rem;
    color: var(--body-text);
}

.wa-agent-info small {
    display: block;
    font-size: 0.72rem;
    color: #25d366;
}

.wa-arrow {
    color: var(--body-text);
    opacity: 0.5;
}

/* ----------------------------------------------------------------
   ANIMATIONS (Intersection Observer)
   ---------------------------------------------------------------- */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: none;
}

/* ================================================================
   RESPONSIVE — Mobile First Enhancement
   ================================================================ */

/* ── Tablet landscape / small desktop (≤1100px) ─────────────── */
@media (max-width: 1100px) {

    /* Header */
    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(22, 32, 46, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 900;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        display: none;
        overflow-y: auto;
        padding: 6rem 2rem 3rem;
    }

    .main-nav.open {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        max-width: 360px;
    }

    .nav-list>li {
        width: 100%;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 1rem 1.5rem;
        text-align: center;
        color: rgba(255, 255, 255, 0.85);
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--gold);
    }

    /* Dropdown mobile */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        background: rgba(203, 170, 92, 0.06);
        border-top: none;
        border-left: 2px solid var(--gold);
        border-radius: 0;
        margin-left: 1rem;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s;
    }

    .has-dropdown.open>.dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .dropdown-menu a {
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.75);
        padding: 0.55rem 1.5rem;
        text-align: left;
    }

    /* Menú toggle animado */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-badge {
        width: 90px;
        height: 90px;
        bottom: -1rem;
        left: -0.5rem;
    }

    .badge-inner {
        font-size: 0.58rem;
    }

    .badge-inner i {
        font-size: 1.2rem;
    }

    /* Rooms */
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-inline: auto;
    }

    .testimonials-extra {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ── Tablet portrait (≤900px) ─────────────────────────────────── */
@media (max-width: 900px) {

    /* Hero */
    .slide-title {
        font-size: clamp(2.2rem, 8vw, 3.8rem);
    }

    /* About */
    .section-title {
        font-size: clamp(1.9rem, 5vw, 2.8rem);
    }

    .about-body {
        font-size: 0.92rem;
    }

    /* Rooms */
    .room-image {
        height: 220px;
    }

    /* Services */
    .service-item {
        padding: 1.25rem 1.25rem;
        gap: 0.75rem;
    }

    .service-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    /* Map */
    .map-embed {
        height: 220px;
    }
}

/* ── Móvil grande (≤640px) ────────────────────────────────────── */
@media (max-width: 640px) {
    :root {
        --section-py: 3.5rem;
    }

    /* Header */
    .header-inner {
        padding: 0.75rem 1rem;
    }

    .logo-img {
        height: 52px;
    }

    .btn-reservar {
        display: none;
    }

    /* se reserva espacio para toggle */
    .social-links-header {
        display: none;
    }

    /* Hero */
    .hero-section {
        height: 100svh;
        min-height: 500px;
    }

    .slide-content {
        padding: 0 1.25rem;
    }

    .slide-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 4px;
    }

    .slide-title {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }

    .slide-subtitle {
        font-size: 0.95rem;
    }

    .slider-arrow {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .slider-controls {
        bottom: 1.75rem;
    }

    /* Container */
    .container {
        padding: 0 1.25rem;
    }

    /* Section titles */
    .section-title-center {
        font-size: clamp(1.7rem, 6vw, 2.4rem);
    }

    .section-ornament {
        max-width: 150px;
    }

    /* About */
    .about-text .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .about-badge {
        display: none;
    }

    /* queda apretado en móvil pequeño */

    /* Rooms */
    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .room-image {
        height: 200px;
    }

    .room-info {
        padding: 1.25rem;
    }

    .rooms-cta .btn-outline {
        width: 100%;
        justify-content: center;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .service-item {
        padding: 1rem 1.25rem;
    }

    /* Testimonials */
    .testimonials-grid {
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem 1rem;
    }

    .testimonial-text {
        font-size: 0.84rem;
    }

    .testimonial-quote-block {
        flex-direction: column;
        gap: 0.75rem;
    }

    .quote-icon-circle {
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }

    /* Contact */
    .contact-grid {
        gap: 2rem;
    }

    .agencies-list {
        font-size: 0.82rem;
    }

    .map-embed {
        height: 200px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* WhatsApp */
    .wa-float {
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .wa-popup {
        width: 270px;
    }

    /* Mapa full width móvil */
    .map-full-embed {
        height: 280px;
    }

    .map-full-header {
        padding: 2rem 1.25rem 1.25rem;
    }
}


/* ── Móvil pequeño (≤400px) ───────────────────────────────────── */
@media (max-width: 400px) {
    :root {
        --section-py: 3rem;
    }

    .logo-img {
        height: 44px;
    }

    .slide-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .testimonial-avatar {
        width: 64px;
        height: 64px;
    }

    .contact-social a {
        width: 34px;
        height: 34px;
    }

    .wa-popup {
        width: calc(100vw - 2.5rem);
        right: -0.75rem;
        position: absolute;
    }
}