/* ============================================================
   NOSOTROS PAGE — Grupo OPA
   Theme accent: Orange (#fba919), matching Grupo OPA main brand
   ============================================================ */

:root {
    --nos-accent: #fba919;
    --nos-accent-hover: #ffb833;
    --nos-dark: #0a0e17;
    --nos-darker: #06080d;
    --nos-navy: #1b365d;
}

/* ── HERO ── */
.nos-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 0 60px;
    background:
        linear-gradient(135deg, rgba(10,14,23,0.92) 0%, rgba(10,14,23,0.55) 60%, rgba(10,14,23,0.35) 100%),
        url('../img/nosotros_hero.png') center / cover no-repeat;
    overflow: hidden;
}

.nos-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to top, var(--nos-dark), transparent);
    pointer-events: none;
}

.nos-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding-top: 120px;
    padding-bottom: 80px;
}

.nos-tag {
    display: inline-block;
    color: var(--nos-accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.nos-hero-content h1 {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 24px;
    color: #ffffff;
}

.nos-hero-content .lead {
    font-size: 1.15rem;
    color: #d0d0d0;
    max-width: 600px;
    line-height: 1.7;
}

/* ── EN NÚMEROS ── */
.nos-stats-section {
    background-color: var(--nos-darker);
    padding: 50px 60px;
}

.nos-stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.nos-stat {
    flex: 1 1 200px;
    text-align: center;
}

.nos-stat .num {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--nos-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.nos-stat .label {
    font-size: 0.9rem;
    color: #c0c6d0;
    letter-spacing: 0.5px;
}

/* ── POR QUÉ EXISTIMOS ── */
.porque-section {
    background-color: #f5f5f5;
    color: var(--nos-dark);
    padding: 90px 60px;
}

.porque-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.porque-inner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.porque-inner h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--nos-accent);
    margin: 14px auto 0;
    border-radius: 2px;
}

.porque-text {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.porque-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 18px;
}

.porque-text p:last-child {
    text-align: center;
    font-size: 1.15rem;
    color: var(--nos-navy);
    margin-top: 6px;
}

/* ── QUÉ ES GRUPO OPA ── */
.quees-section {
    background-color: var(--nos-dark);
    color: #ffffff;
    padding: 90px 60px;
}

.quees-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.quees-inner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.quees-inner h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--nos-accent);
    margin: 14px auto 0;
    border-radius: 2px;
}

.quees-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #c8c8c8;
    margin-bottom: 18px;
    text-align: left;
}

/* ── NUESTRAS UNIDADES ESTRATÉGICAS ── */
.unidades-section {
    background-color: #f5f5f5;
    color: var(--nos-dark);
    padding: 90px 60px;
    text-align: center;
}

.unidades-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.unidades-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
}

.unidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.unidad-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px 28px 30px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-top: 4px solid var(--nos-accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.unidad-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.unidad-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.3;
    color: var(--nos-dark);
}

.unidad-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 22px;
}

.unidad-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--nos-accent);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s ease, gap 0.3s ease;
}

.unidad-link:hover {
    color: #d89200;
    gap: 12px;
}

/* ── UN PROYECTO COMPLETO / EQUIPO ── */
.equipo-section {
    background-color: var(--nos-navy);
    color: #ffffff;
    padding: 90px 60px;
}

.equipo-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.equipo-header {
    text-align: center;
    margin-bottom: 55px;
}

.equipo-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.2;
}

.equipo-header p {
    font-size: 1.05rem;
    color: #c0cbdd;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

.servicios-nosotros-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.serv-nos-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 32px 24px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.serv-nos-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.serv-nos-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251,169,25,0.15);
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 1.3rem;
    color: var(--nos-accent);
}

.serv-nos-card h4 {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    color: #ffffff;
}

.serv-nos-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.55;
}

/* ── NUESTROS VALORES ── */
.valores-section {
    background-color: var(--nos-navy);
    color: #ffffff;
    padding: 90px 60px;
    text-align: center;
}

.valores-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.valores-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 50px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.valor-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 32px 22px;
    text-align: left;
    transition: background 0.3s ease, transform 0.3s ease;
}

.valor-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}

.valor-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251,169,25,0.15);
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 1.2rem;
    color: var(--nos-accent);
}

.valor-card h4 {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.valor-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.55;
}

/* ── NUESTRA EXPERIENCIA ── */
.experiencia-section {
    background-color: var(--nos-dark);
    color: #ffffff;
    padding: 90px 60px;
}

.experiencia-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.experiencia-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.experiencia-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--nos-accent);
    margin: 14px auto 0;
    border-radius: 2px;
}

.exp-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.exp-pill {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 12px 24px;
    color: #a8b2c0;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.3;
    text-align: center;
}

.exp-pill:hover {
    background: rgba(251,169,25,0.1);
    border-color: rgba(251,169,25,0.3);
    color: #ffffff;
}

.exp-pill.active {
    background: var(--nos-accent);
    border-color: var(--nos-accent);
    color: var(--nos-dark);
    font-weight: 700;
}

.exp-statement {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 40px 35px;
    max-width: 800px;
    margin: 0 auto;
}

.exp-statement p {
    font-size: 1.1rem;
    color: #c0c6d0;
    line-height: 1.7;
}

.exp-closing {
    max-width: 800px;
    margin: 30px auto 0;
    font-size: 1.05rem;
    color: #a8b2c0;
    line-height: 1.7;
}

/* ── DÓNDE ESTAMOS ── */
.donde-section {
    background-color: #f5f5f5;
    color: var(--nos-dark);
    padding: 80px 60px;
}

.donde-inner {
    max-width: 700px;
    margin: 0 auto;
}

.donde-card {
    background: var(--nos-navy);
    border-radius: 16px;
    padding: 50px 40px;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donde-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(251,169,25,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.donde-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 140px;
    height: 140px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.donde-icon {
    width: 60px;
    height: 60px;
    background: var(--nos-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--nos-dark);
}

.donde-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.donde-card p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ── CTA BANNER ── */
.cta-banner-section {
    background: linear-gradient(135deg, var(--nos-accent) 0%, #d89200 100%);
    padding: 60px;
}

.cta-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-banner-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--nos-dark);
    margin-bottom: 6px;
}

.cta-banner-text p {
    font-size: 1rem;
    color: rgba(10,14,23,0.7);
}

.cta-banner-btn {
    background-color: var(--nos-dark) !important;
    color: #ffffff !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-banner-btn:hover {
    background-color: #1a2030 !important;
    transform: translateY(-2px);
}

/* ── SCROLL REVEAL (shared with other pages) ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Tablet (<=992px) ---- */
@media (max-width: 992px) {
    .nos-hero-content h1 {
        font-size: 2.8rem;
    }

    .unidades-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .servicios-nosotros-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-banner-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ---- Mobile (<=768px) ---- */
@media (max-width: 768px) {
    .nos-hero {
        padding: 0 24px;
        min-height: 60vh;
    }

    .nos-hero-content {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .nos-hero-content h1 {
        font-size: 2.1rem;
    }

    .nos-hero-content .lead {
        font-size: 1rem;
    }

    .porque-section,
    .quees-section,
    .unidades-section,
    .equipo-section,
    .valores-section,
    .experiencia-section,
    .donde-section {
        padding: 60px 24px;
    }

    .nos-stats-section {
        padding: 40px 24px;
    }

    .nos-stat .num {
        font-size: 1.9rem;
    }

    .porque-inner h2,
    .quees-inner h2,
    .unidades-section h2,
    .valores-section h2,
    .experiencia-section h2 {
        font-size: 1.7rem;
    }

    .equipo-header h2 {
        font-size: 1.5rem;
    }

    .servicios-nosotros-grid,
    .valores-grid {
        grid-template-columns: 1fr;
    }

    .exp-pills {
        gap: 8px;
    }

    .exp-pill {
        padding: 10px 16px;
        font-size: 0.78rem;
    }

    .exp-statement {
        padding: 28px 22px;
    }

    .cta-banner-section {
        padding: 40px 24px;
    }

    .cta-banner-text h2 {
        font-size: 1.3rem;
    }

    .donde-card {
        padding: 35px 24px;
    }
}

/* ---- Small phones (<=480px) ---- */
@media (max-width: 480px) {
    .nos-hero-content h1 {
        font-size: 1.8rem;
    }

    .exp-pills {
        flex-direction: column;
        align-items: center;
    }

    .exp-pill {
        width: 100%;
    }
}
