/* =========================
   RESET / BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF8C42;
    --primary-yellow: #FFD700;
    --primary-blue: #4A9FD8;
    --dark-blue: #1A3C5E;
    --white: #ffffff;

    /* compat */
    --azul: var(--primary-blue);
    --naranja: var(--primary-orange);
    --amarillo: var(--primary-yellow);
    --blanco: var(--white);

    /* extras */
    --border-soft: 1px solid rgba(26, 60, 94, .10);
    --navH: 90px;
}

html {
    scroll-behavior: smooth;
    font-size: clamp(14px, 1.1vw, 16px);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #fff;
    line-height: 1.45;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: min(1200px, 92vw);
}

/* =========================
   NAVBAR (3 columnas + logo centro)
========================= */
#navbar.navbar {
    height: var(--navH);
    display: flex;
    align-items: center;

    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1200;

    padding: 14px 0;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

/* Grid 3 columnas */
#navbar .nav3 {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

/* Menús */
#navbar .nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

#navbar .nav-left {
    justify-content: flex-start;
}

#navbar .nav-right {
    justify-content: flex-end;
}

/* Links */
#navbar .nav-menu a {
    text-decoration: none;
    font-weight: 800;
    font-size: .90rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

/* Activo (línea) */
#navbar .nav-menu a.active {
    position: relative;
}

#navbar .nav-menu a.active::after {
    content: "";
    position: absolute;
    left: 12%;
    bottom: 3px;
    width: 76%;
    height: 3px;
    border-radius: 999px;
}

/* LOGO CENTRO */
#navbar .nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
}

#navbar .nav-logo img {
    height: 74px;
    width: auto;
    opacity: 1 !important;
    visibility: visible !important;
    transition: height .2s ease, transform .2s ease, opacity .2s ease;
    filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 4px #ffffff);
}

/* =========================
   NAVBAR LIGHT (para páginas claras) ✅
========================= */
#navbar.navbar-light {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

/* Links oscuros */
#navbar.navbar-light .nav-menu a {
    color: var(--dark-blue);
}

#navbar.navbar-light .nav-menu a:hover {
    color: var(--primary-orange);
    background: rgba(255, 140, 66, .06);
    transform: translateY(-1px);
}

/* Línea activa */
#navbar.navbar-light .nav-menu a.active::after {
    background: var(--primary-orange);
}

/* =========================
   HAMBURGUESA (MOBILE)
========================= */
#navbar .hamburger {
    display: none;
    justify-self: end;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border: 1px solid rgba(26, 60, 94, .18);
    background: #fff;
    padding: 0;
}

#navbar .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--dark-blue);
    transition: transform .25s ease, opacity .25s ease;
}

/* animación X */
#navbar .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#navbar .hamburger.active span:nth-child(2) {
    opacity: 0;
}

#navbar .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* MENÚ MOBILE (uno solo) */
#navbar .nav-mobile {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    margin-top: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(26, 60, 94, .12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
}

#navbar .nav-mobile a {
    color: var(--dark-blue) !important;
    padding: 12px 14px;
    border-radius: 14px;
    letter-spacing: 1px;
    text-align: left;
}

#navbar .nav-mobile a:hover {
    background: rgba(255, 140, 66, .08);
    color: var(--primary-orange) !important;
}

/* BREAKPOINT MOBILE */
@media (max-width: 900px) {
    :root {
        --navH: 80px;
    }

    #navbar .nav3 {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo burger"
            "mobile mobile";
        gap: 12px;
    }

    #navbar .nav-left,
    #navbar .nav-right {
        display: none;
    }

    #navbar .nav-logo {
        grid-area: logo;
        justify-content: flex-start;
    }

    #navbar .hamburger {
        display: flex;
        grid-area: burger;
    }

    #navbar .nav-mobile {
        grid-area: mobile;
    }

    #navbar .nav-mobile.active {
        display: flex;
    }

    #navbar .nav-logo img {
        height: 56px;
    }
}

/* =========================
   SERVICIOS
========================= */
#servicios {
    position: relative;
    z-index: 2;
    background: #fff;
    padding-top: 80px;
    margin-top: 0;
    scroll-margin-top: 120px;
}

@media (max-width: 900px) {
    #servicios {
        padding-top: 100px;
        scroll-margin-top: 150px;
    }
}

.titulo-seccion {
    text-align: center;
    color: var(--azul);
    margin-bottom: 50px;
}

.titulo-seccion h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
}

.titulo-seccion span {
    color: var(--naranja);
}

/* ✅ Versión final (última) — cards más angostas y centradas */
#servicios .servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
    justify-content: center;
    gap: 28px;
}

/* Card */
.card-servicio {
    background: var(--blanco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-bottom: 5px solid var(--azul);
}

.card-servicio:hover {
    transform: translateY(-10px);
}

/* Foto antes/después */
#servicios .foto-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    /* ✅ final */
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}

#servicios .foto-wrapper img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: contain;
    /* ✅ final */
    object-position: center;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.img-despues {
    opacity: 0;
    transform: scale(1.02);
}

.foto-wrapper:hover .img-antes {
    opacity: 0;
}

.foto-wrapper:hover .img-despues {
    opacity: 1;
    transform: scale(1);
}

/* ✅ Evita zoom si existe algo heredado */
#servicios .foto-wrapper:hover img {
    transform: none !important;
}

/* Info */
.info-servicio {
    padding: 25px;
    text-align: center;
}

.info-servicio h3 {
    color: var(--azul);
    margin-bottom: 15px;
    border-left: 4px solid var(--amarillo);
    padding-left: 10px;
    text-align: left;
}

.info-servicio p {
    color: #666;
    line-height: 1.6;
    text-align: left;
    font-size: 0.95rem;
}

/* Responsive grid servicios */
@media (max-width: 699px) {
    #servicios .servicios-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   REVEAL + animate.css (cards)
========================= */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    visibility: hidden;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    visibility: visible;
}

.reveal.animate__animated {
    --animate-duration: 1.2s;
    animation-fill-mode: both;
}

/* =========================
   FOOTER SGI
========================= */
.sgi-footer {
    position: relative;
    color: #fff;
    overflow: hidden;
    margin-top: 70px;
    background:
        linear-gradient(135deg, rgba(26, 60, 94, .94), rgba(10, 18, 28, .88)),
        url("./img/prueba.png") center/cover no-repeat;
    border-top: 6px solid var(--primary-orange);
}

.sgi-footer__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(255, 215, 0, .18), transparent 55%),
        radial-gradient(circle at 85% 15%, rgba(74, 159, 216, .18), transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .35));
    pointer-events: none;
}

.sgi-footer__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 38px;
    padding: 58px 0;
}

.sgi-footer__col {
    min-width: 0;
}

.sgi-footer__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.sgi-footer__logo {
    width: 124px;
    height: 114px;
    object-fit: contain;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.sgi-footer__title {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: .5px;
}

.sgi-footer__tagline {
    margin: 2px 0 0;
    opacity: .9;
    font-size: .95rem;
}

.sgi-footer__desc {
    margin: 14px 0 16px;
    opacity: .92;
    line-height: 1.6;
    max-width: 520px;
}

.sgi-footer__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sgi-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: .4px;
    background: rgba(255, 140, 66, .16);
    border: 1px solid rgba(255, 140, 66, .35);
}

.sgi-badge--yellow {
    background: rgba(255, 215, 0, .16);
    border: 1px solid rgba(255, 215, 0, .35);
}

.sgi-footer__heading {
    margin: 0 0 16px;
    font-size: 1.1rem;
    font-weight: 900;
    position: relative;
    padding-left: 12px;
}

.sgi-footer__heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 18px;
    border-radius: 99px;
    background: var(--primary-yellow);
}

.sgi-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.sgi-footer__list a {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
    transition: .25s ease;
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.sgi-footer__list a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    box-shadow: 0 0 0 3px rgba(255, 140, 66, .18);
}

.sgi-footer__list a:hover {
    color: #fff;
    transform: translateX(4px);
}

.sgi-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.sgi-footer__contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255, 255, 255, .92);
}

.sgi-footer__contact a {
    color: rgba(255, 255, 255, .95);
    text-decoration: none;
}

.sgi-footer__contact a:hover {
    color: #fff;
    text-decoration: underline;
}

.sgi-ico {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    color: var(--primary-orange);
}

.sgi-ico svg {
    width: 18px;
    height: 18px;
}

.sgi-footer__social {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.sgi-social {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    transition: .25s ease;
    text-decoration: none;
}

.sgi-social svg {
    width: 20px;
    height: 20px;
}

.sgi-social:hover {
    transform: translateY(-3px);
    background: rgba(255, 140, 66, .22);
    border-color: rgba(255, 140, 66, .40);
}

.sgi-social--wa:hover {
    background: rgba(37, 211, 102, .20);
    border-color: rgba(37, 211, 102, .40);
}

.sgi-footer__bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, .18);
    background: rgba(0, 0, 0, .22);
}

.sgi-footer__bottomInner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    flex-wrap: wrap;
}

.sgi-footer__bottom p {
    margin: 0;
    opacity: .92;
    font-size: .92rem;
}

.sgi-footer__top {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    transition: .25s ease;
}

.sgi-footer__top:hover {
    transform: translateY(-2px);
    background: rgba(255, 215, 0, .16);
    border-color: rgba(255, 215, 0, .35);
}

@media (max-width: 980px) {
    .sgi-footer__content {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 44px 0;
    }

    .sgi-footer__logo {
        width: 58px;
        height: 58px;
    }
}

/* =========================
   WHATSAPP WIDGET (FAB + POPUP)
========================= */
.wa-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

.wa-fab {
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 50%;
    background: #25D366;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
    display: grid;
    place-items: center;
    transition: transform .15s ease, box-shadow .15s ease;
}

.wa-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .28);
}

.wa-fab:active {
    transform: translateY(0);
}

.wa-fab__icon {
    width: 34px;
    height: 34px;
    display: block;
    background: url("https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/whatsapp.svg") no-repeat center/contain;
    filter: invert(1);
}

.wa-popup {
    width: 320px;
    max-width: calc(100vw - 44px);
    position: absolute;
    right: 0;
    bottom: 78px;
    background: #0b0f10;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
    overflow: hidden;

    opacity: 0;
    transform: translateY(10px) scale(.98);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

.wa-popup.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wa-popup__header {
    background: #25D366;
    color: #fff;
    padding: 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-popup__brand {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 700;
}

.wa-popup__logo {
    width: 28px;
    height: 28px;
    background: url("https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/whatsapp.svg") no-repeat center/contain;
    filter: invert(1);
}

.wa-popup__close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: rgba(0, 0, 0, .18);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.wa-popup__close:hover {
    background: rgba(0, 0, 0, .28);
}

.wa-popup__body {
    padding: 16px;
    background: #0b0f10;
}

.wa-bubble {
    background: #2a2f32;
    color: #e9edef;
    border-radius: 16px;
    padding: 14px 14px;
    line-height: 1.35;
    font-size: 14px;
}

.wa-bubble__title {
    margin: 0 0 8px;
    font-weight: 700;
}

.wa-popup__footer {
    padding: 14px;
    background: #0b0f10;
}

.wa-open {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 14px 14px;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(37, 211, 102, .25);
}

.wa-open:hover {
    filter: brightness(.98);
}

.wa-open__arrow {
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 5l7 7-7 7M20 12H4' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 5l7 7-7 7M20 12H4' stroke='%23000' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
}

@media (max-width: 420px) {
    .wa-widget {
        right: 14px;
        bottom: 14px;
    }

    .wa-popup {
        bottom: 74px;
    }
}

/* =========================
   REDUCIR ANIMACIONES (accesibilidad)
========================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}






























/* =========================
   SERVICIOS (Opción C: portada + modal)
========================= */

/* Portada */
#servicios .foto-cover {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;

    /* uniforme y responsive */
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid rgba(26, 60, 94, .10);
}

#servicios .foto-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* clave para que se vea pro */
    object-position: center;
    display: block;
}

/* Badge (sin degradados) */
.foto-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: .75rem;
    letter-spacing: .5px;

    background: var(--amarillo);
    color: #0b1d2a;
    border: 1px solid rgba(26, 60, 94, .18);
}

/* Botón sobre la foto */
.btn-ver {
    position: absolute;
    right: 12px;
    bottom: 12px;

    border: 0;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 12px;

    font-weight: 900;
    font-size: .85rem;
    letter-spacing: .2px;

    background: var(--naranja);
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .14);
}

.btn-ver:hover {
    filter: brightness(.98);
    transform: translateY(-1px);
}

.btn-ver:active {
    transform: translateY(0);
}

/* Card: un toque más pro y consistente */
.card-servicio {
    border: 1px solid rgba(26, 60, 94, .10);
    border-bottom: 5px solid var(--azul);
}

.card-servicio:hover {
    transform: translateY(-8px);
}

/* =========================
   MODAL / LIGHTBOX (sin degradados)
========================= */
.sgi-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99999;
}

.sgi-modal.is-open {
    display: block;
}

.sgi-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65);
}

.sgi-modal__panel {
    position: relative;
    width: min(920px, calc(100vw - 28px));
    margin: 80px auto 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(26, 60, 94, .12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .30);
}

.sgi-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid rgba(26, 60, 94, .10);
}

.sgi-modal__title {
    margin: 0;
    color: var(--dark-blue);
    font-weight: 1000;
    font-size: 1.05rem;
}

.sgi-modal__close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(26, 60, 94, .14);
    background: #fff;
    color: var(--dark-blue);
    cursor: pointer;
    font-size: 26px;
    line-height: 0;
}

.sgi-modal__close:hover {
    background: rgba(74, 159, 216, .10);
    border-color: rgba(74, 159, 216, .30);
}

.sgi-modal__body {
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    align-items: center;
    gap: 10px;
    padding: 14px;
}

.sgi-view {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(26, 60, 94, .10);
    background: #fff;
}

.sgi-view img {
    width: 100%;
    height: min(64vh, 520px);
    object-fit: contain;
    /* en modal mejor mostrar completo */
    display: block;
    background: #fff;
}

.sgi-nav {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    border: 1px solid rgba(26, 60, 94, .14);
    background: #fff;
    color: var(--dark-blue);
    cursor: pointer;
    font-size: 30px;
    font-weight: 900;
}

.sgi-nav:hover {
    background: rgba(255, 215, 0, .18);
    border-color: rgba(255, 215, 0, .45);
}

.sgi-modal__footer {
    padding: 12px 16px 16px;
    border-top: 1px solid rgba(26, 60, 94, .10);
}

.sgi-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.sgi-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid rgba(26, 60, 94, .25);
    background: #fff;
    cursor: pointer;
}

.sgi-dot.is-active {
    background: var(--azul);
    border-color: var(--azul);
}

@media (max-width: 520px) {
    .sgi-modal__panel {
        margin-top: 64px;
    }

    .sgi-modal__body {
        grid-template-columns: 44px 1fr 44px;
    }

    .sgi-nav {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .sgi-view img {
        height: min(58vh, 420px);
    }
}











/* Bloquea scroll cuando el menú está abierto */
body.menu-open {
    overflow: hidden;
    touch-action: none;
}





































/* =========================
   SSOMA PRO (serio, elegante)
   Paleta (suave):
   Azul: #0B2F57
   Naranja sobrio: #D9822B
   Amarillo sobrio: #E3C34D
   Blanco: #FFFFFF
========================= */

.ssoma-pro {
    background: #fff;
}

/* Secciones con aire */
.ssoma-section {
    padding: 84px 0;
    background: #ffffff;
    /* sin degradados */
}

.ssoma-section--capacitaciones {
    background: #ffffff;
}

.ssoma-section--reuniones {
    background: #fbfdff;
    /* casi blanco (serio, no chillón) */
    border-top: 1px solid rgba(11, 47, 87, .08);
}

.ssoma-wrap {
    max-width: 1180px;
}

/* Encabezado */
.ssoma-head {
    max-width: 900px;
    margin: 0 auto 34px;
    text-align: left;
}

.ssoma-eyebrow {
    margin: 0 0 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 800;
    font-size: .85rem;
    color: rgba(11, 47, 87, .75);
}

.ssoma-h2 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3.1vw, 2.7rem);
    line-height: 1.08;
    color: #0B2F57;
}

.ssoma-h2 span {
    color: #FF8C42;
    /* naranja sobrio */
}

.ssoma-lead {
    margin: 0;
    color: rgba(11, 47, 87, .82);
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 820px;
}

/* Cuerpo: panel + galería, con espacio real */
.ssoma-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 34px;
    align-items: start;
    margin-top: 24px;
}

/* Panel serio */
.ssoma-panel {
    background: #fff;
    border: 1px solid rgba(11, 47, 87, .12);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
}

.ssoma-h3 {
    margin: 0 0 14px;
    color: #0B2F57;
    font-size: 1.2rem;
}

.ssoma-list {
    margin: 0 0 18px;
    padding-left: 18px;
    color: rgba(11, 47, 87, .84);
    line-height: 1.65;
}

.ssoma-list li {
    margin: 9px 0;
}

.ssoma-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.ssoma-chip {
    padding: 10px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    color: #0B2F57;
    background: rgb(255, 205, 25);
    /* amarillo sobrio (muy suave) */
    border: 1px solid rgb(255, 200, 0);
}

/* Tags áreas */
.ssoma-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 18px;
}

.ssoma-tags span {
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(11, 47, 87, .06);
    color: #0B2F57;
    font-weight: 800;
    border: 1px solid rgba(11, 47, 87, .14);
    font-size: .92rem;
}

/* KPIs */
.ssoma-kpis {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ssoma-kpi {
    border: 1px solid rgba(11, 47, 87, .12);
    background: #fff;
    border-radius: 14px;
    padding: 12px 14px;
}

.ssoma-kpi strong {
    display: block;
    color: #0B2F57;
    margin-bottom: 4px;
}

.ssoma-kpi span {
    color: rgba(11, 47, 87, .8);
    line-height: 1.45;
}

/* Galería: TODAS GRANDES e IGUALES */
.ssoma-gallery {
    background: #fff;
    border: 1px solid rgba(11, 47, 87, .10);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .06);
}

.ssoma-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* Uniformidad total */
.ssoma-photo {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(11, 47, 87, .12);
    background: #fff;
    aspect-ratio: 4 / 3;
    /* TODAS IGUALES */
}

.ssoma-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .35s ease, filter .35s ease;
}

/* Hover sobrio */
.ssoma-photo:hover img {
    transform: scale(1.04);
    filter: saturate(1.05);
}

/* Animaciones sutiles (sin “fiesta”) */
.animate__animated {
    opacity: 0;
    /* inicia oculto hasta que se active */
}

.ssoma-anim-on {
    opacity: 1;
    --animate-duration: .7s;
    --animate-delay: .0s;
}

/* Responsive: más aire, nada aplastado */
@media (max-width: 980px) {
    .ssoma-head {
        text-align: left;
        margin-bottom: 26px;
    }

    .ssoma-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ssoma-grid {
        grid-template-columns: 1fr;
        /* fotos grandes en móvil */
    }

    .ssoma-section {
        padding: 64px 0;
    }
}