/* ═══════════════════════════════════════════════════════════════
 * /nosotros — estilos
 * Concatenar al final de public/css/site.css o crear archivo
 * dedicado public/css/nosotros.css y enlazarlo en el layout public.
 *
 * Patrón consistente con cal-* y ct- de las páginas hermanas.
 * Paleta institucional INGEOTOP-GEOMETROLOGIA:
 *   Azul oscuro INGEOTOP   #2C2D82
 *   Azul medio INGEOTOP    #1C579D
 *   Rojo INGEOTOP          #E10713
 *   Verde GEOMETROLOGIA    #0D9D31
 *   Azul GEOMETROLOGIA     #3E64D7
 *   Naranja alerta         #B8651A / #FFF3CD
 *   Gris neutro            #939393
 * ═══════════════════════════════════════════════════════════════ */

.page-nosotros {
    color: #2c2c2a;
    line-height: 1.65;
}

/* ─────────────────── Pretitulos y headers ──────────────────── */
.ns-pretitulo {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #1C579D;
    margin-bottom: 0.7rem;
}
.ns-pretitulo--light { color: #B5D4F4; }

.ns-section-titulo {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #042C53;
    margin-bottom: 1rem;
    line-height: 1.25;
}
.ns-section-titulo--light { color: #ffffff; }

.ns-section-intro {
    font-size: 1.05rem;
    color: #444441;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}
.ns-section-intro--light { color: #c2c0b6; }

.ns-section-header {
    margin-bottom: 3rem;
}

.ns-section {
    padding: 4.5rem 0;
}
.ns-section--alt { background-color: #f8f7f2; }
.ns-section--dark { background-color: #042C53; color: #ffffff; }

.ns-text-lg {
    font-size: 1.05rem;
    color: #2c2c2a;
    margin-bottom: 1.4rem;
}

.ns-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #1C579D;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.ns-link:hover { color: #042C53; }
.ns-link .material-symbols-rounded { font-size: 1.1rem; }

/* ─────────────────── Hero ──────────────────────────────────── */
.ns-hero {
    background: linear-gradient(135deg, #042C53 0%, #1C579D 100%);
    color: #ffffff;
    padding: 5rem 0 4.5rem;
    text-align: center;
}
.ns-hero-titulo {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: #ffffff;
}
.ns-hero-descripcion {
    font-size: 1.1rem;
    color: #d6e4f3;
    max-width: 820px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.ns-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}
.ns-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 22px;
    font-size: 0.85rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}
.ns-badge--blue   { background-color: rgba(53, 138, 221, 0.25); border-color: #378ADD; }
.ns-badge--green  { background-color: rgba(13, 157, 49, 0.25); border-color: #0D9D31; }
.ns-badge--gray   { background-color: rgba(255, 255, 255, 0.12); }
.ns-badge .material-symbols-rounded { font-size: 1rem; }

/* ─────────────────── Historia — Tres tiempos ────────────────── */
.ns-tiempos {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 920px;
    margin: 0 auto;
}
.ns-tiempo {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: stretch;
}
.ns-tiempo-marca {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding-top: 0.6rem;
    position: relative;
}
.ns-tiempo-marca::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 0;
    bottom: -2rem;
    width: 3px;
    background: #d3d1c7;
}
.ns-tiempo:last-child .ns-tiempo-marca::after { display: none; }

.ns-tiempo-anios {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1C579D;
    letter-spacing: 0.05em;
}
.ns-tiempo-numero {
    font-size: 2.4rem;
    font-weight: 800;
    color: #B4B2A9;
    line-height: 1;
    margin-top: 0.3rem;
}
.ns-tiempo-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.6rem 1.8rem;
    border-left: 5px solid #B4B2A9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ns-tiempo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.ns-tiempo-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #042C53;
    margin: 0 0 0.3rem;
}
.ns-tiempo-subtitulo {
    display: block;
    font-size: 0.85rem;
    color: #5F5E5A;
    font-style: italic;
    margin-bottom: 0.9rem;
}
.ns-tiempo-card p {
    font-size: 0.98rem;
    color: #444441;
    margin: 0;
    line-height: 1.65;
}
.ns-tiempo--fundacional .ns-tiempo-card { border-left-color: #1C579D; }
.ns-tiempo--pausa .ns-tiempo-card       { border-left-color: #939393; }
.ns-tiempo--refundacion .ns-tiempo-card { border-left-color: #0D9D31; }

@media (max-width: 768px) {
    .ns-tiempo {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    .ns-tiempo-marca {
        flex-direction: row;
        align-items: baseline;
        gap: 1rem;
        text-align: left;
    }
    .ns-tiempo-marca::after { display: none; }
    .ns-tiempo-numero { font-size: 1.6rem; margin-top: 0; }
}

/* ─────────────────── Frase doctrinal ─────────────────────────── */
.ns-frase-doctrinal {
    background: #ffffff;
    border-left: 4px solid #1C579D;
    padding: 1.4rem 1.7rem 1.4rem 2.5rem;
    border-radius: 0 12px 12px 0;
    position: relative;
    margin: 1.5rem 0 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.ns-quote-icon {
    position: absolute;
    top: 0.4rem;
    left: 0.8rem;
    font-size: 2.4rem;
    color: #B5D4F4;
    line-height: 1;
    font-family: Georgia, serif;
}
.ns-frase-doctrinal p {
    font-size: 1.1rem;
    font-style: italic;
    color: #042C53;
    margin: 0 0 0.7rem;
    line-height: 1.5;
}
.ns-frase-doctrinal footer {
    font-size: 0.85rem;
    color: #5F5E5A;
    font-style: normal;
}

/* ─────────────────── Distinciones doctrinales ────────────────── */
.ns-distincion-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.6rem 1.8rem;
    height: 100%;
    border-top: 4px solid #B4B2A9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}
.ns-distincion-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.ns-distincion-numero {
    position: absolute;
    top: 1rem;
    right: 1.4rem;
    font-size: 2.6rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
}
.ns-distincion-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #042C53;
    margin: 0 0 0.8rem;
    padding-right: 3rem;
}
.ns-distincion-card p {
    font-size: 0.95rem;
    color: #444441;
    margin: 0;
    line-height: 1.6;
}
.ns-distincion-card--blue   { border-top-color: #1C579D; }
.ns-distincion-card--green  { border-top-color: #0D9D31; }
.ns-distincion-card--orange { border-top-color: #B8651A; }
.ns-distincion-card--gray   { border-top-color: #939393; }

.ns-distinciones-link {
    text-align: center;
    margin-top: 2.5rem;
}
.ns-distinciones-link p {
    font-size: 0.95rem;
    color: #5F5E5A;
    margin-bottom: 0.6rem;
    font-style: italic;
}

/* ─────────────────── Marca y arquitectura ────────────────────── */
.ns-marca-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.ns-entidad {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.8rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border-top: 4px solid #B4B2A9;
}
.ns-entidad-header {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E8E6DD;
}
.ns-entidad-header .material-symbols-rounded {
    font-size: 2rem;
    color: #1C579D;
    flex-shrink: 0;
}
.ns-entidad-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #042C53;
    margin: 0 0 0.2rem;
}
.ns-entidad-subtitulo {
    font-size: 0.82rem;
    color: #5F5E5A;
    font-style: italic;
}
.ns-entidad p {
    font-size: 0.95rem;
    color: #444441;
    margin: 0;
    line-height: 1.6;
}
.ns-entidad--geosoftec      { border-top-color: #2C2D82; }
.ns-entidad--geosoftec .ns-entidad-header .material-symbols-rounded { color: #2C2D82; }
.ns-entidad--geometrologia  { border-top-color: #0D9D31; }
.ns-entidad--geometrologia .ns-entidad-header .material-symbols-rounded { color: #0D9D31; }
.ns-entidad--ingeotop       { border-top-color: #E10713; }
.ns-entidad--ingeotop .ns-entidad-header .material-symbols-rounded { color: #E10713; }

.ns-marca-firma {
    background: #042C53;
    color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-align: center;
    margin-top: 1rem;
}
.ns-marca-firma p {
    margin: 0;
    font-size: 1rem;
    color: #d6e4f3;
    line-height: 1.6;
}

/* ─────────────────── Sedes — Mapa con bandera ────────────────── */
.ns-mapa-wrap {
    position: relative;
    max-width: 540px;
    margin: 1rem auto 0;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.ns-mapa-bandera {
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0.85;
    pointer-events: none;
}
.ns-bandera-amarilla {
    flex: 2;
    background-color: #FCD116;
}
.ns-bandera-azul {
    flex: 1;
    background-color: #003893;
}
.ns-bandera-rojo {
    flex: 1;
    background-color: #CE1126;
}
.ns-mapa-colombia {
    width: 100%;
    height: auto;
    max-height: 540px;
    display: block;
}

/* ─────────────────── Sedes — Cards ───────────────────────────── */
.ns-sede-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.7rem;
    height: 100%;
    border-top: 4px solid #B4B2A9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ns-sede-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.ns-sede-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}
.ns-sede-header .material-symbols-rounded {
    font-size: 2.2rem;
    color: #1C579D;
    flex-shrink: 0;
}
.ns-sede-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #042C53;
    margin: 0 0 0.2rem;
}
.ns-sede-rol {
    font-size: 0.85rem;
    color: #5F5E5A;
    font-style: italic;
}
.ns-sede-card--bogota       { border-top-color: #1C579D; }
.ns-sede-card--barranquilla { border-top-color: #E10713; }
.ns-sede-card--barranquilla .ns-sede-header .material-symbols-rounded { color: #E10713; }
.ns-sede-card p {
    font-size: 0.95rem;
    color: #444441;
    margin: 0;
    line-height: 1.6;
}

/* ─────────────────── Infraestructura uniforme ────────────────── */
.ns-uniforme {
    background: linear-gradient(135deg, #f8f7f2 0%, #ffffff 100%);
    border: 1px solid #E8E6DD;
    border-radius: 14px;
    padding: 1.8rem;
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.ns-uniforme-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #0D9D31;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ns-uniforme-icon .material-symbols-rounded {
    font-size: 2rem;
}
.ns-uniforme-texto h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #042C53;
    margin: 0 0 0.5rem;
}
.ns-uniforme-texto p {
    font-size: 0.95rem;
    color: #444441;
    margin: 0;
    line-height: 1.6;
}

/* ─────────────────── Demo franquicia ─────────────────────────── */
.ns-franquicia-demo {
    background: #042C53;
    color: #ffffff;
    border-radius: 14px;
    padding: 2rem;
    margin-top: 1.5rem;
}
.ns-franquicia-demo h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.8rem;
}
.ns-franquicia-demo h3 .material-symbols-rounded {
    color: #97C459;
    font-size: 1.6rem;
}
.ns-franquicia-demo p {
    margin: 0;
    color: #d6e4f3;
    line-height: 1.65;
}

/* ─────────────────── Acreditación ────────────────────────────── */
.ns-acreditacion-hitos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.ns-hito {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.7rem;
    border-left: 4px solid #B4B2A9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.ns-hito-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E6F1FB;
    color: #1C579D;
}
.ns-hito-icon .material-symbols-rounded {
    font-size: 1.6rem;
}
.ns-hito-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5F5E5A;
    margin-bottom: 0.4rem;
}
.ns-hito p {
    font-size: 0.95rem;
    color: #2c2c2a;
    margin: 0;
    line-height: 1.55;
}
.ns-hito--actual       { border-left-color: #1C579D; }
.ns-hito--proximo      { border-left-color: #B8651A; }
.ns-hito--proximo .ns-hito-icon { background-color: #FAEEDA; color: #B8651A; }
.ns-hito--lanzamiento  { border-left-color: #0D9D31; }
.ns-hito--lanzamiento .ns-hito-icon { background-color: #EAF3DE; color: #0D9D31; }

.ns-acreditacion-link {
    text-align: center;
    margin-top: 2.5rem;
}
.ns-acreditacion-link p {
    font-size: 0.95rem;
    color: #5F5E5A;
    margin-bottom: 0.6rem;
    font-style: italic;
}

/* ─────────────────── Equipo ──────────────────────────────────── */
.ns-director-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f7f2 100%);
    border-radius: 14px;
    padding: 2rem;
    display: flex;
    gap: 1.8rem;
    align-items: flex-start;
    border: 1px solid #E8E6DD;
    margin-bottom: 1.5rem;
}
.ns-director-avatar {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1C579D, #042C53);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ns-director-avatar .material-symbols-rounded {
    font-size: 3.2rem;
}
.ns-director-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1C579D;
    margin-bottom: 0.4rem;
}
.ns-director-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #042C53;
    margin: 0 0 0.2rem;
}
.ns-director-rol {
    display: block;
    font-size: 0.92rem;
    color: #5F5E5A;
    font-style: italic;
    margin-bottom: 0.9rem;
}
.ns-director-card p {
    font-size: 0.98rem;
    color: #444441;
    margin: 0;
    line-height: 1.65;
}

.ns-equipo-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.6rem 1.8rem;
    height: 100%;
    border-top: 3px solid #B4B2A9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.ns-equipo-card-header {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #E8E6DD;
}
.ns-equipo-card-header .material-symbols-rounded {
    font-size: 1.7rem;
    color: #1C579D;
}
.ns-equipo-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #042C53;
    margin: 0;
}
.ns-equipo-card p {
    font-size: 0.95rem;
    color: #444441;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .ns-director-card { flex-direction: column; text-align: center; }
    .ns-director-avatar { margin: 0 auto; }
}

/* ─────────────────── Reconocimiento institucional ────────────── */
.ns-reconocimiento-content {
    max-width: 820px;
    margin: 0 auto;
}
.ns-reconocimiento-content p {
    font-size: 1.05rem;
    color: #d6e4f3;
    margin-bottom: 1.3rem;
    line-height: 1.7;
}
.ns-reconocimiento-content p:last-child {
    margin-bottom: 0;
}

/* ─────────────────── CTA final ───────────────────────────────── */
.ns-cta {
    background-color: #f8f7f2;
}
.ns-cta-box {
    background: linear-gradient(135deg, #042C53 0%, #1C579D 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 3.5rem 3rem;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(4, 44, 83, 0.15);
}
.ns-cta-box h2 {
    color: #ffffff;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    margin: 0 0 1rem;
}
.ns-cta-box p {
    color: #d6e4f3;
    font-size: 1.05rem;
    margin: 0 0 1.8rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
.ns-cta-botones {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.ns-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.7rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}
.ns-cta-btn--primary {
    background-color: #ffffff;
    color: #042C53;
    border-color: #ffffff;
}
.ns-cta-btn--primary:hover {
    background-color: #d6e4f3;
    border-color: #d6e4f3;
    color: #042C53;
}
.ns-cta-btn--secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}
.ns-cta-btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}
.ns-cta-btn .material-symbols-rounded {
    font-size: 1.1rem;
}

@media (max-width: 600px) {
    .ns-cta-box { padding: 2.5rem 1.5rem; }
    .ns-cta-btn { width: 100%; justify-content: center; }
}
/* Intro de sección general */
.page-nosotros .ns-section-intro {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Párrafos largos del cuerpo */
.page-nosotros .ns-text-lg {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Sección "Historia — Tres tiempos" — descripción de cada card */
.page-nosotros .ns-tiempo-card p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Sección "Cuatro distinciones doctrinales" */
.page-nosotros .ns-distincion-card p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Sección "Marca y arquitectura" — entidades */
.page-nosotros .ns-entidad p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Firma debajo del grid de entidades */
.page-nosotros .ns-marca-firma p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Sección "Sedes" — descripción de cada sede */
.page-nosotros .ns-sede-card p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Bloque infraestructura uniforme */
.page-nosotros .ns-uniforme-texto p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Demo franquicia */
.page-nosotros .ns-franquicia-demo p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Hitos de acreditación */
.page-nosotros .ns-hito p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Director — biografía */
.page-nosotros .ns-director-card p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Equipo — descripción de cada rol */
.page-nosotros .ns-equipo-card p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* Reconocimiento institucional (texto sobre fondo oscuro) */
.page-nosotros .ns-reconocimiento-content p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
 
/* NOTA — CTA final y frase doctrinal NO se justifican porque
   son textos centrados o citas con estilo propio. */