/* Importar fuente Aleo */
@import url('https://fonts.googleapis.com/css2?family=Aleo:wght@400;700&display=swap');

:root {
    --primary: #2179b4;
    --primary-hover: #165c8c;
    --accent: #f0b428;
    --success: #25D366;
    --success-hover: #1ea956;
    --dark: #1a2a3a;
    --light: #f0f4f8;
    --white: #f0f0f0;
    --gray: #6c757d;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
        min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
      url('assets/img/WhatsApp Image 2025-08-05 at 16.21.20.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

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

.container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 5px 5px 5px;
}

/* Header - Con mejor distribución del espacio */
.header {
    position: relative;
    z-index: 5;
    padding: 5px 0;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1650px;
    position: relative;
    padding: 0 0 0 20px;
        gap: 20px;
    flex-wrap: nowrap;
}

/* Evitar que los auto-márgenes de .logo-line desplacen el centro en el header */
.header .logo-line {
    margin: 3px 0; /* anula el auto en los laterales */
}

/* Centrado en flujo normal: la imagen participa del layout */
.header-center {
    position: static;
    left: auto;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Evitar que los auto-márgenes de .logo-line desplacen el centro en el header */
.header .logo-line {
    margin: 3px 0; /* anula el auto en los laterales */
}

/* Centrar absolutamente la imagen en el header */
.header-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.logo img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .header-img {
    display: none;
  }
  .header-center {
    position: static;
    left: auto;
    transform: none;
    z-index: auto;
    flex-wrap: wrap;
    white-space: normal !important;
    gap: 6px;
  }
}

/* Imagen "Bot Trading Activacion" como parte del logo */
.logo-text {
    display: flex;
    align-items: center;
}

.logo-text img {
    height: 95px;
    width: auto;
    object-fit: contain;
}

/* Contenedor del botón CTA en el header - Mejor centrado */
.header-container>div[style*="width:4500px"] {
    flex: 0 0 auto;
    display: flex;
    text-size-adjust: 40px;
    justify-content: center;
    align-items: center;
    min-width: 300px;
}

/* Cambio de fuente específico para el botón "Obtener Acceso" en el header */
.header-container .cta-button {
    background-color: 	#ffffff;
    box-shadow: 0 0 20px 10px 	#A7C4DD;
    color: #000;
    font-family: 'Aleo', serif;
    font-weight: 700;
    /* Mantener el peso bold para consistencia */
    font-size: 1.2rem;
    /* Aumentar tamaño de letra */
    letter-spacing: 0.5px;
    /* Espaciado sutil para mejor legibilidad */

    .header-container .cta-button::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        opacity: 0.6;
        box-shadow: 0 0 20px 10px 	#1F2D40;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

}

.header-container .cta-button:hover {
    background-color: #ffffff;
    color: #000;
    box-shadow: 0 0 20px 10px #19e4f7;
}

.header-container .cta-button:hover::after {
    opacity: 1;
    box-shadow: 0 0 20px 10px #19e4f7;
}

/* Replicar estilo del CTA del header en el botón móvil bajo el video */
@media (max-width: 767px) {
    .video-buttons-container .cta-button.mobile-only {
        background-color: #ffffff;
        /*box-shadow: 0 0 20px 10px #A7C4DD;*/
        color: #000;
        font-family: 'Aleo', serif;
        font-weight: 700;
        font-size: 1.2rem;
        letter-spacing: 0.5px;
        width: 250px;
        text-align: center;
    }
    .video-buttons-container .cta-button.mobile-only:hover {
        background-color: #ffffff;
        color: #000;
        box-shadow: 0 0 20px 10px #19e4f7;
    }
}

/* Botón de audio con las mismas proporciones que el CTA */
#toggle-audio {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD700 100%);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    /*padding: 15px 30px;*/
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 5px;
    min-width: 200px;
    min-height: 30px;
    flex: 0 0 auto;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

#toggle-audio::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

#toggle-audio:hover::before {
    left: 100%;
}

#toggle-audio:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #FF8A65 0%, #FFB74D 50%, #FFF176 100%);
}

#toggle-audio:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
}

.audio-icon {
    font-size: 18px;
    line-height: 1;
}

.audio-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Animación de pulso para llamar la atención */
@keyframes audioPulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    }
}

#toggle-audio.pulse {
    animation: audioPulse 2s infinite;
}

/* Contenedor del botón de audio para móviles */
.audio-mobile-container {
    display: none; /* Oculto por defecto (escritorio) */
    text-align: center;
    /*margin: 20px 0;*/
}

/* Botón de audio móvil - hereda estilos del original */
#toggle-audio-mobile {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD700 100%);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 200px;
    min-height: 50px;
    flex: 0 0 auto;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

#toggle-audio-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

#toggle-audio-mobile:hover::before {
    left: 100%;
}

#toggle-audio-mobile:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #FF8A65 0%, #FFB74D 50%, #FFF176 100%);
}

#toggle-audio-mobile:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
}

#toggle-audio-mobile.pulse {
    animation: audioPulse 2s infinite;
}

/* Responsivo para móviles del botón de audio */
@media (max-width: 480px) {
    .audio-text {
        font-size: 12px;
    }
    
    .audio-icon {
        font-size: 14px;
    }
    
    .main-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
        -webkit-text-stroke: 1px #d400ff;
        text-stroke: 1px #d400ff;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .only-text {
        font-size: 1.6rem;
        line-height: 1.2;
        padding: 0 10px;
    }
    
    .texto-superior {
        padding: 10px;
    }
}

/* Extra small devices (phones, 320px and down) */
@media (max-width: 320px) {
    .main-title {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
        -webkit-text-stroke: 0.5px #FD752F;
        text-stroke: 0.5px #FD752F;
    }
    
    .only-text {
        font-size: 1.4rem;
        line-height: 1.1;
        padding: 0 5px;
    }
    
    .subtitle {
        font-size: 1.2rem;
        padding: 0 5px;
    }
}

.texto-superior {
    /*background: #ffffff;*/
}

.main-title {
  font-size: 4rem;
  font-weight: bold;
  color: transparent;
  -webkit-text-stroke: 2px #FD752F;
  text-stroke: 2px #FD752F;
  position: relative;
  z-index: 10;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  white-space: nowrap;         /* <-- Mantiene el título en una sola línea */
  overflow-x: auto;            /* <-- Permite scroll si se desborda */
  max-width: 100vw;
}

.title-container {
  width: 100vw;
  overflow-x: auto;            /* <-- Permite desplazamiento lateral */
  text-align: center;
}

@keyframes float-out {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.5);
  }
}

.only-text {
    color: 	#0284C7;
    font-size: 3.57958rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Mostrar solo en escritorio */
#solo-escritorio {
  display: block;
}

#solo-movil {
  display: none;
}

/* En teléfonos (hasta 600px), mostramos solo el móvil */
@media screen and (max-width: 600px) {
  #solo-escritorio {
    display: none;
  }

  #solo-movil {
    display: block;
  }
}

.subtitle {
    font-size: 1.5rem;
}

/* Hero Section - Manteniendo tamaños originales */
.hero {
    padding: 7px 0 25px 0;
    background: linear-gradient(135deg, #D5E8F4 0%, #B3E4FD 100%);
    background: #CFE8F6;
    position: relative;
    overflow: hidden;
    min-height: calc(50vh - 80px);
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 45%;
    background-color: rgba(33, 121, 180, 0.05);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    gap: 15px;
}

.hero-content {
    flex: 0.85;
    padding-right: 0;
    max-width: 690px;
}

.hero-title {
    font-size: 2.17958rem;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    /*color: #25D366;
    text-shadow: 0 0 20px 10px #25D366;*/
    line-height: 1.1;
}

.hero-title span {
    color: #ffffff;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px 10px #25D366;
}

.hero-title span::after {

    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background-color: #25D366;
    box-shadow: 0 0 20px 10px #25D366;
    /*transition: opacity 0.3s ease;*/
    z-index: -1;

}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
    max-width: 560px;
    line-height: 1.2;

    /* Fallback color for older browsers */
    color: #9a9a9a;

    /* Base darker metallic + diagonal light sweep (both clipped to text) */
    background-image:
        linear-gradient(145deg,
            #6a6a6a 0%,
            #9a9a9a 20%,
            #7a7a7a 40%,
            #c0c0c0 60%,
            #5a5a5a 80%,
            #8a8a8a 100%),
        linear-gradient(60deg,
            rgba(255,255,255,0) 45%,
            rgba(255,255,255,1) 50%,
            rgba(255,255,255,0) 55%);
    background-size: 200% 200%, 300% 300%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: metal-text-shine 3s ease-in-out infinite;
}

@keyframes metal-text-shine {
    0%, 100% { background-position: 0% 50%, -150% -150%; }
    50% { background-position: 100% 50%, 150% 150%; }
}

.feature-list {
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(37, 211, 102, 0.15);
    background-color: #1a73e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #ffffff;
    flex-shrink: 0;
    font-size: 12px;
}

.feature-text {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .feature-text {font-size: 0.8rem;}
}

.cta-button {
    display: inline-block;
    background-color: #009FE3;
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 0 20px 3px #1A73E8;
    border: none;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
    min-width: 200px;
    min-height: 50px;
    flex: 0 0 auto;
}

/* Utilidades de visibilidad por dispositivo */
.mobile-only { display: none !important; }
.desktop-only { display: inline-flex; }

@media (max-width: 767px) {
  .mobile-only { display: inline-flex !important; }
  .desktop-only { display: none !important; }
  .header-cta-wrapper { display: none !important; }
}

@media (max-width: 767px) {
  .mobile-only { display: inline-flex !important; }
  .desktop-only { display: none !important; }
  .header-cta-wrapper { display: none !important; }
}

.cta-button:hover {
    background-color: #1F2D40;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(2, 2, 2, 0.4);
}

/* Facebook CTA variant */
.facebook-btn {
    background-color: #1877F2;
    color: #ffffff;
    box-shadow: 0 0 20px 3px rgba(24, 119, 242, 0.4);
}

.facebook-btn:hover {
    background-color: #1461C1;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(24, 119, 242, 0.5);
}

.facebook-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.cta-button-left {
    display: inline-block;
    background-color: #1A73E8;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 16px 68px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    animation: pulse-soft 2s infinite;
}

.cta-button-left:hover {
    background-color: #1F2D40;
    color: var(--white);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1.15;
    position: relative;
    margin-top: -5px;
}

/* Título del video - Con fuente Aleo tamaño 30 */
.hero-image h1 {
    font-family: 'Aleo', serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

/* Video de Facebook - Manteniendo tamaños originales */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    max-width: 100%;
    margin: 0 auto;
}

.youtube-video-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    padding-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: #000;
    transition: all 0.3s ease;


}

.youtube-video-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.youtube-video-wrapper {
  max-width: 1024px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
}

.youtube-video-wrapper video {
  display: block;  
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  position: static !important;
  transform: none !important;
}


/* Stats - Con imagen del botón 100,000 USD integrada correctamente */
.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    max-width: 520px;
    margin-bottom: 30px;
    align-items: flex-start;
    color: #009FE3;
}

.stat-item {
    text-align: center;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    min-height: 42px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 20px;
    display: flex;
    align-items: center;
}

/* Imagen del botón 100,000 USD en lugar del texto "RENDIMIENTO" */
.stat-item:last-child {
    padding: 0 15px;
}

.stat-item:last-child .stat-value {
    margin-bottom: 5px;
    min-height: 42px;
    align-items: center;
}

.stat-item:last-child img {
    height: 42px;
    width: auto;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0, 123, 255, 0.3);
    transition: var(--transition);
    cursor: pointer;
    object-fit: contain;
}

.stat-item:last-child img:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(0, 123, 255, 0.4);
}

.testimonial-carousel {
    background-color: var(--white);
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.youtube-slides-container {
    position: relative;
}

.youtube-testimonial-slide {
    padding: 10px;
    transition: opacity 0.5s ease;
}

.youtube-comment {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.youtube-comment-header {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.youtube-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin-right: 12px;
}

.youtube-user-info {
    display: flex;
    flex-direction: column;
}

.youtube-username {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

.youtube-comment-body {
    font-size: 12px;
    line-height: 1.25;
    margin: 5px 0 0 0;
    color: var(--dark);
}

/* Controles del carrusel */
.youtube-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    background-color: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 10px;
}

.carousel-control {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-control:hover {
    background-color: rgba(33, 121, 180, 0.1);
    color: var(--primary);
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    margin: 0 15px;
}

.carousel-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator-dot.active {
    background-color: var(--primary);
    width: 10px;
    height: 10px;
}

/* Footer */
.footer {
    background-color: #437ED8;
    padding: 10px 0;
    text-align: center;
    font-size: 0.875rem;
    color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-credit {
    margin-top: 5px;
    font-size: 0.75rem;
    color: #ffffff;
}

.ascend-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.ascend-link:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

.ascend-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.ascend-link:hover::after {
    width: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
}

@keyframes pulse-soft {
    0% {
        transform: scale(1);
        box-shadow: 0 3px 12px rgba(37, 211, 102, 0.25);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 3px 12px rgba(37, 211, 102, 0.25);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* RESPONSIVE RULES - Manteniendo comportamiento original */

/* DESKTOP: Mostrar carrusel y optimizar layout */
@media (min-width: 1025px) {
    .testimonial-carousel {
        display: block !important;
        margin-top: 15px;
        min-height: 160px;
        max-height: 160px;
    }

    .youtube-slides-container {
        height: 120px;
        overflow: hidden;
    }

    .youtube-testimonial-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: flex-start;
        padding: 8px;
    }

    .youtube-comment {
        width: 100%;
        max-height: 100px;
        overflow-y: auto;
    }

    .youtube-comment-body {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 11px;
        line-height: 1.2;
    }

    .youtube-carousel-controls {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: var(--white);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 0;
        padding: 2px 0;
    }

    .hero {
        /*padding: 10px 0;*/
    }
}

/* TABLET: Mostrar carrusel también */
@media (min-width: 769px) and (max-width: 1024px) {
    .testimonial-carousel {
        display: block !important;
        margin-top: 15px;
    }

    .hero {
        /*padding: 20px 0;*/
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
        order: 2; /* Mostrar segundo en tabletas */
    }

    .hero-image {
        order: 1; /* Mostrar primero en tabletas */
        margin-bottom: 30px;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-container>div[style*="width:450px"] {
        width: 100% !important;
        max-width: 350px;
    }

    .hero-image h1 {
        font-size: 26px;
    }
}

/* MÓVIL: Mostrar carrusel */
@media (max-width: 768px) {
    .testimonial-carousel {
        display: block !important;
        margin-top: 15px;
    }

    .hero {
        /*padding: 20px 0;*/
    }

    .hero-container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
        order: 2; /* Mostrar segundo en móviles */
    }

    .hero-image {
        order: 1; /* Mostrar primero en móviles */
        margin-bottom: 30px;
    }

    .feature-list {
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-item {
        justify-content: flex-start;
        text-align: left;
    }

    .stats {
        margin-left: auto;
        margin-right: auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .stat-item {
        min-width: 100px;
    }

    .cta-button {
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
        -webkit-text-stroke: 1.5px #FD752F;
        text-stroke: 1.5px #FD752F;
    }
    
    .only-text {
        font-size: 2.2rem;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 10px;
    }

    .header-container>div[style*="width:450px"] {
        width: 100% !important;
        max-width: 300px;
    }

    .hero-image h1 {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.7rem;
    }
    
    .main-title {
        font-size: 2rem;
        letter-spacing: 1px;
        -webkit-text-stroke: 1px #FD752F;
        text-stroke: 1px #FD752F;
    }
    
    .only-text {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .hero-image h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .header-container>div[style*="width:450px"] {
        width: 100% !important;
        max-width: 280px;
    }
}

/* Estilos para el contenedor de botones debajo del video */
.video-buttons-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
    margin: 0;
    /* Espaciado reducido arriba y abajo */
    padding: 0;
    flex-wrap: wrap;
}

.video-buttons-container a {
    display: inline-block;
    text-decoration: none;
    border-radius: 30px;
    overflow: hidden;
    /*box-shadow: 0 0 20px 5px #0080E4;*/
    transition: all 0.3s ease;
    transform: translateZ(0);
    /* Optimización para animaciones */
}

.video-buttons-container a:hover {
    transform: translateY(-3px);
    /*box-shadow: 0 8px 25px rgba(33, 121, 180, 0.4);*/
}

.video-buttons-container img {
    display: block;
    max-width: 270px;
    /* Tamaño similar al botón 100,000 USD */
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-buttons-container img:hover {
    transform: scale(1.02);
}

/* Ajustes para reducir espacios entre elementos */
.hero-image .image-container {
    margin-bottom: 0;
    /* Eliminar margen inferior del video */
}

.hero-image .testimonial-carousel {
    margin-top: 10px;
    /* Reducir espacio superior del carrusel */
}

/* Responsive para el contenedor de botones del video */
@media (max-width: 768px) {
    .video-buttons-container {
        margin: 10px 0 8px 0;
        gap: 10px;
        flex-direction: column;
    }

    .video-buttons-container img {
        max-width: 250px;
    }
    
    /* Ocultar el botón de audio original en móviles */
    #toggle-audio {
        display: none !important;
    }

    /* Mostrar el botón de audio móvil */
    .audio-mobile-container {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 15px;
        /*margin: 20px 15px;*/
        padding: 0 10px;
    }
    
    .audio-mobile-container .solo-movil {
        order: 2; /* Imagen a la derecha */
        width: 80px !important;
        height: 80px !important;
    }
    
    .audio-mobile-container #toggle-audio-mobile {
        order: 1; /* Botón a la izquierda */
    }

    #toggle-audio-mobile {
        padding: 12px 25px;
        min-width: 180px;
        min-height: 45px;
        font-size: 1rem;
    }
    
    .video-buttons-container .cta-button {
        padding: 12px 25px;
        min-width: 180px;
        min-height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .video-buttons-container {
        margin: 8px 0 6px 0;
    }

    .video-buttons-container img {
        max-width: 220px;
    }
    
    /* Botón de audio móvil para pantallas muy pequeñas */
    #toggle-audio-mobile {
        padding: 10px 20px;
        min-width: 160px;
        min-height: 40px;
        font-size: 0.9rem;
    }
    
    /* Ajuste del contenedor de audio móvil para pantallas muy pequeñas */
    .audio-mobile-container {
        gap: 10px !important;
        /*margin: 15px 10px !important;*/
        padding: 0 8px !important;
    }
    
    .audio-mobile-container .solo-movil {
        width: 50px !important; /* Imagen un poco más pequeña en pantallas muy pequeñas */
        height: 50px !important;
    }
    
    .video-buttons-container .cta-button {
        padding: 10px 20px;
        min-width: 160px;
        min-height: 40px;
        font-size: 0.9rem;
    }
}

/* SECCIÓN: Todo lo que necesitas */
.plataforma {
  /*background-color: #d9f1ff;*/
  padding: 4rem 2rem;
  text-align: center;
}
.plataforma h2 {
  font-size: 2rem;
  color: #0a1e40;
  text-shadow: 
  -1px -1px 0 #ffffff,
  1px -1px 0 #ffffff,
  -1px 1px 0 #ffffff,
  1px 1px 0 #ffffff,
  2px 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}
.feature-card h3 {
  color: #007adf;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  color: #444;
}
.feature-card ul {
  padding-left: 1rem;
  font-size: 0.9rem;
  color: #222;
}
.feature-card li {
  margin-bottom: 0.4rem;
}

/* SECCIÓN: Cómo funciona en 3 simples pasos */
.tres-pasos {
  /*background: linear-gradient(135deg, #D5E8F4 0%, #B3E4FD 100%);*/
  padding: 4rem 2rem;
  text-align: center;
}

.tres-pasos h2 {
  font-size: 3.5rem;
  margin-bottom: 4rem;
  color: #0a1e40;
  text-shadow: 
  -1px -1px 0 #ffffff,
  1px -1px 0 #ffffff,
  -1px 1px 0 #ffffff,
  1px 1px 0 #ffffff,
  2px 2px 4px rgba(0,0,0,0.1);
  font-weight: 700;
}

/* Sección de pasos horizontales */
.pasos-horizontales {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* PASO 1 - Configuración Personalizada */
.paso-1 {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.paso-1:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.paso-1-imagen {
  flex-shrink: 0;
  width: 160px;
  height: 123.94px;
  background: linear-gradient(135deg, #009fe3, #007adf);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.paso-1-imagen-principal {
  width: 150px;
  height: auto;
  border-radius: 20px;
}

.paso-1-contenido {
  flex: 1;
  position: relative;
}

.paso-1-numero {
  position: absolute;
  top: -10px;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: #009fe3;
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 159, 227, 0.3);
}

.paso-1-titulo {
  font-size: 1.8rem;
  color: #007adf;
  margin-bottom: 1rem;
  font-weight: 600;
  padding-right: 60px;
}

.paso-1-descripcion {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.paso-1-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.paso-1-item-1, .paso-1-item-2, .paso-1-item-3, .paso-1-item-4, .paso-1-item-5, .paso-1-item-6 {
  padding: 6px;
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.8rem;
  padding-left: 0;
  line-height: 1.5;
}

.paso-1-item-1:before, .paso-1-item-2:before, .paso-1-item-3:before, .paso-1-item-4:before, .paso-1-item-5:before, .paso-1-item-6:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #009fe3;
  border-radius: 50%;
  margin-right: 0.8rem;
  vertical-align: middle;
}

.paso-1-contenido-flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.paso-1-imagen-adicional {
  flex-shrink: 0;
  width: 250px;
  height: auto;
}

.paso-1-imagen-secundaria {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.paso-1-imagen-secundaria:hover {
  transform: scale(1.05);
}

/* PASO 2 - Lanzamiento Estratégico */
.paso-2 {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  flex-direction: row-reverse;
}

.paso-2:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.paso-2-imagen {
  flex-shrink: 0;
  width: 210px;
  height: 160px;
  background: linear-gradient(135deg, #4C52F8, #7A7EFA);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.paso-2-imagen-principal {
  width: 200px;
  height: auto;
  border-radius: 20px;
}

.paso-2-contenido {
  flex: 1;
  position: relative;
}

.paso-2-numero {
  position: absolute;
  top: -10px;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: #4C52F8;
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.paso-2-titulo {
  font-size: 1.8rem;
  color: #4C52F8;
  margin-bottom: 1rem;
  font-weight: 600;
  padding-right: 60px;
}

.paso-2-descripcion {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.paso-2-lista {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.paso-2-item-1, .paso-2-item-2, .paso-2-item-3, .paso-2-item-4, .paso-2-item-5, .paso-2-item-6 {
  padding: 6px;
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.8rem;
  padding-left: 0;
  line-height: 1.5;
}

.paso-2-item-1:before, .paso-2-item-2:before, .paso-2-item-3:before, .paso-2-item-4:before, .paso-2-item-5:before, .paso-2-item-6:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #4C52F8;
  border-radius: 50%;
  margin-right: 0.8rem;
  vertical-align: middle;
}

.paso-2-contenido-flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.paso-2-imagen-adicional {
  flex-shrink: 0;
  width: 400px;
  height: auto;
}

.paso-2-imagen-secundaria {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.paso-2-imagen-secundaria:hover {
  transform: scale(1.05);
}

/* PASO 3 - Resultados Medibles */
.paso-3 {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.paso-3:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.paso-3-imagen {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.paso-3-imagen-principal {
  width: 130px;
  height: auto;
  border-radius: 20px;
}

.paso-3-contenido {
  flex: 1;
  position: relative;
}

.paso-3-numero {
  position: absolute;
  top: -10px;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  color: #fff;
  font-weight: bold;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.paso-3-titulo {
  font-size: 1.8rem;
  color: #25D366;
  margin-bottom: 1rem;
  font-weight: 600;
  padding-right: 60px;
}

.paso-3-descripcion {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.paso-3-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.paso-3-item-1, .paso-3-item-2, .paso-3-item-3, .paso-3-item-4, .paso-3-item-5, .paso-3-item-6 {
  padding: 4px;
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.8rem;
  padding-left: 0;
  line-height: 1.5;
}

.paso-3-item-1:before, .paso-3-item-2:before, .paso-3-item-3:before, .paso-3-item-4:before, .paso-3-item-5:before, .paso-3-item-6:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #25D366;
  border-radius: 50%;
  margin-right: 0.8rem;
  vertical-align: middle;
}

/* Wrapper para contenido del paso 3 */
.paso-contenido-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.paso-3-lista {
  flex: 1;
  margin: 0;
}

/* Imagen adicional del paso 3 - WhatsApp */
.paso-3-imagen-adicional {
  flex-shrink: 0;
  width: 550px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.paso-3-imagen-secundaria {
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
  background: linear-gradient(to right, #22C45D 0%, #1DB455 50%, #15A44A 100%);
  padding: 20px 0;
}

.paso-3-imagen-secundaria:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .imagenes-principales {
    flex-direction: column;
    gap: 2rem;
  }
  
  .imagen-principal {
    max-width: 100%;
  }
  
  .paso-1, .paso-2, .paso-3 {
    flex-direction: column !important;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem !important;
    margin: 0 auto;
    max-width: 100%;
    overflow: hidden;
  }
  
  .paso-1-imagen, .paso-2-imagen {
    width: 120px;
    height: 95px;
    margin: 0 auto;
  }

  .paso-3-imagen {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }
  
  /* Reduce margins/borders for paso-1 and paso-2 images on mobile */
  .paso-1-imagen-principal,
  .paso-2-imagen-principal {
    width: calc(100% - 4px) !important;
    height: auto;
    border-radius: 16px;
    margin: 2px;
  }
  
  .paso-1-contenido, .paso-2-contenido, .paso-3-contenido {
    text-align: center;
  }
  
  .paso-1-numero, .paso-2-numero, .paso-3-numero {
    position: relative;
    top: auto;
    right: auto;
    margin: 0 auto 1rem auto;
  }
  
  .paso-1-titulo, .paso-2-titulo, .paso-3-titulo {
    padding-right: 0;
    margin-top: 1rem;
    font-size: 1.5rem !important;
  }
  
  .paso-1-lista, .paso-2-lista, .paso-3-lista {
    text-align: left;
    margin: 1rem auto;
    max-width: 100%;
  }
  
  .paso-1-item-1, .paso-1-item-2, .paso-1-item-3, .paso-1-item-4, .paso-1-item-5, .paso-1-item-6,
  .paso-2-item-1, .paso-2-item-2, .paso-2-item-3, .paso-2-item-4, .paso-2-item-5, .paso-2-item-6,
  .paso-3-item-1, .paso-3-item-2, .paso-3-item-3, .paso-3-item-4, .paso-3-item-5, .paso-3-item-6 {
    font-size: 0.95rem !important;
    margin-bottom: 0.6rem;
    line-height: 1.4;
  }
  
  .tres-pasos h2 {
    font-size: 2rem;
  }
  
  .tres-pasos {
    padding: 2rem 1rem;
  }
  
  .pasos-horizontales {
    gap: 2rem;
    padding: 0;
    margin: 0 auto;
  }
  
  .paso-1-contenido-flex, .paso-2-contenido-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .paso-contenido-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  /* Mobile styles for additional images */
  .paso-1-imagen-adicional,
  .paso-2-imagen-adicional,
  .paso-3-imagen-adicional {
    width: 100% !important;
    max-width: 300px;
    margin: 1rem auto 0 auto;
  }
  
  .paso-1-imagen-secundaria,
  .paso-2-imagen-secundaria,
  .paso-3-imagen-secundaria {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

/* Extra mobile optimization for very small screens */
@media (max-width: 480px) {
  .tres-pasos {
    padding: 1.5rem 0.5rem;
  }
  
  .tres-pasos h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .paso-1, .paso-2, .paso-3 {
    padding: 1rem !important;
    margin: 0 0.5rem;
  }
  
  .paso-1-imagen-adicional,
  .paso-2-imagen-adicional,
  .paso-3-imagen-adicional {
    max-width: 250px;
  }
  
  .paso-1-titulo, .paso-2-titulo, .paso-3-titulo {
    font-size: 1.3rem !important;
  }
  
  .paso-1-descripcion, .paso-2-descripcion, .paso-3-descripcion {
    font-size: 1rem;
  }
  
  /* Further reduce margins for paso-1 and paso-2 images on very small screens */
  .paso-1-imagen-principal,
  .paso-2-imagen-principal {
    width: calc(100% - 10px) !important;
    margin: 1px;
    border-radius: 14px;
  }
}

.only-text {
  animation: floatingText 2.5s ease-in-out infinite;
  display: inline-block;
}

@keyframes floatingText {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.final-button {
        display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 0 0;
    /* Espaciado reducido arriba y abajo */
    padding: 0;
}

.final-button a {
    display: inline-block;
    text-decoration: none;
    border-radius: 30px;
    overflow: hidden;
    /*box-shadow: 0 0 20px 5px #0080E4;*/
    transition: all 0.3s ease;
    transform: translateZ(0);
    /* Optimización para animaciones */
}

.final-button a:hover {
    transform: translateY(-3px);
    /*box-shadow: 0 8px 25px rgba(33, 121, 180, 0.4);*/
}

.final-button img {
    display: block;
    max-width: 270px;
    /* Tamaño similar al botón 100,000 USD */
    height: auto;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.final-button img:hover {
    transform: scale(1.02);
}

/* Advanced Facebook Button */
.facebook-advanced-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #1877F2 0%, #125DCC 100%);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.35), inset 0 -2px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transform: translateZ(0);
    transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.facebook-advanced-btn svg {
    width: 20px;
    height: 20px;
    margin-right: 6px;
    flex-shrink: 0;
}

/* Soft pulse shimmer */
.facebook-advanced-btn::after {
    content: '';
    position: absolute;
    top: -150%;
    left: -50%;
    width: 200%;
    height: 400%;
    background: radial-gradient(closest-side, rgba(255,255,255,0.18), transparent 70%);
    transform: rotate(25deg);
    animation: fbShimmer 3.2s ease-in-out infinite;
    pointer-events: none;
}

/* Border glow ring */
.facebook-advanced-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(24,119,242,0.45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0.65;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

/* Hover interactions */
.facebook-advanced-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 16px 40px rgba(24, 119, 242, 0.45), inset 0 -2px 0 rgba(255,255,255,0.25);
    background: linear-gradient(135deg, #1C7CFF 0%, #0E4FB2 100%);
}

.facebook-advanced-btn:hover::before {
    opacity: 0.9;
}

/* Ripple hover halo */
.facebook-advanced-btn .ripple {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120px circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.facebook-advanced-btn:hover .ripple { opacity: 1; }

@keyframes fbShimmer {
  0%, 100% { transform: rotate(25deg) translateX(-5%); }
  50% { transform: rotate(25deg) translateX(5%); }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .facebook-advanced-btn,
  .facebook-advanced-btn::before,
  .facebook-advanced-btn::after,
  .facebook-advanced-btn .ripple { animation: none; transition: none; }
}

/* Sección Quiénes Somos */
.quienes-somos {
  background: linear-gradient(135deg, #f8f9fc 0%, #e8f4f8 100%);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.quienes-somos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 128, 228, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(37, 211, 102, 0.1) 0%, transparent 50%);
  z-index: 0;
}

.quienes-somos .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.team-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  color: #0a1e40;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #0080E4, #25D366);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.team-subtitle {
  font-size: 1.5rem;
  text-align: center;
  color: #64748b;
  margin-bottom: 4rem;
  font-weight: 400;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 4rem;
  align-items: start;
}

.team-member {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0080E4, #25D366);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.team-member:hover::before {
  transform: scaleX(1);
}

.member-image {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.member-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0080E4, #25D366);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

.team-member:hover .member-photo {
  transform: scale(1.05);
}

.team-member:hover .member-image::before {
  opacity: 0.2;
  transform: translate(-50%, -50%) scale(1.1);
}

.member-info {
  text-align: center;
}

.member-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0a1e40;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.member-position {
  font-size: 1.1rem;
  color: #0080E4;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  text-align: justify;
  max-width: 100%;
}

/* Social Buttons */
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.linkedin-btn {
  background-color: #0077B5;
  color: white;
}

.linkedin-btn:hover {
  background-color: #005885;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 181, 0.3);
}

.instagram-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  opacity: 0.7;
  transition: all 0.3s ease, opacity 0.3s ease;
}

.instagram-btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Responsive Design para Quiénes Somos */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .team-member {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .social-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .social-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  
  .social-btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 768px) {
  .quienes-somos {
    padding: 4rem 1rem;
  }
  
  .team-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .team-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
  }
  
  .team-grid {
    gap: 2.5rem;
  }
  
  .team-member {
    padding: 2rem;
    border-radius: 20px;
  }
  
  .member-photo {
    width: 120px;
    height: 120px;
  }
  
  .member-image::before {
    width: 140px;
    height: 140px;
  }
  
  .member-name {
    font-size: 1.5rem;
  }
  
  .member-position {
    font-size: 1rem;
  }
  
  .member-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (max-width: 576px) {
  .quienes-somos {
    padding: 3rem 1rem;
  }
  
  .team-title {
    font-size: 2rem;
  }
  
  .team-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
  }
  
  .team-member {
    padding: 1.5rem;
    border-radius: 16px;
  }
  
  .member-photo {
    width: 100px;
    height: 100px;
  }
  
  .member-image::before {
    width: 120px;
    height: 120px;
  }
  
  .member-name {
    font-size: 1.3rem;
  }
  
  .member-description {
    font-size: 0.9rem;
  }
}

.video-loop {
    position: relative;
    width: 100%;
    height: 420px;
    padding-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: #000;
    transition: all 0.3s ease;
    margin: 10px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-loop:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.video-loop {
  max-width: 1024px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
}

.video-loop video {
  display: block;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 12px !important;
  position: relative !important;
  transform: none !important;
  margin: 0 auto; /* Asegura que el video se centre si no estás usando flexbox */
}

