/*
   VERTICAL SOLUTIONS - Design System
   Style: Cartier x Rolex (Lujo discreto, atemporal)
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@300;400;700&display=swap');

:root {
    --primary: #050C15;      /* Charcoal Black (deep premium) */
    --accent: #C9A961;       /* Champagne Gold (lujo discreto) */
    --accent-soft: #B89651;  /* Champagne Gold (sombra) */
    --aesthetic: #FDFDFD;    /* Off-White (Dior) */
    --white: #FFFFFF;        /* Pure white */
    --glass: rgba(255, 255, 255, 0.03);
    --transition: cubic-bezier(0.7, 0, 0.3, 1);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
}

body {
    background-color: var(--aesthetic);
    color: var(--primary);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--font-serif);
}


/* --- Header / Navigation (Estilo Ferrari/Apple/SpaceX) --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0; /* Espacio inicial Dior */
    transition: all 0.6s var(--transition);
    opacity: 0; /* Oculto para el splash */
}

header.scrolled {
    padding: 15px 0;
    background: rgba(5, 12, 21, 0.9);
    backdrop-filter: blur(15px);
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px !important;
}

/* El bloque de links estilo Ferrari */
.nav-box {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 30px;
    border-radius: 50px; /* Estilo cápsula moderna */
    background: rgba(255, 255, 255, 0.02);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--aesthetic);
    text-decoration: none;
    font-size: 0.65rem; /* Pequeño y elegante */
    font-weight: 700;
    letter-spacing: 3px; /* Espaciado SpaceX */
    text-transform: uppercase;
    transition: all 0.3s ease;
    opacity: 0.6;
}

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

.logo-box h1 {
    font-size: 1rem;
    letter-spacing: 5px;
    font-weight: 800;
    color: var(--white);
}

/* --- Hero Section (Ferrari Full Video Style) --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    background: var(--primary);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* El Video de Fondo Inmersivo */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden; /* CRUCIAL: Esto corta lo que sobra del zoom */
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1); /* Regresamos a tamaño original para evitar pérdida de calidad */
    transform-origin: center;
    opacity: 0;
    transition: opacity 2s var(--transition);
}

/* Capa de Lujo (Overlay/Gradient) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(5, 12, 21, 0.9) 0%, 
        rgba(5, 12, 21, 0.4) 50%, 
        transparent 100%
    );
    z-index: 2;
    opacity: 0;
    transition: opacity 1.5s var(--transition);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10%;
    color: #FFFFFF; /* Blanco Puro estilo Dior Brillante */
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s var(--transition);
}

.hero.active .hero-video-bg video,
.hero.active .hero-overlay {
    opacity: 1;
}

.hero.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-up-text {
    font-size: 5rem; 
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5); /* Sombra para máxima legibilidad */
}

.slide-up-sub {
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
    letter-spacing: 1px;
    color: rgba(255,255,255,1); /* Blanco sólido */
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* El Elevador que Sube — INTERIOR LUJO XIZI */
.elevator-entrance {
    width: 100vw;
    height: 100vh;
    background: url('elevator-interior-luxury.jpg') no-repeat center center;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    transition: transform 2.8s var(--transition);
    z-index: 9999;
    box-shadow: 0 0 100px rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Overlay sutil sobre la imagen para que el texto BIENVENIDO tenga contraste */
.elevator-entrance::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.45) 70%,
        rgba(0, 0, 0, 0.65) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Puertas champagne gold pulido XIZI — 5 capas para profundidad 3D realista */
.door {
    position: absolute;
    top: 0;
    width: 50.5%;
    height: 100%;
    /* Capa 1: Reflejo diagonal de luz cálida (135deg, simula luz cenital izquierda)
       Capa 2: Highlight superior cálido + reflejo dorado inferior del piso de mármol
       Capa 3: Highlight CENTRAL vertical pronunciado (efecto de superficie cilíndrica/curva)
       Capa 4: Base gradient bronze/champagne gold pulido horizontal */
    background:
        linear-gradient(135deg,
            rgba(255, 248, 220, 0.18) 0%,
            rgba(255, 240, 200, 0.05) 25%,
            transparent 50%,
            transparent 75%,
            rgba(40, 25, 10, 0.12) 100%
        ),
        linear-gradient(180deg,
            rgba(255, 244, 210, 0.28) 0%,
            rgba(255, 230, 180, 0.10) 12%,
            transparent 30%,
            transparent 65%,
            rgba(180, 130, 70, 0.10) 82%,
            rgba(230, 195, 140, 0.22) 92%,
            rgba(255, 220, 170, 0.30) 100%
        ),
        radial-gradient(ellipse 60% 100% at 50% 50%,
            rgba(255, 248, 220, 0.18) 0%,
            rgba(255, 240, 200, 0.08) 35%,
            transparent 75%
        ),
        linear-gradient(90deg,
            #2B1F0E 0%,
            #4A3818 3%,
            #6E5630 9%,
            #8B6F3F 18%,
            #AB8A4C 28%,
            #C9A961 40%,
            #E0C081 48%,
            #F0D9A0 52%,
            #E0C081 56%,
            #C9A961 64%,
            #AB8A4C 76%,
            #8B6F3F 84%,
            #6E5630 91%,
            #4A3818 97%,
            #2B1F0E 100%
        );
    z-index: 50;
    transition: transform 1.5s cubic-bezier(0.7, 0, 0.3, 1);
    box-shadow:
        inset 0 0 140px rgba(45, 30, 10, 0.6),
        inset 0 14px 40px rgba(255, 244, 210, 0.22),
        inset 0 -14px 40px rgba(30, 18, 5, 0.6);
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Drop-shadow externa para depth — solo cuando las puertas están cerradas */
    filter: drop-shadow(0 0 30px rgba(0, 0, 0, 0.4));
}

/* Textura compleja: brushed vertical fino + 3 paneles con bisel doble + reflejo de piso */
.door::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background:
        /* Brushed metal vertical (más visible que antes pero aún sutil) */
        repeating-linear-gradient(
            90deg,
            transparent 0px,
            transparent 1px,
            rgba(255, 244, 210, 0.07) 1px,
            rgba(255, 244, 210, 0.07) 2px,
            transparent 2px,
            transparent 3px,
            rgba(50, 35, 12, 0.09) 3px,
            rgba(50, 35, 12, 0.09) 4px
        ),
        /* 3 paneles horizontales con bisel doble (sombra + highlight en cada junta) */
        linear-gradient(180deg,
            transparent 0%,
            transparent 32.5%,
            rgba(20, 12, 4, 0.5) 32.7%,
            rgba(30, 20, 8, 0.85) 33%,
            rgba(20, 12, 4, 0.5) 33.3%,
            rgba(255, 244, 210, 0.22) 33.6%,
            rgba(255, 244, 210, 0.10) 33.9%,
            transparent 34.2%,
            transparent 65.8%,
            rgba(20, 12, 4, 0.5) 66%,
            rgba(30, 20, 8, 0.85) 66.3%,
            rgba(20, 12, 4, 0.5) 66.6%,
            rgba(255, 244, 210, 0.22) 66.9%,
            rgba(255, 244, 210, 0.10) 67.2%,
            transparent 67.5%
        );
    pointer-events: none;
    z-index: 2;
}

/* Capa adicional ::after para reflejo cálido del piso (warm floor bounce light) */
.door::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 22%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 200, 130, 0.08) 50%,
        rgba(255, 180, 100, 0.20) 100%
    );
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: screen;
}

/* Puerta izquierda: bisel oscuro pronunciado hacia el centro */
.door-left {
    left: 0;
    transform: translateX(-100%);
    border-right: 2px solid #1A1206;
    justify-content: flex-end;
    box-shadow:
        inset 0 0 140px rgba(45, 30, 10, 0.6),
        inset 0 14px 40px rgba(255, 244, 210, 0.22),
        inset 0 -14px 40px rgba(30, 18, 5, 0.6),
        inset -18px 0 38px rgba(20, 12, 4, 0.65),
        inset -3px 0 0 rgba(255, 244, 210, 0.12);
}

/* Puerta derecha: simétrica */
.door-right {
    right: 0;
    transform: translateX(100%);
    border-left: 2px solid #1A1206;
    justify-content: flex-start;
    box-shadow:
        inset 0 0 140px rgba(45, 30, 10, 0.6),
        inset 0 14px 40px rgba(255, 244, 210, 0.22),
        inset 0 -14px 40px rgba(30, 18, 5, 0.6),
        inset 18px 0 38px rgba(20, 12, 4, 0.65),
        inset 3px 0 0 rgba(255, 244, 210, 0.12);
}

/* Logo Grabado en el bronze — efecto engraved sobre champagne gold */
.door-logo {
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(45, 30, 12, 0.7);
    text-shadow:
        -1px -1px 1px rgba(255, 240, 200, 0.6),
        1px 1px 2px rgba(20, 12, 4, 0.95),
        0 0 2px rgba(255, 240, 200, 0.18);
    letter-spacing: 8px;
    white-space: nowrap;
    opacity: 0.92;
    padding: 0 30px;
    z-index: 5;
    position: relative;
}

/* Brillo especular cálido que recorre la puerta al cerrar */
.elevator-entrance.closing::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 240, 200, 0.22) 38%,
        rgba(255, 250, 220, 0.48) 50%,
        rgba(255, 240, 200, 0.22) 62%,
        transparent);
    z-index: 60;
    transform: skewX(-15deg);
    animation: shine-sweep 1.4s forwards 0.3s;
}

@keyframes shine-sweep {
    to { left: 150%; }
}

/* Cerrando Puertas */
.elevator-entrance.closing .door-left,
.elevator-entrance.closing .door-right {
    transform: translateX(0);
}

.elevator-entrance.departing {
    transform: translateY(-100vh); /* Sube el elevador */
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--white) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.10) !important;
}

.catalog-card img {
    transition: transform 0.6s var(--transition);
}

.catalog-card:hover img {
    transform: scale(1.06);
}

.catalog-card:hover .see-more {
    gap: 14px !important;
}

.benefit-card {
    transition: all 0.4s var(--transition);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.10) !important;
}

/* Mensaje de Bienvenida Luminoso (LED Style) */
.loading-box h2 {
    font-size: 2.8rem !important;
    letter-spacing: 12px;
    color: #fff;
    text-shadow: 
        0 0 10px rgba(255,255,255,0.8),
        0 0 20px rgba(255,255,255,0.4),
        0 0 30px var(--accent);
    animation: led-flicker 3s infinite alternate;
}

@keyframes led-flicker {
    0%, 100% { 
        opacity: 1; 
        text-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 40px var(--accent); 
    }
    5% { opacity: 0.9; }
    10% { opacity: 1; }
}

/* Iluminación interactiva del texto de instrucción */
.loading-box p {
    color: rgba(255,255,255,0.6);
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-top: 10px;
}

.elevator-entrance:hover .loading-box h2 {
    color: var(--white);
    text-shadow: 0 0 20px rgba(255,255,255,0.6);
}

.elevator-entrance:hover .loading-box p {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent);
    letter-spacing: 4px; /* Efecto de expansión sutil */
}

/* --- Utility Classes --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-premium {
    padding: 15px 40px;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.78rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(201,169,97,0.25);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-premium:hover {
    transform: scale(1.04);
    box-shadow: 0 15px 30px rgba(201,169,97,0.4);
    background: var(--accent-soft);
}

/* --- XIZI Tech Section --- */
.xizi-tech {
    padding: 120px 0;
    background: var(--aesthetic);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tech-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 20px 0;
    font-weight: 700;
}

.label {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
}

.tech-content p {
    font-size: 1.1rem;
    color: rgba(5, 12, 21, 0.7);
    line-height: 1.8;
    margin-bottom: 30px;
}

.tech-list {
    margin-bottom: 40px;
}

.tech-list li {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--primary);
    position: relative;
    padding-left: 25px;
}

.tech-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.visual-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.6s var(--transition);
}

.visual-card:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* --- Architects Glassmorphism --- */
.architects {
    padding: 150px 0;
    background: linear-gradient(180deg, var(--white) 0%, #f4f7f9 100%);
}

.guide-item:hover {
    transform: translateY(-5px);
    background: var(--white) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* --- WhatsApp Floating Button (Premium) --- */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    height: 58px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0;
    text-decoration: none;
    box-shadow:
        0 14px 32px rgba(18, 140, 126, 0.32),
        0 4px 10px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.7, 0, 0.3, 1);
    cursor: pointer;
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    animation: whatsapp-pulse 2.2s cubic-bezier(0.66, 0, 0, 1) infinite;
    pointer-events: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.whatsapp-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

.whatsapp-label {
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    position: relative;
    z-index: 2;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(18, 140, 126, 0.45),
        0 6px 14px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.whatsapp-btn:hover .whatsapp-label {
    max-width: 130px;
    padding-right: 22px;
}

.whatsapp-btn:hover .whatsapp-pulse {
    animation: none;
    opacity: 0;
}

.whatsapp-btn:active {
    transform: translateY(-1px) scale(0.99);
}

/* --- Mobile Hamburger Button --- */
.mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.7, 0, 0.3, 1);
    transform-origin: center;
}

.mobile-toggle.active {
    background: rgba(201, 169, 97, 0.15);
    border-color: var(--accent);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--accent);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--accent);
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 12, 21, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s var(--transition);
    padding: 80px 30px 50px;
}

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

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: center;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li a {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 8px 16px;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a:focus {
    color: var(--accent);
}

.mobile-menu-cta {
    background: var(--accent);
    color: var(--primary);
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
    transition: transform 0.3s ease;
}

.mobile-menu-cta:hover {
    transform: scale(1.04);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tech-list {
        display: inline-block;
        text-align: left;
    }

    .slide-up-text {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    /* Header: nav-box desktop oculto, hamburguesa visible */
    .nav-box {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Esconder el CTA "AUDITORÍA" desktop en mobile (el menú overlay tiene su propio CTA) */
    .cta-box {
        display: none;
    }

    header {
        padding: 16px 0;
    }

    nav.container {
        padding: 0 18px;
    }

    /* Hero */
    .slide-up-text {
        font-size: 2.4rem !important;
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .slide-up-sub {
        font-size: 0.95rem !important;
        margin-bottom: 28px;
    }

    .hero-content {
        padding: 0 24px !important;
    }

    /* Hero CTA buttons: wrap + full width */
    .hero-content .cta-group {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .hero-content .cta-group .btn-premium {
        flex: 1 1 100%;
        min-width: 0;
        padding: 14px 24px !important;
        font-size: 0.75rem !important;
        justify-content: center;
        text-align: center;
    }

    /* Door logo splash mobile */
    .door-logo {
        font-size: 1.1rem;
        letter-spacing: 4px;
        padding: 0 12px;
    }

    .loading-box h2 {
        font-size: 1.6rem !important;
        letter-spacing: 6px !important;
    }

    /* Section paddings reducidos */
    .services,
    .catalog,
    .villalift,
    .xizi-tech,
    .modernizacion,
    .architects,
    .contact {
        padding: 60px 0 !important;
    }

    /* Container padding mobile */
    .container {
        padding: 0 18px;
    }

    /* Service cards padding interno */
    .service-card {
        padding: 28px !important;
    }

    /* Catalog cards: 1 columna en mobile */
    .catalog .container > div:nth-of-type(2) {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* VillaLift section: 1 columna y minmax bajado */
    .villalift .container > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .villalift h2 {
        font-size: 2rem !important;
    }

    .villalift h3 {
        font-size: 1.6rem !important;
    }

    .benefit-card {
        padding: 28px 22px !important;
    }

    /* XIZI tech section */
    .tech-content h2 {
        font-size: 2.2rem !important;
    }

    .tech-content p {
        font-size: 0.95rem;
    }

    /* Modernización */
    .modernizacion h2 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .modernizacion h3 {
        font-size: 0.95rem !important;
    }

    /* Architects section */
    .architects .glass-card {
        padding: 36px 24px !important;
        border-radius: 22px !important;
    }

    .architects h3 {
        font-size: 1.8rem !important;
    }

    /* Contact section: 1 columna */
    .contact .container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .contact-info h2 {
        font-size: 2.2rem !important;
    }

    .premium-form {
        padding: 28px 22px !important;
    }

    /* iOS no hace zoom si font-size >= 16px en inputs */
    .premium-form input,
    .premium-form textarea {
        font-size: 16px !important;
    }

    /* Catalog title */
    .catalog h3 {
        font-size: 1.8rem !important;
    }

    /* Footer */
    footer {
        padding: 50px 0 !important;
    }

    footer h1 {
        letter-spacing: 8px !important;
        font-size: 1.2rem !important;
    }

    footer > div > div:nth-of-type(2),
    footer .container > div {
        flex-wrap: wrap !important;
        gap: 18px !important;
    }

    /* WhatsApp widget — más chico y reposicionado en mobile */
    .whatsapp-btn {
        height: 54px;
        bottom: 20px;
        right: 18px;
    }

    .whatsapp-icon {
        width: 54px;
        height: 54px;
    }

    .whatsapp-icon svg {
        width: 26px;
        height: 26px;
    }

    /* En mobile no expandir el label en tap (sería molesto) */
    .whatsapp-btn:hover .whatsapp-label,
    .whatsapp-btn:active .whatsapp-label {
        max-width: 0;
        padding-right: 0;
    }
}

/* Mobile chico (iPhone SE, Android viejo) */
@media (max-width: 480px) {
    .slide-up-text {
        font-size: 2rem !important;
    }

    .slide-up-sub {
        font-size: 0.9rem !important;
    }

    .hero-content {
        padding: 0 18px !important;
    }

    .door-logo {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .loading-box h2 {
        font-size: 1.3rem !important;
        letter-spacing: 4px !important;
    }

    .mobile-menu ul li a {
        font-size: 1.35rem;
    }

    .villalift h2,
    .modernizacion h2 {
        font-size: 1.7rem !important;
    }

    .contact-info h2 {
        font-size: 1.9rem !important;
    }

    .btn-premium {
        padding: 13px 26px;
        font-size: 0.72rem;
        letter-spacing: 1px;
    }

    /* Footer links se apilan en mobile chico */
    footer .container > div {
        flex-direction: column !important;
        gap: 14px !important;
    }
}
