/* ==========================================================================
   1. VARIABLES DE DISEÑO (Premium Blue & Mustard Palette)
   ========================================================================== */
:root {
    --primary-blue: #1F3F74;       
    --primary-light: #1F3F74;     
    --mustard: #e5a93b;            
    --mustard-hover: #cd9226;     
    --mustard-light: rgba(229, 169, 59, 0.1);
    --bg-light: #ffffff;           
    --bg-white: #ffffff;
    --text-dark: #1e293b;           
    --text-muted: #64748b;         
    --text-light: #ffffff;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}

/* ==========================================================================
   2. RESETS Y ESTILOS GLOBALES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Estilos de Tipografía Editorial */
h1, h2, h3, h4 {
    color: var(--primary-blue);
    font-weight: 700;
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--mustard);
}

.section {
    padding: 7rem 1.5rem;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Etiquetas generales ('Tags') */
.tag {
    display: inline-block;
    background-color: var(--mustard-light);
    color: var(--mustard-hover);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

.section-title {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* ==========================================================================
   3. BOTONES UNIVERSALES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.btn-orange { /* Mapeado a Mostaza para encajar en el branding */
    background-color: var(--mustard);
    color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(229, 169, 59, 0.3);
}

.btn-orange:hover {
    background-color: var(--mustard-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 169, 59, 0.4);
}

.btn-outline {
    background-color: white;
    color: var(--primary-blue); /* o el color que uses para los textos */
    border: 2px solid white;
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-blue);
    border-color: white;
    transform: translateY(-3px);
}

.btn-navy {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(31, 63, 116, 0.2);
}

.btn-navy:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(31, 63, 116, 0.3);
}

.btn-white {
    background-color: white;
    color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background-color: var(--mustard);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

/* ==========================================================================
   4. SECCIÓN HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 1.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    /* Actualizado al nuevo azul con transparencias */
    background: linear-gradient(135deg, rgba(31, 63, 116, 0.45) 0%, rgba(31, 63, 116, 0.20) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Sombra adaptada al nuevo azul */
.hero__title, .hero__lead, .hero__eyebrow {
    text-shadow: 0 2px 12px rgba(31, 63, 116, 0.6);
}

.hero__eyebrow {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #D4A017;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;

    display: inline-block;
    padding: 0.5rem 1rem;
    background: #ffffff;
    border-radius: 999px;

    text-shadow: none;
    filter: none;
}

.hero__title {
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero__lead {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 650px;
    font-weight: 400;
}

.hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* ==========================================================================
   5. MARQUEE INFINITO (Ticker)
   ========================================================================== */
.marquee-wrap {
    background-color: var(--mustard);
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    padding: 1.25rem 0;
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.08);
}

.marquee-inner {
    display: flex;
    align-items: center;
    animation: marqueeAnimation 25s linear infinite;
}

.marquee-inner span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 2.5rem;
    position: relative;
}

/* Separador adaptado */
.marquee-inner span::after {
    content: "•";
    position: absolute;
    right: -4px;
    color: rgba(31, 63, 116, 0.4);
}

@keyframes marqueeAnimation {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   6. SECCIÓN WHY
   ========================================================================== */
.why-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.why-card {
    background-color: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(31, 63, 116, 0.04);
    border: 2px solid var(--primary-blue); /* Borde azul fijo */
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 63, 116, 0.08);
    border-color: var(--mustard); /* Opcional: cambia a mostaza al pasar el mouse */
}
.why-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    color: var(--mustard);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.75rem;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background-color: var(--mustard);
    color: var(--primary-blue);
    transform: scale(1.05) rotate(5deg);
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--text-muted);
}

/* ==========================================================================
   7. SECCIÓN SERVICIOS
   ========================================================================== */
.hm-services {
    background-color: #f1f5f9; 
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header .section-sub {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.svc-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.svc-card:hover::before {
    background-color: var(--mustard);
}

.svc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.svc-icon {
    font-size: 2rem;
    color: var(--mustard);
    margin-bottom: 1.25rem;
}

.svc-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.svc-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   8. SECCIÓN ESTADÍSTICAS (Stats)
   ========================================================================== */
.hm-stats {
    background-color: var(--primary-blue);
    color: white;
    padding: 5rem 1.5rem;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--mustard);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   9. SECCIÓN COMUNIDAD
   ========================================================================== */
.community-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(31, 63, 116, 0.05);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.comm-avatars {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: -0.5rem;
    margin-bottom: 1.5rem;
}

.comm-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #cbd5e1;
    color: var(--primary-blue);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    margin-right: -15px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.comm-avatar.alt { background-color: #fed7aa; color: #c2410c; }
.comm-avatar.alt2 { background-color: #bae6fd; color: #0369a1; }

.comm-count {
    padding-left: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.comm-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f0fdf4;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.comm-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ==========================================================================
   10. SECCIÓN CTA FINAL (Estilo Premium Integrado)
   ========================================================================== */
.hm-cta-section {
    background-color: var(--bg-light);
    padding-top: 2rem;
}

.hm-cta {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(31, 63, 116, 0.05);
    border: 1px solid rgba(31, 63, 116, 0.03);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hm-cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(229, 169, 59, 0.06);
    border-radius: 50%;
    top: -100px;
    left: -100px;
    pointer-events: none;
}

.hm-cta__inner {
    position: relative;
    z-index: 2;
    text-align: left;
}

.hm-cta .section-title {
    color: var(--primary-blue);
    margin: 0;
}

.hm-cta__action {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.hm-cta__action .btn {
    white-space: nowrap;
}

@media (max-width: 992px) {
    .hm-cta {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 2rem;
    }
    
    .hm-cta__inner {
        text-align: center;
    }
    
    .hm-cta__inner .section-sub {
        margin: 0 auto;
    }
    
    .hm-cta__action {
        justify-content: center;
    }
    
    .hm-cta__action .btn {
        width: 100%;
    }
}

/* ==========================================================================
   11. ANIMACIONES DE SCROLL (Scroll Reveal Easing)
   ========================================================================== */
.hm-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-reveal.hm-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   12. ADAPTACIÓN RESPONSIVA (Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
    .hero__title { font-size: 3rem; }
    .community-card {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .section { padding: 4rem 1.5rem; }
    .hero__title { font-size: 2.5rem; }
    .hero__lead { font-size: 1.15rem; }
    .section-title { font-size: 2rem; }
    .hero__btns { flex-direction: column; }
    .btn { width: 100%; }
}
/*FINAL HOME*/

/*ABOUT*/
/* ==========================================================================
   1. CORE PALETTE & SYSTEM VARIABLES
   ========================================================================== */
:root {
    --navy: #1F3F74;                /* Azul premium actualizado */
    --navy-light: #1F3F74;          /* Unificado al azul de la marca */
    --mustard: #e5a93b;            /* Mostaza principal */
    --mustard-dark: #cd9226;       /* Mostaza para contrastes u hovers */
    --mustard-light: rgba(229, 169, 59, 0.1);
    --bg-light: #f8fafc;           /* Fondo ultra limpio */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. RESETS Y TIPOGRAFÍA EDITORIAL
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-sans);
    color: var(--navy);
    font-weight: 700;
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--mustard);
}

.section {
    padding: 8rem 1.5rem;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   3. COMPONENTES REUTILIZABLES (Tags y Botones)
   ========================================================================== */
.ab-tag {
    display: inline-block;
    background-color: var(--mustard-light);
    color: var(--mustard-dark);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-navy {
    background-color: var(--navy);
    color: white !important;
}

.btn-navy:hover {
    background-color: var(--mustard);
    color: var(--navy) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(229, 169, 59, 0.2);
}

.ab-story__btns .btn-outline[style] {
    color: var(--navy) !important;
    border: 2px solid var(--navy) !important;
    background: transparent;
}

.ab-story__btns .btn-outline:hover {
    background-color: var(--navy) !important;
    color: white !important;
    transform: translateY(-3px);
}
/* ==========================================================================
   4. SECCIÓN: HERO (ABOUT)
   ========================================================================== */
.ab-hero {
    position: relative;
    height: 85vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    overflow: hidden;
    background-color: var(--navy);
}

.ab-hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s ease-out forwards;
}

@keyframes slowZoom {
    100% { transform: scale(1); }
}

.ab-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(31, 63, 116, 0.4) 30%, rgba(31, 63, 116, 0.15) 100%);
    z-index: 1;
}

.ab-hero__title, .ab-hero__sub {
    text-shadow: 0 2px 10px rgba(31, 63, 116, 0.5);
}

.ab-hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.ab-hero__eyebrow {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--mustard);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
}

.ab-hero__title {
    font-size: 4.5rem;
    line-height: 1.1;
    color: white;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.ab-hero__title span {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--mustard);
    font-weight: 400;
}

.ab-hero__sub {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    max-width: 550px;
    font-weight: 300;
}

.ab-hero__btns {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.ab-btn-solid {
    background-color: var(--mustard);
    color: var(--navy);
    padding: 1.1rem 2.5rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(229, 169, 59, 0.3);
    transition: var(--transition);
}

.ab-btn-solid:hover {
    background-color: white;
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.ab-btn-glass {
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 1.1rem 2.5rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

.ab-btn-glass:hover {
    background-color: white;
    color: var(--navy);
    transform: translateY(-3px);
}

/* ==========================================================================
   5. MARQUEE INFINITO (Ticker)
   ========================================================================== */
.ab-marquee-wrap {
    background-color: var(--mustard);
    overflow: hidden;
    padding: 1.2rem 0;
    display: flex;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ab-marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: abMarquee 30s linear infinite;
}

.ab-marquee-inner span {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 3rem;
    position: relative;
}

.ab-marquee-inner span::after {
    content: "★";
    position: absolute;
    right: -4px;
    color: rgba(31, 63, 116, 0.3);
    font-size: 0.8rem;
}

@keyframes abMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   6. SECCIÓN: STORY & MOSAIC STATS
   ========================================================================== */
.ab-story__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.ab-story__text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.ab-story__btns {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.ab-stats-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ab-stat-block {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(31, 63, 116, 0.03);
    border: 1px solid rgba(31, 63, 116, 0.04);
    transition: var(--transition);
}

.ab-stats-mosaic .ab-stat-block:nth-child(even) {
    transform: none;
}
.ab-stat-block:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(229, 169, 59, 0.4);
    box-shadow: 0 15px 35px rgba(31, 63, 116, 0.08);
}

.ab-stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.ab-stats-mosaic .ab-stat-block:nth-child(2) .ab-stat-num {
    color: var(--mustard-dark);
}

.ab-stat-lbl {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ab-why {
    background-color: #f8fafc;
    padding: 6rem 1.5rem;
}

.ab-why-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.ab-why-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0.8rem auto 0;
}

.ab-slider-wrapper {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
}

.ab-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 1.5rem 0.5rem;
    scrollbar-width: none;
}

.ab-slider::-webkit-scrollbar {
    display: none;
}

.ab-slider .ab-f-card {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 250px;
    scroll-snap-align: start;
    background: white;
    padding: 2.2rem 1.8rem;
    border: 2px solid var(--navy); 
    box-shadow: 0 4px 15px rgba(31, 63, 116, 0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
}

.ab-feat-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(31, 63, 116, 0.03);
    color: var(--navy);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.ab-f-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--navy);
}

.ab-f-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.ab-slider .ab-f-card:hover {
    transform: translateY(-5px);
    border-color: var(--mustard);
    box-shadow: 0 12px 25px rgba(31, 63, 116, 0.07);
}

.ab-slider .ab-f-card:hover .ab-feat-icon {
    background: var(--mustard);
    color: var(--navy);
}

.ab-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: white;
    border: 1px solid rgba(31, 63, 116, 0.08);
    border-radius: 50%;
    color: var(--navy);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    z-index: 10;
    transition: all 0.3s ease;
}

.ab-slider-btn:hover {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
    box-shadow: 0 6px 15px rgba(31, 63, 116, 0.15);
}

.ab-slider-btn.prev { left: -5px; }
.ab-slider-btn.next { right: -5px; }

.ab-mission {
    background-color: var(--navy);
    color: white;
    padding: 8rem 1.5rem;
    text-align: center;
    position: relative;
}

.ab-mission-inner {
    max-width: 850px;
    margin: 0 auto;
}

.ab-mission .section-title {
    color: white;
    font-size: 3.5rem;
}

.ab-mission-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.ab-mission-divider span {
    width: 80px;
    height: 1px;
    background: linear-gradient(to var(--direction, right), var(--mustard), transparent);
}
.ab-mission-divider span:last-child { --direction: left; }

.ab-mission-divider i {
    color: var(--mustard);
    font-size: 1.2rem;
}

.ab-mission p {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.ab-mission-tagline {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--mustard);
    margin-top: 3rem;
    margin-bottom: 0.5rem;
}

.ab-mission-author {
    color: white !important;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.ab-cta-section {
    padding: 5rem 1.5rem;
    background-color: #f1f5f9;
}

.ab-cta-box {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(31, 63, 116, 0.04);
    border: 1px solid rgba(31, 63, 116, 0.04);
    position: relative;
    overflow: hidden;
}

.ab-cta-box::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--mustard-light) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.ab-cta-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ab-cta-box h3 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.ab-cta-box p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.ab-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ab-reveal.ab-visible {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 1140px) {
    .ab-slider .ab-f-card { flex: 0 0 calc(33.333% - 1rem); }
}

@media (max-width: 900px) {
    .ab-hero__title { font-size: 3.5rem; }
    .ab-story__grid { grid-template-columns: 1fr; gap: 4rem; }
    .ab-stats-mosaic .ab-stat-block:nth-child(even) { transform: translateY(0); }
    
    .ab-slider .ab-f-card { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 768px) {
    .section, .ab-mission, .ab-why { padding: 5rem 1.5rem; }
    .ab-hero__title { font-size: 2.8rem; }
    .section-title { font-size: 2.25rem; }
    .ab-mission .section-title { font-size: 2.25rem; }
    
    .ab-slider .ab-f-card { flex: 0 0 100%; padding: 2.2rem 1.8rem; }
    .ab-slider-btn { display: none; } 
    .ab-slider-wrapper { padding: 0; }
    
    .ab-hero__btns, .ab-story__btns { flex-direction: column; }
    .ab-btn-solid, .ab-btn-glass, .btn { width: 100%; text-align: center; }
    .ab-cta-box { padding: 4rem 1.5rem; }
}


:root {
    --header-bg:      #FFFFFF; 
    --blue-navy:      #1F3F74; 
    --mustard-gold:   #C49A3C; 
    --mustard-dark:   #A37D2E; 
    --text-gray:      #4A5568; 
    --border-light:   rgba(4, 20, 40, 0.08);
    --radius-sm:      4px;
}

body.menu-open {
    overflow: hidden;
}

.main-header {
    background-color: var(--header-bg);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 25px rgba(4, 20, 40, 0.05);
    font-family: 'Inter', sans-serif;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-container {
    max-width: 1440px; 
    margin: 0 auto;
    padding: 0 2.5rem;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 105px; 
}

.header-logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 78px; 
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo-link:hover .logo-img {
    transform: scale(1.02);
}

.nav-link {
    color: var(--blue-navy);
    text-decoration: none;
    font-size: 1.05rem; 
    font-weight: 600; 
    position: relative;
    padding: 0.6rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--mustard-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--mustard-gold);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-header {
    background-color: var(--blue-navy);
    color: #FFFFFF;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--blue-navy);
}

.btn-header:hover {
    background-color: var(--mustard-gold);
    border-color: var(--mustard-gold);
    color: var(--blue-navy);
    box-shadow: 0 4px 15px rgba(196, 154, 60, 0.3);
    transform: translateY(-1px);
}

.mobile-only-btn {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2000; 
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--blue-navy);
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-toggle.active .bar:nth-child(1),
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg) !important;
    background-color: var(--mustard-gold) !important;
}

.menu-toggle.active .bar:nth-child(2),
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0 !important;
    transform: translateX(10px) !important;
}

.menu-toggle.active .bar:nth-child(3),
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg) !important;
    background-color: var(--mustard-gold) !important;
}

@media (max-width: 992px) {
    .header-container {
        padding: 0 1.75rem;
    }

    .navbar {
        height: 90px; 
    }

    .logo-img {
        height: 64px; 
    }

    .menu-toggle {
        display: flex; 
    }

    .header-right {
        display: none; 
    }

    .nav-link {
        font-size: 1.35rem;
        font-weight: 700;
    }

    .mobile-only-btn {
        display: block;
        width: 85%;
        max-width: 320px;
        margin-top: 1.5rem;
    }

    .mobile-started-link {
        display: block;
        text-align: center;
        background-color: var(--blue-navy);
        color: #FFFFFF;
        padding: 16px;
        font-size: 1.1rem;
        font-weight: 700;
        text-decoration: none;
        border-radius: var(--radius-sm);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(4, 20, 40, 0.15);
    }

    .mobile-started-link:hover {
        background-color: var(--mustard-gold);
        color: var(--blue-navy);
    }
}

/* ==========================================================================
   14. ESTILOS DEL FOOTER
   ========================================================================== */
.main-footer {
    background-color: #1F3F74; 
    color: #FFFFFF;
    padding: 5rem 2rem 2rem;
    font-family: 'Inter', sans-serif;
    border-top: 3px solid #C49A3C; 
    -webkit-font-smoothing: antialiased;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3.5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(196, 154, 60, 0.15);
}

/* Marca y Redes Sociales */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.footer-brand p {
    color: #ffffff; 
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    background-color: #081E36; 
    border: 1px solid rgba(196, 154, 60, 0.2);
    color: #C49A3C; /* Mostaza */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #C49A3C;
    color: #041428;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(196, 154, 60, 0.3);
}

/* Títulos de Columnas */
.footer-title {
    font-family: 'Playfair Display', serif;
    color: #C49A3C; 
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    position: relative;
}

/* Listas de Enlaces */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #FFFFFF;
    padding-left: 6px;
}

/* Información de Contacto */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.4;
}

.contact-item i {
    color: #C49A3C; /* Iconos en mostaza */
    font-size: 1rem;
    margin-top: 3px;
    width: 16px;
    text-align: center;
}

.contact-item span {
    flex: 1;
}

/* Barra Inferior del Footer */
.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #607289;
    font-size: 0.85rem;
}

.footer-bottom i {
    color: #C49A3C; 
    margin: 0 2px;
}

/* ── RESPONSIVO ── */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .main-footer {
        padding: 4rem 1.5rem 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   PALETA DE COLORES Y VARIABLES
   ========================================================================== */
:root {
    --sf-blue-overlay: #1F3F74; 
    --sf-blue-dark: #1F3F74;        
    --sf-blue-text: #1F3F74;
    --sf-text-muted: #ffffff;
    --sf-mustard: #1F3F74;          
    --sf-mustard-hover: #AE7D22;
    --sf-bg-light: #F4F7FA;
    --sf-white: #FFFFFF;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   RESETS Y ESTILOS BASE
   ========================================================================== */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-sans);
    color: var(--sf-blue-text);
    background-color: #FAFAFA;
    line-height: 1.6;
}

.sf-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.sf-section { 
    padding: 90px 0; 
}

h1, h2, h3 { 
    font-weight: 700; 
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sf-mustard);
}

p { 
    color: var(--sf-text-muted); 
    font-size: 0.98rem; 
}

.sf-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sf-white);
    background-color: var(--sf-mustard);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.sf-section-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--sf-blue-text);
}

/* ==========================================================================
   COMPONENTES: BOTONES
   ========================================================================== */
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.sf-btn--primary {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}

.sf-btn--primary:hover {
    background-color: var(--sf-mustard-hover);
}

.sf-btn--white {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
    margin-right: 12px;
}

.sf-btn--white:hover { 
    background-color: var(--sf-mustard-hover); 
}

.sf-btn--outline-white {
    background-color: transparent;
    color: var(--sf-white);
    border: 1px solid var(--sf-white);
}

.sf-btn--outline-white:hover {
    background-color: var(--sf-white);
    color: var(--sf-blue-text);
}

/* ==========================================================================
   1. HERO SECTION (Adaptado para recibir imagen desde el HTML)
   ========================================================================== */
.sf-hero {
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--sf-mustard); 
    
    /* Capa de color y fusión para la imagen inline del HTML */
    background-color: var(--sf-blue-overlay);
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    
    padding: 120px 24px;
    color: var(--sf-white);
    text-align: center;
}

.sf-hero__content { 
    max-width: 800px; 
    margin: 0 auto; 
}

.sf-breadcrumb {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.sf-eyebrow {
    display: block;
    font-size: 1.1rem;
    color: var(--sf-mustard);
    margin-bottom: 10px;
    font-weight: 500;
}

.sf-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--sf-white);
}

.sf-hero__title span { 
    color: var(--sf-white);
}

.sf-hero__title .sf-highlight {
    color: var(--sf-mustard);
}

.sf-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.sf-hero__cta { 
    display: flex; 
    gap: 12px; 
    justify-content: center; 
}

/* ==========================================================================
   2. SECCIÓN INTRODUCCIÓN
   ========================================================================== */
.sf-intro { 
    background-color: var(--sf-white); 
}

.sf-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.sf-intro__text-block {
    margin-top: 30px;
}

.sf-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}

.sf-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.sf-intro__badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--sf-mustard);
    color: var(--sf-white);
    padding: 8px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(199, 146, 46, 0.3);
    border: 2px dashed rgba(255,255,255,0.4);
    line-height: 1.1;
}

.sf-intro__badge i { 
    font-size: 0.9rem; 
    margin-bottom: 3px; 
}

/* ==========================================================================
   3. SECCIÓN WHY MATTERS
   ========================================================================== */
.sf-why { 
    background-color: var(--sf-white); 
    padding-top: 0; 
}

.sf-why .sf-intro__grid { 
    grid-template-columns: 0.9fr 1.1fr; 
}

.sf-why__box {
    border: 2px solid var(--sf-mustard); 
    padding: 40px 30px;
    border-radius: 8px;
    background-color: var(--sf-white);
}

.sf-why__list {
    list-style: none;
    margin-top: 20px;
}

.sf-why__item-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
}

.sf-why__item-line i {
    color: var(--sf-mustard);
    margin-top: 5px;
    font-size: 0.9rem;
}

/* ==========================================================================
   4. SECCIÓN OUR BTR SUPPORT (COVERS) - COMPACTOS Y 100% SIMÉTRICOS
   ========================================================================== */
.sf-covers-section { 
    background-color: var(--sf-bg-light); 
}

.sf-covers-section .sf-reveal:first-child {
    text-align: center; 
    margin-bottom: 5px;
}

.sf-covers__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr; 
    gap: 16px;           
    max-width: 750px;    
    margin: 0 auto;
}

.sf-cover {
    background: var(--sf-white);
    
    padding: 14px 18px;  
    
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
    display: flex;       
    align-items: center;
    gap: 14px;           
    box-shadow: 0 4px 12px rgba(13, 44, 74, 0.02);
    
    width: 100%;
    height: 100%;       
}

.sf-cover__icon {
    width: 38px;         
    height: 38px;
    background-color: var(--sf-bg-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sf-blue-text);
    font-size: 1rem;
    flex-shrink: 0;
}

.sf-cover h3 { 
    font-size: 1rem;     
    margin-bottom: 0;    
    color: var(--sf-blue-text); 
    line-height: 1.3;
}
/* ==========================================================================
   5. SECCIÓN WHO NEEDS A BTR (SCHEDULE) - SIMÉTRICA
   ========================================================================== */
.sf-schedule { 
    background-color: var(--sf-white); 
}

.sf-schedule .sf-reveal:first-child {
    text-align: center; 
    margin-bottom: 50px;
}

.sf-schedule__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sf-schedule__item {
    background: var(--sf-white);
    padding: 30px 24px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
    
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.sf-schedule__num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sf-mustard);
    margin-bottom: 10px;
}

.sf-schedule__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sf-schedule__body h3 { 
    font-size: 1.15rem; 
    margin-bottom: 8px; 
}

.sf-schedule__body p { 
    font-size: 0.9rem; 
}

/* ==========================================================================
   6. CTA FINAL CLEAN
   ========================================================================== */
.sf-cta-clean {
    background-color: transparent;
    color: var(--sf-blue-text);
    text-align: center;
    padding: 90px 24px;
}

.sf-cta-clean h3 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: var(--sf-blue-text);
}

.sf-cta-clean p {
    color: var(--sf-text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 0.98rem;
}


.sf-reveal { 
    opacity: 0; 
    transform: translateY(20px); 
    transition: all 0.6s ease; 
}

.sf-reveal.sf-visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ==========================================================================
   8. RESPONSIVE / MEDIA QUERIES
   ========================================================================== */
@media (max-width: 868px) {
    .sf-intro__grid, 
    .sf-why .sf-intro__grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    
    .sf-covers__grid { 
        grid-template-columns: 1fr; 
    }
    
    .sf-schedule__grid {
        grid-template-columns: 1fr;
    }
    
    .sf-hero { 
        margin: 10px; 
        padding: 80px 16px; 
    }
}

:root {
    --ce-blue-overlay: rgba(13, 44, 74, 0.65);
    --ce-blue-dark: #0D2C4A;
    --ce-blue-text: #0D2C4A;
    --ce-text-muted: #556B82;
    --ce-mustard: #C7922E;
    --ce-mustard-hover: #AE7D22;
    --ce-bg-light: #F4F7FA;
    --ce-white: #FFFFFF;

    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--ce-blue-text);
    background-color: #FAFAFA;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ... */

.ce-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ce-reveal.ce-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 868px) {
    .ce-intro__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ce-hero {
        margin: 10px;
        padding: 90px 16px;
    }

    .ce-hero__cta {
        flex-direction: column;
        gap: 12px;
    }

    .ce-btn {
        width: 100%;
    }
}
/* ==========================================================================
   CATERING & EVENT PLANNING SERVICES - DESIGN STYLES
   ========================================================================== */

:root {
    --ce-blue-overlay: rgba(13, 44, 74, 0.65);
    --ce-blue-dark: #0D2C4A;
    --ce-blue-text: #0D2C4A;
    --ce-text-muted: #556B82;
    --ce-mustard: #C7922E;
    --ce-mustard-hover: #AE7D22;
    --ce-bg-light: #F4F7FA;
    --ce-white: #FFFFFF;

    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--ce-blue-text);
    background-color: #FAFAFA;
    line-height: 1.6;
    overflow-x: hidden;
}

.ce-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.ce-section {
    padding: 120px 0;
}

h1,
h2,
h3 {
    font-weight: 700;
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--ce-mustard);
}

p {
    color: var(--ce-text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   HELPERS EXTRAÍDOS DE INLINE STYLES
   ========================================================================== */

.ce-intro-btn {
    margin-top: 40px;
}

.ce-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ce-section-header-small {
    text-align: center;
    margin-bottom: 40px;
}

.ce-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ce-white);
    background-color: var(--ce-mustard);
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.ce-section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--ce-blue-text);
}

.ce-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.ce-btn--primary {
    background-color: var(--ce-mustard);
    color: var(--ce-white);
    box-shadow: 0 4px 14px rgba(199, 146, 46, 0.25);
}

.ce-btn--primary:hover {
    background-color: var(--ce-mustard-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 146, 46, 0.35);
}

.ce-btn--white {
    background-color: var(--ce-white);
    color: var(--ce-blue-text);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.ce-btn--white:hover {
    background-color: var(--ce-mustard);
    color: var(--ce-white);
    transform: translateY(-2px);
}

.ce-btn--outline-white {
    background-color: transparent;
    color: var(--ce-white);
    border: 1px solid var(--ce-white);
}

.ce-btn--outline-white:hover {
    background-color: var(--ce-white);
    color: var(--ce-blue-text);
}

/* 1. HERO */
.ce-hero {
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--ce-mustard);
    background:
        linear-gradient(0deg, var(--ce-blue-overlay), var(--ce-blue-overlay)),
        url('https://images.unsplash.com/photo-1555244162-803834f70033?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    padding: 140px 24px;
    color: var(--ce-white);
    text-align: center;
}

.ce-hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.ce-breadcrumb {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
}

.ce-eyebrow {
    display: block;
    font-size: 1.1rem;
    color: var(--ce-mustard);
    margin-bottom: 10px;
    font-weight: 500;
}

.ce-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--ce-white);
}

.ce-hero__title span {
    color: var(--ce-mustard);
}

.ce-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.ce-hero__cta {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* 2. INTRODUCCIÓN */
.ce-intro {
    background-color: var(--ce-white);
    position: relative;
}

.ce-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.ce-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--ce-mustard);
    border-radius: 8px;
}

.ce-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.ce-intro__img-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--ce-mustard);
    color: var(--ce-white);
    padding: 15px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(199, 146, 46, 0.3);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    line-height: 1.2;
}

.ce-intro__img-badge i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.ce-why {
    background-color: var(--ce-bg-light);
}

.ce-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 24px;
}

.ce-why__item {
    background: var(--ce-white);
    padding: 30px 24px;
    border: 2px solid var(--ce-mustard);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(13, 44, 74, 0.02);
    transition: var(--transition);
    height: 100%;
}

.ce-why__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(13, 44, 74, 0.06);
}

.ce-why__icon {
    width: 46px;
    height: 46px;
    background-color: var(--ce-bg-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ce-mustard);
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(199, 146, 46, 0.15);
}

.ce-why__item strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ce-blue-text);
}

.ce-why__item p {
    margin: 0;
    font-size: 0.93rem;
}

.ce-events__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 16px;
    max-width: 900px;
    margin: 30px auto 0;
}

.ce-event {
    border: 2px solid var(--ce-mustard);
    padding: 16px 20px;
    border-radius: 8px;
    background-color: var(--ce-white);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    height: 100%;
}

.ce-event:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03);
    background-color: var(--ce-bg-light);
}

.ce-event__icon {
    font-size: 1.2rem;
    color: var(--ce-mustard);
    width: 40px;
    height: 40px;
    background-color: var(--ce-bg-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(199, 146, 46, 0.15);
}

.ce-event strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ce-blue-text);
    line-height: 1.3;
}

/* 5. WHO WE WORK WITH */
.ce-who {
    background-color: var(--ce-bg-light);
    position: relative;
}

.ce-who__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.ce-who__item {
    background: var(--ce-white);
    padding: 24px 20px;
    border: 2px solid var(--ce-mustard);
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ce-who__item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.03);
}

.ce-who__num {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-style: italic;
    font-weight: 400;
    color: var(--ce-mustard);
    margin-bottom: 5px;
    line-height: 1;
}

.ce-who__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ce-who__body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--ce-blue-text);
    line-height: 1.3;
}

.ce-who__body p {
    font-size: 0.88rem;
    margin: 0;
}

.ce-cta-clean {
    background-color: transparent;
    color: var(--ce-blue-text);
    text-align: center;
    padding: 90px 24px;
}

.ce-cta-clean h3 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
    color: var(--ce-blue-text);
}

.ce-cta-clean p {
    color: var(--ce-text-muted);
    max-width: 600px;
    margin: 0 auto 35px;
    font-size: 1.05rem;
}

.ce-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ce-reveal.ce-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .ce-why__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 868px) {
    .ce-intro__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ce-why__grid {
        grid-template-columns: 1fr;
    }

    .ce-events__grid {
        grid-template-columns: 1fr;
    }

    .ce-who__grid {
        grid-template-columns: 1fr;
    }

    .ce-hero {
        margin: 10px;
        padding: 90px 16px;
    }

    .ce-hero__cta {
        flex-direction: column;
        gap: 12px;
    }

    .ce-btn {
        width: 100%;
    }
}

/* COMMISSARY KITCHEN */
:root {
    --bg-light: #F3F7FA;
    --panel-bg: #FFFFFF;
    --primary-blue: #1F3F74;
    --primary-blue-rgb: 10, 25, 47;
    --mustard: #D99621;
    --mustard-light: #FDF8ED;
    --mustard-hover: #C28216;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(10, 25, 47, 0.05), 0 8px 10px -6px rgba(10, 25, 47, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(10, 25, 47, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.page-subpage {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.ce-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 40px 32px;
}

.ce-section { 
    padding: 50px 0;
}

h1, h2, h3, h4, strong {
    color: var(--primary-blue);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--mustard);
}

.ce-tag {
    background: rgba(10, 25, 47, 0.05);
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(10, 25, 47, 0.08);
}

.ce-section-title {
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    margin-bottom: 16px;
    font-weight: 800;
}

p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* HERO SECTION & MAP */
.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 24px;
    margin-bottom: 50px;
}

.ce-hero--ck.sp-hero {
    background: linear-gradient(135deg, rgba(var(--primary-blue-rgb), 0.45), rgba(var(--primary-blue-rgb), 0.30)), 
                url('../assets/img/commissary.webp') no-repeat center center/cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.ce-hero--ck.sp-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(217, 150, 33, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.ce-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}
.ce-breadcrumb:hover { 
    color: white; 
    border-color: var(--mustard);
    background: rgba(var(--primary-blue-rgb), 0.5);
}

.ce-eyebrow {
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--mustard);
    margin-bottom: 8px;
    display: block;
}

.ce-hero__title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: white;
    margin-bottom: 14px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.ce-hero__title span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--mustard);
}

.ce-hero__sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    max-width: 580px;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.ce-hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-block {
    background: var(--panel-bg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 340px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: grayscale(0.1) contrast(1.05);
}

/* INTRO SECTION */
.ce-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.ce-intro__grid p {
    font-size: 1rem;
    margin-bottom: 12px;
}

.ce-intro__img-wrap {
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 8px;
    background: white;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.ce-intro__img-wrap::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-bottom: 3px solid var(--mustard);
    border-right: 3px solid var(--mustard);
    bottom: -6px;
    right: -6px;
    border-radius: 0 0 var(--radius-lg) 0;
    pointer-events: none;
}

.ce-intro__img-wrap img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

/* WHY CHOOSE US - SLIDER */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
}

.slider-title-block {
    text-align: center;
    flex-grow: 1;
}

.slider-title-block .ce-tag {
    background: rgba(219, 150, 33, 0.1);
    color: var(--mustard);
    border-color: rgba(219, 150, 33, 0.2);
}

.slider-controls {
    display: flex;
    gap: 8px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.slider-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: white;
    color: var(--primary-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
    border-color: var(--mustard);
    color: white;
    background: var(--primary-blue);
    transform: scale(1.05);
}

.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 8px 4px 20px 4px;
}

.ck-why__grid {
    display: flex;
    gap: 20px;
    scroll-behavior: smooth;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

/* ==========================================================================
   CSS RESPONSIVO FORZADO - PÁGINA DE CONTACTO
   ========================================================================== */

/* --- 1. CONTENEDOR DE LA PÁGINA DE CONTACTO --- */
.co-inner {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

.co-section {
    padding: 60px 0 !important; /* Espaciado saludable en móviles */
}

/* --- 2. CO-HERO (Cabecera de Contacto) --- */
.co-hero {
    position: relative !important;
    padding: 80px 20px !important;
    min-height: 40vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: hidden !important;
}

.co-hero__content {
    width: 100% !important;
    max-width: 700px !important;
    z-index: 2 !important;
}

.co-hero__title {
    font-size: calc(1.8rem + 1.2vw) !important; /* Texto fluido según pantalla */
    line-height: 1.2 !important;
}

.co-hero__btns {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.btn-co {
    display: inline-block !important;
    width: auto !important;
    min-width: 220px !important;
    padding: 14px 28px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* --- 3. ESTRUCTURA DEL FORMULARIO Y LA TARJETA (Móvil Primero) --- */
.co-contact__grid {
    display: flex !important;
    flex-direction: column !important; /* Se apila verticalmente en móviles */
    gap: 40px !important;
    width: 100% !important;
}

.co-info__card, 
.co-form__card {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 25px 20px !important; /* Aligera los rellenos internos en pantallas chicas */
}

/* --- 4. CAMPOS DEL FORMULARIO EN MÓVIL --- */
/* Convierte las filas de doble columna (Nombre/Email) en columnas individuales */
.co-form__row {
    display: flex !important;
    flex-direction: column !important; 
    gap: 20px !important;
    width: 100% !important;
    margin-bottom: 0 !important; /* Controlado por el gap */
}

.co-form__field {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 20px !important;
}

.co-form__field input,
.co-form__field select,
.co-form__field textarea,
.co-submit {
    width: 100% !important; /* Asegura que ningún input desborde la tarjeta */
    box-sizing: border-box !important;
}

.co-submit {
    padding: 14px !important;
    font-size: 1rem !important;
}

/* Ajuste para inputs ocultos dinámicos de "Other" */
#otherServiceInput {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   💻 RESPONSIVO PARA PANTALLAS GRANDES (Tablets y Escritorio)
   ========================================================================== */
@media (min-width: 992px) {
    /* La cuadrícula se abre a dos columnas en monitores */
    .co-contact__grid {
        flex-direction: row !important;
        align-items: flex-start !important;
    }
    
    /* Proporciones elegantes: Tarjeta 35% de ancho, Formulario 65% */
    .co-info__card {
        width: 35% !important;
    }
    
    .co-form__card {
        width: 65% !important;
    }
    
    /* El formulario vuelve a tener 2 campos por fila (Nombre | Email) */
    .co-form__row {
        flex-direction: row !important;
    }
    
    .co-form__row .co-form__field {
        flex: 1 !important; /* Se dividen el espacio equitativamente */
    }
}


@media (max-width: 480px) {
    .co-hero__btns .btn-co,
    .co-submit {
        width: 100% !important; 
    }
    
    .co-info__badge {
        flex-direction: column !important; 
        text-align: center !important;
    }
}
.ck-why__grid::-webkit-scrollbar { display: none; }

.ck-why__item {
    flex: 0 0 calc(25% - 15px);
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    white-space: normal;
}

.ck-why__item:hover {
    border-color: rgba(217, 150, 33, 0.4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 10px 15px -5px rgba(217, 150, 33, 0.12);
}

.ck-why__icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--mustard-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition);
}
.ck-why__item:hover .ck-why__icon-wrap { background: var(--mustard); }

.ck-why__icon {
    font-size: 1.15rem;
    color: var(--mustard);
    transition: var(--transition);
}
.ck-why__item:hover .ck-why__icon { color: white; }

.ck-why__item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.ck-why__item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.ck-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
}

.ck-feature {
    background: white;
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-left: 4px solid var(--mustard);
    padding: 24px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ck-feature:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-blue);
}

.ck-feature__icon-circle {
    width: 40px;
    height: 40px;
    background: #F1F5F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ck-feature__icon {
    font-size: 1rem;
    color: var(--primary-blue);
}

.ck-feature h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.ck-feature p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* WHO CAN BENEFIT */
.ck-who { background-color: var(--bg-light); }
.ck-who__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.ck-who__item {
    background: white;
    border: 2px solid var(--mustard);
    border-radius: var(--radius-md);
    padding: 30px 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.ck-who__item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--mustard-light) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}
.ck-who__item:hover::before { opacity: 1; }
.ck-who__item * { position: relative; z-index: 2; }

.ck-who__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), 0 12px 20px -8px rgba(217, 150, 33, 0.18);
}

.ck-who__num {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--mustard);
    opacity: 0.12;
    position: absolute;
    top: -2px;
    right: 12px;
    line-height: 1;
    z-index: 1;
    transition: var(--transition);
}
.ck-who__item:hover .ck-who__num {
    opacity: 0.25;
    transform: scale(1.05);
}

.ck-who__item h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 800;
    color: var(--mustard) !important;
}

.ck-who__item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.ce-btn {
    padding: 12px 28px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    gap: 8px;
}

.ce-btn--white {
    background-color: var(--mustard);
    color: white;
    box-shadow: 0 4px 14px rgba(217, 150, 33, 0.25);
}
.ce-btn--white:hover {
    background-color: var(--mustard-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 150, 33, 0.4);
}

.ce-btn--outline-white {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.ce-btn--outline-white:hover {
    border-color: var(--mustard);
    background: rgba(255, 255, 255, 0.08);
}

.ce-btn--primary {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(10, 25, 47, 0.15);
}
.ce-btn--primary:hover {
    background-color: #13233c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 25, 47, 0.25);
}

.ce-cta-clean {
    text-align: center;
    padding: 60px 32px;
    background: linear-gradient(180deg, transparent, rgba(217, 150, 33, 0.03));
    border-radius: var(--radius-lg);
}
.ce-cta-clean h3 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 16px;
}
.ce-cta-clean p {
    max-width: 600px;
    margin: 0 auto 28px auto;
    font-size: 1.05rem;
}

.ce-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.ce-reveal.ce-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .ck-why__item { flex: 0 0 calc(33.333% - 14px); }
}

@media (max-width: 1024px) {
    .hero-grid, .ce-intro__grid { grid-template-columns: 1fr; gap: 32px; }
    .ce-hero--ck.sp-hero { padding: 50px 32px; }
    .ck-why__item { flex: 0 0 calc(50% - 10px); }
    .ce-section { padding: 40px 0; }
}

@media (max-width: 640px) {
    .ce-inner { padding: 24px 16px; }
    .slider-header { flex-direction: column; gap: 16px; margin-bottom: 16px; }
    .slider-controls { position: relative; top: 0; transform: none; width: 100%; justify-content: center; }
    .ck-why__item { flex: 0 0 100%; padding: 24px 20px; }
    .ce-section { padding: 30px 0; }
    .ce-cta-clean { padding: 45px 16px; }
}

:root {
    --bg-navy:       #1F3F74; 
    --card-navy:     #1F3F74; 
    --mustard-gold:  #C49A3C; 
    --mustard-dark:  #A37D2E;
    --white:         #FFFFFF;
    --text-dark:     #1F3F74; 
    --text-gray:     #ffffff;
    --border-light:  #E2E8F0;
    
    --font-serif:    'Playfair Display', serif;
    --font-sans:     'Inter', sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--text-dark);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

.co-hero {
    position: relative;
    padding: 9rem 2rem 7rem;
    border-bottom: 2px solid var(--mustard-gold);
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.co-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(31,63,116,0.75) 20%, rgba(31,63,116,0.4) 50%, rgba(31,63,116,0.1) 100%);
    z-index: 2;
}

.co-hero__content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    z-index: 3;
}

.co-hero__eyebrow {
    display: inline-flex;
    border: 1px solid var(--mustard-gold);
    padding: 5px 14px;
    font-size: 0.75rem;
    color: var(--white);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    background: rgba(31, 63, 116, 0.9); 
}

.co-hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.co-hero__title span {
    color: var(--mustard-gold);
}

.co-hero__sub {
    font-size: 1.1rem;
    color: #E2ECF6;
    max-width: 550px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.co-hero__btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-co {
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-co-orange {
    background: var(--mustard-gold);
    color: var(--bg-navy);
    box-shadow: 0 4px 15px rgba(31, 63, 116, 0.4);
}

.btn-co-orange:hover {
    background: var(--mustard-dark);
    color: var(--white);
}

.btn-co-outline {
    border: 1px solid var(--white);
    color: var(--white);
    background: rgba(31, 63, 116, 0.4); 
}

.btn-co-outline:hover {
    background: var(--white);
    color: var(--bg-navy);
}

.co-section {
    padding: 6rem 2rem;
    background-color: var(--white);
}

.co-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.co-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
}
.co-info__card {
    background: var(--card-navy);
    border-radius: 8px;
    padding: 3rem 2.5rem;
    color: var(--white);
    border: 1px solid rgba(196, 154, 60, 0.25);
    box-shadow: 0 20px 45px rgba(31, 63, 116, 0.15);
}

.co-info__card h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--mustard-gold);
    margin-bottom: 2.5rem;
}

.co-info__items {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.co-info__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.co-info__icon {
    width: 40px;
    height: 40px;
    background: rgba(196, 154, 60, 0.15);
    border: 1px solid rgba(196, 154, 60, 0.35);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mustard-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.co-info__item strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mustard-gold);
    margin-bottom: 3px;
}

.co-info__item a, .co-info__item span {
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.co-info__item a:hover {
    color: var(--mustard-gold);
}

.co-info__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 2.5rem 0;
}

.co-info__badge {
    margin-top: 2.5rem;
    border: 1px solid var(--mustard-gold) !important;
    background: rgba(196, 154, 60, 0.08);
    padding: 22px !important;
    border-radius: 6px !important;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.co-info__badge i {
    color: var(--mustard-gold);
    font-size: 1.1rem;
    margin-top: 2px;
}

.co-info__badge strong {
    color: var(--mustard-gold) !important;
    font-family: var(--font-serif);
}

.co-info__badge p {
    color: #E2ECF6 !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
}

/* Tarjeta del Formulario */
.co-form__card h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
}

.co-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.co-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.co-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.co-form__field label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #4A5568;
}

.co-form__field input[type="text"],
.co-form__field input[type="email"],
.co-form__field input[type="tel"],
.co-form__field select,
.co-form__field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: #F8FAFC;
    transition: all 0.3s ease;
}

.co-form__field input:focus,
.co-form__field select:focus,
.co-form__field textarea:focus {
    outline: none;
    border-color: var(--mustard-gold);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(196, 154, 60, 0.15);
}
/* Botón de Envío */
.co-submit {
    background-color: var(--card-navy);
    color: var(--white);
    border: 1px solid rgba(196, 154, 60, 0.2);
    padding: 12px 24px; /* Más angosto */
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    align-self: center; /* Centrado */
    margin-top: 1rem;

    transition: all 0.3s ease;
}


.co-submit:hover {
    background-color: var(--mustard-gold);
    color: var(--bg-navy);
    border-color: var(--mustard-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(196, 154, 60, 0.2);
}

/* ── RESPONSIVO ── */
@media (max-width: 992px) {
    .co-contact__grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 600px) {
    .co-hero {
        padding: 8rem 1.5rem 5rem;
    }
    .co-form__row {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .co-section {
        padding: 4rem 1.5rem;
    }
    .co-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ------------------------------------------------------
    PALETA DE COLORES Y CONFIGURACIÓN
--------------------------------------------------------- */
:root {
    --sf-blue-overlay: rgba(13, 44, 74, 0.65); 
    --sf-blue-dark: #0D2C4A;        
    --sf-blue-text: #0D2C4A;
    --sf-text-muted: #556B82;
    --sf-mustard: #C7922E;         
    --sf-mustard-hover: #AE7D22;
    --sf-bg-light: #F4F7FA;
    --sf-white: #FFFFFF;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--sf-blue-text);
    background-color: #FAFAFA;
    line-height: 1.6;
}

.sf-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.sf-section { padding: 90px 0; }

h1, h2, h3 { font-weight: 700; }

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sf-mustard);
}

p { color: var(--sf-text-muted); font-size: 0.98rem; }

.sf-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sf-white);
    background-color: var(--sf-mustard);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.sf-section-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--sf-blue-text);
}

/* BOTONES GENERALES */
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.sf-btn--primary {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}
.sf-btn--primary:hover {
    background-color: var(--sf-mustard-hover);
}

/* ------------------------------------------------------
    Ajustes del Hero Solicitados
--------------------------------------------------------- */
.sf-hero {
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--sf-mustard); 
    background: linear-gradient(0deg, var(--sf-blue-overlay), var(--sf-blue-overlay)), 
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    padding: 120px 24px;
    color: var(--sf-white);
    text-align: center;
}

.sf-hero__content { max-width: 800px; margin: 0 auto; }

.sf-breadcrumb {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.sf-eyebrow {
    display: block;
    font-size: 1.1rem;
    color: var(--sf-mustard);
    margin-bottom: 10px;
    font-weight: 500;
}

.sf-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--sf-white);
}
.sf-hero__title span { 
    color: var(--sf-white);
}
.sf-hero__title .sf-highlight {
    color: var(--sf-mustard);
}

.sf-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(0, 0, 0, 0.4); /* Fondo oscuro transparente */
    padding: 15px;
    border-radius: 8px;
}

.sf-hero__cta { display: flex; gap: 12px; justify-content: center; }

.sf-btn--white {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
    margin-right: 12px;
}
.sf-btn--white:hover { background-color: var(--sf-mustard-hover); }

.sf-btn--primary-blue {
    background-color: var(--sf-blue-dark);
    color: var(--sf-white);
    border: 1px solid var(--sf-blue-dark);
}
.sf-btn--primary-blue:hover {
    background-color: rgba(13, 44, 74, 0.8);
    border-color: rgba(13, 44, 74, 0.8);
}

/* ------------------------------------------------------
    Resto de Secciones
--------------------------------------------------------- */
/* 2. INTRODUCCIÓN */
.sf-intro { background-color: var(--sf-white); }
.sf-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.sf-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}

.sf-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.sf-intro__badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--sf-mustard);
    color: var(--sf-white);
    padding: 15px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(199, 146, 46, 0.3);
    border: 2px dashed rgba(255,255,255,0.4);
}
.sf-intro__badge i { font-size: 1.2rem; margin-bottom: 2px; }

.sf-why { background-color: var(--sf-white); padding-top: 0; }
.sf-why .sf-intro__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
 
.sf-why__box {
    border: 2px solid var(--sf-mustard); 
    padding: 40px 30px;
    border-radius: 8px;
    background-color: var(--sf-white);
    height: 100%;
}
.sf-why__box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--sf-blue-text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.sf-why__box h3 i { color: var(--sf-mustard); }

.sf-why__list {
    list-style: none;
    margin-top: 15px;
}
.sf-why__item-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.98rem;
}
.sf-why__item-line i {
    color: var(--sf-mustard);
    margin-top: 5px;
    font-size: 0.9rem;
}

.sf-internal-step {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
    align-items: flex-start;
}
.sf-internal-step__num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--sf-white);
    background-color: var(--sf-mustard);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sf-internal-step p { margin: 0; padding-top: 2px; }

.sf-schedule { background-color: var(--sf-bg-light); }
.sf-schedule__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.sf-schedule__item {
    background: var(--sf-white);
    padding: 30px 24px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}
.sf-schedule__num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sf-mustard);
    margin-bottom: 10px;
}
.sf-schedule__body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.sf-schedule__body p { font-size: 0.9rem; }

.sf-cta-clean {
    background-color: transparent;
    color: var(--sf-blue-text);
    text-align: center;
    padding: 90px 24px;
}
.sf-cta-clean h3 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: var(--sf-blue-text);
}
.sf-cta-clean p {
    color: var(--sf-text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 0.98rem;
}

/* REVELADOS JS */
.sf-reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.sf-reveal.sf-visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 868px) {
    .sf-intro__grid, .sf-why .sf-intro__grid { grid-template-columns: 1fr; gap: 40px; }
    .sf-hero { margin: 10px; padding: 80px 16px; }
}

/* ------------------------------------------------------
    PALETA DE COLORES Y CONFIGURACIÓN GLOBAL
--------------------------------------------------------- */
:root {
    --sf-blue-overlay: rgba(13, 44, 74, 0.4); 
    --sf-blue-dark: #0D2C4A;        
    --sf-blue-text: #0D2C4A;
    --sf-text-muted: #556B82;
    --sf-mustard: #C7922E;          
    --sf-mustard-hover: #AE7D22;
    --sf-bg-light: #F4F7FA;
    --sf-white: #FFFFFF;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

/* RESET GENERAL */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--sf-blue-text);
    background-color: #FAFAFA;
    line-height: 1.6;
}

.sf-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.sf-inner--wide {
    max-width: 1240px;
}

.sf-section { padding: 90px 0; }

h1, h2, h3 { font-weight: 700; }

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sf-mustard);
}

p { color: var(--sf-text-muted); font-size: 0.98rem; }

.sf-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sf-white);
    background-color: var(--sf-mustard);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.sf-section-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--sf-blue-text);
}

/* BOTONES GENERALES */
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.sf-btn--primary {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}
.sf-btn--primary:hover {
    background-color: var(--sf-mustard-hover);
}

/* ------------------------------------------------------
    1. HERO 
--------------------------------------------------------- */
.sf-hero {
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--sf-mustard); 
    padding: 120px 24px;
    color: var(--sf-white);
    text-align: center;
}

.sf-hero__content { max-width: 800px; margin: 0 auto; }

.sf-breadcrumb {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.sf-eyebrow {
    display: block;
    font-size: 1.1rem;
    color: var(--sf-mustard);
    margin-bottom: 10px;
    font-weight: 500;
}

.sf-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--sf-white);
}
.sf-hero__title span { color: var(--sf-white); }
.sf-hero__title .sf-highlight { color: var(--sf-mustard); }

.sf-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(0, 0, 0, 0.45); 
    padding: 15px 25px;
    border-radius: 8px;
}

.sf-hero__cta { display: flex; gap: 12px; justify-content: center; }

/* Botón Izquierdo */
.sf-btn--white {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}
.sf-btn--white:hover { background-color: var(--sf-mustard-hover); }

/* Botón Derecho */
.sf-btn--primary-blue {
    background-color: var(--sf-blue-dark);
    color: var(--sf-white);
    border: 1px solid var(--sf-blue-dark);
}
.sf-btn--primary-blue:hover {
    background-color: rgba(13, 44, 74, 0.85);
    border-color: rgba(13, 44, 74, 0.85);
}

/* ------------------------------------------------------
    2. INTRODUCCIÓN
--------------------------------------------------------- */
.sf-intro { background-color: var(--sf-white); }
.sf-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.sf-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}

.sf-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.sf-intro__badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--sf-mustard);
    color: var(--sf-white);
    padding: 15px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(199, 146, 46, 0.3);
    border: 2px dashed rgba(255,255,255,0.4);
}
.sf-intro__badge i { font-size: 1.2rem; margin-bottom: 2px; }
/* ------------------------------------------------------
   3. GRID COVERS 
--------------------------------------------------------- */

.sf-covers-section {
    background-color: var(--sf-bg-light);
    position: relative;
    overflow: hidden;
}

.sf-covers-section .sf-inner--wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px; 
    box-sizing: border-box;
}

.sf-covers__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
    align-items: stretch;
}

.sf-cover {
    background: var(--sf-white);
    padding: 28px 24px;
    border: 2px solid var(--sf-mustard);
    border-radius: 8px;

    display: flex;
    flex-direction: column;

    height: 100%;
    min-height: 280px;

    overflow: hidden; 

    transition: var(--transition);
}

.sf-cover:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
}

.sf-cover__icon {
    width: 56px;
    height: 56px;
    background-color: var(--sf-bg-light);
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--sf-mustard);
    font-size: 1.35rem;

    margin-bottom: 18px;
    border: 1px solid rgba(199,146,46,.15);
}

.sf-cover__text {
    width: 100%;
}

.sf-cover h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sf-blue-text);

    line-height: 1.4;
    margin-bottom: 10px;

    word-break: break-word;
}

.sf-cover p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--sf-text-muted);

    word-break: break-word;
    overflow-wrap: break-word;
}

/* TABLET */

@media (max-width: 1400px) {
    .sf-covers__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .sf-covers__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sf-covers-section .sf-inner--wide {
        padding: 0 30px;
    }
}

/* MOBILE */

@media (max-width: 768px) {
    .sf-covers__grid {
        grid-template-columns: 1fr;
    }

    .sf-cover {
        min-height: auto;
    }

    .sf-covers-section .sf-inner--wide {
        padding: 0 20px;
    }
}
/* ------------------------------------------------------
    4. SERVICES GRID
--------------------------------------------------------- */
.sf-covers-section { 
    background-color: var(--sf-bg-light); 
    width: 100%;
    overflow: hidden; 
}

/* Contenedor centrado y espacioso */
.sf-covers-section .sf-inner--wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.sf-covers__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columnas simétricas */
    gap: 24px; 
    width: 100%;
    box-sizing: border-box;
}

.sf-cover {
    background: var(--sf-white);
    padding: 20px 24px; /* Ajuste de aire interno */
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
    display: flex;
    flex-direction: row; 
    align-items: center;
    text-align: left;
    gap: 18px;
    box-shadow: 0 6px 16px rgba(13, 44, 74, 0.04); 
    box-sizing: border-box;
    
    height: 105px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sf-cover:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13, 44, 74, 0.08);
}

.sf-cover__icon {
    width: 44px; 
    height: 44px;
    background-color: var(--sf-bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sf-blue-text);
    font-size: 1.1rem; 
    flex-shrink: 0; 
    border: 1px solid rgba(13, 44, 74, 0.05);
}

.sf-cover__text {
    flex: 1;
    min-width: 0; 
}

.sf-cover h3 { 
    font-size: 1.05rem; 
    font-weight: 600; 
    color: var(--sf-blue-text); 
    line-height: 1.35; 
    
    display: block;
    overflow: visible;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sf-covers__grid { 
        grid-template-columns: repeat(2, minmax(0, 1fr)); 
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .sf-covers__grid { 
        grid-template-columns: minmax(0, 1fr); 
    }
    .sf-cover {
        height: auto;
        padding: 20px;
    }
}
/* ------------------------------------------------------
    5. WHO WE WORK WITH
--------------------------------------------------------- */
.sf-schedule { background-color: var(--sf-white); }
.sf-schedule__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.sf-schedule__item {
    background: var(--sf-white);
    padding: 30px 24px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}
.sf-schedule__num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sf-mustard);
    margin-bottom: 10px;
}
.sf-schedule__body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.sf-schedule__body p { font-size: 0.9rem; }

/* ------------------------------------------------------
    6. CTA FINAL SIN FONDO
--------------------------------------------------------- */
.sf-cta-clean {
    background-color: transparent;
    color: var(--sf-blue-text);
    text-align: center;
    padding: 90px 24px;
}
.sf-cta-clean h3 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: var(--sf-blue-text);
}
.sf-cta-clean p {
    color: var(--sf-text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 0.98rem;
}

/* ANIMACIONES */
.sf-reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.sf-reveal.sf-visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE OPTIMIZADO */
@media (max-width: 1024px) {
    .sf-covers__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 868px) {
    .sf-intro__grid, .sf-why .sf-intro__grid { grid-template-columns: 1fr; gap: 40px; }
    .sf-hero { margin: 10px; padding: 80px 16px; }
    .sf-hero__cta { flex-direction: column; gap: 10px; align-items: center; }
    .sf-btn { width: 100%; max-width: 300px; }
}

@media (max-width: 650px) {
    /* En móviles se apilan limpiamente en 1 sola columna vertical */
    .sf-covers__grid { grid-template-columns: 1fr; }
}


/* ------------------------------------------------------
    PALETA DE COLORES Y VARIABLES GLOBALES
--------------------------------------------------------- */
:root {
    --sf-blue-overlay: rgba(13, 44, 74, 0.65); 
    --sf-blue-dark: #0D2C4A;        
    --sf-blue-text: #0D2C4A;
    --sf-text-muted: #556B82;
    --sf-mustard: #C7922E;          
    --sf-mustard-hover: #AE7D22;
    --sf-bg-light: #F4F7FA;
    --sf-white: #FFFFFF;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET GENERAL */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--sf-blue-text);
    background-color: #FAFAFA;
    line-height: 1.6;
    overflow-x: hidden;
}

.sf-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.sf-inner--wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.sf-section { padding: 120px 0; }
h1, h2, h3 { font-weight: 700; }

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sf-mustard);
}

p { color: var(--sf-text-muted); font-size: 1rem; }

.sf-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sf-white);
    background-color: var(--sf-mustard);
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.sf-section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--sf-blue-text);
}

/* BOTONES */
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}
.sf-btn--primary {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
    box-shadow: 0 4px 14px rgba(199, 146, 46, 0.25);
}
.sf-btn--primary:hover {
    background-color: var(--sf-mustard-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 146, 46, 0.35);
}
.sf-btn--white-mustard {
    background-color: var(--sf-white);
    color: var(--sf-mustard);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.sf-btn--white-mustard:hover { 
    background-color: #FAFAFA;
    color: var(--sf-mustard-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* ------------------------------------------------------
    1. HERO
--------------------------------------------------------- */
.sf-hero {
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--sf-mustard); 
    position: relative;
    padding: 140px 24px;
    color: var(--sf-white);
    text-align: center;
}

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

.sf-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
   background: linear-gradient(
    rgba(0, 80, 160, 0.12),
    rgba(0, 80, 160, 0.08)
);
}

.sf-hero__content { 
    position: relative;
    z-index: 3; 
    max-width: 800px; 
    margin: 0 auto; 
}

.sf-breadcrumb {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
}

.sf-eyebrow {
    display: block;
    font-size: 1.1rem;
    color: var(--sf-mustard);
    margin-bottom: 10px;
    font-weight: 500;
}

.sf-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--sf-white);
}
.sf-hero__title .sf-highlight { color: var(--sf-mustard); }

.sf-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
.sf-hero__cta { display: flex; gap: 12px; justify-content: center; }

/* ------------------------------------------------------
    2. INTRODUCCIÓN
--------------------------------------------------------- */
.sf-intro { background-color: var(--sf-white); position: relative; }
.sf-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}
.sf-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}
.sf-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}
.sf-intro__badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--sf-mustard);
    color: var(--sf-white);
    padding: 15px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(199, 146, 46, 0.3);
    border: 2px dashed rgba(255,255,255,0.4);
}
.sf-intro__badge i { font-size: 1.2rem; margin-bottom: 2px; }
/* ------------------------------------------------------
   3. GRID COVERS (Carrusel Horizontal Flexbox - Fix Mobile)
--------------------------------------------------------- */

.sf-covers-section {
    background-color: var(--sf-bg-light);
    position: relative;
    overflow: hidden; 
}

.sf-covers-section .sf-inner--wide {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 24px;
}

.sf-covers__grid {
    display: flex;      
    flex-direction: row; 
    gap: 24px;
    margin-top: 30px;
    padding-bottom: 25px; 

    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.sf-covers__grid::-webkit-scrollbar {
    height: 5px;
}
.sf-covers__grid::-webkit-scrollbar-track {
    background: transparent;
}
.sf-covers__grid::-webkit-scrollbar-thumb {
    background: rgba(199, 146, 46, 0.2); 
    border-radius: 10px;
}

.sf-cover {
    box-sizing: border-box;
    flex: 0 0 340px; 
    scroll-snap-align: start; 
    
    background: var(--sf-white);
    padding: 36px 28px; 
    border: 2px solid var(--sf-mustard);
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    transition: var(--transition);
}

.sf-cover:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.03);
}

.sf-cover__icon {
    width: 56px;
    height: 56px;
    background-color: var(--sf-bg-light);
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--sf-mustard);
    font-size: 1.35rem;

    margin-bottom: 20px;
    border: 1px solid rgba(199, 146, 46, 0.15);
}

.sf-cover__text {
    width: 100%;
}

.sf-cover h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 10px;
    white-space: normal;
}

.sf-cover p {
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: justify; 
    margin: 0;
}

/* ======================================================
   RESPONSIVE: 
========================================================= */
@media (max-width: 768px) {
    .sf-covers-section .sf-inner--wide {
        padding: 0; 
    }

    .sf-covers__grid {
        gap: 16px;
        padding-left: 24px;  
        padding-right: 24px; 
    }

    .sf-cover {
        flex: 0 0 80vw; 
        scroll-snap-align: center;
        padding: 32px 24px;
    }
}
/* ------------------------------------------------------
    4. WHY TRUST OUR ADVICE
--------------------------------------------------------- */
.sf-why { background-color: var(--sf-white); }
.sf-why .sf-intro__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
.sf-why__box {
    border: 2px solid var(--sf-mustard); 
    padding: 40px 30px;
    border-radius: 8px;
    background-color: var(--sf-white);
    height: 100%;
}
.sf-why__list { list-style: none; }
.sf-why__item-line {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 24px;
}
.sf-why__item-line:last-child { margin-bottom: 0; }
.sf-why__icon-container {
    width: 44px;
    height: 44px;
    background-color: var(--sf-bg-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sf-mustard);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid rgba(199, 146, 46, 0.2);
}
.sf-why__item-line h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; color: var(--sf-blue-text); }

/* ------------------------------------------------------
    5. PARTNERS IN PROFITABILITY
--------------------------------------------------------- */
.sf-schedule { background-color: var(--sf-bg-light); position: relative; }
.sf-schedule__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.sf-schedule__item {
    background: var(--sf-white);
    padding: 30px 24px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
    transition: var(--transition);
}
.sf-schedule__item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.03);
}
.sf-schedule__num {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-style: italic;
    font-weight: 400;
    color: var(--sf-mustard);
    margin-bottom: 10px;
    line-height: 1;
}
.sf-schedule__body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.sf-schedule__body p { font-size: 0.9rem; }

/* ------------------------------------------------------
    6. CTA CLEAN
--------------------------------------------------------- */
.sf-cta-clean {
    background-color: transparent;
    color: var(--sf-blue-text);
    text-align: center;
    padding: 90px 24px;
}
.sf-cta-clean h3 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
    color: var(--sf-blue-text);
}
.sf-cta-clean p {
    color: var(--sf-text-muted);
    max-width: 600px;
    margin: 0 auto 35px auto;
    font-size: 1.05rem;
}

/* REVELACIONES ANIMADAS JS */
.sf-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.sf-reveal.sf-visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sf-why__box { grid-column: span 3; grid-row: span 3; padding: 40px; }
    .sf-covers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 868px) {
    .sf-intro__grid, .sf-why .sf-intro__grid { grid-template-columns: 1fr; gap: 40px; }
    .sf-hero { margin: 10px; padding: 90px 16px; }
    .sf-hero__cta { flex-direction: column; gap: 12px; }
    .sf-btn { width: 100%; }
}

@media (max-width: 650px) {
    .sf-covers__grid { grid-template-columns: minmax(0, 1fr); }
    .sf-cover { padding: 20px; }
}
/* ------------------------------------------------------
   Food Truck Rental
--------------------------------------------------------- */
:root {
    --ce-blue-overlay: rgba(13, 44, 74, 0.65); 
    --ce-blue-dark: #0D2C4A;        
    --ce-blue-text: #0D2C4A;
    --ce-text-muted: #556B82;
    --ce-mustard: #C7922E;          
    --ce-mustard-hover: #AE7D22;
    --ce-bg-light: #F4F7FA;
    --ce-white: #FFFFFF;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-sans);
    color: var(--ce-blue-text);
    background-color: #FAFAFA;
    line-height: 1.6;
    overflow-x: hidden;
}

.ce-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.ce-section { 
    padding: 75px 0; 
}

h1, h2, h3 { 
    font-weight: 700; 
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--ce-mustard);
}

p { 
    color: var(--ce-text-muted); 
    font-size: 1rem; 
}

.ce-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ce-white);
    background-color: var(--ce-mustard);
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: capitalize;
}

.ce-section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--ce-blue-text);
}

/* BOTONES */
.ce-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.ce-btn--primary {
    background-color: var(--ce-mustard);
    color: var(--ce-white);
    box-shadow: 0 4px 14px rgba(199, 146, 46, 0.25);
}
.ce-btn--primary:hover {
    background-color: var(--ce-mustard-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 146, 46, 0.35);
}

.ce-btn--white {
    background-color: var(--ce-white);
    color: var(--ce-blue-text);
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.ce-btn--white:hover { 
    background-color: var(--ce-mustard);
    color: var(--ce-white);
    transform: translateY(-2px);
}

.ce-btn--outline-white {
    background-color: transparent;
    color: var(--ce-white);
    border: 1px solid var(--ce-white);
}
.ce-btn--outline-white:hover {
    background-color: var(--ce-white);
    color: var(--ce-blue-text);
}

/* 1. HERO */
.ce-hero {
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--ce-mustard); 
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), 
                url('../assets/img/rent.webp') no-repeat center center/cover;
    padding: 140px 24px;
    color: var(--ce-white);
    text-align: center;
}

.ce-hero__content { 
    max-width: 800px; 
    margin: 0 auto; 
}

.ce-breadcrumb {
    display: inline-block;
    color: #0B192C;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;

    margin-bottom: 25px;
    padding: 6px 16px;

    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50px;

    transition: all 0.3s ease;
}

.ce-breadcrumb:hover {
    background-color: #C7922E;
    border-color: #C7922E;
    color: #ffffff;
}

.ce-eyebrow {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 500;
}

.ce-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: #C28216;
}
.ce-hero__title span { 
    color: #ffffff; 
}

.ce-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.ce-hero__cta { 
    display: flex; 
    gap: 12px; 
    justify-content: center; 
}

.ce-intro {
    background-color: var(--ce-white);
    position: relative;

    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.ce-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;

    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ce-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--ce-mustard); 
    border-radius: 8px;
}

.ce-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.ce-intro__img-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--ce-mustard);
    color: var(--ce-white);
    padding: 15px;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(199, 146, 46, 0.3);
    border: 2px dashed rgba(255,255,255,0.4);
    line-height: 1.2;
}
.ce-intro__img-badge i { 
    font-size: 1.3rem; 
    margin-bottom: 4px; 
}

.ce-why { 
    background-color: var(--ce-bg-light); 
}
.ce-why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.ce-why__item {
    background: var(--ce-white);
    padding: 30px 24px;
    border: 2px solid var(--ce-mustard); 
    border-radius: 8px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(13, 44, 74, 0.02);
    transition: var(--transition);
}
.ce-why__item--row { 
    align-items: flex-start; 
}

.ce-why__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(13, 44, 74, 0.06);
}

.ce-why__icon--box {
    width: 48px;
    height: 48px;
    background-color: var(--ce-bg-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ce-mustard);
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid rgba(199, 146, 46, 0.15);
}

.ce-why__item strong { 
    display: block; 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: var(--ce-blue-text); 
    margin-bottom: 6px; 
}
.ce-why__item p { 
    margin: 0; 
    font-size: 0.93rem; 
    text-align: justify;
}

.ce-options__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.ce-option-card {
    background-color: var(--ce-white);
    border: 2px solid var(--ce-mustard);
    padding: 40px 30px;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}
.ce-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.04);
}

.ce-option-card__num {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-style: italic;
    color: rgba(199, 146, 46, 0.15);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.ce-option-card__tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--ce-mustard);
    margin-bottom: 12px;
}

.ce-option-card h3 { 
    font-size: 1.4rem; 
    color: var(--ce-blue-text); 
    margin-bottom: 14px; 
}
.ce-option-card p { 
    font-size: 0.95rem; 
    text-align: justify;
}

/* 5. WHO WE WORK WITH */
.ce-who { 
    background-color: var(--ce-bg-light); 
    position: relative; 
}
.ce-who__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.ce-who__item {
    background: var(--ce-white);
    padding: 30px 24px;
    border: 2px solid var(--ce-mustard); 
    border-radius: 8px;
    transition: var(--transition);
}
.ce-who__item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.03);
}

.ce-who__num {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-style: italic;
    font-weight: 400;
    color: var(--ce-mustard);
    margin-bottom: 10px;
    line-height: 1;
}
.ce-who__body h3 { 
    font-size: 1.15rem; 
    margin-bottom: 8px; 
    color: var(--ce-blue-text); 
}
.ce-who__body p { 
    font-size: 0.9rem; 
    text-align: justify;
}

.ce-cta-clean {
    background-color: transparent;
    color: var(--ce-blue-text);
    text-align: center;
    padding: 60px 24px 80px 24px;
}
.ce-cta-clean h3 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    margin-bottom: 20px;
    color: var(--ce-blue-text);
}
.ce-cta-clean p {
    color: var(--ce-text-muted);
    max-width: 600px;
    margin: 0 auto 35px auto;
    font-size: 1.05rem;
}

/* REVELADOS DINÁMICOS CON JS */
.ce-reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); 
}
.ce-reveal.ce-visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* RESPONSIVE */
@media (max-width: 868px) {
    .ce-intro__grid { grid-template-columns: 1fr; gap: 40px; }
    .ce-hero { margin: 10px; padding: 90px 16px; }
    .ce-hero__cta { flex-direction: column; gap: 12px; }
    .ce-btn { width: 100%; }
}

/* ------------------------------------------------------
   PALETA DE COLORES Y VARIABLES
--------------------------------------------------------- */
:root {
    --sf-blue-overlay: rgba(13, 44, 74, 0.65); 
    --sf-blue-dark: #1F3F74;        
    --sf-blue-text: #1F3F74;
    --sf-text-muted: #556B82;
    --sf-mustard: #C7922E;          
    --sf-mustard-hover: #AE7D22;
    --sf-bg-light: #F8F9FA; 
    --sf-white: #FFFFFF;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

/* RESET GENERAL */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-sans);
    color: var(--sf-blue-text);
    background-color: #FFFFFF;
    line-height: 1.6;
}

.sf-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.sf-section { 
    padding: 75px 0; 
}

h1, h2, h3 { 
    font-weight: 700; 
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sf-mustard);
}

p { 
    color: var(--sf-text-muted); 
    font-size: 0.98rem; 
}

.sf-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sf-white);
    background-color: var(--sf-mustard);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.sf-section-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--sf-blue-text);
}

.sf-image-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: #111827;
    font-family: var(--font-sans);
    letter-spacing: -0.02em;
}

/* BOTONES */
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.sf-btn--primary {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}
.sf-btn--primary:hover {
    background-color: var(--sf-mustard-hover);
}

.sf-btn--white {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
    margin-right: 12px;
}
.sf-btn--white:hover { 
    background-color: var(--sf-mustard-hover); 
}

.sf-btn--outline-white {
    background-color: transparent;
    color: var(--sf-white);
    border: 1px solid var(--sf-white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.sf-btn--outline-white:hover {
    background-color: var(--sf-white);
    color: var(--sf-blue-text);
    text-shadow: none;
}

/* 1. HERO */
.sf-hero {
    position: relative;
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--sf-mustard); 
    background-color: #000000; 
    padding: 120px 24px;
    color: var(--sf-white);
    text-align: center;
}

.sf-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 0.85; 
    pointer-events: none;
}

.sf-hero__content { 
    position: relative;
    max-width: 800px; 
    margin: 0 auto; 
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.sf-breadcrumb {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.sf-eyebrow {
    display: block;
    font-size: 1.1rem;
    color: #FFD56B; 
    margin-bottom: 10px;
    font-weight: 600;
}

.sf-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--sf-white);
}

.sf-hero__title .sf-highlight {
    color: #FFD56B;
}

.sf-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.sf-hero__cta { 
    display: flex; 
    gap: 12px; 
    justify-content: center; 
}

/* 2. INTRODUCCIÓN */
.sf-intro { 
    background-color: var(--sf-white); 
}
.sf-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.sf-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}

.sf-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.sf-intro__badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--sf-mustard);
    color: var(--sf-white);
    padding: 8px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(199, 146, 46, 0.3);
    border: 2px dashed rgba(255,255,255,0.4);
    line-height: 1.1;
    z-index: 3;
}
.sf-intro__badge i { 
    font-size: 0.9rem; 
    margin-bottom: 3px; 
}

/* 3. WHY MATTERS */
.sf-why { 
    background-color: var(--sf-white); 
    padding-top: 0; 
}
.sf-why .sf-intro__grid { 
    grid-template-columns: 0.9fr 1.1fr; 
}

.sf-why__box {
    border: 2px solid var(--sf-mustard); 
    padding: 40px 30px;
    border-radius: 8px;
    background-color: var(--sf-white);
}

.sf-why__list {
    list-style: none;
    margin-top: 20px;
}
.sf-why__item-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
}
.sf-why__item-line i {
    color: var(--sf-mustard);
    margin-top: 5px;
    font-size: 0.9rem;
}

.sf-covers-section { 
    background-color: #FFFFFF; 
    padding: 60px 0;
}

.sf-covers__header {
    margin-bottom: 32px;
    text-align: left;
}

.sf-covers__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sf-cover-box {
    background-color: #F8F9FA; 
    padding: 30px 35px;
    border-radius: 8px; /* Redondeado suave de la imagen */
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sf-cover-box--fullwidth {
    grid-column: span 2;
    max-width: 50%;
    margin: 10px auto 0 auto;
    width: 100%;
}

.sf-cover-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 8px;
}

.sf-cover-box p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.5;
}

.sf-schedule { 
    background-color: var(--sf-white); 
}
.sf-schedule__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.sf-schedule__item {
    background: var(--sf-white);
    padding: 30px 24px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}
.sf-schedule__num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sf-mustard);
    margin-bottom: 10px;
}
.sf-schedule__body h3 { 
    font-size: 1.15rem; 
    margin-bottom: 8px; 
}
.sf-schedule__body p { 
    font-size: 0.9rem; 
}

.sf-cta-clean {
    background-color: transparent;
    color: var(--sf-blue-text);
    text-align: center;
    padding: 50px 24px 75px 24px;
}
.sf-cta-clean h3 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: var(--sf-blue-text);
}
.sf-cta-clean p {
    color: var(--sf-text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 0.98rem;
}

.sf-reveal { 
    opacity: 0; 
    transform: translateY(20px); 
    transition: all 0.6s ease; 
}
.sf-reveal.sf-visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* RESPONSIVE */
@media (max-width: 868px) {
    .sf-intro__grid, .sf-why .sf-intro__grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .sf-covers__grid { 
        grid-template-columns: 1fr; 
    }
    .sf-cover-box--fullwidth { 
        grid-column: span 1; 
        max-width: 100%; 
    }
    .sf-hero { 
        margin: 10px; 
        padding: 80px 16px; 
    }
}


/* ------------------------------------------------------
   Hacc plan
--------------------------------------------------------- */

:root {
    --sf-blue-dark: #0D2C4A;        
    --sf-blue-text: #0B192C; 
    --sf-text-muted: #556B82; 
    --sf-mustard: #C7922E;          
    --sf-mustard-hover: #AE7D22;
    --sf-white: #FFFFFF;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-sans);
    color: var(--sf-blue-text);
    background-color: #FFFFFF;
    line-height: 1.5;
}

.sf-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.sf-inner-wide {
    max-width: 1440px; 
    margin: 0 auto;
    padding: 0 40px;
}

.sf-section { 
    padding: 70px 0; 
}

h1, h2, h3 { 
    font-weight: 700; 
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sf-mustard);
}

p { 
    color: var(--sf-text-muted); 
}

.sf-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sf-white);
    background-color: var(--sf-mustard);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.sf-section-title {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--sf-blue-text);
}

.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.sf-btn--primary {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}
.sf-btn--primary:hover {
    background-color: var(--sf-mustard-hover);
}

.sf-btn--white {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
    margin-right: 12px;
}
.sf-btn--white:hover { 
    background-color: var(--sf-mustard-hover); 
}

.sf-btn--outline-white {
    background-color: var(--sf-white);
    color: var(--sf-blue-text);
    border: 1px solid var(--sf-white);
    text-shadow: none;
}

.sf-btn--outline-white:hover {
    background-color: transparent;
    color: var(--sf-white);
    border: 1px solid var(--sf-white);
}
.sf-btn--outline-white:hover {
    background-color: var(--sf-white);
    color: var(--sf-blue-text);
    text-shadow: none;
}

/* 1. HERO */
.sf-hero {
    position: relative;
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--sf-mustard); 
    background-color: #000000; 
    padding: 110px 24px;
    color: var(--sf-white);
    text-align: center;
}

.sf-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.85; 
}

.sf-hero__content { 
    position: relative;
    max-width: 800px; 
    margin: 0 auto; 
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.sf-breadcrumb {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.sf-eyebrow {
    display: block;
    font-size: 1.1rem;
    color: #FFD56B; 
    margin-bottom: 10px;
    font-weight: 600;
}

.sf-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.sf-hero__title .sf-highlight {
    color: #FFD56B;
}

.sf-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.sf-hero__cta { 
    display: flex; 
    gap: 12px; 
    justify-content: center; 
}

/* 2. INTRODUCCIÓN */
.sf-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.sf-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}

.sf-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
}

.sf-intro__badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--sf-mustard);
    color: var(--sf-white);
    padding: 8px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* 3. WHY MATTERS */
.sf-why { padding-top: 0; }
.sf-why .sf-intro__grid { grid-template-columns: 0.9fr 1.1fr; }
.sf-why__box {
    border: 2px solid var(--sf-mustard); 
    padding: 40px 30px;
    border-radius: 8px;
}
.sf-why__list { list-style: none; margin-top: 20px; }
.sf-why__item-line { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.sf-why__item-line i { color: var(--sf-mustard); margin-top: 5px; }


/* 4 y 5. SECCIONES UNIFICADAS CON LA MISMA NATURALEZA VISUAL (sf-schedule) */
.sf-schedule { 
    background-color: var(--sf-white); 
}

/* Grid responsivo simétrico que se estira de manera uniforme hacia los costados */
.sf-schedule__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* El contenedor de las tarjetas con el borde mostaza exacto */
.sf-schedule__item {
    background: var(--sf-white);
    padding: 30px 24px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Los indicadores superiores (Números o Iconos pequeños) */
.sf-schedule__num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sf-mustard);
    margin-bottom: 12px;
}

.sf-schedule__body h3 { 
    font-size: 1.15rem; 
    color: var(--sf-blue-text);
    margin-bottom: 8px; 
    letter-spacing: -0.01em;
}

.sf-schedule__body p { 
    font-size: 0.9rem; 
    color: #2e2c2c;
    line-height: 1.5;
    text-align: justify;
}

/* 6. CTA FINAL */
.sf-cta-clean {
    text-align: center;
    padding: 60px 24px 80px 24px;
}
.sf-cta-clean p {
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* REVELADOS JS */
.sf-reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.sf-reveal.sf-visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .sf-inner, .sf-inner-wide { padding: 0 24px; }
}

@media (max-width: 768px) {
    .sf-intro__grid, .sf-why .sf-intro__grid { grid-template-columns: 1fr; gap: 40px; }
    .sf-schedule__grid { grid-template-columns: 1fr; } /* Columna limpia en mobile */
    .sf-schedule__item { text-align: center; align-items: center; }
    .sf-section-title { font-size: 2rem; }
}

/* ==========================================================================
   1. RESET, CONFIGURACIÓN DE COLOR Y VARIABLES
   ========================================================================== */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

:root {
    --bg-navy:       #1F3F74; 
    --card-navy:     #1F3F74; 
    --mustard-gold:  #C49A3C; 
    --mustard-dark:  #A37D2E;
    --white:         #FFFFFF;
    --off-white:     #F8FAFC; 
    --text-dark:     #1F3F74;
    --text-gray:     #ffffff;
    
    --font-serif:    'Playfair Display', serif;
    --font-sans:     'Inter', sans-serif;
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   2. HERO CON IMAGEN LOCAL
   ========================================================================== */
.li-hero {
    position: relative;
    background: linear-gradient(to right, rgba(4,20,40,0.6) 20%, rgba(4,20,40,0.3) 50%, rgba(4,20,40,0.05) 100%), 
                url('../assets/img/licensing-hero.webp') center/cover no-repeat;
    padding: 9rem 2rem 7rem;
    border-bottom: 2px solid var(--mustard-gold);
}

.li-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.li-hero__location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--mustard-gold);
    padding: 5px 14px;
    font-size: 0.75rem;
    color: var(--white);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2.5rem;
    background: rgba(4, 20, 40, 0.75);
}
.li-hero__location i { 
    color: var(--mustard-gold); 
}

.li-hero__title-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 4rem;
    margin-bottom: 3rem;
    text-align: left;
    flex-wrap: wrap;
}

.li-hero__main-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}
.li-hero__main-title span {
    color: var(--mustard-gold);
    display: block;
}

.li-hero__side-title {
    max-width: 380px;
    border-left: 3px solid var(--mustard-gold);
    padding: 1.25rem 1.75rem;
    background: rgba(4, 20, 40, 0.75);
    border-radius: 0 8px 8px 0;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.li-hero__side-title h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #D1DFEE;
    margin-bottom: 0.4rem;
}
.li-hero__side-title p {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-style: italic;
    color: var(--mustard-gold);
    line-height: 1.3;
}

/* BOTONES DEL HERO */
.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
}

.btn-flat-mustard {
    background: var(--mustard-gold);
    color: var(--bg-navy);
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s;
    box-shadow: 0 4px 15px rgba(4, 20, 40, 0.4);
}
.btn-flat-mustard:hover {
    background: var(--mustard-dark);
}

.btn-outline-white {
    border: 1px solid var(--white);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s, color 0.3s;
    background: rgba(4, 20, 40, 0.25);
    backdrop-filter: blur(2px);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--bg-navy);
}

/* ==========================================================================
   3. SECCIÓN CENTRAL DE CONTENIDO (LICENCIAS)
   ========================================================================== */
.state-licensing-section {
    padding: 7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
}

.section-title-gold {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 4rem;
}
.section-title-gold::after {
    content: '';
    display: block;
    width: 50px; 
    height: 3px;
    background: var(--mustard-gold);
    margin: 12px auto 0;
}

/* GRID DE TARJETAS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

.premium-card {
    background: var(--card-navy);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(4, 20, 40, 0.15);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(196, 154, 60, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 75px rgba(4, 20, 40, 0.25);
}

.card-image-wrapper {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.card-image-wrapper::before {
    content: '';
    position: absolute; 
    inset: 0;
    background: var(--mustard-gold);
    mix-blend-mode: multiply;
    opacity: 0.55;
    z-index: 1;
}

.card-badge-icon {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 54px; 
    height: 54px;
    background: #061B33; 
    border: 2px solid var(--mustard-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mustard-gold);
    font-size: 1.25rem;
    z-index: 2;
}

.card-body {
    padding: 3.5rem 2.5rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
.card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--mustard-gold);
    margin-bottom: 0.8rem;
    font-weight: 600;
}
.card-body p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 360px;
}

/* CHECKLIST INTERNO */
.card-checklist {
    list-style: none;
    width: 100%;
    max-width: 320px;
    margin-bottom: 2.5rem;
    text-align: left;
}
.card-checklist li {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-card-action {
    background: var(--white);
    color: var(--bg-navy);
    padding: 12px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
    transition: background 0.3s, color 0.3s;
}
.btn-card-action:hover {
    background: var(--mustard-gold);
    color: var(--bg-navy);
}

/* ==========================================================================
   4. SECCIÓN CTA INFERIOR
   ========================================================================== */
.bottom-cta-gold-section {
    background: var(--mustard-gold);
    color: var(--bg-navy);
    padding: 6rem 2rem;
    text-align: center;
}
.bottom-cta-gold-section h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.15;
}
.bottom-cta-gold-section p {
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    color: rgba(4, 40, 4, 0.85);
}

.btn-massive-navy {
    background: #1F3F74;
    color: var(--white);
    padding: 16px 44px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(4, 20, 40, 0.25);
    transition: background 0.3s;
}
.btn-massive-navy:hover {
    background: var(--bg-navy);
}

/* ==========================================================================
   5. MEDIA QUERIES (RESPONSIVO)
   ========================================================================== */
@media (max-width: 768px) {
    .li-hero__title-wrap {
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .li-hero__side-title {
        border-left: none;
        padding: 1.25rem;
        border-radius: 8px;
    }
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   1. VARIABLES, RESET Y ESTILOS GENERALES
   ========================================================================== */
:root {
    --sf-blue-overlay: #1F3F74; 
    --sf-blue-dark: #1F3F74;        
    --sf-blue-text: #1F3F74;
    --sf-text-muted: #556B82;
    --sf-mustard: #C7922E;          
    --sf-mustard-hover: #AE7D22;
    --sf-bg-light: #F4F7FA;
    --sf-white: #FFFFFF;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-sans);
    color: var(--sf-blue-text);
    background-color: #FAFAFA;
    line-height: 1.6;
}

.sf-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.sf-section { 
    padding: 90px 0; 
}

h1, h2, h3 { 
    font-weight: 700; 
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sf-mustard);
}

p { 
    color: var(--sf-text-muted); 
    font-size: 0.98rem; 
}

.sf-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sf-white);
    background-color: var(--sf-mustard);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.sf-section-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--sf-blue-text);
}

/* ==========================================================================
   2. BOTONES
   ========================================================================== */
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.sf-btn--primary {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}
.sf-btn--primary:hover {
    background-color: var(--sf-mustard-hover);
}

.sf-btn--white {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}
.sf-btn--white:hover { 
    background-color: var(--sf-mustard-hover); 
}

.sf-btn--outline-white {
    background-color: var(--sf-white);
    color: var(--sf-blue-text);
    border: 1px solid var(--sf-white);
}
.sf-btn--outline-white:hover {
    background-color: var(--sf-white);
    color: var(--sf-blue-text);
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.sf-hero {
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--sf-mustard); 
    background: linear-gradient(0deg, var(--sf-blue-overlay), var(--sf-blue-overlay)), 
                url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    padding: 120px 24px;
    color: var(--sf-white);
    text-align: center;
}

.sf-hero__content { 
    max-width: 800px; 
    margin: 0 auto; 
}

.sf-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 255);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(240, 144, 9, 0.3);
    padding-bottom: 2px;
}

.sf-eyebrow {
    display: block;
    font-size: 1.7rem;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-weight: 500;
}

.sf-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--sf-white);
}
.sf-hero__title span { 
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sf-white);
}
.sf-hero__title .sf-highlight {
    color: var(--sf-mustard);
}

.sf-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.sf-hero__cta { 
    display: flex; 
    gap: 12px; 
    justify-content: center; 
}

/* ==========================================================================
   4. INTRODUCCIÓN
   ========================================================================== */
.sf-intro { 
    background-color: var(--sf-white); 
}
.sf-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.sf-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}

.sf-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* ==========================================================================
   5. WHY STRUCTURE MATTERS
   ========================================================================== */
.sf-why { 
    background-color: var(--sf-white); 
    padding-top: 0; 
}

.sf-why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.sf-why__item {
    border: 2px solid var(--sf-mustard); 
    padding: 35px 24px;
    border-radius: 8px;
    background-color: var(--sf-white);
    transition: var(--transition);
}
.sf-why__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(13, 44, 74, 0.05);
}

.sf-why__icon {
    width: 45px;
    height: 45px;
    background-color: var(--sf-bg-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sf-mustard);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.sf-why__item strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--sf-blue-text);
}

/* ==========================================================================
   6. COMPARACIÓN DE ENTIDADES
   ========================================================================== */
.sf-entities-section { 
    background-color: var(--sf-bg-light); 
}

.sf-entities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.sf-entity-card {
    background: var(--sf-white);
    padding: 40px 30px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}
.sf-entity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(13, 44, 74, 0.06);
}

.sf-entity-card__badge {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sf-mustard);
    opacity: 0.6;
}
.sf-entity-card__title { 
    font-size: 1.3rem; 
    font-weight: 700;
    margin-bottom: 4px; 
    color: var(--sf-blue-text); 
    max-width: 80%;
}

.sf-entity-card__subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--sf-mustard);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.sf-entity-card__list {
    list-style: none;
}
.sf-entity-card__list li {
    font-size: 0.95rem;
    color: var(--sf-text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sf-entity-card__list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--sf-mustard);
    font-size: 0.9rem;
}

/* ==========================================================================
   7. CÓMO AYUDAMOS (PASOS)
   ========================================================================== */
.sf-help { 
    background-color: var(--sf-white); 
}

.sf-help__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.sf-help__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sf-help__list-item {
    background: var(--sf-white);
    padding: 24px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.sf-help__list-item:hover {
    background-color: var(--sf-bg-light);
}

.sf-help__list-item i {
    font-size: 1.2rem;
    color: var(--sf-mustard);
    width: 35px;
    text-align: center;
    flex-shrink: 0;
}

.sf-help__list-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sf-blue-text);
}

/* ==========================================================================
   8. CTA FINAL Y SISTEMA DE REVEALS
   ========================================================================== */
.sf-cta-clean {
    background-color: var(--sf-blue-dark);
    color: var(--sf-white);
    text-align: center;
    padding: 70px 24px;
}
.sf-cta-clean h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--sf-white);
}
.sf-cta-clean p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 0.95rem;
}

/* Manejo de visibilidad con IntersectionObserver */
.sf-reveal { 
    opacity: 0; 
    transform: translateY(20px); 
    transition: all 0.6s ease; 
}
.sf-reveal.sf-visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVO)
   ========================================================================== */
@media (max-width: 868px) {
    .sf-intro__grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .sf-hero { 
        margin: 10px; 
        padding: 80px 16px; 
    }
    .sf-hero__cta { 
        flex-direction: column; 
        gap: 10px; 
    }
    .sf-btn { 
        width: 100%; 
    }
}
/* ==========================================================================
   1. VARIABLES, RESET Y CONFIGURACIÓN GENERAL
   ========================================================================== */
:root {
    --sf-blue-overlay: rgba(13, 44, 74, 0.65); 
    --sf-blue-dark: #0D2C4A;        
    --sf-blue-text: #0D2C4A;
    --sf-text-muted: #556B82;
    --sf-mustard: #C7922E;          
    --sf-mustard-hover: #AE7D22;
    --sf-bg-light: #F4F7FA;
    --sf-white: #FFFFFF;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-sans);
    color: var(--sf-blue-text);
    background-color: #FAFAFA;
    line-height: 1.6;
}

.sf-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.sf-section { 
    padding: 90px 0; 
}

h1, h2, h3 { 
    font-weight: 700; 
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sf-mustard);
}

p { 
    color: var(--sf-text-muted); 
    font-size: 0.98rem; 
}

.sf-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sf-white);
    background-color: var(--sf-mustard);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.sf-section-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--sf-blue-text);
    text-align: left; 
}

/* ==========================================================================
   2. COMPONENTE: BOTONES
   ========================================================================== */
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.sf-btn--primary {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}
.sf-btn--primary:hover {
    background-color: var(--sf-mustard-hover);
}

.sf-btn--white {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
    margin-right: 12px;
}
.sf-btn--white:hover { 
    background-color: var(--sf-mustard-hover); 
}

.sf-btn--outline-white {
    background-color: var(--sf-white);
    color: var(--sf-blue-text);
    border: 1px solid var(--sf-white);
}
.sf-btn--outline-white:hover {
    background-color: transparent;
    color: var(--sf-white);
    border: 1px solid var(--sf-white);
}

/* ==========================================================================
   3. SECCIÓN: HERO (ALINEACIÓN A LA IZQUIERDA PERFECTA)
   ========================================================================== */
.sf-hero {
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--sf-mustard); 
    background: linear-gradient(0deg, var(--sf-blue-overlay), var(--sf-blue-overlay)), 
                url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    padding: 120px 40px;
    color: var(--sf-white);
    text-align: left;
}

.sf-hero__content { 
    max-width: 800px; 
    margin: 0; 
}

.sf-breadcrumb {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.sf-eyebrow {
    display: block;
    font-size: 1.1rem;
    color: var(--sf-mustard);
    margin-bottom: 10px;
    font-weight: 500;
}

.sf-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--sf-white);
    text-align: left;
}
.sf-hero__title span { 
    color: var(--sf-white);
}
.sf-hero__title .sf-highlight {
    color: var(--sf-mustard);
}

.sf-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: 0;
    margin-right: auto;
}

.sf-hero__cta { 
    display: flex; 
    gap: 12px; 
    justify-content: flex-start;
}

/* ==========================================================================
   4. SECCIÓN: INTRODUCCIÓN Y BADGE (SALES TAX COMPLIANCE)
   ========================================================================== */
.sf-intro { 
    background-color: var(--sf-white); 
}
.sf-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    text-align: left;
}

.sf-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}

.sf-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.sf-intro__badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--sf-mustard);
    color: var(--sf-white);
    padding: 10px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(199, 146, 46, 0.3);
    border: 2px dashed rgba(255,255,255,0.4);
    line-height: 1.2;
}
.sf-intro__badge i { 
    font-size: 1rem; 
    margin-bottom: 4px; 
}

/* ==========================================================================
   5. SECCIÓN: WHY MATTERS
   ========================================================================== */
.sf-why { 
    background-color: var(--sf-white); 
    padding-top: 0; 
}
.sf-why .sf-intro__grid { 
    grid-template-columns: 0.9fr 1.1fr; 
}

.sf-why__box {
    border: 2px solid var(--sf-mustard); 
    padding: 40px 30px;
    border-radius: 8px;
    background-color: var(--sf-white);
}

.sf-why__list {
    list-style: none;
    margin-top: 20px;
}
.sf-why__item-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
}
.sf-why__item-line i {
    color: var(--sf-mustard);
    margin-top: 5px;
    font-size: 0.9rem;
}
/* ==========================================================================
   6. SECCIÓN: HOW WE HELP (CARRUSEL ACTIVO + ICONOS AJUSTADOS)
   ========================================================================== */
.sf-covers-section { 
    background-color: var(--sf-bg-light); 
    overflow: hidden;
}

.sf-covers-section .sf-section-title {
    text-align: center !important;
    margin-bottom: 50px !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.sf-covers__grid {
    display: flex;
    flex-direction: row;
    gap: 24px; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory;
    padding: 10px 4px 25px 4px; 
    width: 100%;
}

.sf-covers__grid::-webkit-scrollbar {
    height: 6px;
}
.sf-covers__grid::-webkit-scrollbar-thumb {
    background-color: rgba(199, 146, 46, 0.3);
    border-radius: 4px;
}

.sf-cover {
    background: var(--sf-white);
    padding: 35px 24px;   
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
    box-shadow: 0 4px 12px rgba(13, 44, 74, 0.02);
    
    flex: 0 0 calc(25% - 18px); 
    min-width: 260px;            
    scroll-snap-align: start;
    height: auto;               
}

.sf-cover__icon {
    width: 50px;
    height: 50px;
    background-color: rgba(199, 146, 46, 0.1); 
    border-radius: 6px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    margin-bottom: 20px;
    flex-shrink: 0;
}

.sf-cover__icon i,
.sf-cover__icon img {
    font-size: 1.5rem; 
    color: var(--sf-mustard); 
    display: block;
    line-height: 1;
}

.sf-cover h3 { 
    font-size: 1.2rem; 
    margin-bottom: 10px; 
    color: var(--sf-blue-text); 
    line-height: 1.3;
}

.sf-cover p {
    font-size: 0.9rem; 
    line-height: 1.5;
    color: #2e2c2c;
}

/* ==========================================================================
   7. SECCIÓN: WHO WE WORK WITH
   ========================================================================== */
.sf-schedule { 
    background-color: var(--sf-white); 
}
.sf-schedule__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.sf-schedule__item {
    background: var(--sf-white);
    padding: 30px 24px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}
.sf-schedule__num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sf-mustard);
    margin-bottom: 10px;
}
.sf-schedule__body h3 { 
    font-size: 1.15rem; 
    margin-bottom: 8px; 
}
.sf-schedule__body p { 
    font-size: 0.9rem; 
}

/* ==========================================================================
   8. CTA CLEAN & REVEALS
   ========================================================================== */
.sf-cta-clean {
    background-color: transparent;
    color: var(--sf-blue-text);
    text-align: center;
    padding: 90px 24px;
}
.sf-cta-clean h3 {
    font-size: 2.4rem;
    margin-bottom: 15px;
    color: var(--sf-blue-text);
}
.sf-cta-clean p {
    color: var(--sf-text-muted);
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 0.98rem;
}

.sf-reveal { 
    opacity: 0; 
    transform: translateY(20px); 
    transition: all 0.6s ease; 
}
.sf-reveal.sf-visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVO CON QUIEBRES CONTROLADOS)
   ========================================================================== */
@media (max-width: 1200px) {
    .sf-cover {
        flex: 0 0 calc(50% - 12px); 
    }
}

@media (max-width: 868px) {
    .sf-intro__grid, .sf-why .sf-intro__grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    /* En dispositivos móviles, muestra una tarjeta completa para deslizar cómodamente */
    .sf-cover {
        flex: 0 0 100%; 
    }
    .sf-hero { 
        margin: 10px; 
        padding: 80px 16px; 
    }
    .sf-hero, .sf-hero__title, .sf-hero__cta, .sf-section-title {
        text-align: center; 
    }
    .sf-hero__cta {
        justify-content: center;
    }
}

/* ==========================================================================
   PALETA DE COLORES Y CONFIGURACIÓN GENERAL
   ========================================================================== */
:root {
    --sf-blue-overlay: #1F3F74; 
    --sf-blue-dark: #1F3F74;        
    --sf-blue-text: #1F3F74;
    --sf-text-muted: #ffffff;
    --sf-mustard: #C7922E;          
    --sf-mustard-hover: #AE7D22;
    --sf-bg-light: #F4F7FA;
    --sf-white: #FFFFFF;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-sans);
    color: var(--sf-blue-text);
    background-color: #FAFAFA;
    line-height: 1.6;
}

.sf-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.sf-section { 
    padding: 90px 0; 
}

h1, h2, h3 { 
    font-weight: 700; 
}

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sf-mustard);
}

p { 
    color: var(--sf-text-muted); 
    font-size: 0.98rem; 
}

.sf-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sf-white);
    background-color: var(--sf-mustard);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.sf-section-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--sf-blue-text);
    text-align: left; /* Títulos alineados estrictamente a la izquierda */
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.sf-btn--primary {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}
.sf-btn--primary:hover {
    background-color: var(--sf-mustard-hover);
}

.sf-btn--white {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}
.sf-btn--white:hover { 
    background-color: var(--sf-mustard-hover); 
}

.sf-btn--outline-white {
    background-color: var(--sf-white);     
    color: var(--sf-blue-text);            
    border: 1px solid var(--sf-white);      
}
.sf-btn--outline-white:hover {
    background-color: var(--sf-white);
    color: var(--sf-blue-text);
}

/* ==========================================================================
   1. HERO (ALINEADO A LA IZQUIERDA)
   ========================================================================== */
.sf-hero {
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--sf-mustard); 
    padding: 120px 40px;
    color: var(--sf-white);
    text-align: left; /* Corregido a la izquierda */
}

.sf-hero__content { 
    max-width: 800px; 
    margin: 0; 
}

.sf-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 255);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
}

.sf-eyebrow {
    display: block;
    font-size: 1.1rem;
    color: var(--sf-mustard);
    margin-bottom: 10px;
    font-weight: 500;
}

.sf-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.05;
    margin-bottom: 15px;
    color: var(--sf-white);
    text-align: center;
}

.sf-hero__title span {
    display: block;
    text-align: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 900;
    font-size: 1.05em;
    color: #C28216;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.sf-hero__title br {
    display: none !important;
}

.sf-hero__title .sf-highlight {
    color: var(--sf-mustard);
}

.sf-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin: 0 auto 35px auto;
    max-width: 650px;
    text-align: center;
}
.sf-hero__cta { 
    display: flex; 
    gap: 12px; 
    justify-content: flex-start; 
}

/* ==========================================================================
   2. INTRODUCCIÓN
   ========================================================================== */
.sf-intro { 
    background-color: var(--sf-white); 
}
.sf-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    text-align: left;
}

.sf-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}

.sf-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

/* ==========================================================================
   3. WHY STRUCTURE MATTERS
   ========================================================================== */
.sf-why { 
    background-color: var(--sf-white); 
    padding-top: 0; 
}

.sf-why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.sf-why__item {
    border: 2px solid var(--sf-mustard); 
    padding: 35px 24px;
    border-radius: 8px;
    background-color: var(--sf-white);
    transition: var(--transition);
}
.sf-why__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(13, 44, 74, 0.05);
}

.sf-why__icon {
    width: 45px;
    height: 45px;
    background-color: var(--sf-bg-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sf-mustard);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.sf-why__item strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--sf-blue-text);
}

/* ==========================================================================
   4. (CARRUSEL PRESERVADO + AJUSTADO)
   ========================================================================== */
.sf-entities-section { 
    background-color: var(--sf-bg-light); 
    overflow: hidden;
}

.sf-entities__grid {
    display: flex;
    flex-direction: row;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 25px 4px;
    width: 100%;
}

.sf-entities__grid::-webkit-scrollbar {
    height: 6px;
}
.sf-entities__grid::-webkit-scrollbar-thumb {
    background-color: rgba(199, 146, 46, 0.3);
    border-radius: 4px;
}

.sf-entity-card {
    background: var(--sf-white);
    padding: 40px 30px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
    

    flex: 0 0 calc(33.333% - 16px);
    min-width: 290px;
    scroll-snap-align: start;
    height: auto;
}
.sf-entity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(13, 44, 74, 0.06);
}

.sf-entity-card__badge {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--sf-mustard);
    opacity: 0.6;
}

.sf-entity-card__title { 
    font-size: 1.3rem; 
    font-weight: 700;
    margin-bottom: 4px; 
    color: var(--sf-blue-text); 
    max-width: 80%;
    text-align: left;
}

.sf-entity-card__subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--sf-mustard);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    text-align: left;
}

.sf-entity-card__list {
    list-style: none;
    text-align: left;
}
.sf-entity-card__list li {
    font-size: 0.95rem;
    color: #292828;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sf-entity-card__list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--sf-mustard);
    font-size: 0.9rem;
}

/* ==========================================================================
   5. (ICONOS GEOMÉTRICAMENTE AJUSTADOS)
   ========================================================================== */
.sf-help { 
    background-color: var(--sf-white); 
}

.sf-help__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.sf-help__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sf-help__list-item {
    background: var(--sf-white);
    padding: 24px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}
.sf-help__list-item:hover {
    background-color: var(--sf-bg-light);
}

.sf-help__list-item i {
    font-size: 1.1rem;
    color: var(--sf-mustard);
    width: 40px;
    height: 40px;
    background-color: rgba(199, 146, 46, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sf-help__list-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--sf-blue-text);
    text-align: left;
}

/* ==========================================================================
   6. CTA FINAL
   ========================================================================== */
.sf-cta-clean {
    background-color: var(--sf-blue-dark);
    color: var(--sf-white);
    text-align: center;
    padding: 70px 24px;
}
.sf-cta-clean h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--sf-white);
}
.sf-cta-clean p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 0.95rem;
}

.sf-reveal { 
    opacity: 0; 
    transform: translateY(20px); 
    transition: all 0.6s ease; 
}
.sf-reveal.sf-visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* ==========================================================================
   (RESPONSIVO CONTROLADO)
   ========================================================================== */
@media (max-width: 1024px) {
    .sf-entity-card {
        flex: 0 0 calc(50% - 12px); 
    }
}

@media (max-width: 868px) {
    .sf-intro__grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .sf-entity-card {
        flex: 0 0 100%;
    }
    .sf-hero { 
        margin: 10px; 
        padding: 80px 16px; 
    }
    .sf-hero, .sf-hero__title, .sf-hero__cta, .sf-section-title {
        text-align: center; 
    }
    .sf-hero__cta { 
        flex-direction: column; 
        gap: 10px; 
        justify-content: center;
    }
    .sf-btn { 
        width: 100%; 
    }
}


*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

/* ==========================================================================
   CSS RESPONSIVO FORZADO (PISA CUALQUIER CONFIGURACIÓN PREVIA)
   ========================================================================== */

/* --- 1. AJUSTES GENERALES --- */
body, html {
    overflow-x: hidden !important; /* Evita por completo el desborde horizontal (scroll hacia los lados) */
}

.inner {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* --- 2. SECCIÓN HERO (Pantalla Principal) --- */
.hero {
    padding: 100px 20px !important;
    height: auto !important; 
    min-height: 80vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero__content {
    width: 100% !important;
    max-width: 800px !important;
    text-align: center !important;
}

.hero__title {
    font-size: calc(1.8rem + 1.5vw) !important; 
    line-height: 1.2 !important;
}

.hero__lead {
    font-size: 1.1rem !important;
    width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

.hero__btns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    justify-content: center !important;
    width: 100% !important;
}

.hero__btns .btn {
    width: auto !important;
    min-width: 200px !important;
}

.why-grid, 
.services-grid, 
.stats-grid {
    display: grid !important;
    grid-template-columns: 1fr !important; 
    gap: 25px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* --- 4. SECCIÓN COMUNIDAD Y CTA --- */
.community-card, 
.hm-cta {
    display: flex !important;
    flex-direction: column !important; 
    gap: 30px !important;
    padding: 30px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.comm-avatars {
    justify-content: center !important; 
    flex-wrap: wrap !important;
}

.comm-pill {
    margin: 15px auto 0 auto !important; 
    display: inline-flex !important;
}

@media (min-width: 768px) {
    
    .why-grid {
        grid-template-columns: repeat(3, 1fr) !important; 
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important; 
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .community-card {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
    }
    
    .hm-cta {
        flex-direction: row !important; 
        justify-content: space-between !important;
        align-items: center !important;
        text-align: left !important;
    }
    
    .hm-cta__inner {
        max-width: 60% !important;
    }
}


@media (max-width: 480px) {
    .hero__btns .btn,
    .hm-cta__action .btn,
    .community-card .btn {
        width: 100% !important; 
    }
    
    .section-title {
        font-size: 1.8rem !important; 
    }
}
:root {
    --mustard:       #D4A017;
    --mustard-deep:  #B8860B;
    --mustard-light: #FFF3CC;
    --blue:          #1B3F72;
    --blue-mid:      #1E4D8C;
    --blue-light:    #2E6BB5;
    --white:         #FFFFFF;
    --off-white:     #F8FAFC;
    --text-dark:     #0F172A;
    --text-muted:    #475569;
    --text-sub:      #94A3B8;
    --border:        rgba(15, 23, 42, 0.08);
    --radius:        16px;
    --radius-sm:     8px;
    --font-head:     'Bebas Neue', sans-serif;
    --font-display:  'DM Serif Display', serif;
    --font-body:     'DM Sans', sans-serif;
    --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm:     0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md:     0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --shadow-lg:     0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute; 
    inset: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute; 
    inset: 0;
    background: linear-gradient(160deg, rgba(15,23,42,0.45) 0%, rgba(27,63,114,0.35) 50%, rgba(15,23,42,0.45) 100%);
    z-index: 1;
}

.hero__noise {
    position: absolute; 
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

.hero__accent {
    position: absolute;
    width: 600px; 
    height: 600px;
    background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.hero__content { 
    position: relative; 
    z-index: 2; 
    max-width: 850px; 
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.9);
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.eyebrow i {
    color: var(--blue);
}

.hero__title {
    font-family: var(--font-head);
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero__title em {
    font-style: normal;
    color: #D4A017;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: #D4A017;
    text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.hero__sub {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 255);
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    max-width: 580px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.hero__btns {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    padding: 16px 36px;
    border-radius: 100px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--mustard);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 14px rgba(212,160,23,0.3);
}

.btn-primary:hover {
    background: var(--mustard-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,160,23,0.5);
}

/* MODIFICADO: Botón con fondo blanco y letra azul */
.btn-ghost {
    background: var(--white);
    color: var(--blue);
    border: 2px solid var(--white);
}

.btn-ghost:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* ── MARQUEE ── */
.marquee-wrap {
    background: var(--blue);
    padding: 18px 0;
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-inner {
    display: inline-flex;
    animation: marquee 40s linear infinite;
}

.marquee-inner span {
    font-family: var(--font-head);
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
    padding-right: 4rem;
    text-transform: uppercase;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── SECTION SHELL ── */
.section {
    padding: 7rem 1.5rem;
}

.inner {
    max-width: 1240px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-mid);
    background: rgba(30,77,140,0.08);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    color: var(--text-dark);
    letter-spacing: 0.01em;
    margin-bottom: 1.2rem;
}

.section-title em {
    font-style: normal;
    color: var(--mustard-deep);
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
}

/* ── CARD GRID ── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.mt { margin-top: 2rem; }
.mt-lg { margin-top: 6rem; }

/* ── SERVICE CARD ── */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212,160,23,0.3);
}

.card__img {
    height: 220px;
    position: relative;
    flex-shrink: 0;
    background: #e2e8f0;
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card__img::after {
    content: '';
    position: absolute; 
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(15, 23, 42, 0.4));
}

.card__body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card__icon {
    width: 48px; 
    height: 48px;
    border-radius: 12px;
    background: rgba(212,160,23,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mustard-deep);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.card__title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card__list {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.card__list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card__list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--mustard-deep);
    flex-shrink: 0;
}

.card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--blue);
    color: var(--white);
    border: 2px solid var(--blue);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    margin-top: auto;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(27, 63, 114, 0.15);
}

.card__link:hover { 
    background: var(--mustard);
    border-color: var(--mustard);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(212,160,23,0.3);
}

/* ── PRICING ── */
.pricing-section {
    background: var(--off-white);
    padding: 7rem 1.5rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.plan {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2.2rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.plan:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-lg);
}

.plan--featured {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.plan--featured:hover {
    transform: translateY(-5px) scale(1.03);
}

.plan__badge {
    position: absolute;
    top: 20px; 
    right: 20px;
    background: var(--mustard);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
}

.plan__name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.plan--featured .plan__name { 
    color: var(--white); 
}

.plan__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 2rem;
}

.plan__amount {
    font-family: var(--font-head);
    font-size: 3.8rem;
    color: var(--blue);
    line-height: 1;
}

.plan--featured .plan__amount { 
    color: var(--mustard); 
}

.plan__period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan--featured .plan__period { 
    color: rgba(255,255,255,0.7); 
}

.plan__list {
    list-style: none;
    margin-bottom: 2.5rem;
    flex: 1;
}

.plan__list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan--featured .plan__list li {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.1);
}

.plan__list li i {
    color: var(--mustard-deep);
}

.plan--featured .plan__list li i { 
    color: var(--mustard); 
}

.plan .btn-ghost {
    background: transparent;
    color: var(--blue);
    border-color: rgba(27,63,114,0.2);
}

.plan .btn-ghost:hover {
    background: rgba(27,63,114,0.05);
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

.plan--featured .btn-primary:hover {
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

/* ── CTA SECTION ── */
.cta-section {
    background: var(--blue);
    padding: 6rem 1.5rem; 
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 900px; 
    height: 500px;
    background: radial-gradient(ellipse, rgba(212,160,23,0.2) 0%, transparent 70%);
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-section .inner { 
    position: relative; 
    z-index: 1; 
}

.cta-title {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 3.2rem); 
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.cta-title em {
    font-style: normal;
    color: var(--mustard);
}

.cta-sub {
    font-size: 1rem; 
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    max-width: 460px;
    margin-left: auto; 
    margin-right: auto;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .grid-3, .grid-2, .pricing-grid { grid-template-columns: 1fr; }
    .plan--featured { transform: scale(1); }
    .plan--featured:hover { transform: translateY(-5px) scale(1); }
    .hero__btns { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
    .btn-primary, .btn-ghost { width: 100%; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero__content > * { 
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; 
}

.eyebrow       { animation-delay: 0.1s; }
.hero__title   { animation-delay: 0.2s; }
.hero__sub     { animation-delay: 0.3s; }
.hero__btns    { animation-delay: 0.4s; }
:root {
    --sf-blue-dark: #1F3F74;        
    --sf-blue-text: #1F3F74;
    --sf-text-muted: #ffffff;
    --sf-mustard: #C7922E;         
    --sf-mustard-hover: #AE7D22;
    --sf-bg-light: #F4F7FA;
    --sf-white: #FFFFFF;
    
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}
/* --- Estilos Base y Contenedores --- */
.inner {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* --- El Grid Principal (Móvil primero) --- */
.ab-story__grid {
    display: grid !important;
    grid-template-columns: 1fr !important; /* Una sola columna en móvil */
    gap: 40px !important;
    align-items: center !important;
    width: 100% !important;
}

/* --- Botones Responsivos --- */
.ab-story__btns {
    display: flex !important;
    flex-wrap: wrap !important; /* Se apilan si no caben */
    gap: 15px !important;
    margin-top: 25px !important;
    width: 100% !important;
}

.btn {
    display: inline-block !important;
    padding: 12px 24px !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: bold !important;
    border-radius: 5px !important;
    width: auto !important;
    box-sizing: border-box !important;
}

.ab-stats-mosaic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ab-stat-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-height: 180px;
    padding: 20px;

    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    box-sizing: border-box;
}

.ab-stat-num {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
}

.ab-stat-lbl {
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;

    /* Hace que todos los textos ocupen el mismo espacio */
    min-height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;
}
/* --- 💻 Forzado para Pantallas Grandes (Tablets/PC) --- */
@media (min-width: 768px) {
    .ab-story__grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Se transforma en 2 columnas */
        gap: 60px !important;
    }
    
    .ab-story__btns .btn {
        width: auto !important; /* Los botones recuperan su tamaño normal en PC */
    }
}

/* --- 📱 Forzado para Celulares Pequeños --- */
@media (max-width: 480px) {
    .ab-story__btns .btn {
        width: 100% !important; /* Los botones ocupan todo el ancho en pantallas chicas */
    }
    
    .ab-stats-mosaic {
        gap: 10px !important; /* Reduce el espacio del mosaico en pantallas muy mini */
    }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--sf-blue-text);
    background-color: #FAFAFA;
    line-height: 1.6;
}

.inner,
.sf-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sf-section { padding: 90px 0; }
h1, h2, h3 { font-weight: 700; }

em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--sf-mustard);
}

p { color: #000000; font-size: 0.98rem; }

.sf-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--sf-white);
    background-color: var(--sf-mustard);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    text-transform: capitalize;
}

.sf-section-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--sf-blue-text);

    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
}

@media (max-width: 768px) {
    .sf-section-title {
        margin-left: 0 !important;
        padding-left: 0 !important;
        text-align: left !important;
    }
}

/* BOTONES */
.sf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
}

.sf-btn--primary {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
}
.sf-btn--primary:hover {
    background-color: var(--sf-mustard-hover);
}

.sf-btn--white {
    background-color: var(--sf-mustard);
    color: var(--sf-white);
    margin-right: 12px;
}
.sf-btn--white:hover { background-color: var(--sf-mustard-hover); }

.sf-btn--outline-white {
    background-color: #ffffff;
    color: #0a192f;
    border: 1px solid #ffffff;
}

.sf-btn--outline-white:hover {
    background-color: #f5f5f5;
    color: #0a192f;
    border-color: #f5f5f5;
}
/* 1. HERO */
.sf-hero {
    margin: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--sf-mustard);
    position: relative;
    padding: 120px 24px;
    color: var(--sf-white);
    text-align: center;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.sf-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.sf-hero__bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.sf-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.sf-breadcrumb {
    display: inline-block;
    color: #0a192f;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;

    margin-bottom: 25px;
    padding: 6px 16px;

    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50px;

    transition: var(--transition);

    text-shadow: none;
    box-shadow: none;
}

/* Hover = NARANJA real */
.sf-breadcrumb:hover {
    background-color: #C7922E;
    border-color: #C7922E;
    color: #ffffff;
}

/* Click o selección = mismo estado */
.sf-breadcrumb:active,
.sf-breadcrumb:focus {
    background-color: #C7922E;
    border-color: #C7922E;
    color: #ffffff;
    outline: none;
}
.sf-eyebrow {
    display: block;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
}

.sf-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--sf-white);
    text-align: center;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
}

.sf-hero__title .sf-highlight {
    color: #ffffff;
}

.sf-hero__sub {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.7);
}

.sf-hero__cta {
    display: flex;
    gap: 12px;
    justify-content: center;
}
/* 2. INTRODUCCIÓN */
.sf-intro { background-color: var(--sf-white); }
.sf-intro__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.sf-intro__img-wrap {
    position: relative;
    padding: 12px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}

.sf-intro__img-wrap img {
    border-radius: 6px;
    width: 100%;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.sf-intro__badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--sf-mustard);
    color: var(--sf-white);
    padding: 15px;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(199, 146, 46, 0.3);
    border: 2px dashed rgba(255,255,255,0.4);
}
.sf-intro__badge i { font-size: 1.2rem; margin-bottom: 2px; }

/* 3. WHY CERTIFICATION MATTERS */
.sf-why { background-color: var(--sf-white); padding-top: 0; }
.sf-why .sf-intro__grid { grid-template-columns: 0.9fr 1.1fr; }

.sf-why__box {
    border: 2px solid var(--sf-mustard); 
    padding: 40px 30px;
    border-radius: 8px;
    background-color: var(--sf-white);
}

.sf-why__list { list-style: none; margin-top: 20px; }
.sf-why__item-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 1rem;
}
.sf-why__item-line i {
    color: var(--sf-mustard);
    margin-top: 5px;
    font-size: 0.9rem;
}

/* 4. TEMARIO (4 Columnas verticales alineadas) */
.sf-covers-section { background-color: var(--sf-bg-light); }
.sf-covers__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
}

.sf-cover {
    background: var(--sf-white);
    padding: 30px 20px;
    border: none;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(13, 44, 74, 0.08);
}

.sf-cover__icon {
    width: 55px;
    height: 55px;
    background-color: var(--sf-bg-light);
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sf-mustard);
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 1px solid rgba(199, 146, 46, 0.2);
}

.sf-cover__body h3 { 
    font-size: 1.1rem; 
    margin-bottom: 10px; 
    color: var(--sf-blue-text); 
    line-height: 1.3;
}
.sf-cover__body p {
    font-size: 0.88rem; 
    line-height: 1.5;
}

/* 5. COMODIDAD */
.sf-schedule { background-color: var(--sf-white); }
.sf-schedule__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.sf-schedule__item {
    background: var(--sf-white);
    padding: 30px 24px;
    border: 2px solid var(--sf-mustard); 
    border-radius: 8px;
}
.sf-schedule__num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--sf-mustard);
    margin-bottom: 10px;
}
.sf-schedule__body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.sf-schedule__body p { font-size: 0.9rem; }

/* 6. CTA FINAL */
.sf-cta-clean {
    background-color: var(--sf-blue-dark);
    color: var(--sf-white);
    text-align: center;
    padding: 70px 24px;

    width: 100vw;
    max-width: 100vw;
    margin: 0 calc(50% - 50vw);
}
.sf-cta-clean h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--sf-white);
}
.sf-cta-clean p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 30px auto;
    font-size: 0.95rem;
}

/* RESPONSIVE CONTROLADO */
@media (max-width: 1024px) {
    .sf-covers__grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .sf-intro__grid, .sf-why .sf-intro__grid { grid-template-columns: 1fr; gap: 40px; }
    .sf-covers__grid { grid-template-columns: 1fr; } 
    .sf-hero { margin: 10px; padding: 80px 16px; }
}


html, body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-x: clip !important; 
}

body {
    padding-top: 0px !important;
}

@media (max-width: 992px) {
    body {
        padding-top: 68px !important;  
    }
}


.hero__btns {
    display: flex !important;
    flex-direction: column !important; 
    width: 100% !important;
    max-width: 100% !important;
    gap: 1rem !important;
    padding: 0 1rem !important; 
    box-sizing: border-box !important;
}

.hero__btns .btn, 
.hero__btns .btn-orange, 
.hero__btns .btn-outline {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

/* ── HERO BUTTONS FORZADOS ── */
.hero__btns {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 16px !important;
    flex-wrap: nowrap !important;
}

.hero__btns .btn,
.hero__btns a {
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 768px) {
    .hero__btns {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .hero__btns .btn,
    .hero__btns a {
        width: 100% !important;
        max-width: 320px !important;
    }
}
.inner, .stats-grid, .why-grid {
    width: 100% !important;
    max-width: 1200px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
}

@media (max-width: 480px) {
    .stats-grid, .ab-stats-mosaic {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    .stat-num, .ab-stat-num {
        font-size: 2.2rem !important;
    }
}
/* ── HEADER ── */
:root {
    --header-bg:      #FFFFFF;
    --blue-navy:      #1F3F74;
    --mustard-gold:   #C49A3C;
    --text-dark:      #0F2547;
    --border-light:   rgba(4, 20, 40, 0.06);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.menu-open {
    overflow: hidden !important;
}

.main-header {
    background-color: var(--header-bg);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 4px 30px rgba(4, 20, 40, 0.03);
    font-family: 'Inter', sans-serif;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    transition: var(--transition-smooth);
}

.header-logo-link {
    display: flex;
    align-items: center;
    z-index: 1100;
}

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.header-logo-link:hover .logo-img {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--blue-navy);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--mustard-gold);
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--mustard-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    background-color: var(--blue-navy);
    color: #ffffff !important;
    border-radius: 6px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(31, 63, 116, 0.15);
}

.btn-header:hover {
    background-color: var(--mustard-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 154, 60, 0.25);
}

.mobile-only-btn {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    transition: var(--transition-smooth);
}

.menu-toggle .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--blue-navy);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.menu-toggle.active .bar:nth-child(1),
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
    background-color: var(--mustard-gold) !important;
}
.menu-toggle.active .bar:nth-child(2),
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0 !important;
    transform: translateX(-10px) !important;
}
.menu-toggle.active .bar:nth-child(3),
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
    background-color: var(--mustard-gold) !important;
}

@media (max-width: 992px) {
    .header-container { padding: 0 1.5rem !important; }
    .navbar { height: 75px !important; }
    .logo-img { height: 52px !important; }

    .header-right { display: none !important; }
    .menu-toggle { display: flex !important; }

    .mobile-only-btn {
        display: block !important;
        width: 100% !important;
        max-width: 280px;
        margin-top: 1.5rem !important;
    }

    .nav-menu {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 100% !important;
        height: 100vh !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(10px);
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.8rem !important;
        padding: 2rem !important;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 1050 !important;
        opacity: 0;
        visibility: hidden;
        box-shadow: -10px 0 40px rgba(4, 20, 40, 0.08) !important;
    }

    .nav-menu.active {
        right: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav-link {
        font-size: 1.35rem !important;
        font-weight: 600 !important;
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        color: var(--text-dark) !important;
        padding: 0.5rem 0 !important;
        transform: translateY(20px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-menu.active .nav-link {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu.active li:nth-child(1) .nav-link { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) .nav-link { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) .nav-link { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) .nav-link { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) .nav-link { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) .mobile-started-link { transition-delay: 0.35s; }

    .nav-link::after { display: none; }
    .nav-link:hover, .nav-link.active { color: var(--mustard-gold) !important; }

    .mobile-started-link {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        padding: 0.9rem 1.5rem !important;
        background-color: var(--blue-navy) !important;
        color: #ffffff !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        border-radius: 6px !important;
        font-size: 1.1rem !important;
        transition: var(--transition-smooth) !important;
        box-shadow: 0 4px 15px rgba(31, 63, 116, 0.2);
    }

    .mobile-started-link:hover {
        background-color: var(--mustard-gold) !important;
    }
}

/* ── BODY PADDING FOR FIXED HEADER ── */
html, body {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow-x: clip !important;
}

body {
    padding-top: 90px !important;
}

@media (max-width: 992px) {
    body {
        padding-top: 75px !important;
    }
}