﻿/* ========================= 
   FUENTE PERSONALIZADA
========================= */
@font-face {
    font-family: 'GoudyOldStyleT-Regular';
    src: url('fonts/GoudyOldStyleT-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* =========================
   HEADER (LOGO + TÍTULO)
========================= */

#header19-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo-saacc {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

.titulo-saacc {
    text-align: center;
    font-family: 'GoudyOldStyleT-Regular', serif;
    padding: 0 15px;
}

.saacc {
    font-size: clamp(32px, 8vw, 104px);
    font-weight: bold;
    display: block;
    line-height: 1.1;
}

.saaccN {
    font-size: clamp(28px, 6vw, 80px);
    font-weight: normal;
    display: block;
    line-height: 1.1;
}

.subtitulo {
    font-size: clamp(12px, 3vw, 44px);
    font-weight: bold;
    display: block;
    line-height: 1.2;
}

/* =========================
   SECCIÓN FEATURES
========================= */

#features19-a {
    font-family: 'GoudyOldStyleT-Regular', serif;
    padding: 60px 0;
}

    #features19-a .card-title {
        text-align: left;
    }

.feature-principal {
    font-size: clamp(20px, 3vw, 40px);
    font-weight: normal;
    display: block;
    line-height: 1.2;
}

.feature-secundario {
    font-size: clamp(24px, 4vw, 52px);
    font-weight: bold;
    display: block;
    line-height: 1.2;
}

#features19-a .mbr-text,
.feature-primario {
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Imagen */
#features19-a img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* =========================
   🔵 RECTÁNGULO AZUL (NUEVO)
========================= */

#features19-a .card-wrapper {
    background-color: #0C2548;
    color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

    /* Forzar texto blanco dentro */
    #features19-a .card-wrapper h6,
    #features19-a .card-wrapper p,
    #features19-a .card-wrapper span,
    #features19-a .card-wrapper strong {
        color: #ffffff !important;
    }

/* =========================
   BOTONES SIN FONDO
========================= */

.btn-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-saacc {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 1;
    min-width: 180px;
    text-align: left;
    padding: 12px 18px;
    font-family: 'GoudyOldStyleT-Regular', serif !important;
    font-size: clamp(14px, 1.5vw, 16px);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important; /* 🔥 ahora blanco */

    border-radius: 8px;
    transition: 0.3s ease;
}

/* ICONO */
.icon-btn {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* TEXTO */
.btn-saacc span {
    display: block;
    line-height: 1.2;
}

/* Hover elegante para fondo oscuro */
.btn-saacc:hover {
    background: rgba(255,255,255,0.1) !important;
    transform: translateY(-4px);
}

/* =========================
   BOTÓN GENERAL
========================= */

#features19-a .btn {
    font-size: clamp(14px, 1.5vw, 16px);
}

/* =========================
   FORZAR FUENTE (MOBIRISE)
========================= */

.saacc,
.saaccN,
.subtitulo,
.feature-principal,
.feature-secundario,
#features19-a .mbr-text,
#features19-a .card-title,
.btn {
    font-family: 'GoudyOldStyleT-Regular', serif !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .logo-saacc {
        max-width: 220px;
    }

    .btn-container {
        justify-content: center;
    }

    .btn-saacc {
        flex: 1 1 100%;
        justify-content: flex-start;
    }

    #features19-a .card-title {
        text-align: center;
    }

    /* Ajuste del rectángulo */
    #features19-a .card-wrapper {
        padding: 25px;
        border-radius: 15px;
    }
}

@media (max-width: 576px) {
    #features19-a {
        padding: 40px 15px;
    }
}

#features3-e {
    font-family: 'GoudyOldStyleT-Regular', serif;
}

    /* TÍTULO PRINCIPAL */
    #features3-e .mbr-section-title {
        font-family: 'GoudyOldStyleT-Regular', serif !important;
        font-size: clamp(28px, 4vw, 48px);
        letter-spacing: 1px;
    }

    /* SUBTÍTULO */
    #features3-e .mbr-section-subtitle {
        font-family: 'GoudyOldStyleT-Regular', serif !important;
        font-size: clamp(16px, 2vw, 22px);
    }

    /* TÍTULOS DE CADA SERVICIO */
    #features3-e .item-title {
        font-family: 'GoudyOldStyleT-Regular', serif !important;
        font-size: clamp(16px, 1.5vw, 20px);
        line-height: 1.3;
    }

    /* TEXTO */
    #features3-e .mbr-text {
        font-family: 'GoudyOldStyleT-Regular', serif !important;
        font-size: clamp(14px, 1.3vw, 16px);
        line-height: 1.6;
    }
    /* =========================
   🔷 RECTÁNGULO TÍTULO SERVICIOS
    ========================= */

    #features3-e .titulo-servicios {
        display: inline-block;
        background-color: #E3E8EE; /* fondo claro */
        color: #1E4F8B; /* 👈 texto en azul para contraste */
        padding: 12px 30px;
        border-radius: 50px; /* estilo píldora elegante */
        box-shadow: 0 6px 15px rgba(0,0,0,0.1);
        margin-bottom: 15px;
        font-size: clamp(12px, 2vw, 18px);
    }

        #features3-e .titulo-servicios strong {
            color: #1E4F8B !important; /* 👈 mismo color que el texto */
        }

    /* Centrar correctamente el bloque */
    #features3-e .mbr-section-head {
        text-align: center;
    }

/* ========================= 
   FUENTE PERSONALIZADA
========================= */
@font-face {
    font-family: 'GoudyOldStyleT-Regular';
    src: url('fonts/GoudyOldStyleT-Regular.ttf') format('truetype');
}

/* =========================
   HEADER (LOGO + TÍTULO)
========================= */

#header19-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo-saacc {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px auto;
}

.titulo-saacc {
    text-align: center;
    font-family: 'GoudyOldStyleT-Regular', serif;
}

.saacc {
    font-size: clamp(32px, 8vw, 104px);
    font-weight: bold;
}

.saaccN {
    font-size: clamp(28px, 6vw, 80px);
}

.subtitulo {
    font-size: clamp(12px, 3vw, 44px);
    font-weight: bold;
}

/* =========================
   SECCIÓN FEATURES (AZUL)
========================= */

#features19-a {
    font-family: 'GoudyOldStyleT-Regular', serif;
    padding: 60px 0;
}

    #features19-a .card-wrapper {
        background-color: #0C2548;
        color: #fff;
        padding: 40px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

        #features19-a .card-wrapper * {
            color: #fff !important;
        }

/* =========================
   BOTONES
========================= */

.btn-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-saacc {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 180px;
    padding: 12px 18px;
    font-family: 'GoudyOldStyleT-Regular', serif !important;
    background: transparent !important;
    color: #fff !important;
    border-radius: 8px;
    transition: 0.3s;
}

    .btn-saacc:hover {
        background: rgba(255,255,255,0.1) !important;
        transform: translateY(-4px);
    }

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
    .logo-saacc {
        max-width: 220px;
    }

    .btn-saacc {
        flex: 1 1 100%;
    }
}

/* =========================
   🔷 SECCIÓN SERVICIOS
========================= */

#features3-e {
    font-family: 'GoudyOldStyleT-Regular', serif;
}

    /* TITULOS */
    #features3-e .mbr-section-title {
        font-size: clamp(28px, 4vw, 48px);
    }

    #features3-e .mbr-section-subtitle {
        font-size: clamp(16px, 2vw, 22px);
    }

    /* =========================
   🔷 RECTÁNGULO TITULO
========================= */

    #features3-e .titulo-servicios {
        display: inline-block;
        background-color: #E3E8EE;
        color: #1E4F8B;
        padding: 12px 30px;
        border-radius: 50px;
        margin-bottom: 15px;
        font-size: clamp(12px, 2vw, 18px);
    }

        #features3-e .titulo-servicios strong {
            color: #1E4F8B !important;
        }

    #features3-e .mbr-section-head {
        text-align: center;
    }

    /* =========================
   🔷 TARJETAS SERVICIOS (LO IMPORTANTE)
    ========================= */

    #features3-e .item-wrapper {
        background: #fff;
        border-radius: 12px; /* poco redondo */
        padding: 20px;
        height: 100%;
        transition: 0.3s;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }

        #features3-e .item-wrapper:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        }

    /* ICONO + TITULO */
    #features3-e .top-content {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
    }

    /* ICONO */
    #features3-e .item-img img {
        width: 45px;
        height: 45px;
        object-fit: contain;
    }

    /* TITULO */
    #features3-e .item-title {
        margin: 0;
        font-size: 15px;
        line-height: 1.3;
    }

    /* TEXTO */
    #features3-e .mbr-text {
        font-size: 14px;
        line-height: 1.6;
    }

/* =========================
   🔷 SECCIÓN SERVICIOS PRO
========================= */

#features3-e {
    background-color: #E9EDF2;
    padding: 60px 30px;
}

    /* HEADER */
    #features3-e .mbr-section-head {
        text-align: center;
    }

    #features3-e .titulo-servicios {
        display: inline-block;
        background-color: #DCE3EC;
        color: #1E4F8B;
        padding: 10px 25px;
        border-radius: 30px;
        font-size: 14px;
        margin-bottom: 15px;
    }

    /* TARJETAS */
    #features3-e .item-wrapper {
        background-color: #F4F6F9;
        border-radius: 12px;
        padding: 25px;
        height: 100%;
        border: 1px solid #e0e6ed;
        transition: 0.3s;
    }

        #features3-e .item-wrapper:hover {
            transform: translateY(-5px);
        }

    /* ICONO + TITULO */
    #features3-e .top-content {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    /* ICONO */
    #features3-e .item-img {
        /* background-color: #DCE3EC;*/
        background-color: #E8ECF2;
        width: 55px;
        height: 55px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        #features3-e .item-img img {
            width: 85px;
        }

    /* TITULO */
    #features3-e .item-title {
        font-size: 19px;
        margin: 0;
    }

/* LISTA */
.lista-servicios {
    padding-left: 18px;
}

    .lista-servicios li {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.6;
    }

/* =========================
   📱 RESPONSIVE
========================= */

@media (max-width: 768px) {

    #features3-e {
        padding: 40px 15px;
    }

        #features3-e .item-wrapper {
            padding: 18px;
        }

        #features3-e .item-title {
            font-size: 15px;
        }

    .lista-servicios li {
        font-size: 14px;
    }

    #features3-e .mbr-section-title {
        font-size: 22px !important;
    }

    #features3-e .mbr-section-subtitle {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {

    #features3-e .item-img {
        width: 45px;
        height: 45px;
    }

    #features3-e .item-title {
        font-size: 14px;
    }

    .lista-servicios li {
        font-size: 13px;
    }
}

/* =========================
   🔷 SECCIÓN COBERTURA
========================= */

#features12-5 {
    background-color: #EEF2F6;
    padding: 60px 30px;
}

/* TÍTULO PÍLDORA */
.titulo-cobertura {
    display: inline-block;
    background-color: #DCE3EC;
    padding: 10px 30px;
    border-radius: 30px;
    color: #1E4F8B;
    font-size: 16px;
}

/* MAPA */
.mapa-wrapper img {
    width: 100%;
    opacity: 0.9;
}

/* PANEL DERECHO */
.panel-cobertura {
    padding: 20px 30px;
}

/* BLOQUES */
.bloque {
    margin-bottom: 25px;
    position: relative;
}

    /* LÍNEA DIVISORA */
    .bloque::after {
        content: "";
        display: block;
        height: 1px;
        background: #cfd8e3;
        margin-top: 15px;
    }

    /* PUNTO DERECHO */
    .bloque::before {
        content: "";
        position: absolute;
        right: 0;
        top: 28px;
        width: 8px;
        height: 8px;
        background: #1E4F8B;
        border-radius: 50%;
    }

    /* TÍTULO BLOQUE */
    .bloque h6 {
        font-size: 16px;
        font-weight: bold;
        color: #1E4F8B;
        margin-bottom: 10px;
    }

    /* LISTA */
    .bloque ul {
        padding-left: 18px;
    }

    .bloque li {
        margin-bottom: 6px;
        font-size: 14px;
        color: #2c3e50;
    }

/* =========================
   📱 RESPONSIVE
========================= */

@media (max-width: 768px) {

    #features12-5 {
        padding: 40px 15px;
    }

    .panel-cobertura {
        padding: 20px 10px;
    }

    .bloque h6 {
        font-size: 15px;
    }

    .bloque li {
        font-size: 13px;
    }
}

/* CONTENEDOR RELATIVO */
#features12-5 .panel-cobertura {
    position: relative;
    padding: 20px 30px;
}

/* =========================
   📍 ICONO JUNTO AL TÍTULO (COBERTURA)
========================= */

#features12-5 .titulo-con-icono {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #1E4F8B;
    margin-bottom: 10px;
}

    /* ICONO */
    #features12-5 .titulo-con-icono img {
        width: 84px;
        height: auto;
        /* ❌ QUITA ESTO */
        /* filter: brightness(0) invert(1); */
        /* opcional */
        display: block;
    }

@media (max-width: 768px) {

    #features12-5 .titulo-con-icono {
        font-size: 14px;
        gap: 8px;
    }

        #features12-5 .titulo-con-icono img {
            width: 32px;
            padding: 5px;
        }
}
/* =========================
   🔷 SECCIÓN SOCIOS
========================= */

#clients1-4 {
    font-family: 'GoudyOldStyleT-Regular', serif;
}

    /* TÍTULO */
    #clients1-4 .mbr-section-title {
        font-family: 'GoudyOldStyleT-Regular', serif !important;
        font-size: clamp(24px, 3vw, 42px);
        letter-spacing: 1px;
    }

    /* CENTRADO */
    /*#clients1-4 .mbr-section-head {
        text-align: center;
    }*/
    /* LOGOS */
    /*#clients1-4 .card {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        background: #fff;
        border-radius: 12px;
        transition: 0.3s;
    }

        #clients1-4 .card:hover {
            transform: translateY(-5px);
        }*/

    /* IMÁGENES */
    /*#clients1-4 img {
        max-width: 140px;
        width: 100%;
        height: auto;
        opacity: 0.85;
        transition: 0.3s;
    }

        #clients1-4 img:hover {
            opacity: 1;
        }*/

/* =========================
   🔥 SECCIÓN SOCIOS PREMIUM
========================= */

#clients1-4 {
    background: #F5F7FA;
    padding: 60px 30px;
    font-family: 'GoudyOldStyleT-Regular', serif;
}

    /* TÍTULO */
    #clients1-4 .mbr-section-title {
        font-size: clamp(26px, 3vw, 42px);
        letter-spacing: 1px;
        margin-bottom: 30px;
    }

    /* GRID MODERNO */
    #clients1-4 .socios-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }

    /* TARJETAS */
    #clients1-4 .card {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 25px;
        background: #ffffff;
        border-radius: 14px;
        border: 1px solid #e5eaf0;
        transition: all 0.35s ease;
    }

        /* EFECTO HOVER */
        #clients1-4 .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 35px rgba(0,0,0,0.08);
        }

    /* LOGOS */
    #clients1-4 img {
        max-width: 140px;
        width: 100%;
        height: auto;
        filter: grayscale(100%) opacity(0.7);
        transition: all 0.35s ease;
    }

    /* HOVER LOGO */
    #clients1-4 .card:hover img {
        filter: grayscale(0%) opacity(1);
        transform: scale(1.05);
    }

    /* =========================
   ✨ ANIMACIÓN ENTRADA
========================= */

    #clients1-4 .card {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeUp 0.6s ease forwards;
    }

        #clients1-4 .card:nth-child(1) {
            animation-delay: 0.1s;
        }

        #clients1-4 .card:nth-child(2) {
            animation-delay: 0.2s;
        }

        #clients1-4 .card:nth-child(3) {
            animation-delay: 0.3s;
        }

        #clients1-4 .card:nth-child(4) {
            animation-delay: 0.4s;
        }

        #clients1-4 .card:nth-child(5) {
            animation-delay: 0.5s;
        }

        #clients1-4 .card:nth-child(6) {
            animation-delay: 0.6s;
        }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   📱 RESPONSIVE
========================= */

@media (max-width: 992px) {
    #clients1-4 .socios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    #clients1-4 {
        padding: 40px 15px;
    }

        #clients1-4 .socios-grid {
            grid-template-columns: 1fr;
        }

        #clients1-4 img {
            max-width: 120px;
        }
}

/* =========================
   🔷 FOOTER TIPOGRAFÍA
========================= */

#footer4-f {
    font-family: 'GoudyOldStyleT-Regular', serif;
}

    /* TÍTULOS */
    #footer4-f .mbr-section-title,
    #footer4-f .mbr-section-subtitle {
        font-family: 'GoudyOldStyleT-Regular', serif !important;
    }

    /* TEXTOS */
    #footer4-f .mbr-text,
    #footer4-f .list,
    #footer4-f .item-wrap {
        font-family: 'GoudyOldStyleT-Regular', serif !important;
    }

    /* COPYRIGHT */
    #footer4-f .copyright {
        font-family: 'GoudyOldStyleT-Regular', serif !important;
    }


/* =========================
   🔷 MENÚ (TIPOGRAFÍA SAACC)
========================= */

#menu1-2,
#menu1-2 .navbar,
#menu1-2 .nav-link,
#menu1-2 .navbar-caption {
    font-family: 'GoudyOldStyleT-Regular', serif !important;
}
/* =========================
   🔷 FOOTER FINAL PRO
========================= */

/* =========================
   🔷 FOOTER BASE
========================= */

#footer4-f {
    position: relative;
    overflow: hidden;
}

    /* =========================
   🌊 OVERLAY (CORREGIDO)
========================= */

    #footer4-f .mbr-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* 🔥 más sólido = blanco real */
        background: linear-gradient( to bottom, rgba(20,30,50,0.85), rgba(10,20,40,0.95) );
    }

    /* =========================
   📦 CONTENIDO ENCIMA
========================= */

    #footer4-f .container,
    #footer4-f .mbr-section-head,
    #footer4-f .text-center {
        position: relative;
        z-index: 2;
    }

    /* =========================
   ✨ TEXTO GENERAL BLANCO
========================= */

    #footer4-f * {
        color: #ffffff !important;
    }

    /* =========================
   🔤 TIPOGRAFÍA
========================= */

    #footer4-f .mbr-section-title,
    #footer4-f .mbr-section-subtitle,
    #footer4-f .mbr-text,
    #footer4-f .titulo-contacto {
        font-family: 'GoudyOldStyleT-Regular', serif !important;
    }

    /* =========================
   🏷️ TÍTULO CONTACTO (PÍLDORA)
========================= */

    #footer4-f .titulo-contacto {
        display: inline-block;
        background-color: #1E4F8B;
        padding: 10px 30px;
        border-radius: 30px;
        font-size: clamp(14px, 2vw, 18px);
        letter-spacing: 1px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.4);
        text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    }

    /* =========================
   🧠 TÍTULO PRINCIPAL
========================= */

    #footer4-f .mbr-section-title {
        margin-bottom: 40px;
        text-shadow: 0 4px 15px rgba(0,0,0,0.7);
    }

    /* =========================
   📄 TEXTOS
========================= */

    #footer4-f .mbr-text {
        line-height: 1.6;
        opacity: 0.95;
    }

    /* =========================
   🖼️ LOGO
========================= */

    /*#footer4-f .media-wrap img {
        max-width: 140px;
        filter: brightness(0) invert(1);*/ /* blanco */
    /*}*/
    #footer4-f .media-wrap img {
        max-width: 140px;
        height: auto;
    }

/* =========================
   📱 RESPONSIVE
========================= */

@media (max-width: 768px) {

    #footer4-f .mbr-section-title {
        font-size: 22px !important;
        text-align: center;
    }

    #footer4-f .titulo-contacto {
        font-size: 14px;
        padding: 8px 20px;
    }

    #footer4-f .mbr-text {
        font-size: 14px;
    }

    #footer4-f .media-wrap img {
        max-width: 100px;
        margin: 0 auto;
        display: block;
    }
}