/*base.css*/
:root {
    --gio-primary: #174c77;
    --gio-primary-dark: #103a5c;
    --gio-secondary: #16a6a1;
    --gio-secondary-dark: #0c827e;
    --gio-sky: #eaf6fb;
    --gio-sky-2: #f4f9fc;
    --gio-text: #152b3a;
    --gio-muted: #6a7b87;
    --gio-border: #dfe9ef;
    --gio-white: #ffffff;
    --gio-success: #17a66a;
    --gio-danger: #e25c5c;
    --gio-shadow: 0 20px 55px rgba(17, 63, 91, .10);
    --gio-shadow-soft: 0 10px 30px rgba(17, 63, 91, .07);
    --gio-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; font-family: 'Inter', Arial, sans-serif; color: var(--gio-text); background: #fff; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.site-shell { min-height: 100vh; overflow-x: clip; }
.public-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* ============================================
   MEJORA: Más espaciado entre secciones
   ============================================ */
.public-section { padding: 110px 0; }
.compact-section { padding-top: 72px; }

.section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--gio-secondary); font-size: 13px; letter-spacing: .16em; font-weight: 800; margin-bottom: 14px; }
.section-kicker::before { content: ''; width: 30px; height: 2px; background: currentColor; border-radius: 99px; }
.section-kicker.light { color: #baf4f1; }

/* ============================================
   MEJORA: Títulos más jerarquizados
   ============================================ */
.section-heading { max-width: 700px; margin-bottom: 48px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .section-kicker { justify-content: center; }
.section-heading.no-margin { margin-bottom: 0; }

/* H2 principal - más grande y con más peso */
.section-heading h2, .contact-copy h2, .inner-hero h1 { 
    font-family: 'Montserrat', sans-serif; 
    font-size: clamp(38px, 4.5vw, 52px); 
    line-height: 1.12; 
    margin: 0 0 18px; 
    color: var(--gio-primary-dark); 
    letter-spacing: -.035em; 
    font-weight: 800;
}

/* Texto descriptivo - mejor contraste y legibilidad */
.section-heading p { 
    margin: 0; 
    color: var(--gio-muted); 
    font-size: 17px; 
    line-height: 1.7;
    max-width: 650px;
}

/* ============================================
   MEJORA: Botones más grandes y destacados
   ============================================ */
.button { 
    min-height: 54px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    padding: 0 26px; 
    border-radius: 12px; 
    font-weight: 700; 
    font-size: 15px; 
    border: 1px solid transparent; 
    cursor: pointer; 
    transition: .25s ease; 
}
.button:hover { transform: translateY(-3px); }

.button-primary { 
    background: var(--gio-primary); 
    color: #fff; 
    box-shadow: 0 12px 28px rgba(23,76,119,.22); 
}
.button-primary:hover { 
    background: var(--gio-primary-dark); 
    box-shadow: 0 16px 36px rgba(23,76,119,.30); 
}

.button-light { background: #fff; border-color: var(--gio-border); color: var(--gio-primary); }
.button-light:hover { border-color: var(--gio-primary); }

.button-outline { border-color: var(--gio-primary); color: var(--gio-primary); background: transparent; }
.button-outline:hover { background: var(--gio-primary); color: #fff; }

.button-soft { background: #eaf2f7; color: var(--gio-primary); }
.button-soft:hover { background: #dce9f2; }

.whatsapp-button { 
    background: #20c979; 
    color: #fff; 
    box-shadow: 0 12px 28px rgba(32,201,121,.25);
}
.whatsapp-button:hover { 
    background: #1aad66; 
    box-shadow: 0 16px 36px rgba(32,201,121,.35);
}

.full-width { width: 100%; }

.public-empty { border: 1px dashed #c9d8e2; border-radius: 16px; padding: 26px; text-align: center; color: var(--gio-muted); background: #fff; }

.reveal-item { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--delay, 0ms); }
.reveal-item.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { --delay: 120ms; }

.inner-page { min-height: 70vh; }
.inner-hero { background: linear-gradient(135deg, #eff8fc, #f9fcfe); padding: 72px 0 54px; border-bottom: 1px solid var(--gio-border); }
.inner-hero p { color: var(--gio-muted); max-width: 700px; font-size: 17px; }
.form-message { margin-top: 16px; border-radius: 10px; padding: 12px 14px; background: #edf6fb; color: var(--gio-primary); font-size: 14px; }

/* ============================================
   MEJORA: Responsive base para móvil
   ============================================ */
@media (max-width: 768px) {
    .public-section { padding: 72px 0; }
    .section-heading { margin-bottom: 36px; }
    .button { min-height: 50px; padding: 0 20px; font-size: 14px; }
}
/* ==========================================================
   PANEL DE CARGA CON LOGO
   ========================================================== */

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1a2a 0%, #174c77 45%, #16a6a1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    opacity: 1;
    visibility: visible;
}

/* Cuando la página carga, se oculta */
.loader-container.oculto {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    animation: loaderContentIn 0.6s ease;
}

@keyframes loaderContentIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Logo de la empresa */
.loader-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 28px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.30);
    overflow: hidden;
    animation: loaderLogoPulse 2s ease-in-out infinite;
}

.loader-logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 20px;
}

.loader-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #174c77;
    background: linear-gradient(135deg, #eaf6fb, #f4f9fc);
}

@keyframes loaderLogoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.30);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.40);
    }
}

/* Nombre de la empresa */
.loader-nombre {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: loaderNombreFade 2s ease-in-out infinite;
}

@keyframes loaderNombreFade {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Spinner */
.loader-spinner {
    margin: 0 auto 12px;
    width: 50px;
    height: 50px;
    position: relative;
}

.spinner-ring {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top: 4px solid #4ade80;
    border-right: 4px solid #4ade80;
    animation: loaderSpin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes loaderSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Texto de carga */
.loader-texto {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    letter-spacing: 0.15em;
    font-weight: 600;
    animation: loaderTextoPulse 1.5s ease-in-out infinite;
}

@keyframes loaderTextoPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Barras decorativas */
.loader-container::before,
.loader-container::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.loader-container::before {
    top: -10%;
    left: -5%;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.5), transparent);
    animation: loaderOrbFloat 6s ease-in-out infinite;
}

.loader-container::after {
    bottom: -10%;
    right: -5%;
    background: radial-gradient(circle, rgba(22, 166, 161, 0.5), transparent);
    animation: loaderOrbFloat 6s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes loaderOrbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.2);
    }
}

/* Responsive */
@media (max-width: 620px) {
    .loader-logo {
        width: 100px;
        height: 100px;
        border-radius: 22px;
    }
    
    .loader-logo img {
        width: 75px;
        height: 75px;
    }
    
    .loader-logo-fallback {
        font-size: 38px;
    }
    
    .loader-nombre {
        font-size: 18px;
    }
    
    .loader-spinner,
    .spinner-ring {
        width: 40px;
        height: 40px;
    }
    
    .loader-texto {
        font-size: 11px;
    }
}
/* ==========================================================
   GIOLABS - ANIMACIONES DE FONDO PREMIUM
   ========================================================== */

/* ============ PARTÍCULAS FLOTANTES ============ */
.particulas-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particula {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: particulaFlotar 15s ease-in-out infinite;
}

.particula-1 {
    width: 8px;
    height: 8px;
    background: #174c77;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.particula-2 {
    width: 6px;
    height: 6px;
    background: #16a6a1;
    top: 25%;
    left: 15%;
    animation-delay: -3s;
}

.particula-3 {
    width: 10px;
    height: 10px;
    background: #174c77;
    top: 45%;
    left: 8%;
    animation-delay: -6s;
}

.particula-4 {
    width: 5px;
    height: 5px;
    background: #4ade80;
    top: 65%;
    left: 20%;
    animation-delay: -9s;
}

.particula-5 {
    width: 7px;
    height: 7px;
    background: #16a6a1;
    top: 80%;
    left: 10%;
    animation-delay: -12s;
}

.particula-6 {
    width: 9px;
    height: 9px;
    background: #174c77;
    top: 15%;
    right: 5%;
    animation-delay: -2s;
}

.particula-7 {
    width: 6px;
    height: 6px;
    background: #4ade80;
    top: 35%;
    right: 12%;
    animation-delay: -5s;
}

.particula-8 {
    width: 8px;
    height: 8px;
    background: #16a6a1;
    top: 55%;
    right: 8%;
    animation-delay: -8s;
}

.particula-9 {
    width: 5px;
    height: 5px;
    background: #174c77;
    top: 75%;
    right: 15%;
    animation-delay: -11s;
}

.particula-10 {
    width: 7px;
    height: 7px;
    background: #4ade80;
    top: 90%;
    right: 6%;
    animation-delay: -14s;
}

@keyframes particulaFlotar {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-30px) translateX(15px) rotate(90deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-60px) translateX(-10px) rotate(180deg);
        opacity: 0.1;
    }
    75% {
        transform: translateY(-30px) translateX(10px) rotate(270deg);
        opacity: 0.2;
    }
}

/* ============ ORBES DE FONDO ============ */
.orbes-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb-fondo {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    animation: orbFondoFlotar 20s ease-in-out infinite;
}

.orb-fondo-1 {
    width: 400px;
    height: 400px;
    background: #174c77;
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-fondo-2 {
    width: 350px;
    height: 350px;
    background: #16a6a1;
    bottom: -10%;
    left: -5%;
    animation-delay: -7s;
}

.orb-fondo-3 {
    width: 300px;
    height: 300px;
    background: #4ade80;
    top: 40%;
    left: 35%;
    animation-delay: -14s;
}

@keyframes orbFondoFlotar {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.06;
    }
    25% {
        transform: translate(40px, -40px) scale(1.15);
        opacity: 0.1;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.06;
    }
    75% {
        transform: translate(30px, 20px) scale(1.1);
        opacity: 0.1;
    }
}

/* ============ PATRÓN DE CRUCES MÉDICAS ============ */
.patron-medico {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M18 8h4v10h10v4H22v10h-4V22H8v-4h10z' fill='%23174c77' fill-opacity='0.04'/%3E%3C/svg%3E");
    background-size: 40px 40px;
    animation: patronMover 30s linear infinite;
}

@keyframes patronMover {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 40px 40px;
    }
}

/* ============ LÍNEAS DE ONDA ============ */
.ondas-fondo {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 0;
}

.onda {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath d='M0,40 C240,80 480,0 720,30 C960,60 1200,90 1440,40' fill='none' stroke='%23174c77' stroke-opacity='0.06' stroke-width='2'/%3E%3C/svg%3E") repeat-x;
    background-size: 720px 80px;
    animation: ondaMover 15s linear infinite;
}

.onda-1 {
    bottom: 0;
    animation-delay: 0s;
}

.onda-2 {
    bottom: 15px;
    animation-delay: -5s;
    opacity: 0.5;
}

.onda-3 {
    bottom: 30px;
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes ondaMover {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ============ RED DE PUNTOS (DOTS GRID) ============ */
.puntos-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-image: 
        radial-gradient(circle, rgba(23, 76, 119, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    animation: puntosMover 20s linear infinite;
}

@keyframes puntosMover {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 30px 30px;
    }
}

/* ============ LÍNEAS DE ECG (Electrocardiograma) ============ */
.ecg-fondo {
    position: fixed;
    top: 20%;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.ecg-linea {
    width: 100%;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40'%3E%3Cpath d='M0,20 L40,20 L50,20 L55,5 L60,35 L65,20 L100,20 L110,20 L115,8 L120,32 L125,20 L200,20' fill='none' stroke='%23174c77' stroke-width='2'/%3E%3C/svg%3E") repeat-x;
    background-size: 200px 40px;
    animation: ecgMover 10s linear infinite;
}

@keyframes ecgMover {
    from {
        background-position-x: 0;
    }
    to {
        background-position-x: 200px;
    }
}

/* ============ MOLÉCULAS DE ADN ============ */
.adn-fondo {
    position: fixed;
    top: 10%;
    right: 5%;
    width: 100px;
    height: 200px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.05;
    animation: adnRotar 8s ease-in-out infinite;
}

@keyframes adnRotar {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(10deg) scale(1.05);
    }
}
/* ==========================================================
   GIOLABS - ANIMACIONES DE FONDO VISIBLES
   ========================================================== */

/* ============ PARTÍCULAS FLOTANTES - MÁS GRANDES Y VISIBLES ============ */
.particulas-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particula {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: particulaFlotar 12s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(23, 76, 119, 0.3);
}

.particula-1 {
    width: 12px;
    height: 12px;
    background: #174c77;
    top: 8%;
    left: 3%;
    animation-delay: 0s;
}

.particula-2 {
    width: 10px;
    height: 10px;
    background: #16a6a1;
    top: 22%;
    left: 12%;
    animation-delay: -2s;
}

.particula-3 {
    width: 14px;
    height: 14px;
    background: #174c77;
    top: 40%;
    left: 6%;
    animation-delay: -4s;
}

.particula-4 {
    width: 8px;
    height: 8px;
    background: #4ade80;
    top: 60%;
    left: 18%;
    animation-delay: -6s;
}

.particula-5 {
    width: 11px;
    height: 11px;
    background: #16a6a1;
    top: 78%;
    left: 8%;
    animation-delay: -8s;
}

.particula-6 {
    width: 13px;
    height: 13px;
    background: #174c77;
    top: 12%;
    right: 4%;
    animation-delay: -1s;
}

.particula-7 {
    width: 9px;
    height: 9px;
    background: #4ade80;
    top: 32%;
    right: 10%;
    animation-delay: -3s;
}

.particula-8 {
    width: 12px;
    height: 12px;
    background: #16a6a1;
    top: 52%;
    right: 6%;
    animation-delay: -5s;
}

.particula-9 {
    width: 8px;
    height: 8px;
    background: #174c77;
    top: 72%;
    right: 12%;
    animation-delay: -7s;
}

.particula-10 {
    width: 10px;
    height: 10px;
    background: #4ade80;
    top: 88%;
    right: 5%;
    animation-delay: -9s;
}

@keyframes particulaFlotar {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.25;
    }
    25% {
        transform: translateY(-50px) translateX(25px) rotate(90deg);
        opacity: 0.45;
    }
    50% {
        transform: translateY(-100px) translateX(-15px) rotate(180deg);
        opacity: 0.25;
    }
    75% {
        transform: translateY(-50px) translateX(20px) rotate(270deg);
        opacity: 0.45;
    }
}

/* ============ ORBES DE FONDO - MÁS GRANDES ============ */
.orbes-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.orb-fondo {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: orbFondoFlotar 15s ease-in-out infinite;
}

.orb-fondo-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #174c77, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-fondo-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #16a6a1, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation-delay: -5s;
}

.orb-fondo-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #4ade80, transparent 70%);
    top: 35%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes orbFondoFlotar {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.12;
    }
    25% {
        transform: translate(60px, -60px) scale(1.2);
        opacity: 0.2;
    }
    50% {
        transform: translate(-30px, 40px) scale(0.9);
        opacity: 0.12;
    }
    75% {
        transform: translate(40px, 30px) scale(1.15);
        opacity: 0.2;
    }
}

/* ============ PATRÓN DE CRUCES MÉDICAS - MÁS VISIBLE ============ */
.patron-medico {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cpath d='M22 10h6v12h12v6H28v12h-6V28H10v-6h12z' fill='%23174c77' fill-opacity='0.08'/%3E%3C/svg%3E");
    background-size: 50px 50px;
    animation: patronMover 20s linear infinite;
}

@keyframes patronMover {
    from { background-position: 0 0; }
    to { background-position: 50px 50px; }
}

/* ============ RED DE PUNTOS - MÁS VISIBLE ============ */
.puntos-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background-image: 
        radial-gradient(circle, rgba(23, 76, 119, 0.12) 2px, transparent 2px);
    background-size: 25px 25px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    animation: puntosMover 15s linear infinite;
}

@keyframes puntosMover {
    from { background-position: 0 0; }
    to { background-position: 25px 25px; }
}

/* ============ LÍNEA ECG - MÁS VISIBLE ============ */
.ecg-fondo {
    position: fixed;
    top: 15%;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.1;
}

.ecg-linea {
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 50'%3E%3Cpath d='M0,25 L30,25 L40,25 L45,8 L50,42 L55,25 L80,25 L90,25 L95,12 L100,38 L105,25 L140,25 L150,25 L155,10 L160,40 L165,25 L200,25' fill='none' stroke='%23174c77' stroke-width='3'/%3E%3C/svg%3E") repeat-x;
    background-size: 200px 50px;
    animation: ecgMover 8s linear infinite;
}

@keyframes ecgMover {
    from { background-position-x: 0; }
    to { background-position-x: 200px; }
}

/* ============ ONDAS - MÁS VISIBLES ============ */
.ondas-fondo {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 1;
}

.onda {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath d='M0,30 C240,60 480,0 720,25 C960,50 1200,70 1440,30' fill='none' stroke='%23174c77' stroke-opacity='0.15' stroke-width='3'/%3E%3C/svg%3E") repeat-x;
    background-size: 720px 60px;
    animation: ondaMover 10s linear infinite;
}

.onda-1 { bottom: 0; animation-delay: 0s; }
.onda-2 { bottom: 12px; animation-delay: -3s; opacity: 0.6; }
.onda-3 { bottom: 24px; animation-delay: -6s; opacity: 0.35; }

@keyframes ondaMover {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============ ESTRELLAS BRILLANTES ============ */
.estrellas-fondo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.estrella {
    position: absolute;
    font-size: 14px;
    color: #16a6a1;
    animation: estrellaBrillar 3s ease-in-out infinite;
}

.estrella-1 { top: 10%; left: 5%; animation-delay: 0s; }
.estrella-2 { top: 20%; right: 8%; animation-delay: -0.5s; }
.estrella-3 { top: 40%; left: 15%; animation-delay: -1s; }
.estrella-4 { top: 55%; right: 12%; animation-delay: -1.5s; }
.estrella-5 { top: 70%; left: 8%; animation-delay: -2s; }
.estrella-6 { top: 85%; right: 5%; animation-delay: -2.5s; }

@keyframes estrellaBrillar {
    0%, 100% {
        opacity: 0.15;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.3) rotate(20deg);
    }
}