/* ==========================================================================
   PUBLICIDAD RINCÓN - PÁGINA SOBRE NOSOTROS
   Estilos dedicados para narrativa histórica, equipo, misión/visión y pilares
   ========================================================================== */

.about-page {
    padding-top: 135px;
    padding-bottom: 80px;
}

/* --------------------------------------------------------------------------
   1. HERO INSTITUCIONAL
   -------------------------------------------------------------------------- */
.about-hero {
    margin-bottom: 3.5rem;
}

.about-hero__header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 3rem auto;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(0, 195, 255, 0.08);
    border: 1px solid rgba(0, 195, 255, 0.35);
    border-radius: var(--border-radius-pill);
    margin-bottom: 1.25rem;
}

.about-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00c3ff;
    box-shadow: 0 0 8px #00c3ff, 0 0 16px rgba(0, 195, 255, 0.6);
    display: inline-block;
}

.about-badge__text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0072ee;
}

.about-hero__title {
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.2;
    color: #001a35;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.about-hero__subtitle {
    font-size: 1.08rem;
    line-height: 1.65;
    color: #475569;
    margin: 0 auto;
}

/* Grid de 4 KPIs / Métricas */
.about-kpis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 2.5rem auto 0 auto;
}

.about-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 30, 60, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0072ee, #00c3ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 30, 60, 0.09);
    border-color: rgba(0, 195, 255, 0.4);
}

.about-kpi-card:hover::before {
    opacity: 1;
}

.about-kpi-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 195, 255, 0.08);
    color: #0072ee;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
}

.about-kpi-card__val {
    font-size: 2.15rem;
    font-weight: 800;
    color: #001a35;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.about-kpi-card__val span {
    color: #009dff;
}

.about-kpi-card__label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.about-kpi-card__desc {
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.35;
}

/* --------------------------------------------------------------------------
   2. HISTORIA & EL LEGADO DE RAMÓN RINCÓN
   -------------------------------------------------------------------------- */
.about-history-section {
    margin-bottom: 4.5rem;
}

.about-history-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.about-history-text {
    max-width: 640px;
}

.about-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 800;
    color: #0072ee;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 0.75rem;
}

.about-history-text h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.3rem);
    font-weight: 800;
    color: #001a35;
    line-height: 1.25;
    margin-bottom: 1.35rem;
    letter-spacing: -0.015em;
}

.about-history-text p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 1.15rem;
}

.about-history-quote {
    background: #f8fafc;
    border-left: 4px solid #009dff;
    border-radius: 0 12px 12px 0;
    padding: 1.15rem 1.5rem;
    margin: 1.5rem 0;
}

.about-history-quote blockquote {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 600;
    color: #002244;
    line-height: 1.55;
}

.about-history-quote cite {
    font-size: 0.78rem;
    font-style: normal;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tarjeta fotográfica del equipo */
.about-team-card {
    position: relative;
    background: #001a35;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 16px 40px rgba(0, 26, 53, 0.18);
    border: 1px solid rgba(0, 195, 255, 0.25);
    overflow: hidden;
}

.about-team-img-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background-color: #001428;
}

.about-team-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-team-card:hover .about-team-img {
    transform: scale(1.03);
}

.about-team-floating-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, #002b5c 0%, #001a35 100%);
    border: 1px solid rgba(103, 232, 249, 0.5);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.about-team-floating-badge i {
    color: #67e8f9;
    font-size: 1.15rem;
}

.about-team-floating-badge span {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-team-caption {
    padding: 1rem 0.75rem 0.5rem 0.75rem;
    text-align: center;
}

.about-team-caption strong {
    display: block;
    font-size: 0.92rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.about-team-caption span {
    font-size: 0.78rem;
    color: #94a3b8;
}

/* --------------------------------------------------------------------------
   3. LÍNEA DE TIEMPO INTERACTIVA (1993 - HOY)
   -------------------------------------------------------------------------- */
.about-timeline-section {
    background: transparent;
    border: none;
    padding: 2rem 0;
    margin-bottom: 4.5rem;
}

.about-timeline-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.about-timeline-header h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: #001a35;
    margin-bottom: 0.75rem;
}

.about-timeline-header p {
    font-size: 1rem;
    color: #64748b;
}

.about-timeline-container {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* Línea central */
.about-timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, #00c3ff 0%, #0072ee 50%, #002244 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 2.5rem 2.5rem 2.5rem;
    box-sizing: border-box;
}

.timeline-item--left {
    left: 0;
    text-align: right;
}

.timeline-item--right {
    left: 50%;
    text-align: left;
}

/* Nodo / Punto en la línea central */
.timeline-item__node {
    position: absolute;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #009dff;
    box-shadow: 0 0 10px rgba(0, 157, 255, 0.5);
    z-index: 2;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-item--left .timeline-item__node {
    right: -10px;
}

.timeline-item--right .timeline-item__node {
    left: -10px;
}

.timeline-item:hover .timeline-item__node {
    transform: scale(1.3);
    border-color: #00c3ff;
    box-shadow: 0 0 16px rgba(0, 195, 255, 0.8);
}

.timeline-item__card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(0, 30, 60, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: inline-block;
    max-width: 380px;
    text-align: left;
}

.timeline-item:hover .timeline-item__card {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 30, 60, 0.08);
    border-color: rgba(0, 195, 255, 0.4);
}

.timeline-item__year {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #0072ee;
    background: rgba(0, 195, 255, 0.09);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

.timeline-item__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #001a35;
    margin: 0 0 0.5rem 0;
}

.timeline-item__desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}

/* --------------------------------------------------------------------------
   4. TRÍADA ESTRATÉGICA: MISIÓN, VISIÓN Y POLÍTICAS DE CALIDAD
   -------------------------------------------------------------------------- */
.about-triad-section {
    margin-bottom: 4.5rem;
}

.about-triad-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 3rem auto;
}

.about-triad-header h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.3rem);
    font-weight: 800;
    color: #001a35;
    margin-bottom: 0.75rem;
}

.about-triad-header p {
    font-size: 1rem;
    color: #64748b;
}

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

.triad-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    box-shadow: 0 6px 20px rgba(0, 30, 60, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.triad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #001a35, #0072ee, #00c3ff);
    opacity: 0.8;
    transition: height 0.3s ease;
}

.triad-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 30, 60, 0.1);
    border-color: rgba(0, 195, 255, 0.4);
}

.triad-card:hover::before {
    height: 6px;
}

.triad-card__icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 114, 238, 0.1) 0%, rgba(0, 195, 255, 0.15) 100%);
    border: 1px solid rgba(0, 195, 255, 0.3);
    color: #0072ee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 1.35rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.triad-card:hover .triad-card__icon-wrap {
    transform: scale(1.08) rotate(3deg);
    background: linear-gradient(135deg, #001a35 0%, #0072ee 100%);
    color: #ffffff;
}

.triad-card__tag {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #009dff;
    margin-bottom: 0.35rem;
}

.triad-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #001a35;
    margin: 0 0 1rem 0;
    letter-spacing: -0.01em;
}

.triad-card__body {
    font-size: 0.94rem;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.triad-card__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.15rem;
}

.triad-card__bullets li {
    font-size: 0.84rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.6rem;
}

.triad-card__bullets li:last-child {
    margin-bottom: 0;
}

.triad-card__bullets li i {
    color: #009dff;
    font-size: 1rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. NUESTROS PILARES & CULTURA HUMANA
   -------------------------------------------------------------------------- */
.about-pillars-section {
    margin-bottom: 4.5rem;
}

.about-pillars-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem auto;
}

.about-pillars-header h2 {
    font-size: clamp(1.75rem, 2.5vw, 2.3rem);
    font-weight: 800;
    color: #001a35;
    margin-bottom: 0.75rem;
}

.about-pillars-header p {
    font-size: 1rem;
    color: #64748b;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 1.35rem;
    box-shadow: 0 4px 16px rgba(0, 30, 60, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 30, 60, 0.08);
    border-color: rgba(0, 114, 238, 0.3);
}

.pillar-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #001a35;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.pillar-card:hover .pillar-card__icon {
    background: #001a35;
    color: #67e8f9;
}

.pillar-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #001a35;
    margin: 0 0 0.5rem 0;
}

.pillar-card p {
    font-size: 0.86rem;
    line-height: 1.55;
    color: #475569;
    margin: 0;
}

/* --------------------------------------------------------------------------
   6. BANNER DE CIERRE B2B / CTA
   -------------------------------------------------------------------------- */
.about-cta-banner {
    background: linear-gradient(135deg, #001a35 0%, #002b5c 60%, #003366 100%);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: 0 20px 48px rgba(0, 26, 53, 0.22);
    border: 1px solid rgba(0, 195, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.about-cta-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 195, 255, 0.15) 0%, rgba(0, 195, 255, 0) 70%);
    pointer-events: none;
}

.about-cta-content {
    max-width: 620px;
    position: relative;
    z-index: 1;
}

.about-cta-content h2 {
    color: #ffffff !important;
    font-size: clamp(1.6rem, 2.3vw, 2.1rem);
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    line-height: 1.25;
}

.about-cta-content p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #e2e8f0 !important;
    margin: 0;
}

.about-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 260px;
    position: relative;
    z-index: 1;
}

.about-cta-actions .btn {
    text-align: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   RESPONSIVIDAD MÓVIL Y TABLET
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .about-kpis-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-history-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-triad-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

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

    .about-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.75rem;
    }

    .about-cta-actions {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 768px) {
    .about-page {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    /* Línea de tiempo móvil: alineación a la izquierda */
    .about-timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding: 0 0 2rem 50px;
    }

    .timeline-item__node {
        left: 10px !important;
        right: auto !important;
    }

    .timeline-item__card {
        max-width: 100%;
    }

    .about-pillars-grid {
        grid-template-columns: 1fr;
    }

    .about-kpis-grid {
        grid-template-columns: 1fr;
    }
}

