/* ===== LAYOUT.CSS ===== */
/* Estructura de secciones, grids, espaciados */

/* Espaciado general de secciones */
section {
    padding: 5rem 0;
    position: relative;
}

.section-light {
    background-color: var(--silver);
}

.section-accent {
    background-color: rgba(212, 175, 55, 0.05); /* Dorado muy suave */
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Grid system */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

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

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

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

/* Hero layout */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding: 0;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 42, 68, 0.6) 0%, rgba(74, 92, 110, 0.3) 100%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subheadline {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Risk tension layout */
.tension-grid {
    align-items: start;
}

.tension-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-block {
    margin-bottom: 1rem;
}

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

/* Solutions layout */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--steel);
}

/* Strategic approach layout */
.approach-header {
    max-width: 700px;
    margin-bottom: 3rem;
}

.benefit-block {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border-left: 6px solid var(--accent);
    box-shadow: var(--shadow-sm);
}

/* Split layout (flotillas) */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    min-height: 600px;
}

.split-left {
    background: var(--white);
    padding: 4rem;
    display: flex;
    align-items: center;
}

.split-right {
    background-color: var(--steel);
    background-size: cover;
    background-position: center;
    min-height: 100%;
}

.split-content {
    max-width: 550px;
}

.split-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.transport-features {
    list-style: none;
    margin: 2rem 0;
}

.transport-features li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

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

/* Corporate layout */
.corporate-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Intelligence center (blog) layout */
.intelligence-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.intelligence-footer {
    margin-top: 3rem;
}

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

/* Claims layout */
.claims-grid {
    align-items: start;
}

/* CTA layout */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-text {
    font-size: 1.2rem;
    margin: 2rem 0;
    opacity: 0.9;
}

.final-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.final-cta-note {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Clientes satisfechos layout */
.clientes-grid {
    text-align: center;
}

.cliente-stat {
    padding: 2rem;
}

.cliente-stat .stat-number {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.cliente-stat p {
    font-size: 1.2rem;
    max-width: 250px;
    margin: 0 auto;
}

/* Flex utilities */
.flex-row-centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-6 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .split-left {
        padding: 3rem 2rem;
    }
    
    .split-right {
        min-height: 400px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 80vh;
    }
    
    .hero-subheadline {
        font-size: 1.1rem;
    }
    
    .split-left {
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .clientes-grid {
        gap: 1rem;
    }
}