/* =========================================
   ESTILO FINAL MAESTRO - INSIGHT (V2)
   ========================================= */

:root {
    --insight-blue: #0077B6;
    --insight-cyan: #00B4D8;
    --insight-dark: #023e8a;
    --text-black: #202124;
    --text-grey: #5f6368;
    --bg-white: #ffffff;
    --glass-nav: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-black);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- FONDO DE NEURONAS (VIVO) --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Quitamos cualquier filtro de opacidad para que brillen los colores */
    background: radial-gradient(circle at center, #ffffff 20%, #f0f4f8 100%);
}

/* --- NAVEGACIÓN --- */
nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1000;
    background: var(--glass-nav);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.nav-logo-link {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    color: var(--text-black);
    font-size: 1.2rem;
}

.nav-links-right a {
    text-decoration: none;
    color: var(--text-grey);
    margin-left: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links-right a:hover,
.nav-links-right a.active {
    color: var(--insight-blue);
}

.btn-nav-simple {
    background: var(--insight-blue);
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
    font-weight: 600;
}

.btn-nav-simple:hover {
    background: var(--insight-dark);
    transform: translateY(-2px);
}

/* --- HERO & LAYOUTS --- */
.hero-google-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 40px;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
}

/* Titulares y Textos */
.google-logo-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.brand-text-bold {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--insight-blue);
}

.brand-text-light {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-grey);
}

.google-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 40px;
}

.line-1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--text-black);
    letter-spacing: -0.5px;
}

.line-2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--text-grey);
}

.line-3 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--insight-blue);
    margin-top: 10px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.metallic-cursor {
    display: inline-block;
    width: 4px;
    height: 1.1em;
    margin-left: 5px;
    background: linear-gradient(180deg, #00B4D8 0%, #ffffff 50%, #FF69B4 100%);
    background-size: 200% 200%;
    border-radius: 2px;
    animation: blink 1s step-end infinite, shine 3s linear infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Chat Pill */
.chat-pill-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.chat-pill {
    background: white;
    width: 100%;
    max-width: 600px;
    height: 60px;
    border-radius: 50px;
    border: 1px solid #dfe1e5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 5px 8px 5px 25px;
    transition: all 0.3s;
}

.chat-pill:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.15);
    border-color: var(--insight-blue);
}

#userInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
}

.send-circle-btn {
    width: 48px;
    height: 48px;
    background-color: var(--insight-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.send-circle-btn:hover {
    transform: scale(1.1);
    background-color: var(--insight-cyan);
}

/* --- SECCIONES Y GRID --- */
.section-padding {
    padding: 80px 5%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 119, 182, 0.12);
    border-color: var(--insight-blue);
}

.card-image-container {
    height: 200px;
    overflow: hidden;
    width: 100%;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    padding: 20px 20px 5px;
    font-size: 1.3rem;
    color: var(--insight-blue);
    font-weight: 700;
}

.card p {
    padding: 0 20px 20px;
    color: var(--text-grey);
    font-size: 0.95rem;
    flex-grow: 1;
}

.price-badge {
    margin: 0 20px 20px;
    padding: 8px 15px;
    background: #e0f7fa;
    color: #006064;
    font-weight: 700;
    border-radius: 8px;
    display: inline-block;
    width: fit-content;
}

.btn-link {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-top: 1px solid #eee;
    text-decoration: none;
    color: var(--insight-blue);
    font-weight: 700;
    background: #fafafa;
    transition: background 0.3s;
}

.btn-link:hover {
    background: #f0f8ff;
}

/* --- RADIO PAGE DARK THEME --- */
.radio-hero {
    background: radial-gradient(circle at center, #2b2b2b 0%, #121212 100%);
    color: white;
    padding: 120px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.radio-badge {
    background: #ff0055;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}

.episode-list {
    max-width: 900px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.episode-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    border: 1px solid #eee;
}

.episode-card:hover {
    transform: scale(1.01);
    border-color: var(--insight-blue);
}

.play-btn-wrapper {
    width: 50px;
    height: 50px;
    background: var(--insight-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    cursor: pointer;
}

.episode-info {
    flex-grow: 1;
}

.episode-info h4 {
    margin: 0 0 5px;
    color: var(--text-black);
    font-size: 1.1rem;
}

.episode-info span {
    font-size: 0.85rem;
    color: #888;
}

/* Estilo del reproductor nativo para que se vea limpio */
audio {
    width: 100%;
    height: 35px;
    margin-top: 10px;
    outline: none;
}

audio::-webkit-media-controls-panel {
    background-color: #f1f3f4;
}

/* --- FOOTER PREMIUM (DARK ELEGANT) --- */
.site-footer {
    background-color: #0a1117;
    /* Casi negro, azul muy profundo */
    color: #b0b3b8;
    padding: 70px 5% 20px;
    margin-top: auto;
    /* Empuja el footer al fondo */
    border-top: 3px solid var(--insight-blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #b0b3b8;
    transition: color 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--insight-cyan);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    color: #d1d1d1;
}

.footer-contact i {
    color: var(--insight-blue);
    margin-top: 5px;
}

.map-container iframe {
    width: 100%;
    height: 220px;
    border-radius: 15px;
    border: none;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s;
}

.map-container iframe:hover {
    filter: grayscale(0%);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #2a2f35;
    padding-top: 25px;
    font-size: 0.85rem;
    color: #6c757d;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links-right a:not(.btn-nav-simple) {
        display: none;
    }

    nav {
        justify-content: space-between;
    }

    .episode-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .play-btn-wrapper {
        display: none;
    }

    /* En móvil usamos el control nativo directo */
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 2000;
}

/* =========================================
   SECCIÓN DE RESEÑAS (INFINITE MARQUEE)
   ========================================= */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f4f7f6 100%);
    overflow: hidden;
    /* Crucial para esconder lo que sale de pantalla */
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.reviews-header h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    color: var(--text-black);
}

.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.google-rating-badge img {
    height: 18px;
}

.google-rating-badge .stars {
    color: #FFD700;
    margin-left: 5px;
    letter-spacing: 1px;
}

/* CONTENEDOR DEL CARRUSEL */
.marquee-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    /* Animación infinita */
    animation: scroll 40s linear infinite;
    padding: 20px 0;
    /* Espacio para la sombra */
}

/* Pausar animación al pasar el mouse para leer */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Se mueve hasta la mitad (donde empieza la copia) */
}

/* TARJETA DE RESEÑA */
.review-card {
    width: 350px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    /* Evita que se aplasten */
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.1);
    border-color: var(--insight-blue);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-black);
}

.reviewer-info .stars {
    color: #FFD700;
    font-size: 0.9rem;
}

.g-icon-small {
    height: 20px;
    width: 20px;
    margin-left: auto;
    opacity: 0.7;
}

.review-card p {
    font-size: 0.95rem;
    color: var(--text-grey);
    font-style: italic;
    line-height: 1.5;
}

/* =========================================
   AÑADIR AL FINAL DE STYLES.CSS
   ========================================= */

/* --- ESTILOS EPISODIOS CON IMAGEN --- */
.episode-card {
    /* Ajuste para acomodar la imagen */
    gap: 20px;
    padding: 15px;
    align-items: center;
}

/* Nuevo contenedor para la imagen del episodio */
.episode-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    /* Evita que se aplaste */
    border: 1px solid #333;
}

.episode-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- FOOTER DARK MODE (Para la página de Radio) --- */
.footer-dark {
    background-color: #0a1117 !important;
    /* Fondo casi negro */
    color: #b0b3b8 !important;
    border-top: 3px solid var(--insight-blue) !important;
}

.footer-dark h4 {
    color: #ffffff !important;
    /* Títulos blancos */
}

.footer-dark a {
    color: #b0b3b8 !important;
    /* Enlaces grises */
}

.footer-dark a:hover {
    color: var(--insight-cyan) !important;
    /* Hover cian */
}

.footer-dark .footer-contact p {
    color: #d1d1d1 !important;
}

.footer-dark .footer-bottom {
    border-top-color: #2a2f35 !important;
    color: #6c757d !important;
}

/* Ajuste para el reproductor en móvil */
@media (max-width: 768px) {
    .episode-card {
        flex-wrap: wrap;
        /* Permite que los elementos bajen si no caben */
    }

    .episode-image {
        width: 60px;
        height: 60px;
        /* Un poco más chica en móvil */
    }

    .episode-info {
        width: 100%;
        /* El reproductor ocupa todo el ancho abajo */
        margin-top: 10px;
    }
}

/* 1. Centrar el contenedor de la foto y darle un margen inferior */
.team-photo-container {
    text-align: center;
    /* Centra la imagen horizontalmente */
    margin-bottom: 15px;
    /* Separa un poco la foto del nombre */
}

/* 2. Controlar el tamaño de la imagen */
.team-photo-container img {
    max-width: 100%;
    /* IMPORTANTE: La imagen nunca será más ancha que la tarjeta */
    height: auto;
    /* IMPORTANTE: Mantiene la proporción correcta (no se deforma) */

    /* Opcional: Para limitar qué tan grande puede ser la imagen en pantallas muy anchas */
    /* max-height: 300px; */
    /* Descomenta esto si la foto sigue viéndose muy alta en PC */

    /* Opcional: Un poco de estilo para que se vea mejor */
    border-radius: 8px;
    /* Bordes ligeramente redondeados */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Una sombra suave */
}

/* WIDGET DE RADIO */
.live-widget {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    padding: 30px;
    border-radius: 20px;
    margin: 30px auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.pulsing-live {
    color: #ff0055;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
    0% {
        opacity: 1;
        text-shadow: 0 0 10px #ff0055;
    }

    50% {
        opacity: 0.5;
        text-shadow: 0 0 0px #ff0055;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 10px #ff0055;
    }
}

/* Estilizar el reproductor nativo en dark mode */
audio::-webkit-media-controls-panel {
    background-color: #f1f3f4;
    /* O el color que prefieras */
}

/* WIDGET RADIO Y CUENTA REGRESIVA */
.live-widget {
    background: rgba(20, 20, 20, 0.8);
    /* Fondo oscuro semitransparente */
    border: 1px solid #333;
    padding: 40px 20px;
    border-radius: 20px;
    margin: 30px auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #222;
    padding: 10px;
    border-radius: 10px;
    min-width: 70px;
    border: 1px solid #444;
}

.time-box span:first-child {
    font-size: 2rem;
    font-weight: 800;
    color: var(--insight-cyan);
    /* Azul eléctrico */
    font-family: 'Courier New', monospace;
    /* Estilo digital */
    line-height: 1;
}

.time-box .label {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    margin-top: 5px;
}

/* En Vivo Pulsando */
.pulsing-live {
    color: #ff0055;
    font-weight: 900;
    font-size: 1.8rem;
    letter-spacing: 1px;
    animation: pulseRadio 1s infinite;
}

@keyframes pulseRadio {
    0% {
        opacity: 1;
        text-shadow: 0 0 15px #ff0055;
    }

    50% {
        opacity: 0.7;
        text-shadow: 0 0 0px #ff0055;
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 15px #ff0055;
    }
}

/* Ajuste móvil */
@media (max-width: 480px) {
    .countdown-grid {
        gap: 8px;
    }

    .time-box {
        min-width: 55px;
    }

    .time-box span:first-child {
        font-size: 1.5rem;
    }
}

.radio-show-logo {
    width: 140px;
    /* Tamaño del círculo */
    height: 140px;
    border-radius: 50%;
    /* Esto lo hace circular */
    object-fit: cover;
    /* Asegura que la imagen rellene el círculo sin deformarse */
    margin: 25px auto;
    /* Centrado horizontalmente y separación vertical */

    /* Estilo Premium Dark Mode */
    border: 4px solid #1a1a1a;
    /* Borde oscuro para separarlo del fondo */
    box-shadow:
        0 0 0 4px var(--insight-blue),
        /* Segundo borde azul brillante */
        0 0 30px rgba(0, 180, 216, 0.5);
    /* Resplandor azul */

    display: block;
    /* Necesario para que 'margin: auto' centre la imagen */
    transition: transform 0.3s ease;
}

.radio-show-logo:hover {
    transform: scale(1.05) rotate(5deg);
    /* Pequeño efecto al pasar el mouse */
}

/* =========================================
   ILUSTRACIÓN CEREBROS ANIMADOS (HERO)
   ========================================= */
.brain-hero-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    height: auto;
    z-index: 0;
    /* Detrás del texto, delante del canvas */
    opacity: 0.8;
    /* Un poco sutil */
    pointer-events: none;
    /* Para que no interfiera con el mouse */
}

.brain-svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Animación de pulso para los núcleos de los cerebros */
.brain-node.pulse {
    animation: nodePulse 3s ease-in-out infinite;
}

.brain-node.pulse-delay {
    animation: nodePulse 3s ease-in-out infinite 1.5s;
    /* Desfase para que se vea orgánico */
}

@keyframes nodePulse {

    0%,
    100% {
        r: 6;
        opacity: 0.7;
    }

    50% {
        r: 8;
        opacity: 1;
        filter: brightness(1.2);
    }
}

/* Destello de Sinapsis cuando llega la señal */
.synapse-flash {
    animation: flashSynapse 3s infinite;
    /* Debe coincidir con la duración de la señal principal */
}

@keyframes flashSynapse {

    0%,
    85% {
        opacity: 0;
        transform: scale(0.5);
    }

    95% {
        opacity: 0.8;
        transform: scale(1.5);
        stroke: var(--insight-cyan);
    }

    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Ajuste en móviles para que no se vea gigante */
@media (max-width: 768px) {
    .brain-hero-container {
        width: 120%;
        /* Un poco más ancho en vertical */
        opacity: 0.5;
        /* Más sutil en celular para no tapar texto */
    }
}

/* =========================================
   NUEVA ANIMACIÓN: CEREBROS FLOTANTES DINÁMICOS
   ========================================= */
.floating-brains-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* No interfieren con clicks */
    z-index: 1;
    /* Detrás del texto principal */
    overflow: hidden;
}

.brain-entity {
    position: absolute;
    width: 220px;
    /* Tamaño más grande y notorio */
    height: 220px;
    opacity: 0.85;
}

.brain-entity svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Posiciones iniciales */
.brain-left {
    top: 20%;
    left: 15%;
}

.brain-right {
    top: 30%;
    right: 15%;
}

/* ANIMACIÓN DE FLOTACIÓN (MOVIMIENTO POR LA PANTALLA) */
/* Usamos dos animaciones diferentes para que se muevan de forma no sincronizada */
.floating-animate-1 {
    animation: floatAround1 18s ease-in-out infinite alternate;
}

.floating-animate-2 {
    animation: floatAround2 22s ease-in-out infinite alternate;
}

@keyframes floatAround1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(50px, -40px) rotate(5deg);
    }

    66% {
        transform: translate(-30px, 60px) rotate(-3deg);
    }

    100% {
        transform: translate(20px, -20px) rotate(2deg);
    }
}

@keyframes floatAround2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-60px, 30px) rotate(-5deg);
    }

    66% {
        transform: translate(40px, -50px) rotate(3deg);
    }

    100% {
        transform: translate(-20px, 40px) rotate(-2deg);
    }
}

/* Pulso del núcleo */
.brain-core-pulse {
    animation: corePulse 3s infinite;
}

.delay-pulse {
    animation-delay: 1.5s;
}

@keyframes corePulse {

    0%,
    100% {
        r: 15;
        opacity: 0.8;
    }

    50% {
        r: 18;
        opacity: 1;
        filter: brightness(1.3);
    }
}

/* --- ANIMACIÓN DE "HABLA" (SEÑALES) --- */
.communication-signals {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 200px;
    opacity: 0.7;
}

.signal-wave {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: signalFlow 4s linear infinite;
    opacity: 0;
}

/* Retrasos para que las ondas salgan secuencialmente */
.wave1 {
    animation-delay: 0s;
}

.wave2 {
    animation-delay: 1.3s;
}

.wave3 {
    animation-delay: 2.6s;
}

@keyframes signalFlow {
    0% {
        stroke-dashoffset: 400;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

/* En celular, hacerlos más pequeños y sutiles */
@media (max-width: 768px) {
    .brain-entity {
        width: 150px;
        height: 150px;
        opacity: 0.6;
    }

    .brain-left {
        left: -20px;
        top: 15%;
    }

    .brain-right {
        right: -20px;
        top: 25%;
    }

    .communication-signals {
        width: 90%;
    }
}

/* =========================================
   ESTILO FINAL MAESTRO - INSIGHT (V3 - Cerebros Contenidos)
   ========================================= */

:root {
    --insight-blue: #0077B6;
    --insight-cyan: #00B4D8;
    --insight-dark: #023e8a;
    --text-black: #202124;
    --text-grey: #5f6368;
    --bg-white: #ffffff;
    --glass-nav: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-black);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* NOTA: Se eliminó el #particle-canvas de fondo global */

/* --- NAVEGACIÓN --- */
nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1000;
    background: var(--glass-nav);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-logo-link {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    color: var(--text-black);
    font-size: 1.2rem;
}

.nav-links-right a {
    text-decoration: none;
    color: var(--text-grey);
    margin-left: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links-right a:hover,
.nav-links-right a.active {
    color: var(--insight-blue);
}

.btn-nav-simple {
    background: var(--insight-blue);
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
    font-weight: 600;
}

.btn-nav-simple:hover {
    background: var(--insight-dark);
    transform: translateY(-2px);
}

/* --- HERO & LAYOUTS --- */
.hero-google-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 40px;
    position: relative;
    /* Necesario para los cerebros absolutos */
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 10;
    /* El texto SIEMPRE encima */
}

/* === NUEVO: ESTILOS PARA LOS CEREBROS EN EL HERO === */
.hero-brains-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1100px;
    height: 60vh;
    /* Altura considerable */
    z-index: 1;
    /* Detrás del texto */
    pointer-events: none;
    /* El mouse pasa a través de ellos hacia el texto */
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.6;
    /* Un poco sutiles para no competir con el texto */
}

.brain-silhouette {
    width: 45%;
    /* Casi la mitad cada uno */
    height: 100%;
    position: relative;
    /* Fondo sutil para definir la forma */
    background: rgba(0, 119, 182, 0.05);
    border: 1px solid rgba(0, 119, 182, 0.1);
}

/* Aplicamos la máscara SVG para dar la forma */
.brain-silhouette.left {
    clip-path: url(#clip-brain-left);
}

.brain-silhouette.right {
    clip-path: url(#clip-brain-right);
}

/* Los canvas dentro de las siluetas */
.brain-silhouette canvas {
    width: 100%;
    height: 100%;
    display: block;
}


/* Titulares y Textos */
.google-logo-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.brand-text-bold {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--insight-blue);
}

.brand-text-light {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-grey);
}

.google-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 40px;
}

.line-1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--text-black);
    letter-spacing: -0.5px;
}

.line-2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--text-grey);
}

.line-3 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--insight-blue);
    margin-top: 10px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.metallic-cursor {
    display: inline-block;
    width: 4px;
    height: 1.1em;
    margin-left: 5px;
    background: linear-gradient(180deg, #00B4D8 0%, #ffffff 50%, #FF69B4 100%);
    background-size: 200% 200%;
    border-radius: 2px;
    animation: blink 1s step-end infinite, shine 3s linear infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Chat Pill */
.chat-pill-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.chat-pill {
    background: white;
    width: 100%;
    max-width: 600px;
    height: 60px;
    border-radius: 50px;
    border: 1px solid #dfe1e5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 5px 8px 5px 25px;
    transition: all 0.3s;
    pointer-events: auto;
    /* Asegurar que el chat funcione */
}

.chat-pill:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.15);
    border-color: var(--insight-blue);
}

#userInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: 'Inter', sans-serif;
}

.send-circle-btn {
    width: 48px;
    height: 48px;
    background-color: var(--insight-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.send-circle-btn:hover {
    transform: scale(1.1);
    background-color: var(--insight-cyan);
}

/* --- SECCIONES Y GRID --- */
.section-padding {
    padding: 80px 5%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 119, 182, 0.12);
    border-color: var(--insight-blue);
}

.card-image-container {
    height: 200px;
    overflow: hidden;
    width: 100%;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    padding: 20px 20px 5px;
    font-size: 1.3rem;
    color: var(--insight-blue);
    font-weight: 700;
}

.card p {
    padding: 0 20px 20px;
    color: var(--text-grey);
    font-size: 0.95rem;
    flex-grow: 1;
}

.btn-link {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-top: 1px solid #eee;
    text-decoration: none;
    color: var(--insight-blue);
    font-weight: 700;
    background: #fafafa;
    transition: background 0.3s;
}

.btn-link:hover {
    background: #f0f8ff;
}

/* --- RESEÑAS GOOGLE MARQUEE --- */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f4f7f6 100%);
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.reviews-header h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    color: var(--text-black);
}

.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.google-rating-badge img {
    height: 18px;
}

.google-rating-badge .stars {
    color: #FFD700;
    margin-left: 5px;
    letter-spacing: 1px;
}

.marquee-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 40s linear infinite;
    padding: 20px 0;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    width: 350px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.1);
    border-color: var(--insight-blue);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-black);
}

.reviewer-info .stars {
    color: #FFD700;
    font-size: 0.9rem;
}

.g-icon-small {
    height: 20px;
    width: 20px;
    margin-left: auto;
    opacity: 0.7;
}

.review-card p {
    font-size: 0.95rem;
    color: var(--text-grey);
    font-style: italic;
    line-height: 1.5;
}


/* --- FOOTER PREMIUM --- */
.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 60px 5% 20px;
    color: var(--text-grey);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h4 {
    color: var(--text-black);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-grey);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--insight-blue);
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--insight-blue);
    margin-top: 4px;
}

.map-container iframe {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links-right a:not(.btn-nav-simple) {
        display: none;
    }

    nav {
        justify-content: space-between;
    }

    /* En móvil, los cerebros se apilan o se hacen más pequeños */
    .hero-brains-container {
        flex-direction: column;
        height: 50vh;
        opacity: 0.4;
    }

    .brain-silhouette {
        width: 80%;
        height: 45%;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 2000;
}

/* === HOLOGRAMAS CEREBRALES 3D (ESTILO PLEXUS) === */
.hero-brains-container {
    position: absolute;
    top: 55%;
    /* Bajarlos un poco para centrar visualmente */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1600px;
    /* Muy anchos para que queden a los lados */
    height: 80vh;
    z-index: 1;
    /* Detrás del texto */
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hologram-container {
    width: 500px;
    height: 500px;
    position: relative;
    opacity: 0.8;
    /* Transparencia ligera para elegancia */
}

.hologram-container canvas {
    width: 100%;
    height: 100%;
    display: block;
    /* Resplandor Cian para que destaque sobre blanco */
    filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.5));
}

/* AJUSTE MÓVIL */
@media (max-width: 768px) {
    .hero-brains-container {
        flex-direction: column;
        justify-content: center;
        opacity: 0.4;
        /* Más sutil en móvil */
    }

    .hologram-container {
        width: 320px;
        height: 320px;
        position: absolute;
    }

    .left {
        top: 5%;
        left: -15%;
    }

    .right {
        bottom: 5%;
        right: -15%;
    }
}

/* ... (Todo tu CSS anterior sigue igual) ... */

/* RESPONSIVE: AJUSTE PARA MÓVILES (1 SOLO CEREBRO) */
@media (max-width: 768px) {

    /* Ocultar elementos de navegación complejos */
    .nav-links-right a:not(.btn-nav-simple) {
        display: none;
    }

    nav {
        justify-content: space-between;
    }

    /* Ajustar el contenedor principal */
    .hero-brains-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
        /* Ocupar toda la pantalla */
        width: 100%;
        opacity: 0.5;
        /* Un poco más visible en móvil */
    }

    /* OCULTAR EL CEREBRO DERECHO */
    .hologram-container.right {
        display: none;
    }

    /* CENTRAR Y AGRANDAR EL CEREBRO IZQUIERDO */
    .hologram-container.left {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 350px;
        /* Tamaño visible en móvil */
        height: 350px;
    }

    /* Ajustar titular para que no se encime feo */
    .google-headline {
        font-size: 3rem;
        margin-bottom: 30px;
    }

    .content-wrapper {
        margin-top: -50px;
    }

    /* Subir un poco el texto */
}

/* (MANTÉN TUS VARIABLES Y RESET IGUAL AL ANTERIOR) */
:root {
    --insight-blue: #0077B6;
    --insight-cyan: #00B4D8;
    --insight-dark: #023e8a;
    --text-black: #202124;
    --text-grey: #5f6368;
    --bg-white: #ffffff;
    --glass-nav: rgba(255, 255, 255, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-white);
    color: var(--text-black);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
}

/* === 1. FONDO RED CON BORDES DIFUMINADOS (Para Index) === */
.canvas-fade-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Máscara radial: Centro visible, bordes transparentes */
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

#particle-canvas {
    width: 100%;
    height: 100%;
}

/* === 2. ARREGLO ICONOS CORTADOS === */
.icon-card {
    font-size: 2.5rem;
    color: var(--insight-blue);
    /* Eliminamos margen negativo o apretado */
    margin: 0;
    display: inline-block;
    line-height: 1;
    /* Evita cortes verticales */
}

/* ... (NAVEGACIÓN, HERO, BOTONES, CARDS: TODO IGUAL AL ANTERIOR) ... */
nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1000;
    background: var(--glass-nav);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-logo-link {
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    color: var(--text-black);
    font-size: 1.2rem;
}

.nav-links-right a {
    text-decoration: none;
    color: var(--text-grey);
    margin-left: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links-right a:hover,
.nav-links-right a.active {
    color: var(--insight-blue);
}

.btn-nav-simple {
    background: var(--insight-blue);
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s;
    text-decoration: none;
    font-weight: 600;
}

.btn-nav-simple:hover {
    background: var(--insight-dark);
    transform: translateY(-2px);
}

.hero-google-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 40px;
    position: relative;
    overflow: hidden;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* ESTILOS CEREBROS 3D (Para Repositorio) */
.hero-brains-container {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1600px;
    height: 80vh;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hologram-container {
    width: 500px;
    height: 500px;
    position: relative;
    opacity: 0.8;
}

.hologram-container canvas {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.5));
}

.google-logo-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.brand-text-bold {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--insight-blue);
}

.brand-text-light {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-grey);
}

.google-headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 40px;
}

.line-1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--text-black);
    letter-spacing: -0.5px;
}

.line-2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--text-grey);
}

.line-3 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--insight-blue);
    margin-top: 10px;
    position: relative;
    display: inline-flex;
    align-items: center;
}

.metallic-cursor {
    display: inline-block;
    width: 4px;
    height: 1.1em;
    margin-left: 5px;
    background: linear-gradient(180deg, #00B4D8 0%, #ffffff 50%, #FF69B4 100%);
    background-size: 200% 200%;
    border-radius: 2px;
    animation: blink 1s step-end infinite, shine 3s linear infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.chat-pill-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.chat-pill {
    background: white;
    width: 100%;
    max-width: 600px;
    height: 60px;
    border-radius: 50px;
    border: 1px solid #dfe1e5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 5px 8px 5px 25px;
    transition: all 0.3s;
    pointer-events: auto;
}

.chat-pill:hover {
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.15);
    border-color: var(--insight-blue);
}

#userInput {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: var(--text-black);
    font-family: 'Inter', sans-serif;
}

.send-circle-btn {
    width: 48px;
    height: 48px;
    background-color: var(--insight-blue);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.send-circle-btn:hover {
    transform: scale(1.1);
    background-color: var(--insight-cyan);
}

.helper-text {
    font-size: 0.85rem;
    color: #bdc1c6;
}

.section-padding {
    padding: 80px 5%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 119, 182, 0.12);
    border-color: var(--insight-blue);
}

.card-image-container {
    height: 200px;
    overflow: hidden;
    width: 100%;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover img {
    transform: scale(1.05);
}

.card h3 {
    padding: 20px 20px 5px;
    font-size: 1.3rem;
    color: var(--insight-blue);
    font-weight: 700;
}

.card p {
    padding: 0 20px 20px;
    color: var(--text-grey);
    font-size: 0.95rem;
    flex-grow: 1;
}

.price-badge {
    margin: 0 20px 20px;
    padding: 8px 15px;
    background: #e0f7fa;
    color: #006064;
    font-weight: 700;
    border-radius: 8px;
    display: inline-block;
    width: fit-content;
}

.btn-link {
    display: flex;
    justify-content: space-between;
    padding: 18px 25px;
    border-top: 1px solid #eee;
    text-decoration: none;
    color: var(--insight-blue);
    font-weight: 700;
    background: #fafafa;
    transition: background 0.3s;
}

.btn-link:hover {
    background: #f0f8ff;
}

.reviews-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f4f7f6 100%);
    overflow: hidden;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.reviews-header h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    color: var(--text-black);
}

.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.google-rating-badge img {
    height: 18px;
}

.google-rating-badge .stars {
    color: #FFD700;
    margin-left: 5px;
    letter-spacing: 1px;
}

.marquee-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 40s linear infinite;
    padding: 20px 0;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    width: 350px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 119, 182, 0.1);
    border-color: var(--insight-blue);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-black);
}

.reviewer-info .stars {
    color: #FFD700;
    font-size: 0.9rem;
}

.g-icon-small {
    height: 20px;
    width: 20px;
    margin-left: auto;
    opacity: 0.7;
}

.review-card p {
    font-size: 0.95rem;
    color: var(--text-grey);
    font-style: italic;
    line-height: 1.5;
}

/* --- FOOTER PREMIUM --- */
.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 60px 5% 20px;
    color: var(--text-grey);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col h4 {
    color: var(--text-black);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-grey);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--insight-blue);
}

.footer-contact p {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--insight-blue);
    margin-top: 4px;
}

.map-container iframe {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links-right a:not(.btn-nav-simple) {
        display: none;
    }

    nav {
        justify-content: space-between;
    }

    .hero-brains-container {
        flex-direction: column;
        opacity: 0.4;
    }

    .hologram-container {
        width: 320px;
        height: 320px;
        position: absolute;
    }

    .left {
        top: 5%;
        left: -15%;
    }

    .right {
        bottom: 5%;
        right: -15%;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: 1s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform 0.3s;
}

.wa-float:hover {
    transform: scale(1.1);
}

/* =========================================
   SECCIÓN ATENCIÓN ONLINE GLOBAL (Estilo WhatsApp/Tech)
   ========================================= */

/* Contenedor principal de la sección */
.online-global-section {
    /* Un fondo claro y cálido, similar a la referencia pero adaptado a tu marca */
    background: linear-gradient(to right, #f8f9fa 0%, #eef2f7 100%);
    padding: 100px 5%;
    overflow: hidden;
    /* Para contener elementos flotantes */
}

/* Grid de dos columnas */
.global-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    /* Centrar verticalmente */
}

/* --- COLUMNA IZQUIERDA: VISUALES --- */
.global-visuals {
    position: relative;
    height: 500px;
    /* Altura fija para manejar los absolutos */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Pantalla principal (Google Meet) */
.main-meet-screen {
    width: 80%;
    height: auto;
    aspect-ratio: 4/3;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 119, 182, 0.15);
    /* Sombra azulada Insight */
    overflow: hidden;
    position: relative;
    z-index: 2;
    /* Detrás de las tarjetas flotantes */
    border: 4px solid white;
}

.meet-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meet-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.meet-badge {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.meet-badge i {
    color: #25D366;
    /* Verde tipo Meet/Whatsapp */
}


/* Tarjetas Flotantes */
.floating-card {
    position: absolute;
    background: white;
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 3;
    /* Encima de la pantalla principal */
    white-space: nowrap;
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: white;
}

.map-icon {
    background: linear-gradient(135deg, var(--insight-blue), var(--insight-cyan));
}

.time-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-text strong {
    font-size: 1rem;
    color: var(--text-black);
}

.card-text span {
    font-size: 0.9rem;
    color: var(--text-grey);
}

/* Posicionamiento de tarjetas */
.card-reach {
    top: 10%;
    right: 0;
}

.card-flex {
    bottom: 15%;
    left: 0;
}

/* Animaciones suaves de flotación */
.float-animation-1 {
    animation: floatY 4s ease-in-out infinite;
}

.float-animation-2 {
    animation: floatY 5s ease-in-out infinite reverse;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}


/* --- COLUMNA DERECHA: TEXTO --- */
.global-text {
    padding-left: 30px;
}

.global-headline {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    /* Grande y responsivo */
    font-weight: 800;
    color: var(--text-black);
    line-height: 1.2;
    margin-bottom: 25px;
}

.global-description {
    font-size: 1.15rem;
    color: var(--text-grey);
    margin-bottom: 20px;
    max-width: 600px;
}

.global-description strong {
    color: var(--insight-blue);
    font-weight: 700;
}

/* Área del Botón */
.global-cta-container {
    margin-top: 40px;
}

.cta-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--insight-blue);
    margin-bottom: 15px;
}

/* Botón Premium Grande */
.btn-premium-large {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--insight-blue) 0%, var(--insight-dark) 100%);
    color: white;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.3);
    transition: all 0.3s ease;
}

.btn-premium-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 119, 182, 0.4);
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
    .global-grid {
        grid-template-columns: 1fr;
        /* Una sola columna en tablets/móviles */
        gap: 80px;
        text-align: center;
    }

    .global-text {
        padding-left: 0;
    }

    .global-description,
    .global-cta-container {
        margin-left: auto;
        margin-right: auto;
    }

    .global-visuals {
        height: 400px;
    }

    /* Reducir altura visual */

    /* Ajustar posición de tarjetas en móvil */
    .card-reach {
        right: 5%;
    }

    .card-flex {
        left: 5%;
    }
}

/* =========================================
   SECCIÓN RADIO INDEX (NUEVO DISEÑO)
   ========================================= */
.radio-index-section {
    position: relative;
    background-color: #111;
    color: white;
    overflow: hidden;
    padding: 100px 20px;
}

/* Fondo degradado sutil */
.radio-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: 0;
}

.radio-bg-overlay::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
    /* Resplandor azul Insight */
    pointer-events: none;
}

/* Grid Layout */
.radio-index-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- COMPOSICIÓN VISUAL (FOTO + LOGO) --- */
.radio-composition {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.host-photo {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    /* Borde suave */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    filter: grayscale(20%);
    /* Un toque elegante */
    transition: filter 0.3s;
}

.host-photo:hover {
    filter: grayscale(0%);
}

/* Logo flotante sobre la foto (Esquina inferior derecha) */
.radio-logo-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #111;
    /* Separa el logo de la foto */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background: #000;
    /* Fondo por si es PNG transparente */
}

/* --- TEXTOS --- */
.radio-tag {
    color: var(--insight-cyan);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.radio-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;

    /* 1. El color de fondo (Degradado) */
    background-image: linear-gradient(to right, #ffffff 0%, #aaaaaa 100%);

    /* 2. La propiedad estándar (Firefox, Edge nuevos) */
    background-clip: text;

    /* 3. La propiedad Webkit (Chrome, Safari, Android) */
    -webkit-background-clip: text;

    /* 4. Hacer el texto transparente (CRÍTICO para que se vea el efecto) */
    color: transparent;
    -webkit-text-fill-color: transparent;

    /* 5. Asegurar renderizado correcto */
    display: inline-block;
}

.host-name {
    font-size: 1.2rem;
    color: var(--insight-blue);
    font-weight: 500;
    margin-bottom: 25px;
}

.radio-desc {
    color: #bbb;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 500px;
}

/* Botones y Acciones */
.radio-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-radio-primary {
    background: white;
    color: #111;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-radio-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
    background: var(--insight-cyan);
    color: white;
}

.live-info {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-info i {
    color: #ff0055;
    animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .radio-index-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .radio-composition {
        margin-bottom: 20px;
    }

    .host-photo {
        width: 280px;
        height: 280px;
    }

    .radio-logo-badge {
        width: 90px;
        height: 90px;
        right: -10px;
        bottom: -20px;
    }

    .radio-desc {
        margin: 0 auto 30px auto;
    }

    .radio-actions {
        justify-content: center;
    }
}

/* =========================================
   SECCIÓN PASOS: CENTRADO Y AGRANDADO
   ========================================= */
.steps-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    width: 100%;
    overflow: hidden;
    /* Evita scrollbar horizontal global */
}

.steps-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-black);
    padding: 0 20px;
}

.steps-subtitle {
    text-align: center;
    color: var(--text-grey);
    margin-bottom: 60px;
    font-size: 1.2rem;
    padding: 0 20px;
}

/* CONTENEDOR DE SCROLL */
.steps-slider-container {
    width: 100%;
    overflow-x: auto;
    /* Habilita el scroll horizontal */
    padding-bottom: 40px;
    /* Espacio para la sombra inferior */

    /* Ocultar barra de scroll pero permitir función */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.steps-slider-container::-webkit-scrollbar {
    display: none;
}

/* EL RIEL FLEXIBLE */
.steps-slider {
    display: flex;
    gap: 40px;
    /* Más espacio entre tarjetas */
    width: max-content;
    /* El ancho se adapta al contenido */
    margin: 0 auto;
    /* TRUCO: Esto centra el bloque si sobra espacio */
    padding: 20px 40px;
    /* Margen interno para que no se corten las sombras */
}

/* ITEM INDIVIDUAL */
.step-item {
    position: relative;
    flex: 0 0 auto;
    /* TAMAÑO AUMENTADO */
    width: 300px;
    height: 420px;
    display: flex;
    align-items: center;
    margin-left: 30px;
    /* Espacio para el número */
}

/* NÚMERO GIGANTE (CIAN) */
.big-number {
    position: absolute;
    left: -40px;
    /* Sale más a la izquierda */
    top: 50%;
    transform: translateY(-50%);
    font-size: 12rem;
    /* Número enorme */
    font-weight: 900;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    color: transparent;
    -webkit-text-stroke: 2px var(--insight-cyan);
    opacity: 0.3;
    z-index: 0;
    transition: all 0.4s ease;
}

.step-item:hover .big-number {
    opacity: 1;
    color: var(--insight-cyan);
    transform: translateY(-50%) translateX(-10px) scale(1.05);
}

/* TARJETA */
.step-card {
    position: relative;
    z-index: 2;
    width: 100%;
    /* Llena el step-item */
    height: 100%;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s;
    display: flex;
    flex-direction: column;
}

.step-item:hover .step-card {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 180, 216, 0.25);
    border-color: rgba(0, 180, 216, 0.3);
}

.step-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.step-item:hover .step-card img {
    transform: scale(1.1);
}

/* TEXTO */
.step-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 10%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    padding: 40px 20px 25px;
    text-align: center;
}

.step-caption h4 {
    margin: 0 0 5px;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
}

.step-caption p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* RESPONSIVE */
.scroll-hint {
    display: none;
}

@media (max-width: 1200px) {

    /* En pantallas medianas y chicas, alineamos a la izquierda para permitir scroll fácil */
    .steps-slider {
        margin: 0;
        padding-left: 20px;
    }

    .scroll-hint {
        display: block;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .step-item {
        width: 260px;
        height: 360px;
    }

    /* Un poco más chicos en celular */
    .big-number {
        font-size: 8rem;
        left: -20px;
    }
}

/* =========================================
   SECCIÓN FLOTANTE (TEXTO + ICONOS)
   ========================================= */
.therapy-float-section {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 10;
}

/* El texto de definición */
.therapy-definition {
    font-size: 1.2rem;
    color: var(--text-grey);
    max-width: 600px;
    text-align: center;
    line-height: 1.6;
    font-weight: 400;
    /* Un fondo sutil para que se lea bien sobre cualquier cosa */
    background: rgba(255, 255, 255, 0.6);
    padding: 15px 25px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* Contenedor de los círculos */
.floating-bubbles-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* Espacio entre burbujas */
    flex-wrap: wrap;
    padding-bottom: 20px;
}

/* Estilo de cada círculo (Burbuja) */
.icon-bubble {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    /* Borde gris muy fino como en la imagen */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--text-black);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

    /* Animación de flotación */
    animation: floatBubble 4s ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Efecto al pasar el mouse */
.icon-bubble:hover {
    border-color: var(--insight-cyan);
    color: var(--insight-blue);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.2);
}

/* Una burbuja destacada un poco más grande */
.bubble-large {
    width: 75px;
    height: 75px;
    font-size: 1.5rem;
    border-color: var(--insight-cyan);
    /* Borde cian sutil */
}

/* KEYFRAMES: El movimiento de arriba a abajo */
@keyframes floatBubble {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    /* Sube 15px */
}

/* Retrasos para crear el efecto de "ola" desordenada */
.delay-1 {
    animation-delay: 0s;
}

.delay-2 {
    animation-delay: 1s;
}

.delay-3 {
    animation-delay: 0.5s;
}

.delay-4 {
    animation-delay: 2s;
}

.delay-5 {
    animation-delay: 1.5s;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .floating-bubbles-container {
        gap: 10px;
    }

    .icon-bubble {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .bubble-large {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }

    .therapy-definition {
        font-size: 1rem;
        padding: 10px;
    }
}


/* =========================================
   SECCIÓN PRÓXIMO EPISODIO (CORREGIDA)
   ========================================= */
.next-episode-section {
    background-color: #0b0c10;
    padding: 60px 20px;
    border-bottom: 1px solid #222;
}

.section-label {
    text-align: center;
    color: var(--insight-cyan);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.featured-episode-card {
    display: flex;
    /* OBLIGATORIO para poner lado a lado */
    flex-direction: row;
    /* Imagen izq, Texto der */
    background: linear-gradient(145deg, #161616, #0f0f0f);
    border: 1px solid #333;
    border-radius: 24px;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 180, 216, 0.1);
}

.featured-image {
    width: 40%;
    /* Ocupa el 40% del ancho */
    position: relative;
    min-height: 300px;
    /* Altura mínima */
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.live-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff0055;
    color: white;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 4px;
}

.featured-content {
    width: 60%;
    /* El resto del ancho */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.next-date {
    color: var(--insight-cyan);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.featured-content h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: white;
}

.guest-name {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 15px;
}

.episode-synopsis {
    color: #888;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Botones alineados */
.featured-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    /* Si no caben, bajan */
}

.btn-reminder {
    background: white;
    color: black;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid white;
}

.btn-reminder:hover {
    background: var(--insight-cyan);
    color: white;
    border-color: var(--insight-cyan);
}

.btn-share-featured {
    background: transparent;
    border: 2px solid #555;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-share-featured:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* RESPONSIVE: En celular se apila */
@media (max-width: 768px) {
    .featured-episode-card {
        flex-direction: column;
    }

    .featured-image,
    .featured-content {
        width: 100%;
    }

    .featured-image {
        height: 200px;
    }

    .featured-content h2 {
        font-size: 1.5rem;
    }
}

/* =========================================
   CORRECCIÓN FINAL: GRID DE EPISODIOS (SOLO ESTA SECCIÓN)
   ========================================= */

/* 1. EL CONTENEDOR GRID (Forzamos 3 columnas en PC) */
.episode-grid {
    display: grid !important;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    /* Por defecto (móvil) */
    grid-template-columns: 1fr;
}

/* REGLA DE ORO: En PC, 3 columnas OBLIGATORIAS */
@media screen and (min-width: 1024px) {
    .episode-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* En Tablets: 2 columnas */
@media screen and (min-width: 600px) and (max-width: 1023px) {
    .episode-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 2. LA TARJETA (Limitada para que no crezca gigante) */
.tech-episode-card {
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid #333;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    /* ESTOS SON LOS CANDADOS DE TAMAÑO */
    width: 100% !important;
    max-width: 400px !important;
    /* Nunca más ancha que esto */
    margin: 0 auto;
    /* Centrada en su hueco */

    transition: all 0.3s ease;
}

.tech-episode-card:hover {
    transform: translateY(-5px);
    border-color: var(--insight-cyan);
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.15);
}

/* 3. LA IMAGEN (Recortada, no estirada) */
.episode-cover {
    width: 100%;
    height: 180px !important;
    /* Altura fija obligatoria */
    position: relative;
    overflow: hidden;
}

.episode-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    /* Recorta la imagen para llenar el hueco */
    object-position: center top;
    transition: transform 0.5s ease;
}

.tech-episode-card:hover .episode-cover img {
    transform: scale(1.1);
}

/* --- Resto de estilos internos de la tarjeta --- */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.tech-episode-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 3rem;
    color: var(--insight-cyan);
}

.episode-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.episode-date {
    font-size: 0.75rem;
    color: var(--insight-cyan);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.episode-content h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
    display: block;
}

.episode-content p {
    color: #aaa;
    font-size: 0.85rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.player-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.tech-episode-card audio {
    flex-grow: 1;
    height: 30px;
    filter: invert(1) hue-rotate(180deg);
    opacity: 0.8;
}

.share-mini-btn {
    width: 35px;
    height: 35px;
    background: transparent;
    border: 1px solid #555;
    color: var(--insight-cyan);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.share-mini-btn:hover {
    background: var(--insight-cyan);
    color: white;
}

/* =========================================
   CORRECCIÓN FINAL: FOTOS DEL EQUIPO
   ========================================= */

/* 1. Asegurar que el contenedor tenga altura */
.team-photo-container {
    width: 100%;
    height: 350px !important;
    /* Altura obligatoria */
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
    /* Fondo gris por si la imagen falla */
}

/* 2. Asegurar que la imagen llene el contenedor */
.team-photo-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* Recorta para llenar sin estirar */
    object-position: center top !important;
    /* Enfoca las caras (parte superior) */
    display: block !important;
}

/* Ajuste para móviles para que no sean tan altas */
@media (max-width: 768px) {
    .team-photo-container {
        height: 300px !important;
    }
}