/* ================================================
   NOSOTROS — CSS UNIFICADO  (prefijo ns-)
   Aplica a: nosotros.php · historia.php · mision-vision.php
================================================ */

/* ── VARIABLES LOCALES ── */
:root {
    --ns-navy:    #003366;
    --ns-blue:    #0056b3;
    --ns-orange:  #FF7A3D;
    --ns-green:   #28a745;
    --ns-gray:    #f4f6f9;
    --ns-text:    #2d3748;
    --ns-muted:   #718096;
    --ns-ease:    cubic-bezier(.4, 0, .2, 1);
    --ns-spring:  cubic-bezier(.34, 1.36, .64, 1);
}

/* ════════════════════════════════════════════
   HERO BASE
════════════════════════════════════════════ */
.ns-hero {
    position: relative;
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.ns-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(0,0,0,.65) 0%,
        rgba(0,0,0,.40) 50%,
        rgba(0,0,0,.18) 100%);
    z-index: 1;
}

.ns-hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.ns-hero-orb-1 {
    top: 10%; left: 8%;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(255,122,61,.22) 0%, transparent 70%);
    animation: nsFloat 9s ease-in-out infinite;
}
.ns-hero-orb-2 {
    bottom: 14%; right: 6%;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,255,255,.12) 0%, transparent 70%);
    animation: nsFloat 12s ease-in-out infinite reverse;
}
.ns-hero-orb-3 {
    top: 45%; left: 18%;
    width: 130px; height: 130px;
    background: radial-gradient(circle, rgba(0,51,102,.18) 0%, transparent 70%);
    animation: nsFloat 15s ease-in-out infinite;
}

.ns-hero-body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 5rem 0 4rem;
}

/* ── BREADCRUMB ── */
.ns-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    list-style: none;
    margin: 0 0 1.8rem;
    padding: .6rem 1.4rem;
    border-radius: 50px;
    background: rgba(0,0,0,.32);
    backdrop-filter: blur(12px);
    font-size: .88rem;
}
.ns-breadcrumb a {
    color: rgba(255,255,255,.9);
    text-decoration: none;
    display: flex; align-items: center; gap: .4rem;
    text-shadow: 0 2px 6px rgba(0,0,0,.7);
    transition: color .3s;
}
.ns-breadcrumb a:hover { color: #fff; }
.ns-breadcrumb-sep {
    color: rgba(255,255,255,.5);
    font-size: .7rem;
}
.ns-breadcrumb-current {
    color: #fff; font-weight: 700;
    display: flex; align-items: center; gap: .4rem;
    text-shadow: 0 2px 6px rgba(0,0,0,.7);
}

/* ── BADGE ── */
.ns-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.6rem;
    border-radius: 50px;
    margin-bottom: 1.8rem;
    border: 2px solid rgba(255,255,255,.35);
    backdrop-filter: blur(12px);
    font-weight: 800;
    font-size: .88rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}
.ns-badge-orange { background: rgba(255,122,61,.92); box-shadow: 0 8px 25px rgba(255,122,61,.4); }
.ns-badge-green  { background: rgba(40,167,69,.92);  box-shadow: 0 8px 25px rgba(40,167,69,.4);  }
.ns-badge-navy   { background: rgba(0,51,102,.92);   box-shadow: 0 8px 25px rgba(0,51,102,.4);   }

/* ── HERO TITLE / SUB ── */
.ns-hero-title {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
    text-shadow: 0 6px 30px rgba(0,0,0,.85), 0 3px 12px rgba(0,0,0,.7);
}
.ns-hero-sub {
    color: rgba(255,255,255,.93);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.75;
    margin-bottom: 2.2rem;
    text-shadow: 0 3px 15px rgba(0,0,0,.85);
}
.ns-hero-line {
    width: 120px; height: 4px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--ns-orange), #ff9500, transparent);
    box-shadow: 0 0 28px rgba(255,122,61,.8);
}
.ns-hero-line-green {
    background: linear-gradient(90deg, var(--ns-green), #20c997, transparent);
    box-shadow: 0 0 28px rgba(40,167,69,.8);
}

/* ── SCROLL INDICATOR ── */
.ns-scroll-down {
    position: absolute;
    bottom: 2rem; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: nsBounce 2.2s infinite;
}
.ns-scroll-down a {
    color: #fff;
    text-decoration: none;
    display: flex; flex-direction: column;
    align-items: center; gap: .4rem;
    opacity: .82;
    transition: opacity .3s;
}
.ns-scroll-down a:hover { opacity: 1; }
.ns-scroll-down span {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0,0,0,.7);
}
.ns-scroll-down i { font-size: 1.3rem; text-shadow: 0 2px 6px rgba(0,0,0,.7); }

/* ════════════════════════════════════════════
   STATS BAR
════════════════════════════════════════════ */
.ns-stats-bar {
    background: var(--ns-navy);
    padding: 2.2rem 0;
    position: relative;
    overflow: hidden;
}
.ns-stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #002244, #003d7a, #002244);
    opacity: .7;
}
.ns-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}
.ns-stat {
    text-align: center;
    padding: 1rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,.12);
}
.ns-stat:last-child { border-right: none; }
.ns-stat-number {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--ns-orange);
    line-height: 1;
    margin-bottom: .35rem;
    font-family: 'Montserrat', sans-serif;
}
.ns-stat-label {
    font-size: .82rem;
    color: rgba(255,255,255,.75);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.ns-stat-icon {
    font-size: 1.4rem;
    color: rgba(255,255,255,.3);
    margin-bottom: .5rem;
}

/* ════════════════════════════════════════════
   SECCIONES GENERALES
════════════════════════════════════════════ */
.ns-section {
    padding: 5rem 0;
}
.ns-section-gray { background: var(--ns-gray); }
.ns-section-white { background: #fff; }
.ns-section-navy {
    background: linear-gradient(135deg, var(--ns-navy) 0%, #002855 100%);
    color: #fff;
}

.ns-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.ns-section-eyebrow {
    display: inline-block;
    color: var(--ns-orange);
    font-weight: 700;
    font-size: .88rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: .9rem;
}
.ns-section-title {
    color: var(--ns-navy);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.ns-section-title.light { color: #fff; }
.ns-section-divider {
    width: 70px; height: 4px;
    background: linear-gradient(90deg, var(--ns-navy), var(--ns-orange));
    border-radius: 2px;
    margin: 0 auto;
}
.ns-section-divider.center { margin: 0 auto; }

/* ════════════════════════════════════════════
   CONTENIDO PAGINA (de BD)
════════════════════════════════════════════ */
.ns-content-pagina {
    font-size: 1.08rem;
    line-height: 1.95;
    color: var(--ns-text);
}
.ns-content-pagina h2 {
    color: var(--ns-navy);
    font-weight: 700;
    font-size: 1.9rem;
    margin: 3rem 0 1.2rem;
    padding-bottom: .8rem;
    border-bottom: 3px solid var(--ns-orange);
}
.ns-content-pagina h3 {
    color: var(--ns-blue);
    font-weight: 600;
    font-size: 1.4rem;
    margin: 2rem 0 .8rem;
}
.ns-content-pagina p { margin-bottom: 1.4rem; text-align: justify; }
.ns-content-pagina ul,
.ns-content-pagina ol { margin-bottom: 1.8rem; padding-left: 2rem; }
.ns-content-pagina li { margin-bottom: .6rem; }
.ns-content-pagina strong { color: var(--ns-navy); font-weight: 700; }
.ns-content-pagina blockquote {
    border-left: 4px solid var(--ns-orange);
    margin: 2rem 0;
    padding: 1.2rem 1.5rem;
    background: #fdf6f2;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--ns-muted);
}
.ns-content-pagina img {
    max-width: 100%;
    border-radius: 14px;
    margin: 1.5rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

/* ── IMAGEN PORTADA ── */
.ns-portada-wrap {
    position: relative;
    margin-bottom: 3.5rem;
}
.ns-portada-deco {
    position: absolute;
    top: -18px; left: -18px;
    width: 90px; height: 90px;
    background: linear-gradient(135deg, rgba(0,51,102,.1), rgba(255,122,61,.1));
    border-radius: 18px;
    z-index: 0;
}
.ns-portada-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,51,102,.14);
    position: relative;
    z-index: 1;
    border: 5px solid #fff;
}

/* ════════════════════════════════════════════
   PILARES (¿Qué Impulsamos?)
════════════════════════════════════════════ */
.ns-pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.ns-pilar {
    background: #fff;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,51,102,.08);
    border: 2px solid transparent;
    transition: all .4s var(--ns-ease);
    position: relative;
    overflow: hidden;
}
.ns-pilar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ns-navy), var(--ns-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ns-ease);
}
.ns-pilar:hover { transform: translateY(-7px); box-shadow: 0 14px 40px rgba(0,51,102,.14); border-color: rgba(0,51,102,.08); }
.ns-pilar:hover::before { transform: scaleX(1); }
.ns-pilar-icon {
    width: 70px; height: 70px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--ns-navy), var(--ns-blue));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.7rem; color: #fff;
    box-shadow: 0 8px 24px rgba(0,51,102,.22);
    transition: transform .4s var(--ns-spring);
}
.ns-pilar:hover .ns-pilar-icon { transform: scale(1.1) rotate(5deg); }
.ns-pilar-title {
    color: var(--ns-navy);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .5rem;
}
.ns-pilar-desc {
    color: var(--ns-muted);
    font-size: .9rem;
    line-height: 1.6;
    margin: 0;
}

/* ════════════════════════════════════════════
   TIMELINE (Historia)
════════════════════════════════════════════ */
.ns-timeline {
    position: relative;
    padding: 1rem 0;
}
.ns-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom, var(--ns-orange), var(--ns-navy), var(--ns-blue));
    border-radius: 3px;
}
.ns-tl-item {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    position: relative;
}
.ns-tl-item:last-child { margin-bottom: 0; }

/* izquierda (par) */
.ns-tl-item.ns-tl-left {
    flex-direction: row;
    padding-right: calc(50% + 2rem);
}
/* derecha (impar) */
.ns-tl-item.ns-tl-right {
    flex-direction: row-reverse;
    padding-left: calc(50% + 2rem);
}

.ns-tl-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.8rem 2rem;
    box-shadow: 0 6px 30px rgba(0,51,102,.1);
    border: 2px solid rgba(0,51,102,.06);
    flex: 1;
    transition: transform .35s var(--ns-ease), box-shadow .35s var(--ns-ease);
    position: relative;
}
.ns-tl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0,51,102,.15);
}
.ns-tl-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--ns-navy), var(--ns-blue));
    color: #fff;
    font-weight: 900;
    font-size: 1rem;
    padding: .3rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: .5px;
}
.ns-tl-year.orange { background: linear-gradient(135deg, var(--ns-orange), #ff9500); }
.ns-tl-title {
    color: var(--ns-navy);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: .7rem;
}
.ns-tl-text {
    color: var(--ns-muted);
    font-size: .95rem;
    line-height: 1.7;
    margin: 0;
}
.ns-tl-icon-list {
    list-style: none;
    padding: 0;
    margin: .8rem 0 0;
}
.ns-tl-icon-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .4rem 0;
    color: var(--ns-text);
    font-size: .93rem;
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.ns-tl-icon-list li:last-child { border-bottom: none; }
.ns-tl-icon-list li i {
    color: var(--ns-orange);
    margin-top: .2rem;
    flex-shrink: 0;
}

/* DOT en el centro */
.ns-tl-dot {
    position: absolute;
    left: 50%;
    top: 1.8rem;
    transform: translateX(-50%);
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--ns-orange);
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(255,122,61,.18);
    transition: transform .3s var(--ns-spring);
}
.ns-tl-item:hover .ns-tl-dot {
    transform: translateX(-50%) scale(1.3);
}
.ns-tl-dot.navy {
    border-color: var(--ns-navy);
    box-shadow: 0 0 0 5px rgba(0,51,102,.15);
}

/* ════════════════════════════════════════════
   MISIÓN Y VISIÓN
════════════════════════════════════════════ */
.ns-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.ns-mv-card {
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform .4s var(--ns-ease), box-shadow .4s var(--ns-ease);
}
.ns-mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.ns-mv-card.mision {
    background: linear-gradient(135deg, var(--ns-navy) 0%, #002855 100%);
    box-shadow: 0 12px 40px rgba(0,51,102,.28);
}
.ns-mv-card.vision {
    background: linear-gradient(135deg, var(--ns-orange) 0%, #e65c00 100%);
    box-shadow: 0 12px 40px rgba(255,122,61,.28);
}
.ns-mv-card-deco {
    position: absolute;
    bottom: -40px; right: -40px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
}
.ns-mv-card-deco2 {
    position: absolute;
    top: -30px; left: -30px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
}
.ns-mv-icon {
    width: 80px; height: 80px;
    border-radius: 20px;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.8rem;
    font-size: 2rem; color: #fff;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,.2);
    transition: transform .4s var(--ns-spring);
}
.ns-mv-card:hover .ns-mv-icon { transform: scale(1.12) rotate(6deg); }
.ns-mv-label {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,.65);
    margin-bottom: .6rem;
}
.ns-mv-title {
    font-size: 1.9rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.2rem;
    line-height: 1.15;
}
.ns-mv-text {
    color: rgba(255,255,255,.88);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
}
.ns-mv-divider {
    width: 50px; height: 3px;
    background: rgba(255,255,255,.4);
    border-radius: 2px;
    margin: 1.2rem 0;
}

/* ── VALORES (debajo de M&V) ── */
.ns-valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.2rem;
    margin-top: 1rem;
}
.ns-valor {
    background: #fff;
    border-radius: 16px;
    padding: 1.6rem 1.2rem;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,51,102,.07);
    border-bottom: 3px solid var(--ns-navy);
    transition: all .35s var(--ns-ease);
}
.ns-valor:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,51,102,.13);
    border-bottom-color: var(--ns-orange);
}
.ns-valor-icon {
    font-size: 1.8rem;
    color: var(--ns-navy);
    margin-bottom: .8rem;
    transition: transform .35s var(--ns-spring);
}
.ns-valor:hover .ns-valor-icon {
    transform: scale(1.2);
    color: var(--ns-orange);
}
.ns-valor-name {
    color: var(--ns-navy);
    font-weight: 700;
    font-size: .95rem;
    margin: 0;
}

/* ════════════════════════════════════════════
   CARDS EXPLORAR (en nosotros.php)
════════════════════════════════════════════ */
.ns-explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
}
.ns-explore-card {
    display: block;
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-decoration: none;
    box-shadow: 0 5px 22px rgba(0,0,0,.07);
    border: 2px solid transparent;
    transition: all .4s var(--ns-ease);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ns-explore-card::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,51,102,.05) 0%, transparent 70%);
    transition: transform .4s var(--ns-ease);
}
.ns-explore-card:hover { transform: translateY(-10px); box-shadow: 0 18px 45px rgba(0,51,102,.14); border-color: rgba(0,51,102,.1); }
.ns-explore-card:hover::before { transform: scale(1.4); }
.ns-explore-icon {
    width: 90px; height: 90px;
    border-radius: 22px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem; color: #fff;
    transition: transform .4s var(--ns-spring);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.ns-explore-card:hover .ns-explore-icon { transform: scale(1.12) rotate(6deg); }
.ns-explore-icon-navy  { background: linear-gradient(135deg, var(--ns-navy), var(--ns-blue)); }
.ns-explore-icon-orange{ background: linear-gradient(135deg, var(--ns-orange), #ff9500); }
.ns-explore-icon-green { background: linear-gradient(135deg, var(--ns-green), #20c997); }
.ns-explore-title {
    color: var(--ns-navy);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: .8rem;
}
.ns-explore-desc {
    color: var(--ns-muted);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 1.4rem;
}
.ns-explore-link {
    font-weight: 600;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: gap .3s var(--ns-ease);
}
.ns-explore-link-navy   { color: var(--ns-navy); }
.ns-explore-link-orange { color: var(--ns-orange); }
.ns-explore-link-green  { color: var(--ns-green); }
.ns-explore-card:hover .ns-explore-link { gap: .7rem; }

/* ════════════════════════════════════════════
   NAV PREV / NEXT
════════════════════════════════════════════ */
.ns-nav-pn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    padding: 2.5rem 0;
}
.ns-nav-pn-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 1.6rem 1.8rem;
    border-radius: 16px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0,0,0,.07);
    transition: all .35s var(--ns-ease);
    border: 2px solid transparent;
}
.ns-nav-pn-link.prev { border-left: 5px solid var(--ns-navy); }
.ns-nav-pn-link.next { border-right: 5px solid var(--ns-orange); flex-direction: row-reverse; text-align: right; }
.ns-nav-pn-link:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.12); border-color: rgba(0,51,102,.12); }
.ns-nav-pn-arrow { font-size: 1.4rem; }
.ns-nav-pn-link.prev .ns-nav-pn-arrow { color: var(--ns-navy); }
.ns-nav-pn-link.next .ns-nav-pn-arrow { color: var(--ns-orange); }
.ns-nav-pn-label { font-size: .8rem; color: var(--ns-muted); margin-bottom: .2rem; }
.ns-nav-pn-title { font-weight: 700; font-size: 1.05rem; }
.ns-nav-pn-link.prev .ns-nav-pn-title { color: var(--ns-navy); }
.ns-nav-pn-link.next .ns-nav-pn-title { color: var(--ns-orange); }

/* ════════════════════════════════════════════
   CTA
════════════════════════════════════════════ */
.ns-cta {
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}
.ns-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,51,102,.88) 0%, rgba(0,86,179,.78) 100%);
    z-index: 1;
}
.ns-cta-body {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.ns-cta-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.ns-cta-sub {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: .92;
    line-height: 1.75;
}
.ns-cta-btns {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.ns-cta-btn-primary {
    display: inline-flex; align-items: center; gap: .7rem;
    background: linear-gradient(135deg, var(--ns-orange), #ff9500);
    color: #fff; padding: 1.1rem 2.8rem;
    border-radius: 50px; text-decoration: none;
    font-weight: 700; font-size: 1.05rem;
    box-shadow: 0 10px 30px rgba(255,122,61,.4);
    transition: all .35s var(--ns-ease);
    border: 2px solid transparent;
}
.ns-cta-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255,122,61,.5); color: #fff; }
.ns-cta-btn-secondary {
    display: inline-flex; align-items: center; gap: .7rem;
    background: transparent; color: #fff;
    padding: 1.1rem 2.8rem; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 1.05rem;
    border: 2px solid rgba(255,255,255,.8);
    transition: all .35s var(--ns-ease);
}
.ns-cta-btn-secondary:hover { background: #fff; color: var(--ns-navy); transform: translateY(-3px); }

/* ════════════════════════════════════════════
   INTRO QUOTE (Historia)
════════════════════════════════════════════ */
.ns-intro-quote {
    background: linear-gradient(135deg, var(--ns-navy) 0%, #002855 100%);
    border-radius: 24px;
    padding: 3.5rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0,51,102,.22);
}
.ns-intro-quote::before {
    content: '\201C';
    position: absolute;
    top: -1.5rem; left: 2rem;
    font-size: 12rem;
    color: rgba(255,255,255,.05);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.ns-intro-quote-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: rgba(255,122,61,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--ns-orange);
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255,122,61,.3);
}
.ns-intro-quote-text {
    color: rgba(255,255,255,.92);
    font-size: 1.1rem;
    line-height: 1.85;
    margin: 0 0 1.5rem;
    font-style: italic;
}
.ns-intro-quote-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.ns-intro-quote-line {
    width: 40px; height: 2px;
    background: var(--ns-orange);
    border-radius: 1px;
}
.ns-intro-quote-author {
    color: rgba(255,255,255,.6);
    font-size: .88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ════════════════════════════════════════════
   ANIMACIONES
════════════════════════════════════════════ */
@keyframes nsFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-28px) scale(1.06); }
}
@keyframes nsBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40%  { transform: translateX(-50%) translateY(-14px); }
    60%  { transform: translateX(-50%) translateY(-7px); }
}
@keyframes nsFadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes nsFadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes nsFadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes nsScaleIn {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
}

/* Clases de entrada — hero */
.ns-anim-up   { animation: nsFadeInUp   .8s var(--ns-ease) both; }
.ns-anim-up-2 { animation: nsFadeInUp   .8s var(--ns-ease) .2s both; }
.ns-anim-up-4 { animation: nsFadeInUp   .8s var(--ns-ease) .4s both; }

/* Scroll reveal */
.ns-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s var(--ns-ease), transform .7s var(--ns-ease);
}
.ns-reveal.ns-left  { transform: translateX(-40px); }
.ns-reveal.ns-right { transform: translateX(40px); }
.ns-reveal.ns-scale { transform: scale(.93); }
.ns-reveal.visible  { opacity: 1; transform: none; }

.ns-reveal.visible.ns-d1 { transition-delay: .1s; }
.ns-reveal.visible.ns-d2 { transition-delay: .2s; }
.ns-reveal.visible.ns-d3 { transition-delay: .3s; }
.ns-reveal.visible.ns-d4 { transition-delay: .4s; }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 992px) {
    .ns-hero { min-height: 80vh; }
    .ns-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ns-stat:nth-child(2) { border-right: none; }
    .ns-stat:nth-child(3),
    .ns-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
    .ns-mv-grid { grid-template-columns: 1fr; }
    .ns-timeline::before { left: 20px; }
    .ns-tl-item.ns-tl-left,
    .ns-tl-item.ns-tl-right {
        flex-direction: column;
        padding: 0 0 0 3.5rem;
    }
    .ns-tl-dot { left: 20px; top: 1.5rem; }
    .ns-intro-quote { padding: 2.5rem 2rem; }
}

@media (max-width: 768px) {
    .ns-hero { min-height: 70vh; background-attachment: scroll; }
    .ns-hero-title { font-size: clamp(2rem, 7vw, 2.6rem); }
    .ns-stat-number { font-size: 2rem; }
    .ns-nav-pn { grid-template-columns: 1fr; }
    .ns-nav-pn-link.next { flex-direction: row; text-align: left; border-right: none; border-left: 5px solid var(--ns-orange); }
    .ns-cta-btns { flex-direction: column; align-items: center; }
    .ns-cta-btn-primary,
    .ns-cta-btn-secondary { width: 100%; max-width: 300px; justify-content: center; }
    .ns-mv-card { padding: 2rem 1.5rem; }
    .ns-intro-quote::before { font-size: 8rem; }
}

@media (max-width: 576px) {
    .ns-section { padding: 3.5rem 0; }
    .ns-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .ns-pilares-grid { grid-template-columns: 1fr 1fr; }
    .ns-valores-grid { grid-template-columns: 1fr 1fr; }
    .ns-explore-grid { grid-template-columns: 1fr; }
}
