/* ================================================================
   NOSOTROS.CSS — Defany Industrial
   Fuente: Poppins | Paleta: #02042B #D5EBF8 #F4F6F8 #5B5B5B
   ================================================================ */

/* BASE */
.nos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}

.nos-about__grid,
.nos-stats__grid,
.nos-mv__grid,
.nos-valores__grid,
.nos-ps__grid,
.nos-industrias__grid,
.nos-cobertura__grid {
    width: 100%;
}

/* SCROLL ANIMATIONS */
.nos-animate {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.nos-animate.visible {
    opacity: 1;
    transform: none;
}

/* ETIQUETA SUPERIOR */
.nos-label {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #7FA9C9;
    display: block;
    margin-bottom: 14px;
}

/* ENCABEZADO DE SECCIÓN */
.nos-section-header {
    text-align: center;
    margin-bottom: 60px;
}
.nos-section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #02042B;
    margin: 0 0 14px;
    line-height: 1.2;
}
.nos-section-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    color: #5B5B5B;
    margin: 0;
}
.nos-section-header--light h2 { color: #fff; }
.nos-section-header--light p  { color: rgba(213,235,248,0.8); }

/* BOTONES */
.nos-btn-dark {
    display: inline-block;
    background: #02042B;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    padding: 14px 34px;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.4px;
    transition: background 0.3s, color 0.3s;
    margin-top: 10px;
}
.nos-btn-dark:hover {
    background: #D5EBF8;
    color: #02042B;
}
.nos-btn-light {
    display: inline-block;
    background: #D5EBF8;
    color: #02042B;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}
.nos-btn-light:hover { background: #fff; }
.nos-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #25D366;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 36px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}
.nos-btn-whatsapp i { font-size: 18px; }
.nos-btn-whatsapp:hover { background: #1ebe5d; }
.nos-btn-outline {
    display: inline-block;
    border: 2px solid rgba(213,235,248,0.7);
    color: #D5EBF8;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 34px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}
.nos-btn-outline:hover {
    background: #D5EBF8;
    color: #02042B;
    border-color: #D5EBF8;
}

/* ================================================================
   HERO
   ================================================================ */
.nos-hero {
    position: relative;
    height: 35vh;
    min-height: 240px;
    background: url('../img/iniciofondo.jpg') center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.nos-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(2,4,43,0.88) 0%, rgba(2,4,43,0.68) 100%);
}
.nos-hero__content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 0 20px;
}
.nos-hero__sub {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #D5EBF8;
    margin: 0 0 16px;
}
.nos-hero__title {
    font-family: 'Poppins', sans-serif;
    font-size: 64px;
    font-weight: 800;
    margin: 0 0 24px;
    letter-spacing: -2px;
    line-height: 1;
}
.nos-hero__line {
    width: 54px;
    height: 3px;
    background: #D5EBF8;
    margin: 0 auto;
    border-radius: 2px;
}

/* ================================================================
   SECCIÓN 1 — QUIÉNES SOMOS
   ================================================================ */
.nos-about {
    padding: 110px 0;
    background: #fff;
}
.nos-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.nos-about__text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #02042B;
    line-height: 1.25;
    margin: 0 0 26px;
}
.nos-about__text p {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #5B5B5B;
    line-height: 1.9;
    margin-bottom: 20px;
}
.nos-about__img img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    display: block;
    margin: 0 auto;
    background: #F4F6F8;
    padding: 40px;
}

/* ================================================================
   SECCIÓN 2 — ESTADÍSTICAS
   ================================================================ */
.nos-stats {
    background: #02042B;
    padding: 80px 0;
}
.nos-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.nos-stat {
    text-align: center;
    padding: 44px 24px;
    border-right: 1px solid rgba(213,235,248,0.12);
}
.nos-stat:last-child { border-right: none; }
.nos-stat__num {
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #D5EBF8;
    display: block;
    margin-bottom: 14px;
    line-height: 1;
}
.nos-stat__num i { font-size: 46px; }
.nos-stat h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px;
}
.nos-stat p {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: rgba(213,235,248,0.65);
    margin: 0;
    line-height: 1.6;
}

/* ================================================================
   SECCIÓN 3 — MISIÓN Y VISIÓN
   ================================================================ */
.nos-mv {
    background: #F4F6F8;
    padding: 110px 0;
}
.nos-mv__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}
.nos-mv__card {
    background: #fff;
    border-radius: 16px;
    padding: 52px 44px;
    box-shadow: 0 4px 32px rgba(2,4,43,0.07);
    transition: transform 0.35s, box-shadow 0.35s;
}
.nos-mv__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(2,4,43,0.12);
}
.nos-mv__icon {
    width: 60px;
    height: 60px;
    background: #02042B;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}
.nos-mv__icon i {
    color: #D5EBF8;
    font-size: 22px;
}
.nos-mv__card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #02042B;
    margin: 0 0 20px;
}
.nos-mv__card p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #5B5B5B;
    line-height: 1.95;
    margin: 0;
}

/* ================================================================
   SECCIÓN 4 — VALORES
   ================================================================ */
.nos-valores {
    background: #fff;
    padding: 110px 0;
}
.nos-valores__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.nos-valor {
    background: #fff;
    border-radius: 10px;
    padding: 34px 26px;
    border-top: 3px solid #D5EBF8;
    box-shadow: 0 2px 18px rgba(2,4,43,0.06);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.nos-valor:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(2,4,43,0.12);
    border-top-color: #02042B;
}
.nos-valor__icon {
    width: 48px;
    height: 48px;
    background: #F4F6F8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: background 0.3s;
}
.nos-valor:hover .nos-valor__icon { background: #02042B; }
.nos-valor__icon i {
    color: #02042B;
    font-size: 18px;
    transition: color 0.3s;
}
.nos-valor:hover .nos-valor__icon i { color: #D5EBF8; }
.nos-valor h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #02042B;
    margin: 0 0 10px;
}
.nos-valor p {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #5B5B5B;
    line-height: 1.75;
    margin: 0;
}

/* ================================================================
   SECCIÓN 5 — PRODUCTOS Y SERVICIOS
   ================================================================ */
.nos-ps {
    background: #F4F6F8;
    padding: 110px 0;
}
.nos-ps__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}
.nos-ps__col {
    background: #fff;
    border-radius: 14px;
    padding: 44px 38px;
    box-shadow: 0 2px 20px rgba(2,4,43,0.06);
}
.nos-ps__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 2px solid #F4F6F8;
}
.nos-ps__header i {
    font-size: 30px;
    color: #02042B;
}
.nos-ps__header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #02042B;
    margin: 0;
}
.nos-ps__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nos-ps__list li {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #5B5B5B;
    padding: 11px 0;
    border-bottom: 1px solid #F4F6F8;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: color 0.2s, padding-left 0.25s;
}
.nos-ps__list li:last-child { border-bottom: none; }
.nos-ps__list li:hover {
    color: #02042B;
    padding-left: 8px;
}
.nos-ps__list li i {
    color: #7FA9C9;
    font-size: 12px;
    flex-shrink: 0;
}

/* ================================================================
   SECCIÓN 6 — MARCAS (CARRUSEL)
   ================================================================ */
.nos-marcas {
    background: #fff;
    padding: 90px 0;
    overflow: hidden;
}
.nos-marcas__track-wrap {
    overflow: hidden;
    margin: 50px 0 36px;
    position: relative;
}
.nos-marcas__track-wrap::before,
.nos-marcas__track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.nos-marcas__track-wrap::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}
.nos-marcas__track-wrap::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}
.nos-marcas__track {
    display: flex;
    width: max-content;
    animation: marcasScroll 38s linear infinite;
    max-width: none;
}
.nos-marcas__track span {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #2B2B2B;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px 32px;
    border: 1.5px solid #e8edf2;
    border-radius: 8px;
    margin-right: 14px;
    white-space: nowrap;
    transition: border-color 0.3s, color 0.3s, background 0.3s;
    cursor: default;
    background: #fff;
}
.nos-marcas__track span:hover {
    border-color: #02042B;
    color: #02042B;
    background: #F4F6F8;
}
@keyframes marcasScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.nos-marcas__sub {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #5B5B5B;
    text-align: center;
    margin: 0;
}

/* ================================================================
   SECCIÓN 7 — INDUSTRIAS
   ================================================================ */
.nos-industrias {
    background: #02042B;
    padding: 110px 0;
}
.nos-industrias__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.nos-industria {
    background: rgba(213,235,248,0.05);
    border: 1px solid rgba(213,235,248,0.12);
    border-radius: 14px;
    padding: 50px 30px;
    text-align: center;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    cursor: default;
}
.nos-industria:hover {
    background: rgba(213,235,248,0.1);
    border-color: rgba(213,235,248,0.5);
    transform: translateY(-5px);
}
.nos-industria i {
    font-size: 40px;
    color: #D5EBF8;
    margin-bottom: 18px;
    display: block;
}
.nos-industria h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* ================================================================
   SECCIÓN 8 — COBERTURA
   ================================================================ */
.nos-cobertura {
    background: #fff;
    padding: 110px 0;
}
.nos-cobertura__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.nos-cobertura__text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #02042B;
    line-height: 1.25;
    margin: 0 0 22px;
}
.nos-cobertura__text > p {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #5B5B5B;
    line-height: 1.9;
    margin-bottom: 34px;
}
.nos-cobertura__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
}
.nos-cobertura__list li {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #2B2B2B;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}
.nos-cobertura__list li i {
    color: #02042B;
    font-size: 16px;
    flex-shrink: 0;
}
.nos-cobertura__mapa {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nos-cobertura__mapa-inner {
    background: #F4F6F8;
    border-radius: 16px;
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #D5EBF8;
}
.nos-cobertura__mapa-inner i {
    font-size: 72px;
    color: #02042B;
    margin-bottom: 20px;
    opacity: 0.75;
}
.nos-cobertura__mapa-inner p {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #02042B;
    margin: 0 0 6px;
}
.nos-cobertura__mapa-inner span {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: #7FA9C9;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ================================================================
   CTA FINAL
   ================================================================ */
.nos-cta {
    background: #02042B;
    padding: 110px 0;
    text-align: center;
}
.nos-cta__content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.25;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.nos-cta__content > p {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    color: rgba(213,235,248,0.8);
    margin: 0 0 46px;
}
.nos-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .nos-valores__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nos-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nos-stat {
        border-right: none;
        border-bottom: 1px solid rgba(213,235,248,0.12);
    }
    .nos-stat:nth-child(2),
    .nos-stat:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
    .nos-hero { height: 44vh; }
    .nos-hero__title { font-size: 44px; }

    .nos-about__grid,
    .nos-mv__grid,
    .nos-ps__grid,
    .nos-cobertura__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .nos-about__img img { height: 280px; }

    .nos-section-header h2,
    .nos-cta__content h2,
    .nos-cobertura__text h2,
    .nos-about__text h2 { font-size: 28px; }

    .nos-industrias__grid { grid-template-columns: repeat(2, 1fr); }
    .nos-valores__grid { grid-template-columns: 1fr 1fr; }
    .nos-stats__grid { grid-template-columns: 1fr 1fr; }
    .nos-cobertura__list { grid-template-columns: 1fr; }

    .nos-about, .nos-mv, .nos-valores, .nos-ps,
    .nos-marcas, .nos-industrias, .nos-cobertura, .nos-cta,
    .nos-stats { padding: 72px 0; }
}

@media (max-width: 480px) {
    .nos-hero__title { font-size: 34px; }

    .nos-valores__grid,
    .nos-industrias__grid,
    .nos-stats__grid { grid-template-columns: 1fr; }

    .nos-mv__card { padding: 32px 24px; }
    .nos-ps__col  { padding: 32px 24px; }
}
