/* =========================================
   About Page – Innovative Redesign
   Colors respected: #16324d • #053f5c • #c4e9f2
========================================= */

:root {
    --navy: #16324d;
    --navy-deep: #053f5c;
    --cyan: #c4e9f2;
    --white: #ffffff;
    --soft-bg: #f5f8f9;
    --text: #1f2937;
    --muted: #6b7280;
}

/* ---------- HERO ---------- */
.about-hero-section {
    background: linear-gradient(135deg, #16324d 0%, #053f5c 100%);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 70% 50% at 15% 50%, rgba(196, 233, 242, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 90% 20%, rgba(196, 233, 242, 0.06) 0%, transparent 45%);
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ---- Contenido texto ---- */
.hero-content {
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.15rem;
    background: rgba(196, 233, 242, 0.12);
    border: 1.5px solid rgba(196, 233, 242, 0.4) !important;
    border-style: solid !important;
    border-radius: 999px;
    color: #c4e9f2;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.75rem;
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: #c4e9f2;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(196, 233, 242, 0.9);
    line-height: 1.55;
    max-width: 440px;
    margin-bottom: 1.75rem;
}

.hero-divider {
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #c4e9f2, transparent);
    border-radius: 2px;
    margin-bottom: 2.25rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.9rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 0.85rem;
    border: 1.5px solid rgba(196, 233, 242, 0.6) !important;
    border-style: solid !important;
    color: #c4e9f2;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
}

.btn-outline-light:hover {
    background: rgba(196, 233, 242, 0.12);
    border-color: #c4e9f2 !important;
    transform: translateY(-2px);
}

/* ---- Lado de la imagen ---- */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 5;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1.5px solid rgba(196, 233, 242, 0.4) !important;
    border-style: solid !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-image-frame:hover .hero-image {
    transform: scale(1.05);
}

.image-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 50% 50%, rgba(196, 233, 242, 0.18) 0%, transparent 65%);
    z-index: -1;
    pointer-events: none;
}

.image-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(22, 50, 77, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid rgba(196, 233, 242, 0.4) !important;
    border-style: solid !important;
    color: #c4e9f2;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* Stats flotantes */
.floating-stat {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.9rem 1.2rem;
    border-radius: 1rem;
    border: 1.5px solid var(--navy-deep) !important;
    border-style: solid !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    animation: float 5s ease-in-out infinite;
}

.floating-stat strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: #053f5c;
    line-height: 1.1;
}

.floating-stat span {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.15rem;
}

.floating-stat-1 {
    top: 12%;
    left: -1.5rem;
    animation-delay: 0s;
}

.floating-stat-2 {
    bottom: 18%;
    right: -1.2rem;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- OUR STORY ---------- */
.our-story-section {
    padding: 5.5rem 0;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-deep);
    margin-bottom: 0.75rem;
    opacity: 0.85;
}

.section-label.light {
    color: var(--cyan);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.story-content p {
    font-size: 1.125rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.9rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 0.85rem;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-decoration: none;
}

.btn-primary {
    background: var(--navy-deep);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(5, 63, 92, 0.25);
}

.btn-primary:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(5, 63, 92, 0.3);
}

.btn-outline {
    border: 1.5px solid var(--navy-deep) !important;
    border-style: solid !important;
    color: var(--navy-deep);
    background: transparent;
}

.btn-outline:hover {
    background: var(--navy-deep);
    color: var(--white);
    transform: translateY(-2px);
}

/* Stats Card – Borde Fijo de 1.5px */
.stats-card {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: 1.75rem;
    padding: 2.5rem 2rem;
    border: 1.5px solid rgba(196, 233, 242, 0.4) !important;
    border-style: solid !important;
    box-shadow: 0 20px 40px rgba(22, 50, 77, 0.25);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -30%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(196, 233, 242, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
}

.stat-number {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1.1;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(196, 233, 242, 0.85);
    font-weight: 500;
    line-height: 1.3;
}

/* ---------- WHY CHOOSE US ---------- */
.why-choose-us-section {
    padding: 5.5rem 0;
    background: var(--soft-bg);
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-header .section-title {
    margin-bottom: 0.75rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.5;
}

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

/* Feature Card – Borde Fijo de 1.5px de Alto Contraste */
.feature-card {
    background: var(--white);
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    text-align: center;
    border: 1.5px solid var(--navy-deep) !important;
    border-style: solid !important;
    box-shadow: 0 4px 20px rgba(22, 50, 77, 0.04);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--navy-deep), var(--cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(22, 50, 77, 0.12);
    border-color: var(--navy) !important;
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.icon-container {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: 0.9rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-container {
    transform: scale(1.08);
}

.icon-container i {
    color: var(--cyan);
    font-size: 1.2rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-deep);
    margin-bottom: 0.65rem;
}

.feature-card p {
    font-size: 0.98rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ---------- MISSION ---------- */
.mission-section {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    padding: 5.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(circle, rgba(196, 233, 242, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.mission-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.mission-section .section-title {
    color: var(--white);
    margin-bottom: 2rem;
}

.mission-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    margin-bottom: 1.35rem;
    text-align: left;
}

.mission-highlight {
    font-size: 1.25rem !important;
    font-weight: 600;
    color: var(--cyan) !important;
    text-align: center !important;
    margin-top: 2rem !important;
    letter-spacing: 0.01em;
}

/* ---------- CTA ---------- */
.cta-section {
    padding: 5rem 0;
    background: var(--soft-bg);
}

/* CTA Card – Borde Fijo de 1.5px */
.cta-card {
    background: var(--white);
    border-radius: 1.75rem;
    padding: 3.5rem 2.5rem;
    text-align: center;
    border: 1.5px solid var(--navy-deep) !important;
    border-style: solid !important;
    box-shadow: 0 10px 40px rgba(22, 50, 77, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    max-width: 720px;
    margin: 0 auto;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(22, 50, 77, 0.12);
    border-color: var(--navy) !important;
}

.cta-card h3 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--navy-deep);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.cta-card p {
    font-size: 1.15rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-deep);
    color: var(--white);
    padding: 1rem 2.4rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 0.9rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 6px 18px rgba(5, 63, 92, 0.25);
}

.btn-cta:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(5, 63, 92, 0.35);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .floating-stat-1 {
        left: -0.5rem;
    }
    
    .floating-stat-2 {
        right: -0.5rem;
    }

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

@media (max-width: 768px) {
    .about-hero-section {
        padding: 5rem 0 4rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image-wrapper {
        order: 2;
    }
    
    .hero-subtitle,
    .hero-divider {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image-frame {
        max-width: 400px;
        aspect-ratio: 3 / 4;
    }
    
    .floating-stat-1 {
        top: 8%;
        left: 0;
    }
    
    .floating-stat-2 {
        bottom: 12%;
        right: 0;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-card {
        order: -1;
    }

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

    .mission-text p {
        text-align: center;
        font-size: 1.05rem;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-outline,
    .btn-outline-light,
    .btn-cta {
        width: 100%;
    }

    .floating-stat {
        padding: 0.7rem 1rem;
    }

    .floating-stat strong {
        font-size: 1.15rem;
    }

    .stats-grid {
        gap: 1.25rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}