/* ==========================================================================
   La Villa de Concón — Eco-Luxury Stylesheet
   Paleta: Verde Selva, Arena del Desierto, Azul Oceánico
   ========================================================================== */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
    /* Primary Colors - Eco Luxury */
    --green-deep: #1a4d2e;
    --green-forest: #2d6a4f;
    --green-leaf: #40916c;
    --green-light: #52b788;
    --green-pale: #b7e4c7;

    /* Sand / Desert */
    --sand-dark: #c4a265;
    --sand-mid: #d4b483;
    --sand-light: #e8d5b7;
    --sand-pale: #f5eed6;

    /* Ocean */
    --ocean-deep: #023e8a;
    --ocean-mid: #0077b6;
    --ocean-light: #00b4d8;
    --ocean-pale: #90e0ef;
    --ocean-foam: #caf0f8;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #fafaf5;
    --gray-100: #f0ede6;
    --gray-200: #ddd8cd;
    --gray-500: #8a8477;
    --gray-700: #4a4640;
    --gray-900: #1e1c18;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(26, 77, 46, 0.85), rgba(2, 62, 138, 0.7));
    --gradient-card: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    --gradient-sand: linear-gradient(180deg, var(--sand-pale), var(--off-white));
    --gradient-ocean: linear-gradient(135deg, var(--ocean-deep), var(--green-deep));
    --gradient-cta: linear-gradient(135deg, var(--green-forest), var(--ocean-mid));

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.14);
    --shadow-glow: 0 0 30px rgba(82, 183, 136, 0.25);

    /* Layout */
    --max-width: 1400px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: 0.4s var(--ease-out);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    background: var(--off-white);
    color: var(--gray-900);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ── Utility ── */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.5em;
    background: var(--gradient-ocean);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 650px;
    margin: 0 auto 3rem;
    font-weight: 600;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(82, 183, 136, 0.4);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(82, 183, 136, 0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ══════════════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(26, 77, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--green-pale);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.nav-cta {
    background: var(--gradient-cta) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-lg) !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 30%;
    top: 60%;
    animation-delay: 1s;
    width: 8px;
    height: 8px;
}

.particle:nth-child(3) {
    left: 55%;
    top: 35%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    left: 75%;
    top: 70%;
    animation-delay: 3s;
    width: 10px;
    height: 10px;
}

.particle:nth-child(5) {
    left: 90%;
    top: 25%;
    animation-delay: 4s;
}

.particle:nth-child(6) {
    left: 45%;
    top: 85%;
    animation-delay: 1.5s;
    width: 5px;
    height: 5px;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 900px;
    animation: fadeInUp 1.2s var(--ease-out);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--green-pale), var(--ocean-pale));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    display: block;
    background: linear-gradient(135deg, var(--sand-light), var(--ocean-pale));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-xl);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--gradient-cta);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(45, 106, 79, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s ease-in-out infinite;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: float 2s ease-in-out infinite;
}

/* ══════════════════════════════════════
   NUESTRO MUNDO
   ══════════════════════════════════════ */
.nuestro-mundo {
    background: var(--gradient-sand);
    position: relative;
}

.mundo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mundo-visual {
    position: relative;
}

.mundo-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.mundo-img-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.mundo-img-wrapper:hover img {
    transform: scale(1.05);
}

.mundo-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-cta);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}

.mundo-badge .number {
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
}

.mundo-badge .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.mundo-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--green-deep);
    margin-bottom: 20px;
    line-height: 1.2;
}

.mundo-content p {
    color: var(--gray-700);
    font-size: 1.05rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.mundo-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.mundo-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mundo-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.mundo-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.mundo-feature h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--green-deep);
}

.mundo-feature p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ══════════════════════════════════════
   PARALLAX DIVIDER
   ══════════════════════════════════════ */
.parallax-divider {
    height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-bg {
    position: absolute;
    inset: -50px;
    z-index: -1;
}

.parallax-bg img {
    width: 100%;
    height: calc(100% + 100px);
    object-fit: cover;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 77, 46, 0.7), rgba(2, 62, 138, 0.6));
}

.parallax-text {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.parallax-text h3 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 10px;
}

.parallax-text p {
    font-size: 1.1rem;
    opacity: 0.85;
    font-weight: 600;
}

/* ══════════════════════════════════════
   ZONIFICACIÓN — BENTO GRID
   ══════════════════════════════════════ */
.zonas {
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.zonas::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.08), transparent 70%);
    border-radius: 50%;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 480px;
    cursor: pointer;
    transition: var(--transition);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.bento-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bento-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.bento-card:hover .bento-card-bg img {
    transform: scale(1.1);
}

.bento-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    transition: var(--transition);
}

.bento-card:nth-child(1) .bento-card-overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(26, 77, 46, 0.9) 100%);
}

.bento-card:nth-child(2) .bento-card-overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(196, 162, 101, 0.9) 100%);
}

.bento-card:nth-child(3) .bento-card-overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(2, 62, 138, 0.9) 100%);
}

.bento-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 40px 30px;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.bento-card:hover .bento-card-content {
    transform: translateY(0);
}

.bento-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bento-card h3 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.bento-card p {
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    font-weight: 600;
    line-height: 1.6;
}

.bento-card:hover p {
    opacity: 0.9;
    transform: translateY(0);
}

.bento-card-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 14px;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 14px;
    opacity: 0;
    transition: var(--transition);
    transition-delay: 0.1s;
}

.bento-card:hover .bento-card-tag {
    opacity: 1;
}

/* ══════════════════════════════════════
   AMENIDADES
   ══════════════════════════════════════ */
.amenidades {
    background: var(--white);
    position: relative;
}

.amenidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.amenidad-card {
    position: relative;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    background: var(--off-white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    text-align: center;
    overflow: hidden;
}

.amenidad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-cta);
    transform: scaleX(0);
    transition: var(--transition);
}

.amenidad-card:hover::before {
    transform: scaleX(1);
}

.amenidad-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.amenidad-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.amenidad-card:hover .amenidad-icon {
    background: var(--gradient-cta);
    transform: scale(1.1);
}

.amenidad-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--green-deep);
    margin-bottom: 10px;
}

.amenidad-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    font-weight: 600;
}

/* ══════════════════════════════════════
   GALERÍA — CARRUSEL
   ══════════════════════════════════════ */
.galeria {
    background: var(--gray-900);
    position: relative;
    overflow: hidden;
}

.galeria .section-title {
    color: var(--white);
    -webkit-text-fill-color: unset;
}

.galeria .section-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s var(--ease-out);
    cursor: grab;
    user-select: none;
}

.gallery-track:active {
    cursor: grabbing;
}

.gallery-slide {
    flex: 0 0 calc(33.333% - 14px);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-slide:hover img {
    transform: scale(1.08);
}

.gallery-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-slide:hover .gallery-slide-overlay {
    opacity: 1;
}

.gallery-slide-overlay span {
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.gallery-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: var(--gradient-cta);
    border-color: transparent;
    transform: scale(1.1);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-dot.active {
    background: var(--green-light);
    width: 30px;
    border-radius: 5px;
}

/* ══════════════════════════════════════
   CONTACTO
   ══════════════════════════════════════ */
.contacto {
    background: var(--gradient-sand);
    position: relative;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contacto-info {
    padding-top: 20px;
}

.contacto-info h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--green-deep);
    margin-bottom: 16px;
}

.contacto-info>p {
    color: var(--gray-500);
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 1.05rem;
}

.contacto-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contacto-detail:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.contacto-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contacto-detail h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--green-deep);
}

.contacto-detail p {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 600;
}

.contacto-form {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    transition: var(--transition);
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--green-light);
    box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.15);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient-cta);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.form-message {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 700;
    display: none;
}

.form-message.success {
    display: block;
    background: var(--green-pale);
    color: var(--green-deep);
    border: 1px solid var(--green-light);
}

.form-message.error {
    display: block;
    background: #fde8e8;
    color: #c53030;
    border: 1px solid #feb2b2;
}

/* ══════════════════════════════════════
   UBICACIÓN / MAPA
   ══════════════════════════════════════ */
.ubicacion {
    background: var(--off-white);
}

.ubicacion-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 16/10;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.ubicacion-info h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--green-deep);
    margin-bottom: 16px;
}

.ubicacion-info p {
    color: var(--gray-500);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.ubicacion-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ubicacion-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.ubicacion-feature:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
}

.ubicacion-feature span:first-child {
    font-size: 1.3rem;
}

.ubicacion-feature span:last-child {
    font-weight: 700;
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
    background: var(--gradient-ocean);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.7;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--green-pale);
}

.footer-links a {
    display: block;
    padding: 6px 0;
    opacity: 0.7;
    font-weight: 600;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    transform: translateX(6px);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--green-light);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
    font-weight: 600;
}

/* ══════════════════════════════════════
   BOTTOM NAVIGATION (MOBILE)
   ══════════════════════════════════════ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(26, 77, 46, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
}

.bottom-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.bottom-nav-item span:first-child {
    font-size: 1.3rem;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.bottom-nav-item.whatsapp-btn {
    background: #25d366;
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 10px 18px;
}

.bottom-nav-item.whatsapp-btn:hover {
    background: #1ebe5b;
}

/* ══════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════ */

/* ── 4K Screens ── */
@media (min-width: 2560px) {
    :root {
        --max-width: 1800px;
    }

    .hero-title {
        font-size: 5.5rem;
    }

    .bento-card {
        min-height: 580px;
    }

    .gallery-slide img {
        height: 450px;
    }
}

/* ── Large Desktop ── */
@media (max-width: 1400px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
}

/* ── Tablets ── */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 77, 46, 0.98);
        padding: 20px;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        animation: fadeIn 0.3s var(--ease-out);
    }

    .hamburger {
        display: flex;
    }

    .mundo-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-card:last-child {
        grid-column: span 2;
        min-height: 380px;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .ubicacion-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-slide {
        flex: 0 0 calc(50% - 10px);
    }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        min-height: 360px;
    }

    .bento-card:last-child {
        grid-column: auto;
    }

    .hero-stats {
        gap: 30px;
    }

    .mundo-features {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .gallery-slide {
        flex: 0 0 85%;
    }

    .gallery-slide img {
        height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .bottom-nav {
        display: block;
    }

    body {
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    .parallax-divider {
        height: 300px;
    }
}

/* ── Small Mobile / iPhone SE ── */
@media (max-width: 375px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .bento-card {
        min-height: 300px;
    }

    .contacto-form {
        padding: 30px 20px;
    }
}

/* ── iPhone Notch / Dynamic Island ── */
@supports (padding: env(safe-area-inset-top)) {
    .header {
        padding-top: calc(16px + env(safe-area-inset-top, 0px));
    }

    .header.scrolled {
        padding-top: calc(10px + env(safe-area-inset-top, 0px));
    }
}

/* ── Landscape phones ── */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-stats {
        gap: 30px;
    }

    .parallax-divider {
        height: 250px;
    }
}

/* ── Accessibility: Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ── Print ── */
@media print {

    .header,
    .bottom-nav,
    .hero-scroll,
    .gallery-controls,
    .hero-particles {
        display: none;
    }

    body {
        padding-bottom: 0;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }
}

/* ── Lazy Loading Placeholder ── */
img[data-src] {
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
}

img.loaded {
    opacity: 1;
}