﻿/* =========================================
   1. VARIABLES & ESTILO BASE
   ========================================= */
:root {
    --brand-accent: #002A67;
    --brand-dark: #002A67;
    --brand-text: #475569;
    --brand-bg: #ffffff;
    --brand-orange: #FF8727;
    --card-bg: #ffffff;
    --card-radius: 24px;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.ezy__about-section {
    background-color: var(--brand-bg);
    overflow: hidden;
}

/* =========================================
   2. TARJETAS DE IDENTIDAD
   ========================================= */
.about-card {
    background: var(--card-bg);
    border: 1px solid #f1f5f9;
    border-radius: var(--card-radius);
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    height: 100%;
}

    .about-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--card-shadow);
        border-color: #e2e8f0;
    }

/* Iconos */
.about-icon {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    color: var(--brand-dark);
    border-radius: 20px;
    font-size: 2.2rem;
    margin-bottom: 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.about-card:hover .about-icon {
   
    color: #002A67;
}

.card-title {
    color: var(--brand-dark);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* =========================================
   3. TIPOGRAFÍA & NARRATIVA
   ========================================= */
.section-intro {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--brand-text);
    font-weight: 400;
}

.highlight-text {
    color: var(--brand-dark);
    font-weight: 600;
}

.accent-line {
    width: 40px;
    height: 4px;
    background: var(--brand-orange);
    margin-bottom: 1.5rem;
    border-radius: 10px;
}

.text-md-end .accent-line {
    margin-left: auto;
}

/* =========================================
   4. RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .row.align-items-center {
        flex-direction: column-reverse;
        gap: 2rem;
    }

        .row.align-items-center:nth-child(even) {
            flex-direction: column;
        }

    .text-md-end,
    .text-md-start {
        text-align: center !important;
    }

    .accent-line {
        margin: 0 auto 1.5rem auto !important;
    }
}
