/* =========================================
   1. VARIABLES Y RESETEO BÁSICO
========================================= */
:root {
    --blanco-fondo: #f4f4f6;
    --blanco-puro: #ffffff;
    --gris-oscuro: #1a1a1a;
    --gris-texto: #4a4a4a;
    --verde-organico: #2d6a4f;
    --neon-rosa: #ff00aa;
    --neon-morado: #aa00ff;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--blanco-fondo);
    overflow-x: hidden;
    color: var(--gris-oscuro);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    line-height: 1.2;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gris-oscuro);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--neon-rosa), var(--neon-morado));
    border-radius: 4px;
}

/* =========================================
   2. ANIMACIONES
========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes neonPulse {

    0%,
    100% {
        box-shadow: 0 0 10px var(--neon-rosa), 0 0 40px var(--neon-morado);
    }

    50% {
        box-shadow: 0 0 20px var(--neon-rosa), 0 0 60px var(--neon-morado), 0 0 80px rgba(170, 0, 255, 0.3);
    }
}

@keyframes lineExpand {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7), 0 0 40px rgba(37, 211, 102, 0.3);
    }

    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   3. ENCABEZADO Y NAVEGACIÓN
========================================= */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 50px;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled {
    padding: 12px 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(170, 0, 255, 0.1);
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gris-oscuro);
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    border-color: var(--neon-morado);
    box-shadow: 0 0 12px rgba(170, 0, 255, 0.3);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--gris-oscuro);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

nav a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--neon-rosa), var(--neon-morado));
    transition: width 0.3s ease;
}

nav a:not(.nav-cta):hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--verde-organico);
}

.nav-cta {
    background: var(--gris-oscuro);
    color: var(--blanco-puro) !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-cta:hover {
    background: var(--verde-organico);
    color: var(--blanco-puro) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(45, 106, 79, 0.3);
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gris-oscuro);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================
   4. SECCIÓN HERO
========================================= */
.hero {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(160deg, var(--blanco-puro) 0%, var(--blanco-fondo) 50%, rgba(170, 0, 255, 0.03) 100%);
    position: relative;
    overflow: hidden;
    padding: 40px 20px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(170, 0, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 170, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-contenido {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--verde-organico);
    margin-bottom: 24px;
    animation: fadeIn 1s ease 0.2s both;
}

.hero-contenido h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -1px;
    animation: fadeInUp 1s ease 0.4s both;
}

.text-gradient {
    background: linear-gradient(135deg, var(--neon-rosa), var(--neon-morado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gris-texto);
    margin-bottom: 48px;
    min-height: 1.5em;
    animation: fadeIn 1s ease 0.6s both;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--neon-rosa), var(--neon-morado));
    margin: 48px auto 0;
    border-radius: 2px;
    animation: lineExpand 1s ease 1.2s both;
}

/* =========================================
   5. BOTONES
========================================= */
.btn-neon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 42px;
    background-color: var(--gris-oscuro);
    color: var(--blanco-puro);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: neonPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-neon:hover::before {
    left: 100%;
}

.btn-neon:hover {
    background-color: var(--blanco-puro);
    color: var(--gris-oscuro);
    transform: translateY(-3px);
    box-shadow: 0 0 25px var(--neon-rosa), 0 0 70px var(--neon-morado);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 42px;
    background: transparent;
    color: var(--gris-oscuro);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 2px solid var(--gris-oscuro);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover {
    background: var(--gris-oscuro);
    color: var(--blanco-puro);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 26, 26, 0.2);
}

.btn-outline svg {
    transition: transform 0.3s ease;
}

.btn-outline:hover svg {
    transform: scale(1.1);
}

/* =========================================
   6. SECTION HEADERS
========================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--neon-morado);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--neon-rosa), var(--neon-morado));
    border-radius: 2px;
}

/* =========================================
   7. SECCIÓN SERVICIOS
========================================= */
.servicios {
    padding: 100px 50px;
    background: var(--blanco-puro);
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.servicio-card {
    background: var(--blanco-fondo);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--neon-rosa), var(--neon-morado));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: rgba(170, 0, 255, 0.1);
}

.servicio-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gris-oscuro);
    border-radius: 16px;
    color: var(--blanco-puro);
    transition: all 0.4s ease;
}

.servicio-card:hover .servicio-icon {
    background: linear-gradient(135deg, var(--neon-rosa), var(--neon-morado));
    box-shadow: 0 8px 25px rgba(170, 0, 255, 0.3);
    transform: scale(1.05);
}

.servicio-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.servicio-card p {
    color: var(--gris-texto);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =========================================
   8. GALERÍA DE CORTES
========================================= */
.galeria {
    padding: 100px 50px;
    background: var(--blanco-fondo);
}

.grid-cortes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tarjeta {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: var(--gris-oscuro);
    height: 420px;
}

.tarjeta:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(170, 0, 255, 0.15),
        0 0 0 1px rgba(170, 0, 255, 0.1);
}

.tarjeta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tarjeta:hover img {
    transform: scale(1.08);
}

.tarjeta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(26, 26, 26, 0.9) 0%,
            rgba(26, 26, 26, 0.3) 40%,
            transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tarjeta:hover .tarjeta-overlay {
    opacity: 1;
}

.overlay-play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.overlay-play svg {
    margin-left: 4px;
}

.tarjeta:hover .overlay-play {
    box-shadow: 0 0 30px rgba(255, 0, 170, 0.4);
    border-color: var(--neon-rosa);
}

.tarjeta-label {
    color: var(--blanco-puro);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 16px;
}

/* =========================================
   9. MODAL DE VIDEO
========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.modal-contenido {
    position: relative;
    width: 90%;
    max-width: 800px;
    animation: fadeInUp 0.4s ease;
}

.modal-contenido video {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(170, 0, 255, 0.15);
}

.cerrar {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--blanco-puro);
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.cerrar:hover {
    background: var(--neon-rosa);
    transform: rotate(90deg);
}

/* =========================================
   10. UBICACIÓN
========================================= */
.info-local {
    padding: 100px 50px;
    background: var(--gris-oscuro);
    color: var(--blanco-puro);
}

.info-local .section-tag {
    color: var(--neon-rosa);
}

.info-local .section-header h2 {
    color: var(--blanco-puro);
}

.contenedor-ubicacion {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.datos-contacto,
.mapa-google {
    flex: 1;
    min-width: 300px;
}

.datos-contacto {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.dato-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.dato-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(170, 0, 255, 0.2);
    transform: translateX(5px);
}

.dato-item svg {
    color: var(--neon-rosa);
    flex-shrink: 0;
    margin-top: 2px;
}

.dato-item p {
    font-size: 1rem;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.dato-item strong {
    color: var(--blanco-puro);
    font-weight: 600;
}

.mapa-google {
    background-color: rgba(255, 255, 255, 0.05);
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================================
   11. FOOTER
========================================= */
footer {
    background-color: var(--gris-oscuro);
    color: var(--blanco-puro);
    padding: 0;
    position: relative;
}

.footer-top-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--neon-rosa), var(--neon-morado), transparent);
}

.footer-contenido {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 50px 40px;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--blanco-puro);
    transform: translateX(4px);
}

.enlaces-redes {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.enlaces-redes a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.enlaces-redes a:hover {
    color: var(--neon-morado);
    transform: translateX(4px);
}

.enlaces-redes a svg {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 20px 50px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
}

/* =========================================
   12. BOTÓN WHATSAPP FLOTANTE
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    animation: whatsappPulse 2.5s ease-in-out infinite;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    flex-shrink: 0;
}

/* =========================================
   13. RESPONSIVE DESIGN — MOBILE FIRST
   Optimizado para QR → celular
========================================= */

/* === TABLET (max-width: 900px) === */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: var(--blanco-puro);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        padding: 100px 30px 30px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 150;
        overflow-y: auto;
        visibility: hidden;
    }

    nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 6px;
    }

    nav a {
        font-size: 1.05rem;
        display: block;
        padding: 16px 12px;
        border-radius: 12px;
        border-bottom: none;
        transition: background 0.2s ease;
    }

    nav a:not(.nav-cta)::after {
        display: none;
    }

    nav a:active {
        background: var(--blanco-fondo);
    }

    .nav-cta {
        text-align: center;
        margin-top: 16px;
        padding: 16px 24px;
    }

    header {
        padding: 14px 20px;
    }

    header.scrolled {
        padding: 10px 20px;
    }

    .logo {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .logo-img {
        width: 36px;
        height: 36px;
    }

    /* HERO mobile */
    .hero {
        min-height: 85vh;
        min-height: 85dvh;
        padding: 30px 20px;
    }

    .hero-contenido h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 36px;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 10px;
        gap: 12px;
    }

    .btn-neon,
    .btn-outline {
        justify-content: center;
        width: 100%;
        padding: 16px 24px;
        font-size: 0.95rem;
    }

    .hero-line {
        margin-top: 36px;
    }

    /* SECTIONS mobile */
    .servicios,
    .galeria,
    .info-local {
        padding: 60px 20px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-tag {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

    /* SERVICIOS mobile — horizontal scroll */
    .grid-servicios {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 16px;
        scrollbar-width: none;
        /* Firefox */
    }

    .grid-servicios::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .servicio-card {
        flex: 0 0 260px;
        scroll-snap-align: center;
        padding: 30px 24px;
    }

    .servicio-card::before {
        transform: scaleX(1);
        /* Always show on mobile */
    }

    .servicio-icon {
        width: 60px;
        height: 60px;
        border-radius: 14px;
        margin: 0 auto 18px;
    }

    .servicio-icon svg {
        width: 32px;
        height: 32px;
    }

    .servicio-card h3 {
        font-size: 1.15rem;
    }

    .servicio-card p {
        font-size: 0.9rem;
    }

    /* GALERÍA mobile */
    .grid-cortes {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tarjeta {
        height: 320px;
        border-radius: 16px;
    }

    /* Show overlay always on touch devices */
    .tarjeta-overlay {
        opacity: 1;
        background: linear-gradient(to top,
                rgba(26, 26, 26, 0.85) 0%,
                rgba(26, 26, 26, 0.15) 50%,
                transparent 100%);
    }

    .overlay-play {
        width: 60px;
        height: 60px;
        box-shadow: 0 0 20px rgba(255, 0, 170, 0.3);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .overlay-play svg {
        width: 36px;
        height: 36px;
    }

    /* Active state feedback on tap */
    .tarjeta:active {
        transform: scale(0.97);
    }

    .tarjeta:active .overlay-play {
        background: rgba(255, 0, 170, 0.3);
        border-color: var(--neon-rosa);
    }

    /* MODAL VIDEO — Fullscreen on mobile */
    .modal-contenido {
        width: 96%;
        max-width: none;
    }

    .modal-contenido video {
        border-radius: 12px;
    }

    .cerrar {
        top: -44px;
        right: 4px;
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    /* UBICACIÓN mobile */
    .contenedor-ubicacion {
        flex-direction: column;
        gap: 24px;
    }

    .datos-contacto,
    .mapa-google {
        min-width: unset;
    }

    .datos-contacto {
        gap: 16px;
    }

    .dato-item {
        padding: 16px;
        border-radius: 14px;
    }

    .dato-item:hover {
        transform: none;
        /* No translateX on mobile */
    }

    .dato-item p {
        font-size: 0.92rem;
    }

    .mapa-google {
        height: 280px;
        border-radius: 14px;
    }

    /* FOOTER mobile */
    .footer-contenido {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 20px 28px;
    }

    .footer-logo {
        font-size: 1.2rem;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-col h4 {
        margin-bottom: 14px;
    }

    .footer-col a {
        padding: 8px 0;
    }

    .footer-col a:hover {
        transform: none;
    }

    .enlaces-redes a {
        padding: 8px 0;
    }

    .footer-bottom {
        padding: 16px 20px;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    /* WHATSAPP — Icon only on mobile */
    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 16px;
        border-radius: 50%;
        bottom: 24px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* === SMALL PHONES (max-width: 480px) === */
@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
        min-height: 80dvh;
        padding: 24px 16px;
    }

    .hero-badge {
        font-size: 0.65rem;
        letter-spacing: 2.5px;
        margin-bottom: 18px;
    }

    .hero-contenido h1 {
        font-size: clamp(2rem, 12vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero-buttons {
        padding: 0;
    }

    .btn-neon,
    .btn-outline {
        padding: 15px 20px;
        font-size: 0.88rem;
        letter-spacing: 1px;
    }

    /* Services -> full width cards */
    .servicio-card {
        flex: 0 0 240px;
    }

    .tarjeta {
        height: 280px;
    }

    .overlay-play {
        width: 52px;
        height: 52px;
    }

    .overlay-play svg {
        width: 28px;
        height: 28px;
    }

    .tarjeta-label {
        font-size: 0.75rem;
        margin-top: 10px;
    }

    .servicios,
    .galeria,
    .info-local {
        padding: 48px 16px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    /* Modal fullscreen */
    .modal-contenido {
        width: 100%;
        padding: 0 8px;
    }

    .modal-contenido video {
        border-radius: 8px;
    }

    .cerrar {
        top: -40px;
    }

    .mapa-google {
        height: 240px;
    }

    .dato-item {
        padding: 14px 12px;
        gap: 12px;
    }

    .dato-item svg {
        width: 18px;
        height: 18px;
    }

    .dato-item p {
        font-size: 0.85rem;
    }

    nav {
        width: 100%;
        /* Full screen slide on small phones */
    }
}

/* === TALL PHONES / LANDSCAPE AWARE === */
@media (max-width: 900px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 40px 30px;
    }

    .hero-contenido h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .btn-neon,
    .btn-outline {
        width: auto;
    }

    .grid-cortes {
        grid-template-columns: repeat(2, 1fr);
    }

    .tarjeta {
        height: 220px;
    }

    .modal-contenido {
        width: 85%;
        max-width: 600px;
    }
}

/* === Safe area insets for phones with notch === */
@supports (padding: env(safe-area-inset-bottom)) {
    .whatsapp-float {
        bottom: calc(24px + env(safe-area-inset-bottom));
        right: calc(20px + env(safe-area-inset-right));
    }

    header {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* === Touch-friendly active states === */
@media (hover: none) and (pointer: coarse) {

    /* Remove hover effects that don't work on touch */
    .servicio-card:hover {
        transform: none;
        box-shadow: none;
    }

    .servicio-card:hover .servicio-icon {
        background: var(--gris-oscuro);
        box-shadow: none;
        transform: none;
    }

    /* Active (tap) states instead */
    .servicio-card:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }

    .servicio-card:active .servicio-icon {
        background: linear-gradient(135deg, var(--neon-rosa), var(--neon-morado));
    }

    .tarjeta:hover {
        transform: none;
    }

    .tarjeta:hover img {
        transform: none;
    }

    .dato-item:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .dato-item:active {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(170, 0, 255, 0.3);
    }

    /* Disable parallax on touch */
    .hero-contenido {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* =========================================
   14. OVERLAY PARA MENÚ MOBILE
========================================= */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 140;
}

.nav-overlay.active {
    display: block;
}