/* ================================
   RIO HOTEL ECUADOR - MODERN LUXURY COLONIAL
   Custom CSS Stylesheet - OPTIMIZED VERSION
   ================================ */

/* ================================
   ROOT VARIABLES - Color Palette
   ================================ */
:root {
    /* Colonial Color Palette */
    --cream-white: #F9F9F9;
    --soft-cream: #F5F3EF;
    --warm-white: #FDFBF7;
    --gold-accent: #C9A961;
    --bronze-accent: #B8905A;
    --deep-blue: #2C3E50;
    --dark-gray: #34495E;
    --charcoal: #2C2C2C;

    /* Semantic Colors */
    --primary-color: var(--gold-accent);
    --secondary-color: var(--deep-blue);
    --text-dark: var(--charcoal);
    --text-light: #666;
    --bg-light: var(--cream-white);
    --bg-soft: var(--soft-cream);

    /* Typography - MONTSERRAT ONLY */
    --font-primary: 'Montserrat', sans-serif;

    /* Typography Sizes - Standardized */
    --text-xs: 0.75rem;      /* 12px - Small labels, captions */
    --text-sm: 0.875rem;     /* 14px - Body small, secondary text */
    --text-base: 1rem;       /* 16px - Base body text */
    --text-lg: 1.125rem;     /* 18px - Large body text */
    --text-xl: 1.25rem;      /* 20px - Small headings */
    --text-2xl: 1.5rem;      /* 24px - Medium headings */
    --text-3xl: 1.875rem;    /* 30px - Large headings */
    --text-4xl: 2.25rem;     /* 36px - Hero headings */

    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
    --border-radius: 12px;

    /* Effects */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* ================================
   RESET & BASE STYLES
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--warm-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================================
   TYPOGRAPHY - MONTSERRAT BOLD & LIGHT
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
p { font-size: var(--text-base); }

p, label, input, textarea, select {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--text-light);
}

strong {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* ================================
   UTILITY CLASSES
   ================================ */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    margin-bottom: 24px;
}

.title-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(58, 48, 42, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

/* Logo Image - Ocultar si no existe */
.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Ocultar imagen si no se carga */
.logo-img[src="logo.png"]:not([src]) {
    display: none;
}

/* Logo Text - Fallback si no hay imagen */
.logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.navbar.scrolled .nav-logo h2 {
    color: white;
}

.nav-subtitle {
    font-size: 0.65rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: white;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-toggle span {
    background: white;
}

/* ================================
   HERO SECTION - VIDEO BACKGROUND
   ================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none; /* Evita que se muestren controles al hacer clic */
}

/* Ocultar controles del video en todos los navegadores */
.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

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

.hero-title {
    color: white;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.05;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2em;
    justify-content: center;
}

/* Hero Title Word Animations */
.hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
}

.word-elegant {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: white;
    font-weight: 700;
    animation: fadeInUp 0.8s ease forwards 0.2s;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.6);
}

.word-colonial {
    color: var(--gold-accent);
    font-weight: 700;
    animation: fadeInUp 0.8s ease forwards 0.4s, subtleGlow 3s ease-in-out infinite 1.2s;
    text-shadow: 0 0 15px rgba(201, 169, 97, 0.5), 2px 4px 10px rgba(0, 0, 0, 0.4);
}

.word-white {
    color: white;
    font-weight: 400;
    animation: fadeInUp 0.8s ease forwards 0.6s;
    text-shadow: 2px 3px 12px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtleGlow {
    0%, 100% {
        text-shadow: 0 0 15px rgba(201, 169, 97, 0.5), 2px 4px 10px rgba(0, 0, 0, 0.4);
    }
    50% {
        text-shadow: 0 0 25px rgba(201, 169, 97, 0.7), 0 0 35px rgba(201, 169, 97, 0.4), 2px 4px 10px rgba(0, 0, 0, 0.4);
    }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent));
    color: white;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
    transition: var(--transition-smooth);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.6);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* Hero Booking Search - Booking.com Style */
.hero-booking-search {
    margin-top: 48px;
    width: 100%;
    max-width: 1100px;
    z-index: 10;
    position: relative;
}

.booking-bar {
    display: flex;
    background: white;
    border-radius: 50px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    overflow: visible;
    min-height: 64px;
}

.booking-field {
    flex: 1;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 6px 0;
}

.booking-field:first-child {
    border-radius: 50px 0 0 50px;
}

.booking-field:hover {
    background: rgba(249, 249, 249, 0.6);
}

.booking-field.active {
    background: #f5f5f5;
}

.booking-field label {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.booking-field-content {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
}

.booking-field-content i {
    color: var(--gold-accent);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.booking-field-content input[type="date"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.booking-display {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.booking-divider {
    width: 1px;
    background: #e5e5e5;
    margin: 12px 0;
    flex-shrink: 0;
}

/* Guests Dropdown */
.booking-field-guests {
    position: relative;
}

.guests-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 16px;
    min-width: 300px;
    z-index: 10000;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid #e5e5e5;
}

.guests-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.guests-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.guests-option:last-of-type {
    border-bottom: none;
}

.guests-label {
    display: flex;
    flex-direction: column;
}

.guests-label span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.guests-label small {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: 2px;
}

.guests-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guest-btn {
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    font-size: 0.75rem;
}

.guest-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent));
    color: white;
    border-color: var(--primary-color);
}

.guest-btn:disabled {
    border-color: #e0e0e0;
    color: #ccc;
    cursor: not-allowed;
}

.guest-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 20px;
    text-align: center;
}

.guests-done-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.guests-done-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.5);
}

/* Hero Search Button */
.hero-search-btn {
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent));
    color: white;
    border: none;
    padding: 0 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    min-width: 140px;
    box-shadow: 0 4px 20px rgba(201, 169, 97, 0.4);
    border-radius: 0 50px 50px 0;
    align-self: stretch;
}

.hero-search-btn:hover {
    background: linear-gradient(135deg, #d4b06a, #c39e6a);
    box-shadow: 0 6px 25px rgba(201, 169, 97, 0.6);
}

.hero-search-btn i {
    font-size: 1.1rem;
}

.hero-search-btn span {
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ================================
   FLATPICKR CUSTOM STYLES (Booking.com Style)
   ================================ */
.flatpickr-calendar {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    font-family: var(--font-primary) !important;
    z-index: 9999 !important;
}

.flatpickr-months {
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent)) !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 16px !important;
}

.flatpickr-month {
    color: white !important;
}

.flatpickr-current-month {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: white !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    fill: white !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 4px !important;
}

.flatpickr-weekdays {
    background: var(--bg-soft) !important;
    padding: 8px 0 !important;
}

.flatpickr-weekday {
    color: var(--secondary-color) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
}

.flatpickr-day {
    border-radius: 4px !important;
    font-weight: 400 !important;
    color: var(--text-dark) !important;
    transition: all 0.2s ease !important;
}

.flatpickr-day:hover {
    background: var(--bg-soft) !important;
    border-color: var(--primary-color) !important;
}

.flatpickr-day.today {
    border-color: var(--primary-color) !important;
    background: rgba(201, 169, 97, 0.1) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent)) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    font-weight: 700 !important;
}

.flatpickr-day.inRange {
    background: rgba(201, 169, 97, 0.15) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.flatpickr-day.disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: #ccc !important;
}

/* ================================
   ANIMATIONS
   ================================ */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

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

/* ================================
   EXPERIENCIA SECTION
   ================================ */
.experiencia {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    background: white;
    padding: 24px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(201, 169, 97, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 220px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent));
    border-radius: 50%;
    font-size: 1.6rem;
    color: white;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.service-card p {
    font-size: var(--text-sm);
    font-weight: 300;
    line-height: 1.5;
}

/* ================================
   HABITACIONES SECTION
   ================================ */
.habitaciones {
    padding: var(--section-padding);
    background: var(--bg-soft);
}

.room-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.room-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--shadow-soft);
}

.room-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    min-height: 350px;
}

.room-slide.active {
    display: grid;
    opacity: 1;
    transform: translateX(0);
    animation: slideInFade 0.6s ease forwards;
}

@keyframes slideInFade {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.room-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.room-slide:hover .room-image img {
    transform: scale(1.05);
}

.room-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.room-details {
    padding: 30px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-details h3 {
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--secondary-color);
}

.room-price {
    margin-bottom: 20px;
}

.price-amount {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: var(--text-sm);
    font-weight: 300;
    color: var(--text-light);
    margin-left: 8px;
}

.room-features {
    list-style: none;
    margin-bottom: 20px;
}

.room-features li {
    padding: 6px 0;
    color: var(--text-light);
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 12px;
}

.room-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.room-cta {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent));
    color: white;
    font-weight: 700;
    border-radius: 50px;
    text-align: center;
    transition: var(--transition-smooth);
}

.room-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ================================
   RESERVAS SECTION
   ================================ */
.reservas {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.reservation-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.reservation-form-wrapper {
    background: white;
    padding: 48px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 300;
    transition: var(--transition-smooth);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-primary);
}

.reservation-summary {
    background: var(--bg-soft);
    padding: 24px;
    border-radius: 8px;
    margin: 16px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 0.95rem;
}

.summary-item span {
    font-weight: 300;
    color: var(--text-light);
}

.summary-item strong {
    font-weight: 700;
    color: var(--secondary-color);
}

.summary-item.total {
    border-top: 2px solid var(--primary-color);
    margin-top: 12px;
    padding-top: 16px;
    font-size: 1.1rem;
}

.summary-item.total strong {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.submit-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent));
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.5);
}

.form-note {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-light);
    text-align: center;
    margin-top: -8px;
}

/* Reservation Info Sidebar */
.reservation-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-box {
    background: white;
    padding: 28px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-box-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.info-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.info-box p {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
}

.contact-direct {
    background: var(--secondary-color);
    padding: 32px;
    border-radius: var(--border-radius);
    text-align: center;
    color: white;
}

.contact-direct h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    margin: 16px 0;
    transition: var(--transition-smooth);
}

.phone-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

.contact-direct p {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

/* ================================
   MODAL DE RESERVA
   ================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: white;
    border-radius: var(--border-radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px;
    border-bottom: 2px solid var(--bg-soft);
    background: linear-gradient(135deg, var(--soft-cream), white);
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.modal-close {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(201, 169, 97, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.modal-body {
    padding: 32px;
}

.booking-summary-box {
    background: var(--bg-soft);
    padding: 24px;
    border-radius: var(--border-radius);
    margin-bottom: 32px;
    border-left: 4px solid var(--primary-color);
}

.booking-summary-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-summary-box h3 i {
    color: var(--primary-color);
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.summary-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
}

.detail-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-form-group {
    display: flex;
    flex-direction: column;
}

.modal-form-group.full-width {
    grid-column: 1 / -1;
}

.modal-form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-form-group label i {
    color: var(--primary-color);
}

.modal-form-group input,
.modal-form-group select,
.modal-form-group textarea {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 300;
    transition: var(--transition-smooth);
    background: white;
    font-family: var(--font-primary);
}

.modal-form-group input:focus,
.modal-form-group select:focus,
.modal-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.modal-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.modal-price-summary {
    background: var(--bg-soft);
    padding: 20px;
    border-radius: 8px;
    margin: 16px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.95rem;
}

.price-row span {
    font-weight: 300;
    color: var(--text-light);
}

.price-row strong {
    font-weight: 700;
    color: var(--secondary-color);
}

.price-row.total-row {
    border-top: 2px solid var(--primary-color);
    margin-top: 8px;
    padding-top: 12px;
    font-size: 1.1rem;
}

.price-row.total-row strong {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.modal-submit-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent));
    color: white;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
    margin-top: 8px;
}

.modal-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.5);
}

.modal-note {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text-light);
    text-align: center;
    margin-top: 12px;
}

/* ================================
   TESTIMONIOS SECTION - CAROUSEL INFINITO
   ================================ */
.testimonios {
    padding: var(--section-padding);
    background: var(--bg-soft);
    overflow: hidden;
}

.testimonios .section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 24px;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    margin: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonials-track {
    display: flex;
    gap: 24px;
    width: fit-content;
}

/* Animación hacia la izquierda */
.track-left {
    animation: scrollLeft 60s linear infinite;
}

/* Animación hacia la derecha */
.track-right {
    animation: scrollRight 60s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Pausar al hover */
.testimonials-carousel:hover .testimonials-track {
    animation-play-state: paused;
}

/* Cards pequeñas de testimonios */
.testimonial-card-small {
    background: white;
    padding: 16px 18px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    min-width: 280px;
    max-width: 280px;
    min-height: 140px;
    max-height: 140px;
    border-top: 2px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.testimonial-card-small:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-rating {
    display: flex;
    gap: 3px;
}

.testimonial-rating i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

.testimonial-text {
    font-size: 0.68rem;
    line-height: 1.4;
    color: var(--text-light);
    font-weight: 300;
    font-style: italic;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.testimonial-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--primary-color);
}

.author-info h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--text-light);
}

/* ================================
   CALIFICACIONES SECTION
   ================================ */
.calificaciones {
    padding: var(--section-padding);
    background: white;
}

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.rating-card {
    background: white;
    padding: 32px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(201, 169, 97, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.rating-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.rating-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Logo personalizado en calificaciones */
.rating-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Ocultar fallback si hay logo */
.rating-icon:has(.rating-logo-img) .rating-icon-fallback {
    display: none;
}

/* Backgrounds blancos para logos reales */
.rating-icon.tripadvisor {
    background: #fff;
}

.rating-icon.booking {
    background: #fff;
}

.rating-icon.google {
    background: #fff;
}

.rating-icon.expedia {
    background: #fff;
}

.rating-icon.facebook {
    background: #fff;
}

.booking-logo {
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
}

.rating-card:hover .rating-icon {
    transform: scale(1.1) rotate(5deg);
}

.rating-card h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.rating-stars {
    display: flex;
    gap: 4px;
    color: #FFD700;
    font-size: 1rem;
}

.rating-score {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.rating-reviews {
    font-size: var(--text-xs);
    font-weight: 300;
    color: var(--text-light);
    margin: 0;
}

/* ================================
   GALERÍA SECTION
   ================================ */
.galeria {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.95), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.gallery-overlay h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 300;
}

/* ================================
   SOBRE RIOBAMBA SECTION
   ================================ */
.sobre-riobamba {
    position: relative;
    padding: var(--section-padding);
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.riobamba-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.riobamba-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.sobre-riobamba .container {
    position: relative;
    z-index: 2;
}

.riobamba-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.riobamba-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.riobamba-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.riobamba-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-item h3 {
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 300;
    margin: 0;
}

.riobamba-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 100%;
    min-height: 450px;
}

.riobamba-images {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.riobamba-img-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.riobamba-img-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.riobamba-img-grid .img-large {
    grid-row: 1 / 3;
}

.riobamba-img-grid .img-small {
    grid-row: span 1;
}

/* Photo Credit */
.photo-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 3;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* ================================
   UBICACIÓN SECTION
   ================================ */
.ubicacion {
    padding: var(--section-padding);
    background: var(--bg-soft);
}

.location-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

.location-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-card {
    background: white;
    padding: 16px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border-left: 4px solid var(--primary-color);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.info-card h3 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--secondary-color);
}

.info-card p {
    font-weight: 300;
    line-height: 1.5;
    font-size: var(--text-sm);
}

.info-card a {
    color: var(--primary-color);
    font-weight: 700;
}

.info-card a:hover {
    text-decoration: underline;
}

.location-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.15);
    width: 100%;
    min-height: 500px;
    order: 2;
    position: relative;
    border: 3px solid var(--gold-accent);
    transition: var(--transition-smooth);
}

.location-map:hover {
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(-5px);
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.map-container iframe {
    filter: grayscale(0%) contrast(1.1) brightness(1.05);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1.15) brightness(1.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* ================================
   CONTACTO SECTION
   ================================ */
.contacto {
    position: relative;
    padding: var(--section-padding);
    color: white;
    text-align: center;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

/* Background image para contacto */
.contacto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/experiencia.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

/* Overlay para contacto */
.contacto::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.contacto .container {
    position: relative;
    z-index: 2;
}

.contact-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.contact-btn.primary {
    background: linear-gradient(135deg, var(--gold-accent), var(--bronze-accent));
    color: white;
}

.contact-btn.secondary {
    background: white;
    color: var(--secondary-color);
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ================================
   FOOTER
   ================================ */
.footer {
    background: var(--charcoal);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

/* Ocultar texto si hay logo */
.footer-logo:has(.footer-logo-img) .footer-logo-text {
    display: none;
}

/* Mostrar texto si no hay logo */
.footer-logo-img[src="logo-footer.png"] {
    display: none;
}

.footer-section h3,
.footer-logo-text {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.footer-section h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(201, 169, 97, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 8px 0;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    margin: 5px 0;
}

.footer-bottom i {
    color: var(--primary-color);
}

/* ================================
   RESPONSIVE DESIGN (MOBILE FIRST)
   ================================ */

/* Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reservation-container {
        grid-template-columns: 1fr;
        margin-top: 30px;
        gap: 20px;
    }

    .reservation-form-wrapper {
        padding: 20px 16px;
    }

    .reservation-form {
        gap: 12px;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 80px;
    }

    .reservation-info {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .info-box {
        padding: 14px 10px;
    }

    .info-box h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .info-box p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .info-box-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .contact-direct {
        padding: 16px;
        grid-column: 1 / -1;
    }

    .location-info {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .riobamba-content {
        grid-template-columns: 1fr;
    }

    .riobamba-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets Small (max-width: 968px) */
@media (max-width: 968px) {
    :root {
        --section-padding: 80px 0;
    }

    .room-slide {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .room-slide.active {
        display: block;
    }

    .room-image {
        height: 280px;
    }

    .room-details {
        padding: 20px 16px;
    }

    .room-features {
        margin-bottom: 12px;
    }

    .room-features li {
        padding: 4px 0;
        font-size: 0.85rem;
    }

    .location-map {
        min-height: 400px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* REDUCIR ESPACIADO GENERAL EN MÓVIL */
    :root {
        --section-padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    /* Hero Video Responsive - MÁS COMPACTO */
    .hero {
        height: 90vh;
        min-height: 500px;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Asegurar que el video cubra toda el área en móvil */
        min-width: 100%;
        min-height: 100%;
    }

    /* HERO BOOKING SEARCH - MOBILE OPTIMIZED */
    .hero-booking-search {
        max-width: 100%;
        padding: 0 12px;
        margin-top: 32px;
    }

    .booking-bar {
        flex-direction: column;
        min-height: auto;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
    }

    .booking-field {
        padding: 16px 20px;
        border-bottom: 1px solid #e0e0e0;
        min-height: 70px;
        justify-content: center;
    }

    .booking-field:first-child {
        border-radius: 16px 16px 0 0;
    }

    .booking-field:last-of-type {
        border-bottom: none;
    }

    .booking-field label {
        font-size: 0.7rem;
        padding: 0;
        margin-bottom: 4px;
    }

    .booking-field-content {
        padding: 0;
        gap: 10px;
    }

    .booking-field-content i {
        font-size: 1.3rem;
    }

    .booking-display {
        font-size: 1rem;
        font-weight: 600;
    }

    .booking-divider {
        display: none;
    }

    /* HERO SEARCH BUTTON - MOBILE */
    .hero-search-btn {
        padding: 20px;
        border-radius: 0 0 16px 16px;
        min-height: 64px;
        font-size: 1.05rem;
        font-weight: 700;
    }

    .hero-search-btn i {
        font-size: 1.3rem;
    }

    .hero-search-btn span {
        font-size: 1.05rem;
        letter-spacing: 0.5px;
    }

    /* GUESTS DROPDOWN - MOBILE OPTIMIZED */
    .guests-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 70vh;
        overflow-y: auto;
        padding: 20px;
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .guests-dropdown.active {
        transform: translateY(0);
    }

    .guests-option {
        padding: 16px 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .guests-option:last-of-type {
        border-bottom: 1px solid #e5e5e5;
        margin-bottom: 12px;
    }

    .guests-label span {
        font-size: 1rem;
        font-weight: 700;
    }

    .guests-label small {
        font-size: 0.8rem;
    }

    .guest-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .guest-count {
        font-size: 1.1rem;
        min-width: 30px;
    }

    .guests-done-btn {
        padding: 16px;
        font-size: 1rem;
        margin-top: 16px;
    }

    /* FLATPICKR CALENDAR - MOBILE OPTIMIZED */
    .flatpickr-calendar {
        width: 100% !important;
        max-width: calc(100vw - 24px) !important;
        left: 12px !important;
        right: 12px !important;
        margin: 0 auto !important;
    }

    .flatpickr-months {
        padding: 12px !important;
    }

    .flatpickr-current-month {
        font-size: 1rem !important;
    }

    .flatpickr-day {
        max-width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 0.9rem !important;
    }

    .flatpickr-weekday {
        font-size: 0.75rem !important;
    }

    /* Close modal backdrop when dropdown/calendar open */
    .booking-field.active {
        z-index: 10001;
    }

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-form-row {
        grid-template-columns: 1fr;
    }

    .modal-body {
        padding: 24px 16px;
    }

    .modal-header {
        padding: 20px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .ratings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .riobamba-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-item {
        min-height: 100px;
        padding: 10px 8px;
    }

    .stat-item i {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .stat-item h3 {
        font-size: 1.2rem;
    }

    .stat-item p {
        font-size: 0.7rem;
    }

    /* OCULTAR IMÁGENES DE RIOBAMBA EN MÓVIL */
    .riobamba-images {
        display: none !important;
    }

    .riobamba-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sobre-riobamba {
        min-height: 400px;
    }

    .riobamba-text p {
        font-size: 0.9rem;
        margin-bottom: 12px;
        line-height: 1.6;
    }

    .riobamba-background {
        background-attachment: scroll;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(44, 62, 80, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .service-card {
        aspect-ratio: auto;
        min-height: 140px;
        padding: 12px 8px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .service-card h3 {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    .service-card p {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .ratings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .rating-card {
        padding: 18px 12px;
    }

    .rating-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .location-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .info-card {
        padding: 12px;
    }

    .location-map {
        min-height: 300px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    :root {
        --section-padding: 60px 0;
    }

    .reservation-form-wrapper {
        padding: 24px 16px;
    }

    .reservation-form {
        gap: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
    }

    .reservation-summary {
        padding: 16px;
        margin: 12px 0;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    /* ESPACIADO MUY COMPACTO PARA MÓVILES PEQUEÑOS */
    :root {
        --section-padding: 30px 0;
    }

    .container {
        padding: 0 12px;
    }

    .section-header {
        margin-bottom: 20px;
    }

    /* Hero Video en móviles pequeños - MÁS COMPACTO */
    .hero {
        height: 85vh;
        min-height: 450px;
    }

    .hero-video {
        /* En móviles pequeños, optimizar para portrait */
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .service-card {
        min-height: 120px;
        padding: 10px 6px;
    }

    .ratings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .rating-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .rating-card {
        padding: 16px 12px;
    }

    .location-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .slider-controls {
        gap: 10px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .room-details {
        padding: 20px 12px;
    }

    .info-card {
        padding: 10px;
    }

    .reservation-form-wrapper {
        padding: 16px 12px;
    }

    .riobamba-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .stat-item {
        min-height: 90px;
        padding: 8px;
    }

    .gallery-grid {
        gap: 10px;
    }

    h1 {
        font-size: var(--text-3xl);
    }

    h2 {
        font-size: var(--text-2xl);
    }

    h3 {
        font-size: var(--text-lg);
    }
}

/* ================================
   PRINT STYLES
   ================================ */
@media print {
    .navbar,
    .scroll-indicator,
    .slider-controls,
    .footer {
        display: none;
    }
}
