/*
 * SODEPSIN — Sitio Institucional
 * Azul oscuro: #293278 | Cyan: #34BACC | Amarillo: #FFD800
 * Fuente: Montserrat
 */

/* ========================================================
   RESET & BASE
   ======================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Montserrat', sans-serif; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

:root {
    --azul:  #293278;
    --cyan:  #34BACC;
    --gris:  #f5f7fa;
    --borde: #e4e9f2;
    --texto: #555;
    --r: 10px;
}

/* ========================================================
   PÁRRAFOS — JUSTIFICADO + SANGRÍA GLOBAL
   ======================================================== */
section p, .container p { text-align: justify; text-indent: 1.1em; }
footer p { text-align: justify; }

/* Excluir sangría en párrafos utilitarios cortos */
footer p,
.s-footer-desc,
nav p,
.s-serv-banner-sub,
[style*="font-size:.6"],
[style*="font-size:.66"],
[style*="font-size:.68"],
[style*="font-size:.72"] { text-indent: 0; }

/* ========================================================
   NAVBAR — FONDO BLANCO
   ======================================================== */
.s-nav {
    background: #fff;
    border-bottom: 1px solid var(--borde);
    padding: 0.55rem 0;
    position: sticky; top: 0; z-index: 1050;
    box-shadow: 0 1px 8px rgba(41,50,120,0.06);
}
.s-nav-logo { height: 60px; object-fit: contain; }
.s-nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333 !important;
    padding: 0.4rem 0.9rem !important;
    border-radius: 5px;
    transition: color .18s;
}
.s-nav-link:hover, .s-nav-link.active { color: var(--cyan) !important; }
.s-nav-acceso {
    background: var(--azul);
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.45rem 1.15rem;
    border-radius: 6px;
    transition: background .18s;
}
.s-nav-acceso:hover { background: var(--cyan); color: var(--azul) !important; }
.navbar-toggler { border: none !important; box-shadow: none !important; }

/* ========================================================
   HOME — HERO
   ======================================================== */
.s-hero { padding: 3rem 0; background: #fff; }

/* Bloque azul izquierdo */
.s-hero-bloque {
    background: var(--azul);
    border-radius: var(--r);
    min-height: 390px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.s-hero-bloque img {
    width: 100%; height: 100%;
    min-height: 390px;
    object-fit: cover;
    display: block;
}

/* Contenido derecho */
.s-hero-contenido { padding-left: 2.5rem; }
.s-hero-overline {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--cyan);
    display: block;
    margin-bottom: 0.75rem;
}
.s-hero-titulo {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--azul);
    line-height: 1.25;
    margin-bottom: 1rem;
}
.s-hero-titulo span { color: var(--cyan); }
.s-hero-texto {
    font-size: 0.875rem;
    color: var(--texto);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}
.s-hero-logo-badge {
    width: 58px; height: 58px;
    border-radius: 50%;
    border: 2px solid var(--borde);
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}
.s-hero-logo-badge img { width: 100%; height: 100%; object-fit: contain; }

/* Botones hero */
.s-btn-cyan {
    display: inline-block;
    background: var(--cyan);
    color: var(--azul) !important;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.6rem 1.5rem;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    transition: background .18s;
    text-align: center;
}
.s-btn-cyan:hover { background: #2aaab8; }

.s-btn-wa-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #25D366;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.6rem 1.25rem;
    border-radius: 7px;
    transition: background .18s;
}
.s-btn-wa-hero:hover { background: #1ebe5d; }

/* ========================================================
   STATS BAR
   ======================================================== */
.s-stats {
    background: var(--azul);
    padding: 1.75rem 0;
}
.s-stat { text-align: center; padding: 0.5rem 1rem; }
.s-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.s-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.72);
    margin-top: 0.3rem;
    line-height: 1.35;
}

/* ========================================================
   MISIÓN / VISIÓN
   ======================================================== */
.s-mv {
    background: var(--gris);
    padding: 3.5rem 0;
}
.s-mv-titulo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--azul);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}
.s-mv-linea {
    width: 40px; height: 3px;
    background: var(--cyan);
    border-radius: 2px;
    margin-bottom: 1rem;
}
.s-mv-texto {
    font-size: 0.875rem;
    color: var(--texto);
    line-height: 1.8;
}

/* ========================================================
   NUESTROS VALORES
   ======================================================== */
.s-valores {
    background: #fff;
    padding: 3.5rem 0;
    border-top: 1px solid var(--borde);
}
.s-valores-overline {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--cyan);
    display: block;
    text-align: center;
    margin-bottom: 0.4rem;
}
.s-valores-titulo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--azul);
    text-align: center;
    margin-bottom: 0.5rem;
}
.s-linea-centro {
    width: 48px; height: 4px;
    background: var(--cyan);
    border-radius: 2px;
    margin: 0 auto 2rem;
}
.s-valor {
    padding: 1rem 0;
    border-bottom: 1px solid var(--borde);
}
.s-valor:last-child { border-bottom: none; }
.s-valor-nombre {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 0.25rem;
}
.s-valor-desc {
    font-size: 0.85rem;
    color: var(--texto);
    line-height: 1.65;
}

/* ========================================================
   ALIANZAS ESTRATÉGICAS (HOME)
   ======================================================== */
.s-alianzas {
    background: #fff;
    padding: 3.5rem 0;
}
.s-seccion-titulo {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 0.4rem;
}
.s-seccion-titulo span { color: var(--cyan); }
.s-seccion-subtitulo {
    font-size: 0.88rem;
    color: var(--texto);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}
.s-alianza-card {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--r);
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 16px rgba(41,50,120,0.08);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.s-alianza-logo {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 2px solid var(--borde);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    overflow: hidden;
    background: var(--gris);
}
.s-alianza-logo img { max-width: 64px; max-height: 64px; object-fit: contain; }
.s-alianza-logo .bi { font-size: 2rem; color: var(--azul); }
.s-tag-collab {
    display: inline-block;
    background: var(--cyan);
    color: var(--azul);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.65rem;
}
.s-alianza-nombre {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}
.s-alianza-desc {
    font-size: 0.82rem;
    color: var(--texto);
    line-height: 1.7;
    flex-grow: 1;
}
.s-btn-wa-card {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #25D366;
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.45rem 1rem;
    border-radius: 7px;
    margin-top: 1rem;
    transition: background .18s;
}
.s-btn-wa-card:hover { background: #1ebe5d; }
.s-btn-azul {
    display: inline-block;
    background: var(--azul);
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.65rem 2rem;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    transition: background .18s;
    text-align: center;
}
.s-btn-azul:hover { background: #1e266b; }

/* ========================================================
   NUESTROS CLIENTES (HOME)
   ======================================================== */
.s-clientes {
    background: var(--gris);
    padding: 3.5rem 0;
}
.s-cliente-logo {
    padding: 0.75rem;
    filter: grayscale(30%);
    opacity: 0.75;
    transition: all .2s;
    text-align: center;
}
.s-cliente-logo:hover { filter: grayscale(0); opacity: 1; }
.s-cliente-logo img { max-height: 62px; width: auto; max-width: 110px; object-fit: contain; margin: 0 auto; }

/* ========================================================
   SERVICIOS — BANNER CYAN
   ======================================================== */
.s-serv-banner {
    background: var(--cyan);
    padding: 1.5rem 0;
    text-align: center;
}
.s-serv-banner-h {
    font-size: 1rem;
    font-weight: 800;
    color: var(--azul);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.s-serv-banner-sub {
    font-size: 0.85rem;
    color: var(--azul);
    opacity: 0.8;
    margin-top: 0.2rem;
}
.s-serv-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--azul);
    line-height: 1.15;
}
.s-serv-heading span { color: var(--cyan); font-style: italic; }
.s-badge-activos {
    display: inline-block;
    background: var(--azul);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 20px;
}

/* Tabs */
.s-tabs { border: none; gap: 0.4rem; }
.s-tab {
    background: transparent;
    border: 2px solid var(--azul);
    color: var(--azul);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.4rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all .18s;
    font-family: 'Montserrat', sans-serif;
}
.s-tab.active, .s-tab:hover { background: var(--azul); color: #fff; }

/* Curso cards */
.s-course-card {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(41,50,120,0.08);
    transition: all .2s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.s-course-card:hover { box-shadow: 0 8px 32px rgba(41,50,120,0.16); transform: translateY(-2px); }
.s-course-img { width: 100%; height: 175px; object-fit: cover; display: block; }
.s-course-img-ph {
    width: 100%; height: 175px;
    background: linear-gradient(135deg, var(--azul), #1a2060);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.15); font-size: 3rem;
}
.s-badge-dest {
    position: absolute; top: 10px; left: 10px;
    background: #FFD800; color: var(--azul);
    font-size: 0.6rem; font-weight: 800;
    padding: 0.15rem 0.5rem; border-radius: 4px;
    letter-spacing: 0.4px; text-transform: uppercase;
}
.s-badge-num {
    position: absolute; top: 10px; right: 10px;
    background: rgba(41,50,120,0.85); color: #fff;
    font-size: 0.68rem; font-weight: 800;
    padding: 0.15rem 0.5rem; border-radius: 4px;
}
.s-badge-num span { color: var(--cyan); }
.s-course-body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex; flex-direction: column; flex-grow: 1;
}
.s-course-titulo {
    font-size: 0.875rem; font-weight: 800; color: var(--azul);
    line-height: 1.3; margin-bottom: 0.4rem;
}
.s-course-desc {
    font-size: 0.76rem; color: #666; line-height: 1.6;
    margin-bottom: 0.75rem; flex-grow: 1;
    text-align: justify;
}
.s-course-aval { font-size: 0.72rem; color: #888; margin-bottom: 0.65rem; }
.s-course-meta { margin-bottom: 0.75rem; }
.s-course-meta-fila {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 0.75rem; color: #666; margin-bottom: 0.2rem;
}
.s-pill-nar {
    background: #ff6b35; color: #fff;
    font-size: 0.62rem; font-weight: 700;
    padding: 0.12rem 0.5rem; border-radius: 10px;
}
.s-pill-az {
    background: var(--azul); color: #fff;
    font-size: 0.62rem; font-weight: 700;
    padding: 0.12rem 0.5rem; border-radius: 10px;
}
.s-course-precio-lbl { font-size: 0.7rem; color: #888; }
.s-course-precio {
    font-size: 1.25rem; font-weight: 800; color: var(--azul);
    margin-bottom: 0.65rem;
}
.s-btn-ver-curso {
    display: block; width: 100%;
    background: var(--azul); color: #fff !important;
    font-size: 0.82rem; font-weight: 700;
    padding: 0.6rem; border-radius: 7px; border: none;
    text-align: center; cursor: pointer; transition: background .18s;
    font-family: 'Montserrat', sans-serif;
}
.s-btn-ver-curso:hover { background: var(--cyan); color: var(--azul) !important; }
.s-prog-card { border-top: 3px solid var(--cyan); }

/* WhatsApp lateral */
.s-wa-lateral {
    position: fixed; right: 0; top: 50%;
    transform: translateY(-50%);
    background: #25D366; color: #fff;
    display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
    padding: 0.85rem 0.55rem;
    border-radius: 10px 0 0 10px;
    z-index: 900; font-size: 0.6rem; font-weight: 700;
    line-height: 1.2; text-align: center;
    box-shadow: -2px 4px 16px rgba(37,211,102,0.35);
    transition: all .2s;
}
.s-wa-lateral i { font-size: 1.35rem; }
.s-wa-lateral:hover { background: #1ebe5d; color: #fff; }

/* ========================================================
   ALIANZAS PAGE
   ======================================================== */
.s-alianza-card-h {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--r);
    padding: 1.75rem 2rem;
    box-shadow: 0 2px 16px rgba(41,50,120,0.08);
}
.s-alianza-h-titulo {
    font-size: 1.2rem; font-weight: 800; color: var(--azul); margin-bottom: 0.4rem;
}
.s-alianza-h-desc {
    font-size: 0.875rem; color: var(--texto); line-height: 1.7;
}
.s-alianza-logo-round {
    width: 80px; height: 80px;
    border-radius: 50%; border: 2px solid var(--borde);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto; overflow: hidden; background: var(--gris);
}
.s-alianza-logo-round img { max-width: 64px; max-height: 64px; object-fit: contain; }
.s-alianza-logo-round .bi { font-size: 2rem; color: var(--azul); }

/* Cliente cards (alianzas page) */
.s-cliente-card {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--r);
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 16px rgba(41,50,120,0.08);
}
.s-cliente-card-titulo {
    font-size: 1.1rem; font-weight: 800; color: var(--azul); margin-bottom: 0.35rem;
}
.s-tag {
    display: inline-block; font-size: 0.62rem; font-weight: 800;
    letter-spacing: 0.8px; text-transform: uppercase;
    padding: 0.18rem 0.65rem; border-radius: 20px; margin-bottom: 0.6rem;
}
.s-tag-inst { background: #34BACC; color: #fff; }
.s-tag-hum  { background: #fde8e8; color: #c0392b; }
.s-tag-rest { background: #fef3e2; color: #d35400; }
.s-tag-ali  { background: #e8f8f0; color: #1e8449; }
.s-tag-vet  { background: #e0f7fa; color: #006064; }
.s-tag-mun  { background: #ede7f6; color: #5e35b1; }
.s-tag-acc  { background: #e3f2fd; color: #1565c0; }
.s-cliente-card-desc { font-size: 0.85rem; color: var(--texto); line-height: 1.7; }
.s-cliente-card-logo { max-height: 70px; max-width: 110px; object-fit: contain; }

/* ========================================================
   CONTACTO
   ======================================================== */
.s-contact-box {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--r);
    padding: 2rem;
    box-shadow: 0 2px 16px rgba(41,50,120,0.08);
    height: 100%;
}
.s-contact-logo { height: 46px; object-fit: contain; }
.s-contact-tagline {
    font-size: 0.88rem; font-weight: 700; color: var(--azul);
    text-align: center; line-height: 1.4;
}
.s-contact-row {
    display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 0.85rem;
}
.s-contact-icon {
    width: 32px; height: 32px; min-width: 32px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem;
}
.s-ci-loc   { background: #e8ecf8; color: var(--azul); }
.s-ci-mail  { background: #e8ecf8; color: var(--azul); }
.s-ci-tel   { background: #e0f7fa; color: var(--cyan); }
.s-ci-hora  { background: #e8ecf8; color: var(--azul); }
.s-contact-lbl { font-size: 0.7rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 0.4px; }
.s-contact-val { font-size: 0.85rem; font-weight: 600; color: var(--azul); }
.s-contact-val a { color: var(--azul); }
.s-social-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--gris);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--azul);
    transition: all .18s;
}
.s-social-btn:hover { background: var(--cyan); color: #fff; }
.s-social-wa { background: #25D366 !important; color: #fff !important; }

/* Formulario contacto */
.s-form-box {
    background: #fff;
    border: 1px solid var(--borde);
    border-radius: var(--r);
    padding: 2rem 2.25rem;
    box-shadow: 0 2px 16px rgba(41,50,120,0.08);
}
.s-form-titulo { font-size: 1.2rem; font-weight: 800; color: var(--azul); margin-bottom: 0.2rem; }
.s-form-sub { font-size: 0.84rem; color: #888; margin-bottom: 1.5rem; }
.s-label {
    display: block; font-size: 0.78rem; font-weight: 700;
    color: var(--azul); margin-bottom: 0.35rem;
}
.s-input {
    width: 100%; padding: 0.65rem 1rem;
    border: 1.5px solid var(--borde); border-radius: 8px;
    font-family: 'Montserrat', sans-serif; font-size: 0.875rem; color: #333;
    outline: none; transition: border .18s; background: #fff;
}
.s-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(52,186,204,0.12); }
.s-input::placeholder { color: #bbb; }
.s-textarea { min-height: 120px; resize: vertical; }
.s-char { font-size: 0.72rem; color: #aaa; text-align: right; margin-top: 0.25rem; }
.s-btn-enviar {
    display: block; width: 100%;
    background: #293278; color: #fff !important;
    font-size: 0.95rem; font-weight: 800; padding: 0.85rem;
    border: none; border-radius: 8px; cursor: pointer;
    transition: background .18s; text-align: center;
    font-family: 'Montserrat', sans-serif;
}
.s-btn-enviar:hover { background: #1e266b; }
.s-alert-ok {
    background: #e8f8f0; border: 1px solid #b0e0c8; color: #1e6b40;
    border-radius: 8px; padding: 0.8rem 1.1rem; font-size: 0.875rem;
    font-weight: 600; margin-bottom: 1.25rem;
}

/* ========================================================
   CERTIFICADOS
   ======================================================== */
.s-cert-hero { background: #fff; padding: 2.25rem 0 0.85rem; text-align: center; }
.s-cert-titulo {
    font-size: 2rem; font-weight: 900; color: var(--azul); margin-bottom: 0.65rem;
}
.s-cert-titulo span { color: var(--cyan); }
.s-cert-sub {
    font-size: 0.95rem; color: #475569; font-weight: 500; max-width: 620px; margin: 0 auto; line-height: 1.65;
}
.s-cert-caja {
    background: #fff; border-radius: var(--r); padding: 1.8rem 2.5rem 2.35rem;
    border: 1px solid rgba(41,50,120,0.10);
    box-shadow: 0 24px 58px rgba(41,50,120,0.16), 0 8px 18px rgba(52,186,204,0.08);
}
.s-cert-caja-lbl {
    font-size: 0.78rem; font-weight: 800; color: var(--azul);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem;
}
.s-cert-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.s-cert-tab-lbl { cursor: pointer; }
.s-cert-tab-lbl input[type="radio"] { display: none; }
.s-cert-tab-lbl span {
    display: inline-flex; align-items: center; gap: 0.3rem;
    font-size: 0.82rem; font-weight: 700;
    padding: 0.55rem 1.25rem; border-radius: 6px;
    border: 2px solid #d1d5db;
    color: #6b7280; transition: all .18s; cursor: pointer; user-select: none;
}
.s-cert-tab-lbl input:checked + span {
    background: var(--azul); color: #fff; border-color: var(--azul);
}
.s-cert-tab-lbl:hover span { border-color: var(--azul); color: var(--azul); }
.s-cert-input-blanco {
    width: 100%; padding: 0.7rem 1rem;
    border: 1px solid #d1d5db; border-radius: 8px;
    font-family: 'Montserrat', sans-serif; font-size: 0.875rem; font-weight: 500; color: #1f2937;
    outline: none; background: #f9fafb; margin-bottom: 0.65rem;
}
.s-cert-input-blanco:focus { border-color: var(--cyan); background: #fff; }
.s-cert-input-blanco::placeholder { color: #667085; opacity: 1; }
.s-cert-row2 { display: flex; gap: 0.65rem; margin-bottom: 1rem; }
.s-cert-input-cod {
    flex: 1; padding: 0.7rem 1rem;
    border: 1px solid #d1d5db; border-radius: 8px;
    font-family: 'Montserrat', sans-serif; font-size: 0.875rem; color: #333;
    outline: none; background: #f9fafb;
}
.s-cert-input-cod::placeholder { color: #aaa; }
.s-cert-badge-cod {
    display: flex; align-items: center; gap: 0.5rem;
    background: var(--azul);
    border: 2px solid var(--azul);
    border-radius: 8px; padding: 0.5rem 1rem;
    color: #fff; font-weight: 800; font-size: 0.95rem;
    white-space: nowrap; cursor: pointer;
}
.s-cert-acciones { display: flex; gap: 0.65rem; }
.s-btn-buscar {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: #293278; color: #fff !important;
    font-size: 0.875rem; font-weight: 800; padding: 0.65rem 1.75rem;
    border-radius: 8px; border: none; cursor: pointer;
    font-family: 'Montserrat', sans-serif; transition: background .18s;
}
.s-btn-buscar:hover { background: #1e266b; }
.s-btn-limpiar {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: #293278; color: #fff !important;
    font-size: 0.875rem; font-weight: 700; padding: 0.65rem 1.5rem;
    border-radius: 8px; border: 2px solid #293278;
    cursor: pointer; font-family: 'Montserrat', sans-serif; transition: all .18s;
}
.s-btn-limpiar:hover { background: #1e266b; border-color: #1e266b; }

/* Resultado cert */
.s-cert-result {
    background: #fff; border-radius: var(--r);
    border: 1px solid var(--borde); box-shadow: 0 2px 16px rgba(41,50,120,0.08);
    overflow: hidden; margin-top: 1.5rem;
}
.s-cert-ok  { border-top: 4px solid var(--cyan); }
.s-cert-err { border-top: 4px solid #dc3545; }
.s-cert-result-head {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.1rem 1.5rem; background: var(--gris); border-bottom: 1px solid var(--borde);
}
.s-cert-result-head .bi { font-size: 2rem; color: var(--cyan); }
.s-cert-result-head h4 { font-size: 0.95rem; font-weight: 800; color: var(--azul); margin: 0; }
.s-cert-result-head small { color: #888; font-size: 0.75rem; }
.s-cert-result-body { padding: 1.25rem 1.5rem; }
.s-cf-label { display: block; font-size: 0.68rem; font-weight: 700; color: #999; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 0.15rem; }
.s-cf-val { font-size: 0.9rem; font-weight: 700; color: var(--azul); }
.s-cf-nota { color: var(--cyan); }
.s-cert-result-foot { padding: 0.9rem 1.5rem; border-top: 1px solid var(--borde); background: var(--gris); }

/* Excelencia */
.s-cert-excel-h {
    font-size: 1.85rem; font-weight: 800; color: var(--azul); text-align: center; margin-bottom: 0.75rem;
}
.s-cert-excel-h span { color: var(--cyan); }
.s-feat { padding: 1.25rem 0; border-bottom: 1px solid var(--borde); }
.s-feat:last-child { border-bottom: none; }
.s-feat-titulo { font-size: 0.92rem; font-weight: 800; color: var(--azul); margin-bottom: 0.35rem; }
.s-feat-desc { font-size: 0.84rem; color: var(--texto); line-height: 1.65; }
.s-cert-count { padding-top: 1.25rem; margin-top: 0.5rem; border-top: 1px solid var(--borde); font-size: 0.85rem; color: #666; }
.s-cert-prev-lbl { font-size: 0.78rem; font-weight: 700; color: var(--azul); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 0.4rem; }
.s-cert-prev-img { width: 100%; border-radius: 8px; border: 1px solid var(--borde); box-shadow: 0 2px 16px rgba(41,50,120,0.08); margin-bottom: 1.25rem; }

/* ========================================================
   FOOTER
   ======================================================== */
.s-footer { background: var(--azul); padding: 3rem 0 0; }
.s-footer-logo { height: 40px; object-fit: contain; }
.s-footer-desc { font-size: 0.8rem; color: rgba(255,255,255,0.58); line-height: 1.7; }
.s-footer-titulo { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 0.9rem; }
.s-footer-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.s-footer-list li, .s-footer-list a { font-size: 0.8rem; color: rgba(255,255,255,0.58); transition: color .18s; }
.s-footer-list a:hover { color: var(--cyan); }
.s-footer-edu { background: rgba(255,255,255,0.07); border-radius: 8px; padding: 1.1rem; }
.s-footer-edu-icon { font-size: 1.35rem; color: var(--cyan); margin-bottom: 0.4rem; }
.s-footer-edu-titulo { font-size: 0.8rem; font-weight: 800; color: #fff; margin-bottom: 0.3rem; }
.s-footer-edu-sub { font-size: 0.72rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.s-footer-hr { border-color: rgba(255,255,255,0.1); margin: 2rem 0 1.1rem; }
.s-footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.5rem; padding-bottom: 1.5rem;
    font-size: 0.75rem; color: rgba(255,255,255,0.42);
}
.s-footer-bottom-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.s-footer-bottom-links a { color: rgba(255,255,255,0.42); transition: color .18s; }
.s-footer-bottom-links a:hover { color: var(--cyan); }
.s-footer-social {
    width: 30px; height: 30px;
    background: rgba(255,255,255,0.1); border-radius: 6px;
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7); font-size: 0.88rem; transition: all .18s;
}
.s-footer-social:hover { background: var(--cyan); color: var(--azul); }

/* ========================================================
   WhatsApp FAB
   ======================================================== */
.s-fab-wa {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    width: 52px; height: 52px;
    background: #25D366; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 18px rgba(37,211,102,0.45);
    z-index: 9999; transition: all .2s;
}
.s-fab-wa:hover { background: #1ebe5d; transform: scale(1.1); color: #fff; }

/* ========================================================
   SECTIONS
   ======================================================== */
.s-sec-white { background: #fff; padding: 3.5rem 0; }
.s-sec-gray  { background: var(--gris); padding: 3.5rem 0; }

/* ========================================================
   RESPONSIVE
   ======================================================== */
@media (max-width: 991px) {
    .s-hero-contenido { padding-left: 0; padding-top: 1.5rem; }
    .s-serv-heading { font-size: 1.5rem; }
    .s-cert-titulo { font-size: 1.5rem; }

    /* Navbar: logo tablet/móvil */
    .s-nav .navbar-brand img { height: 78px !important; }
}

/* ── Tablet (768–991 px) ── */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Contenedor: margen interno consistente */
    .container { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

    /* Reducir padding de secciones con estilo inline */
    section[style*="padding:4rem 0"]   { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    section[style*="padding:3.5rem 0"] { padding-top: 2.25rem !important; padding-bottom: 2.25rem !important; }
    section[style*="padding:3rem 0"]   { padding-top: 2rem !important;   padding-bottom: 2rem !important; }
    section[style*="padding:2.25rem 0"]{ padding-top: 1.5rem !important;  padding-bottom: 1.5rem !important; }

    /* FRANJA 3 tablet: imagen más pequeña para no dominar */
    .s-franja3-img img { max-height: 280px; object-fit: cover; }
}

/* ── Móvil (< 768 px) ── */
@media (max-width: 767.98px) {
    .s-hero { padding: 2rem 0; }
    .s-hero-bloque { min-height: 220px; }
    .s-hero-bloque img { min-height: 220px; }
    .s-mv { padding: 2.5rem 0; }
    .s-valores { padding: 2.5rem 0; }
    .s-alianzas, .s-clientes { padding: 2.5rem 0; }
    .s-stats { padding: 1.25rem 0; }
    .s-stat-num { font-size: 1.25rem; }
    .s-cert-caja { padding: 1.5rem; }
    .s-cert-row2 { flex-direction: column; }
    .s-form-box { padding: 1.5rem; }
    .s-footer-bottom { flex-direction: column; text-align: center; }

    /* Navbar logo móvil */
    .s-nav .navbar-brand img { height: 64px !important; }

    /* Contenedor: sangría horizontal móvil (más margen interno) */
    .container { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }

    /* Secciones home: reducir padding inline */
    section[style*="padding:4rem 0"]   { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
    section[style*="padding:3.5rem 0"] { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
    section[style*="padding:3rem 0"]   { padding-top: 1.5rem !important;  padding-bottom: 1.5rem !important; }
    section[style*="padding:2.25rem 0"]{ padding-top: 1.1rem !important;  padding-bottom: 1.1rem !important; }

    /* H2 títulos de sección: escala en móvil */
    section h2[style*="font-size:2.2rem"] { font-size: 1.4rem !important; }
    section h2[style*="font-size:2rem"]   { font-size: 1.3rem !important; }
    section h2[style*="font-size:1.65rem"]{ font-size: 1.15rem !important; }

    /* FRANJA 3: ocultar imagen en móvil (texto ocupa ancho completo) */
    .s-franja3-img { display: none !important; }
    .s-franja3-txt { padding-top: 0 !important; }

    /* Reducir mb en el último párrafo de franja 3 */
    .s-franja3-txt p[style*="margin-bottom:2rem"] { margin-bottom: 1rem !important; }

    /* Estadísticas (franja indicadores) */
    .col-6.col-md-3[style*="padding:1.5rem 1rem"] { padding: 0.85rem 0.4rem !important; }

    /* Cards alianzas home: apilar logo arriba en móvil */
    .col-md-6 > div[style*="display:flex;align-items:center;gap:1.4rem"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .col-md-6 > div[style*="display:flex;align-items:center;gap:1.4rem"] img {
        margin-bottom: 0.75rem;
        align-self: center;
    }
    .col-md-6 > div[style*="display:flex;align-items:center;gap:1.4rem"] > div {
        padding-left: 0 !important;
    }

    /* Footer: columnas apiladas */
    footer .col-6     { width: 100% !important; }
    footer .col-lg-2  { width: 100% !important; }
    footer .col-lg-3  { width: 100% !important; }
    footer .col-lg-4  { width: 100% !important; }

    /* Footer bottom: centrar en móvil */
    footer > div[style*="display:flex;flex-wrap:wrap;justify-content:space-between"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
}
