@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

body {
    margin: 0;
    font-size: 15px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1e293b;
    background: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, #e0f2fe 0px, transparent 50%),
        radial-gradient(at 100% 0%, #f0f9ff 0px, transparent 50%);
    line-height: 1.6;
}

.contenedor-menu {
    width: 100%;
    background: #0099cc;
    /* Celeste vibrante */
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* 
   nav: Estilos para el contenedor del menú de navegación.
*/
nav {
    margin: 0 auto;
    position: relative;
    max-width: 1000px;
    width: 95%;
    height: 54px;
    background: #001f3f;
    border-radius: 100px;
    /* Modern pill shape */
    display: flex;
    align-items: center;
    /* Intensive white glow */
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    padding: 0 10px;
}

/* 
   nav a: Estilos para los enlaces dentro del menú.
*/
nav a {
    height: 40px;
    /* Slightly less than nav height for padding */
    padding: 0 25px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    text-decoration: none;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 100px;
    /* Pill shape for individual links */
}

nav a:hover,
nav a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

nav a.active {
    background: linear-gradient(135deg, #0099cc 0%, #0077b6 100%);
    box-shadow: 0 4px 15px rgba(0, 153, 204, 0.3);
}

nav a:focus {
    outline: 2px solid #00d2ff;
    outline-offset: 2px;
}

/* Responsive adjustment */
@media (max-width: 950px) {
    nav {
        height: auto;
        flex-wrap: wrap;
        padding: 15px;
        border-radius: 20px;
    }

    nav a {
        height: 40px;
        padding: 0 15px;
        font-size: 12px;
    }
}

/* 
   nav .animation: Estilos para la barra animada que se mueve detrás de los enlaces.
*/
/* Cleaned up old brittle animation logic */

/* 
   h1: Estilos generales para encabezados h1 (títulos).
   Nota: Hay una clase .logo-header más específica abajo que sobrescribe algunos de estos estilos para el logo.
*/
h1 {
    text-align: center;
    margin: 30px 0 30px;
    /* Márgenes: arriba, lados, abajo */
    font-size: 28px;
    color: #ecf0f1;
    /* Color claro sin sombra para un aspecto más limpio */
    font-family: 'Cherry Swash', cursive;
    /* Fuente decorativa */
}

p {
    margin: 0 0 1rem;
    font-size: 14px;
    line-height: 1.6;
    color: inherit;
    font-family: inherit;
    position: static;
}

/* 
   .contenedor-banner: Sección que contiene el banner de imágenes.
*/
.contenedor-banner {
    margin-top: 0;
    /* Unimos el banner con el menú */
    display: flex;
    justify-content: center;
    /* Centra el banner horizontalmente */
    width: 100%;
    /* Asegura que la sección ocupe todo el ancho */
    background-color: #0099cc;
    /* Mismo celeste para continuidad */
    padding: 30px 0;
    /* Espaciado interno para que se vea el color arriba y abajo */
}

/* 
   .banner-contenedor: Caja que envuelve la imagen del banner.
*/
.banner-contenedor {
    position: relative;
    /* Necesario para posicionar los indicadores */
    width: 100%;
    /* Ocupa el 100% del ancho disponible de la ventana */
    max-width: 1400px;
    /* Permite que sea más largo en pantallas grandes */
    height: 420px;
    /* Aumentamos aún más la altura para un banner más alto */
    border-radius: 10px;
    /* Bordes redondeados suaves */
    overflow: hidden;
    /* Oculta cualquier parte de la imagen que sobresalga */
    margin: 0 auto;
    /* Centrar el contenedor */
}

/* Wrapper para las diapositivas (flexbox para alinearlas horizontalmente) */
.slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    /* Animación suave */
}

/* Estilo para cada diapositiva */
.banner-slide {
    min-width: 100%;
    /* Cada slide ocupa el 100% del ancho del contenedor */
    height: 100%;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ajusta la imagen sin deformarla */
    display: block;
}

/* Contenedor de los indicadores (puntos) */
.banner-indicadores {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.3);
    /* Fondo semitransparente opcional para contraste */
    padding: 8px 16px;
    border-radius: 20px;
}

/* Estilo de los puntos indicadores */
.indicador {
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicador:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.indicador.activo {
    background-color: #ffffff;
    transform: scale(1.2);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Eliminamos estilos antiguos de .banner-imagen directa si ya no se usa, 
   pero mantenemos compatibilidad por si acaso */
.banner-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* 
   span: Estilo base para destacar texto dentro de un párrafo.
   Más abajo se redefinen estilos específicos por clase.
*/


/* 
   .logo-header: Contenedor superior (logo + datos + redes).
   Ahora lo dejamos con fondo blanco sólido, tal como indicas.
*/
.logo-header {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    padding: 10px 0;
    margin: 0;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
}

.header-container {
    max-width: 1400px;
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-left .logo-img {
    height: 75px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease;
}

.logo-left .logo-img:hover {
    transform: scale(1.05);
}

.logo-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.empresa-nombre {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.header-contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00d2ff;
    /* Celeste */
    font-size: 14px;
    font-weight: 600;
    /* Un poco más de peso para resaltar */
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
    /* Brillo blanco al pasar el mouse */
}

.contact-item i {
    color: #ffffff;
    font-size: 16px;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.logo-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-expert {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.logo-persona {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #00d2ff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.expert-desc {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.visitanos-titulo {
    color: #00d2ff;
    /* Celeste */
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.visitanos-subtitulo {
    color: white;
    font-size: 10px;
    font-weight: 500;
    opacity: 0.8;
}

.header-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.1);
}

.social-icon img {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

/* RESPONSIVE HEADER */
@media (max-width: 1200px) {
    .header-container {
        flex-direction: column;
        padding: 20px 0;
        gap: 25px;
    }

    .logo-right {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-contact-info {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .header-expert {
        display: none;
    }

    .empresa-nombre {
        font-size: 20px;
    }
}


/* 
   SECCIÓN: Nosotros
*/
.contenedor-nosotros {
    padding: 60px 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    width: 100%;
}

.nosotros-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 90%;
    gap: 60px;
}

.nosotros-texto {
    flex: 1;
    font-family: sans-serif;
}

.nosotros-texto h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    /* Título grande */
    color: #003366;
    margin-bottom: 25px;
    font-weight: bold;
    position: relative;
}

/* Línea decorativa debajo del título */
.nosotros-texto h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #0099cc;
    margin-top: 10px;
}

.nosotros-texto p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    position: static;
    /* Reset global p style */
    text-align: left;
    width: auto;
    font-family: sans-serif;
}

.nosotros-imagen {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.nosotros-imagen img {
    width: 100%;
    max-width: 550px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.nosotros-imagen img:hover {
    transform: translateY(-5px);
}

.boton-nosotros {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #0099cc 0%, #0077b6 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 153, 204, 0.2);
    margin-top: 15px;
    cursor: pointer;
    border: none;
}

.boton-nosotros:hover {
    background: linear-gradient(135deg, #0077b6 0%, #005f8d 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 153, 204, 0.3);
}

@media (max-width: 900px) {
    .nosotros-contenido {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .nosotros-texto h2::after {
        margin: 10px auto 0;
        /* Centrar la línea decorativa */
    }

    .nosotros-texto p {
        text-align: center;
    }

    .nosotros-imagen {
        width: 100%;
    }
}

/* 
   NUEVA SECCIÓN: Auditoría Preventiva
   Estilos para la tarjeta informativa debajo del banner.
*/

/* Contenedor principal de la sección */
.contenedor-auditoria {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    /* Espacio vertical amplio */
    width: 100%;
}

/* Tarjeta que contiene imagen y texto */
.card-auditoria {
    display: flex;
    /* Diseño flexible (imagen izq, texto der) */
    background-color: white;
    /* Fondo blanco */
    border-radius: 20px;
    /* Bordes redondeados */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    /* Sombra suave y elegante */
    overflow: hidden;
    /* Recorta la imagen en las esquinas redondeadas */
    max-width: 1000px;
    /* Ancho máximo de la tarjeta */
    width: 90%;
    /* Ancho relativo */
    align-items: center;
    /* Centrado vertical del contenido */
    min-height: 350px;
    /* Altura mínima sugerida */
}

/* Lado izquierdo: Imagen */
.card-imagen {
    flex: 1;
    /* Ocupa el 50% del espacio */
    height: 100%;
    /* Ocupa toda la altura de la tarjeta */
}

.card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* La imagen cubre todo el espacio sin deformarse */
}

/* Lado derecho: Contenido (texto y botón) */
.card-contenido {
    flex: 1;
    /* Ocupa el otro 50% */
    padding: 40px;
    /* Espacio interno generoso */
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Centra el contenido verticalmente */
    align-items: flex-start;
    /* Alinea el contenido a la izquierda */
}

/* Título de la tarjeta */
.card-contenido h2 {
    font-size: 30px;
    color: #003366;
    /* Azul oscuro */
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: normal;
    /* "Auditoría" normal */
}

/* Estilo para la palabra "Preventiva" destacada */
.titulo-destacado {
    color: #003366;
    /* Mismo color azul oscuro */
    font-weight: bold;
    /* En negrita */
    display: block;
    /* Fuerza un salto de línea si es necesario o asegura bloque */
}

/* Párrafo descriptivo - Sobrescribe estilos globales de p */
.card-contenido p {
    font-size: 16px;
    color: #666;
    /* Gris suave para el texto */
    line-height: 1.6;
    /* Espaciado entre líneas para legibilidad */
    margin-bottom: 30px;

    /* Reset de estilos globales conflictivos */
    position: static;
    text-align: left;
    width: auto;
    font-family: sans-serif;
    bottom: auto;
}

/* Botón "Ver más" */
.boton-ver-mas {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid #0099cc;
    border-radius: 50px;
    color: #0099cc;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.boton-ver-mas:hover {
    background: linear-gradient(135deg, #0099cc 0%, #0077b6 100%);
    color: white;
    border-color: transparent;
    transform: translateX(5px);
}

/* 
   SECCIÓN: Casos de Éxito
*/
.contenedor-casos-exito {
    padding: 40px 0 60px;
    /* Espaciado superior e inferior */
    text-align: center;
    background-color: transparent;
    /* Hereda el degradado del body */
}

/* Título de la sección */
.titulo-casos {
    font-size: 32px;
    color: #003366;
    /* Azul oscuro */
    font-weight: bold;
    margin-bottom: 40px;
    font-family: sans-serif;
    text-align: center;
}

/* Grilla de tarjetas - Modificado para que se adapte al zoom (wrap) */
.grid-casos {
    display: flex;
    justify-content: center;
    /* Centrado para mejor visualización */
    gap: 30px;
    /* Espacio entre tarjetas */
    flex-wrap: wrap;
    /* Permite que las tarjetas bajen si no hay espacio */
    padding: 20px 40px;
    /* Padding lateral */
    width: 100%;
    /* Ocupa todo el ancho disponible */
    box-sizing: border-box;
    /* Incluye padding en el ancho */
    /* Eliminamos el scroll horizontal para evitar el descuadre al hacer zoom */
}

/* Ocultar barra de desplazamiento innecesaria */
.grid-casos::-webkit-scrollbar {
    display: none;
}

/* (Eliminado scrollbar-width ya que no hay scroll) */

/* Contenedor de indicadores (puntos) - Oculto en modo Grid */
.carrusel-indicadores {
    display: none;
    /* Ocultamos los indicadores ya que ahora es una grilla */
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* Estilo de cada punto indicador */
/* .indicador ya está definido arriba */

/* Tarjeta individual */
.card-caso {
    position: relative;
    flex: 0 0 auto;
    width: 350px;
    height: 230px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Imagen dentro de la tarjeta */
.card-caso img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Efecto Zoom en imagen al pasar mouse */
.card-caso:hover img {
    transform: scale(1.1);
}

/* Overlay (capa oscura que sube) */
.overlay-caso {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 31, 63, 0.95), rgba(0, 153, 204, 0.6));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-caso:hover .overlay-caso {
    bottom: 0;
    /* Sube al hacer hover */
}

/* Texto dentro del overlay */
.texto-caso {
    color: white;
    font-size: 16px;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
}

/* Badge (etiqueta) de categoría (TRIBUTARIO, LABORAL, etc.) */
.badge-caso {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #0099cc;
    /* Azul */
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Diferentes colores para badges según tipo (opcional, por ahora todos azules) */

/* 
   SECCIÓN: SUNAT (Banner)
*/
.contenedor-sunat {
    width: 100%;
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.banner-sunat {
    width: 100%;
    max-width: 1200px;
    background: linear-gradient(90deg, #001a33 0%, #003366 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    color: white;
}

.info-sunat h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    max-width: 500px;
    line-height: 1.25;
    background: linear-gradient(to right, #ffffff, #00d2ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-contactanos {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.btn-contactanos:hover {
    background-color: #ffffff;
    color: #003366;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.imagen-sunat-wrapper {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    transform: rotate(3deg);
    /* Pequeña rotación para estilo */
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.imagen-sunat-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 
   SECCIÓN: Artículos
*/
.contenedor-articulos {
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.titulo-articulos {
    font-size: 32px;
    color: #003366;
    margin-bottom: 40px;
    text-align: center;
    font-weight: bold;
}

.grid-articulos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-articulo {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #f0f4f8;
    display: flex;
    flex-direction: column;
}

.card-articulo:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.imagen-articulo-wrapper {
    position: relative;
    height: 200px;
}

.imagen-articulo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-categoria {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.badge-categoria.laboral {
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

.badge-categoria.tributario {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.contenido-articulo {
    padding: 20px;
}

.fecha-articulo {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.titulo-card-articulo {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
    height: 50px;
    /* Altura fija para alinear */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.link-ver-mas {
    color: #0099cc;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    display: inline-block;
}

/* 
   SECCIÓN: Confianza / Contador
*/
.contenedor-confianza {
    background: linear-gradient(135deg, #f0f7ff 0%, #e2efff 100%);
    padding: 70px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.contenido-confianza {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    flex-wrap: wrap;
    gap: 40px;
}

/* Lado izquierdo: Contador */
.contador-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.numero-grande {
    font-size: 60px;
    font-weight: 800;
    color: #003366;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #003366 0%, #0099cc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.texto-confianza {
    font-size: 18px;
    line-height: 1.4;
    position: static;
    /* Reset global p */
    text-align: left;
}

/* Lado derecho: Grilla de sectores */
.grid-sectores {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card-sector {
    background-color: white;
    border-radius: 10px;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.icono-sector {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.icono-sector svg {
    width: 100%;
    height: 100%;
}

.nombre-sector {
    color: #003366;
    font-weight: bold;
    font-size: 12px;
    line-height: 1.3;
}


/* --- MODAL NOSOTROS STYLES --- */
.modal-nosotros-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-nosotros-content {
    background-color: #fff;
    margin: 2% auto;
    width: 90%;
    max-width: 1200px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.4s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

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

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    z-index: 2001;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* Left col smaller than right col approx 1/3 vs 2/3 */
    height: auto;
    min-height: 600px;
}

/* LEFT COLUMN */
.modal-col-left {
    display: flex;
    flex-direction: column;
}

.modal-valores {
    background-color: #29abe2;
    /* Bright Blue */
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.modal-valores h3 {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    color: white;
}

.valores-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.valor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.valor-icon-circle {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
}

.valor-icon-circle i {
    font-size: 24px;
    color: #29abe2;
}

.valor-item span {
    font-size: 12px;
    color: white;
    font-weight: bold;
}

.modal-compromiso {
    background-color: #3498db;
    /* Slightly different blue */
    padding: 30px 20px;
    color: white;
    text-align: center;
    flex: 1;
    /* Grow to fill space if needed */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-compromiso h3 {
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    font-weight: bold;
}

.modal-compromiso p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    position: static;
    text-align: center;
}

.modal-left-image {
    height: 300px;
    overflow: hidden;
}

.modal-left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT COLUMN */
.modal-col-right {
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
}

.modal-team-section {
    position: relative;
    height: 400px;
    /* Adjust as needed */
    overflow: hidden;
}

.team-image-container {
    width: 100%;
    height: 100%;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quienes-somos-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    width: 50%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quienes-somos-box h3 {
    color: #003366;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.quienes-somos-box p {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    position: static;
    text-align: left;
}

.modal-mision-vision {
    display: flex;
    padding: 40px;
    gap: 40px;
    background-color: #e5f4fb;
    flex: 1;
}

.mv-block {
    flex: 1;
}

.mv-block h3 {
    color: #003366;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: bold;
}

.mv-block p {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    position: static;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-nosotros-content {
        margin: 5% auto;
        width: 95%;
        height: 90vh;
        overflow-y: scroll;
    }

    .quienes-somos-box {
        position: relative;
        width: 100%;
        bottom: auto;
        right: auto;
        margin-top: -50px;
        /* Overlap slightly */
        z-index: 10;
        box-sizing: border-box;
    }

    .modal-mision-vision {
        flex-direction: column;
        gap: 20px;
    }
}

/* 
   SECCIÓN: Asociados (Slider Infinito)
*/
.contenedor-asociados {
    padding: 40px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.titulo-asociados {
    text-align: center;
    font-size: 32px;
    color: #003366;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
}

.slider-asociados {
    height: 120px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 90%;
    max-width: 1200px;
}

.slide-track {
    display: flex;
    width: calc(250px * 12);
    /* Ajustar según cantidad de slides total */
    animation: scroll 30s linear infinite;
}

.slide {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 4));
    }

    /* Desplazar 1 set de 4 imágenes */
}

/* 
   SECCIÓN: Pie de Página (Footer)
*/
.pie-pagina {
    background: linear-gradient(135deg, #001f3f 0%, #000428 100%);
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

.pie-pagina::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, #0099cc, #00d2ff, #0099cc);
}

.contenedor-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    gap: 40px;
}

.footer-columna {
    flex: 1;
    min-width: 200px;
}

.footer-columna h3 {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 1px;
}

.footer-logo-img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b3cde0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

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

.contacto-lista li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #b3cde0;
    font-size: 14px;
}

.contacto-lista li span {
    color: #ffffff;
}

.contacto-lista i {
    color: #3498db;
    font-size: 16px;
    margin-top: 3px;
}

.footer-social {
    margin-top: 30px;
}

.redes-iconos {
    display: flex;
    gap: 15px;
}

.redes-iconos a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.redes-iconos a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
}

/* 
   ESTILOS ESPECÍFICOS PARA LA PÁGINA ASESORÍA
   Sección central de contenido libre
*/
.asesoria-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
}

.asesoria-main-title {
    text-align: center;
    color: #003366;
    /* Azul oscuro corporativo */
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.asesoria-main-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #003366;
    margin: 10px auto 0;
}

.asesoria-intro-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

.asesoria-intro-text p {
    margin-bottom: 20px;
    position: static;
    /* Reset del estilo global 'p' que es absolute */
    width: auto;
    text-align: inherit;
    font-family: inherit;
    color: inherit;
}

/* NUEVOS ESTILOS PARA SECCIONES INDEPENDIENTES */
.asesoria-seccion-independiente {
    margin-bottom: 80px;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.asesoria-seccion-independiente:last-of-type {
    margin-bottom: 0;
}

.asesoria-subtitle {
    color: #2980b9;
    /* Azul claro/celeste para títulos */
    font-size: 26px;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
}

.asesoria-img-wrapper {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.asesoria-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.asesoria-img-wrapper img:hover {
    transform: scale(1.02);
}

.asesoria-list {
    list-style: none;
    padding: 0;
}

.asesoria-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #444;
    line-height: 1.5;
    font-size: 16px;
}

.asesoria-list li::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: #2980b9;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
}

/* Clases específicas para cada sección (solicitado por usuario) */


/* Responsividad para móviles */
@media (max-width: 768px) {
    .asesoria-seccion-independiente {
        padding: 20px;
        margin-bottom: 40px;
    }

    .asesoria-container {
        padding: 15px;
    }
}

/* Botón flotante WhatsApp */
.btn-wsp {
    position: fixed;
    width: 60px;
    height: 60px;
    line-height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.btn-wsp:hover {
    text-decoration: none;
    color: #25d366;
    background-color: #fff;
    transform: scale(1.1);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .contenedor-footer {
        flex-direction: column;
        gap: 40px;
    }

    .footer-columna {
        text-align: center;
    }

    .contacto-lista li {
        justify-content: center;
    }

    .redes-iconos {
        justify-content: center;
    }
}

/* 
   PÁGINA NOSOTROS
*/
.banner-statico {
    width: 100%;
    height: auto;
    max-height: 600px;
    /* Límite para que no sea excesivamente alto en pantallas muy grandes */
    overflow: hidden;
    position: relative;
    background-color: #f8fafc;
}

.banner-statico img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* Asegura que la imagen se vea completa */
}

@media (max-width: 768px) {
    .banner-statico {
        max-height: 300px;
    }
}

.pagina-nosotros-contenido {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
}

.grid-nosotros {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* 1/3 y 2/3 aprox */
    min-height: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

/* Columna Izquierda */
.col-left {
    display: flex;
    flex-direction: column;
}

.valores {
    background-color: #29abe2;
    padding: 30px 20px;
    text-align: center;
    color: white;
}

.valores h3 {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: bold;
    color: white;
}

.valores-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.valor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.valor-icon-circle {
    width: 65px;
    height: 65px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    transition: transform 0.3s ease;
}

.valor-item:hover .valor-icon-circle {
    transform: scale(1.1);
}

.valor-icon-circle i {
    font-size: 26px;
    color: #29abe2;
}

.valor-item span {
    font-size: 13px;
    color: white;
    font-weight: bold;
}

.compromiso {
    background-color: #3498db;
    padding: 30px 20px;
    color: white;
    text-align: center;
    flex: 1;
    /* Ocupa el espacio disponible */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.compromiso h3 {
    font-size: 22px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    font-weight: bold;
}

.compromiso p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.imagen-left {
    height: 300px;
    overflow: hidden;
}

.imagen-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Columna Derecha */
.col-right {
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    position: relative;
}

.team-image-container {
    width: 100%;
    height: 450px;
    position: relative;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Caja Quiénes Somos (Superpuesta) */
.quienes-somos-box {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 35px;
    width: 55%;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.quienes-somos-box h3 {
    color: #003366;
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: bold;
}

.quienes-somos-box p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.mision-vision {
    display: flex;
    padding: 50px;
    gap: 40px;
    background-color: #e5f4fb;
    flex: 1;
}

.mv-block {
    flex: 1;
}

.mv-block h3 {
    color: #003366;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: bold;
}

.mv-block p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* Responsive Página Nosotros */
@media (max-width: 900px) {
    .grid-nosotros {
        grid-template-columns: 1fr;
    }

    .banner-statico {
        height: 200px;
    }

    .quienes-somos-box {
        position: relative;
        width: 100%;
        bottom: auto;
        right: auto;
        margin-top: -50px;
        z-index: 10;
        box-sizing: border-box;
        margin-bottom: 0;
        box-shadow: none;
        border-bottom: 1px solid #ddd;
    }

    .mision-vision {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
    }

    .team-image-container {
        height: 300px;
    }
}

/* --- NUEVOS ESTILOS SECCIÓN NOSOTROS (Diseño por Bloques) --- */

.main-nosotros {
    width: 100%;
    background-color: #fff;
}

.seccion-bloque {
    padding: 60px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.seccion-bloque:nth-child(even) {
    background-color: #f8f9fa;
    /* Gris muy claro para alternar */
}

.seccion-bloque:nth-child(odd) {
    background-color: #ffffff;
}

.contenedor-bloque {
    width: 90%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.contenedor-bloque.reverso {
    flex-direction: row-reverse;
}

/* Textos */
.bloque-texto {
    flex: 1;
}

.bloque-texto h2 {
    font-size: 30px;
    color: #003366;
    margin-bottom: 25px;
    font-weight: bold;
    position: relative;
    text-align: left;
    /* Asegurar alineación */
}

.bloque-texto h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: #0099cc;
    margin-top: 15px;
}

.bloque-texto p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
    position: static;
    width: auto;
    font-family: sans-serif;
}

/* Imagenes */
.bloque-imagen {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: 350px;
    /* Altura fija para consistencia */
}

.bloque-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bloque-imagen:hover img {
    transform: scale(1.05);
}

/* Sección Misión Visión (Tarjetas) */
.seccion-mision-vision {
    background-color: #e5f4fb !important;
    /* Forzar fondo azulito */
}

.grid-mv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.card-mv {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #0099cc;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card-mv:hover {
    transform: translateY(-5px);
}

.card-mv h3 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 25px;
    font-weight: bold;
    text-align: center;
}

.card-mv p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    text-align: justify;
    position: static;
    width: auto;
}

/* Sección Valores (3 columnas) */
.seccion-valores {
    background-color: #003366 !important;
    /* Fondo oscuro para contraste */
    color: white;
    padding: 60px 0;
}

.contenedor-valores {
    width: 90%;
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
    /* Centrado horizontal del contenedor */
}

.contenedor-valores h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 60px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.grid-valores {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.card-valor {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background: rgba(255, 255, 255, 0.05);
    padding: 45px 30px;
    border-radius: 30px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-valor:hover {
    background: #ffffff;
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.card-valor:hover h3,
.card-valor:hover i {
    color: #003366 !important;
}

.icon-valor {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.card-valor:hover .icon-valor {
    background: #e5f4fb;
}

.icon-valor i {
    font-size: 35px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.card-valor:hover .icon-valor i {
    color: #0099cc;
}

.card-valor h3 {
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin: 0;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

/* Responsive Nuevas Secciones */
@media (max-width: 900px) {
    .contenedor-bloque {
        flex-direction: column;
        gap: 40px;
    }

    .contenedor-bloque.reverso {
        flex-direction: column;
    }

    .grid-mv {
        grid-template-columns: 1fr;
    }

    .bloque-imagen {
        width: 100%;
        height: 300px;
    }

    .bloque-texto h2 {
        text-align: center;
    }

    .bloque-texto h2::after {
        margin: 15px auto 0;
    }
}

/* --- ESTILOS PÁGINA SERVICIOS --- */

.main-servicios {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.seccion-titulo-azul {
    background: #00d2ff;
    background: linear-gradient(90deg, #00b4db, #00d2ff);
    padding: 30px 20px;
    width: 100%;
    text-align: center;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.seccion-titulo-azul .titulo-seccion-servicios {
    color: #ffffff;
    margin: 0;
    padding-bottom: 0;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.seccion-titulo-azul .titulo-seccion-servicios::after {
    display: none;
}

.titulo-seccion-servicios {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin: 60px 0 40px;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    position: relative;
    padding-bottom: 25px;
}

.titulo-seccion-servicios::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 6px;
    background: linear-gradient(90deg, #0099cc, #00d2ff);
    border-radius: 3px;
}

/* Intro Section Styling - Premium Layout */
.section-intro-servicio {
    max-width: 950px;
    margin: 60px auto !important;
    padding: 45px;
    background: #ffffff;
    border-radius: 30px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 153, 204, 0.08);
    position: relative;
    overflow: hidden;
    float: none !important;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.section-intro-servicio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #0099cc, #003366, #00d2ff);
}

.section-intro-servicio h2,
.section-intro-servicio h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #0c1c3d;
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 35px;
    text-align: center;
    letter-spacing: -0.03em;
}

.section-intro-servicio p {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 25px;
    text-align: justify;
    position: static;
    width: auto;
}

.section-intro-servicio strong {
    color: #0099cc;
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-intro-servicio {
        padding: 40px 25px;
        margin: 40px auto !important;
        border-radius: 20px;
    }
}

.contenedor-grid-servicios {
    display: flex;
    justify-content: center;
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.card-servicio {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-servicio:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.card-servicio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-servicio:hover img {
    transform: scale(1.1);
}

.servicio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    /* Cambio a degradado celeste corporativo (rgba: 0, 153, 204) manteniendo transparencia superior */
    background: linear-gradient(to top, rgba(0, 153, 204, 0.85), rgba(0, 153, 204, 0.5), transparent);
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    height: 100%;
    transition: background 0.3s ease;
}

.card-servicio:hover .servicio-overlay {
    /* Intensificación del celeste al pasar el mouse */
    background: linear-gradient(to top, rgba(0, 153, 204, 0.95), rgba(0, 153, 204, 0.6), rgba(0, 153, 204, 0.2));
}

.servicio-overlay h3 {
    color: #fff;
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    text-align: center;
    width: 100%;
}

/* Responsive para Servicios */
@media (max-width: 900px) {
    .grid-servicios {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-servicios {
        grid-template-columns: 1fr;
    }

    .card-servicio {
        height: 200px;
    }
}

/* --- MODERN CONTACT PAGE STYLES --- */
.contacto-seccion {
    padding: 70px 0;
    max-width: 1400px;
    margin: 0 auto;
    width: 95%;
}

.contacto-container {
    display: flex;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
    border-radius: 40px;
    overflow: hidden;
    background: #fff;
    min-height: 700px;
    flex-wrap: wrap;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contacto-info {
    flex: 1;
    position: relative;
    min-width: 350px;
    background-color: #001f3f;
    overflow: hidden;
    color: white;
}

.contacto-info img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    transition: transform 0.8s ease;
}

.contacto-info:hover img {
    transform: scale(1.1);
}

.info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 31, 63, 0.98) 0%, rgba(0, 31, 63, 0.6) 60%, transparent 100%);
    padding: 50px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-overlay h3 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
    width: 100%;
    text-align: center;
}

.info-overlay h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: #00d2ff;
    margin: 15px auto 0;
    border-radius: 10px;
}

.contacto-form-wrapper {
    flex: 1.5;
    padding: 60px;
    background-color: #ffffff;
    min-width: 350px;
}

.contacto-form-wrapper h2 {
    color: #001f3f;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: -1.5px;
}

.contacto-form-wrapper input,
.contacto-form-wrapper select,
.contacto-form-wrapper textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    font-size: 16px;
    background: #f8fafc;
    transition: all 0.3s ease;
    outline: none;
    color: #1e293b;
}

.contacto-form-wrapper input:focus,
.contacto-form-wrapper select:focus,
.contacto-form-wrapper textarea:focus {
    border-color: #0099cc;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(0, 153, 204, 0.1);
}

.contacto-form-wrapper button[type="submit"] {
    background: linear-gradient(135deg, #001f3f 0%, #004e92 100%);
    color: white;
    padding: 20px 60px;
    border: none;
    border-radius: 16px;
    font-weight: 800;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.3);
}

.contacto-form-wrapper button[type="submit"]:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.4);
}

/* --- CONTACT PAGE LAYOUT HELPERS --- */
.form-row {
    margin-bottom: 25px;
}

.form-row-cols {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.form-row-cols>* {
    flex: 1;
    min-width: 250px;
}

.form-submit {
    text-align: right;
    margin-top: 40px;
}

.info-details-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
}

.info-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.info-detail-item:hover {
    transform: translateX(8px);
}

.info-detail-item i {
    color: #00d2ff;
    font-size: 18px;
    width: 42px;
    height: 42px;
    background: rgba(0, 210, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-detail-item span {
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    word-break: break-word;
    line-height: 1.4;
}

@media (max-width: 768px) {

    .contacto-info,
    .contacto-form-wrapper {
        padding: 50px 30px;
    }
}