/*
 * Estilos globales modernos con tema oscuro y espacios en blanco
 */
* {
    box-sizing: border-box;
}

:root {
    --font-heading: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
    --cream: #f2e9d8;
    --cream-strong: #eadfc8;
    --cream-border: #f0f0f0;
    --ink: #111111;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    background: linear-gradient(to bottom, #1a1a1a, #2a2a2a);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Variables globales para ajustes rápidos de espacios y separación del toggle */
:root {
    --nav-toggle-gap: 0.5rem;
    --nav-toggle-gap-small: 0.25rem;
    --nav-toggle-gap-medium: 0.5rem;
    --nav-toggle-gap-large: 1rem;
    --ios-menu-max-width: 520px;
    --nav-height: 82px;
}

/*
 * Navbar moderno con efecto glassmorphism
 */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(90%, 1180px);
    background: linear-gradient(135deg, rgba(120, 120, 120, 0.45), rgba(70, 70, 70, 0.35));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: calc(0.75rem + env(safe-area-inset-top)) calc(1.4rem + env(safe-area-inset-right)) 0.75rem calc(1.4rem + env(safe-area-inset-left));
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
    position: fixed;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    transition: background 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.33);
    border-radius: 999px;
    overflow: visible;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    z-index: -1;
    border-radius: 999px;
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(105, 105, 105, 0.52), rgba(62, 62, 62, 0.42));
}

body.index-page {
    --section-cream: var(--cream);
    background: var(--cream);
    color: var(--ink);
}

/* Evitar banda oscura debajo del hero en index */
body.index-page .home-section {
    background: transparent;
    padding: 0;
}

body.index-page .navbar::before {
    background: linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

body.index-page .logo span,
body.index-page .nav-links a {
    color: #ffffff;
    text-shadow: none;
}

body.index-page .nav-links a::after {
    background: rgba(255, 255, 255, 0.8);
}

body.index-page .nav-links a:hover {
    color: #ffffff;
    text-shadow: none;
}

body.index-page .nav-toggle .bar {
    background: #ffffff;
}

body.index-page .nav-cta {
    background: #8a6b3a;
    border-color: #7a5f34;
}

body.index-page .nav-cta:hover {
    background: #765b31;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    order: 1;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-left {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    order: 2;
    margin-left: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    order: 3;
}

.logo img {
    display: none;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) saturate(1.2);
}

.logo span {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 2rem;
    color: #ffffff;
    letter-spacing: 0.015em;
    text-shadow: none;
}

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

.nav-links-left {
    justify-content: flex-start;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.78rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: none;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-more {
    position: relative;
}

.nav-more-toggle {
    background: none !important;
    border: 0 !important;
    color: #ffffff;
    font: inherit;
    font-family: var(--font-body);
    cursor: pointer;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1;
    position: relative;
    box-shadow: none !important;
    border-radius: 0 !important;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

body.index-page .nav-more-toggle,
body.index-page .nav-more-toggle:hover {
    color: #ffffff !important;
    text-shadow: none !important;
}

.nav-more-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    transition: width 0.3s ease;
}

.nav-more-toggle:hover {
    color: #ffffff;
    text-shadow: none;
}

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

.nav-more-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(35, 35, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 0.5rem;
    margin: 0.5rem 0 0 0;
    list-style: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
    display: none;
    z-index: 1200;
}

.nav-more.open .nav-more-menu {
    display: block;
}

.nav-more-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: #ffffff;
    font-family: var(--font-heading);
    text-decoration: none;
}

.nav-more-menu a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.85);
    transition: width 0.3s ease;
    will-change: width;
}

.nav-links a:hover {
    color: #ffffff;
    text-shadow: none;
}

.nav-links a:hover::after {
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
}

.lang-select select {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: var(--font-body);
    font-weight: 500;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: #c98a2e;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid #b97e2a;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.nav-cta:hover {
    background: #b27824;
}

/* Banderas mini en el selector */
.lang-select select option {
    font-size: 0.9rem;
    font-family: var(--font-body);
}

.lang-select select option .flag-mini {
    font-size: 0.7rem;
    vertical-align: middle;
    margin-right: 0.3rem;
}

.lang-select select:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(85, 107, 47, 0.6);
    box-shadow: 0 4px 15px rgba(85, 107, 47, 0.3), 0 0 0 1px rgba(85, 107, 47, 0.2);
    transform: translateY(-1px);
}

.lang-select select:focus {
    outline: none;
    border-color: rgba(85, 107, 47, 0.6);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(85, 107, 47, 0.3), 0 0 0 2px rgba(85, 107, 47, 0.2);
    transform: translateY(-1px);
}

.lang-select select:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(85, 107, 47, 0.3);
}

/* =========================
   HERO SECTION - Index con fondo dinámico
   ========================= */
.home-section .hero {
    color: #fff;
    text-align: center;
    padding: 8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.home-section .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/inicio/OlivosdelSol-288 (1).jpg') no-repeat center center, linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
    background-size: cover;
    background-attachment: scroll;
    z-index: 0;
}

.home-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 35%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: -1;
    transform: scale(1);
}

.home-section .hero-background.active {
    opacity: 1;
    animation: heroMicroZoom 30s linear forwards;
}

@keyframes heroMicroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.06);
    }
}

.home-section .hero-content {
    max-width: 900px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 3;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.home-section h1 {
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.home-section p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 1rem;
    opacity: 0.95;
}

/* Scroll down arrow */
.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    z-index: 5;
}

.scroll-down__icon {
    font-size: 1.3rem;
    line-height: 1;
}

.scroll-down:hover {
    transform: translateX(-50%) translateY(2px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.scroll-down--cream {
    position: static;
    margin: 1.25rem auto 0 auto;
    transform: none;
    background: var(--cream-strong);
    border-color: var(--cream-border);
    color: var(--ink);
    display: flex;
}

.scroll-down--cream:hover {
    transform: translateY(2px);
    background: var(--cream);
    border-color: var(--cream-border);
}

.index-page .scroll-down:not(.scroll-down--section-fixed) {
    display: none !important;
}

.scroll-down--section-fixed {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom));
    margin: 0;
    transform: translateX(-50%);
    z-index: 45;
    opacity: 0;
    pointer-events: none;
}

.scroll-down--section-fixed.is-active {
    opacity: 1;
    pointer-events: auto;
}

.scroll-down--gradient {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(26, 26, 26, 0.35);
    color: var(--ink);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: none;
}

.scroll-down--gradient:hover {
    transform: translateX(-50%) translateY(2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(26, 26, 26, 0.45);
}

/* Why Us section (index) */
.why-us-section {
    background: var(--section-cream);
    color: var(--ink);
    padding: 6rem 0;
}

.why-us-section p {
    color: #2c2c2c;
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.why-us-text .eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #5b5b5b;
    margin-bottom: 0.75rem;
}

.why-us-text h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0 0 1rem 0;
    color: var(--ink);
    text-shadow: none;
}

.why-us-text p {
    font-size: 1.05rem;
    color: #2c2c2c;
    margin: 0 0 1.5rem 0;
}

.why-us-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pill-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: var(--cream-strong);
    border: 1px solid var(--cream-border);
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.text-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    text-shadow: none;
}

.visit-cta .text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: var(--cream-strong);
    border: 1px solid var(--cream-border);
    line-height: 1;
}

.text-link:hover {
    text-decoration: underline;
}

.why-us-feature h3 {
    margin: 0 0 0.4rem 0;
    color: var(--ink);
}

.why-us-feature p {
    margin: 0;
    color: #2c2c2c;
}

.why-us-media img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    display: block;
}

/* Around Us section (index) */
.around-section {
    background: var(--section-cream);
    color: var(--ink);
    padding: 6rem 0;
}

.around-section p {
    color: #2c2c2c;
}

.around-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.around-text .eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.around-text h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0 0 1rem 0;
    color: var(--ink);
    text-shadow: none;
}

.around-text p {
    font-size: 1.05rem;
    color: #2c2c2c;
    margin: 0 0 1.5rem 0;
}

.around-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 0 0 2rem 0;
}

.around-item h3 {
    margin: 0 0 0.4rem 0;
    color: var(--ink);
}

.around-item p {
    margin: 0;
    color: #2c2c2c;
}

/* Card for around-us content */
.around-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.around-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.around-media img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    display: block;
}

/* Testimonials section (index) */
.testimonials-section {
    background: var(--section-cream);
    color: var(--ink);
    padding: 6rem 0;
}

.testimonials-section p {
    color: #2c2c2c;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-header h2 {
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.testimonials-header p {
    color: #2c2c2c;
    margin: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(235, 223, 200, 0.98), rgba(224, 210, 185, 0.98));
    border: 1px solid var(--cream-border);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.testimonial-quote {
    font-size: 1.05rem;
    color: var(--ink);
    margin: 0 0 1.5rem 0;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-name {
    font-weight: 700;
    color: var(--ink);
}

.testimonial-role {
    color: #2c2c2c;
    font-size: 0.95rem;
}

/* Visit section (index) */
.visit-section {
    background: var(--section-cream);
    color: var(--ink);
    padding: 6rem 0;
}

.visit-section p {
    color: #2c2c2c;
}

.visit-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

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

.visit-header h2 {
    color: var(--ink);
    margin-bottom: 0.6rem;
}

.visit-header p {
    color: #2c2c2c;
    margin: 0 0 1.2rem 0;
}

.visit-cta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pill-button--accent {
    background: #c98a2e;
    border-color: #b97e2a;
    color: #fff;
}

.pill-button--accent:hover {
    background: #b27824;
}

.visit-media img {
    width: 100%;
    height: clamp(240px, 52vw, 520px);
    object-fit: cover;
    object-position: center;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    display: block;
}

.visit-media {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

/* FAQ section (index) */
.faq-section {
    background: var(--section-cream);
    color: var(--ink);
    padding: 6rem 0;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.faq-intro h2 {
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.faq-intro p {
    color: #2c2c2c;
    margin: 0 0 1.5rem 0;
}

.faq-list {
    display: grid;
    gap: 1.5rem;
}

.faq-item h3 {
    margin: 0 0 0.4rem 0;
    color: var(--ink);
}

.faq-item p {
    margin: 0;
    color: #2c2c2c;
}

@media (max-width: 900px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
}

/* =========================
   SECCIONES GENERALES
   ========================= */
section {
    padding: 5rem 0;
    position: relative;
    border: none;
    margin: 0;
}

/* Secciones con transiciones suaves */
section {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 1), rgba(42, 42, 42, 1));
    color: #e0e0e0;
}

section:nth-child(odd) {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 1), rgba(32, 32, 32, 1));
}

section h2 {
    text-align: center;
    margin: 0 0 3rem 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, #556B2F, #708238);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #556B2F, #708238);
    border-radius: 2px;
}

/* =========================
    EXCURSIONES / GUIDES - Estilo único
    ========================= */
.tours-section h2,
#excursiones h2 {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* =========================
    SERVICIOS - Estilo único
    ========================= */
#services {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/san-juan-argentina-1.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
}

#services h2,
.services-section h2 {
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
    /*background: url('images/san-juan-argentina\ \(1\).jpg');*/
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: slowZoom 20s ease-in-out infinite;
    position: relative;
    padding: 2rem;
    border-radius: 20px;
}

.service-item {
    background: linear-gradient(135deg, rgba(230, 216, 192, 0.98), rgba(221, 205, 178, 0.98));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    color: #e0e0e0;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #556B2F, #708238);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 168, 142, 0.15);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item h3 {
    color: var(--ink);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.service-item p {
    color: #2c2c2c;
    line-height: 1.8;
    margin: 0;
}

/* =========================
   GALERÍA - Estilo único
   ========================= */
.gallery-section {
    background: var(--cream);
    color: var(--ink);
}

.gallery-section h2,
.experiences-section h2,
.reservations-section h2 {
    color: var(--ink);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-shadow: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.gallery-grid img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 168, 142, 0.4);
    border-color: #00a88e;
}

/* Lightbox mejorado */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8000;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================
   EXPERIENCIAS - Estilo único
   ========================= */
.experiences-section {
    background: var(--cream);
    color: var(--ink);
}

.experience-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.experience-item {
    background: #2a2a2a;
    padding: 2.5rem;
    border-left: 5px solid #556B2F;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    color: #e0e0e0;
}

.experience-item::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    color: rgba(85, 107, 47, 0.1);
    font-family: var(--font-heading);
    line-height: 1;
}

.experience-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(85, 107, 47, 0.15);
}

.experience-item h3 {
    margin-top: 0;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.experience-item p {
    color: #b0b0b0;
    line-height: 1.8;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* =========================
   RECOMENDACIONES
   ========================= */
#recommendations h2,
.recommendations-section h2 {
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.recommendation-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.recommendation-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 168, 142, 0.2);
}

.recommendation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 168, 142, 0.3);
    border-color: rgba(0, 168, 142, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.recommendation-item h3 {
    color: var(--ink);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.recommendation-item p {
    color: #2c2c2c;
    line-height: 1.8;
}

/* =========================
   RESERVAS
   ========================= */
.reservations-section {
    background: var(--cream);
    color: var(--ink);
}

.reservations-section h2,
#reservations h2 {
    color: var(--ink);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-shadow: none;
}

#reservation-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--cream-strong);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    border: 1px solid var(--cream-border);
    color: var(--ink);
}

.reservation-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.reservation-step.active {
    display: block;
}

.reservation-step h3 {
    color: var(--ink);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.reservation-step label {
    display: block;
    margin-top: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    font-size: 0.95rem;
    letter-spacing: -0.005em;
}

.reservation-step input[type="text"],
.reservation-step input[type="email"],
.reservation-step input[type="tel"],
.reservation-step input[type="date"],
.reservation-step input[type="number"] {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--cream-border);
    border-radius: 8px;
    background: #fff6e8;
    color: var(--ink);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

/* iOS date input indicator styling - keep picker but avoid overflow visual */
.reservation-step input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.95;
}

/* Estilo para campos requeridos */
.error-message {
    display: none;
    color: #ff4444;
    font-size: 0.85rem;
    margin-top: -0.8rem;
    margin-bottom: 1rem;
}

.reservation-step input.error {
    border-color: #ff4444;
}

.reservation-step input.valid {
    border-color: #708238;
}

/* Asterisco para campos requeridos */
.reservation-step input[required] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Ctext x='2' y='9' fill='%23708238' font-size='10'%3E*%3C/text%3E%3C/svg%3E");
    background-position: right 8px center;
    background-repeat: no-repeat;
    padding-right: 30px;
}

.reservation-step input:focus {
    outline: none;
    border-color: #8d7a5b;
    background-color: #fffaf2;
    box-shadow: 0 0 0 3px rgba(141, 122, 91, 0.2);
}

.reservation-step input[type="radio"] {
    margin-right: 0.5rem;
    accent-color: #556B2F;
}

/* Métodos de pago */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.payment-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #1a1a1a;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: rgba(85, 107, 47, 0.5);
    background: rgba(85, 107, 47, 0.05);
}

.payment-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    accent-color: #556B2F;
    cursor: pointer;
}

.payment-option input[type="radio"]:checked~.payment-option-content {
    color: #fff;
}

.payment-option input[type="radio"]:checked {
    accent-color: #556B2F;
}

.payment-option input[type="radio"]:checked~.payment-option-content strong {
    color: #fff;
}

/* Resaltar la opción seleccionada usando JavaScript (clase agregada dinámicamente) */
.payment-option.selected {
    border-color: #556B2F;
    background: rgba(85, 107, 47, 0.1);
    box-shadow: 0 0 0 3px rgba(85, 107, 47, 0.2);
}

.payment-option-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.payment-option-content strong {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.payment-option-content span {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.payment-form-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.payment-form-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .card-row {
        grid-template-columns: 1fr;
    }
}

.reservation-step button {
    margin-top: 1.5rem;
    margin-right: 1rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #00a88e, #00d4b8);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: -0.005em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 142, 0.3);
}

.reservation-step button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 142, 0.4);
}

.reservation-step button:active {
    transform: translateY(0);
}

/* Removed WhatsApp-specific button styles (flow moved server-side). */

/* =========================
   CONTACTO MODERNO
   ========================= */
.contact-section {
    padding: 6rem 2rem;
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
    overflow: hidden;
}

.contact-section h2,
#contact h2 {
    color: var(--ink);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 0;
    z-index: -1;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #556B2F, #708238);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.7;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(230, 216, 192, 0.98), rgba(221, 205, 178, 0.98));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--cream-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    color: var(--ink);
}

.contact-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(238, 226, 205, 0.98), rgba(228, 214, 190, 0.98));
    box-shadow: 0 15px 40px rgba(85, 107, 47, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #556B2F, #708238);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.contact-card h3 {
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.contact-card p {
    color: #2b2b2b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.contact-link:hover {
    background: var(--cream-strong);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(85, 107, 47, 0.15);
}

.location-showcase {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.location-map-panel {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #121516;
    min-height: 680px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 18px 35px rgba(0, 0, 0, 0.35);
}

.location-map-panel iframe {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    min-height: 680px;
    border: 0;
    display: block;
    filter: grayscale(1) invert(0.89) hue-rotate(172deg) saturate(1.05) brightness(0.82) contrast(1.12);
}

.location-map-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: transparent;
}

.location-coordinates {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 2;
    background: rgba(24, 20, 15, 0.9);
    color: #fff;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(233, 205, 152, 0.26);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.location-coordinates span {
    display: block;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: #f0c88a;
    margin-bottom: 0.2rem;
}

.location-coordinates strong {
    font-size: 0.95rem;
    font-weight: 600;
}

.location-map-cta {
    position: absolute;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%);
    z-index: 2;
    text-decoration: none;
    color: #f7f2e8;
    background: rgba(18, 18, 18, 0.84);
    border-radius: 999px;
    padding: 0.75rem 1.1rem;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(233, 205, 152, 0.34);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 8px 26px rgba(0, 0, 0, 0.45), 0 0 24px rgba(233, 205, 152, 0.16);
}

.location-map-cta:hover {
    background: rgba(12, 12, 12, 0.9);
}

.location-info-panel {
    background: linear-gradient(135deg, rgba(230, 216, 192, 0.98), rgba(221, 205, 178, 0.98));
    border: 1px solid var(--cream-border);
    border-radius: 18px;
    padding: 2rem;
    color: var(--ink);
}

.location-kicker {
    margin: 0 0 0.6rem 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.8rem;
    font-weight: 700;
    color: #d65f16;
}

.location-info-panel h3 {
    margin: 0 0 1rem 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.08;
    color: var(--ink);
}

.location-copy {
    margin: 0 0 1.4rem 0;
    color: #2f2f2f;
    font-size: 1.1rem;
    line-height: 1.65;
}

.location-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.location-info-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--cream-border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
}

.location-info-card--full {
    grid-column: 1 / -1;
}

.location-info-card h4 {
    margin: 0 0 0.4rem 0;
    font-size: 1.15rem;
    color: var(--ink);
}

.location-info-card p {
    margin: 0;
    color: #2f2f2f;
    line-height: 1.6;
}

.location-info-card a {
    color: #27476d;
    text-decoration: none;
    font-weight: 600;
}

.getting-here {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(60, 46, 28, 0.2);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.getting-here h4 {
    margin: 0 0 0.85rem 0;
    font-size: 1.45rem;
    color: var(--ink);
}

.getting-here-item {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 1rem;
    align-items: start;
    position: relative;
}

.getting-here-item + .getting-here-item {
    margin-top: 1.35rem;
}

.getting-here-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 32px;
    bottom: -1.2rem;
    width: 2px;
    height: auto;
    background: rgba(31, 31, 31, 0.52);
}

.getting-here-icon {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.getting-here-icon svg {
    width: 22px;
    height: 22px;
    fill: #111111;
}

.getting-here-body {
    min-width: 0;
}

.getting-here-body h5 {
    margin: 0 0 0.45rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f1f1f;
    line-height: 1.25;
}

.getting-here-body ul {
    margin: 0;
    padding-left: 1.05rem;
    color: #2f2f2f;
    line-height: 1.65;
}

.location-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(60, 46, 28, 0.2);
}

.location-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.location-action--primary {
    background: #e7671e;
    color: #fff;
    border-color: #d15914;
}

.location-action--primary:hover {
    background: #d15914;
}

.location-action--ghost {
    background: rgba(255, 255, 255, 0.5);
    color: #1f1f1f;
    border-color: var(--cream-border);
}

.location-action--ghost:hover {
    background: rgba(255, 255, 255, 0.72);
}

.social-section {
    text-align: center;
    margin-top: 3rem;
}

.social-section h3 {
    color: #000000;
    font-size: 1.85rem;
    font-weight: 500;
    margin-bottom: 1.3rem;
    letter-spacing: -0.01em;
    font-family: var(--font-heading);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 0.75rem;
}

.social-platform {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0.95rem;
    background: linear-gradient(135deg, rgba(55, 61, 71, 0.96), rgba(34, 39, 47, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 10px;
    text-decoration: none;
    color: #f1f1f1;
    transition: all 0.3s ease;
    min-width: 0;
}

.social-platform:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.35);
}

.platform-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.platform-icon.tripadvisor {
    background: linear-gradient(135deg, #47c78d, #2e9e69);
}

.platform-icon.airbnb {
    background: linear-gradient(135deg, #f56f6a, #d84d4a);
}

.platform-icon.instagram {
    background: linear-gradient(135deg, #8a57f0, #ea4b7f);
}

.platform-icon svg {
    width: 18px;
    height: 18px;
    fill: white;
}

.platform-info h4 {
    color: #f6f6f6;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.005em;
    text-align: left;
}

.platform-info p {
    color: #d2d6dc;
    font-size: 0.78rem;
    margin: 0.12rem 0 0 0;
    text-align: left;
    line-height: 1.2;
}

@media (max-width: 1100px) {
    .location-showcase {
        grid-template-columns: 1fr;
    }

    .location-map-panel,
    .location-map-panel iframe {
        min-height: 460px;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .location-info-cards {
        grid-template-columns: 1fr;
    }

    .location-map-panel,
    .location-map-panel iframe {
        min-height: 360px;
    }

    .location-info-panel {
        padding: 1.5rem;
    }

    .getting-here-item {
        grid-template-columns: 26px minmax(0, 1fr);
        column-gap: 0.8rem;
    }

    .getting-here-item:not(:last-child)::after {
        left: 12px;
        top: 28px;
        bottom: -1rem;
    }

    .getting-here-icon {
        width: 24px;
        height: 24px;
    }

    .getting-here-icon svg {
        width: 20px;
        height: 20px;
    }

    .location-coordinates {
        right: auto;
        left: 1rem;
        top: 1rem;
        padding: 0.6rem 0.7rem;
    }

    .location-actions {
        grid-template-columns: 1fr;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .social-platform {
        width: 100%;
        max-width: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-info,
    .footer-contact,
    .footer-social {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    footer {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .social-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    .hotel-phone {
        font-size: 1.3rem;
    }
}

/* =========================
   FOOTER
   ========================= */
footer {
    text-align: center;
    padding: 1rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #e0e0e0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/san-juan-argentina-1.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.1;
    z-index: -1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.footer-info {
    text-align: left;
}

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

.footer-social {
    text-align: right;
}

.hotel-phone {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fcfbfa;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.hotel-address {
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 2.0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.social-link:hover {
    background: rgba(85, 107, 47, 0.2);
    border-color: rgba(85, 107, 47, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(85, 107, 47, 0.2);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* =========================
   PRELOADER
   ========================= */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

/* En página de reservas (booking): preloader crema para no mostrar franja negra al ocultarse */
body.reservations-page.booking-page #preloader {
    background: var(--cream);
}

.spinner {
    border: 4px solid rgba(85, 107, 47, 0.2);
    border-top: 4px solid #556B2F;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* =========================
   RESPONSIVE NAVBAR
   ========================= */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle .bar {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle:hover .bar {
    background: #fff;
}

@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 860px) {
    .nav-links:not(.ios-menu .nav-links) {
        display: none !important;
    }

    .nav-toggle {
        display: flex !important;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
        margin-left: 1rem;
        flex-direction: column;
        gap: 4px;
        z-index: 1000;
        position: relative;
    }

    .nav-toggle .bar {
        display: block;
        width: 28px;
        height: 3px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }

    .nav-toggle:hover .bar {
        background: #fff;
        box-shadow: 0 2px 6px rgba(255, 255, 255, 0.3);
    }

    .nav-cta {
        display: none !important;
    }

    .logo span {
        font-size: 1rem;
    }
}

/* Asegurar que el botón sea visible en todos los dispositivos móviles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 480px) {
    .nav-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 6px;
    }
    
    .nav-toggle .bar {
        width: 25px;
        height: 2px;
    }
}

/* =========================
   iOS-STYLE MOBILE MENU - MEJORADO
   ========================= */
.ios-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 8000;
    animation: fadeIn 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ios-menu {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 8000;
    pointer-events: none;
    padding: 16px;
    padding-top: calc(var(--nav-height) + env(safe-area-inset-top));
}

.ios-menu[data-open="true"] {
    pointer-events: all;
}

.ios-menu-sheet {
    width: min(420px, 92vw);
    max-height: calc(100dvh - var(--nav-height) - 32px - env(safe-area-inset-top));
    overflow-y: auto;
}

.ios-menu-sheet {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 44px 16px 16px 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(120, 120, 120, 0.45), rgba(70, 70, 70, 0.35));
    backdrop-filter: saturate(200%) blur(20px);
    -webkit-backdrop-filter: saturate(200%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.33);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(14px) scale(0.99);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
    pointer-events: all;
    align-items: stretch;
    justify-content: center;
    position: relative;
}

.ios-menu[data-open="true"] .ios-menu-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ios-menu .nav-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    margin: 0 0 16px 0;
}

.ios-menu .nav-links li {
    list-style: none;
}

.ios-menu .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ios-menu .nav-links a:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateX(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.12);
}

.ios-menu .nav-links a::after {
    content: "";
    display: none;
}

.ios-menu .lang-select {
    display: block;
    margin: 16px 0 8px 0;
}

.ios-menu .lang-select select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.ios-menu .lang-select select:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(85, 107, 47, 0.6);
}

.ios-menu-close {
    position: relative;
    margin: 8px auto 0 auto;
    width: auto;
    min-width: 120px;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ios-menu-close:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.16);
}

.ios-menu-backdrop[hidden],
.ios-menu[hidden] {
    display: none !important;
}

/* Responsive específico para el menú móvil */
@media (max-width: 480px) {
    :root {
        --nav-height: 64px;
    }

    .ios-menu-sheet {
        width: 94vw;
        margin: 0;
        padding: 40px 14px 14px 14px;
        border-radius: 14px;
    }
    
    .ios-menu .nav-links a {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .ios-menu-close {
        width: 32px;
        height: 32px;
        top: 10px;
        right: 10px;
        font-size: 1.05rem;
    }
}

/* =========================
   RESPONSIVE GENERAL
   ========================= */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .home-section .hero {
        padding: calc(var(--nav-height) + env(safe-area-inset-top) + 1.5rem) 1rem 2rem;
        min-height: 100svh;
        background-attachment: scroll;
    }

    .home-section .hero-content {
        width: min(100%, 900px);
        padding: 1.35rem 1.1rem;
    }

    .home-section .hero-background {
        background-position: center center;
    }

    .home-section .hero-background.active {
        animation: heroMicroZoomMobile 30s linear forwards;
    }

    .services-list,
    .gallery-grid,
    .experience-list,
    .recommendation-list {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .gallery-grid img {
        height: 240px;
    }

    #reservation-form {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .service-item,
    .experience-item,
    .recommendation-item {
        padding: 1.5rem;
    }

    body.gallery-page .gallery-section {
        padding-top: calc(var(--nav-height) + env(safe-area-inset-top) + 1.5rem);
    }

    body.recommendations-page .recommendations-section {
        padding-top: calc(var(--nav-height) + env(safe-area-inset-top) + 1.5rem);
    }

    body.contact-page .contact-section {
        padding-top: calc(var(--nav-height) + env(safe-area-inset-top) + 1.5rem);
    }
}

@keyframes heroMicroZoomMobile {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.02);
    }
}

@supports (-webkit-touch-callout: none) {
    .home-section .hero {
        min-height: 100svh;
        padding-top: calc(var(--nav-height) + env(safe-area-inset-top) + 1.5rem);
    }

    .home-section .hero::before {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .logo img {
        height: 35px;
    }

    .logo span {
        font-size: 0.9rem;
    }

    section h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .home-section .hero-content {
        padding: 1.5rem;
    }

    #reservation-form {
        padding: 1.5rem 1rem;
    }
}

/* =========================
   ESTILOS ESPECÍFICOS POR PÁGINA
   ========================= */

/* Página de Servicios - Estilo único */
body.services-page {
    background: #1a1a1a;
}

body.services-page .services-section {
    background: var(--cream);
    padding: 6rem 0;
}

body.services-page .service-item {
    background: linear-gradient(135deg, rgba(230, 216, 192, 0.98), rgba(221, 205, 178, 0.98));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--cream-border);
}

body.services-page .service-item:hover {
    border-color: var(--cream-border);
    background: linear-gradient(135deg, rgba(238, 226, 205, 0.98), rgba(228, 214, 190, 0.98));
}

body.services-page footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #aaa;
}

/* Página de Galería - Estilo único */
body.gallery-page {
    background: var(--cream);
}

body.gallery-page .gallery-section {
    background: var(--cream);
    padding: 6rem 0;
}

body.gallery-page .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

body.gallery-page .gallery-grid img {
    height: 320px;
    border-radius: 16px;
}

body.gallery-page h2 {
    color: var(--ink);
    margin-bottom: 4rem;
}

body.gallery-page footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #2c2c2c;
}

body.gallery-page footer .hotel-address,
body.gallery-page footer .footer-contact,
body.gallery-page footer .footer-contact p,
body.gallery-page footer .footer-social,
body.gallery-page footer .footer-social h4,
body.gallery-page footer .hotel-phone,
body.gallery-page footer .social-links {
    color: #2c2c2c;
}

/* Página de Experiencias - Estilo único */
body.experiences-page {
    background: #1a1a1a;
}

body.experiences-page .experiences-section {
    background: var(--cream);
    padding: 6rem 0;
}

body.experiences-page .experience-item {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

body.experiences-page .experience-item:hover {
    background: #2a2a2a;
    box-shadow: 0 10px 35px rgba(0, 168, 142, 0.3);
}

body.experiences-page footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #aaa;
}

/* Página Index - Estilo único */
body.index-page section:nth-child(2) {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%), url('images/san-juan-argentina-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

@keyframes slowZoom {
    0% {
        background-size: 120% 120%;
    }

    50% {
        background-size: 140% 140%;
    }

    100% {
        background-size: 120% 120%;
    }
}

body.index-page section:nth-child(3) {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 1), rgba(32, 32, 32, 1));
}

body.index-page section:nth-child(4) {
    background: linear-gradient(to bottom, rgba(32, 32, 32, 1), rgba(26, 26, 26, 1));
}

body.index-page section:nth-child(5) {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 1), rgba(32, 32, 32, 1));
}

body.index-page section:nth-child(6) {
    background: var(--cream);
}

body.index-page section:nth-child(7) {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 1), rgba(32, 32, 32, 1));
}

body.index-page section:nth-child(8) {
    background: var(--cream);
}

/* Ensure around-us keeps the hero-style background on index */
body.index-page #why-us {
    background: var(--cream);
}

/* Ensure all index sections keep cream background regardless of DOM order changes. */
body.index-page #home,
body.index-page #why-us,
body.index-page #around-us,
body.index-page #testimonios,
body.index-page #visit-us,
body.index-page #faq {
    background: var(--section-cream) !important;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* =========================
   EXPERIENCIAS HORIZONTALES NUEVAS
   ========================= */
.horizontal-experiences {
    padding: 4rem 0;
    background: #1a1a1a;
    overflow: hidden;
    position: relative;
}

.horizontal-experiences h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #e0e0e0;
}

.experiences-scroll {
    display: flex;
    gap: 2rem;
    animation: scrollLeft 30s linear infinite;
    padding: 0 2rem;
}

.experience-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    min-width: 350px;
    flex-shrink: 0;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(85, 107, 47, 0.2);
}

.experience-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.experience-card p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 300;
}

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

@media (max-width: 768px) {
    .experiences-scroll {
        animation-duration: 20s;
    }
    
    .experience-card {
        min-width: 280px;
        padding: 1.5rem;
    }
}

/* =========================
   IMAGE VIEWER - GALERÍA
   ========================= */
.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.image-viewer.active {
    opacity: 1;
    visibility: visible;
}

.image-viewer img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomInViewer 0.3s ease;
}

@keyframes zoomInViewer {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn,
.nav-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close-btn {
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn {
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}

.close-btn:hover,
.nav-btn:hover {
    background: rgba(85, 107, 47, 0.3);
    border-color: rgba(85, 107, 47, 0.5);
    transform: scale(1.1);
}

.close-btn:active,
.nav-btn:active {
    transform: scale(0.95);
}

/* =========================
   PÁGINAS ESPECÍFICAS ADICIONALES
   ========================= */

/* Página de Contacto - Estilo único */
body.contact-page {
    background: #e1d3b6;
}

body.contact-page .contact-section {
    background: #e1d3b6;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 6rem 2rem;
    min-height: calc(100vh - 72px);
}

body.contact-page .contact-container {
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    padding: 1.5rem 0;
}

body.contact-page .contact-header p {
    color: #1f1f1f;
}

body.contact-page .contact-header h2 {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: #000000 !important;
    background-clip: initial;
    color: #000000 !important;
    text-shadow: none;
}

body.contact-page .location-info-panel {
    background: #ddd8cb;
    border-color: rgba(90, 72, 45, 0.24);
    color: #111111;
}

body.contact-page .location-kicker {
    color: #8a4a16;
}

body.contact-page .location-info-panel h3,
body.contact-page .getting-here h4,
body.contact-page .getting-here-body h5 {
    color: #111111;
}

body.contact-page .location-copy,
body.contact-page .location-info-card p,
body.contact-page .getting-here-body ul {
    color: #1f1f1f;
}

body.contact-page .location-info-card {
    background: rgba(255, 255, 255, 0.34);
    border-color: rgba(90, 72, 45, 0.24);
}

body.contact-page .location-info-card h4 {
    color: #111111;
}

body.contact-page .location-info-card a {
    color: #223f63;
}

body.contact-page .getting-here {
    border-top-color: rgba(90, 72, 45, 0.24);
}

body.contact-page .getting-here-item:not(:last-child)::after {
    background: rgba(40, 35, 26, 0.45);
}

body.contact-page .getting-here-icon svg {
    fill: #161616;
}

body.contact-page .location-actions {
    border-top-color: rgba(90, 72, 45, 0.24);
}

body.contact-page .location-action--ghost {
    background: rgba(255, 255, 255, 0.42);
    color: #111111;
    border-color: rgba(90, 72, 45, 0.24);
}

body.contact-page .location-action--ghost:hover {
    background: rgba(255, 255, 255, 0.58);
}

body.contact-page .social-section h3 {
    color: #111111;
}

body.contact-page footer {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.94), rgba(32, 32, 32, 0.94));
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #f2f2f2;
    padding: 2rem 1.5rem 1.1rem;
}

body.contact-page footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(16, 16, 16, 0.72), rgba(16, 16, 16, 0.72)),
                url('images/san-juan-argentina-1.jpg') center/cover no-repeat;
    opacity: 1;
    z-index: -1;
}

body.contact-page footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

body.contact-page footer .footer-info {
    text-align: left;
}

body.contact-page footer .footer-contact {
    text-align: center;
}

body.contact-page footer .footer-social {
    text-align: right;
}

body.contact-page footer .hotel-address,
body.contact-page footer .footer-contact p {
    color: rgba(245, 245, 245, 0.86);
    margin: 0;
}

body.contact-page footer .footer-contact h4,
body.contact-page footer .footer-social h4 {
    color: #ffffff;
    margin: 0 0 0.3rem 0;
}

body.contact-page footer .hotel-phone {
    color: #ffffff;
    font-weight: 700;
}

body.contact-page footer .social-links {
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.5rem;
    align-items: center;
}

body.contact-page footer .social-link {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.3);
}

body.contact-page footer .social-link:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: none;
}

body.contact-page footer > p {
    margin: 0.9rem 0 0;
    color: rgba(245, 245, 245, 0.92);
    text-align: center;
    font-weight: 600;
}

@media (max-width: 900px) {
    body.contact-page footer .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    body.contact-page footer .footer-info,
    body.contact-page footer .footer-contact,
    body.contact-page footer .footer-social {
        text-align: center;
    }

    body.contact-page footer .social-links {
        justify-content: center;
    }
}

/* Página de Recomendaciones - Estilo único */
body.recommendations-page {
    background: var(--cream);
}

body.recommendations-page .recommendations-section {
    background: var(--cream);
    padding: 6rem 2rem;
}

.recommendations-section {
    background: var(--cream);
    color: var(--ink);
}

body.recommendations-page .recommendation-item {
    background: var(--cream-strong);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--cream-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body.recommendations-page .recommendation-item:hover {
    background: var(--cream);
    border-color: var(--cream-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

body.recommendations-page footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer oscuro unificado para inicio, galeria, recomendaciones y contacto */
body.index-page footer,
body.gallery-page footer,
body.recommendations-page footer,
body.contact-page footer {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 45%, #222222 100%);
    color: #f2f2f2;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.index-page footer::before,
body.gallery-page footer::before,
body.recommendations-page footer::before,
body.contact-page footer::before {
    display: none;
}

body.index-page footer .hotel-address,
body.index-page footer .footer-contact,
body.index-page footer .footer-contact h4,
body.index-page footer .footer-contact p,
body.index-page footer .footer-social,
body.index-page footer .footer-social h4,
body.index-page footer .hotel-phone,
body.index-page footer a,
body.index-page footer .social-link,
body.gallery-page footer .hotel-address,
body.gallery-page footer .footer-contact,
body.gallery-page footer .footer-contact h4,
body.gallery-page footer .footer-contact p,
body.gallery-page footer .footer-social,
body.gallery-page footer .footer-social h4,
body.gallery-page footer .hotel-phone,
body.gallery-page footer a,
body.gallery-page footer .social-link,
body.recommendations-page footer .hotel-address,
body.recommendations-page footer .footer-contact,
body.recommendations-page footer .footer-contact h4,
body.recommendations-page footer .footer-contact p,
body.recommendations-page footer .footer-social,
body.recommendations-page footer .footer-social h4,
body.recommendations-page footer .hotel-phone,
body.recommendations-page footer a,
body.recommendations-page footer .social-link,
body.contact-page footer .hotel-address,
body.contact-page footer .footer-contact,
body.contact-page footer .footer-contact h4,
body.contact-page footer .footer-contact p,
body.contact-page footer .footer-social,
body.contact-page footer .footer-social h4,
body.contact-page footer .hotel-phone,
body.contact-page footer a,
body.contact-page footer .social-link {
    color: #f2f2f2;
}

body.contact-page footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding-bottom: 0;
    border-bottom: 0;
}

body.contact-page footer .footer-info {
    text-align: left;
}

body.contact-page footer .footer-contact {
    text-align: center;
}

body.contact-page footer .footer-social {
    text-align: right;
}

body.contact-page footer .social-links {
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

body.contact-page footer .social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.contact-page footer .social-link:hover {
    background: rgba(85, 107, 47, 0.2);
    border-color: rgba(85, 107, 47, 0.4);
    box-shadow: 0 8px 25px rgba(85, 107, 47, 0.2);
}

/* Recomendaciones estilo storytelling */
.wine-story {
    max-width: none;
    margin: 0;
    width: 100%;
}

.wine-story__header {
    margin-bottom: 2.25rem;
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
}

.wine-story__eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #d26d35;
    margin-bottom: 0.85rem;
    text-align: center;
}

.wine-story__title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.5rem;
}

.wine-story__title-row > div {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.wine-story h2 {
    color: #1f1f1f;
    margin: 0 0 0.75rem 0;
    text-shadow: none;
    text-align: center;
}

#recommendations.wine-story h2 {
    color: #1f1f1f;
    text-shadow: none;
}

.wine-story__lead {
    margin: 0;
    max-width: 760px;
    color: #4a4a4a;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

.wine-story__map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #d2c3a8;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    text-decoration: none;
    color: #333333;
    background: #f3ebdc;
    white-space: nowrap;
    font-weight: 600;
}

.wine-story__map-btn:hover {
    border-color: #beab89;
    background: #ece1cd;
}

.wine-story__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
    max-width: 1380px;
    margin: 0 auto;
}

.wine-stop {
    background: #f6efe1;
    border: 1px solid #e2d5bd;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.wine-stop__media {
    margin: 0;
    position: relative;
    aspect-ratio: 16 / 10;
}

.wine-stop__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wine-stop__media figcaption {
    position: absolute;
    left: 0.8rem;
    bottom: 0.8rem;
    margin: 0;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(20, 20, 20, 0.75);
    color: #f8f4ea;
    font-size: 0.65rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.wine-stop__body {
    padding: 1rem 1.1rem 1.1rem;
}

.wine-stop__body h3 {
    margin: 0 0 0.5rem 0;
    color: #1b1b1b;
}

.wine-stop__body p {
    margin: 0;
    color: #545454;
    line-height: 1.65;
}

.wine-stop__meta {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wine-stop__meta a {
    text-decoration: none;
    color: #cf6534;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
}

.wine-stop__meta span {
    color: #cf6534;
    font-weight: 700;
    font-size: 0.78rem;
}

@media (max-width: 900px) {
    .wine-story__title-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .wine-story__grid {
        grid-template-columns: 1fr;
    }
}

/* Página de Reservas - Estilo único */
body.reservations-page {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

/* Página de reservas con flujo de booking: sin franja oscura, fondo crema */
body.reservations-page.booking-page {
    background: var(--cream) !important;
}

body.reservations-page .reservations-section {
    background: var(--cream);
    padding: 6rem 2rem;
}

body.reservations-page #reservation-form {
    background: var(--cream-strong);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--cream-border);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

body.reservations-page footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================
   ESTILOS DE BOTONES UNIFICADOS
   ========================= */
.btn-primary,
.btn-secondary,
button:not(.nav-toggle):not(.ios-menu-close):not(.nav-more-toggle):not(.reservation-step button),
input[type="submit"],
input[type="button"] {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #556B2F, #708238);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: -0.005em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(85, 107, 47, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover,
button:not(.nav-toggle):not(.ios-menu-close):not(.nav-more-toggle):not(.reservation-step button):hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background: linear-gradient(135deg, #6b813f, #7d9248);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(85, 107, 47, 0.4);
}

.btn-primary:active,
button:not(.nav-toggle):not(.ios-menu-close):not(.nav-more-toggle):not(.reservation-step button):active,
input[type="submit"]:active,
input[type="button"]:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(85, 107, 47, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(85, 107, 47, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* =========================
   TRANSICIONES ESTABLES Y SOMBRAS MODERNAS
   ========================= */

/* Sombras modernas simplificadas para elementos */
.modern-shadow-small {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modern-shadow-medium {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.modern-shadow-large {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.modern-shadow-hover {
    transition: all 0.3s ease;
}

.modern-shadow-hover:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Transiciones suaves entre páginas */
section {
    transition: background 0.5s ease;
}

.service-item,
.experience-item,
.recommendation-item,
.contact-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Transiciones suaves entre páginas */
body {
    transition: background 0.5s ease;
}

/* Efectos glassmorphism mejorados */
.glassmorphism-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Efectos mejorados para enlaces sin interferir con navbar */
.nav-links a {
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    transform: translateY(-1px);
}

/* Efectos de sombra simplificados */
.dynamic-shadow {
    position: relative;
}

/* Animaciones de entrada */
@keyframes fadeInUpDelayed {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUpDelayed 0.6s ease forwards;
}

/* =========================
   OPTIMIZACIONES PARA MÓVIL
   ========================= */

/* Ajustes para transiciones en móvil */
@media (max-width: 768px) {
    .modern-shadow-hover:hover {
        transform: translateY(-1px);
    }
    
    .modern-shadow-large {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
}

/* Ajustes específicos para pantallas muy pequeñas */
@media (max-width: 480px) {
    .modern-shadow-small,
    .modern-shadow-medium,
    .modern-shadow-large {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

/* =========================
   MEJORAS RESPONSIVE GENERALES
   ========================= */
@media (max-width: 1024px) {
    .home-section .hero {
        padding: 6rem 1.5rem;
    }
    
    .contact-container,
    #reservation-form {
        margin: 0 2rem;
    }
}

/* =========================
   iPad Responsive (Portrait + Landscape)
   Targets iPad 9/10, Air, Pro 11/12.9
   ========================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .navbar {
        padding: 0.9rem 1.25rem;
    }

    .logo img {
        height: 40px;
    }

    .logo span {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 0.9rem;
        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 0.95rem;
        padding: 0.35rem 0;
    }

    section {
        padding: 4.5rem 0;
    }

    .home-section .hero {
        min-height: 75vh;
        padding: 6rem 2rem;
    }

    .home-section .hero-content {
        padding: 2.2rem;
        max-width: 820px;
    }

    .services-list,
    .gallery-grid,
    .experience-list,
    .recommendation-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
        padding: 0 1.5rem;
    }

    .gallery-grid img {
        height: 260px;
    }

    #reservation-form {
        max-width: 720px;
        margin: 0 auto;
        padding: 2.5rem;
    }

    .contact-container {
        margin: 0 1.5rem;
        padding: 2.5rem;
    }

    footer {
        padding: 2.5rem 1.5rem;
    }

    .why-us-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .around-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

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

    .visit-container {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .why-us-container {
        grid-template-columns: 1fr;
    }

    .why-us-media {
        order: -1;
    }

    .around-container {
        grid-template-columns: 1fr;
    }

    .around-media {
        order: -1;
    }

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

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

    .visit-container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navegación móvil mejorada */
    .nav-links {
        display: none;
    }
    
    /* Secciones con mejor espaciado */
    section {
        padding: 4rem 0;
    }
    
    /* Grid responsive unificado */
    .services-list,
    .gallery-grid,
    .experience-list,
    .recommendation-list {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    /* Image viewer en móvil */
    .close-btn,
    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .close-btn {
        top: 1rem;
        right: 1rem;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .prev-btn {
        left: 1rem;
    }
    
    .next-btn {
        right: 1rem;
    }
    
    /* Contenedores responsive */
    .contact-container,
    #reservation-form {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    /* Botones más grandes en móvil */
    .btn-primary,
    .btn-secondary,
    button:not(.nav-toggle):not(.ios-menu-close):not(.nav-more-toggle) {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    /* Optimizar elementos con transición en móvil */
    .service-item,
    .experience-item,
    .recommendation-item,
    .contact-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
}

@media (max-width: 480px) {
    /* Espaciado más compacto */
    section {
        padding: 3rem 0;
    }
    
    .contact-container,
    #reservation-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    /* Image viewer en pantallas muy pequeñas */
    .image-viewer img {
        max-width: 95%;
        max-height: 85%;
    }
    
    /* Elementos más compactos */
    .service-item,
    .experience-item,
    .recommendation-item,
    .contact-card {
        padding: 1.5rem;
    }
    
    /* Footer responsive */
    footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* =========================
   MEJORAS DE ACCESIBILIDAD Y PERFORMANCE
   ========================= */
.gallery-section--modern {
    background: var(--cream);
    color: var(--ink);
    padding: calc(var(--nav-height) + 3.25rem) 0 5.5rem 0;
}

.gallery-hero {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    padding: 0 1.25rem;
    text-align: center;
}

.gallery-hero h2 {
    color: var(--ink);
    margin: 0 0 0.45rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.gallery-hero p {
    color: #3b3b3b;
    margin: 0;
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    margin: 1.75rem auto 2rem;
    padding: 0;
    max-width: 980px;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    position: relative;
    top: auto;
}

.gallery-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.6rem 1.1rem;
    border-radius: 12px;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #1d1d1d !important;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: none !important;
}

.gallery-filter:hover {
    background: rgba(85, 107, 47, 0.12) !important;
    border-color: rgba(85, 107, 47, 0.28) !important;
}

.gallery-filter.is-active,
.gallery-filter:focus-visible {
    background: #4e6232 !important;
    color: #f4f0e6 !important;
    border-color: #41522a !important;
    outline: none;
}

.gallery-content {
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 120px;
    gap: 0.8rem;
}

.gallery-item {
    position: relative;
    border: 1px solid rgba(56, 72, 35, 0.6);
    border-radius: 10px;
    overflow: hidden;
    background: #d9d4c8;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
    outline: none;
}

.gallery-item__media {
    position: absolute;
    inset: 0;
}

.gallery-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-item:hover .gallery-item__media img,
.gallery-item:focus-visible .gallery-item__media img {
    transform: scale(1.03);
}

.gallery-item__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.05) 38%, rgba(12, 12, 12, 0.5) 100%);
}

.gallery-item__title {
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.75rem;
    z-index: 2;
    margin: 0;
    color: #f9f6ee;
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.9vw, 2rem);
    line-height: 1.12;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
    max-width: none;
}

.gallery-item__badge {
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    bottom: auto;
    z-index: 2;
    border-radius: 10px;
    padding: 0.34rem 0.6rem;
    font-size: 0.92rem;
    color: #f2f2f2;
    background: rgba(24, 24, 24, 0.58);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.gallery-item--wide { grid-column: span 6; grid-row: span 2; }
.gallery-item--large { grid-column: span 4; grid-row: span 3; }
.gallery-item--tall { grid-column: span 2; grid-row: span 3; }
.gallery-item--square { grid-column: span 3; grid-row: span 2; }
.gallery-item--portrait { grid-column: span 2; grid-row: span 2; }

.gallery-group,
.gallery-group__header,
.gallery-items,
.gallery-item__content,
.gallery-item__description,
.gallery-chip,
.gallery-chips,
.gallery-item__cta,
.gallery-mini-grid {
    display: none !important;
}

@media (max-width: 1024px) {
    .gallery-content {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-auto-rows: 120px;
        width: min(980px, calc(100% - 1.5rem));
    }

    .gallery-item--wide { grid-column: span 4; grid-row: span 2; }
    .gallery-item--large { grid-column: span 3; grid-row: span 3; }
    .gallery-item--tall { grid-column: span 2; grid-row: span 3; }
    .gallery-item--square { grid-column: span 3; grid-row: span 2; }
    .gallery-item--portrait { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 768px) {
    .gallery-section--modern {
        padding-top: calc(var(--nav-height) + env(safe-area-inset-top) + 1.5rem);
    }

    .gallery-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 126px;
        gap: 0.65rem;
        width: calc(100% - 1rem);
    }

    .gallery-item--wide,
    .gallery-item--large { grid-column: span 2; grid-row: span 2; }

    .gallery-item--tall,
    .gallery-item--square,
    .gallery-item--portrait { grid-column: span 1; grid-row: span 2; }

    .gallery-item__title {
        font-size: 1.05rem;
    }

    .gallery-item__badge {
        font-size: 0.78rem;
    }
}

.gallery-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9000;
}

.gallery-modal.is-open {
    display: block;
}

.gallery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(6px);
}

.gallery-modal__dialog {
    position: relative;
    width: min(1080px, calc(100vw - 2.5rem));
    margin: 4vh auto;
    background: #1d1d1d;
    color: #f2f2f2;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 1.25rem 1.5rem;
    z-index: 1;
    display: grid;
    gap: 1rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    max-height: 92vh;
    overflow: hidden;
}

.gallery-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.gallery-modal__header h3 {
    flex: 1;
    text-align: center;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.gallery-modal__close {
    background: transparent;
    border: none;
    color: #f2f2f2;
    border-radius: 12px;
    padding: 0.25rem 0.8rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1;
}

/* Force override global button styles for modal close */
.gallery-modal__header button.gallery-modal__close {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0.25rem 0.8rem !important;
}

.gallery-modal__body {
    display: grid;
    gap: 0.9rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
}

.gallery-modal__thumbs-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 0;
}

.gallery-modal__thumbs-nav {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: transparent;
    border: none;
    color: #f2f2f2;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1;
}

.gallery-modal__thumbs-bar button.gallery-modal__thumbs-nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 28px !important;
    min-height: 28px !important;
}

.gallery-modal__viewer {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #0e0e0e;
    min-height: clamp(240px, 60vh, 520px);
    display: grid;
    place-items: center;
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.gallery-modal__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-modal__viewer .gallery-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    z-index: 2;
    display: grid;
    place-items: center;
    color: transparent;
    font-size: 0;
    border-radius: 999px;
    box-shadow: none !important;
    opacity: 1;
    pointer-events: auto;
    padding: 0 !important;
    overflow: visible !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.gallery-modal__nav--prev {
    left: 16px;
}

.gallery-modal__nav--next {
    right: 16px;
    z-index: 3;
    left: auto;
    visibility: visible;
    opacity: 1;
}

/* Force override of global button styles for modal nav */
.gallery-modal__viewer button.gallery-modal__nav {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-width: 44px !important;
    min-height: 44px !important;
    box-shadow: none !important;
    overflow: visible !important;
    font-size: 0 !important;
    line-height: 0 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.gallery-modal__viewer .gallery-modal__nav::before {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 3px solid #f2f2f2;
    border-top: 3px solid #f2f2f2;
    transform: rotate(45deg);
    transition: transform 0.2s ease, border-color 0.2s ease;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.35));
    display: block;
}

.gallery-modal__viewer .gallery-modal__nav {
    --nav-rot: 45deg;
}

.gallery-modal__viewer .gallery-modal__nav--prev {
    --nav-rot: -135deg;
}

.gallery-modal__viewer .gallery-modal__nav--next {
    --nav-rot: 45deg;
}

.gallery-modal__viewer .gallery-modal__nav--next::before {
    transform: rotate(45deg);
}
.gallery-modal__viewer .gallery-modal__nav::before {
    transform: rotate(var(--nav-rot));
}

.gallery-modal__viewer .gallery-modal__nav:hover::before,
.gallery-modal__viewer .gallery-modal__nav:focus-visible::before {
    border-color: #f2f2f2;
    transform: scale(1.05) rotate(var(--nav-rot));
    outline: none;
}

@media (max-width: 768px) {
    .gallery-modal__nav {
        width: 36px;
        height: 36px;
    }
    .gallery-modal__nav--prev {
        left: 12px;
    }
    .gallery-modal__nav--next {
        right: 12px;
    }
}

.gallery-modal__thumbs {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-modal__thumbs::-webkit-scrollbar {
    height: 0;
}

.gallery-modal__thumbs button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
    box-shadow: none;
}

.gallery-thumb-button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.gallery-modal__thumbs img {
    width: 78px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid transparent;
}

.gallery-modal__thumbs button.is-active img {
    border-color: #f2f2f2;
}

.gallery-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .gallery-item {
        grid-template-columns: 1fr;
    }

    .gallery-item__media {
        min-height: 240px;
    }
}

@media (max-width: 600px) {
    .gallery-filters {
        border-radius: 18px;
        position: static;
    }

    .gallery-modal__dialog {
        width: calc(100vw - 1.25rem);
        margin: 3vh auto;
        padding: 1rem;
    }
}

/* iOS-specific sizing for smaller devices (iPhone 11+ / iPad gen2+) */
@media (max-width: 820px) {
    .gallery-modal__dialog {
        width: calc(100vw - 1.5rem);
        border-radius: 16px;
    }

    .gallery-modal__viewer {
        min-height: clamp(220px, 55vh, 420px);
    }

    .gallery-modal__thumbs {
        max-height: 120px;
    }
}

@media (max-width: 480px) {
    .gallery-modal__viewer {
        min-height: clamp(200px, 50vh, 360px);
    }

    .gallery-modal__thumbs img {
        height: 56px;
    }
}

@media (max-width: 430px) {
    .visit-media img {
        height: clamp(220px, 64vw, 340px);
        aspect-ratio: 16 / 11;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .image-viewer,
    .lightbox {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}
