/* ============================================================
   FESTIVAL DIA DE MUERTOS 2026 - PROPUESTA 2
   Pitch Deck Website — Complete Stylesheet
   Color Palette: Light & Warm — Cream / Gold / Brown / Red
   ============================================================ */

/* -----------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ----------------------------------------------- */
:root {
    /* Core palette */
    --dark: #2d1b0e;
    --red: #c0392b;
    --red-light: #e74c3c;
    --gold: #f4a300;
    --gold-light: #fbe5a0;
    --purple: #7b2d8e;
    --cream: #ffffff;
    --cream-dark: #faf8f3;
    --turquoise: #00b894;
    --white: #ffffff;
    --text: #333333;
    --text-light: #f5f0e8;

    /* Gray scale */
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 4px 16px rgba(0, 0, 0, 0.08), 0 12px 40px rgba(0, 0, 0, 0.1);

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;
    --transition-slow: 0.5s ease;
}

/* -----------------------------------------------
   2. SPA STYLES
   ----------------------------------------------- */
html {
    scroll-behavior: smooth;
}

#spa-app {
    min-height: 100vh;
}

.spa-section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.spa-hidden {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    position: absolute;
    width: 100%;
}

.spa-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

/* -----------------------------------------------
   3. GLOBAL RESET & BASE STYLES
   ----------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    background-color: var(--cream);
    color: #444;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

strong {
    font-weight: 700;
}

::selection {
    background-color: var(--red);
    color: var(--white);
}

/* -----------------------------------------------
   4. CONTAINER UTILITIES
   ----------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* -----------------------------------------------
   5. GOLD TOP BORDER
   ----------------------------------------------- */
.gold-top-border {
    position: relative;
}

.gold-top-border::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold), var(--red-light), var(--gold-light), var(--red));
    z-index: 10000;
}

/* -----------------------------------------------
   6. SECTION STYLES
   ----------------------------------------------- */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header .section-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: -1rem;
    user-select: none;
    position: relative;
    z-index: 0;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.section-header .section-line {
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    margin: 0 auto 1.25rem;
    border-radius: var(--radius-full);
}

.section-header .section-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--gray-500);
    font-weight: 400;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Section header on dark backgrounds (hero & footer only) */
.section-header.light .section-number {
    color: rgba(255, 255, 255, 0.06);
}

.section-header.light h2 {
    color: var(--text-light);
}

.section-header.light .section-line {
    background: linear-gradient(90deg, var(--gold), var(--red-light));
}

.section-header.light .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* -----------------------------------------------
   7. SCROLL REVEAL ANIMATION
   ----------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal:nth-child(5) {
    transition-delay: 0.4s;
}

.reveal:nth-child(6) {
    transition-delay: 0.5s;
}

/* -----------------------------------------------
   8. HERO SECTION
   ----------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        170deg,
        var(--dark) 0%,
        #2a1810 30%,
        #1a0f0a 60%,
        #0d0705 100%
    );
    overflow: hidden;
    padding: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(192, 57, 43, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(123, 45, 142, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(244, 163, 0, 0.08) 0%, transparent 40%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    width: 100%;
}

.hero-pre-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-title .title-line {
    display: block;
}

.hero-title .title-line.accent {
    color: var(--red-light);
    text-shadow: 0 0 40px rgba(192, 57, 43, 0.3);
}

.hero-title .title-line.accent-secondary {
    color: var(--gold);
    text-shadow: 0 0 40px rgba(244, 163, 0, 0.3);
}

.hero-title .title-line.year {
    font-size: 3rem;
    color: var(--gold-light);
    opacity: 0.7;
    margin-top: 0.5rem;
}

.hero-location {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-dates {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
}

.hero-impacto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(244, 163, 0, 0.3);
    transform: translateY(-2px);
}

.hero-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.4);
}

.hero-fases {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.fase-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
}

.fase-tag.fase-muertos {
    background: rgba(192, 57, 43, 0.15);
    border-color: rgba(192, 57, 43, 0.4);
    color: var(--red-light);
}

.fase-tag.fase-revolucion {
    background: rgba(123, 45, 142, 0.15);
    border-color: rgba(123, 45, 142, 0.4);
    color: #a855c7;
}

.hero-slogan {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-bottom: 2rem;
}

.hero-cta button {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--red), var(--red-light));
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.35);
    position: relative;
    overflow: hidden;
}

.hero-cta button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    opacity: 0;
    transition: opacity var(--transition);
}

.hero-cta button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(192, 57, 43, 0.5);
}

.hero-cta button:hover::before {
    opacity: 1;
}

.hero-cta button span {
    position: relative;
    z-index: 1;
}

.hero-cta button:active {
    transform: translateY(-1px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
}

.scroll-arrow {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(8px);
    }
    60% {
        transform: rotate(45deg) translateY(4px);
    }
}

/* -----------------------------------------------
   9. VIDEO SHOWCASE
   ----------------------------------------------- */
.video-showcase {
    background-color: var(--white);
    padding: 5rem 0;
}

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

.video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-card);
    transition: all var(--transition);
    position: relative;
}

.video-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.video-card video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.video-card .video-caption {
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-600);
    text-align: center;
}

/* -----------------------------------------------
   10. MAIN NAVIGATION
   ----------------------------------------------- */
.main-nav {
    position: fixed;
    top: 4px;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(45, 27, 14, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    padding: 0;
}

.main-nav.visible {
    transform: translateY(0);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.nav-logo span {
    color: var(--red-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-links a.active {
    color: var(--gold);
    background: rgba(244, 163, 0, 0.1);
}

/* -----------------------------------------------
   11. PROPUESTA SECTION
   ----------------------------------------------- */
.propuesta {
    background-color: var(--cream);
    padding: 5rem 0;
}

.propuesta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.propuesta-text {
    padding-right: 1rem;
}

.propuesta-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.propuesta-text p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.fases-propuesta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.fase-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gray-300);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.fase-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.fase-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.fase-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0;
    line-height: 1.6;
}

.fase-card-muertos {
    border-left-color: var(--red);
}

.fase-card-muertos h4 {
    color: var(--red);
}

.fase-card-rev {
    border-left-color: var(--purple);
}

.fase-card-rev h4 {
    color: var(--purple);
}

.propuesta-highlights {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.highlight {
    flex: 1;
    min-width: 120px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.highlight:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.highlight-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.highlight-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.propuesta-visual {
    position: sticky;
    top: 100px;
}

.pilares-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-200);
}

.pilares-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pilares-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pilares-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--cream);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
    transition: all var(--transition);
}

.pilares-list li:hover {
    background: var(--cream-dark);
    transform: translateX(4px);
}

.pilares-list li::before {
    content: '\25C6';
    color: var(--gold);
    font-size: 0.6rem;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

/* -----------------------------------------------
   12. EXPERIENCIAS SECTION
   ----------------------------------------------- */
.experiencias {
    background-color: #fafafa;
    padding: 5rem 0;
    color: var(--text);
}

.exp-group {
    margin-bottom: 3.5rem;
}

.exp-group-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.exp-group-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Permanent experience grid: 2 columns */
.exp-grid-permanent {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Thematic experience grid: 3 columns */
.exp-grid-thematic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Experience cards */
.exp-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.exp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--gold));
    opacity: 0;
    transition: opacity var(--transition);
}

.exp-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-6px);
    border-color: var(--gray-300);
}

.exp-card:hover::before {
    opacity: 1;
}

.exp-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.exp-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

.exp-card-large {
    padding: 2.25rem;
}

.exp-card-large h3 {
    font-size: 1.4rem;
}

.exp-card-large p {
    font-size: 0.95rem;
}

/* Duration badges */
.exp-duration-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-300);
    color: var(--gray-500);
}

.exp-duration-badge.badge-24 {
    background: rgba(192, 57, 43, 0.08);
    border-color: rgba(192, 57, 43, 0.25);
    color: var(--red);
}

.exp-duration-badge.badge-3 {
    background: rgba(244, 163, 0, 0.08);
    border-color: rgba(244, 163, 0, 0.25);
    color: #c58800;
}

.exp-duration-badge.badge-1 {
    background: rgba(0, 184, 148, 0.08);
    border-color: rgba(0, 184, 148, 0.25);
    color: var(--turquoise);
}

.exp-duration-badge.badge-fds {
    background: rgba(123, 45, 142, 0.08);
    border-color: rgba(123, 45, 142, 0.25);
    color: var(--purple);
}

/* Experience card detail badges */
.exp-card-detail {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
}

.exp-card-detail.comercio {
    background: rgba(0, 184, 148, 0.1);
    color: var(--turquoise);
}

.exp-card-detail.altares {
    background: rgba(244, 163, 0, 0.1);
    color: #c58800;
}

.exp-card-detail.coco {
    background: rgba(192, 57, 43, 0.1);
    color: var(--red);
}

.exp-card-detail.folklore {
    background: rgba(123, 45, 142, 0.1);
    color: var(--purple);
}

.exp-card-detail.artista {
    background: rgba(244, 163, 0, 0.1);
    color: #c58800;
}

.exp-card-detail.revolucion {
    background: rgba(123, 45, 142, 0.12);
    color: var(--purple);
}

.exp-card-detail.terror {
    background: rgba(192, 57, 43, 0.12);
    color: var(--red);
}

.exp-card-detail.teatro {
    background: rgba(0, 184, 148, 0.12);
    color: var(--turquoise);
}

.exp-card-detail.desfile {
    background: rgba(244, 163, 0, 0.12);
    color: #c58800;
}

/* -----------------------------------------------
   13. CRONOGRAMA SECTION
   ----------------------------------------------- */
.cronograma {
    background-color: var(--white);
    padding: 5rem 0;
}

/* Calendar strip */
.calendario-strip {
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.calendario-days {
    display: grid;
    grid-template-columns: repeat(22, 1fr);
    gap: 4px;
}

.cal-day {
    text-align: center;
    padding: 0.6rem 0.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--white);
    color: var(--gray-500);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    cursor: default;
}

.cal-day:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.cal-day .cal-num {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.cal-day .cal-label {
    display: block;
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.cal-day.cal-muertos {
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.06), rgba(192, 57, 43, 0.12));
    border-color: rgba(192, 57, 43, 0.25);
    color: var(--red);
}

.cal-day.cal-revolucion {
    background: linear-gradient(135deg, rgba(123, 45, 142, 0.06), rgba(123, 45, 142, 0.12));
    border-color: rgba(123, 45, 142, 0.25);
    color: var(--purple);
}

.cal-day.cal-weekday {
    background: var(--cream);
    border-color: var(--cream-dark);
    color: var(--gray-400);
}

/* Calendar legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cal-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--gray-600);
}

.cal-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Key events */
.key-events {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.key-events h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.key-event-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    text-align: center;
}

.key-event-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.key-event-card .event-date {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.key-event-card .event-name {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.key-event-card .event-detail {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* -----------------------------------------------
   14. TIMELINE
   ----------------------------------------------- */
/* ---- TIMELINE VERTICAL ---- */
.timeline {
    position: relative;
    padding-left: 32px;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold) 0%, var(--red) 35%, var(--purple) 65%, var(--gold) 100%);
    border-radius: 3px;
}

/* Timeline item — card vertical */
.timeline-item {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    margin-left: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
}

.timeline-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--gold);
    transform: translateX(3px);
}

/* Dot on the vertical line */
.timeline-dot {
    position: absolute;
    left: -28px;
    top: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--gold);
    z-index: 2;
}

/* Connector from dot to card */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 20px;
    width: 16px;
    height: 2px;
    background: var(--gold);
    opacity: 0.35;
}

/* Remove the old ::after pseudo-element */
.timeline-item::after {
    display: none;
}

/* Timeline date label */
.timeline-date {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

/* Timeline title */
.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

/* Timeline description */
.timeline-desc {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

/* Timeline event list */
.timeline-events {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.timeline-events li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 0.3rem;
}

.timeline-events li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

.timeline-events li strong {
    color: var(--dark);
}

/* Timeline badges */
.timeline-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-right: 0.4rem;
    margin-bottom: 0.5rem;
    background: var(--gray-100);
    color: var(--gray-600);
}

.timeline-badge.gratis {
    background: rgba(0, 184, 148, 0.1);
    color: var(--turquoise);
    border: 1px solid rgba(0, 184, 148, 0.25);
}

.timeline-badge.altares-badge {
    background: rgba(244, 163, 0, 0.1);
    color: #c58800;
    border: 1px solid rgba(244, 163, 0, 0.25);
}

.timeline-badge.artista-badge {
    background: rgba(123, 45, 142, 0.1);
    color: var(--purple);
    border: 1px solid rgba(123, 45, 142, 0.25);
}

.timeline-badge.rev-badge {
    background: rgba(109, 76, 61, 0.1);
    color: #6d4c3d;
    border: 1px solid rgba(109, 76, 61, 0.25);
}

.timeline-badge.teatro-badge {
    background: rgba(0, 184, 148, 0.1);
    color: var(--turquoise);
    border: 1px solid rgba(0, 184, 148, 0.25);
}

.timeline-badge.terror-badge {
    background: rgba(192, 57, 43, 0.1);
    color: var(--red);
    border: 1px solid rgba(192, 57, 43, 0.25);
}

.timeline-badge.desfile-badge {
    background: rgba(244, 163, 0, 0.1);
    color: #c58800;
    border: 1px solid rgba(244, 163, 0, 0.25);
}

/* Entre semana note */
.entre-semana-note {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-style: italic;
    color: var(--gray-400);
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--gray-300);
    margin-top: 0.5rem;
}

/* -----------------------------------------------
   15. IMPACTO SECTION
   ----------------------------------------------- */
.impacto {
    background-color: #f7f5f0;
    padding: 5rem 0;
    color: var(--text);
}

/* Alert banner */
.alerta-contexto {
    background: #fff8e1;
    border: 1px solid rgba(244, 163, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alerta-contexto .alerta-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alerta-contexto p {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 0;
}

.alerta-contexto strong {
    color: var(--red);
}

/* Evento sin precedentes */
.evento-sin-precedentes {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 2rem;
}

.evento-sin-precedentes h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.evento-sin-precedentes p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Derrama hero */
.derrama-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(244, 163, 0, 0.15);
    border-top: 4px solid var(--gold);
}

.derrama-main {
    margin-bottom: 2rem;
}

.derrama-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.derrama-cifra {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}

.derrama-moneda {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}

/* Derrama desglose */
.derrama-desglose {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.derrama-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.derrama-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.derrama-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.derrama-cat {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.derrama-detail {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.4;
}

/* Sectores beneficiados */
.sectores-beneficiados {
    margin-bottom: 3rem;
}

.sectores-beneficiados h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.sectores-beneficiados .sectores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.sectores-beneficiados .sector-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.sectores-beneficiados .sector-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.sectores-beneficiados .sector-card .sector-icon {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.sectores-beneficiados .sector-card .sector-name {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Numeros */
.numeros {
    margin-bottom: 3rem;
}

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

.numero-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.numero-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.numero-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}

.numero-suffix {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-left: 0.15rem;
}

.numero-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Impacto grid */
.impacto-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.impacto-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.impacto-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.impacto-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.impacto-card ul {
    padding-left: 0;
}

.impacto-card ul li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.impacto-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* -----------------------------------------------
   16. DISTRIBUCION SECTION
   ----------------------------------------------- */
.distribucion {
    background-color: #fafafa;
    padding: 5rem 0;
}

/* Ficha tecnica */
.ficha-tecnica {
    margin-bottom: 3rem;
}

.ficha-tecnica h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.ficha-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.ficha-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.ficha-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.ficha-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

/* Map 3D wrapper */
.mapa3d-wrapper {
    margin-top: 3rem;
}

.mapa3d-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.mapa3d-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.mapa3d-instrucciones {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 400;
}

/* Map 3D container */
.mapa3d-container {
    position: relative;
    background: #f0ece4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.mapa3d-container canvas {
    display: block;
    width: 100%;
    min-height: 400px;
    height: 55vw;
    max-height: 650px;
}

/* Map 3D info panel */
.mapa3d-info {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 280px;
    max-height: calc(100% - 2rem);
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10;
}

.mapa3d-info.visible {
    transform: translateX(0);
    opacity: 1;
}

.mapa3d-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    padding-right: 2rem;
}

.mapa3d-info p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Info close button */
.info-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--gray-500);
    transition: all var(--transition);
    line-height: 1;
}

.info-close:hover {
    background: var(--red);
    color: var(--white);
}

/* Info stats */
.info-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.info-stats span {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--gray-600);
}

/* Permanence badges */
.info-perm-fija {
    background: rgba(192, 57, 43, 0.1) !important;
    color: var(--red) !important;
    border: 1px solid rgba(192, 57, 43, 0.2);
}

.info-perm-temp1 {
    background: rgba(0, 184, 148, 0.1) !important;
    color: var(--turquoise) !important;
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.info-perm-temp3 {
    background: rgba(244, 163, 0, 0.1) !important;
    color: #c58800 !important;
    border: 1px solid rgba(244, 163, 0, 0.2);
}

/* Map 3D legend */
.mapa3d-legend {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--gray-200);
}

.legend3d-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--gray-600);
    font-weight: 500;
}

.l3d-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}

/* -----------------------------------------------
   17. INVERSION SECTION
   ----------------------------------------------- */
.inversion {
    background: #f9f7f2;
    padding: 5rem 0;
    color: var(--text);
}

.inversion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.inversion-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.inversion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--gold));
}

.inversion-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--gray-300);
    transform: translateY(-4px);
}

.inversion-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.inversion-card .inversion-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1;
}

.inversion-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.inversion-card ul {
    padding-left: 0;
    margin-top: 1rem;
}

.inversion-card ul li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.inversion-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* Total card */
.inversion-total {
    background: var(--white) !important;
    border: 2px solid var(--gold) !important;
}

.inversion-total::before {
    background: linear-gradient(90deg, var(--gold), var(--gold-light)) !important;
    height: 5px;
}

.inversion-total .inversion-amount {
    color: var(--dark);
}

/* Investment enables */
.inversion-enables {
    margin-top: 3rem;
}

.inversion-enables h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.inversion-enables .enables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.inversion-enables .enable-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.inversion-enables .enable-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.inversion-enables .enable-item .enable-icon {
    display: block;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.inversion-enables .enable-item h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.inversion-enables .enable-item p {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ROI section */
.roi-section {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.roi-section h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-align: center;
}

.roi-section .roi-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.roi-section .roi-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--cream);
    border: 1px solid var(--gray-200);
}

.roi-section .roi-item .roi-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--turquoise);
    margin-bottom: 0.25rem;
}

.roi-section .roi-item .roi-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* -----------------------------------------------
   18. SOLICITUD SECTION
   ----------------------------------------------- */
.solicitud {
    background-color: #f8f6ff;
    padding: 5rem 0;
    color: var(--text);
}

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

.solicitud-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--purple);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.solicitud-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--gray-300);
    border-left-color: var(--purple);
    transform: translateY(-3px);
}

.solicitud-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 0.75rem;
}

.solicitud-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.solicitud-card ul {
    padding-left: 0;
}

.solicitud-card ul li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

.solicitud-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--turquoise);
    font-weight: 700;
    font-size: 0.85rem;
}

/* -----------------------------------------------
   19. CONTACTO SECTION
   ----------------------------------------------- */
.contacto {
    background-color: var(--white);
    padding: 5rem 0;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contacto-message {
    padding-right: 1rem;
}

.contacto-quote {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--red);
}

.contacto-cta-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contacto-beneficios {
    margin-top: 1.5rem;
}

.contacto-beneficios h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.contacto-beneficios ul {
    padding-left: 0;
}

.contacto-beneficios ul li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.contacto-beneficios ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* Contact card */
.contacto-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}

.contacto-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--gold);
}

.contacto-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--cream-dark);
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contacto-item .ci-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contacto-item span {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 500;
}

.contacto-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--cream-dark);
    font-size: 0.8rem;
    color: var(--gray-500);
    font-style: italic;
    line-height: 1.6;
}

/* -----------------------------------------------
   20. MAIN FOOTER
   ----------------------------------------------- */
.main-footer {
    background: var(--dark);
    padding: 3rem 0 2rem;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.footer-sub {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.footer-legal {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
}

/* -----------------------------------------------
   21. UTILITY CLASSES
   ----------------------------------------------- */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-gold {
    color: var(--gold);
}

.text-red {
    color: var(--red);
}

.text-purple {
    color: var(--purple);
}

.text-turquoise {
    color: var(--turquoise);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* -----------------------------------------------
   22. SCROLLBAR STYLING
   ----------------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}

/* -----------------------------------------------
   23. ANIMATIONS & KEYFRAMES
   ----------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.anim-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.anim-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.anim-fade-in-down {
    animation: fadeInDown 0.6s ease forwards;
}

.anim-slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

.anim-slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

.anim-scale-in {
    animation: scaleIn 0.5s ease forwards;
}

.anim-float {
    animation: float 3s ease-in-out infinite;
}

.anim-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Staggered animation delays */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

/* -----------------------------------------------
   24. PRINT STYLES
   ----------------------------------------------- */
@media print {
    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .main-nav,
    .scroll-indicator,
    .hero-cta,
    .gold-top-border::before {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem;
        background: white;
    }

    .hero-content {
        color: black;
    }

    .section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }

    .container {
        max-width: 100%;
    }
}

/* -----------------------------------------------
   25. RESPONSIVE -- 1024px
   ----------------------------------------------- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-title .title-line.year {
        font-size: 2.4rem;
    }

    .propuesta-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

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

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

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

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

    .calendario-days {
        grid-template-columns: repeat(11, 1fr);
    }

    .derrama-cifra {
        font-size: 4rem;
    }

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

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

    .contacto-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

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

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

    .section-header .section-number {
        font-size: 4rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* -----------------------------------------------
   26. RESPONSIVE -- 768px (TABLET / MOBILE)
   ----------------------------------------------- */
@media (max-width: 768px) {
    /* Base */
    .container {
        padding: 0 1.25rem;
    }

    .container-wide {
        padding: 0 1.25rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    /* Section headers */
    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header .section-number {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header .section-subtitle {
        font-size: 0.95rem;
    }

    /* Hero */
    .hero {
        padding: 1.5rem;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-title .title-line.year {
        font-size: 1.6rem;
    }

    .hero-pre-title {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
    }

    .hero-impacto {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .hero-stat-num {
        font-size: 1.6rem;
    }

    .hero-stat-label {
        font-size: 0.65rem;
    }

    .hero-fases {
        flex-direction: column;
        align-items: center;
    }

    .hero-slogan {
        font-size: 1.1rem;
    }

    .hero-dates {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1.2rem;
    }

    .hero-cta button {
        font-size: 0.8rem;
        padding: 0.85rem 2rem;
    }

    /* Navigation -- Hamburger */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(45, 27, 14, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 0.5rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: all 0.4s ease;
        z-index: 9998;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
        width: 80%;
        text-align: center;
        border-radius: var(--radius-md);
    }

    /* Video */
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Propuesta */
    .propuesta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .propuesta-text {
        padding-right: 0;
    }

    .propuesta-visual {
        position: static;
    }

    .propuesta-highlights {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .highlight {
        min-width: 100px;
        flex: 1 1 45%;
    }

    /* Experiencias */
    .exp-grid-permanent {
        grid-template-columns: 1fr;
    }

    .exp-grid-thematic {
        grid-template-columns: 1fr;
    }

    .exp-card {
        padding: 1.5rem;
    }

    .exp-card-large {
        padding: 1.5rem;
    }

    /* Cronograma / Calendar */
    .calendario-days {
        grid-template-columns: repeat(7, 1fr);
        gap: 3px;
    }

    .cal-day {
        padding: 0.4rem 0.15rem;
        font-size: 0.6rem;
    }

    .cal-day .cal-num {
        font-size: 0.8rem;
    }

    .cal-day .cal-label {
        display: none;
    }

    .calendar-legend {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .key-events-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Timeline */
    .timeline {
        padding-left: 24px;
    }
    .timeline::before {
        left: 9px;
        width: 2px;
    }
    .timeline-item {
        margin-left: 14px;
        padding: 1rem 1.25rem;
    }
    .timeline-dot {
        left: -22px;
        width: 10px;
        height: 10px;
    }
    .timeline-item::before {
        left: -12px;
        width: 12px;
    }
    .timeline-title {
        font-size: 0.95rem;
    }
    .timeline-events li {
        font-size: 0.82rem;
    }

    /* Impacto */
    .alerta-contexto {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1.5rem;
    }

    .derrama-cifra {
        font-size: 3rem;
    }

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

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

    .numero-value {
        font-size: 2rem;
    }

    .impacto-grid {
        grid-template-columns: 1fr;
    }

    /* Distribucion / Map */
    .ficha-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .ficha-item {
        padding: 1rem;
    }

    .ficha-value {
        font-size: 1.1rem;
    }

    .mapa3d-container canvas {
        min-height: 300px;
        height: 70vw;
    }

    .mapa3d-info {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        max-height: none;
        transform: translateY(-20px);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }

    .mapa3d-info.visible {
        transform: translateY(0);
    }

    .mapa3d-legend {
        gap: 0.75rem;
        padding: 0.6rem 1rem;
    }

    .legend3d-item {
        font-size: 0.65rem;
    }

    /* Inversion */
    .inversion-grid {
        grid-template-columns: 1fr;
    }

    .inversion-card .inversion-amount {
        font-size: 2rem;
    }

    .roi-section {
        padding: 1.5rem;
    }

    .roi-section .roi-comparison {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Solicitud */
    .solicitud-grid {
        grid-template-columns: 1fr;
    }

    /* Contacto */
    .contacto-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contacto-message {
        padding-right: 0;
    }

    .contacto-quote {
        font-size: 1.3rem;
    }

    .contacto-card {
        padding: 2rem;
    }
}

/* -----------------------------------------------
   27. RESPONSIVE -- 480px (SMALL MOBILE)
   ----------------------------------------------- */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header .section-number {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header .section-subtitle {
        font-size: 0.85rem;
    }

    /* Hero small mobile */
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-title .title-line.year {
        font-size: 1.3rem;
    }

    .hero-pre-title {
        font-size: 0.65rem;
    }

    .hero-impacto {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .hero-stat {
        padding: 0.75rem 0.4rem;
    }

    .hero-stat-num {
        font-size: 1.3rem;
    }

    .hero-stat-label {
        font-size: 0.55rem;
    }

    .hero-dates {
        font-size: 0.85rem;
    }

    .hero-location {
        font-size: 0.8rem;
    }

    .hero-slogan {
        font-size: 0.95rem;
    }

    .hero-cta button {
        font-size: 0.75rem;
        padding: 0.75rem 1.5rem;
    }

    /* Fase cards */
    .fase-card {
        padding: 1.25rem;
    }

    .fase-card h4 {
        font-size: 1rem;
    }

    /* Highlight cards */
    .highlight {
        flex: 1 1 100%;
        padding: 1rem 0.75rem;
    }

    .highlight-number {
        font-size: 1.6rem;
    }

    /* Experience cards */
    .exp-card {
        padding: 1.25rem;
    }

    .exp-card h3 {
        font-size: 1.05rem;
    }

    .exp-duration-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.5rem;
    }

    /* Calendar */
    .calendario-days {
        grid-template-columns: repeat(5, 1fr);
    }

    /* Timeline small mobile */
    .timeline {
        padding-left: 18px;
    }
    .timeline::before {
        left: 6px;
        width: 2px;
    }
    .timeline-item {
        margin-left: 10px;
        padding: 0.85rem 1rem;
    }
    .timeline-dot {
        left: -18px;
        width: 8px;
        height: 8px;
    }
    .timeline-item::before {
        left: -10px;
        width: 10px;
    }
    .timeline-date {
        font-size: 0.7rem;
    }
    .timeline-title {
        font-size: 0.88rem;
    }
    .timeline-events li {
        font-size: 0.78rem;
    }

    /* Derrama */
    .derrama-cifra {
        font-size: 2.4rem;
    }

    .derrama-desglose {
        grid-template-columns: 1fr;
    }

    .derrama-item {
        padding: 1.25rem;
    }

    .derrama-num {
        font-size: 1.5rem;
    }

    /* Numeros */
    .numeros-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .numero-item {
        padding: 1.25rem 0.75rem;
    }

    .numero-value {
        font-size: 1.6rem;
    }

    .numero-suffix {
        font-size: 0.9rem;
    }

    /* Ficha */
    .ficha-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .ficha-item {
        padding: 0.75rem;
    }

    .ficha-label {
        font-size: 0.6rem;
    }

    .ficha-value {
        font-size: 0.95rem;
    }

    /* Map */
    .mapa3d-container canvas {
        min-height: 250px;
        height: 80vw;
    }

    .mapa3d-legend {
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
    }

    .legend3d-item {
        font-size: 0.6rem;
    }

    .l3d-color {
        width: 10px;
        height: 10px;
    }

    /* Inversion */
    .inversion-card {
        padding: 1.5rem;
    }

    .inversion-card .inversion-amount {
        font-size: 1.6rem;
    }

    .inversion-card h3 {
        font-size: 1.1rem;
    }

    .roi-section {
        padding: 1.25rem;
    }

    .roi-section .roi-comparison {
        grid-template-columns: 1fr;
    }

    .roi-section .roi-item .roi-value {
        font-size: 1.6rem;
    }

    /* Solicitud */
    .solicitud-card {
        padding: 1.5rem;
    }

    .solicitud-card h3 {
        font-size: 1.1rem;
    }

    /* Contacto */
    .contacto-quote {
        font-size: 1.1rem;
    }

    .contacto-card {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-title {
        font-size: 1.1rem;
    }

    .footer-sub {
        font-size: 0.75rem;
    }

    .footer-legal {
        font-size: 0.6rem;
    }
}

/* -----------------------------------------------
   28. REDUCED MOTION PREFERENCES
   ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .scroll-arrow {
        animation: none;
    }

    .timeline-item.tl-highlight::before {
        animation: none;
    }
}

/* -----------------------------------------------
   29. HIGH CONTRAST MODE
   ----------------------------------------------- */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
        --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.3);
    }

    .exp-card,
    .inversion-card,
    .solicitud-card,
    .numero-item,
    .derrama-item {
        border-width: 2px;
    }

    .nav-links a {
        color: rgba(255, 255, 255, 0.85);
    }

    .timeline-content {
        border-width: 2px;
    }
}

/* -----------------------------------------------
   30. FOCUS STYLES (Accessibility)
   ----------------------------------------------- */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.nav-links a:focus-visible {
    outline-color: var(--gold);
    background: rgba(244, 163, 0, 0.15);
}

/* -----------------------------------------------
   31. HOVER MEDIA QUERY (touch device safety)
   ----------------------------------------------- */
@media (hover: none) {
    .exp-card:hover,
    .inversion-card:hover,
    .solicitud-card:hover,
    .hero-stat:hover,
    .highlight:hover,
    .fase-card:hover,
    .ficha-item:hover,
    .key-event-card:hover,
    .derrama-item:hover,
    .numero-item:hover,
    .impacto-card:hover,
    .contacto-card:hover,
    .video-card:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    .timeline-content:hover {
        box-shadow: var(--shadow-sm);
        border-color: var(--gray-200);
    }

    .pilares-list li:hover {
        transform: none;
    }
}

/* -----------------------------------------------
   32. LANDSCAPE MODE ON MOBILE
   ----------------------------------------------- */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-impacto {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .hero-stat {
        padding: 0.5rem;
    }

    .hero-stat-num {
        font-size: 1.2rem;
    }

    .hero-badge {
        margin-bottom: 0.75rem;
    }

    .hero-fases {
        margin-bottom: 1rem;
    }

    .hero-slogan {
        display: none;
    }

    .scroll-indicator {
        bottom: 0.5rem;
    }
}

/* -----------------------------------------------
   END OF STYLESHEET
   ----------------------------------------------- */
