/* ==========================================================================
   PÁGINA DE INICIO (HOME) - ESTILOS GENERALES
   ========================================================================== */

/* TABLA DE CONTENIDOS:
   1. Hero Slider Section
*/

/* ==========================================================================
   A. ESTRUCTURA GLOBAL (HOME)
   ========================================================================== */
.home-section {
    padding: 60px 0; /* Espaciado por defecto entre secciones */
}

/* El contenedor principal de contenido para centrar y limitar el ancho */
.content-container {
    max-width: 1200px; /* Ancho máximo unificado */
    margin: 0 auto;
    padding: 0 20px; /* Padding de seguridad para evitar que el contenido toque los bordes de la ventana */
}

/* ==========================================================================
   2. SECCIÓN DE CABECERA REUTILIZABLE (.section-header-container)
   ========================================================================== */
.section-header-container {
    max-width: 100%; 
    margin: 60px auto 40px auto; 
    padding: 0; 
}

.section-header-container.section-header-center {
    text-align: center;
}
.section-header-container:not(.section-header-center) {
    text-align: left;
}

.section-header-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #000;
}

.section-header-description {
    font-size: 18px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 0;
}


/* ==========================================================================
   1. HERO SLIDER SECTION
   ========================================================================== */
.hero-slider-section {
    height: calc(100vh - 80px);
    width: 100%;
    background-color: #eaf6ff;
    display: flex;
    align-items: center;
    font-family: 'Lexend', sans-serif;
    position: relative;
    margin-top: 80px; 
}

.swiper.hero-slider {
    width: 100%;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.hero-slider .swiper-slide {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px; 
    background-color: #eaf6ff;
}

/* --- Layout de columnas --- */
.hero-slide-content {
  flex: 3;
}

.hero-slide-image {
  flex: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- Tipografía y Elementos --- */
.hero-slide-content h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #000;
}

.hero-slide-content p {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.4;
}

.hero-slide-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.hero-slide-content ul li {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    line-height: 1.3;
}

/* Icono de check en lista */
.hero-slide-content ul li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* --- Botones --- */
.slide-buttons {
    display: flex;
    gap: 20px;
}

.button-primary, .button-secondary {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #007bff;
    display: inline-block;
}

.button-primary {
    background-color: #007bff;
    color: #fff;
}
.button-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.button-secondary {
    background-color: transparent;
    color: #007bff;
}
.button-secondary:hover {
    background-color: #007bff;
    color: #fff;
}

/* --- Imagen --- */
.hero-slide-image img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    object-fit: contain;
}

/* --- Controles Swiper --- */
.hero-slider .swiper-pagination-bullet {
    background: #007bff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}
.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    color: transparent;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    width: 50px; 
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-slider .swiper-button-prev { 
    left: 0px; 
} 
.hero-slider .swiper-button-next { 
    right: 0px; 
}

/* Iconos de flecha personalizados */
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 20px;
    color: #4a4a4a;
    font-weight: bold;
    line-height: 1;
}
.hero-slider .swiper-button-prev::after { content: 'prev'; transform: translateX(-2px); }
.hero-slider .swiper-button-next::after { content: 'next'; transform: translateX(2px); }

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* --- Barra Informativa --- */
.slide-info-bar {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    width: 100%;
}

.info-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.5);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #ccc;
}

.info-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    flex-shrink: 0;
}

.info-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}


/* ==========================================================================
   3. SECCIÓN DE LOGOS MARQUEE
   ========================================================================== */
.logos-section {
    position: relative;
    background: #007bff; 
    background: radial-gradient(circle, #2a9dff, #0154ad); 
    border-radius: 20px;
    padding: 60px 0 40px 0;
    
    max-width: 1200px; 
    margin: 40px auto 80px auto; 
    
    font-family: 'Lexend', sans-serif;
    overflow: hidden;
}

.satisfaction-sticker {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: auto;
    pointer-events: none;
    z-index: 10;
}

.logos-slider-wrapper {
    position: relative;
    background-color: rgba(255, 255, 255, 0.466);
    padding: 20px 20px; 
    max-width: 100%;
    margin: 0 auto;
}
.logos-slider-wrapper::before,
.logos-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}
.logos-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(1, 84, 173, 0.9) 20%, transparent);
}
.logos-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(1, 84, 173, 0.9) 20%, transparent);
}

.logos-slider .swiper-wrapper {
    transition-timing-function: linear !important;
    align-items: center; 
}
.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    height: 100%; 
    flex-direction: column; 
}
.logo-card img {
    height: 50px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}
.logo-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}
.logo-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff; 
    white-space: nowrap;
    transition: color 0.3s ease;
    margin-top: 5px;
}
.logo-card:hover .logo-name {
    color: #fff;
}

.logos-button-container {
    text-align: center;
    padding-top: 40px;
}

.button-logos-section {
    display: inline-block;
    color: #fff;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background: linear-gradient(to bottom, #fd8d32, #f97316);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 2px 5px rgba(249, 115, 22, 0.4);
    border-bottom: 2px solid #d95c0a;
}

.button-logos-section:hover {
    background: linear-gradient(to bottom, #f97316, #ea580c);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), 0 3px 8px rgba(249, 115, 22, 0.5);
}
.button-logos-section:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


/* ==========================================================================
   4. SECCIÓN ASESOR
   ========================================================================== */
.asesor-section {
    padding: 60px;
    background-color: #eaf6ff;
    border-radius: 20px;
    
    width: 100%;
    margin: 40px auto; 
    
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    font-family: 'Lexend', sans-serif;
}
.asesor-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}
.asesor-container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.asesor-left-block,
.asesor-right-block {
    flex: 1;
}

/* --- Bloque Izquierdo y Controles Centrados --- */
.asesor-left-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.asesor-left-block p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
}
.asesor-controls-wrapper {
    width: 100%;
    max-width: 350px;
}
.asesor-search-form {
    margin-bottom: 20px;
}
.asesor-search-form form { 
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ccc;
}
.asesor-search-form input[type="search"] {
    width: 100%; 
    border: none;
    padding: 12px;
    background: transparent;
    font-family: 'Lexend', sans-serif;
    color: black !important;
    font-size: 16px;
}
.asesor-search-form input[type="search"]::placeholder {
    font-family: 'Lexend', sans-serif;
}
.asesor-search-form input[type="submit"] {
    padding: 12px 20px; 
    border: none; 
    background-color: #007bff;
    color: white; 
    cursor: pointer;
}
.asesor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

/* --- Bloque Derecho --- */
.asesor-right-block {
    position: relative;
    min-height: 400px;
}
.main-asesor-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.floating-icons-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50% !important;
    border: 3px solid white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease;
    cursor: pointer;
    object-fit: cover; 
}
.floating-icon:hover {
    transform: scale(1.15);
    z-index: 10;
}
.icon-6:hover {
    transform: translateX(-50%) scale(1.15);
}

/* --- Posicionamiento en Arco --- */
.icon-1  { top: 60%; left: -2%; }
.icon-2  { top: 40%; left: 2%; }
.icon-3  { top: 20%; left: 8%; }
.icon-4  { top: 5%; left: 17%; }
.icon-5  { top: -5%;  left: 30%; }
.icon-6  { top: -10%; left: 50%; transform: translateX(-50%); }
.icon-7  { top: -5%;  right: 30%; }
.icon-8  { top: 5%; right: 17%; }
.icon-9  { top: 20%; right: 8%; }
.icon-10 { top: 40%; right: 2%; }
.icon-11 { top: 60%; right: -2%; }


/* ==========================================================================
   5. SECCIÓN VIDEO PROMOCIONAL
   ========================================================================== */
.video-promo-section {
    position: relative; 
    padding: 100px 60px;
    border-radius: 20px;
    overflow: hidden; 
    
    max-width: 100%;
    margin: 40px auto; 

    min-height: 450px; 
    display: flex;
    align-items: center;
    font-family: 'Lexend', sans-serif;
}

.video-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-bg-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 48, 86, 0.75); 
    z-index: 2;
}

.video-content-container {
    position: relative; 
    z-index: 3;
    width: 100%;
    
    /* Centrar el contenido de texto dentro de la caja de video */
    max-width: 1080px; 
    margin: 0 auto;
}

.video-content {
    max-width: 50%; 
}

.video-content h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4); 
    font-family: 'Lexend', sans-serif;
}

.video-content p {
    color: #f0f0f0;
    font-size: 18px;
    margin-bottom: 30px;
    font-family: 'Lexend', sans-serif;
}

.button-video-promo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #fff; 
    color: #007bff; 
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Lexend', sans-serif;
}

.button-video-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background-color: #f8f9fa;
}

.button-video-promo svg {
    stroke: #007bff;
}

/* ==========================================================================
   6. SECCIÓN PROCESO
   ========================================================================== */
.process-section {
    padding: 50px 50px;
    font-family: 'Lexend', sans-serif;
    background-color: #eaf6ff;
    border-radius: 20px;
    margin: 40px 0; /* Margen solo vertical para separar de otras secciones */
}

.process-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; 
    margin-bottom: 60px; 
}

.process-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    flex: 1; 
    max-width: 320px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Número de Paso */
.step-number {
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.process-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 15px;
    min-height: 50px; 
}

.process-card-image {
    width: 150px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.process-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1; 
    min-height: 70px; 
}

/* Flechas entre tarjetas */
.process-arrow {
    flex-shrink: 0; 
    margin: 0 10px;
}

/* Mensaje final del proceso */
.process-final-message {
    background-color: #fff; 
    border-radius: 12px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 800px; 
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.process-final-message .message-icon {
    width: 30px;
    height: 30px;
    stroke: #007bff;
    flex-shrink: 0;
}
.process-final-message span {
    font-size: 18px;
    color: #333;
    line-height: 1.4;
    font-weight: 500;
}
.process-final-message strong {
    font-weight: 700;
    color: #007bff;
}

/* ==========================================================================
   7. SECCIÓN CERTIFICADOS
   ========================================================================== */
.certs-section {
    padding: 80px 0 0 0;
    margin: 40px auto;
    width: 100%; 
    font-family: 'Lexend', sans-serif;
}

.certs-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.certs-left-block,
.certs-right-block {
    flex: 1;
}

/* --- Bloque Izquierdo --- */
.certs-icon-check {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eaf6ff;
    color: #007bff;
    margin-bottom: 25px;
    margin-left: 0;
    margin-right: auto;
}

.certs-left-block h2 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    color: #333;
    margin-bottom: 20px;
}

.certs-left-block p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
}

/* --- Bloque Derecho (Slider) --- */
.certs-right-block {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certs-slider {
    max-width: 400px;
    width: 100%; 
}

.certs-slider .swiper-slide {
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.certs-slider .swiper-slide a {
    display: block;
    cursor: zoom-in;
}

.certs-slider .swiper-slide img {
    display: block;
    width: 100%;
    max-height: 400px; 
    height: auto; 
    object-fit: contain;
}

/* Navegación del Slider */
.certs-swiper-button-prev,
.certs-swiper-button-next {
    color: #007bff;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.certs-swiper-button-prev { left: -50px; }
.certs-swiper-button-next { right: -50px; }

/* ==========================================================================
   8. SECCIÓN COMPARACIÓN
   ========================================================================== */
.comparison-section {
    background-color: #eaf6ff;
    border-radius: 20px;
    padding: 60px;
    
    width: 100%;
    margin: 40px auto 80px auto; /* Margin inferior para separar del footer */
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Lexend', sans-serif;
}
.comparison-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.comparison-main-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    margin-bottom: 40px;
}

.comparison-column {
    flex: 1;
    background-color: #fff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.comparison-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.comparison-column h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.comparison-column .days {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1;
}
.comparison-column.traditional .days { color: #888; }
.comparison-column.sumistyles .days { color: #007bff; }

.comparison-column .subtext {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
}
.comparison-column.traditional .subtext {
    background-color: #f0f0f0;
    color: #555;
}
.comparison-column.sumistyles .subtext {
    background-color: #007bff;
    color: #fff;
}

/* Fila de Certificaciones */
.certifications-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.certifications-container img {
    height: 60px; /* Ajuste para un tamaño razonable */
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}
.certifications-container img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* ==========================================================================
   9. SECCIÓN CTA QUOTE
   ========================================================================== */
.cta-quote-section {
    background-color: #eaf6ff;
    border-radius: 20px;
    padding: 60px; 
    
    width: 100%; /* Ocupa el 100% del .content-container */
    margin: 40px auto 80px auto; 
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Lexend', sans-serif;
}
.cta-quote-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.cta-quote-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.cta-quote-left {
    flex: 0 0 40%;
}
.cta-quote-right {
    flex: 1;
    text-align: left; 
}

.cta-quote-icon {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.cta-quote-right h2 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 15px;
}

.cta-quote-right h2 span {
    color: #007bff;
}

.cta-quote-subheading {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.button-primary.cta-quote-button {
    display: inline-block;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent; /* Aseguramos que no haya un borde no deseado del estilo global */
}
.button-primary.cta-quote-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.cta-quote-secondary-text {
    font-size: 16px;
    color: #666;
    margin: 40px 0 20px 0;
}

.cta-quote-contact-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.cta-quote-contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    transition: color 0.3s ease;
}
.cta-quote-contact-links a:hover {
    color: #0056b3;
}
.cta-quote-contact-links svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* ==========================================================================
   10. SECCIÓN EQUIPO Y ESTADÍSTICAS (TEAM)
   ========================================================================== */
.team-section {
    background-color: #eaf6ff;
    border-radius: 20px;
    
    width: 100%; /* Ocupa el 100% del .content-container */
    margin: 40px auto 80px auto; 
    
    overflow: hidden;
    font-family: 'Lexend', sans-serif;
}

/* ================================================================ */
/* --- Contenedor de imagen preparado para el difuminado --- */
/* ================================================================ */
.team-image-container {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    position: relative; 
}
.team-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; 
    background: linear-gradient(to bottom, transparent 0%, #eaf6ff 100%);
    pointer-events: none; 
}

.team-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-content-container {
    padding: 0 60px 60px 60px;
    text-align: center;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.team-flow-text {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.highlight-flow {
    background-color: #007bff;
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.team-description {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: left;
}
.team-description p { margin-bottom: 1em; }

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number-complex {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-size: 42px;
    font-weight: 700;
    color: #007bff;
    line-height: 1;
    margin-bottom: 10px;
}
.stat-number-complex .prefix,
.stat-number-complex .suffix {
    font-size: 24px;
    font-weight: 600;
}
.stat-number-complex .stat-number {
    margin-bottom: 0;
}

.stat-label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* ==========================================================================
   11. SECCIÓN GLOBO DE COBERTURA
   ========================================================================== */
.globe-section {
    background-color: #eaf6ff;
    border-radius: 20px;
    
    width: 100%; /* Ocupa el 100% del .content-container */
    margin: 40px auto 80px auto; 
    
    padding: 40px; /* Padding interno */
    overflow: hidden;
    font-family: 'Lexend', sans-serif;
}

#globeViz {
    width: 100%;
    height: 500px; 
    cursor: move;
}

/* Corrección para centrar el canvas de Three.js */
#globeViz canvas {
    display: block !important;
    margin: 0 auto !important;
}

/* Franja blanca del Slider */
.country-slider-container {
    position: relative;
    background-color: #fff;
    padding: 20px 0;
    margin-top: -50px; 
    border-radius: 12px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

/* Efecto de difuminado en los bordes */
.country-slider-container::before,
.country-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}
.country-slider-container::before {
    left: 0;
    background: linear-gradient(to right, #fff 30%, transparent);
}
.country-slider-container::after {
    right: 0;
    background: linear-gradient(to left, #fff 30%, transparent);
}

/* Slider y sus items */
.country-marquee-slider .swiper-wrapper {
    transition-timing-function: linear !important;
    align-items: center;
}
.country-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.country-flag {
    width: 32px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.country-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* Animación de Pulso (Aplicada por el JS) */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(2.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0.9; }
}

/* ==========================================================================
   12. SECCIÓN LOGOS EN ÓRBITA
   ========================================================================== */

/* 1. Animaciones */
@keyframes rotate-clockwise {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes rotate-counter-clockwise {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 2. Contenedor principal */
.orbit-section {
    background-color: #1a1a2e;
    background-image: radial-gradient(circle, #2a2a4e, #1a1a2e 70%);
    border-radius: 24px;
    padding: 0;
    
    width: 100%; /* Ocupa el 100% del .content-container */
    margin: 40px auto 80px auto; 
    
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Lexend', sans-serif;
}
.orbit-container {
    position: relative;
    width: 100%;
    aspect-ratio: 2.4 / 1; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 3. Logo central */
.orbit-center-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    position: relative;
    z-index: 20;
}

/* 4. Capas y Órbitas */
.orbit-backgrounds, .orbit-logos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}
.orbit.orbit-1 { width: 400px; height: 400px; animation: rotate-clockwise 40s linear infinite; }
.orbit.orbit-2 { width: 600px; height: 600px; animation: rotate-counter-clockwise 50s linear infinite; }
.orbit.orbit-3 { width: 800px; height: 800px; animation: rotate-clockwise 60s linear infinite; }
.orbit.orbit-4 { width: 1000px; height: 1000px; animation: rotate-counter-clockwise 70s linear infinite; }


/* 5. Posicionamiento de los Logos */
.orbit-logo-group {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
}
.orbit-logo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    margin: -50px;
    position: relative; 
}

/* Posicionamiento con translate(X, Y) para control total */
.orbit-logo-group.orbit-1 .orbit-logo-wrapper:nth-child(1) { transform: translate(-500px, -80px); }
.orbit-logo-group.orbit-1 .orbit-logo-wrapper:nth-child(2) { transform: translate(-370px, 100px); }
.orbit-logo-group.orbit-1 .orbit-logo-wrapper:nth-child(3) { transform: translate(-300px, -90px); }
.orbit-logo-group.orbit-2 .orbit-logo-wrapper:nth-child(1) { transform: translate(-150px, 80px); }
.orbit-logo-group.orbit-2 .orbit-logo-wrapper:nth-child(2) { transform: translate(-150px, -180px); }
.orbit-logo-group.orbit-2 .orbit-logo-wrapper:nth-child(3) { transform: translate(50px, 70px); }
.orbit-logo-group.orbit-2 .orbit-logo-wrapper:nth-child(4) { transform: translate(190px, -150px); }
.orbit-logo-group.orbit-3 .orbit-logo-wrapper:nth-child(1) { transform: translate(250px, 100px); }
.orbit-logo-group.orbit-3 .orbit-logo-wrapper:nth-child(2) { transform: translate(290px, -150px); }
.orbit-logo-group.orbit-3 .orbit-logo-wrapper:nth-child(3) { transform: translate(480px, 70px); }
.orbit-logo-group.orbit-3 .orbit-logo-wrapper:nth-child(4) { transform: translate(480px, -280px); }
.orbit-logo-group.orbit-4 .orbit-logo-wrapper:nth-child(1) { transform: translate(-490px, 90px); }
.orbit-logo-group.orbit-4 .orbit-logo-wrapper:nth-child(2) { transform: translate(-370px, -200px); }
.orbit-logo-group.orbit-4 .orbit-logo-wrapper:nth-child(3) { transform: translate(400px, -60px); }
.orbit-logo-group.orbit-4 .orbit-logo-wrapper:nth-child(4) { transform: translate(90px, -340px); }


/* Estilo y animación de flotación para la imagen del logo */
.orbit-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: auto;
    animation: float 5s ease-in-out infinite;
}

/* Estilos para el nombre del ícono */
.orbit-logo-name {
    position: absolute;
    bottom: -10px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff3d;
    color: #1a1a2e;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 5;
    pointer-events: auto;
}


/* Retardos para un efecto más natural */
.orbit-logo-wrapper:nth-child(2n) img { animation-delay: -2.5s; }
.orbit-logo-group:nth-child(3n) img { animation-delay: -1.5s; }


/* 6. Responsive */
@media (max-width: 1200px) { .orbit-container { transform: scale(0.8); } }
@media (max-width: 992px) { .orbit-container { transform: scale(0.7); } }
@media (max-width: 768px) { .orbit-container { transform: scale(0.5); } }
@media (max-width: 500px) { .orbit-container { transform: scale(0.4); } }

/* ==========================================================================
   13. SECCIÓN TESTIMONIOS
   ========================================================================== */
.testimonials-section {
    position: relative;
    padding: 80px 50px;
    
    width: 100%; /* Ocupa el 100% del .content-container */
    margin: 40px auto 80px auto;
    
    font-family: 'Lexend', sans-serif;
    background-color: #eaf6ff;
    border-radius: 20px;
    overflow: hidden;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 40px 25px 25px 25px;
    margin-top: 50px; 
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    height: calc(100% - 50px);
    position: relative; 
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: -90px auto 20px auto; 
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    flex-grow: 1; 
}

.testimonial-tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.testimonial-tag {
    background-color: #007bff;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.testimonial-author {
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
    font-weight: 500;
    margin-top: 20px; 
}

.testimonial-stars {
    color: #ffc107;
    font-size: 20px;
}

/* Enlace/Botón de Google */
.google-review-link {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 5;
}

.google-review-link svg {
    width: 16px;
    height: 16px;
}

.google-review-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Estilos para los controles de Swiper */
.testimonials-button-prev,
.testimonials-button-next {
    color: #007bff;
}
.testimonials-pagination .swiper-pagination-bullet-active {
    background-color: #007bff;
}

/* ==========================================================================
   14. SECCIÓN FACEBOOK FEED
   ========================================================================== */
.facebook-section {
    position: relative;
    padding: 60px 50px;
    
    width: 100%;
    margin: 40px auto 80px auto;
    
    font-family: 'Lexend', sans-serif;
    background-color: #eaf6ff; 
    border-radius: 20px;
    overflow: hidden;
}

.facebook-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.facebook-post-image-link {
    display: block;
}
.facebook-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.facebook-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.facebook-post-message {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    margin: 0 0 20px 0;
    
    /* CAMBIOS: Para limitar visualmente el texto a 4 líneas con '...' */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Número de líneas visibles */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    /* Asegura que ocupe el espacio pero no empuje demasiado */
    flex-grow: 1; 
}

.facebook-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.facebook-post-date {
    font-size: 13px;
    color: #666;
}

.facebook-post-link {
    background-color: #007bff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}
.facebook-post-link:hover {
    background-color: #0056b3;
}

/* Estilos para los controles de Swiper */
.facebook-button-prev,
.facebook-button-next {
    color: #007bff;
}
.facebook-pagination .swiper-pagination-bullet-active {
    background-color: #007bff;
}

/* ==========================================================================
   RESPONSIVE (MÓVIL Y TABLET)
   ========================================================================== */
@media (max-width: 992px) {
    /* --- ESTRUCTURA GLOBAL --- */
    .content-container {
        max-width: 90%; 
        padding: 0;
    }
    
    /* --- LOGOS SECTION --- */
    .logos-section {
        max-width: 90%; 
    }
    
    /* --- VIDEO SECTION --- */
    .video-promo-section {
        padding: 80px 40px; 
    }
    .video-content {
        max-width: 70%; 
    }
    .video-content h2 {
        font-size: 30px;
    }
    
    /* --- ASESOR SECTION --- */
    .asesor-section {
        max-width: 100%;
        padding: 30px 20px;
    }
    .asesor-container {
        flex-direction: column-reverse; 
    }
    /* Reajustes de posición para iconos en tablet */
    .icon-1  { top: 50%; left: -8%; }
    .icon-2  { top: 30%; left: 0%; }
    .icon-3  { top: 15%; left: 15%; }
    .icon-4 { top: 5%; left: 25%; }
    .icon-5 { top: 0%; left: 35%; }
    .icon-6  { top: 5%; }
    .icon-7  { top: 0%; right: 35%; }
    .icon-8  { top: 5%; right: 25%; }
    .icon-9  { top: 15%; right: 15%; }
    .icon-10 { top: 30%; right: 0%; }
    .icon-11 { top: 50%; right: -8%; }

    /* --- PROCESS SECTION RESPONSIVE --- */
    .process-section {
        padding: 50px 20px; 
    }
    .process-container {
        flex-wrap: wrap; 
        justify-content: center;
    }
    .process-card {
        flex-basis: calc(50% - 20px); 
        margin-bottom: 20px;
    }
    .process-arrow {
        display: none; 
    }
    .process-card h3 { font-size: 20px; min-height: unset; }
    .process-card p { font-size: 14px; min-height: unset; }

    /* --- CERTIFICADOS RESPONSIVE --- */
    .certs-swiper-button-prev { left: -10px; }
    .certs-swiper-button-next { right: -10px; }

    /* --- COMPARISON SECTION RESPONSIVE --- */
    .comparison-section {
        padding: 40px;
    }

    /* --- CTA QUOTE RESPONSIVE (Tablet) --- */
    .cta-quote-section {
        padding: 40px;
    }
    .cta-quote-right h2 {
        font-size: 40px;
    }
    .cta-quote-left {
        flex: 0 0 30%; 
    }

    /* --- TEAM SECTION RESPONSIVE (Tablet) --- */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    /* --- TESTIMONIALS RESPONSIVE (Tablet) --- */
    .testimonials-section {
        padding: 80px 20px 40px 20px;
    }

    /* --- FACEBOOK RESPONSIVE (Tablet) --- */
    .facebook-section {
        padding: 60px 20px;
    }
}


@media (max-width: 768px) {
    /* --- VIDEO SECTION --- */
    .video-promo-section {
        padding: 60px 20px;
        text-align: center; 
    }
    .video-content {
        max-width: 100%; 
        margin: 0 auto;
    }
    .video-content h2 {
        font-size: 28px;
    }
    
    /* --- ASESOR SECTION --- */
    .asesor-right-block {
        margin-bottom: 40px;
        min-height: 300px;
    }
    .floating-icon {
        width: 45px;
        height: 45px;
    }
    
    /* --- TÍTULOS --- */
    .section-header-title {
        font-size: 24px;
    }
    .section-header-description {
        font-size: 16px;
    }

    /* --- CERTIFICADOS RESPONSIVE --- */
    .certs-section {
        padding: 50px 0;
    }
    .certs-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .certs-icon-check {
        margin-left: auto;
        margin-right: auto;
    }
    .certs-left-block h2 {
        font-size: 28px;
    }
    .certs-right-block {
        width: 100%;
        max-width: 400px;
    }
    .certs-slider .swiper-slide img {
        max-height: 300px;
    }
    .certs-swiper-button-prev,
    .certs-swiper-button-next {
        display: none;
    }

    /* --- COMPARISON SECTION RESPONSIVE --- */
    .comparison-section {
        padding: 40px 20px;
    }
    .comparison-main-container {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    .comparison-column .days {
        font-size: 36px;
    }
    .certifications-container {
        gap: 30px;
    }
    .certifications-container img {
        height: 40px;
    }

    /* --- CTA QUOTE RESPONSIVE (Móvil) --- */
    .cta-quote-section {
        padding: 40px 20px;
    }
    .cta-quote-container {
        flex-direction: column; 
        gap: 30px;
    }
    .cta-quote-left {
        order: 1;
        flex: auto;
        max-width: 200px;
    }
    .cta-quote-right {
        order: 2;
        text-align: center;
    }
    .cta-quote-right h2 {
        font-size: 36px;
    }
    .cta-quote-subheading {
        font-size: 16px;
    }
    .cta-quote-contact-links {
        justify-content: center;
        margin: 0 auto;
    }

    /* --- TEAM SECTION RESPONSIVE (Móvil) --- */
    .team-content-container {
        padding: 0 20px 40px 20px;
        margin-top: -30px;
    }
    .team-flow-text {
        font-size: 20px;
    }
    .team-description {
        font-size: 15px;
    }
    .stats-container {
        grid-template-columns: 1fr;
    }

    /* --- GLOBE SECTION RESPONSIVE --- */
    .globe-section {
        padding: 20px;
    }
    #globeViz {
        height: 350px; 
    }
    .country-slider-container::before,
    .country-slider-container::after {
        width: 50px;
    }

    /* --- TESTIMONIALS RESPONSIVE (Móvil) --- */
    .testimonials-section {
        padding: 60px 10px 40px 10px;
    }

    /* --- FACEBOOK RESPONSIVE (Móvil) --- */
    /* Ajustes para que en móvil solo se muestre un post por fila (lo maneja el JS, pero por si acaso) */
    .facebook-section {
        padding: 40px 10px;
    }
}


@media (max-width: 576px) {
    .section-header-title {
        font-size: 22px;
    }
    .section-header-description {
        font-size: 14px;
    }
    
    .slide-buttons {
        flex-direction: column;
    }
    
    .button-primary, .button-secondary {
        width: calc(100% - 58px);
        text-align: center;
    }
    
    .info-item {
        flex-basis: 100%; 
        justify-content: flex-start;
        padding-left: 20px;
    }

    /* --- PROCESS SECTION RESPONSIVE --- */
    .process-section {
        padding: 50px 15px;
    }
    .process-card {
        flex-basis: 100%; 
        max-width: 350px;
    }
    .process-final-message {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    .process-final-message span {
        font-size: 16px;
    }
}