/* ===================================================================
   CYBERONES CHILE - Main Stylesheet
   Author: Custom Development
   Description: Clean and maintainable CSS for Cyberones website
   =================================================================== */

/* ═══════════════════════════════════════════════════════════════════
   📋 GUÍA RÁPIDA DE AJUSTES - ENCUENTRA LO QUE NECESITAS
   ═══════════════════════════════════════════════════════════════════

   🏠 HERO SECTION - LOGOS:
      📏 Logo Superior (pequeño):
         • Tamaño:           línea 180  (.logo-small max-width: 1000px)
         • Sombra:           línea 188  (.logo-small filter)

      📏 Logo Principal (grande):
         • Tamaño:           línea 171  (.logo-main max-width: 1200px)
         • Sombra:           línea 179  (.logo-main filter)

      📐 Espaciado:
         • Entre logos:      línea 137  (.logo-container margin-bottom: 10px)
         • Padding general:  línea 124  (.hero-content padding: 20px)

   🎬 ANIMACIONES:
      • Logo superior:       línea 140  (fadeInDown 1s)
      • Logo principal:      línea 164  (fadeInUp 1s con delay 0.3s)
      • WhatsApp:            línea 1250+ (Sección 15)
      • On-scroll:           línea 1428+ (Sección 16)

   🖼️ FONDO HERO:
      • Efecto BG_MEDIA:     línea 93   (.hero-background)
      • Imagen sticky:       línea 104  (.hero-bg-image)

   📝 FORMULARIO:
      • Estilos premium:     línea 355  (Sección 7)
      • Botón enviar:        línea 477  (Sección 8)

   ═══════════════════════════════════════════════════════════════════ */

/* ===================================================================
   1. RESET & BASE STYLES
   =================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2f2e2e;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* ===================================================================
   2. TYPOGRAPHY
   =================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: 56px;
    font-weight: 700;
}

h2 {
    font-size: 28px;
}

p {
    margin-bottom: 1em;
}

strong {
    font-weight: 700;
}

/* ===================================================================
   3. LAYOUT UTILITIES
   =================================================================== */

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    position: relative;
    width: 100%;
}

/* ===================================================================
   4. HERO SECTION CON PARALLAX
   =================================================================== */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: clip;
    background-color: #000;
}

/* BG_MEDIA Effect - Sticky Background Reveal (Estilo Ziima.cl) */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 200vh);
    margin-top: -100vh;
    z-index: 1;
    isolation: isolate;
}

/* Tres columnas verticales con imágenes animadas independientes */
.hero-column {
    position: absolute;
    top: 0;
    width: 33.333%;
    height: 100%;
    opacity: 0.25;  /* Reducido para que el video sea protagonista */
    z-index: 2;
    background-image: url('../images/bg-section.jpg');
    background-size: cover;
    background-position: center;
    pointer-events: none;  /* No interfiere con clicks */
    will-change: background-size, background-position;  /* Optimiza la animación */
}

/* Columna izquierda - Imagen con zoom lento y desplazamiento */
.hero-column-left {
    left: 0;
    background-size: 100%;
    background-position: center 20%;
    animation: columnImageZoom 20s ease-in-out infinite;
    filter: hue-rotate(200deg) brightness(1.15) saturate(1.2);
}

/* Columna central - Animación de pulso/respiración */
.hero-column-center {
    left: 33.333%;
    background-size: 100%;
    background-position: center center;
    animation: columnImagePulse 25s ease-in-out infinite;
    filter: hue-rotate(0deg) brightness(1.3) saturate(1.1);
}

/* Columna derecha - Imagen con desplazamiento vertical continuo */
.hero-column-right {
    right: 0;
    background-size: 110%;
    background-position: center 0%;
    animation: columnImageSlide 30s linear infinite;
    filter: hue-rotate(280deg) brightness(1.1) saturate(1.15);
}

.hero-bg-image,
.hero-bg-video {
    position: sticky;
    top: 0;
    width: 100%;
    height: max(100vh, calc(100% - 200vh));
    object-fit: cover;
    object-position: center;
    opacity: 0.75;  /* Aumentado para que el video se vea claramente */
    margin-bottom: calc(100vh - max(100vh, 100%));
    display: block;
    z-index: 1;    /* Detrás de las columnas */
}

/* ==================================================================
   HERO CONTENT - CONTENEDOR PRINCIPAL
   ================================================================== */

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ==================================================================
   LOGO SUPERIOR (PEQUEÑO) - "CYBERONES"
   ================================================================== */

.logo-container {
    /* Espaciado entre logo superior e inferior */
    margin-bottom: 0px;

    /* Animación de entrada */
    animation: fadeInDown 1s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.logo-small {
    /* Tamaño del logo superior - GRANDE */
    max-width: 1000px;
    width: 100%;

    /* Centrado */
    margin: 0 auto;
    display: block;

    /* Glow oscuro nítido para destacar contra el fondo */
    filter:
        drop-shadow(0 0 3px rgba(0, 0, 0, 1))
        drop-shadow(0 0 8px rgba(0, 0, 0, 0.95))
        drop-shadow(0 0 15px rgba(0, 0, 0, 0.85))
        drop-shadow(0 0 25px rgba(0, 0, 0, 0.7))
        drop-shadow(0 5px 30px rgba(0, 0, 0, 0.8));

    /* Animación sutil de resplandor */
    animation: fadeInDown 1s ease-out, logoGlow 3s ease-in-out infinite;
}

/* Animación de resplandor oscuro para el logo */
@keyframes logoGlow {
    0%, 100% {
        filter:
            drop-shadow(0 0 3px rgba(0, 0, 0, 1))
            drop-shadow(0 0 8px rgba(0, 0, 0, 0.95))
            drop-shadow(0 0 15px rgba(0, 0, 0, 0.85))
            drop-shadow(0 0 25px rgba(0, 0, 0, 0.7))
            drop-shadow(0 5px 30px rgba(0, 0, 0, 0.8));
    }
    50% {
        filter:
            drop-shadow(0 0 5px rgba(0, 0, 0, 1))
            drop-shadow(0 0 12px rgba(0, 0, 0, 1))
            drop-shadow(0 0 20px rgba(0, 0, 0, 0.9))
            drop-shadow(0 0 35px rgba(0, 0, 0, 0.8))
            drop-shadow(0 5px 40px rgba(0, 0, 0, 0.9));
    }
}

/* ==================================================================
   LOGO PRINCIPAL (GRANDE) - "IMPORTADORA DE CARCASAS"
   ================================================================== */

.logo-main-container {
    /* Animación de entrada (0.3s después del logo superior) */
    animation: fadeInUp 1s ease-out 0.3s both;
    opacity: 0;
    animation-fill-mode: forwards;
}

.logo-main {
    /* Tamaño del logo principal */
    max-width: 1200px;
    width: 100%;

    /* Centrado */
    margin: 0 auto;
    display: block;

    /* Efecto de sombra azul más intensa */
    filter: drop-shadow(0 20px 50px rgba(48, 189, 255, 0.4));
}

/* ===================================================================
   5. ABOUT SECTION MEJORADA CON ANIMACIONES
   =================================================================== */

.about-section {
    position: relative;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
    /* Fondo psicodélico con gradientes animados */
    background: linear-gradient(
        -45deg,
        #ee7752, /* Naranja coral */
        #e73c7e, /* Rosa fucsia */
        #23a6d5, /* Azul cyan */
        #23d5ab, /* Verde agua */
        #7952ee, /* Morado */
        #ee52d4, /* Rosa magenta */
        #52d4ee  /* Cyan brillante */
    );
    background-size: 400% 400%;
    animation: psychedelicGradient 15s ease infinite;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Overlay psicodélico con patrones animados */
.about-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 0, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 90%, rgba(0, 255, 128, 0.3) 0%, transparent 50%);
    animation: psychedelicRotate 20s linear infinite;
    mix-blend-mode: screen;
    z-index: 2;
}

/* Segundo overlay con formas geométricas */
.about-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.05) 35px, rgba(255, 255, 255, 0.05) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(0, 0, 0, 0.05) 35px, rgba(0, 0, 0, 0.05) 70px);
    z-index: 3;
}

.about-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.08;
    transform: scale(1.1);
    animation: slowZoom 20s ease-in-out infinite alternate;
    mix-blend-mode: overlay;
}

.about-content {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    /* Sombra fuerte para contrastar con fondo psicodélico */
    text-shadow:
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 0, 0, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.9);
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #30bdff, #0080ff);
    animation: expandLine 1s ease-out 0.8s forwards;
}

.about-description {
    flex: 1;
    min-width: 300px;
}

.about-description p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-shadow:
        0 0 8px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.9);
}

.about-subtitle {
    font-size: 18px;
    font-style: italic;
    color: #ffffff;
    font-weight: 400;
    padding-left: 20px;
    border-left: 4px solid #fff;
    margin-top: 30px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), transparent);
    padding: 15px 20px;
    border-radius: 0 8px 8px 0;
    text-shadow:
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* Elementos decorativos flotantes */
.about-section::before,
.about-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(48, 189, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: floatParticle 15s ease-in-out infinite;
}

.about-section::before {
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.about-section::after {
    bottom: -200px;
    right: -200px;
    animation-delay: 7s;
}

/* ===================================================================
   6. SUBSCRIBE SECTION
   =================================================================== */

.subscribe-section {
    position: relative;
    width: 100%;
    min-height: 400px;
    padding: 100px 0;
    overflow: hidden;
    background: #000;
}

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

.subscribe-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.25;
    mix-blend-mode: overlay;
}

.subscribe-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.subscribe-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 50px;
    text-shadow:
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.9);
}

.subscribe-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-form {
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 255, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 20px;
    box-shadow:
        0 0 30px rgba(48, 189, 255, 0.4),
        0 0 60px rgba(121, 82, 238, 0.3),
        0 20px 80px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(48, 189, 255, 0.3);
}

.subscribe-input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.subscribe-input {
    flex: 1;
    padding: 18px 20px;
    font-size: 16px;
    color: #2f2e2e;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(48, 189, 255, 0.3);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.subscribe-input:focus {
    border-color: #30bdff;
    box-shadow: 0 0 0 4px rgba(48, 189, 255, 0.1);
}

.subscribe-input::placeholder {
    color: rgba(47, 46, 46, 0.5);
}

.subscribe-btn {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #30bdff, #0080ff);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(48, 189, 255, 0.3);
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 189, 255, 0.5);
    background: linear-gradient(135deg, #40cdff, #1090ff);
}

.subscribe-btn:active {
    transform: translateY(0);
}

.subscribe-success-message {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #23d5ab, #23a6d5);
    color: #ffffff;
    border-radius: 12px;
    font-weight: 600;
    animation: fadeIn 0.5s ease;
}

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

/* ===================================================================
   7. CONTACT SECTION
   =================================================================== */

.contact-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    padding: 80px 0;
    overflow: hidden;
    /* Fondo psicodélico similar a about section */
    background: linear-gradient(
        -45deg,
        #30bdff, /* Azul cyan */
        #0080ff, /* Azul profundo */
        #7952ee, /* Morado */
        #23d5ab, /* Verde agua */
        #ee7752, /* Naranja coral */
        #e73c7e, /* Rosa */
        #30bdff  /* Azul cyan (cierre del loop) */
    );
    background-size: 400% 400%;
    animation: psychedelicGradient 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Overlay psicodélico rotatorio para formulario */
.contact-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 0, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(255, 0, 255, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 255, 128, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 128, 0, 0.4) 0%, transparent 50%);
    animation: psychedelicRotate 18s linear infinite;
    mix-blend-mode: screen;
    z-index: 2;
}

/* Overlay con patrón de puntos */
.contact-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: 3;
}

.contact-bg-image,
.contact-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.35;  /* Aumentado para que el video sea claramente visible */
    mix-blend-mode: overlay;
}

.contact-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 50px;
}

.contact-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Column: Google Maps */
.contact-map-column {
    width: 100%;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(48, 189, 255, 0.2);
    margin-bottom: 20px;
}

.contact-address {
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.95),
        rgba(248, 250, 255, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 25px;
    border-radius: 15px;
    box-shadow:
        0 0 20px rgba(48, 189, 255, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(48, 189, 255, 0.3);
}

.contact-address h3 {
    color: #2f2e2e;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-address p {
    color: #2f2e2e;
    font-size: 16px;
    margin: 5px 0;
    font-weight: 500;
}

/* Right Column: Contact Form */
.contact-form-column {
    width: 100%;
}

.decorative-line {
    width: 120px;
    height: 8px;
    background: linear-gradient(90deg, #fff, #ffff00, #fff);
    margin: 0 auto 40px;
    border-radius: 4px;
    animation: expandWidth 1s ease-out;
    box-shadow:
        0 0 20px rgba(255, 255, 0, 0.8),
        0 0 40px rgba(255, 255, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
}

.decorative-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.contact-info {
    margin-bottom: 50px;
}

.contact-title {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0px;
    position: relative;
    display: inline-block;
    /* Sombras para contraste similar a about section */
    text-shadow:
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(0, 0, 0, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.9);
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #30bdff, #0080ff);
    box-shadow: 0 0 10px rgba(48, 189, 255, 0.6);
}

.contact-description {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.8;
    max-width: 680px;
    font-weight: 400;
    text-shadow:
        0 0 10px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.9);
}

/* Elementos decorativos tecnológicos - Rombos que se iluminan */
.contact-section::before,
.contact-section::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #30bdff, #0080ff);
    transform: rotate(45deg);
    opacity: 0.3;
    z-index: 5;
    box-shadow: 0 0 20px rgba(48, 189, 255, 0.6);
    animation: diamondGlow 3s ease-in-out infinite;
}

.contact-section::before {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.contact-section::after {
    bottom: 15%;
    right: 8%;
    animation-delay: 1.5s;
}

/* Rombos decorativos adicionales usando pseudo-elementos en contact-content */
.contact-content::before,
.contact-content::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #7952ee, #e73c7e);
    transform: rotate(45deg);
    opacity: 0.4;
    z-index: 5;
    box-shadow: 0 0 15px rgba(121, 82, 238, 0.5);
    animation: diamondGlow 3s ease-in-out infinite;
}

.contact-content::before {
    top: 20%;
    right: 10%;
    animation-delay: 0.5s;
}

.contact-content::after {
    bottom: 25%;
    left: 5%;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #23d5ab, #ee7752);
    animation-delay: 2s;
}

/* Animación de brillo para los rombos */
@keyframes diamondGlow {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 20px rgba(48, 189, 255, 0.4);
        transform: rotate(45deg) scale(1);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 40px rgba(48, 189, 255, 0.9), 0 0 60px rgba(48, 189, 255, 0.6);
        transform: rotate(45deg) scale(1.1);
    }
}

/* Animación 1: Zoom lento de imagen (columna izquierda) */
@keyframes columnImageZoom {
    0% {
        background-size: 100%;
        background-position: center 20%;
    }
    50% {
        background-size: 130%;
        background-position: center 60%;
    }
    100% {
        background-size: 100%;
        background-position: center 20%;
    }
}

/* Animación 2: Desplazamiento vertical continuo (columna derecha) */
@keyframes columnImageSlide {
    0% {
        background-position: center 0%;
        background-size: 110%;
    }
    50% {
        background-position: center 50%;
        background-size: 120%;
    }
    100% {
        background-position: center 100%;
        background-size: 110%;
    }
}

/* Animación 3: Pulsación/respiración (columna central) */
@keyframes columnImagePulse {
    0%, 100% {
        background-size: 100%;
        background-position: center center;
    }
    33% {
        background-size: 125%;
        background-position: center 40%;
    }
    66% {
        background-size: 110%;
        background-position: center 60%;
    }
}

/* ===================================================================
   7. CONTACT FORM
   =================================================================== */

.contact-form-wrapper {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 250, 255, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px 50px;
    border-radius: 30px;
    box-shadow:
        0 0 40px rgba(48, 189, 255, 0.4),
        0 0 80px rgba(121, 82, 238, 0.3),
        0 30px 100px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(48, 189, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo sutil en el fondo */
.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(48, 189, 255, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.contact-form:hover::before {
    opacity: 1;
}

.contact-form:hover {
    transform: translateY(-8px);
    box-shadow:
        0 0 50px rgba(48, 189, 255, 0.6),
        0 0 90px rgba(121, 82, 238, 0.4),
        0 35px 120px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(48, 189, 255, 0.6);
}

.form-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 28px;
    position: relative;
}

/* Floating label estilo moderno */
.form-group label {
    position: absolute;
    top: -10px;
    left: 14px;
    font-size: 14px;
    color: #1a1a1a;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(to bottom, transparent 0%, transparent 40%, rgba(255,255,255,0.95) 40%, rgba(255,255,255,0.95) 100%);
    padding: 0 6px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 18px 20px;
    font-size: 16px;
    font-family: 'Futura', 'Helvetica Neue', sans-serif;
    color: #2f2e2e;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(48, 189, 255, 0.3);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow:
        0 2px 8px rgba(48, 189, 255, 0.1),
        inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-input:hover,
.form-textarea:hover {
    border-color: rgba(48, 189, 255, 0.6);
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 4px 12px rgba(48, 189, 255, 0.2),
        inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-input:focus,
.form-textarea:focus {
    border-color: #30bdff;
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow:
        0 0 20px rgba(48, 189, 255, 0.3),
        0 0 40px rgba(48, 189, 255, 0.15),
        0 6px 24px rgba(48, 189, 255, 0.2),
        inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Efecto de brillo en focus */
.form-input:focus::before,
.form-textarea:focus::before {
    opacity: 1;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(47, 46, 46, 0.5);
    opacity: 1;
    font-weight: 400;
}

/* Efecto especial cuando hay texto */
.form-input:not(:placeholder-shown),
.form-textarea:not(:placeholder-shown) {
    border-color: rgba(48, 189, 255, 0.5);
    box-shadow: 0 2px 12px rgba(48, 189, 255, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 160px;
    font-family: 'Futura', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
}

.form-textarea:hover {
    border-color: rgba(48, 189, 255, 0.6);
}

.form-textarea:focus {
    border-color: #30bdff;
}

/* ===================================================================
   8. BUTTONS
   =================================================================== */

.btn-submit {
    padding: 20px 60px;
    font-size: 18px;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #30bdff 0%, #0080ff 100%);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 24px rgba(48, 189, 255, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo animado en el botón */
.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0080ff 0%, #30bdff 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 12px 32px rgba(48, 189, 255, 0.5),
        0 6px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-submit:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow:
        0 6px 20px rgba(48, 189, 255, 0.4),
        0 3px 8px rgba(0, 0, 0, 0.1);
}

.btn-submit:disabled {
    background: linear-gradient(135deg, #666666, #444444);
    cursor: not-allowed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: none;
}

.btn-submit:disabled::before {
    display: none;
}

/* ===================================================================
   9. SUCCESS MESSAGE
   =================================================================== */

.success-message {
    margin-top: 24px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(35, 213, 171, 0.15), rgba(35, 213, 171, 0.1));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(35, 213, 171, 0.4);
    border-radius: 16px;
    color: #23d5ab;
    text-align: center;
    font-weight: 600;
    font-size: 17px;
    box-shadow:
        0 4px 16px rgba(35, 213, 171, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: slideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.success-message::before {
    content: '✓';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    color: #23d5ab;
    font-weight: bold;
}

.success-message p {
    margin: 0;
    padding-left: 30px;
}

/* ===================================================================
   11. ANIMATIONS
   =================================================================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 200px;
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 60px;
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1.2);
    }
}

/* Animación de gradiente psicodélico */
@keyframes psychedelicGradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 50% 100%;
    }
    75% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animación de rotación de patrones */
@keyframes psychedelicRotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: rotate(120deg) scale(1.1);
        opacity: 0.5;
    }
    66% {
        transform: rotate(240deg) scale(0.9);
        opacity: 0.4;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.3;
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(50px, -50px);
    }
    50% {
        transform: translate(-30px, -80px);
    }
    75% {
        transform: translate(40px, -60px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animaciones de entrada para campos del formulario */
.form-group:nth-child(1) {
    animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.form-group:nth-child(2) {
    animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.form-row .form-group:first-child {
    animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.form-row .form-group:last-child {
    animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.form-group:has(.form-textarea) {
    animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.btn-submit {
    animation: fadeInScale 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

/* ===================================================================
   12. RESPONSIVE DESIGN
   =================================================================== */

/* Tablets */
@media (max-width: 768px) {
    h1 {
        font-size: 42px;
    }

    .about-title {
        font-size: 42px;
    }

    .about-content {
        gap: 40px;
    }

    /* Contact section responsive */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-container {
        height: 350px;
    }

    .contact-form {
        padding: 35px 28px;
        border-radius: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        margin-bottom: 24px;
    }

    .form-input,
    .form-textarea {
        padding: 16px 18px;
        font-size: 15px;
    }

    .btn-submit {
        padding: 16px 40px;
        font-size: 16px;
    }

    .logo-small {
        max-width: 600px;
    }

    .logo-main {
        max-width: 90%;
    }

    .about-description p {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    h1 {
        font-size: 32px;
    }

    .about-title {
        font-size: 32px;
    }

    .contact-title {
        font-size: 24px;
    }

    .hero-content {
        padding: 20px 10px;
    }

    .contact-form {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-input,
    .form-textarea {
        padding: 14px 16px;
        font-size: 14px;
        border-radius: 10px;
    }

    .form-textarea {
        min-height: 140px;
    }

    .btn-submit {
        width: 100%;
        padding: 15px 24px;
        font-size: 16px;
        border-radius: 12px;
    }

    .success-message {
        padding: 16px 20px;
        font-size: 14px;
        border-radius: 12px;
    }

    .success-message::before {
        font-size: 20px;
        left: 16px;
    }

    .success-message p {
        padding-left: 26px;
    }

    .logo-small {
        max-width: 280px;
        /* Aumentar sombra para mejor visibilidad en móvil */
        filter:
            drop-shadow(0 0 5px rgba(0, 0, 0, 1))
            drop-shadow(0 0 10px rgba(0, 0, 0, 1))
            drop-shadow(0 0 20px rgba(0, 0, 0, 0.9))
            drop-shadow(0 5px 35px rgba(0, 0, 0, 0.9));
    }

    .logo-main {
        max-width: 85%;
    }

    .about-section {
        padding: 50px 0;
    }
}

/* ===================================================================
   13. ACCESSIBILITY
   =================================================================== */

button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #30bdff;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-background {
        position: absolute;
    }
}

/* ===================================================================
   14. WHATSAPP FLOATING BUTTON
   =================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    animation: pulseWhatsApp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float:active {
    transform: scale(1.05) translateY(-2px);
}

.whatsapp-icon {
    width: 38px;
    height: 38px;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 85px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2f2e2e;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 8px;
    border-color: transparent transparent transparent #2f2e2e;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 90px;
}

/* Animación de pulso */
@keyframes pulseWhatsApp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7),
                    0 0 0 10px rgba(37, 211, 102, 0.1),
                    0 0 0 20px rgba(37, 211, 102, 0.05);
    }
}

/* Efecto de ondas al hacer click */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    opacity: 0;
    pointer-events: none;
}

.whatsapp-float:active::before {
    animation: rippleWhatsApp 0.6s ease-out;
}

@keyframes rippleWhatsApp {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}

/* Badge de notificación (opcional) */
.whatsapp-float::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background-color: #ff3030;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
    
    .whatsapp-tooltip {
        font-size: 12px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
    
    /* Ocultar tooltip en móvil */
    .whatsapp-tooltip {
        display: none;
    }
}

/* ===================================================================
   15. ANIMACIONES AVANZADAS PARA WHATSAPP BUTTON
   =================================================================== */

/* Animación de entrada al cargar la página */
.whatsapp-float {
    animation: 
        slideInBounce 1s ease-out 0.5s both,
        pulseWhatsApp 2s ease-in-out 1.5s infinite,
        floatUpDown 3s ease-in-out 1.5s infinite;
}

/* Entrada con rebote desde abajo */
@keyframes slideInBounce {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
    70% {
        transform: translateY(10px) scale(0.95);
    }
    85% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Flotación sutil arriba y abajo */
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Shake (temblor) para llamar la atención cada 10 segundos */
.whatsapp-float {
    animation: 
        slideInBounce 1s ease-out 0.5s both,
        pulseWhatsApp 2s ease-in-out 1.5s infinite,
        floatUpDown 3s ease-in-out 1.5s infinite,
        shakeAttention 0.5s ease-in-out 10s infinite;
}

@keyframes shakeAttention {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    10% {
        transform: translateY(-8px) rotate(-5deg);
    }
    20% {
        transform: translateY(-8px) rotate(5deg);
    }
    30% {
        transform: translateY(-8px) rotate(-5deg);
    }
    40% {
        transform: translateY(-8px) rotate(5deg);
    }
    50% {
        transform: translateY(-8px) rotate(0deg);
    }
}

/* Mejora del pulso con escala */
@keyframes pulseWhatsApp {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(37, 211, 102, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 
            0 4px 35px rgba(37, 211, 102, 0.8),
            0 0 0 10px rgba(37, 211, 102, 0.15),
            0 0 0 20px rgba(37, 211, 102, 0.1),
            0 0 0 30px rgba(37, 211, 102, 0.05);
        transform: scale(1.05);
    }
}

/* Animación del icono de WhatsApp */
.whatsapp-icon {
    animation: iconRotate 4s ease-in-out infinite;
}

@keyframes iconRotate {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.05);
    }
    50% {
        transform: rotate(0deg) scale(1);
    }
    75% {
        transform: rotate(5deg) scale(1.05);
    }
}

/* Animación del badge con pulso */
.whatsapp-float::after {
    animation: 
        blink 1.5s ease-in-out infinite,
        badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

/* Efecto de brillos giratorios alrededor del botón */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.8) 50%,
        transparent 70%
    );
    border-radius: 50%;
    opacity: 0;
    animation: rotatingGlow 3s linear infinite;
    pointer-events: none;
}

@keyframes rotatingGlow {
    0% {
        opacity: 0;
        transform: rotate(0deg);
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: rotate(360deg);
    }
}

/* Hover mejorado con múltiples efectos */
.whatsapp-float:hover {
    transform: scale(1.15) translateY(-10px) rotate(5deg);
    box-shadow: 
        0 12px 40px rgba(37, 211, 102, 0.7),
        0 0 0 15px rgba(37, 211, 102, 0.1),
        0 0 0 30px rgba(37, 211, 102, 0.05);
    animation: none;
}

.whatsapp-float:hover .whatsapp-icon {
    animation: iconBounce 0.5s ease-in-out;
}

@keyframes iconBounce {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-15deg) scale(1.2);
    }
    75% {
        transform: rotate(15deg) scale(1.2);
    }
}

/* Tooltip animado mejorado */
.whatsapp-tooltip {
    animation: tooltipFloat 2s ease-in-out infinite;
}

@keyframes tooltipFloat {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.05);
    }
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 90px;
    animation: tooltipSlideIn 0.3s ease-out;
}

@keyframes tooltipSlideIn {
    0% {
        opacity: 0;
        right: 60px;
        transform: translateY(-50%) scale(0.8);
    }
    100% {
        opacity: 1;
        right: 90px;
        transform: translateY(-50%) scale(1);
    }
}

/* Partículas flotantes alrededor del botón */
.whatsapp-float-container {
    position: relative;
}

/* Efecto de click mejorado */
.whatsapp-float:active {
    transform: scale(1) translateY(-2px);
    box-shadow: 
        0 4px 15px rgba(37, 211, 102, 0.5),
        0 0 0 20px rgba(37, 211, 102, 0.2);
    animation: clickPulse 0.3s ease-out;
}

@keyframes clickPulse {
    0% {
        box-shadow: 
            0 4px 15px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 
            0 4px 25px rgba(37, 211, 102, 0.8),
            0 0 0 30px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 
            0 4px 15px rgba(37, 211, 102, 0.5);
    }
}

/* Efecto ripple mejorado */
@keyframes rippleWhatsApp {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }
    100% {
        width: 250%;
        height: 250%;
        opacity: 0;
    }
}

/* Animación especial cada 15 segundos - SUPER LLAMATIVA */
.whatsapp-float {
    animation: 
        slideInBounce 1s ease-out 0.5s both,
        pulseWhatsApp 2s ease-in-out 1.5s infinite,
        floatUpDown 3s ease-in-out 1.5s infinite,
        superAttention 1.5s ease-in-out 15s infinite;
}

@keyframes superAttention {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    10% {
        transform: translateY(-15px) scale(1.15) rotate(-10deg);
    }
    20% {
        transform: translateY(-15px) scale(1.15) rotate(10deg);
    }
    30% {
        transform: translateY(-15px) scale(1.15) rotate(-10deg);
    }
    40% {
        transform: translateY(-15px) scale(1.15) rotate(10deg);
    }
    50% {
        transform: translateY(-20px) scale(1.2) rotate(0deg);
        box-shadow: 
            0 15px 50px rgba(37, 211, 102, 1),
            0 0 0 20px rgba(37, 211, 102, 0.3),
            0 0 0 40px rgba(37, 211, 102, 0.2),
            0 0 0 60px rgba(37, 211, 102, 0.1);
    }
    60% {
        transform: translateY(-15px) scale(1.15) rotate(-5deg);
    }
    70% {
        transform: translateY(-10px) scale(1.1) rotate(5deg);
    }
    80% {
        transform: translateY(-5px) scale(1.05) rotate(0deg);
    }
}

/* Responsive - mantener animaciones suaves en móvil */
@media (max-width: 768px) {
    .whatsapp-float {
        animation: 
            slideInBounce 1s ease-out 0.5s both,
            pulseWhatsApp 2s ease-in-out 1.5s infinite,
            floatUpDown 4s ease-in-out 1.5s infinite;
    }
}

@media (max-width: 480px) {
    /* Animaciones más sutiles en móvil para no molestar */
    @keyframes floatUpDown {
        0%, 100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-5px);
        }
    }
    
    @keyframes pulseWhatsApp {
        0%, 100% {
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
        }
        50% {
            box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
        }
    }
}

/* ===================================================================
   16. ANIMACIONES ON SCROLL (INTERSECTION OBSERVER)
   =================================================================== */

/* Estado inicial de elementos animados */
.animate-on-scroll {
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animación desde la izquierda */
.slide-from-left {
    transform: translateX(-100px);
}

.slide-from-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Animación desde la derecha */
.slide-from-right {
    transform: translateX(100px);
}

.slide-from-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Animación desde abajo */
.slide-from-bottom {
    transform: translateY(80px);
}

.slide-from-bottom.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Animación de fade-in simple */
.fade-in {
    opacity: 0;
}

.fade-in.animate-in {
    opacity: 1;
}

/* Animación de zoom-in */
.zoom-in {
    transform: scale(0.9);
}

.zoom-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Respeto a preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float,
    .whatsapp-icon,
    .whatsapp-tooltip,
    .whatsapp-float::after,
    .whatsapp-float::before {
        animation: none !important;
        transition: none !important;
    }

    /* Desactivar animaciones on-scroll también */
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Desactivar efecto BG_MEDIA sticky */
    .hero-background {
        position: fixed !important;
        height: 100% !important;
        margin-top: 0 !important;
    }

    .hero-bg-image,
    .hero-bg-video {
        position: static !important;
        height: 100% !important;
        margin-bottom: 0 !important;
    }
}
