:root {
    --color-primario: #1e5372;
    --color-secundario: #F5F5F5;
    --color-acento: #4CAF50;
    /* Verde */
    --color-blanco: #FFFFFF;
    --color-negro: #000000;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #e8f3fb;
}

/* 🚫 Evitar scroll lateral global */
html,
body {
    overflow-x: hidden;
    width: 100%;
}


/*------------------------HEADER-------------------------*/
.hero {
    width: 100%;
    position: relative;
}

nav {
    display: flex;
    align-items: center;
    padding: 20px 8%;
    position: relative;
    background-color: #e8f3fb;
}

nav .logo {
    width: 160px;
    cursor: pointer;
}

nav ul {
    flex: 1;
    text-align: right;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 0 20px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-primario);
}



/* ----------- Hero contenido ----------- */
/* .content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 60px 8%;
    flex-wrap: wrap;
    background-color: #C9E8FE;
}

.image-container img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.text-container {
    max-width: 600px;
}

.text-container h1 {
    font-size: 60px;
    font-weight: 600;
    color: var(--color-primario);
    margin-bottom: 20px;
}

.text-container p {
    color: var(--color-primario);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.text-container .btn-verde {
    text-decoration: none;
    background: #3579fe;
    padding: 14px 40px;
    display: inline-block;
    color: var(--color-blanco);
    font-size: 18px;
    border-radius: 30px;
    transition: 0.3s;
}

.text-container .btn-verde:hover {
    background: black;
} */

/* ================================== */
/* == HERO SECTION - CÓDIGO NUEVO == */
/* ================================== */

/* 1. Contenedor Principal del Hero */
.content {
    display: flex;
    align-items: center;
    /* Centra verticalmente */
    justify-content: space-between;
    /* Espacio entre texto e imagen */
    padding: 60px 8%;
    /* Espaciado interno */
    gap: 40px;
    /* Espacio entre las columnas */
    background-color: #C9E8FE;
}

/* 2. Contenedores de Texto e Imagen (Las dos columnas) */
.text-container,
.image-container {
    flex: 1;
    /* Hace que cada columna ocupe la mitad del espacio */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 3. Estilos del Título y Texto */
.text-container h1 {
    font-size: 60px;
    font-weight: 600;
    color: var(--color-primario);
    margin-bottom: 20px;
    line-height: 1.2;
    /* Mejora la legibilidad */
}

.text-container p {
    color: var(--color-primario);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.text-container .btn-verde {
    text-decoration: none;
    background: #1E5372;
    padding: 14px 40px;
    display: inline-block;
    color: var(--color-blanco);
    font-size: 18px;
    border-radius: 30px;
    transition: 0.3s;
    align-self: flex-start;
    /* Alinea el botón a la izquierda */
}

.text-container .btn-verde:hover {
    background: white;
    color: #1E5372;
}

/* 4. Estilo de la Imagen (Marco y Efecto Entretenido) */
.image-container img {
    width: 100%;
    /* La imagen se adapta a su contenedor */
    max-width: 450px;
    /* Un tamaño máximo para que no sea gigante */
    height: auto;
    border-radius: 15px;
    /* Bordes redondeados */
    border: 5px solid var(--color-blanco);
    /* Marco blanco */
    box-shadow: 0 10px 30px rgba(30, 83, 114, 0.25);
    /* Sombra para darle profundidad */
    transition: transform 0.3s ease;
    /* Transición suave */
}

.image-container img:hover {
    transform: scale(1.03);
    /* Efecto de zoom sutil al pasar el mouse */
}

/* ================================== */
/* == RESPONSIVE PARA CELULARES == */
/* ================================== */
@media (max-width: 992px) {
    .content {
        flex-direction: column;
        /* Pone el texto y la imagen uno debajo del otro */
        text-align: center;
        /* Centra el texto */
    }

    .text-container {
        order: 1;
        /* Asegura que el texto aparezca primero */
    }

    .image-container {
        order: 2;
        /* Asegura que la imagen aparezca después del texto */
        margin-top: 30px;
        /* Añade un espacio arriba de la imagen */
    }

    .text-container h1 {
        font-size: 40px;
        /* Reduce el tamaño del título en móvil */
    }

    .text-container .btn-verde {
        align-self: center;
        /* Centra el botón en móvil */
    }

    .image-container img {
        max-width: 350px;
        /* Un tamaño máximo más pequeño para móvil */
    }
}

/* -------- Mega menú global -------- */
nav .mega-menu {
    position: fixed;
    /* ahora respecto al viewport */
    top: 80px;
    /* ajusta según la altura del nav */
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    max-width: 95vw;
    background: #e8f3fb;
    border: 1px solid #c9e8fe;
    border-radius: 10px;
    padding: 20px;
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Por defecto mega-menu oculto */
.mega-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 99;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

/* Desktop hover */
nav ul li.dropdown:hover>.mega-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Cuando se activa la clase 'active' por JS (móvil) */
nav ul li.dropdown.active>.mega-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}


/* Tarjetas internas */
nav .menu-card {
    background: var(--color-secundario);
    border-radius: 8px;
    padding: 15px;
    transition: 0.3s;
}

nav .menu-card:hover {
    background: #c9e8fe;
    transform: translateY(-3px);
}

nav .menu-card h4 {
    color: #1e5372;
    font-size: 16px;
    margin-bottom: 8px;
}

nav .menu-card p {
    color: #1e5372;
    font-size: 14px;
    line-height: 1.4;
}

/* -------- Responsivo -------- */
@media (max-width: 992px) {
    .content {
        flex-direction: column;
        text-align: center;
    }

    .text-container h1 {
        font-size: 40px;
    }

    .text-container p {
        font-size: 16px;
    }
}

/* --- Botón hamburguesa --- */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-primario);
}

/* --- Móviles y tablets --- */
/* --- Móviles y tablets --- */
/* --- Móviles y tablets --- */
@media (max-width: 768px) {
    nav {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
        z-index: 1100;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-blanco);
        padding: 10px 0;
        border-top: 1px solid #eee;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        display: block;
        margin: 0;
        padding: 12px 20px;
        text-align: left;
    }

    /* ✅ Mega menú en móvil corregido */
    nav .mega-menu {
        position: relative !important;
        /* deja de ser absolute */
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        /* ocupa todo el ancho */
        max-width: 100% !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        grid-template-columns: 1fr !important;
        /* columna */
        gap: 10px;
        padding: 10px 20px;
        display: none;
        /* oculto por defecto */
    }

    /* Cuando el li está activo en mobile */
    nav ul li.dropdown.open>.mega-menu {
        display: block;
    }
}

.menu-card {
    background: #e8f3fb !important;
}


/* --- Sección servicios --- */
.servicios-page-section {
    padding: 80px 8% 50px;
    /* espacio arriba y abajo */
    text-align: center;
    background-color: #c9e8fe;
}

/* Contenedor del título */
.servicios-page-titulo-container {
    margin-bottom: 50px;
}

#servicios-page-titulo {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-primario);
    margin-bottom: 10px;
}

.page-underline {
    width: 0;
    height: 4px;
    background: var(--color-acento);
    margin: 0 auto;
    border-radius: 2px;
    transition: width 0.6s ease;
}

/* Grid de servicios */
/* GRID */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    /* ✅ más abajo */
    align-items: stretch;
    /* ✅ asegura que todas las columnas se estiren igual */
}

/* TARJETAS */
.servicio-card {
    background: #c9e8fe;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    min-height: 350px;
    /* ✅ todas tendrán la misma medida mínima */
    justify-content: space-between;
    /* ✅ reparte el espacio dentro de la tarjeta */
}


.servicio-page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.servicio-page-card img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.servicio-page-card .servicio-texto {
    padding: 20px;
    flex: 1;
}

.servicio-page-card h3 {
    font-size: 24px;
    color: var(--color-primario);
    margin-bottom: 10px;
}

.servicio-page-card p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.btn-vermas-header {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background-color: #1E5372;
    /* azul principal */
    color: white;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-vermas-header:hover {
    background-color: #163d55;
    /* azul más oscuro */
    transform: scale(1.05);
}


/* Responsive: vertical en móvil */
@media screen and (max-width: 768px) {
    .servicio-page-card {
        flex-direction: column;
        align-items: center;
    }

    .servicio-page-card img {
        width: 100%;
        height: auto;
    }

    .servicio-page-card .servicio-texto {
        padding: 15px;
        text-align: center;
    }
}


/*Footer*/
/* Footer general */
.footer-icirculab-section {
    width: 100%;
    background: #e8f3fb;
    padding-top: 60px;
    color: var(--color-primario);
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* centra todo horizontalmente */
}

/* Top footer */
.footer-icirculab-top {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* centra los bloques */
    gap: 40px;
    width: 90%;
    max-width: 1200px;
    border-bottom: 2px solid #3a4f6a;
    padding-bottom: 20px;
}

.footer-icirculab-logo {
    width: 200px;
    /* reduce logo */
    margin: 0 auto;
}

.footer-icirculab-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-icirculab-links>div {
    display: grid;
    gap: 10px;
    margin-bottom: 30px;
}

/* Quitar subrayado a los links */
.footer-icirculab-links a,
.footer-icirculab-legal a,
.footer-icirculab-social a {
    text-decoration: none;
    color: var(--color-primario);
    /* blanco suave o el color que quieras */
    transition: color 0.3s;
}

.footer-icirculab-links a:hover,
.footer-icirculab-legal a:hover,
.footer-icirculab-social a:hover {
    color: var(--color-primario);
    /* cambio al pasar el mouse */
}

.footer-icirculab-top h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-primario);
}

/* Bottom footer */
.footer-icirculab-bottom {
    display: flex;
    justify-content: center;
    /* centra los bloques */
    align-items: center;
    gap: 50px;
    width: 90%;
    max-width: 1200px;
    padding: 20px 0;
    flex-wrap: wrap;
    /* para que no se salga en móviles */
}

.footer-icirculab-legal {
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.footer-icirculab-legal>span {
    margin-right: 0;
}

.footer-icirculab-social {
    display: flex;
    gap: 18px;
}

.footer-icirculab-social>a {
    font-size: 24px;
}

/* Responsive */
/*----------------FOOTER RESPONSIVE AJUSTADO--------------------*/
@media (max-width: 992px) {
    .footer-icirculab-top {
        flex-direction: row;
        /* mantener en fila */
        flex-wrap: wrap;
        /* si no cabe, se mueve solo */
        justify-content: center;
        /* centrado */
        gap: 20px;
        /* espacio más pequeño */
    }

    .footer-icirculab-links {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
        /* ajusta tamaño mínimo */
        gap: 15px;
    }

    .footer-icirculab-top h2 {
        font-size: 14px;
        /* más pequeño */
    }

    .footer-icirculab-links a {
        font-size: 13px;
        /* más pequeño */
    }

    .footer-icirculab-logo {
        width: 200px;
        /* reduce logo */
        margin: 0 auto;
    }

    .footer-icirculab-bottom {
        flex-direction: row;
        /* mantener todo en fila si cabe */
        justify-content: center;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        /* se mueve si no cabe */
        padding: 15px 0;
    }

    .footer-icirculab-legal {
        font-size: 11px;
        justify-content: center;
        gap: 8px;
    }

    .footer-icirculab-social>a {
        font-size: 20px;
        /* íconos un poco más pequeños */
    }
}

/* Estilo botón flotante cuadrado */
#btnSubir {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: #5b8ca9;
    /* Puedes cambiar el color */
    color: white;
    border: none;
    border-radius: 8px;
    /* Más cuadrado con esquinas suaves */
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    display: none;
    /* Oculto por defecto */
    justify-content: center;
    align-items: center;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.3s;
}

#btnSubir:hover {
    background: #163f57;
    transform: scale(1.1);
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    text-decoration: none;
    /* elimina subrayado del enlace */
}

.whatsapp-tooltip {
    background-color: #fff;
    color: #333 !important;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    text-decoration: none !important;
    transform: translateX(0);
    transition: transform 0.3s ease;
    /* transición suave */
}

.whatsapp-btn:hover .whatsapp-tooltip {
    transform: translateX(-10px);
    /* se mueve 10px a la izquierda */
}

.whatsapp-btn img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-btn img:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
}







/* -------- Sección Soluciones IA -------- */

.soluciones-ia {
    background-color: #f8f9fc;
    padding: 80px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.container-ia {
    width: 85%;
    margin: auto;
    max-width: 1300px;
}

.soluciones-ia h2 {
    font-size: 36px;
    color: #1E5372;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.soluciones-ia .intro {
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: #1E5372;
    font-size: 16px;
    line-height: 1.6;
}

/* --- GRID --- */
.ia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

/* --- TARJETA --- */
.ia-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 480px;
    /* 👈 Fuerza una altura uniforme */
}

/* --- CONTENIDO --- */
.ia-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- TÍTULOS Y TEXTOS --- */
.ia-content h3 {
    font-size: 20px;
    color: #1E5372;
    margin-bottom: 10px;
    font-weight: 600;
    min-height: 50px;
    /* 👈 asegura espacio uniforme para títulos */
}

.ia-content p {
    color: #1E5372;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    /* 👈 empuja los botones hacia abajo */
}

/* --- BOTONES --- */
.ia-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: auto;
    /* 👈 asegura que queden al final */
}

/* --- IMAGEN --- */
.ia-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    /* 👈 mantiene la proporción */
    background-color: #fff;
    padding: 25px;
    transition: transform 0.4s ease;
}

.ia-card:hover img {
    transform: scale(1.05);
    /* 👈 efecto sutil de zoom */
}

/* En pantallas grandes (27") */
@media (min-width: 1600px) {
    .ia-card img {
        height: 300px;
        /* más grande pero sin desbordar */
    }
}

/* --- CONTENIDO --- */
.ia-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ia-content h3 {
    font-size: 20px;
    color: #1E5372;
    margin-bottom: 10px;
    font-weight: 600;
}

.ia-content p {
    color: #1E5372;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* --- BOTONES --- */
.ia-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-vermas,
.btn-demo {
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid #fff;
    background-color: #1E5372;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-vermas:hover,
.btn-demo:hover {
    background-color: #fff;
    color: #1E5372;
    border: 2px solid #1E5372;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .soluciones-ia h2 {
        font-size: 28px;
    }

    .ia-content h3 {
        font-size: 18px;
    }

    .ia-card img {
        height: 140px;
        padding: 20px;
    }
}

/* ===========================
   ESTILOS GLOBALES
=========================== */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E8F3FB;
    color: #1E5372;
}

section {
    padding: 80px 10%;
    box-sizing: border-box;
}

h1,
h2,
h3 {
    margin: 0 0 15px;
}

p {
    line-height: 1.6;
}

/* ===========================
   BOTONES
=========================== */
.btn-primary {
    background-color: #348AC5;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1E5372;
}

.btn-secondary {
    background-color: #C9E8FE;
    color: #1E5372;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #348AC5;
    color: #fff;
}

/* ===========================
   BANNER PRINCIPAL
=========================== */
.banner-rdaniel {
    background-color: #C9E8FE;
    color: #1E5372;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border-radius: 16px;
    padding: 80px 10%;
}

.banner-content {
    flex: 1;
    min-width: 300px;
}

.banner-content h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.banner-content span {
    color: #1E5372;
}

.banner-content p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.banner-image {
    flex: 1;
    text-align: center;
}

.banner-image img {
    max-width: 550px;
    border-radius: 10px;
}

/* ===========================
RESPONSIVE - BANNER PRINCIPAL
=========================== */
@media (max-width: 768px) {
    .banner-rdaniel {
        flex-direction: column;
        text-align: center;
        padding: 60px 8%;
    }

    .banner-content {
        flex: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .banner-content h1 {
        font-size: 2.2em;
    }

    .banner-content p {
        font-size: 1em;
        max-width: 90%;
    }

    .banner-image {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .banner-image img {
        max-width: 250px;
        margin-top: 20px;
        margin-right: 20px;
    }
}



/* ===========================
   SECCIÓN BENEFICIOS
=========================== */
.benefits-section {
    text-align: center;
    background-color: #E8F3FB;
}

.benefits-section h2 {
    font-size: 2em;
    margin-bottom: 50px;
    color: #1E5372;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.benefit-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(30, 83, 114, 0.1);
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(30, 83, 114, 0.2);
}

.benefit-card img {
    width: 80px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #1E5372;
    margin-bottom: 10px;
}

/* ===========================
   SECCIÓN SERVICIO
=========================== */
.service-section {
    background-color: #C9E8FE;
    border-radius: 16px;
    padding: 80px 10%;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.service-card img {
    max-width: 250px;
    border-radius: 10px;
}

.service-content {
    flex: 1;
    min-width: 300px;
}

.service-content h2 {
    font-size: 2em;
    color: #1E5372;
    margin-bottom: 15px;
}

.service-content p {
    font-size: 1.1em;
    color: #1E5372;
    margin-bottom: 25px;
}



.video-section {
    background-color: #f9fafc;
    padding: 60px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.video-container {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
}

/* crucial: iframe ocupa 100% exacto del wrapper */
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0; */
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    border-radius: 12px;
}



/*-------------*/

.rdaniel-section {
    background-color: #1E5372;
    padding: 100px 0;
    font-family: 'Poppins', sans-serif;
    color: #192B47;
}

.container-rdaniel {
    width: 85%;
    max-width: 1300px;
    margin: auto;
}

.rdaniel-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: white;
    /* azul R-Daniel */
}

.rdaniel-section .intro {
    text-align: center;
    font-size: 18px;
    color: white;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rdaniel-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 100px;
}

.rdaniel-block.reverse {
    flex-direction: row-reverse;
}

.rdaniel-text {
    flex: 1;
}

.rdaniel-text h3 {
    font-size: 26px;
    color: white;
    margin-bottom: 20px;
}

.rdaniel-text p {
    font-size: 16px;
    color: white;
    margin-bottom: 15px;
}

.rdaniel-text ul {
    list-style: none;
    padding: 0;
}

.rdaniel-text ul li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 25px;
    color: white;
}

.rdaniel-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

.rdaniel-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.rdaniel-image img {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .rdaniel-block {
        flex-direction: column;
        text-align: center;
    }

    .rdaniel-block.reverse {
        flex-direction: column;
    }

    .rdaniel-text ul li {
        padding-left: 0;
    }

    .rdaniel-text ul li::before {
        display: none;
    }
}



/*banner copi*/
.success-figures {
    text-align: center;
    padding: 60px 20px;
    background-color: #ffffff;
}

.success-figures h2 {
    font-size: 2rem;
    font-weight: 500;
    color: #1E5372;
    margin-bottom: 10px;
}

.success-figures .brand {
    color: #C7E6FE;
}

.success-figures .subtitle {
    color: #1E5372;
    font-size: 1rem;
    margin-bottom: 50px;
}

.figures-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.figure-card {
    background-color: #C7E6FE;
    border-radius: 12px;
    padding: 40px 30px;
    width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.figure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(30, 83, 114, 0.2);
}

.figure-card.highlight {
    background: linear-gradient(135deg, #1E5372, #C7E6FE);
    color: white;
}

.figure-subtitle {
    font-size: 0.9rem;
    color: #1E5372;
    margin-bottom: 10px;
}

.highlight .figure-subtitle {
    color: #ffffff;
}

.figure-value {
    font-size: 2.8rem;
    color: #1E5372;
    font-weight: bold;
    margin: 10px 0;
}

.highlight .figure-value {
    color: #ffffff;
}

.figure-note {
    font-size: 0.9rem;
    color: #1E5372;
    margin-top: 10px;
}

.highlight .figure-note {
    color: #ffffff;
}