/* ===== COMPONENTS.CSS ===== */
/* Botones, tarjetas, bloques reutilizables */

/* === BOTONES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--navy);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: #c4a032;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.4);
    color: var(--navy);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--steel);
}

.btn-secondary:hover {
    background: rgba(74, 92, 110, 0.05);
    border-color: var(--navy);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--steel);
    border: 1.5px solid var(--steel);
}

.btn-outline:hover {
    background: var(--steel);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.btn-large {
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* === TARJETAS DE SOLUCIONES CON IMÁGENES === */
.solution-block {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(74, 92, 110, 0.1);
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    overflow: hidden;
}

.solution-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(10, 42, 68, 0.9) 0%, rgba(10, 42, 68, 0.4) 100%);
    z-index: 1;
    transition: var(--transition);
}

.solution-block:hover::before {
    background: linear-gradient(0deg, rgba(10, 42, 68, 0.95) 0%, rgba(10, 42, 68, 0.5) 100%);
}

.solution-block > * {
    position: relative;
    z-index: 2;
}

.solution-block h3 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.solution-block p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.solution-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* === BENEFIT BLOCKS (4 MOVIMIENTOS) === */
.benefit-block {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem 2.5rem 4rem;
    border-radius: 1.5rem;
    border-left: 6px solid var(--accent);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.benefit-block::before {
    content: attr(data-number);
    position: absolute;
    left: 1.2rem;
    top: 2.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    font-family: var(--font-display);
    opacity: 0.8;
}

.benefit-block:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.15);
}

.benefit-block h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.benefit-block p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
}

/* === ARTICLE CARDS (BLOG) === */
.article-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(74, 92, 110, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.article-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.article-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--steel);
    margin-bottom: 1rem;
}

.article-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-card p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-link {
    color: var(--accent);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
}

.article-link:hover {
    color: var(--navy);
    gap: 0.5rem;
}

/* === STAT BLOCKS === */
.stat-block {
    margin-bottom: 1.5rem;
}

.stat-block .stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-block p {
    font-size: 1rem;
    color: var(--gray-medium);
    line-height: 1.4;
}

/* Tension stats específicos */
.tension-stats .stat-block {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.tension-stats .stat-number {
    font-size: 2.5rem;
}

/* Claims stats */
.claims-stats .stat-block {
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.claims-stats .stat-block p {
    color: white;
}

/* === CLIENTES SATISFECHOS === */
.cliente-stat {
    padding: 2rem;
    text-align: center;
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.cliente-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cliente-stat .stat-number {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.cliente-stat p {
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 500;
}

/* === TRANSPORT FEATURES LIST === */
.transport-features {
    list-style: none;
    margin: 2rem 0;
}

.transport-features li {
    padding: 0.6rem 0 0.6rem 1.8rem;
    position: relative;
    color: var(--gray-medium);
}

.transport-features li::before {
    content: '▹';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* === SPLIT LAYRIGHT (imagen) === */
.split-right {
    background-size: cover;
    background-position: center;
    min-height: 500px;
    border-radius: 0 1.5rem 1.5rem 0;
}

@media (max-width: 1024px) {
    .split-right {
        border-radius: 0 0 1.5rem 1.5rem;
        min-height: 300px;
    }
}

/* === CLAIMS TEAM === */
.claims-team {
    background-size: cover;
    background-position: center;
    border-radius: 1.5rem;
    padding: 4rem;
    position: relative;
    isolation: isolate;
}

.claims-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 42, 68, 0.9) 0%, rgba(10, 42, 68, 0.6) 100%);
    border-radius: 1.5rem;
    z-index: -1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
    
    .solution-block {
        min-height: 240px;
        padding: 1.5rem;
    }
    
    .benefit-block {
        padding: 1.8rem 1.5rem 1.8rem 3rem;
    }
    
    .benefit-block::before {
        font-size: 1.6rem;
        left: 1rem;
    }
    
    .article-card {
        padding: 1.5rem;
    }
    
    .stat-block .stat-number {
        font-size: 2.2rem;
    }
    
    .cliente-stat .stat-number {
        font-size: 3rem;
    }
    
    .claims-team {
        padding: 2rem;
    }
}