/* ============================================
   KOLPA EDITORES - NOSOTROS PAGE STYLES
   ============================================ */

/* ============================================
   HERO NOSOTROS
   ============================================ */
.hero-nosotros {
    position: relative;
    height: 60vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-nosotros-bg {
    position: absolute;
    inset: 0;
    background: url('https://kolpaeditores.edu.pe/assets/img/slider1.jpg') center/cover no-repeat;
}

.hero-nosotros-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(139, 0, 0, 0.6) 100%);
}

.hero-nosotros-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-nosotros-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease forwards;
}

.hero-nosotros-content p {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PRESENTACIÓN / SOBRE NOSOTROS
   ============================================ */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #06070a 0%, rgba(196, 30, 58, 0.03) 50%, #06070a 100%);
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-highlight {
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.15) 0%, rgba(139, 0, 0, 0.1) 100%);
    border-left: 4px solid var(--brand);
    padding: 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-top: 2rem;
}

.about-highlight p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--brand);
    border-radius: var(--radius);
    transform: translate(20px, 20px);
    z-index: -1;
    opacity: 0.5;
}

/* ============================================
   DIRECTORIO NOSOTROS
   ============================================ */
.directorio-nosotros {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.directorio-nosotros-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.director-nosotros-card {
    background: var(--card);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s ease;
}

.director-nosotros-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand);
    box-shadow: 0 25px 60px rgba(196, 30, 58, 0.2);
}

.director-nosotros-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--brand);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.director-nosotros-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.director-nosotros-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.director-nosotros-role {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
    color: #ffffff;
    padding: 0.4rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.director-nosotros-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   MISIÓN Y VISIÓN
   ============================================ */
.mv-section {
    padding: 6rem 0;
    background: #06070a;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.mv-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mv-card:hover {
    border-color: var(--brand);
    transform: translateY(-5px);
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
}

.mv-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.mv-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.mv-card p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

/* ============================================
   LEMA / QUOTE
   ============================================ */
.lema-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
    position: relative;
    overflow: hidden;
}

.lema-section::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 50px;
    font-size: 20rem;
    font-family: 'Playfair Display', Georgia, serif;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.lema-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.lema-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* ============================================
   VALORES
   ============================================ */
.valores-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0d0d0d 0%, #06070a 100%);
}

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

.valor-card {
    background: var(--card);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.valor-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand2));
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.valor-card:hover {
    transform: translateY(-10px);
    border-color: rgba(196, 30, 58, 0.5);
    box-shadow: var(--shadow);
}

.valor-card:hover::after {
    width: 80%;
}

.valor-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: #ffffff;
    transition: all 0.4s ease;
}

.valor-card:hover .valor-icon {
    transform: scale(1.1) rotate(10deg);
}

.valor-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.valor-card p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   RESEÑA / TIMELINE
   ============================================ */
.resena-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
}

.resena-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: start;
}

.resena-image {
    position: sticky;
    top: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.resena-content h2 {
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--brand), var(--brand2), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--brand);
    border-radius: 50%;
    border: 3px solid #1a1a1a;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.timeline-item strong {
    color: #ffffff;
}

/* ============================================
   CTA NOSOTROS
   ============================================ */
.cta-nosotros {
    padding: 6rem 0;
    background: url('https://kolpaeditores.edu.pe/assets/img/fondo.png') center/cover no-repeat fixed;
    position: relative;
}

.cta-nosotros::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(139, 0, 0, 0.8) 100%);
}

.cta-nosotros-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-nosotros-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.cta-nosotros-content p {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ============================================
   RESPONSIVE NOSOTROS
   ============================================ */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

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

    .resena-wrapper {
        grid-template-columns: 1fr;
    }

    .resena-image {
        position: relative;
        top: auto;
        max-width: 400px;
        margin: 0 auto 2rem;
    }

    .directorio-nosotros-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-nosotros {
        height: 50vh;
        min-height: 350px;
    }

    .hero-nosotros-content h1 {
        font-size: 2rem;
    }

    .hero-nosotros-content p {
        font-size: 1rem;
    }

    .lema-section::before {
        font-size: 10rem;
        top: -20px;
        left: 20px;
    }

    .director-nosotros-image {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .mv-card,
    .valor-card,
    .director-nosotros-card {
        padding: 2rem 1.5rem;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-item::before {
        left: -24px;
    }
}
