/* =========================================================================
   VARIABLES & DESIGN SYSTEM
   ========================================================================= */
:root {
    /* Colors */
    --color-navy: #1b3a4b;
    --color-navy-dark: #122836;
    --color-gold: #c8a35f;
    --color-gold-hover: #e0bc77;
    --color-white: #ffffff;
    --color-light-bg: #eef2f5;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-border: #e2e8f0;
    --color-whatsapp: #25d366;
    --color-whatsapp-hover: #1ebd5a;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --trans-fast: 0.2s ease;
    --trans-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --trans-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Layout */
    --container-max: 1200px;
    --section-pad: 5rem 2rem;
    --z-background: -1;
    --z-normal: 1;
    --z-overlay: 10;
    --z-nav: 50;
    --z-modal: 100;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-snap-type: y mandatory;
}

body {
    font-size: 16px;
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-navy);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Prevent horizontal scroll from absolute elements */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    background: none;
}

/* =========================================================================
   SCROLL SNAP WRAPPER
   ========================================================================= */
.scroll-wrapper {
    width: 100%;
}

.section {
    min-height: 100dvh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* allow sections to grow taller than 100vh if content requires it */
}

/* Specific strict height only for Hero to keep background stable */

.section-content {
    width: 100%;
    max-width: var(--container-max);
    padding: var(--section-pad);
    margin: 0 auto;
    position: relative;
    z-index: var(--z-normal);
}

/* Base Theme Styles */
.section[data-theme="dark"] {
    color: var(--color-white);
    background-color: var(--color-navy);
}

.section[data-theme="light"] {
    color: var(--color-text);
    background-color: var(--color-light-bg);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--trans-normal);
    text-transform: uppercase;
}

.btn--gold {
    background-color: var(--color-gold);
    color: var(--color-navy);
    box-shadow: 0 4px 15px rgba(200, 163, 95, 0.3);
}

.btn--gold:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 163, 95, 0.5);
}

.btn--whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn--whatsapp:hover {
    background-color: var(--color-whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* =========================================================================
   SCROLL INDICATOR (HERO)
   ========================================================================= */
.hero-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 5;
    padding-bottom: 4rem;
    /* Raiser scroll indicator further up */
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* =========================================================================
   SIDE NAVIGATION
   ========================================================================= */
.side-nav {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: var(--z-nav);
}

.side-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
}

.nav-dot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.nav-dot .label {
    position: absolute;
    right: 35px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--trans-fast);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    pointer-events: none;
}

.nav-dot .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid currentColor;
    transition: transform var(--trans-normal), background-color var(--trans-normal);
    background: transparent;
}

.nav-dot.active .label,
.nav-dot:hover .label {
    opacity: 1;
    transform: translateX(0);
}

.nav-dot.active .dot {
    background-color: currentColor;
    transform: scale(1.3);
}

/* Theme switching classes managed by JS */
.side-nav.nav--light {
    color: var(--color-white);
}

.side-nav.nav--light .label {
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.side-nav.nav--dark {
    color: var(--color-navy);
}

.side-nav.nav--dark .label {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* =========================================================================
   LOGO SVG / IMGS
   ========================================================================= */
.brand-logo-img {
    max-width: 650px;
    /* Logo AÚN MÁS grande en desktop */
    width: 100%;
    height: auto;
    display: block;
}

/* For light sections use invert to make the white logo dark */
.brand-logo-img--dark {
    filter: invert(1);
    max-width: 300px;
    /* Keep contact logo a bit smaller or adjust as needed */
}

/* =========================================================================
   ANIMATIONS (Intersection Observer classes)
   ========================================================================= */
.reveal {
    opacity: 0;
    visibility: hidden;
    transition: all var(--trans-slow);
}

.reveal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0) scale(1);
}

.fade-up {
    transform: translateY(50px);
}

.fade-down {
    transform: translateY(-50px);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}

.scale-in {
    transform: scale(0.9);
}

/* =========================================================================
   SECTION 1: HERO
   ========================================================================= */
.section--hero {
    color: var(--color-white);
    justify-content: center;
    height: 100dvh;
    /* Force exact screen height */
    min-height: 0;
    overflow: hidden;
    /* Strict overflow containment for hero only */
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-img,
.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(27, 58, 75, 0.4) 0%, rgba(27, 58, 75, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    width: 100%;
    height: 100%;
    /* Take full 100dvh height */
    padding: 6rem 2rem 0;
    /* Padding top for logo, bottom handled by hero-bottom */
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 5;
}

.logo-text {
    font-family: var(--font-body);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-el {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--color-white);
}

.logo-ensueno {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0.5rem 0;
}

.logo-lakefront {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 12px;
    color: var(--color-white);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1rem;
    margin-right: -12px;
    /* compensate tracking */
}

.hero-info {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description strong {
    font-weight: 600;
    color: var(--color-gold);
}

/* =========================================================================
   SECTION 2: CONCEPTO
   ========================================================================= */
.section--concepto {
    align-items: center;
}

.concepto-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.concepto-img-wrapper {
    flex: 1 1 50%;
    min-width: 300px;
    height: auto;
    /* Let the horizontal image define its natural height */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.concepto-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--trans-slow);
}

.concepto-img:hover {
    transform: scale(1.03);
    /* Más sutil para imagenes con cover */
}

.concepto-text {
    flex: 1 1 45%;
    min-width: 300px;
}

.concepto-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--color-navy);
    line-height: 1.2;
}

.concepto-description {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-features li {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-left: 3px solid var(--color-gold);
    color: var(--color-navy);
}

.hero-features .check {
    color: var(--color-gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    z-index: var(--z-normal);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-white);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* =========================================================================
   SECTION 2: PROTOTIPOS
   ========================================================================= */
.section--prototipos {
    align-items: flex-start;
}

.proto-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    z-index: var(--z-background);
    opacity: 0.1;
    /* Subtle background */
    mix-blend-mode: multiply;
}

.proto-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proto-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 600px;
}

.proto-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    color: var(--color-navy);
    background: transparent;
    border: 1px solid var(--color-navy);
    border-radius: 6px;
    font-weight: 500;
    transition: all var(--trans-fast);
}

.tab-btn.active,
.tab-btn:hover {
    color: var(--color-white);
    background: var(--color-navy);
    border-color: var(--color-navy);
}

.proto-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.proto-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.proto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.proto-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Sombra más suave y moderna */
    border-top: 5px solid var(--color-gold);
    transition: var(--trans-normal);
}

.proto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.planta-header {
    margin-bottom: 2rem;
}

.planta-tag {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-navy);
    border-bottom: 3px solid var(--color-gold);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.planta-img {
    width: 100%;
    height: 350px;
    /* Imagen mucho más grande y clara */
    object-fit: contain;
    margin-bottom: 2rem;
    transition: var(--trans-slow);
}

.proto-card:hover .planta-img {
    transform: scale(1.05);
}

.planta-intro {
    font-size: 0.95rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

.planta-list {
    display: flex;
    flex-direction: column;
}

.planta-list li {
    font-size: 1rem;
    /* Texto más legible */
    color: var(--color-text);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Separador sutil */
}

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

.planta-list .num {
    background: var(--color-navy);
    color: var(--color-white);
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Proto Footer Layout for Badge and Investment */
.proto-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.proto-badge {
    background: var(--color-navy);
    color: var(--color-white);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 4rem;
    box-shadow: 0 10px 30px rgba(27, 58, 75, 0.3);
    border: 2px solid var(--color-gold);
    flex-shrink: 0;
}

.badge-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1;
    color: var(--color-gold);
}

.badge-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.proto-investment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-white);
    padding: 2rem 4rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.invest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.invest-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--color-gold);
    line-height: 1;
}

.invest-text {
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center;
}

.invest-divider {
    width: 80px;
    height: 2px;
    background: var(--color-border);
}

/* =========================================================================
   SECTION 3: GALERÍA
   ========================================================================= */
.section--galeria {
    justify-content: flex-start;
}

.section--galeria .section-title {
    color: var(--color-gold);
}

.galeria-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.galeria-slider {
    width: 100%;
    position: relative;
}

.slider-main {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #000;
}

.slider-viewport {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: var(--trans-normal);
}

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

.slide-img,
.slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform var(--trans-slow);
}

.slide.active .slide-img:hover,
.slide.active .slide-video:hover {
    transform: scale(1.02);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--trans-fast);
}

.slider-arrow:hover {
    background: var(--color-gold);
}

.slider-arrow--prev {
    left: 1rem;
}

.slider-arrow--next {
    right: 1rem;
}

.slider-thumbs {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.slider-thumbs::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--trans-fast);
    opacity: 0.6;
    position: relative;
    background: #000;
}

.thumb img,
.thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    z-index: 2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
}

.thumb.active {
    border-color: var(--color-gold);
}

/* =========================================================================
   SECTION 4: UBICACIÓN
   ========================================================================= */
.section--ubicacion {
    align-items: stretch;
}

.ubic-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ubic-card {
    /* base width for 6 columns */
    width: calc(16.666% - 1.25rem);
    background: var(--color-white);
    padding: 2rem 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--trans-normal);
    border-bottom: 3px solid transparent;
}

.ubic-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--color-gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.ubic-icon {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.ubic-time {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.ubic-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.ubic-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: var(--color-border);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
}

/* =========================================================================
   SECTION 5: MASTER PLAN
   ========================================================================= */
.section--masterplan .section-title {
    color: var(--color-gold);
}

.mp-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.mp-left {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mp-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mp-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mp-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.mp-card img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    transition: transform var(--trans-slow);
    display: block;
}

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

.mp-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    line-height: 1.2;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.mp-features {
    display: flex;
    justify-content: center;
}

.mp-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-gold);
}

.mp-feature svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

/* =========================================================================
   SECTION 6: CONTACTO
   ========================================================================= */
.section--contacto .section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 700px;
    text-align: center;
}

.contact-logo {
    margin-bottom: 2rem;
}

.birds-svg--dark {
    color: var(--color-navy);
}

.contact-logo-text {
    font-family: var(--font-heading);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.contact-logo-text .logo-el {
    color: var(--color-navy);
    font-size: 1rem;
}

.contact-logo-text .logo-ensueno {
    color: var(--color-navy);
    font-size: 3rem;
}

.contact-logo-text .logo-lakefront {
    color: var(--color-navy);
    border-top-color: var(--color-gold);
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    margin-top: 3rem;
    text-align: left;
}

.form-title {
    font-size: 2rem;
    color: var(--color-navy);
    margin-bottom: 2rem;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
}

/* Fix for intlTelInput width and dropdown text */
.iti {
    width: 100%;
    display: block;
}

.iti__country-list {
    color: var(--color-navy);
    font-family: var(--font-body);
    text-align: left;
}

.required {
    color: var(--color-gold);
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--trans-fast);
    background: var(--color-light-bg);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(200, 163, 95, 0.2);
}

.btn--submit {
    width: 100%;
    margin-top: 1rem;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    width: 100%;
    background: var(--color-white);
    color: var(--color-navy);
    padding: 4.5rem 2rem 2.5rem;
    scroll-snap-align: start;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(17, 42, 58, 0.08), rgba(200, 163, 95, 0.4), rgba(17, 42, 58, 0.08));
}

.footer-content {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-top {
    text-align: center;
    margin-bottom: 2.5rem;
}

.footer-developer {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.footer-partners {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem 0;
    border-top: 1px solid rgba(17, 42, 58, 0.08);
    border-bottom: 1px solid rgba(17, 42, 58, 0.08);
}

.partner {
    flex: 1 1 260px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
    text-align: center;
}

.partner-prefix {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.partner-card {
    width: 100%;
    border-radius: 20px;
    padding: 1.5rem;
    background: #f6f7fb;
    border: 1px solid rgba(17, 42, 58, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    box-shadow: 0 20px 40px rgba(16, 42, 58, 0.08);
}

.partner-logo {
    width: clamp(160px, 25vw, 220px);
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

.hostink-logo {
    width: clamp(200px, 32vw, 280px);
}

.footer-copy {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: rgba(18, 40, 54, 0.8);
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 1.5rem 2.5rem;
    }

    .partner-card {
        min-height: 120px;
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .footer-partners {
        gap: 2rem;
    }

    .partner-card {
        padding: 1rem;
    }
}

/* =========================================================================
   FAB (Floating Action Button) WhatsApp
   ========================================================================= */
.fab-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--color-whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: var(--z-modal);
    transition: var(--trans-normal);
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    background-color: var(--color-whatsapp-hover);
}


/* =========================================================================
   LIGHTBOX GALERIA
   ========================================================================= */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3rem;
    color: white;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s;
}

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

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10001;
    backdrop-filter: blur(5px);
}

.lightbox-arrow:hover {
    background: var(--color-gold);
    color: var(--color-navy);
}

.lightbox-arrow--prev {
    left: 2rem;
}

.lightbox-arrow--next {
    right: 2rem;
}

@media (max-width: 768px) {
    .lightbox-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-arrow--prev {
        left: 1rem;
    }

    .lightbox-arrow--next {
        right: 1rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
    }
}

/* =========================================================================
   MEDIA QUERIES
   ========================================================================= */
@media (max-width: 1200px) {
    .ubic-card {
        width: calc(25% - 1.125rem);
        /* 4 items por fila */
    }
}

@media (max-width: 1024px) {
    .ubic-card {
        width: calc(33.333% - 1rem);
        /* 3 items por fila */
    }

    .concepto-grid {
        flex-direction: column;
        gap: 3rem;
    }

    .concepto-img-wrapper {
        width: 100%;
        height: auto;
    }

    .concepto-text {
        width: 100%;
    }

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

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

    .mp-right {
        flex-direction: row;
    }

    .mp-card img {
        min-height: 120px;
    }

    /* Fix galeria height on tablets */
    .slider-main {
        height: 40vh;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .ubic-card {
        width: calc(50% - 0.75rem);
        /* 2 items por fila */
    }

    .brand-logo-img {
        max-width: 250px;
        /* Smaller on mobile */
    }

    .hero-content {
        padding-top: 5rem;
        /* Ajuste para movil */
    }

    .hero-bottom {
        padding-bottom: 7rem;
        /* Subir más el indicador en móvil */
    }

    html {
        scroll-snap-type: none;
        /* Mejor UX en mobile sin scroll snap estricto */
    }

    .scroll-wrapper {
        overflow: visible;
    }

    .section {
        height: auto;
        min-height: 100vh;
        padding-top: 5rem;
        padding-bottom: 5rem;
        overflow: visible;
    }

    .mp-right {
        flex-direction: column;
    }

    .mp-card img {
        min-height: 180px;
    }

    .hero-content {
        gap: 2rem;
        padding-top: 4rem;
    }

    .side-nav {
        display: none;
        /* Replace con hamburger menu si el cliente lo desea, o esconder dots en mobile */
    }

    .section-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .mp-label {
        padding: 0.3rem 0.6rem;
    }

    .mp-text {
        font-size: 0.75rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .concepto-img-wrapper {
        height: auto;
    }

    .proto-tabs {
        flex-direction: column;
        width: 100%;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
    }

    .slider-main {
        height: 30vh;
        min-height: 250px;
    }

    .hero-features li {
        font-size: 0.95rem;
        padding: 0.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}
