/**
 * Quiénes Somos - INSTANET
 * CSS con colores oficiales de INSTANET
 * Fondo BLANCO - Estilo consistente con el sitio principal
 */

/* =========================================
   VARIABLES Y BASE - COLORES INSTANET
   ========================================= */
:root {
    /* Colores oficiales INSTANET */
    --brand: #F7931E;
    --brand-dark: #D97706;
    --brand-light: #FEF3C7;
    --color-text: #171a20;
    --color-text-secondary: #5c5e62;
    --color-background: #FFFFFF;
    --color-gray-light: #f8fafc;
    --color-gray: #94a3b8;
    --color-success: #10b981;
    --color-dark-section: #0f172a;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.page-quienes-somos {
    font-family: var(--font-sans);
    font-size: 16px;
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* =========================================
   PAGE WRAPPER
   ========================================= */
.page-quienes-somos .page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    padding-top: 90px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    text-align: center;
    padding: 4rem 0 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--brand-light);
    border: 1px solid rgba(247, 147, 30, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.badge-icon {
    font-size: 1.25rem;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   SECTIONS
   ========================================= */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.section-title.centered {
    text-align: center;
}

.text-dark {
    color: var(--color-text);
}

.text-orange {
    color: var(--brand);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.section-grid {
    display: grid;
    gap: 3rem;
}

.section-grid.two-cols {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

/* =========================================
   ABOUT SECTION - Fondo gris claro
   ========================================= */
.about-section {
    background: var(--color-gray-light);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.image-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

.overlay-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.about-text strong {
    color: var(--color-text);
}

.coverage-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--color-background);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--brand);
    box-shadow: var(--shadow-sm);
}

.coverage-info i {
    color: var(--brand);
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.coverage-info strong {
    color: var(--brand);
}

/* =========================================
   VISION & MISSION - Con animación de órbitas estilo speedtest
   ========================================= */
.vision-mission-section {
    position: relative;
    padding: 5rem 2rem;
    margin: 3rem 0;
    background: var(--color-gray-light);
    border-radius: var(--radius-xl);
    overflow: visible;
}

.vm-card {
    position: relative;
    z-index: 1;
    background: var(--color-background);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.vm-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 375px;
    height: 375px;
    pointer-events: none;
    z-index: 0;
}

.vm-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: 0 20px 40px rgba(247, 147, 30, 0.12);
}

.vm-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-radius: 50%;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 8px 25px rgba(247, 147, 30, 0.3);
}

.vm-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 1.5rem;
}

.vm-text {
    font-size: 1rem;
    color: #333333 !important;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* =========================================
   VALUES SECTION - Cards sobre fondo blanco
   ========================================= */
.values-section {
    padding-top: 5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: var(--color-background);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand);
    box-shadow: 0 15px 30px rgba(247, 147, 30, 0.12);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.value-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* =========================================
   COMMITMENT SECTION
   ========================================= */
.commitment-section {
    padding: 3rem 0;
}

.commitment-card {
    background: linear-gradient(135deg, var(--brand-light) 0%, rgba(254, 243, 199, 0.5) 100%);
    border: 1px solid rgba(247, 147, 30, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
}

.commitment-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.commitment-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 1.5rem;
}

.commitment-text {
    max-width: 700px;
    margin: 0 auto 2rem;
}

.commitment-text p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
}

.commitment-text strong {
    color: var(--color-text);
}

.commitment-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-background);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
}

.badge-item i {
    color: var(--color-success);
}

/* =========================================
   FOOTER
   ========================================= */
.page-footer {
    padding: 3rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.footer-content {
    margin-bottom: 1.5rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 0.25rem;
}

.footer-location {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--brand);
}

/* =========================================
   ANIMATIONS
   ========================================= */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .section-grid.two-cols {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .page-quienes-somos .page-wrapper {
        padding: 0 1rem;
        padding-top: 100px;
    }

    .hero-section {
        padding: 3rem 0 2rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 1.5rem;
    }

    .vm-card {
        padding: 2rem;
    }

    .commitment-card {
        padding: 2rem;
    }

    .commitment-badges {
        gap: 1rem;
    }

    .badge-item {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .featured-image {
        height: 280px;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .vm-title {
        font-size: 1.5rem;
    }
}