:root {
    /* --primary-color: #ff007a;
    --secondary-color: #9000ff; */
        --primary-color: #189ccb;
    --secondary-color: #a23684;
    --accent-color: #9000ff;
    --text-color: #222;
    --bg-color: #f9f9f9;
    --white: #ffffff;
    --gray: #666;
    --card-bg: #ffffff;
    --btn-color: #9000ff;
    --btn-hover: #6a00c1;
    --soft-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    --focus-outline: 2px solid var(--accent-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    scroll-behavior: smooth;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}


.hero {
    position: relative;
    z-index: 3;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* background: linear-gradient(135deg, #6a00f4, #ff4ecd); */
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    z-index: 2;
    padding: 2rem;
    animation: fadeIn 2s ease-in-out;
}

.impulsa {
    font-family: 'Aclonica', sans-serif;
    font-size: clamp(4rem, 15vw, 170px);
    background: linear-gradient(270deg,
            #ffffff,
            #e6faff,
            #b5d7ff,
            #e6faff,
            #ffffff);
    background-size: 400% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: brilloLento 8s ease-in-out infinite,
        fadeIn 1.5s ease-out forwards,
        simplePulse 6s ease-in-out infinite;
    opacity: 0;
    display: inline-block;
    margin-bottom: 20px;
}

.slogan {
    font-size: 1.5rem;
    animation: fadeIn 3s ease-in-out;
    margin-bottom: 2rem;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    animation: bounce 2s ease-in-out infinite alternate;
    cursor: pointer;
    z-index: 2;
    height: 24px;
    width: 22px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='22' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m2.5 11 8.5 9 8.5-9M2.5 2l8.5 9 8.5-9' stroke='%23fff' stroke-width='4'/%3E%3C/svg%3E");
    content: "";
    height: 24px;
    width: 22px;
}

.scroll-down span {
    font-size: 2.5rem;
}


/* CONTENIDO PRINCIPAL */

/* SECCIÓN IMAGEN COMPLETA */
.sequence-wrapper { position: relative; }

/* Fondo fijo que cubre la ventana (mejor compatibilidad en móviles) */
.bg-fixed, 
.bg-fixed.alt{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
    transition: opacity 600ms ease; /* crossfade */
  will-change: transform;
}

.bg-fixed.alt { z-index: 0.5; pointer-events: none; }

/* Contenedor que genera el scroll: 4 veces la altura de la ventana */
.sequence {
  position: relative;
  z-index: 1;
}
.spacer {
  height: calc(100vh * 4); /* <-- 4 pantallas; cambiar el 4 si necesitás más/menos pasos */
}

/* Mensajes (fijos en pantalla, centrados) */
.messages {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 90%;
  max-width: 1100px;
  text-align: center;
  pointer-events: none; /* evita interferir con scroll/clicks */
  color: #fff;
}

/* Cada mensaje superpuesto; solo el activo se muestra */
.message {
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s ease, transform .45s ease;
  font-size: clamp(1.2rem, 2.5vw, 2.5rem); /* responsive */
  text-shadow: 0 6px 20px rgba(0,0,0,0.45);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.5px;
}
.message.active {
  opacity: 1;
  transform: translateY(0);
}

main {
    max-width: 1100px;
    margin: auto;
    padding: 4rem 2rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Inicio pie de pagina (footer) */

/* Footer siempre abajo */
.hero-footer { 
    display: block;
}
.hero-footer footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 0.9rem;
    text-align: center;
    padding: 2rem 0;
    z-index: 2;
}


/* Fin pie de pagina (footer) */


/* Estilo del botón de WhatsApp flotante */
.whatsapp-button-text {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 18px;
    /* Ajusta el tamaño del texto */
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: 25px;
    /* Bordes redondeados */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    animation: pulse 3s infinite ease-in-out;
    z-index: 1000;
    transition: transform 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    /* Evita que el texto se rompa */
}

.whatsapp-button-text:hover {
    transform: scale(1.1);
}

.whatsapp-button-text:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    /* Mejora la visibilidad cuando tiene foco */
}
/* Fin del botón de WhatsApp flotante */


/* Tablets y móviles (pantallas menores a 768px) */
@media (max-width: 768px) {

    /* Estilos para la sección Hero */
    .hero h1 {
        font-size: 4rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero .slogan {
        font-size: 1.2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .scroll-down {
        margin-bottom: 80px;
    }

    /* Footer & Main */
    footer {
        padding: 5rem;
    }

    main {
        padding: 2rem 1rem;
    }

}


/* ——————————————————————————————— */
/* ANIMACIONES GLOBALES */
/* ——————————————————————————————— */

/* Efecto de brillo lento en fondos con gradient */
@keyframes brilloLento {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Fade-in simple */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulsación para botones o badges */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

/* Versión sin opacity (por si necesitás algo más sutil) */
@keyframes simplePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Bounce suave */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Float (flotando suavemente hacia arriba y abajo) */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Reflejo que se desliza */
@keyframes reflejo {
    0% { left: -75%; }
    50% { left: 125%; }
    100% { left: 125%; }
}

/* Entrada tipo slide + fade */
@keyframes slideFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Borde con glow morado pulsante */
@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 10px rgba(144, 0, 255, 0.4),
                    0 0 20px 2px rgba(144, 0, 255, 0.3),
                    0 0 15px 2px rgba(144, 0, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(144, 0, 255, 0.6),
                    0 0 30px 3px rgba(144, 0, 255, 0.5),
                    0 0 20px 2px rgba(144, 0, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 10px rgba(144, 0, 255, 0.4),
                    0 0 20px 2px rgba(144, 0, 255, 0.3),
                    0 0 15px 2px rgba(144, 0, 255, 0.2);
    }
}








/* BORRAR */

/* Optimización de fondos para móviles y retina */
@media (max-width: 768px) {
    .bg-fixed {
        background-image: url('/web/1@2x.jpg'); /* imagen de alta resolución */
        background-size: cover;
        background-position: center;
    }

    .bg-fixed.alt {
        background-image: url('/web/3@2x.jpg'); /* imagen de alta resolución */
        background-size: cover;
        background-position: center;
    }
}

/* Para pantallas aún más grandes (retina desktop) */
@media (min-width: 1200px) and (min-resolution: 2dppx) {
    .bg-fixed {
        background-image: url('/web/1@2x.jpg'); 
    }
    .bg-fixed.alt {
        background-image: url('/web/3@2x.jpg'); 
    }
}
/* Fin borrar */



/* CONTACTO */
.contact-section {
    background: linear-gradient(135deg, rgba(24,156,203,0.05), rgba(162,54,132,0.05));
    padding: 6rem 2rem;
    text-align: center;
}

.contact-container {
    max-width: 700px;
    margin: -70px auto;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    animation: fadeIn 1.5s ease-out;
}

.contact-container h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-container p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(144, 0, 255, 0.2);
    outline: none;
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 2.2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}


/* --- NAVBAR flotante --- */
.navbar {
  position: fixed;
  top: -80px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  transition: top 0.4s ease;
  z-index: 999;
}
.navbar.visible { top: 0; }
.navbar a {
  color: #fff;
  font-weight: 600;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}
.navbar a:hover { color: var(--accent-color); }
.logo-nav {
  font-family: 'Aclonica', sans-serif;
  font-size: 1.6rem;
}

.navbar a,
.navbar .logo-nav {
  color: #fff;
  transition: color 0.3s ease;
}

.navbar.on-white a,
.navbar.on-white .logo-nav {
  color: #000;
}


/* --- Botón CTA Hero --- */
.btn-cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-cta:hover {
  transform: scale(1.08) translateY(-3px);
}

.btn-cta i {
  margin-left: 0.5rem;
  color: #fff; /* siempre blanco */
  padding-top: 10px;
}


/* --- Animaciones para mensajes --- */
.message {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}
.message.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- WhatsApp con glow --- */
.whatsapp-button-text {
  gap: 0.5rem;
  font-weight: 700;
}

/* --- Inputs contacto glow --- */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(144, 0, 255, 0.35);
}






/* SECCIONES BENEFICIOS Y PROCESO */
.benefits-section,
.process-section {
    position: relative;
    z-index: 2;           /* sobre bg-fixed, debajo de hero */
    color: var(--text-color);
    padding: 6rem 2rem;
    text-align: center;
}

.benefits-section h2,
.process-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.benefit i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
}


/* Fondo completo de la sección */
.benefits-section,
.process-section {
    background: #f9f9f9; /*gris claro*/
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Contenedor de las tarjetas */
.benefits-grid, .process-steps {
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjetas */
.benefit, .step {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover, .step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Titulos */
.benefits-section h2, .process-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}




/* --- Sección CTA intermedia --- */
.cta-intermedia {
  background: linear-gradient(135deg, rgba(24,156,203,0.85), rgba(162,54,132,0.85));
  padding: 6rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

.cta-intermedia h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 6px 15px rgba(0,0,0,0.3);
  animation: fadeIn 1.5s ease-out;
}

.cta-intermedia p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-intermedia .btn-cta {
  animation: bounce 2s infinite alternate;
}
/* --- Fin sección CTA intermedia --- */


/* SECCIÓN DE ESTADÍSTICAS */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 25px;
    max-width: 1100px;
    margin: 4rem auto;
    box-shadow: var(--soft-shadow);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    flex: 1;
    min-width: 200px;
    padding: 2rem 1rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.stat .number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.3rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
        align-items: center;
    }

    .stat {
        width: 70%;
    }

    .stat .number {
        font-size: 2.5rem;
    }
}


/* MENSAJE DE PRECIO DESTACADO */
.message.price-message {
    margin-top: -70px;
    color: #fff;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.5;
    font-size: clamp(1.5rem, 3vw, 3rem);
    padding: 3rem 3.5rem;
    border-radius: 25px;
    display: inline-block;
    overflow: hidden;

    /* Fondo translúcido degradado */
    background: linear-gradient(135deg, rgba(24,156,203,0.3), rgba(162,54,132,0.3));
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Burbujas animadas */
.message.price-message .bubbles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.message.price-message .bubbles-bg::before,
.message.price-message .bubbles-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    animation: bubbleMove 8s linear infinite;
}

.message.price-message .bubbles-bg::before {
    width: 60px;
    height: 60px;
    left: 20%;
    top: 80%;
}

.message.price-message .bubbles-bg::after {
    width: 40px;
    height: 40px;
    left: 70%;
    top: 90%;
    animation-delay: 4s;
}

@keyframes bubbleMove {
    0% { transform: translateY(100%) scale(0.8); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-150%) scale(1.2); opacity: 0; }
}

/* Precio grande */
.message.price-message .price {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    z-index: 1;
    position: relative;
    text-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* Subtítulo */
.message.price-message .subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

/* Mensaje destacado */
.message.price-message .highlight {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

/* Nota pequeña */
.message.price-message .note {
    font-size: 1rem;
    color: #eee;
    display: block;
    position: relative;
    z-index: 1;
}










/* ========================= */
/* RESPONSIVE CELULAR / TABLET */
/* ========================= */
@media (max-width: 768px) {

    /* --- HERO --- */
    .hero {
        height: auto; /* que se ajuste al contenido */
        padding: 5rem 1rem 3rem 1rem; /* más espacio arriba para navbar */
    }

    .hero-content {
        padding: 1rem;
    }

    .impulsa {
        font-size: clamp(3rem, 12vw, 70px);
        line-height: 1.1;
    }

    .slogan {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    .scroll-down {
        bottom: 1.5rem;
        height: 20px;
        width: 18px;
    }

    /* --- NAVBAR --- */
    .navbar {
        top: 0; /* siempre visible */
        width: 100%;
        padding: 0.8rem 1rem;
        justify-content: space-between;
        background: rgba(255,255,255,0.15);
        backdrop-filter: blur(10px);
    }

    .navbar a {
        font-size: 0.9rem;
        margin-left: 1rem;
    }

    .logo-nav {
        font-size: 1.4rem;
    }

    /* --- MENSAJE PRICE --- */
    .message.price-message {
        font-size: clamp(1.3rem, 3vw, 2.2rem);
        padding: 2rem 1.5rem;
        border-radius: 15px;
        backdrop-filter: blur(6px);
        margin-top: 0; /* que no se superponga con navbar */
    }

    .message.price-message .price {
        font-size: clamp(2rem, 6vw, 4rem);
    }

    .message.price-message .subtitle {
        font-size: 1rem;
    }

    .message.price-message .highlight {
        font-size: 1.5rem;
    }

    /* --- BENEFICIOS Y PROCESO --- */
    .benefits-grid,
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .benefit, .step {
        width: 90%;
        padding: 1.5rem;
    }

    .benefit i, .step-number {
        font-size: 1.5rem;
    }

    /* --- ESTADÍSTICAS --- */
    .stats-section {
        padding: 3rem 1rem;
    }

    .stats-grid {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .stat {
        width: 80%;
        padding: 1.5rem 1rem;
    }

    .stat .number {
        font-size: 2rem;
    }

    /* --- CONTACTO --- */
    .contact-section {
        padding: 3rem 1rem;
    }

    .contact-container {
        margin: 0 auto;
        padding: 2rem 1rem;
        border-radius: 15px;
    }

    .contact-container h2 {
        font-size: 1.8rem;
    }

    .contact-container p {
        font-size: 0.95rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .contact-form button {
        font-size: 1rem;
        padding: 0.8rem 1.8rem;
    }

    /* --- WHATSAPP --- */
    .whatsapp-button-text {
        font-size: 16px;
        padding: 0.6rem 1.2rem;
        bottom: 15px;
        right: 15px;
    }

    /* --- BACKGROUNDS FIXED --- */
    .bg-fixed, .bg-fixed.alt {
        background-size: cover;
        background-position: center;
        position: relative; /* evitar problemas de scroll en móvil */
        height: auto;
    }
}
/* --- HERO (header principal) --- */
@media (max-width: 768px) {
    .hero {
        height: 100vh; /* ocupa toda la pantalla del dispositivo */
        min-height: -webkit-fill-available; /* para iOS Safari */
        padding: 0 1rem; /* solo padding lateral */
        display: flex;
        flex-direction: column;
        justify-content: center; /* centrado vertical */
    }

    .hero-content {
        padding: 1rem 0;
        z-index: 2;
    }
}

/* --- CONTACTO --- */
.contact-container {
    margin: 0 auto; /* elimina el negativo que superpone el footer */
    position: relative; /* por seguridad */
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--soft-shadow);
    background: var(--white);
    z-index: 2;
}

/* Ajuste adicional en móviles */
@media (max-width: 768px) {
    .contact-container {
        padding: 2rem 1rem;
        border-radius: 15px;
        margin-bottom: 12rem; /* separación con el footer */
    }
}
