/* ========================================
   EL MIRADOR DE LA VEGA - CSS MODERNO
   Responsive, Mobile-First Design
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #8B4513;
    --color-primary-dark: #6B3410;
    --color-primary-light: #A0522D;
    --color-secondary: #D2691E;
    --color-accent: #CD853F;
    --color-text: #333333;
    --color-text-light: #595959;
    --color-text-muted: #767676;
    --color-white: #FFFFFF;
    --color-bg-light: #F9F7F4;
    --color-bg-dark: #2C2416;
    --color-bg-footer: #1A1510;
    --color-border: #E5E0D8;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --container-max: 1200px;
    --header-height: 80px;
    --header-height-mobile: 70px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    height: var(--header-height-mobile);
    transition: background var(--transition-normal), 
                box-shadow var(--transition-normal),
                height var(--transition-normal);
}

.header.scrolled {
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    height: var(--header-height);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1001;
    line-height: 1;
    gap: 0;
    position: relative;
    text-decoration: none;
}

.logo-main {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-white);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    transition: color var(--transition-normal), text-shadow var(--transition-normal);
}

.logo-accent {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2.5px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    padding-top: 5px;
    margin-top: 4px;
    position: relative;
    transition: color var(--transition-normal), text-shadow var(--transition-normal);
}

.logo-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: background var(--transition-normal);
}

.header.scrolled .logo-main {
    color: var(--color-primary-dark);
    text-shadow: none;
}

.header.scrolled .logo-accent {
    color: var(--color-secondary);
    text-shadow: none;
}

.header.scrolled .logo-accent::before {
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

@media (min-width: 768px) {
    .logo-main {
        font-size: 1.75rem;
    }
    .logo-accent {
        font-size: 1.05rem;
        letter-spacing: 3px;
    }
}

/* Navigation Toggle (Mobile) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-normal);
    transform-origin: center;
}

.header.scrolled .hamburger {
    background: var(--color-primary);
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--color-primary);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--color-primary);
}

/* Navigation Menu */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.nav.active {
    opacity: 1;
    visibility: visible;
}

.nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Desktop Navigation */
@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
    
    .nav {
        position: static;
        opacity: 1;
        visibility: visible;
        background: none;
        backdrop-filter: none;
        width: auto;
    }
    
    .nav-list {
        flex-direction: row;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--color-white);
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    }
    
    .header.scrolled .nav-link {
        color: var(--color-text);
        text-shadow: none;
    }
    
    .nav-link::after {
        background: var(--color-white);
    }
    
    .header.scrolled .nav-link::after {
        background: var(--color-primary);
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Hero slide background images - desktop */
.hero-slide-1 { background-image: url('../images/slide11.webp'); }
.hero-slide-2 { background-image: url('../images/slide21.webp'); }
.hero-slide-3 { background-image: url('../images/slide31.webp'); }

/* Hero slide background images - mobile (smaller files) */
@media (max-width: 768px) {
    .hero-slide-1 { background-image: url('../images/slide11-mobile.webp'); }
    .hero-slide-2 { background-image: url('../images/slide21-mobile.webp'); }
    .hero-slide-3 { background-image: url('../images/slide31-mobile.webp'); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: 0 1.5rem;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    transition: opacity var(--transition-normal);
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
}

/* ========================================
   SECTIONS BASE
   ======================================== */

.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 8rem 0;
    }
}

.section-light {
    background: var(--color-white);
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.section-dark .section-tag {
    color: var(--color-accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-dark .section-title {
    color: var(--color-white);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   ABOUT SECTION (LA CASA)
   ======================================== */

.about-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.about-content p {
    margin-bottom: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
}

.feature-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 600;
    color: var(--color-text);
}

.about-distribution h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.floor {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.floor h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.floor-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 700;
}

.floor ul {
    list-style: disc;
    padding-left: 1.5rem;
}

.floor li {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

/* ========================================
   EQUIPAMIENTO SECTION
   ======================================== */

.equipment-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .equipment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.equipment-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.equipment-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.equipment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.equipment-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.equipment-card ul {
    list-style: none;
}

.equipment-card li {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.equipment-card li:last-child {
    border-bottom: none;
}

/* ========================================
   TARIFAS SECTION
   ======================================== */

.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
    }
}

.pricing-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Más popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.5rem;
}

.pricing-price .amount {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.pricing-price .period {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    align-self: flex-end;
    margin-bottom: 0.5rem;
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.pricing-notice {
    margin-top: 3rem;
}

.notice-box {
    display: flex;
    gap: 1rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.notice-box svg {
    flex-shrink: 0;
    color: var(--color-primary);
}

.notice-box p {
    margin-bottom: 0.5rem;
}

.notice-box ul {
    list-style: disc;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.notice-box li {
    margin-bottom: 0.25rem;
}

/* ========================================
   GALERÍA SECTION
   ======================================== */

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.gallery-caption p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.gallery-more {
    text-align: center;
    margin-top: 3rem;
}

/* ========================================
   VISITA 360 SECTION (EMBEDDED)
   ======================================== */

.section-360 {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: var(--color-white);
}

.section-360 .section-title,
.section-360 .section-tag {
    color: var(--color-white);
}

.section-360 .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.tour-embed-container {
    width: 100%;
    height: 50vh;
    min-height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

@media (min-width: 768px) {
    .tour-embed-container {
        height: 65vh;
        min-height: 400px;
        border-radius: var(--radius-xl);
        box-shadow: 0 40px 100px rgba(0,0,0,0.3);
    }
}

.tour-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.tour-hint {
    text-align: center;
    margin-top: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

/* ========================================
   ENTORNO / ACTIVIDADES SECTION
   ======================================== */

.section-entorno {
    background: var(--color-bg-light);
}

.section-entorno .section-title {
    color: var(--color-text);
}

.activity-cards {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .activity-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.activity-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid var(--color-border);
}

.activity-card:hover {
    transform: translateY(-10px);
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.25);
    border-color: transparent;
}

.activity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--color-bg-light);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    transition: all var(--transition-normal);
}

.activity-card:hover .activity-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.activity-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.activity-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    transition: color var(--transition-normal);
}

.activity-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    margin-bottom: 1rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition-normal);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--color-secondary);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
    transition: max-height 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ========================================
   CALENDARIO SECTION
   ======================================== */

.section-calendar {
    background: var(--color-bg-light);
}

.section-calendar .section-title {
    color: var(--color-text);
}

.calendar-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .calendar-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.month-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--color-border);
}

.month-name {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.calendar-header-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
}

.calendar-header-row span {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    padding: 0.5rem 0;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--color-bg-light);
    color: var(--color-text);
    font-weight: 500;
}

.day.empty {
    background: none;
}

.day.occupied {
    background: #fff0f0;
    color: #e74c3c;
    text-decoration: line-through;
    font-weight: 600;
}

.day.past {
    opacity: 0.4;
}

.day.today {
    border: 2px solid var(--color-primary);
    font-weight: 700;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: var(--radius-sm);
}

.legend-dot.available {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
}

.legend-dot.occupied {
    background: #fff0f0;
    border: 1px solid #e74c3c;
}

.calendar-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ========================================
   MAPA SECTION
   ======================================== */

.section-map {
    background: var(--color-white);
}

.map-header {
    text-align: center;
    padding: 4rem 0 2rem;
}

.map-container {
    width: 100%;
    height: 300px;
}

@media (min-width: 768px) {
    .map-container {
        height: 450px;
    }
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(0.2) contrast(1.05);
}

/* ========================================
   CONTACTO SECTION
   ======================================== */

.contact-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    color: var(--color-white);
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.contact-card p {
    color: var(--color-text-light);
}

.contact-card a {
    color: var(--color-primary);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--color-primary-dark);
}

.contact-booking {
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: var(--color-white);
}

.contact-booking h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.contact-form-wrapper {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   QR NAVIGATION
   ======================================== */

.qr-navigation {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 2rem auto 2.5rem;
    max-width: 600px;
}

.qr-code {
    flex-shrink: 0;
}

.qr-code img {
    border-radius: var(--radius-md);
    display: block;
    width: 180px;
    height: 180px;
}

.qr-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
}

.qr-info p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.qr-address {
    font-weight: 600;
    color: var(--color-text) !important;
    font-size: 0.9rem !important;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .qr-navigation {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .qr-code img {
        width: 140px;
        height: 140px;
    }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--color-bg-footer);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.footer-logo-main {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--color-white);
}

.footer-logo-accent {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-accent);
    letter-spacing: 3px;
    border-top: 1px solid rgba(205, 133, 63, 0.5);
    padding-top: 4px;
    margin-top: 3px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.08);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-content img.lightbox-fade {
    opacity: 0;
    transform: scale(0.97);
}

/* Controles */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-close:active,
.lightbox-prev:active,
.lightbox-next:active {
    transform: scale(0.95);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    width: 52px;
    height: 52px;
    border-radius: 50%;
}

.lightbox-prev {
    left: 20px;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
    right: 20px;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Contador de imagen */
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    z-index: 10;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-prev {
        left: 8px;
    }
    
    .lightbox-next {
        right: 8px;
    }
    
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }
    
    .lightbox-counter {
        bottom: 12px;
        font-size: 0.8rem;
    }
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animation for gallery items */
.gallery-item.hidden {
    display: none;
}

.gallery-item {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading state for images */
img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

img[src] {
    animation: none;
    background: none;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Print styles */
@media print {
    .header,
    .hero-scroll,
    .nav-toggle,
    .lightbox,
    .btn {
        display: none !important;
    }
    
    .hero {
        height: auto;
        min-height: 300px;
    }
    
    .section {
        padding: 2rem 0;
    }
}
