* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF8C42;
    --primary-yellow: #FFD700;
    --primary-blue: #4A9FD8;
    --dark-blue: #1A3C5E;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);

    --azul: var(--primary-blue);
    --naranja: var(--primary-orange);
    --amarillo: var(--primary-yellow);
    --blanco: var(--white);

    --radius-1: 14px;
    --radius-2: 18px;
    --shadow-1: 0 10px 25px rgba(0, 0, 0, .12);
    --shadow-2: 0 18px 45px rgba(0, 0, 0, .16);
    --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 {
    height: var(--navH);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all .25s ease;
}

.nav-menu {
    display: flex;
    gap: 14px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    padding: 10px 22px;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark-blue);
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

/* HAMBURGUESA base (compat) */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: var(--border-soft);
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .06);
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark-blue);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===== NAVBAR 3 COLUMNAS (manda sobre lo anterior) ===== */

/* NAV base (en este HTML está con fondo claro, pero dejamos el bloque completo) */
#navbar.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1200;
    padding: 14px 0;
    background: transparent;
    box-shadow: none;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

#navbar.navbar.is-scrolled {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
}

/* 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;
    color: rgba(255, 255, 255, .92);
}

/* al bajar: links oscuros */
#navbar.is-scrolled .nav-menu a {
    color: var(--dark-blue);
}

/* hover */
#navbar .nav-menu a:hover {
    transform: translateY(-1px);
    color: var(--primary-yellow);
}

#navbar.is-scrolled .nav-menu a:hover {
    color: var(--primary-orange);
    background: rgba(255, 140, 66, .06);
}

/* activo */
#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;
    background: var(--primary-yellow);
}

#navbar.is-scrolled .nav-menu a.active::after {
    background: var(--primary-orange);
}

/* 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.is-scrolled .nav-logo img {
    height: 74px;
}

/* HAMBURGUESA (mobile) */
#navbar .hamburger {
    justify-self: end;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;

    /* stack vertical */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .10);
    backdrop-filter: blur(10px);

    display: none;
    /* aparece en breakpoint */
}

#navbar .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform .25s ease, opacity .25s ease;
}

#navbar.is-scrolled .hamburger {
    border: 1px solid rgba(26, 60, 94, .18);
    background: #fff;
}

#navbar.is-scrolled .hamburger span {
    background: var(--dark-blue);
}

/* X anim */
#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 */
#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 */
@media (max-width: 900px) {
    #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;
    }
}

/* ===== NAVBAR LIGHT (este HTML lo usa: class="navbar navbar-light") ===== */
#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);
}

/* Hover */
#navbar.navbar-light .nav-menu a:hover {
    color: var(--primary-orange);
}

/* Línea activa */
#navbar.navbar-light .nav-menu a.active::after {
    background: var(--primary-orange);
}

/* Hamburger visible en light */
#navbar.navbar-light .hamburger {
    border: 1px solid rgba(26, 60, 94, .18);
    background: #fff;
}

#navbar.navbar-light .hamburger span {
    background: var(--dark-blue);
}

/* =========================
   #NOSOTROS (ABOUT)
========================= */
.espacio {
    padding-top: 140px;
    padding-bottom: 110px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f4f8 100%);
    overflow: hidden;
}

.about-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

/* animación reveal con clase .active en #nosotros */
#nosotros .about-image,
#nosotros .about-content {
    transform: translateX(60px);
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

#nosotros .about-image {
    transform: translateX(-60px);
}

#nosotros.active .about-image,
#nosotros.active .about-content {
    transform: translateX(0);
    opacity: 1;
}

/* Slider */
.slider-container {
    width: 100%;
    overflow: hidden;
    border-radius: 30px 100px 30px 30px;
    box-shadow: 20px 20px 60px rgba(0, 48, 73, 0.15);
    border: 5px solid white;
    position: relative;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 450px;
    display: block;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1.2s ease, transform 6s ease;
}

.slide.is-active {
    opacity: 1;
    transform: scale(1.08);
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary-yellow);
    z-index: -1;
    border-radius: 20px;
    opacity: 0.5;
}

/* Contenido */
.about-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 123, 0, 0.1);
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    font-size: 3rem;
    color: var(--dark-blue);
    margin-bottom: 25px;
    line-height: 1.1;
}

.about-content h2 span {
    color: var(--primary-orange);
    position: relative;
}

.about-content h2 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-yellow);
    z-index: -1;
    opacity: 0.4;
}

.text-justify {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.about-chariti-list-area {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.about-chariti-list {
    list-style: none;
    padding: 0;
}

.about-chariti-list li {
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Ícono “pill” */
.about-chariti-list i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 123, 0, 0.12);
    color: var(--primary-orange);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .06);
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-about {
    padding: 15px 35px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 48, 73, 0.2);
}

.btn-about:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

/* Responsive #nosotros */
@media (max-width: 1024px) {
    .about-wrapper {
        gap: 40px;
    }

    .about-content h2 {
        font-size: 2.2rem;
    }

    .slider-track {
        height: 380px;
    }
}

@media (max-width: 900px) {
    .espacio {
        padding-top: 110px;
        padding-bottom: 90px;
    }

    .about-wrapper {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }

    .about-image {
        width: 100%;
        max-width: 560px;
    }

    .slider-container {
        border-radius: 24px;
        border-width: 4px;
        box-shadow: 0 18px 45px rgba(0, 48, 73, 0.14);
    }

    .slider-track {
        height: 300px;
    }

    .image-decoration {
        display: none;
    }

    .about-content {
        width: 100%;
        max-width: 620px;
    }

    .about-content h2 {
        font-size: 2rem;
        margin-bottom: 18px;
    }

    .text-justify {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 22px;
        text-align: center;
    }

    .about-chariti-list-area {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        margin-bottom: 28px;
    }

    .about-chariti-list {
        width: 100%;
        max-width: 360px;
        text-align: left;
    }

    .about-chariti-list li {
        justify-content: flex-start;
    }

    .btn-about {
        padding: 14px 28px;
        width: fit-content;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .espacio {
        padding-top: 95px;
        padding-bottom: 75px;
    }

    .about-content h2 {
        font-size: 1.7rem;
    }

    .badge {
        font-size: .72rem;
        padding: 6px 14px;
    }

    .slider-track {
        height: 240px;
    }

    .about-chariti-list i {
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: 1rem;
        margin-right: 10px;
    }

    .about-chariti-list li {
        font-size: .98rem;
    }
}

/* =========================
   MISIÓN / VISIÓN (#mision-vision)
========================= */
.mv {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.mv::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: image-set(url("/view/img/ica_paisaje_1080p_1920x1080_nitido.webp") type("image/webp") 1x,
            url("/view/img/ica_paisaje_2k_2560x1440_nitido.webp") type("image/webp") 2x,
            url("/view/img/ica_paisaje_4k_3840x2160_nitido.webp") type("image/webp") 3x);
}

.mv::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mv .container {
    position: relative;
    z-index: 1;
}

.mv__title {
    text-align: center;
    margin-bottom: 44px;
    transform: translateY(-45px);
}

.mv__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(255, 140, 66, .12);
    border: 1px solid rgba(255, 140, 66, .22);
}

.mv__title h2 {
    margin: 14px 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.12;
    color: var(--primary-blue);
    letter-spacing: .2px;
}

.mv__title h2 span {
    color: var(--amarillo);
    position: relative;
}

.mv__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 26px;
    align-items: stretch;
}

/* Cards */
.mv-step {
    position: relative;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(26, 60, 94, .12);
    border-radius: 16px;
    padding: 30px 28px 22px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
    transition: transform .25s ease, box-shadow .25s ease;
    overflow: hidden;
}

.mv-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(26, 60, 94, .18);
}

.mv-step__corner {
    position: absolute;
    left: -34px;
    top: -34px;
    width: 120px;
    height: 120px;
    transform: rotate(45deg);
    opacity: .95;
    z-index: 1;
    pointer-events: none;
}

.mv-step__icon,
.mv-step__title,
.mv-step__text {
    position: relative;
    z-index: 2;
}

.mv-step__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .75);
    border: 1px solid rgba(26, 60, 94, .10);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
    margin-bottom: 14px;
    margin-top: 6px;
}

.mv-step__icon i {
    font-size: 22px;
}

.mv-step__title {
    margin: 6px 0 10px;
    font-weight: 950;
    letter-spacing: .8px;
    font-size: .92rem;
    text-transform: uppercase;
    color: var(--dark-blue);
}

.mv-step__text {
    margin: 0;
    color: rgba(0, 0, 0, .68);
    line-height: 1.65;
    font-size: .98rem;
    min-height: 72px;
}

/* colores por tarjeta */
.mv-step--mission .mv-step__corner {
    background: rgba(255, 140, 66, .95);
}

.mv-step--mission .mv-step__icon i {
    color: var(--primary-orange);
}

.mv-step--vision .mv-step__corner {
    background: rgba(74, 159, 216, .95);
}

.mv-step--vision .mv-step__icon i {
    color: rgba(74, 159, 216, 1);
}

.mv-step--values .mv-step__corner {
    background: rgba(255, 215, 0, .95);
}

.mv-step--values .mv-step__icon i {
    color: var(--primary-yellow);
}

/* Responsive mv */
@media (max-width: 980px) {
    .mv__grid {
        grid-template-columns: 1fr;
    }

    .mv-step {
        padding: 26px 22px 20px;
    }
}

@media (max-width: 480px) {
    .mv-step__corner {
        left: -44px;
        top: -54px;
        width: 105px;
        height: 105px;
    }

    .mv-step {
        padding-top: 34px;
    }
}

@media (max-width: 768px) {
    .mv {
        padding: 70px 0;
    }

    .mv::before {
        background-image: image-set(url("../view/img/ica_paisaje_mobile_1080x1920_nitido.webp") type("image/webp") 1x);
        background-position: center 65%;
    }
}

/* =========================
   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 (wa-*)
========================= */
.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;
    }
}

/* =========================
   Accesibilidad: reduce motion
========================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}


/* ✅ Ajustes para celular */
@media (max-width: 768px) {
    .mv {
        padding: 70px 0;
    }

    .mv::before {
        /* Imagen especial para mobile (portrait) */
        background-image: image-set(url("/view/img/ica_paisaje_mobile_1080x1920_nitido.webp") type("image/webp") 1x);

        /* para que enfoque más la zona bonita en móvil */
        background-position: center 65%;
    }

    .mv__subtitle {
        font-size: 0.98rem;
        padding: 0 12px;
    }
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
}
































/* =========================
   CSR (menos texto, fotos grandes)
========================= */

.csr {
    padding: clamp(58px, 6vw, 100px) 0;
    background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
    overflow: hidden;
}

.csr__title {
    text-align: center;
    margin-bottom: clamp(16px, 3vw, 34px);
}

.csr__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 900;
    font-size: clamp(.72rem, .9vw, .82rem);
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--dark-blue);
    background: rgba(255, 215, 0, .16);
    border: 1px solid rgba(255, 215, 0, .30);
}

.csr__title h2 {
    margin: 12px 0 8px;
    font-size: clamp(1.5rem, 3.2vw, 2.5rem);
    line-height: 1.12;
    color: var(--dark-blue);
}

.csr__title h2 span {
    color: var(--primary-yellow);
}

.csr__subtitle {
    margin: 0 auto;
    max-width: 820px;
    color: rgba(0, 0, 0, .65);
    font-size: clamp(.98rem, 1.1vw, 1.05rem);
    line-height: 1.65;
    padding: 0 6px;
}

/* GRID: mobile 1 columna (fotos arriba, texto abajo) */
.csr__grid--photoFocus {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(14px, 2.2vw, 22px);
    align-items: start;
}

/* Fotos grandes */
.csr__photos--big {
    display: grid;
    gap: clamp(12px, 2vw, 18px);
}

.csr__photo {
    background: #fff;
    border: 1px solid rgba(26, 60, 94, .12);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
    overflow: hidden;
    position: relative;
}

.csr__photo--big img {
    width: 100%;
    height: clamp(260px, 58vw, 520px);
    /* 🔥 más grandes en celular/tablet */
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform .8s ease;
}

.csr__photo:hover img {
    transform: scale(1.06);
}

.csr__photo figcaption {
    padding: 12px 14px 14px;
    font-weight: 900;
    color: rgba(0, 0, 0, .70);
    font-size: clamp(.92rem, 1vw, 1rem);
}

.csr__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .10) 100%);
    pointer-events: none;
}

/* Texto mínimo (card pequeño) */
.csr__content--mini {
    display: block;
}

.csr__card--mini {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(26, 60, 94, .12);
    border-radius: 18px;
    padding: 18px 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

.csr__card--mini h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    color: var(--dark-blue);
    font-weight: 950;
}

/* Lista mini */
.csr__list--mini {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: grid;
    gap: 10px;
}

.csr__list--mini li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 850;
    color: rgba(0, 0, 0, .70);
    font-size: .98rem;
}

.csr__list--mini i {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 66, .12);
    color: var(--primary-orange);
    border: 1px solid rgba(255, 140, 66, .18);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .06);
    font-size: 1.05rem;
}

.csr__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 12px 25px rgba(74, 159, 216, .25);
    transition: transform .2s ease, background .2s ease;
}

.csr__btn:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
}

/* =========================
   BREAKPOINTS
========================= */

/* Tablet */
@media (min-width: 700px) {
    .csr__photo--big img {
        height: clamp(320px, 42vw, 560px);
    }
}

/* Laptop/PC: 2 columnas, fotos dominan */
/* ✅ PC/Laptop: fotos centradas al medio */
@media (min-width: 992px) {

    /* que todo se vuelva 1 columna */
    .csr__grid--photoFocus {
        grid-template-columns: 1fr !important;
        justify-items: center;
    }

    /* bloque de fotos centrado y con ancho bonito */
    .csr__photos--big {
        width: min(980px, 92vw);
        /* centro y no se estira demasiado */
        margin: 0 auto;
    }

    /* fotos grandes */
    .csr__photo--big img {
        height: 460px;
    }

    /* el texto mini abajo y centrado */
    .csr__content--mini {
        width: min(720px, 92vw);
        margin: 0 auto;
        position: static;
        /* quitamos sticky */
    }

    .csr__card--mini {
        text-align: center;
    }

    .csr__list--mini {
        justify-items: center;
    }

    .csr__list--mini li {
        justify-content: center;
    }
}