/* ==========================================================================
   HASU DESIGN SYSTEM & STYLES (2026 OFFICIAL MANUAL)
   ========================================================================== */

/* DIN 2014 Local Fonts */
@font-face {
    font-family: 'DIN 2014';
    src: url('./Fuentes Hasu/Din 2014 Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN 2014';
    src: url('./Fuentes Hasu/Din 2014 Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN 2014';
    src: url('./Fuentes Hasu/Din 2014 Extra Light.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN 2014';
    src: url('./Fuentes Hasu/Din 2014 Demi.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN 2014';
    src: url('./Fuentes Hasu/Din 2014 Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


:root {
    /* Brand Colors - Primaries */
    --color-cyan: #15E4D8;
    --color-blue-light: #138EDA;
    --color-blue-deep: #1D1376;
    --color-white: #FFFFFF;

    /* Brand Colors - Secondaries */
    --color-orange: #FFAB00;
    --color-orange-red: #FF3616;
    --color-magenta: #D928F1;
    --color-green: #00A53D;
    --color-blue-gray: #3F6E80;

    /* Semantic Mappings (Strict Color Palette) */
    --text-primary: var(--color-blue-deep);
    --text-body: rgba(29, 19, 118, 0.85); /* Deep blue with opacity for delicate contrast */
    --text-muted: var(--color-blue-gray);
    --bg-main: var(--color-white);
    --bg-light: rgba(19, 142, 218, 0.04); /* Light gradient/tint from light blue */
    --border-delicate: rgba(29, 19, 118, 0.08);
    --border-hover: rgba(19, 142, 218, 0.3);

    /* Fonts (Strict exploration typográfica: DIN 2014 as first option) */
    --font-heading: 'DIN 2014', 'Barlow', 'Inter', sans-serif;
    --font-body: 'DIN 2014', 'Inter', sans-serif;

    /* Typography scale - Premium ratio */
    --fs-h1: clamp(2.5rem, 5vw, 4.25rem);
    --fs-h2: clamp(1.85rem, 3.5vw, 2.75rem);
    --fs-h3: clamp(1.4rem, 2.5vw, 1.85rem);
    --fs-body: 1.05rem;
    --fs-small: 0.9rem;
    
    /* Layout Spacing */
    --section-padding-y: clamp(5rem, 8vw, 8.5rem);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.7;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Fix for pixelated/aliased images when downscaling high-res photos or using transforms */
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Headings */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600; /* DIN 2014 Demi/Bold */
    letter-spacing: -0.02em;
    line-height: 1.15;
}

h1 {
    font-weight: 700; /* DIN 2014 Bold */
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-white);
}
::-webkit-scrollbar-thumb {
    background: rgba(29, 19, 118, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-blue-light);
}

/* ==========================================================================
   LAYOUT & CONTAINERS
   ========================================================================== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.section {
    padding: var(--section-padding-y) 0;
    position: relative;
}

.center {
    text-align: center;
}

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

/* Section Header styling */
.section-header {
    max-width: 800px;
    margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.section-header.center {
    margin-inline: auto;
}

.eyebrow-accent {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-blue-light);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: var(--fs-h2);
    margin-bottom: 1.25rem;
}

.section-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ==========================================================================
   BUTTONS (COMPONENTS)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.85rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--color-cyan);
    color: var(--color-blue-deep);
    box-shadow: 0 4px 15px rgba(21, 228, 216, 0.15);
}

.btn-primary:hover {
    background-color: var(--color-blue-light);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 142, 218, 0.25);
}

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

.btn-outline:hover {
    background-color: var(--color-blue-deep);
    color: var(--color-white);
    transform: translateY(-2px);
}

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

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-delicate);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88px;
    transition: var(--transition-smooth);
}

/* Scrolled Header State */
.header.header-scrolled {
    box-shadow: 0 10px 30px rgba(29, 19, 118, 0.04);
}

.header.header-scrolled .header-container {
    height: 72px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition-smooth);
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

.logo-img-footer {
    height: 34px;
}

/* Nav Menu */
.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 2px;
    background-color: var(--color-cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--color-blue-light);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-blue-deep);
    transition: var(--transition-smooth);
}

/* Transform to X when active */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Header */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0; right: 0;
        bottom: 0; width: 320px;
        background: var(--color-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 8rem 2.5rem 3rem;
        gap: 3rem;
        box-shadow: -10px 0 40px rgba(29, 19, 118, 0.06);
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 1.75rem;
    }

    .nav-link {
        font-size: 1.15rem;
    }

    .nav-cta {
        width: 100%;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 5.5rem;
}

.hero-orbit-bg {
    position: absolute;
    top: 5%;
    right: -10%;
    width: 60%;
    height: 90%;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: var(--fs-h1);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-blue-deep);
}

.hero-subtitle {
    font-size: 1.45rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 650px;
    margin: 0 auto 2.75rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 0 3.5rem;
    }
    .hero-orbit-bg {
        width: 100%;
        top: 20%;
        right: 0;
        opacity: 0.5;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   ECOSISTEMA HASU GROUP
   ========================================================================== */
.ecosystem {
    background: linear-gradient(135deg, var(--color-white) 0%, rgba(21, 228, 216, 0.06) 100%);
    padding: 6rem 0;
}

.ecosystem .section-title {
    color: var(--color-blue-deep);
}

.ecosystem .section-text {
    color: var(--text-muted);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.eco-card {
    background: var(--color-blue-deep);
    padding: 3rem 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(29, 19, 118, 0.15);
}

.eco-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-cyan);
    box-shadow: 0 20px 45px rgba(21, 228, 216, 0.25);
}

.eco-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
}

.eco-base::before { background-color: var(--color-cyan); }
.eco-acelerador::before { background-color: var(--color-orange); }
.eco-red::before { background-color: var(--color-magenta); }

.eco-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.08);
}

.eco-base .eco-icon-wrapper { color: var(--color-cyan); }
.eco-acelerador .eco-icon-wrapper { color: var(--color-orange); }
.eco-red .eco-icon-wrapper { color: var(--color-magenta); }

.eco-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.eco-unit {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.eco-title {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.eco-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-size: 1.05rem;
}

@media (max-width: 992px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 4rem auto 0;
    }
}

/* ==========================================================================
   HUB DE SERVICIOS
   ========================================================================== */
.hub {
    background-color: var(--color-white);
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.hub-card {
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-delicate);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background-color: var(--color-cyan);
}

.hub-card:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 10px 30px rgba(21, 228, 216, 0.1);
}

.hub-icon {
    width: 48px;
    height: 48px;
    color: var(--color-cyan);
    margin-bottom: 1.5rem;
}

.hub-icon svg {
    width: 100%;
    height: 100%;
}

.hub-title {
    font-size: 1.3rem;
    color: var(--color-blue-deep);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hub-desc {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hub-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
}

.hub-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-cyan);
    font-weight: bold;
}

/* ==========================================================================
   QUIÉNES SOMOS (ABOUT)
   ========================================================================== */
.section.about {
    padding: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.7fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    max-width: 800px;
}

.about-content .section-title {
    font-weight: 600;
}

.about-content .section-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-video-wrapper {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-video-wrapper {
        max-height: 320px;
    }
}


/* ==========================================================================
   PROGRAMS (HASU 360)
   ========================================================================== */
.section.programs {
    background: linear-gradient(180deg, rgba(21, 228, 216, 0.05) 0%, var(--color-white) 100%);
    padding: 6rem 0;
}

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

.program-card {
    background: var(--color-white);
    border: 1px solid var(--border-delicate);
    border-radius: 12px;
    padding: clamp(2rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(29, 19, 118, 0.04);
}

.program-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
}

.card-incubadora::after {
    background-color: var(--color-orange);
}

.card-aceleradora::after {
    background-color: var(--color-magenta);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(29, 19, 118, 0.12);
    border-color: var(--border-hover);
}

.card-header {
    margin-bottom: 2rem;
}

.tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.tag-orange {
    background-color: rgba(255, 171, 0, 0.08);
    color: var(--color-orange);
}

.tag-magenta {
    background-color: rgba(217, 40, 241, 0.08);
    color: var(--color-magenta);
}

.card-title {
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1.3;
}

.card-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.list-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-blue-deep);
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.benefit-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.95rem;
}

.benefit-list li strong {
    color: var(--color-blue-deep);
    font-weight: 600;
}

.benefit-list li span {
    color: var(--text-muted);
}

.program-duration {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-blue-gray);
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-delicate);
}

.duration-icon {
    stroke: var(--color-blue-light);
}

@media (max-width: 992px) {
    .program-cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   6 PILARES
   ========================================================================== */
.pillars {
    background: linear-gradient(135deg, rgba(29, 19, 118, 0.03) 0%, rgba(21, 228, 216, 0.08) 100%);
    padding: 6rem 0;
}

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

.pillar-card {
    background: var(--color-blue-deep);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2.25rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(29, 19, 118, 0.15);
    color: var(--color-white);
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-cyan);
    box-shadow: 0 15px 35px rgba(21, 228, 216, 0.25);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.pillar-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-cyan);
    line-height: 1;
}

.pillar-title {
    color: var(--color-white) !important;
}

.pillar-desc {
    color: rgba(255, 255, 255, 0.8) !important;
}

.pillar-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.pillar-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

@media (max-width: 600px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   METODOLOGÍA TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-delicate);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 6.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0.75rem;
    top: 0.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--color-blue-deep);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 0 0 8px var(--bg-main);
    z-index: 2;
}

.timeline-panel {
    background: var(--color-white);
    border: 1px solid var(--border-delicate);
    padding: 2rem;
    border-radius: 6px;
    box-shadow: var(--shadow-subtle);
}

.timeline-title {
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
}

.timeline-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.deliverables-box {
    background: var(--bg-light);
    border-left: 3px solid var(--color-cyan);
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 0 4px 4px 0;
    color: var(--text-primary);
}

.deliverables-box strong {
    color: var(--color-blue-deep);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 1.5rem;
    }
    .timeline-item {
        padding-left: 4.5rem;
    }
    .timeline-marker {
        width: 3rem;
        height: 3rem;
        left: 0;
        font-size: 1.1rem;
    }
    .timeline-panel {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   STANDARDS BAR (CONFIANZA)
   ========================================================================== */
.standards-bar {
    background: var(--color-blue-deep);
    color: var(--color-white);
    padding: 4.5rem 0;
    text-align: center;
}

.standards-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--color-cyan);
    display: block;
    margin-bottom: 2.25rem;
}

.standards-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.standard-badge {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.standard-sub {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-blue-light);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 992px) {
    .standards-flex {
        gap: 2.5rem;
    }
    .standard-badge {
        font-size: 1.35rem;
    }
}

/* ==========================================================================
   RESULTS
   ========================================================================== */
.section.results {
    background: linear-gradient(180deg, var(--color-white) 0%, rgba(21, 228, 216, 0.04) 100%);
    padding: 6rem 0;
}

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

.result-card {
    background: var(--color-white);
    border: 1px solid var(--border-delicate);
    border-radius: 10px;
    padding: 2.5rem;
    text-align: left;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(29, 19, 118, 0.02);
}

.result-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-cyan);
    box-shadow: 0 15px 35px rgba(21, 228, 216, 0.15);
}

.result-icon-wrapper {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(21, 228, 216, 0.1);
    color: var(--color-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.check-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.result-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

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

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

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--bg-light) 100%);
    padding: 7rem 0;
}

.cta-orbit-bg {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 300px;
    z-index: 1;
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: var(--fs-h2);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-inline: auto;
}

.cta-subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--color-blue-deep);
    color: rgba(255, 255, 255, 0.8);
    padding: 5.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-col-title {
    color: var(--color-cyan);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--color-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    font-family: var(--font-heading);
}

.admin-login-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    transition: color 0.25s, border-color 0.25s, background 0.25s;
    letter-spacing: 0.3px;
}

.admin-login-link:hover {
    color: var(--color-cyan);
    border-color: rgba(21, 228, 216, 0.3);
    background: rgba(21, 228, 216, 0.05);
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }
    }
}

/* ==========================================================================
   TOP CAROUSEL SECTION
   ========================================================================== */
.top-carousel-section {
    margin-top: 88px;
    position: relative;
    width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 720px;
    overflow: hidden;
    background-color: var(--color-blue-deep);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Clases de alineación específicas para encuadres de fotos */
.pos-center {
    object-position: center;
}

.pos-top-10 {
    object-position: center 10%;
}

.pos-top-20 {
    object-position: center 20%;
}

.pos-top-30 {
    object-position: center 30%;
}

.pos-top-35 {
    object-position: center 35%;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(29, 19, 118, 0.15) 0%, rgba(29, 19, 118, 0.65) 100%);
    z-index: 2;
}

.carousel-caption {
    position: absolute;
    bottom: 3.5rem;
    left: 3.5rem;
    right: 3.5rem;
    z-index: 3;
    color: var(--color-white);
    max-width: 800px;
}

.carousel-badge {
    display: inline-block;
    background-color: var(--color-cyan);
    color: var(--color-blue-deep);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.carousel-slide-title {
    font-size: 2.25rem;
    color: var(--color-white);
    font-weight: 600;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(29, 19, 118, 0.3);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(29, 19, 118, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.carousel-control:hover {
    background: var(--color-cyan);
    color: var(--color-blue-deep);
    border-color: var(--color-cyan);
    transform: translateY(-50%) scale(1.08);
}

.carousel-control svg {
    width: 22px;
    height: 22px;
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition-smooth);
}

.carousel-dot.active {
    background: var(--color-cyan);
    width: 24px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .carousel-container {
        height: 550px;
    }
    .carousel-caption {
        bottom: 2.5rem;
        left: 2.5rem;
        right: 2.5rem;
    }
    .carousel-slide-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .top-carousel-section {
        margin-top: 88px;
    }
    .carousel-container {
        height: 420px;
    }
    .carousel-caption {
        bottom: 2rem;
        left: 1.5rem;
        right: 1.5rem;
    }
    .carousel-slide-title {
        font-size: 1.35rem;
    }
    .carousel-control {
        width: 38px;
        height: 38px;
    }
    .carousel-control svg {
        width: 18px;
        height: 18px;
    }
    .carousel-control.prev {
        left: 1rem;
    }
    .carousel-control.next {
        right: 1rem;
    }
}

/* ==========================================================================
   PILLARS INTRO SPLIT (texto + foto integrados)
   ========================================================================== */
.pillars-intro-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-delicate);
}

.pillars-intro-text {
    display: flex;
    flex-direction: column;
}

.pillars-stat-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-delicate);
}

.pillars-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pillars-stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-blue-deep);
    line-height: 1;
}

.pillars-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pillars-intro-photo {
    position: relative;
}

.pillars-photo-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 20px 50px rgba(29, 19, 118, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.pillars-intro-photo:hover .pillars-photo-img {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(29, 19, 118, 0.22);
}

.pillars-photo-tag {
    position: absolute;
    bottom: -1rem;
    left: 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--border-delicate);
    border-left: 3px solid var(--color-cyan);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-blue-deep);
    border-radius: 0 4px 4px 0;
    box-shadow: var(--shadow-subtle);
}

@media (max-width: 992px) {
    .pillars-intro-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .pillars-photo-img {
        aspect-ratio: 16/9;
    }
}

/* ==========================================================================
   METHODOLOGY INTRO SPLIT (foto + texto integrados)
   ========================================================================== */
.methodology-intro-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-delicate);
}

.methodology-intro-photo {
    position: relative;
}

.methodology-photo-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 20px 50px rgba(29, 19, 118, 0.15);
    transition: transform 0.5s ease;
}

.methodology-intro-photo:hover .methodology-photo-img {
    transform: translateY(-4px);
}

.methodology-photo-tag {
    position: absolute;
    bottom: -1rem;
    right: 1.5rem;
    background: var(--color-blue-deep);
    color: var(--color-cyan);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(29, 19, 118, 0.3);
}

.methodology-intro-text {
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .methodology-intro-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .methodology-photo-img {
        aspect-ratio: 16/9;
    }
}

/* ==========================================================================
   RESULTS INTRO SPLIT (texto + doble foto integrados)
   ========================================================================== */
.results-intro-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-delicate);
}

.results-intro-text {
    display: flex;
    flex-direction: column;
}

.results-tagline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    background: rgba(19, 142, 218, 0.06);
    border-left: 3px solid var(--color-blue-light);
    border-radius: 0 6px 6px 0;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-blue-deep);
}

.results-tagline-icon {
    color: var(--color-cyan);
    font-size: 1.25rem;
}

.results-intro-photo {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 0.75rem;
}

.results-photo-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 20px 50px rgba(29, 19, 118, 0.15);
    transition: transform 0.5s ease;
}

.results-intro-photo:hover .results-photo-img {
    transform: translateY(-3px);
}

.results-photo-caption {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-left: 3px solid var(--color-cyan);
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-blue-deep);
    border-radius: 0 4px 4px 0;
}

/* ==========================================================================
   ABOUT VIDEO STYLES
   ========================================================================== */
.about-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(29, 19, 118, 0.12);
    border: 1px solid var(--border-delicate);
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 992px) {
    .results-intro-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .results-photo-img {
        aspect-ratio: 16/9;
    }
}

/* ==========================================================================
   CALENDAR SECTION
   ========================================================================== */
.calendar-section {
    background: var(--bg-main);
    padding: 5rem 0;
}

.cal-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

/* ── Calendar card ───────────────────────────────────────────── */
.cal-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border-delicate);
    box-shadow: 0 12px 32px rgba(29,19,118,0.07);
    padding: 1.5rem;
    user-select: none;
}

.cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.cal-month-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-blue-deep);
    letter-spacing: -0.01em;
}

.cal-nav-btn {
    background: none;
    border: 1px solid var(--border-delicate);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-blue-deep);
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cal-nav-btn:hover {
    background: var(--color-blue-deep);
    color: #fff;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-blue-gray);
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    background: none;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0;
    font-family: var(--font-body);
    font-size: 0.88rem;
    cursor: pointer;
    color: var(--color-blue-deep);
    text-align: center;
    transition: background 0.15s, color 0.15s, transform 0.1s;
}
.cal-day:hover:not(:disabled) {
    background: rgba(21,228,216,0.15);
    transform: scale(1.08);
}
.cal-day.cal-past {
    color: #c8cdd4;
    cursor: default;
}
.cal-day.cal-blank {
    pointer-events: none;
}
.cal-day.cal-selected {
    background: var(--color-blue-deep);
    color: #fff;
    font-weight: 700;
}

/* ── Form column ─────────────────────────────────────────────── */
.cal-form-col {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    justify-content: center;
}

.cal-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.cal-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--color-blue-gray);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cal-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-delicate);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-blue-deep);
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.cal-input:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 3px rgba(21,228,216,0.18);
}

.cal-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233F6E80' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.cal-hint {
    font-size: 0.78rem;
    color: var(--color-blue-gray);
    margin: 0;
    font-style: italic;
}

.cal-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

@media (max-width: 720px) {
    .cal-container {
        grid-template-columns: 1fr;
    }
}
