/* ========================================
   Villa El Jequigal 17 - Marbella Club Style
   Diseño inspirado en Marbella Club
   ======================================== */

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: #ffffff;
    overflow-x: hidden;
    font-weight: 400;
}

/* Variables CSS - Paleta Marbella Club */
:root {
    --primary-white: #ffffff;
    --primary-dark: #2c2c2c;
    --primary-gray: #6b6b6b;
    --accent-teal: #4a9b8e;
    --accent-light-teal: #7bb3a8;
    --light-gray: #f8f8f8;
    --border-light: #e5e5e5;
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-serif: "Playfair Display", "Times New Roman", serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
}

h2 { 
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
}

h4 { 
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--primary-gray);
    font-weight: 400;
}

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

/* Buttons - Estilo Marbella Club */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-teal);
    color: var(--primary-white);
    border-color: var(--accent-teal);
    border-radius: 6px;
}

.btn-primary:hover {
    background: var(--accent-light-teal);
    border-color: var(--accent-light-teal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--primary-white);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    text-decoration: none;
}

.btn-cta {
    background: var(--primary-dark);
    color: var(--primary-white);
    font-size: 1rem;
    padding: 1.25rem 2.5rem;
    border-color: var(--primary-dark);
}

.btn-cta:hover {
    background: var(--accent-teal);
    border-color: var(--accent-teal);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--primary-white);
    text-decoration: none;
}

.btn i {
    margin-right: 0.5rem;
    font-size: 0.9em;
}

/* Header - Estilo Marbella Club */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    transform: translateY(0);
    opacity: 1;
    border-bottom: 1px solid var(--border-light);
}

.header.visible {
    transform: translateY(0);
    opacity: 1;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--accent-teal);
    text-decoration: none;
}

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

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

.header-cta .btn {
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
}


/* Language Selector */
.language-selector {
    margin-left: 1rem;
    position: relative;
}

.language-dropdown {
    position: relative;
}

.language-toggle {
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--primary-gray);
    min-width: 80px;
}

.language-toggle:hover {
    background: var(--light-gray);
    border-color: var(--accent-teal);
}

.language-toggle i {
    font-size: 0.7rem;
    transition: var(--transition);
}

.language-toggle.active i {
    transform: rotate(180deg);
}

.flag-img {
    width: 18px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.language-text {
    font-weight: 500;
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--primary-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    min-width: 140px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 0.25rem;
}

.language-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    color: var(--primary-gray);
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

.language-option:hover {
    background: var(--light-gray);
    color: var(--accent-teal);
}

.language-option.selected {
    background: var(--accent-teal);
    color: var(--primary-white);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Video Hero Section - Estilo Marbella Club */
.video-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--primary-dark);
}

.video-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    text-align: center;
}

/* Botón de control de sonido discreto */
.sound-toggle {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--primary-white);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    z-index: 1001;
}

.sound-toggle:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sound-toggle:active {
    transform: translateY(0);
}

.sound-toggle i {
    font-size: 1rem;
    transition: var(--transition);
}

.sound-toggle.unmuted {
    background: rgba(74, 155, 142, 0.8);
    border-color: var(--accent-teal);
}

.sound-toggle.unmuted:hover {
    background: var(--accent-teal);
}

.video-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 2rem;
}

.video-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    color: var(--primary-white);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.video-content .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    color: var(--primary-white);
    font-weight: 300;
    font-family: var(--font-serif);
    font-style: italic;
}

.video-content .price {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--primary-white);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

/* Villa Hero Info Section */
.villa-hero-info {
    padding: 6rem 0;
    background: var(--primary-white);
    text-align: center;
}

.villa-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.villa-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.villa-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--primary-gray);
    font-weight: 300;
    font-family: var(--font-serif);
    font-style: italic;
    line-height: 1.4;
}

.villa-price {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--accent-teal);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.villa-hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Villa Info Section */
.villa-info {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    background: var(--light-gray);
}

.villa-grid {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.villa-description h2 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-weight: 300;
    text-align: center;
}

.villa-description p {
    color: var(--primary-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.villa-specs {
    padding: 1.5rem 2rem;
    border-radius: 0;
    border-left: 4px solid var(--accent-teal);
}

.villa-specs h3 {
    color: var(--primary-dark);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
    align-items: center;
    min-height: 120px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--primary-white);
    border-radius: 0;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    min-height: 160px;
}

.spec-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-teal);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-white);
    font-size: 1.3rem;
    padding: 8px;
}

.spec-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-teal);
}

.spec-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.spec-item:hover::before {
    background: var(--accent-light-teal);
}

.spec-text {
    width: 100%;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--primary-gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: var(--font-sans);
}

.spec-value {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.spec-unit {
    font-size: 0.9rem;
    color: var(--primary-gray);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.features h4 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.features-list {
    list-style: none;
    padding: 0;
    column-count: 2;
    column-gap: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--primary-gray);
    border-bottom: 1px solid var(--border-light);
    break-inside: avoid;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Eliminar línea del último elemento de cada columna */
.features-list li:nth-child(11) {
    border-bottom: none;
}

.features-list li i {
    color: var(--accent-teal);
    margin-right: 1rem;
    font-size: 1rem;
    width: 16px;
    text-align: center;
}

/* Villa Features Container */
.villa-features-container {
    background: var(--primary-white);
    padding: 2rem 0;
    margin-top: 1rem;
}

.section-title {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 2.5rem;
    font-weight: 300;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--accent-teal);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Villa Features Section */
.villa-features-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Resort Info Section */
.resort-info {
    background: var(--primary-white);
    padding: 3rem 0;
    margin-top: 2rem;
}

.resort-content {
    max-width: 900px;
    margin: 0 auto;
}

.resort-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.resort-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    transition: var(--transition);
}

.resort-logo:hover {
    opacity: 1;
    transform: scale(1.02);
}

.resort-description {
    text-align: center;
    color: var(--primary-gray);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.resort-features {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .features-list {
        column-count: 1;
        column-gap: 0;
    }
    
    .villa-grid {
        max-width: 100%;
        padding: 0;
    }
    
    .villa-features-section {
        padding: 0;
    }
    
    .villa-features-container {
        padding: 1rem 0;
        background: transparent;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .resort-info {
        padding: 2rem 0;
    }
    
    .resort-features {
        padding: 1rem 0;
        margin: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }
    
    .resort-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .resort-logo {
        height: 60px;
        margin-bottom: 1rem;
    }
}

/* Gallery Section */
.gallery {
    padding: 4rem 0;
    background: var(--primary-white);
}

.gallery h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 4rem;
    font-weight: 300;
}

.gallery-section {
    margin-bottom: 3rem;
}

.gallery-section h3 {
    color: var(--primary-dark);
    margin-bottom: 3rem;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
    font-weight: 400;
}

.gallery-section h3::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-teal);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
    background: var(--primary-white);
    line-height: 0;
    font-size: 0;
}

.gallery-item.featured {
    grid-column: span 2;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.gallery-item.featured img {
    height: 400px;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--primary-white);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
    font-size: 1rem;
    line-height: 1.5;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary-white);
    font-family: var(--font-serif);
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
    color: var(--primary-white);
    margin: 0;
}

/* Resort Amenities Section */
.resort-amenities {
    padding: 3rem 0;
    background: var(--primary-white);
    text-align: center;
}

.resort-amenities h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 300;
}

/* Resort Features Tags */
.resort-features-tags {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.resort-tag {
    background: rgba(74, 155, 142, 0.1);
    color: var(--primary-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(74, 155, 142, 0.2);
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font-sans);
}

.resort-tag:hover {
    background: rgba(74, 155, 142, 0.15);
    border-color: rgba(74, 155, 142, 0.3);
    transform: translateY(-1px);
}

.resort-description {
    background: var(--light-gray);
    padding: 4rem;
    border-radius: 0;
    margin-bottom: 4rem;
    text-align: center;
    border-left: 4px solid var(--accent-teal);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.resort-description h3 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 300;
}

.resort-description p {
    color: var(--primary-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.resort-description em {
    color: var(--accent-teal);
    font-style: italic;
    font-weight: 400;
    font-family: var(--font-serif);
}

/* Resort Image Container */
.resort-image-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.resort-hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.resort-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 3rem 2rem 2rem;
    backdrop-filter: blur(2px);
}

.resort-image-overlay .resort-description {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

.resort-image-overlay .resort-description p {
    color: var(--primary-white);
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 3px 8px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.4);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-teal);
}

.resort-image-overlay .resort-description em {
    color: var(--primary-white);
    font-weight: 500;
    text-shadow: 0 2px 6px rgba(0,0,0,0.9);
}

/* Imágenes principales del resort */
.amenities-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.amenity-image-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
    background: var(--primary-white);
    border: 1px solid var(--border-light);
}

.amenity-image-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.amenity-image-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.amenity-image-item:hover img {
    transform: scale(1.05);
}

.amenity-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--primary-white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.amenity-image-item:hover .amenity-image-overlay {
    transform: translateY(0);
}

.amenity-image-overlay h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--primary-white);
    font-weight: 400;
}

.amenity-image-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    color: var(--primary-white);
}

/* Características del resort */
.resort-features {
    margin-top: 4rem;
}

.resort-features h3 {
    color: var(--primary-dark);
    margin-bottom: 3rem;
    font-size: 1.8rem;
    text-align: center;
    position: relative;
    font-weight: 400;
}

.resort-features h3::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-teal);
}

.resort-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.resort-feature-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
    background: var(--primary-white);
    border: 1px solid var(--border-light);
}

.resort-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-teal);
}

.resort-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.resort-feature-item:hover::before {
    background: var(--accent-light-teal);
}

.resort-feature-content {
    padding: 2.5rem 2rem;
    text-align: center;
}

.resort-feature-content h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 400;
    font-family: var(--font-serif);
}

.resort-feature-content p {
    color: var(--primary-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.amenity-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
    background: var(--primary-white);
    border: 1px solid var(--border-light);
}

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

.amenity-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.amenity-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: var(--primary-white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.amenity-item:hover .amenity-overlay {
    transform: translateY(0);
}

.amenity-overlay h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--primary-white);
    font-weight: 400;
}

.amenity-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    color: var(--primary-white);
}

.amenity-content {
    padding: 2.5rem;
    background: var(--primary-white);
    border-radius: 0;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-light);
}

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

.amenity-content h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 400;
}

.amenity-content p {
    color: var(--primary-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.resort-contact {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 0;
    box-shadow: var(--shadow-soft);
    margin-top: 4rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.resort-contact h3 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 400;
}

.resort-contact p {
    color: var(--primary-gray);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

/* Villa Excellence Section */
.villa-excellence {
    padding: 4rem 0;
    background: var(--light-gray);
}

.excellence-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.excellence-intro p {
    font-size: 1.3rem;
    color: var(--primary-gray);
    line-height: 1.7;
    font-weight: 400;
    font-style: italic;
}

.excellence-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.excellence-feature-item {
    background: var(--primary-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--accent-teal);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.excellence-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    z-index: 0;
    transition: var(--transition);
}

.excellence-feature-item:nth-child(1)::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234a9b8e"><path d="M12,1L3,5V11C3,16.55 6.84,21.74 12,23C17.16,21.74 21,16.55 21,11V5L12,1M12,7C13.4,7 14.8,8.6 14.8,10V11.5C15.4,11.5 16,12.1 16,12.7V16.2C16,16.8 15.4,17.3 14.8,17.3H9.2C8.6,17.3 8,16.8 8,16.2V12.8C8,12.2 8.6,11.6 9.2,11.6V10C9.2,8.6 10.6,7 12,7M12,8.2C11.2,8.2 10.5,8.7 10.5,9.5V11.5H13.5V9.5C13.5,8.7 12.8,8.2 12,8.2Z"/></svg>');
}

.excellence-feature-item:nth-child(2)::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234a9b8e"><path d="M12,19.2C9.5,19.2 7.29,17.92 6,16C6.03,14 10,12.9 12,12.9C14,12.9 17.97,14 18,16C16.71,17.92 14.5,19.2 12,19.2M12,5A3,3 0 0,1 15,8A3,3 0 0,1 12,11A3,3 0 0,1 9,8A3,3 0 0,1 12,5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"/></svg>');
}

.excellence-feature-item:nth-child(3)::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234a9b8e"><path d="M11.83,9L15,12.16C15,12.11 15,12.05 15,12A3,3 0 0,0 12,9C11.94,9 11.89,9 11.83,9M7.53,9.8L9.08,11.35C9.03,11.56 9,11.77 9,12A3,3 0 0,0 12,15C12.22,15 12.44,14.97 12.65,14.92L14.2,16.47C13.53,16.8 12.79,17 12,17A5,5 0 0,1 7,12C7,11.21 7.2,10.47 7.53,9.8M2,4.27L4.28,6.55L4.73,7C3.08,8.3 1.78,10 1,12C2.73,16.39 7,19.5 12,19.5C13.55,19.5 15.03,19.2 16.38,18.66L16.81,19.09L19.73,22L21,20.73L3.27,3M12,7A5,5 0 0,1 17,12C17,12.64 16.87,13.26 16.64,13.82L19.57,16.75C21.07,15.5 22.27,13.86 23,12C21.27,7.61 17,4.5 12,4.5C10.6,4.5 9.26,4.75 8,5.2L10.17,7.35C10.76,7.13 11.37,7 12,7Z"/></svg>');
}

.excellence-feature-item:nth-child(4)::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234a9b8e"><path d="M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9L10,17Z"/></svg>');
}

.excellence-feature-item:nth-child(5)::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234a9b8e"><path d="M11.8 10.9c-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-1.94.42-3.5 1.68-3.5 3.61 0 2.31 1.91 3.46 4.7 4.13 2.5.6 3 1.48 3 2.41 0 .69-.49 1.79-2.7 1.79-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4z"/></svg>');
}

.excellence-feature-item:nth-child(6)::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234a9b8e"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>');
}

.excellence-feature-item h4,
.excellence-feature-item p {
    position: relative;
    z-index: 1;
}

.excellence-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.excellence-feature-item:hover::before {
    opacity: 0.12;
    transform: scale(1.1);
}

.excellence-feature-item h4 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-family: var(--font-serif);
}

.excellence-feature-item p {
    color: var(--primary-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive - Excellence Section */
@media (max-width: 768px) {
    .villa-excellence {
        padding: 3rem 0;
    }
    
    .excellence-intro {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .excellence-intro p {
        font-size: 1.1rem;
    }
    
    .excellence-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .excellence-feature-item {
        padding: 2rem;
    }
    
    .excellence-feature-item h4 {
        font-size: 1.2rem;
    }
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: var(--primary-dark);
    color: var(--primary-white);
    text-align: center;
}

.contact h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-white);
    font-weight: 300;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    color: var(--primary-white);
}

.contact-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Contact Form Section - aspecto diferenciado */
.contact-form-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #f5faf8 0%, #ffffff 100%);
}

.contact-form-section h3 {
    text-align: center;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--primary-white);
    padding: 4rem 0 2rem;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Lightbox */
.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: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--primary-white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent-teal);
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

/* Controles de navegación del lightbox */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10002;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    color: var(--accent-teal);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Contador de imágenes */
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Formulario de Contacto */
.contact-form-container {
    margin-top: 1.5rem;
    padding: 3rem;
    background: var(--primary-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--accent-teal);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-container h3 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: center;
    font-size: 1.8rem;
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-family: var(--font-sans);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--primary-dark);
    background: var(--primary-white);
    transition: var(--transition);
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(74, 155, 142, 0.1);
}

.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
    background-color: #fff7f7;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    accent-color: var(--accent-teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.form-checkbox-label {
    font-size: 0.9rem;
    color: var(--primary-gray);
    line-height: 1.5;
    cursor: pointer;
    margin-bottom: 0;
}

.form-link {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 500;
}

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

.form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-error.show {
    display: block;
}

.form-input.error,
.form-textarea.error {
    background-color: #fff7f7;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.form-submit {
    min-width: 200px;
    position: relative;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner {
    display: none;
}

.form-submit.loading .btn-text {
    display: none;
}

.form-submit.loading .btn-spinner {
    display: inline;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.form-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#recaptcha-container {
    min-height: 78px;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Asegurar que reCAPTCHA sea visible en móviles */
@media (max-width: 768px) {
    #recaptcha-container {
        min-height: 78px;
        transform: scale(0.9);
        transform-origin: center top;
        margin: 10px 0;
        display: flex;
        justify-content: center;
    }
    
    /* Si el contenedor está vacío, mostrar mensaje */
    #recaptcha-container:empty::after {
        content: "Cargando verificación de seguridad...";
        display: block;
        color: #666;
        font-size: 14px;
        padding: 20px;
        text-align: center;
        border: 1px dashed #ddd;
        border-radius: 4px;
    }
}

/* Política de Privacidad */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-teal) 100%);
    color: var(--primary-white);
    padding: 6rem 0 4rem;
    text-align: center;
}

.hero-section h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-white);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.privacy-policy {
    padding: 4rem 0;
    background: var(--primary-white);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.privacy-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-gray);
}

.last-updated {
    color: var(--primary-gray);
    font-style: italic;
    margin: 0;
}

.privacy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-teal);
}

.privacy-section h2 {
    color: var(--primary-dark);
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.privacy-section p {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-size: 1rem;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section li {
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
}

.privacy-section strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.privacy-section a {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 500;
}

.privacy-section a:hover {
    text-decoration: underline;
}

.privacy-footer {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--primary-dark);
    color: var(--primary-white);
    border-radius: var(--border-radius);
    text-align: center;
}

.privacy-footer p {
    margin: 0.5rem 0;
    color: var(--primary-white);
}

.privacy-footer a {
    color: var(--accent-teal);
    text-decoration: none;
}

.privacy-footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        display: flex;
        padding: 0.75rem 0;
        background: var(--primary-white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* Botón de sonido en móviles */
    .sound-toggle {
        bottom: 1rem;
        right: 1rem;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .sound-text {
        display: none; /* Solo mostrar icono en móviles */
    }
    
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 1rem;
    }
    
    .nav {
        display: none;
    }
    
    .logo {
        flex: 0 0 auto;
    }
    
    .logo img {
        height: 40px;
        width: auto;
    }
    
    .header-cta {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex: 0 0 auto;
    }
    
    .language-selector {
        margin: 0;
    }
    
    .language-toggle {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        min-width: 70px;
        background: var(--light-gray);
        border: 1px solid var(--border-light);
        border-radius: 6px;
    }
    
    .flag-img {
        width: 16px;
        height: 12px;
    }
    
    .header-cta .btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        white-space: nowrap;
    }
    
    .language-selector {
        margin-left: 0.5rem;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) {
    .header-container {
        padding: 0 0.75rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .header-cta {
        gap: 0.5rem;
    }
    
    .language-toggle {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
        min-width: 60px;
    }
    
    .flag-img {
        width: 14px;
        height: 10px;
    }
    
    .header-cta .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.8rem;
    }
    
    .language-text {
        display: none;
    }
    
    /* Estilos para el contenido principal en móviles */
    .container {
        padding: 0 1rem;
    }
    
    /* Contenedores de características sin padding lateral */
    .villa-features-container .container,
    .resort-content .container {
        padding: 0;
    }
    
    .villa-hero-info {
        padding: 4rem 0;
    }
    
    .villa-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .villa-subtitle {
        font-size: 1.2rem;
    }
    
    .villa-price {
        font-size: 2.5rem;
    }
    
    .villa-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .villa-hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .villa-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 1rem;
    }
    
    .spec-item {
        padding: 1.5rem 1rem;
    }
    
    .spec-value {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        position: relative;
    }
    
    /* featured usa mismo comportamiento en móviles */
    
    .gallery-item img {
        width: 100%;
        height: 100%;
        min-height: 250px;

        object-fit: cover;
        border-radius: 8px;
        display: block;
    }
    
    .gallery-item.featured img {
        height: 300px;
    }
    
    /* Indicadores de slider eliminados - ya no se usan */
    
    /* Lazy loading optimizado */
    .lazy-img {
        transition: opacity 0.3s ease, filter 0.3s ease;
        background-color: #f0f0f0;
    }
    
    /* Controles de navegación en móviles */
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-counter {
        bottom: 10px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Formulario responsive */
    .contact-form-container {
        margin-top: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .form-submit {
        min-width: 100%;
    }
    
    /* Política de privacidad responsive */
    .hero-section {
        padding: 4rem 0 3rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .privacy-policy {
        padding: 2rem 0;
    }
    
    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.5rem;
    }
    
    .privacy-section ul {
        padding-left: 1.5rem;
    }
    
    .privacy-footer {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .lazy-img[data-src] {
        opacity: 0.7;
        filter: blur(2px);
    }
    
    .lazy-img.loaded {
        opacity: 1;
        filter: blur(0);
    }
    
    /* Skeleton loading para móviles */
    .gallery-item img:not(.loaded) {
        background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }
    
    @keyframes loading {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }
}

/* Extra small screens - single column for better readability */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Contenedores de características sin padding lateral */
    .villa-features-container .container,
    .resort-content .container {
        padding: 0;
    }
    
    .villa-hero-content h1 {
        font-size: 2rem;
    }
    
    .villa-subtitle {
        font-size: 1.1rem;
    }
    
    .villa-price {
        font-size: 2rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    /* Ajustes de slider para pantallas muy pequeñas */
    .gallery-item {
        flex: 0 0 260px;
    }
    
    .gallery-item.featured {
        flex: 0 0 290px;
    }
    
    .gallery-grid {
        padding: 0 0.5rem;
    }
    
    .spec-item {
        padding: 1rem 0.5rem;
    }
    
    .spec-icon {
        width: 40px;
        height: 40px;
    }
    
    .spec-value {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item.featured {
        grid-column: span 1;
    }
    
    .gallery-item img {
        height: 100%;
        min-height: 250px;
        display: block;
    }
    
    .gallery-item.featured img {
        height: 300px;
    }
    
    .amenities-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .amenity-image-item img {
        height: 250px;
    }
    
    .resort-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resort-feature-content {
        padding: 2rem 1.5rem;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resort-description {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .resort-image-container {
        margin: 2rem 1rem;
    }
    
    .resort-hero-image {
        height: 300px;
    }
    
    .resort-image-overlay {
        padding: 2rem 1rem 1.5rem;
    }
    
    .resort-image-overlay .resort-description p {
        font-size: 1rem;
        padding: 1rem 1.5rem;
        background: rgba(0,0,0,0.6);
    }
    
    .resort-features-tags {
        margin-bottom: 3rem;
        padding: 0 1rem;
        gap: 0.8rem;
    }
    
    .resort-tag {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .amenity-content {
        padding: 2rem;
    }
    
    .resort-contact {
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Contenedores de características sin padding lateral */
    .villa-features-container .container,
    .resort-content .container {
        padding: 0;
    }
    
    .video-content h1 {
        font-size: 2.5rem;
    }
    
    .video-content .subtitle {
        font-size: 1.2rem;
    }
    
    .video-content .price {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .btn-cta {
        padding: 1.25rem 2rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Accessibility */
.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;
}

/* Focus styles */
a:focus,
button:focus {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .video-hero,
    .contact,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
}