/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    --sw-dark: #0a1720;
    --sw-green: #1ea96a;
    --sw-blue: #0c3156;
    --sw-muted: #5f6c7b;
    --sw-bg-light: #f5f7fb;
    --sw-eeries-black: #111827;
    --sw-green-dark: #3B693D;
    --sw-grey: rgb(209, 213, 219);
    --sw-blue-dark: #172460;
    --sw-radius: 1.25rem;
    --transition-base: 0.3s ease;
    --sw-green-dark: #1ea96a; 
    --nodes: 6; 
    --svg-mid-radius: 160;
    --sw-success: #10b981;
    --sw-red: #ef4444;
    --sw-yellow: #fecb37;
    --sw-yellow-dark: #d1a626;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    color: var(--sw-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --------------------------------------------
   OCULTAR CONTENIDO SIN COMPILAR
   -------------------------------------------- */
[v-cloak] {
    display: none !important;
}

/* ============================================
   UTILIDADES GENERALES
   ============================================ */
.wrapper-general {
    padding: 2rem 4.5rem;
}

.tracking-2 {
    letter-spacing: 0.15rem;
}

.section-padding {
    padding: 5rem 0;
}

.bg-white {
    background-color: #fff !important;
}

.bg-light {
    background-color: #f7f8fc !important;
}

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

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

.bg-yellow {
    background-color: #eab308;
}

.text-sw-yellow {
    color: var(--sw-yellow);
}

.sw-lang-trigger {
    background-color: #fff !important;
    color: #1a1a1a !important;
    border: 2px solid var(--sw-yellow-dark) !important;
    border-radius: 6px;
    padding: 0.35rem 0.6rem !important;
    font-weight: 600;
    box-shadow: none !important;
}

.sw-lang-trigger:hover,
.sw-lang-trigger:focus,
.sw-lang-trigger.show {
    background-color: #fff !important;
    color: #1a1a1a !important;
    border-color: var(--sw-yellow-dark) !important;
}

.sw-lang-trigger .text-sw-yellow {
    color: var(--sw-yellow-dark) !important;
}

.sw-lang-trigger::after {
    border-top-color: #1a1a1a !important;
}

.ada-section {
    background: #ffffff;
    color: #1a1a1a;
    padding: 4rem 1.5rem;
    border-top: 1px solid rgba(55, 49, 118, 0.12);
    border-bottom: 1px solid rgba(55, 49, 118, 0.12);
    font-family: 'Gantari', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    position: relative;
    overflow: hidden;
}

.ada-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #373176 0%, #8e9afa 65%, #fff 100%);
}

.ada-section::after {
    content: '';
    position: absolute;
    top: -160px;
    right: -100px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(142, 154, 250, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ada-container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* ── HEADER ── */
.ada-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.ada-logo {
    max-width: 120px;
    margin-bottom: 0.8rem;
    display: block;
}

.ada-badge {
    display: inline-block;
    background: #373176;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.9rem;
}

.ada-header h2 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 700;
    color: #373176;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin: 0;
}

.ada-header h2 span {
    color: #1a1a1a;
}

.ada-header-right {
    max-width: 400px;
    padding-top: 0.4rem;
}

.ada-header-right p {
    font-size: 0.95rem;
    color: #3a3a3a;
    line-height: 1.75;
    font-weight: 300;
    margin: 0;
}

.ada-header-right p .highlight {
    color: #373176;
    font-weight: 600;
}

/* ── GRID CARDS ── */
.ada-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
}

/* Card grande (Motor principal) */
.ada-card.featured {
    grid-column: span 1;
}

/* 👇 Estas dos serán más anchas */
.ada-card.has-media:nth-child(2),
.ada-card.has-media:nth-child(3) {
    grid-column: span 1.5;
}

/* ── CARDS ── */
.ada-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(55, 49, 118, 0.15);
    border-radius: 18px;
    padding: 1.8rem 1.6rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.ada-card:hover {
    transform: translateY(-6px);
    border-color: #8e9afa;
    box-shadow: 0 20px 40px rgba(55, 49, 118, 0.12), 0 0 0 1px rgba(142, 154, 250, 0.3);
}

/* ── CARD FEATURED (CON VIDEO/IMAGEN DE FONDO) ── */
.ada-card.featured {
    background: #373176;
    border-color: #373176;
    color: #fff;

    padding: 0; /* 🔥 clave */
    overflow: hidden;

    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.ada-card.featured:hover {
    transform: translateY(-6px);
    border-color: #8e9afa;
    box-shadow: 0 20px 40px rgba(55, 49, 118, 0.3);
}

/* FONDO (VIDEO O IMAGEN) */
.ada-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ada-card-bg video,
.ada-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 evita deformación */
    object-position: center;
    display: block;
}

/* OVERLAY */
.ada-card-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(35, 30, 100, 0.3) 0%,
        rgba(35, 30, 100, 0.92) 60%
    );
}

/* CONTENIDO ENCIMA */
.ada-card-content {
    position: relative;
    z-index: 1;
    padding: 1.6rem;
}

/* TEXTOS FEATURED */
.ada-card.featured p {
    color: rgba(255, 255, 255, 0.72);
}

.ada-card.featured h3 {
    color: #fff;
}

.ada-card.featured .ada-pill {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.ada-card.featured .ada-stat {
    color: #c5ccff;
}

.ada-card.featured .ada-stat-label {
    color: rgba(255, 255, 255, 0.6);
}

/* ── PILL ── */
.ada-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    background: rgba(55, 49, 118, 0.08);
    color: #373176;
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    margin-bottom: 1rem;
}

/* ── TEXTOS ── */
.ada-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #111;
    margin: 0 0 0.55rem;
    letter-spacing: -0.01em;
}

.ada-card p {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

/* ── STAT ── */
.ada-stat {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin: 1.2rem 0 0.15rem;
    color: #8e9afa;
    line-height: 1;
}

.ada-stat-label {
    font-size: 0.78rem;
    color: #888;
    font-weight: 400;
}

/* ── LIST ── */
.ada-card ul {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
}

.ada-card:not(.featured) ul {
    border-top-color: rgba(55, 49, 118, 0.1);
}

.ada-card ul li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    padding: 0.3rem 0 0.3rem 1.1rem;
    position: relative;
}

.ada-card:not(.featured) ul li {
    color: #666;
}

.ada-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: #8e9afa;
    border-radius: 50%;
}

.ada-card.featured ul li::before {
    background: rgba(255, 255, 255, 0.5);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .ada-card.featured {
        min-height: 320px;
    }

    .ada-card-content {
        padding: 1.2rem;
    }
}
/* ════════════════════════════════
   STATS SECTION
   ════════════════════════════════ */
.ada-stats-section {
    position: relative; /* 🔥 necesario para video */
    overflow: hidden;
    padding: 4rem 1.5rem;
    border-top: 1px solid rgba(55, 49, 118, 0.12);
    border-bottom: 1px solid rgba(55, 49, 118, 0.12);
    font-family: 'Gantari', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: #fff; /* 🔥 texto blanco sobre video */
}

/* 🎥 VIDEO FONDO */
.ada-stats-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: brightness(0.88) contrast(1.05);
}

/* 🎨 OVERLAY (tono morado suave para dejar ver más el video) */
.ada-stats-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 18, 60, 0.38) 0%,
        rgba(20, 18, 60, 0.48) 50%,
        rgba(15, 14, 45, 0.42) 100%
    );
    z-index: 1;
}

/* CONTENIDO ENCIMA */
.ada-stats-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* TEXTO IZQUIERDA */
.ada-stats-left h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), 0 2px 14px rgba(0, 0, 0, 0.25);
}

.ada-stats-left p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.75;
    font-weight: 300;
    margin: 0 0 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

/* TAGS */
.ada-stats-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ada-stats-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.15); /* 🔥 adaptado */
    color: #ffffff;
    padding: 0.3rem 0.75rem;
    border-radius: 99px;
}

/* GRID DERECHA */
.ada-stats-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* CARDS */
.ada-stat-card {
    border: 1px solid rgba(255,255,255,0.2); /* 🔥 más suave */
    border-radius: 16px;
    padding: 1.4rem 1.2rem;
    text-align: center;
    background: rgba(255,255,255,0.08); /* 🔥 glass effect */
    backdrop-filter: blur(6px); /* 🔥 pro */
    transition: all 0.25s ease;
}

.ada-stat-card:hover {
    transform: translateY(-4px);
    border-color: #c5ccff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

/* NUMEROS */
.ada-stat-card strong {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1;
}

/* TEXTO */
.ada-stat-card span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    margin-top: 0.35rem;
    font-weight: 400;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {

    .ada-header {
        flex-direction: column;
    }

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

    .ada-stats-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .ada-stats-right {
        grid-template-columns: 1fr 1fr;
    }

    /* 🔥 AJUSTE VIDEO EN MÓVIL */
    .ada-stats-video {
        height: 100%;
    }

    .ada-stats-section {
        padding: 3rem 1.2rem;
    }
}
/* ── VIDEO HERO ── */
.ada-hero-video {
    position: relative;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 2.5rem;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.ada-hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    filter: brightness(0.95) contrast(1.02);
}

.ada-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(20, 18, 60, 0.18) 0%,
        rgba(20, 18, 60, 0.38) 45%,
        rgba(15, 14, 45, 0.48) 100%
    );
}

.ada-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ada-hero-content .ada-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: fit-content;
}

.ada-hero-content h2 {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 2px 16px rgba(0, 0, 0, 0.28);
    margin-bottom: 0.8rem;
}

.ada-hero-content h2 span {
    color: #c5ccff;
}

.ada-hero-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.75;
    font-weight: 300;
    max-width: 560px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 2px 12px rgba(0, 0, 0, 0.2);
}

.ada-logo-hero {
    max-width: 110px;
    margin-bottom: 0.8rem;
    display: block;
    filter: brightness(0) invert(1);
}

/* ── CARD FEATURED (imagen de fondo) ── */
.ada-card.featured {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ada-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ada-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.ada-card.featured:hover .ada-card-bg img {
    transform: scale(1.04);
}

.ada-card-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(35, 30, 100, 0.3) 0%,
        rgba(35, 30, 100, 0.92) 55%
    );
}

.ada-card-content {
    position: relative;
    z-index: 1;
    padding: 1.6rem;
}

/* ── CARD con imagen superior ── */
.ada-card-media {
    width: 100%;
    aspect-ratio: 16 / 9; /* 🔥 reemplaza height fijo */
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    flex-shrink: 0;
}

.ada-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.ada-card:hover .ada-card-media img {
    transform: scale(1.06);
}

.ada-card.has-media {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ada-card.has-media .ada-card-content {
    padding: 1.4rem 1.4rem 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.ada-card.has-media .ada-card-content > h3,
.ada-card.has-media .ada-card-content > p,
.ada-card.has-media .ada-card-content > ul {
    width: 100%;
    max-width: 100%;
}

.ada-card.featured > .ada-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.ada-card.featured > .ada-card-content > h3,
.ada-card.featured > .ada-card-content > p,
.ada-card.featured > .ada-card-content > .ada-stat,
.ada-card.featured > .ada-card-content > ul {
    width: 100%;
    max-width: 100%;
}

.ada-card.featured > .ada-card-content > .ada-pill,
.ada-card.has-media .ada-card-content > .ada-pill {
    width: fit-content;
    max-width: 100%;
}

.ada-card.has-media .ada-demo-cta-wrap {
    margin-top: auto;
    padding-top: 1rem;
    align-self: flex-start;
}

.ada-card.featured .ada-demo-cta-wrap {
    margin-top: 0;
    padding-top: 1rem;
    align-self: flex-start;
}

.ada-demo-cta-wrap--hero {
    margin-top: 1.15rem;
}

.ada-demo-cta-wrap--stats {
    margin-top: 0.35rem;
    margin-bottom: 1.75rem;
}

.ada-demo-cta {
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.35rem;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    line-height: 1.35;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ada-demo-cta--dark {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(197, 204, 255, 0.45);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.ada-demo-cta--dark:hover {
    color: #ffffff;
    background: rgba(197, 204, 255, 0.18);
    border-color: #c5ccff;
}

.ada-demo-cta--light {
    color: #ffffff;
    background: #373176;
    border-color: #373176;
}

.ada-demo-cta--light:hover {
    color: #ffffff;
    background: #4a4299;
    border-color: #4a4299;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {

    .ada-hero-video {
        min-height: auto;
        height: auto;
        padding: 3rem 1.5rem;
    }

    .ada-hero-video video {
        height: 100%;
    }

    .ada-hero-content {
        padding: 0;
        justify-content: center;
    }

    .ada-logo-hero {
        max-width: 90px;
    }

    .ada-hero-content h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .ada-hero-content p {
        font-size: 0.9rem;
    }

    .ada-card.featured {
        min-height: 320px;
    }

    .ada-card-media {
        aspect-ratio: 16 / 10; /* 🔥 mejor en móvil */
    }

    .ada-card-content {
        padding: 1.2rem;
    }
}
.sw-lang-trigger .sw-lang-trigger-text {
    font-size: 0.9rem;
    white-space: nowrap;
}

.sw-lang-menu .sw-lang-option.sw-lang-active {
    background-color: rgba(254, 203, 55, 0.35);
    font-weight: 600;
}

.text-sw-blue {
    color: var(--sw-blue);
}

.text-gray-600 {
    color: var(--sw-muted);
}

.text-sw-green-dark {
    color: var(--sw-green-dark);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.text-max-800 {
    max-width: 800px;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ============================================
   HEADER / NAVEGACIÓN
   ============================================ */
.sw-header {
    background-color: transparent;
    padding-top: 0.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: all var(--transition-base);
}

.sw-header .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.02rem;
    transition: color var(--transition-base);
}

.sw-header .nav-link:hover,
.sw-header .nav-link.active {
    color: var(--sw-yellow-dark);
}

.sw-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sw-header.scrolled .nav-link {
    color: var(--sw-dark) !important;
}

.sw-header.scrolled .logo-title {
    color: var(--sw-dark) !important;
}

.logo-subtitle {
    font-size: 0.85rem !important; 
    line-height: 1.1; 
    margin-top: 0.25rem !important; 
    display: block !important;
}

.sw-header.scrolled .logo-subtitle {
    color: var(--sw-green-dark) !important;
}

.sw-header.scrolled .menu-icon span {
    background: var(--sw-dark) !important; 
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    background: url('../images/hero-fondo.jpg') center/cover no-repeat;
    min-height: 110vh;
    padding: 9rem 0 3rem;
    color: #fff;
    text-align: center;
    margin-top: -85px;
    z-index: 1;
    margin-bottom: 3rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero + section {
    margin-top: -4rem;
}

.hero-eyebrow {
    letter-spacing: 0.2rem;
    color: var(--sw-green-dark);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--sw-yellow);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.9rem);
    max-width: 720px;
    margin: 1.5rem auto 2.5rem;
    color: #efebeb;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Indicador de Scroll */
.scroll-indicator {
    margin-top: 8rem;
    padding-bottom: 0.25rem;
}

.scroll-indicator span {
    display: inline-block;
    width: 24px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-indicator span::after {
    content: '';
    display: block;
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-dot 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes scroll-dot {
    0% {
        opacity: 0;
        transform: translateY(-5px) translateX(-50%);
    }
    50% {
        opacity: 1;
        transform: translateY(5px) translateX(-50%);
    }
    100% {
        opacity: 0;
        transform: translateY(15px) translateX(-50%);
    }
}

/* ============================================
   BOTONES
   ============================================ */
.btn-success {
    background-color: var(--sw-yellow) !important;
    border-color: var(--sw-yellow) !important;
    font-size: 0.875rem !important;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all var(--transition-base);
    color: var(--sw-dark);
}

.btn-success:hover {
    background-color: var(--sw-yellow) !important;
    border-color: var(--sw-yellow) !important;
    color: var(--sw-dark);
    box-shadow: 0 5px 10px var(--sw-yellow-dark);
    transform: translateY(-2px);
}

.btn-hero {
    background-color: var(--sw-yellow-dark);
    color: var(--sw-dark);
    border-radius: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 15px 30px rgba(255, 251, 1, 0.35);
    transition: all var(--transition-base);
}

.btn-hero i {
    margin-left: 0.75rem;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px var(--sw-yellow-dark);
}

.btn-outline-success {
    color: var(--sw-dark) !important;      
    border-color: var(--sw-yellow-dark) !important;
}

.btn-outline-success:hover {
    background-color: var(--sw-yellow-dark) !important;
    border-color: white !important;
    color: white !important;
}

#btn-next-service:hover, #btn-prev-service:hover {
    color: var(--sw-yellow-dark) !important;   
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);         
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
.section-title {
    color: #181B27;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6c7485;
    max-width: 768px;
    margin: 0 auto;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.75rem;
}

/* ============================================
   TARJETAS (SOLUCIONES)
   ============================================ */

.solution-card {
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08) !important;
}

.icon-box-custom {
    width: 56px;
    height: 56px;
    background-color: #ffffff;
    color: var(--sw-yellow);
    border: 1.5px solid var(--sw-yellow-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.solution-card:hover .icon-box-custom {
    background-color: var(--sw-yellow-dark);
    color: #fff;
}

.btn-action {
    text-decoration: none;
    color: var(--sw-dark);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.solution-card:hover .btn-action {
    color: var(--sw-yellow-dark);
}

.btn-action i {
    transition: transform 0.3s ease;
}

.btn-action:hover i {
    transform: translateX(5px);
}

/* ============================================
   PROYECTOS
   ============================================ */

.stat-card {
    background-color: var(--sw-blue) !important;
    border-radius: 6px;
    border: none;
}

.stat-icon-small {
    width: 42px;
    height: 42px;
    background-color: rgba(30, 169, 106, 0.15); 
    border-radius: 10px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.stat-icon-small i {
    color: var(--sw-green);
    font-size: 1.2rem;
}

.project-card {
    background-color: #f8fcf9;
    border-radius: 1rem;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    background-color: #ffffff;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08) !important;
}

a.sw-proyecto-stats-link {
    cursor: pointer;
}

a.sw-proyecto-stats-link:hover .project-card {
    transform: translateY(-5px);
    background-color: #ffffff;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08) !important;
}

a.sw-proyecto-stats-link:focus-visible {
    outline: 2px solid var(--sw-yellow);
    outline-offset: 4px;
    border-radius: 1rem;
}

.project-img {
    height: 180px;
    object-fit: cover;
}

.project-title {
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-desc {
    min-height: 4.5rem;
    margin-bottom: 1rem;
}

.badge-cat {
    font-size: 0.65rem;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
}

.bg-blue-construction {
    background-color: #e7f0ff;
    color: var(--sw-blue-dark);
}

.bg-green-maintenance {
    background-color: #e8f5e9;
    color: var(--sw-green-dark);
}

.bg-orange-repair {
    background-color: #fff3e0;
    color: #ef6c00;
}

.custom-ctrl {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    color: var(--sw-dark);
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev {
    left: -10px;
}

.carousel-control-next {
    right: -10px;
}

.custom-ctrl:hover {
    background: var(--sw-yellow);
    color: #fff;
    border-color: var(--sw-yellow);
}

.client-logo {
    font-weight: 900;
    color: var(--sw-dark);
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.client-logo:hover {
    color: var(--sw-yellow-dark);
    cursor: default;
    filter: none;
}

/* ============================================
    SECCIÓN DE PROYECTOS
    =========================================== */

/* HEADER DE ESTADÍSTICAS */
#estadisticas .stats-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* TARJETAS DE MERCADO */
#estadisticas .market-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border-left: 4px solid var(--sw-green-dark);
}

#estadisticas .market-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* BADGES DE AÑO Y ESTADO */
#estadisticas .year-badge {
    background: linear-gradient(135deg, #e0a800 0%, #ffc107 100%);
    color: #1e293b;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

#estadisticas .year-badge.dynamic {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    animation: pulseBadgeStats 2s infinite;
}

@keyframes pulseBadgeStats {
    0%, 100% { box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.6); }
}

#estadisticas .dynamic-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulseBadgeStats 2s infinite;
}

#estadisticas .static-badge {
    background: #94a3b8;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ESTADÍSTICAS DEL MERCADO */
#estadisticas .market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

#estadisticas .stat-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    text-align: center;
}

#estadisticas .stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#estadisticas .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* INDICADORES DE TENDENCIA */
#estadisticas .trend-indicator {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
}

#estadisticas .trend-indicator.up {
    color: var(--sw-success);
}

#estadisticas .trend-indicator.down {
    color: var(--sw-red);
}

.sw-global-totales {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    padding: 1.5rem 1.25rem 1.35rem;
    border-top: 3px solid #ffc107;
}

.sw-global-totales__band {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 193, 7, 0.12);
}

.sw-global-totales__cell {
    text-align: center;
    padding: 1.15rem 0.85rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 108px;
    border-bottom: 1px solid #e2e8f0;
}

.sw-global-totales__cell--servicios {
    min-height: 140px;
}

@media (min-width: 992px) {
    .sw-global-totales__cell {
        border-bottom: none;
    }

    .sw-global-totales__cell:not(:last-child) {
        border-right: 1px solid #e2e8f0;
    }
}

@media (max-width: 991.98px) {
    .sw-global-totales__cell:last-child {
        border-bottom: none;
    }
}

.sw-global-totales__breakdown {
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px dashed #cbd5e1;
    width: 100%;
    max-width: 16rem;
}

.sw-global-totales__breakdown-value {
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: #b45309;
    display: block;
    line-height: 1.2;
}

.sw-global-totales__breakdown-label {
    font-size: 0.65rem;
    color: #64748b;
    line-height: 1.25;
    display: block;
    margin-top: 0.2rem;
}

.sw-global-totales__icon {
    color: #d1a626;
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.sw-global-totales__value {
    font-size: clamp(1.45rem, 3.5vw, 1.9rem);
    font-weight: 800;
    color: #1e293b;
    line-height: 1.15;
    display: block;
}

.sw-global-totales__label {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.25;
    max-width: 10.5rem;
    margin-top: 0.3rem;
    display: block;
}

.sw-estadisticas-detalle {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

.sw-estadisticas-detalle__nav {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sw-estadisticas-detalle__title {
    font-size: clamp(1.1rem, 2.6vw, 1.55rem);
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
    max-width: 100%;
}

.sw-estadisticas-detalle__body .stats-timeline-container {
    margin-top: 0;
}

@media (max-width: 575.98px) {
    .sw-global-totales {
        padding: 1.15rem 0.9rem 1.1rem;
    }

    .sw-global-totales__cell {
        min-height: 92px;
        padding: 0.75rem 0.45rem;
    }

    .sw-global-totales__label {
        font-size: 0.62rem;
        max-width: none;
    }
}

/* CONTENEDOR DE GRÁFICAS */
#estadisticas .chart-container {
    position: relative;
    min-height: 240px;
    max-height: 520px;
    margin: 1.5rem 0;
    background: white;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

#estadisticas .project-list.project-list--sync-chart,
#estadisticas .project-list {
    min-height: 0;
    max-height: 520px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
}

#estadisticas .project-item {
    background: #f8fafc;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
    border-left: 3px solid var(--sw-yellow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

#estadisticas .project-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

#estadisticas .project-item--evolucion {
    cursor: pointer;
}

#estadisticas .project-item--evolucion:focus-visible {
    outline: 2px solid #fecb37;
    outline-offset: 2px;
}

#estadisticas .project-name {
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}

#estadisticas .project-count {
    background: var(--sw-yellow);
    color: var(--sw-dark);       
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    min-width: 40px;
    text-align: center;
}

/* RESUMEN GENERAL */
#estadisticas .summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

#estadisticas .summary-card {
    background: linear-gradient(135deg, var(--sw-green-dark) 0%, var(--sw-green) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 105, 61, 0.3);
    transition: transform 0.3s ease;
}

#estadisticas .summary-card:hover {
    transform: translateY(-5px);
}

#estadisticas .summary-card .icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

#estadisticas .summary-card .value {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0.5rem 0;
}

#estadisticas .summary-card .label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* TABLA COMPARATIVA */
#estadisticas .comparison-table {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

#estadisticas .comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

#estadisticas .comparison-table th {
    background: #f8fafc;
    padding: 1rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
    text-align: center;
}

#estadisticas .comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    text-align: center;
}

#estadisticas .comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
}

#estadisticas .comparison-table tr:hover {
    background: #f8fafc;
}

#estadisticas .comparison-table tr:last-child td {
    border-bottom: none;
}

/* SCROLLBAR PERSONALIZADO */
#estadisticas .project-list::-webkit-scrollbar {
    width: 6px;
}

#estadisticas .project-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

#estadisticas .project-list::-webkit-scrollbar-thumb {
    background: var(--sw-yellow);
    border-radius: 10px;
}

#estadisticas .project-list::-webkit-scrollbar-thumb:hover {
    background: var(--sw-yellow-dark);
}

/* RESPONSIVE - ESTADÍSTICAS */
@media (max-width: 991.98px) {
    #estadisticas .stats-header {
        padding: 2.5rem 1.5rem;
    }
    
    #estadisticas .market-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    #estadisticas .stats-header {
        padding: 2rem 1rem;
    }
    
    #estadisticas .stats-header h1 {
        font-size: 2rem !important;
    }
    
    #estadisticas .market-card {
        padding: 1rem;
    }
    
    #estadisticas .market-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    #estadisticas .chart-container {
        height: 250px;
    }
    
    #estadisticas .comparison-table {
        padding: 1rem;
    }
    
    #estadisticas .comparison-table th,
    #estadisticas .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    #estadisticas .summary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    #estadisticas .summary-card {
        padding: 1rem;
    }
    
    #estadisticas .summary-card .value {
        font-size: 2rem;
    }
    
    #estadisticas .summary-card .label {
        font-size: 0.75rem;
    }
    
    #estadisticas .market-stats {
        grid-template-columns: 1fr;
    }
    
    #estadisticas .stat-value {
        font-size: 1.5rem;
    }
}

.comparison-table-element {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table-element thead tr {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.comparison-table-element th {
    padding: 1rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
    text-align: left;
}

.comparison-table-element td {
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    color: #1e293b;
}

.comparison-table-element tbody tr:hover {
    background: #f8fafc;
    transition: background 0.2s ease;
}

.comparison-table-element tbody tr:last-child td {
    border-bottom: none;
}

.future-year-row {
    background: #fef3c7 !important;
}

.future-year-row:hover {
    background: #fde68a !important;
}

@media (max-width: 767.98px) {
    .comparison-table-element th,
    .comparison-table-element td {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .comparison-table-element th {
        font-size: 0.7rem;
    }
}

.stats-timeline-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
}

/* TIMELINE */
.timeline-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
}

.timeline-wrapper {
    flex: 1;
    position: relative;
    padding: 1rem 0;
}

.timeline-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 1rem;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #e2e8f0;
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #e0a800 0%, #ffc107 100%);
    transform: translateY(-50%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.timeline-point {
    position: relative;
    z-index: 2;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #cbd5e1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-point:hover .timeline-dot {
    transform: scale(1.2);
    border-color: #ffc107;
}

.timeline-point.active .timeline-dot {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--sw-yellow) 0%, #d1a626 100%); /* Amarillo */
    border-color: var(--sw-yellow-dark);
    box-shadow: 0 0 0 4px rgba(254, 203, 55, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(44, 177, 121, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(44, 177, 121, 0.1);
    }
}

.timeline-label {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
}

.timeline-point.active .timeline-label {
    color: var(--sw-yellow-dark);
    font-size: 1rem;
    font-weight: 700;
}

.timeline-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.timeline-nav:hover:not(:disabled) {
    background: var(--sw-yellow-dark);
    border-color: var(--sw-yellow-dark);
    color: white;
    transform: scale(1.1);
}

.timeline-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* PANEL DE DATOS */
.year-panel-container {
    transition: all 0.3s ease;
}

.year-panel {
    animation: fadeInUp 0.5s ease;
}

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

.year-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.year-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.year-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
}

.year-summary-chips {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.year-chip {
    min-width: 140px;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.year-chip__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1f2933;
}

.year-chip__value {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111827;
}

.year-chip__unit {
    font-size: 0.7rem;
    color: #374151;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.year-chip--total {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: var(--sw-yellow);
}

.year-chip--parques {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: var(--sw-green);
}

/* BLOQUES TOTAL ACUMULADO POR AÑO */
.stats-acumulado-row {
    margin-top: 0.5rem;
}

.acumulado-card {
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    border: 2px solid transparent;
}

.acumulado-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.acumulado-card__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    text-transform: none;
    letter-spacing: 0.02em;
}

.acumulado-card__value {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.acumulado-card__unit {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.acumulado-card--total {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-color: var(--sw-yellow);
}

.acumulado-card--total .acumulado-card__label {
    color: #92400e;
}

.acumulado-card--parques {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: var(--sw-green);
}

.acumulado-card--parques .acumulado-card__label {
    color: var(--sw-green-dark);
}

/* TARJETAS DE ESTADÍSTICAS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #ffc107;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e0a800 0%, #ffc107 100%);
    color: #1e293b;;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.stat-value-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.trend-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.trend-badge.up {
    background: #fff8e1; 
    color: #b45309;
}

.trend-badge.down {
    background: #fee2e2;
    color: #991b1b;
}

.trend-badge.neutral {
    background: #e0e7ff;
    color: #3730a3;
}

/* GRÁFICA Y PROYECTOS */
.chart-wrapper,
.projects-wrapper {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    min-height: 100%;
    height: auto;
}

.stats-chart-projects-row .projects-wrapper {
    flex-direction: column;
}

.stats-chart-projects-row .project-list--sync-chart {
    flex: 0 0 auto;
    width: 100%;
}

.chart-title,
.projects-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.projects-count {
    background: #ffc107;
    color: #1e293b;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.chart-container {
    position: relative;
    min-height: 240px;
    max-height: 520px;
    margin-top: 1rem;
}

.project-list {
    max-height: 520px;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
}

.project-list--sync-chart {
    box-sizing: border-box;
}

.project-item {
    background: #f8fafc;
    padding: 0.875rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    border-left: 3px solid #ffc107;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.project-item:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.project-name {
    font-weight: 600;
    color: #1e293b;
    flex: 1;
    font-size: 0.875rem;
}

.project-count {
    background: #ffc107;
    color: #1e293b;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    min-width: 40px;
    text-align: center;
}

/* SCROLLBAR PERSONALIZADO */
.project-list::-webkit-scrollbar {
    width: 6px;
}

.project-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.project-list::-webkit-scrollbar-thumb {
    background: #ffc107;
    border-radius: 10px;
}

.project-list::-webkit-scrollbar-thumb:hover {
    background: #e0a800;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .stats-timeline-container {
        padding: 1.5rem;
    }
    
    .timeline-container {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chart-container {
        min-height: 220px;
        max-height: 480px;
    }

    .project-list {
        max-height: 480px;
    }
}

@media (max-width: 767.98px) {
    .stats-timeline-container {
        padding: 1rem;
    }
    
    .timeline-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .timeline-nav {
        width: 100%;
        height: 36px;
        border-radius: 0.5rem;
    }
    
    .timeline-wrapper {
        width: 100%;
        order: -1;
    }
    
    .timeline-track {
        padding: 0 0.5rem;
    }
    
    .timeline-label {
        font-size: 0.75rem;
    }
    
    .year-title {
        font-size: 1.5rem;
    }
    
    .year-subtitle {
        font-size: 0.75rem;
    }

    .year-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .year-summary-chips {
        width: 100%;
        flex-wrap: wrap;
    }

    .year-chip {
        flex: 1 1 47%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .chart-container {
        min-height: 200px;
        max-height: 420px;
    }

    .project-list {
        max-height: 420px;
    }
}

@media (max-width: 576px) {
    .timeline-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    
    .timeline-point.active .timeline-dot {
        width: 16px;
        height: 16px;
    }
    
    .timeline-label {
        font-size: 0.7rem;
        margin-top: 0.5rem;
    }
    
    .timeline-point.active .timeline-label {
        font-size: 0.85rem;
    }
}

/* ============================================
   EVOLUCION POR PARQUE 
   ============================================ */

#evolucionParqueContainer .market-card,
#modalEvolucionParqueBody .market-card {
    background: #f8fafb !important;
    border: 1px solid #e2e8f0 !important;
}

#evolucionParqueContainer #parkSelector,
#modalEvolucionParqueBody #parkSelectorModal {
    width: 100%;             
    min-width: 400px;       
    border: 2px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.65rem 2.5rem; 
    font-weight: 650;
    color: #1e293b;
    font-size: 0.95rem;
    background-color: #fff;
    transition: all 0.3s ease;
    white-space: nowrap;   
}

#evolucionParqueContainer #parkSelector:hover,
#modalEvolucionParqueBody #parkSelectorModal:hover {
    border-color: #94a3b8;
}

#evolucionParqueContainer #parkSelector:focus,
#modalEvolucionParqueBody #parkSelectorModal:focus {
    border-color: var(--sw-yellow-dark);
    box-shadow: 0 0 0 3px rgba(254, 203, 55, 0.2); 
    outline: none;
}

#evolucionParqueContainer .table tbody tr,
#modalEvolucionParqueBody .table tbody tr {
    transition: background 0.2s ease;
}

#evolucionParqueContainer .table tbody tr:hover,
#modalEvolucionParqueBody .table tbody tr:hover {
    background: #f9f5f1 !important;
}

#evolucionParqueContainer .table tbody tr:last-child td,
#modalEvolucionParqueBody .table tbody tr:last-child td {
    border-bottom: none !important;
}

#evolucionParqueContainer .table thead th,
#modalEvolucionParqueBody .table thead th {
    border-bottom: 1px solid #e2e8f0 !important;
}

#parkEvolutionChart {
    max-height: 300px;
}

#parkEvolutionChartModal {
    max-height: 300px;
}

/* Responsive */
@media (max-width: 767.98px) {
    #evolucionParqueContainer #parkSelector,
    #modalEvolucionParqueBody #parkSelectorModal {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        padding-left: 2.25rem;
        min-width: 0;
    }
    
    #evolucionParqueContainer .row.g-3 > div,
    #modalEvolucionParqueBody .row.g-3 > div {
        margin-bottom: 1rem !important;
    }
    
    #evolucionParqueContainer h4,
    #modalEvolucionParqueBody h4 {
        font-size: 1.1rem;
    }
    
    #parkEvolutionChart {
        height: 280px !important;
    }

    #parkEvolutionChartModal {
        height: 280px !important;
    }
    
    #evolucionParqueContainer .table,
    #modalEvolucionParqueBody .table {
        font-size: 0.85rem;
    }
}

.evolucion-parque-modal .modal-dialog {
    max-width: 920px;
}

.evolucion-parque-modal .modal-body {
    overflow-x: hidden;
}

.sw-evolucion-modal-subtitle {
    max-width: 42rem;
}

.sw-evolucion-modal-header .sw-evolucion-select-wrap {
    width: 100%;
    max-width: 100%;
}

.sw-evolucion-select {
    padding-left: 2.35rem;
    border: 2px solid #cbd5e1;
    border-radius: 0.5rem;
    font-weight: 650;
    color: #1e293b;
    min-height: 2.65rem;
}

.sw-evolucion-filter-icon {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.sw-evolucion-kpi-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.sw-evolucion-kpi-hint {
    font-size: 0.72rem;
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: 0;
}

.sw-evolucion-chart-wrap {
    background: #fff !important;
}

.sw-evolucion-chart-canvas {
    position: relative;
    height: 280px;
}

.sw-evolucion-cell-zero {
    opacity: 0.72;
}

/* ============================================
   SECCIÓN DE SERVICIOS/VENTAJAS
   ============================================ */

.service-card {
    transition: all 0.3s ease-in-out;
    border: 1px solid transparent !important;
}

.service-card:hover {
    background-color: rgba(25, 135, 84, 0.05) !important;
    border-color: rgba(25, 135, 84, 0.2) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

.icon-box {
    transition: all 0.3s ease-in-out;
}

.service-card:hover .icon-box {
    background-color: var(--sw-green-dark) !important;
    color: white !important;
}

.carousel-item-card {
    transition: all 0.3s ease;
    border: 1px solid transparent !important;
    border-radius: 12px;
}

.carousel-item-card:hover {
    background-color: #eef2f7 !important;
    transform: translateY(-5px);
}

.carousel-item-card h5 {
    transition: color 0.3s ease;
}

.carousel-item-card:hover h5 {
    color: var(--sw-yellow-dark);
}

.detail-link i {
    transition: transform 0.2s;
}

.carousel-item-card:hover .detail-link i {
    transform: translateX(5px);
}

.nav-round-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background-color: white;
    color: var(--sw-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.nav-round-btn:hover {
    background-color: #f8fafc;
    color: var(--sw-yellow-dark);
    border-color: var(--sw-yellow-dark);
}

.tracking-wider {
    letter-spacing: 0.1em;
}

/* ============================================
   PLATAFORMA APP - ESTILOS COMPLETOS
   ============================================ */

.platform-section {
    background: #ffffff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.platform-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 105, 61, 0.02) 0%, rgba(30, 169, 106, 0.03) 100%);
}

.platform-section .container {
    position: relative;
    z-index: 1;
}

.badge-tech {
    background-color: rgba(30, 169, 106, 0.1);
    color: var(--sw-green-dark);
    border: 1px solid rgba(30, 169, 106, 0.2);
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-weight: 600;
    display: inline-block;
}

.platform-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #181B27;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.platform-title span {
    color: var(--sw-green-dark);
}

.platform-subtitle {
    color: #6c7485;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.feature-card {
    background: #f8fcf9;
    border: 1px solid #e1e8f0;
    border-radius: 1rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: #ffffff;
    border-color: rgba(30, 169, 106, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1.5px solid var(--sw-green-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    color: var(--sw-green-dark);
    font-size: 1.25rem;
}

.feature-card h4 {
    color: #181B27;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #6c7485;
    font-size: 0.9rem;
    margin: 0;
}

.benefits-card {
    background: #ffffff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(209, 213, 219, 0.3);
    border-radius: 1.5rem;
    padding: 2.5rem;
}

.benefits-title {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #334155;
    font-size: 0.95rem;
}

.benefit-item i {
    color: var(--sw-green);
    font-size: 1rem;
    flex-shrink: 0;
}

.app-highlight {
    background: #f8fcf9;
    border: 1px solid #e1e8f0;
    border-radius: 1.5rem;
    padding: 2.5rem;
}

.app-highlight h4 {
    color: #181B27;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.app-highlight p {
    color: #6c7485;
    margin-bottom: 1.5rem;
}

.app-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-feature-badge {
    background: #ffffff;
    color: var(--sw-green-dark);
    border: 1px solid #e1e8f0;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-box {
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: #f8fcf9;
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sw-green-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c7485;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.btn-demo {
    background-color: var(--sw-green-dark);
    color: #fff;
    border-radius: 0.5rem;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all var(--transition-base);
    box-shadow: 0 10px 25px rgba(59, 105, 61, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-demo:hover {
    background-color: var(--sw-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(59, 105, 61, 0.4);
    color: #fff;
}

/* Media queries para responsive */
@media (max-width: 768px) {
    .platform-section {
        padding: 3rem 0;
    }

    .feature-card,
    .benefits-card,
    .app-highlight {
        margin-bottom: 1.5rem;
    }
    
    .platform-title {
        font-size: 2rem;
    }
    
    .platform-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   QUIÉNES SOMOS - SECCIÓN COMPLETA
   ============================================ */

.badge-solu {
    color: var(--sw-dark);
    font-size: 0.875rem;
    border: 1px solid var(--sw-yellow);
}

.compact-card {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.compact-card:hover {
  transform: translateY(-5px);
  background: var(--sw-green-light);
  color: white;
}

.experience-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.experience-card:hover {
  background: var(--sw-yellow-dark);
  color: white;
  transform: translateY(-6px);
}
.experience-card .hover-info {
  opacity: 0;
  max-height: 0;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}
.experience-card:hover .hover-info {
  opacity: 1;
  max-height: 200px;
}

.experience-card h4 {
    color: var(--sw-yellow);
}

.experience-card:hover h4 {
    color: var(--sw-dark);
}

/* CARDS SERVICIOS */
.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border: none;
    border-radius: 16px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.service-preview {
    color: #6c7485;
    font-size: 0.95rem;
    margin: 0;
    transition: opacity 0.3s ease;
}

.service-full {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.service-card:hover .service-preview {
    opacity: 0;
}

.service-card:hover .service-full {
    max-height: 300px;
    opacity: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--sw-yellow), var(--sw-yellow-dark));
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(254, 203, 55, 0.25);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--sw-yellow), #d1a626);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(254, 203, 55, 0.3);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-box {
    transform: scale(1.1) rotate(5deg);
}

.service-icon-box i {
    font-size: 2rem;
    color: var(--sw-dark);
}

.service-card p {
  max-height: 20px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.service-card:hover p {
  max-height: 250px;
}


/* OBJETIVO, MISIÓN, VISIÓN */
.mission-timeline-vertical {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 0;
}

.mission-timeline-vertical::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--sw-yellow-dark);
    transform: translateX(-50%);
    z-index: 0;
}

.mission-item-vertical {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 2rem;
    z-index: 1;
}

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

/* Ocultar partes de la línea detrás del contenido */
.mission-content-right::before,
.mission-content-left::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 100%;
    background: #f8f9fa;
    z-index: -1;
    top: 0;
}

.mission-content-right::before {
    left: -10%;
}

.mission-content-left::before {
    right: -10%;
}

.mission-icon-vertical {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--sw-yellow), #d1a626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(254, 203, 55, 0.3);
    z-index: 2;
    position: relative;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(254, 203, 55, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 32px rgba(254, 203, 55, 0.5);
    }
}

.mission-icon-vertical i {
    font-size: 2.5rem;
    color: var(--sw-dark);
}

.mission-content-right {
    flex: 1;
    text-align: left;
    max-width: 400px;
    position: relative;
}

.mission-content-left {
    flex: 1;
    text-align: right;
    max-width: 400px;
    position: relative;
}

@media (max-width: 768px) {
    .mission-timeline-vertical::before {
        left: 45px;
    }
    
    .mission-item-vertical {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .mission-content-left,
    .mission-content-right {
        text-align: left;
    }
}

.mission-content-left p,
.mission-content-right p {
  display: none;
}

.mission-item-vertical:hover .mission-content-left p,
.mission-item-vertical:hover .mission-content-right p {
    display: block;
    position: absolute;
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    bottom: 110%;
    left: 0;
    z-index: 50;
    width: 100%;
}

.mission-timeline-vertical::before {
  height: 100%;
}

.mission-timeline-vertical {
    overflow: visible;
}

/* PROPUESTA DE VALOR */
.value-mosaic {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.value-card-mosaic {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: min-content; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.value-card-mosaic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--sw-yellow), #d1a626);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
}

.value-card-mosaic:hover::before {
    opacity: 1;
}

.value-card-mosaic:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(254, 203, 55, 0.3);
    border-color: transparent;
}

.value-card-mosaic > * {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.value-card-mosaic:hover h5,
.value-card-mosaic:hover p {
    color: var(--sw-dark) !important;
}

.value-card-mosaic:hover .value-icon-mosaic {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.value-card-mosaic:hover .value-icon-mosaic i {
    color: var(--sw-yellow-dark); 
    transform: scale(1.1);
}

.value-card-1 { grid-column: span 6; }
.value-card-2 { grid-column: span 6; }
.value-card-3 { grid-column: span 4; }
.value-card-4 { grid-column: span 4; }
.value-card-5 { grid-column: span 4; }

@media (max-width: 768px) {
    .value-card-1, .value-card-2, .value-card-3, .value-card-4, .value-card-5 {
        grid-column: span 12;
    }
}

.value-icon-mosaic {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fffcf2, white);
    border: 2px solid var(--sw-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.value-icon-mosaic i {
    font-size: 1.75rem;
    color: var(--sw-yellow-dark);
}

.value-card-mosaic p {
    max-height: none;
    height: auto;
    overflow: hidden;
    opacity: 0.75;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.value-card-mosaic:hover p {
    max-height: 300px;
    opacity: 1;
    color: white;
}

/* BENEFICIOS */
.benefit-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--sw-yellow), var(--sw-yellow-dark));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

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

.benefit-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 48px rgba(254, 203, 55, 0.3);
    color: var(--sw-dark);
}

.benefit-card > * {
    position: relative;
    z-index: 1;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background 0.4s ease;
    background: rgba(254, 203, 55, 0.15);
}

.benefit-card:hover .benefit-icon {
    background: rgba(255, 255, 255, 0.2);
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--sw-yellow-dark);
    transition: color 0.4s ease;
}

.benefit-card:hover .benefit-icon i {
    color: var(--sw-dark);
}

.benefit-card h5 {
    color: #181B27;
    transition: color 0.4s ease;
}

.benefit-card p {
    color: #6c7485;
    transition: color 0.4s ease;
}

.benefit-card:hover h5,
.benefit-card:hover p {
    color: var(--sw-dark);
}

.benefit-card p {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.benefit-card:hover p {
    max-height: 120px;
    opacity: 1;
}

/* APP FEATURE CARDS - Mismo comportamiento que benefit-card */
.app-feature-card {
    background: white;
    border: none;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.app-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(235, 189, 51)); 
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.app-feature-card:hover::before {
    opacity: 1;
}

.app-feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(254, 203, 55, 0.4);
}

.app-feature-card > * {
    position: relative;
    z-index: 1;
}

.app-feature-icon {
   width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background 0.4s ease;
    background: #fff8e1; 
    border: 1.5px solid var(--sw-yellow-dark);
}

.app-feature-card:hover .app-feature-icon {
    background: #ffffff;
    border-color: #ffffff; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1)
}

.app-feature-icon i {
    font-size: 2rem;
    color: var(--sw-yellow-dark);
    transition: color 0.4s ease;
}

.app-feature-card:hover .app-feature-icon i {
    color: var(--sw-yellow-dark);
    transform: scale(1.1);
}

.app-feature-card h5 {
    color: #181B27;
    transition: color 0.4s ease;
}   

.app-feature-card p {
    color: #6c7485;
    transition: color 0.4s ease;
}

.app-feature-card:hover h5,
.app-feature-card:hover p {
    color: var(--sw-dark) !important;
}

/* RADAR */
.radar-container {
    position: relative;
    width: 420px;
    height: 420px;
    margin: 0 auto;
    border-radius: 50%;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* ITEM BASE */
.radar-item {
    position: absolute;
    top: 50%;
    left: 50%;
}

/* CÍRCULOS DE VALORES */
.value-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--sw-yellow-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    cursor: pointer;
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.value-circle i {
    font-size: 1.5rem;
    color: var(--sw-yellow-dark);
    transition: color 0.3s ease;
}

.value-circle span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #181B27;
    line-height: 1.1;
}

.value-circle:hover {
    transform: scale(1.08);
    background: var(--sw-yellow);
    box-shadow: 0 0.8rem 1.5rem rgba(254, 203, 55, 0.35);
    border-color: var(--sw-yellow);
     box-shadow: 
        0 0 0.8rem rgba(254, 203, 55, 0.3),
        0 0 1.6rem rgba(254, 203, 55, 0.3),
        0 0 2.4rem rgba(254, 203, 55, 0.3);
}

/* CENTRO */
.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.center-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sw-yellow), #d1a626);
    color: var(--sw-dark);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.25);
}

/* POSICIONES HEXAGONALES */
.item-1 { transform: translate(-50%, -50%) translate(0, -160px); }
.item-2 { transform: translate(-50%, -50%) translate(140px, -80px); }
.item-3 { transform: translate(-50%, -50%) translate(140px, 80px); }
.item-4 { transform: translate(-50%, -50%) translate(0, 160px); }
.item-5 { transform: translate(-50%, -50%) translate(-140px, 80px); }
.item-6 { transform: translate(-50%, -50%) translate(-140px, -80px); }

/* RESPONSIVE */
@media (max-width: 576px) {
    .radar-container {
        width: 300px;
        height: 300px;
    }

    .value-circle {
        width: 80px;
        height: 80px;
    }

    .value-circle i {
        font-size: 1.2rem;
    }

    .value-circle span {
        font-size: 0.65rem;
    }

    .center-circle {
        width: 95px;
        height: 95px;
        font-size: 0.9rem;
    }

    .item-1 { transform: translate(-50%, -50%) translate(0, -110px); }
    .item-2 { transform: translate(-50%, -50%) translate(95px, -55px); }
    .item-3 { transform: translate(-50%, -50%) translate(95px, 55px); }
    .item-4 { transform: translate(-50%, -50%) translate(0, 110px); }
    .item-5 { transform: translate(-50%, -50%) translate(-95px, 55px); }
    .item-6 { transform: translate(-50%, -50%) translate(-95px, -55px); }
}

/* FONDO RADAR */
.radar-container {
    background:
        repeating-radial-gradient(
            circle at center,
            rgba(254, 203, 55, 0.45),
            rgba(254, 203, 55, 0.45),
            transparent 2px,
            transparent 55px
        );
    border-radius: 50%;
}

.radar-container {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.radar-container:hover {
    transform: scale(1.015);
    filter: drop-shadow(0 0 16px rgba(254, 203, 55, 0.45));
}

.radar-line {
    background-color: var(--sw-yellow-dark);
}
.radar-ring {
    border-color: rgba(254, 203, 55, 0.3); 
}

/* Icono y texto en blanco al hover */
.value-circle:hover i,
.value-circle:hover span {
    color: var(--sw-dark) !important;
}

/* ============================================
   CONTACTO
   ============================================ */

.badge-contact {
    background-color: var(--sw-yellow);
}

.contact-section {
    background-color: #FFFFFF;
}

.contact-text-title {
    font-weight: 700;
    color: #111827;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.2;
    text-align: center;
}

.contact-section-title {
    font-weight: 800;
    color: #111827;
    font-size: clamp(2.4rem, 4vw, 3rem);
    line-height: 1.2;
    max-width: 60rem;
    margin: 0 auto;
    text-align: center;
}

.contact-text-description {
    --tw-text-opacity: 1;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
    font-size: 1.25rem;
    line-height: 1.75rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    font-family: Inter, sans-serif;
}

.contact-form-title {
    font-weight: 600;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 2rem;
    color: #111827;
    margin-bottom: 1rem;
}

.contact-span {
    color: var(--sw-green-dark);
}

.contact-icon {
    color: var(--sw-yellow-dark);
}

.contact-wrapper {
    padding: 2rem 4.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(224, 231, 239, 0.4);
    background-color: #fff;
    box-shadow: 0 10px 28px rgba(10, 23, 32, 0.10);
    transition: box-shadow var(--transition-base);
    width: 100%;
    height: 100%;
}

.contact-card:hover {
    box-shadow: 0 10px 24px rgba(10, 23, 32, 0.12);
}

.contact-card h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #2b3340;
    margin-bottom: 0.25rem;
}

.contact-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6c757d;
    margin: 0;
}

.contact-form-card {
    background-color: #fff;
    width: 100%;
    border: 1px solid rgba(230, 233, 241, 0.3);
    box-shadow: 0 25px 40px rgba(12, 18, 32, 0.10);
    transition: box-shadow var(--transition-base);
    padding: 1.25rem 1.5rem;
    border-radius: var(--sw-radius);
}

.contact-form-card:hover {
    box-shadow: 0 30px 55px rgba(12, 18, 32, 0.14);
}

.contact-form-label {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #374151;
    font-weight: 400;
}

.contact-form-control {
    font-size: 1rem;
    line-height: 1.5rem;
}

.contact-block {
    padding: 1rem 0;
    border-bottom: 1px solid #e6e9f1;
}

.contact-block:last-child {
    border-bottom: none;
}

.contact-form-card .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #dfe3ea;
    background-color: #fefefe;
    transition: all var(--transition-base);
}

.contact-form-card .form-control:focus {
    border-color: var(--sw-yellow-dark); 
    box-shadow: 0 0 0 0.2rem rgba(254, 203, 55, 0.25);
    outline: none;
}

.contact-form-card button {
    border-radius: 0.375rem;
    font-weight: 600;
    width: 100%;
    background-color: var(--sw-yellow);
    color: var(--sw-dark);
    padding: 0.8rem;
    border: none;
    transition: all var(--transition-base);
}

.contact-form-card button:hover {
    background-color: var(--sw-yellow-dark); 
    color: var(--sw-dark);
}

/* ============================================
   FOOTER
   ============================================ */
.sw-footer {
    background-color: #1f1d17;
    padding: 3rem 2rem;
    min-height: 400px;
}

.sw-footer h4 {
    color: var(--sw-green);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.sw-footer h6 {
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin-bottom: 1rem;
}

.sw-footer p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--sw-grey);
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.sw-footer a {
    color: var(--sw-grey);
    text-decoration: none;
    transition: color var(--transition-base);
}

.sw-footer a:hover,
.sw-footer a:hover i {
    color: var(--sw-yellow-dark) !important;
}

.sw-footer span {
    color: var(--sw-grey);
}

.sw-footer ul {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

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

.sw-footer .copyright-block {
    padding-top: 1.5rem;
    margin: 1.5rem 0;
}

.sw-footer .legal-block {
    margin: 1rem 0 2rem;
}

.sw-footer i {
    vertical-align: middle;
}



/* ============================================
   MEDIA QUERIES - TABLET (768px - 991px)
   ============================================ */
@media (max-width: 991.98px) {
    .wrapper-general,
    .contact-wrapper {
        padding: 2rem 2rem;
    }

    .sw-header {
        position: fixed !important;
        top: 0;
        width: 100%;
        z-index: 1060;
        background-color: transparent !important;
    }

    .sw-header .navbar {
        width: 100%;
        padding: 0.5rem 1rem;
    }

    .sw-header .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        padding: 1rem 1.25rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .sw-header .navbar-collapse .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .sw-header .navbar-collapse .nav-link {
        color: var(--sw-dark) !important;
        padding: 0.75rem 0.5rem !important;
        display: block;
        font-size: 1.05rem;
    }

    .sw-header .navbar-collapse .nav-link:hover {
        background-color: #f1f1f1;
        border-radius: 0.25rem;
    }

    .sw-header .navbar-collapse .btn-success {
        width: 100%;
        margin-top: 1rem;
    }

    .navbar-toggler {
        border: none;
        padding: 0;
        background: transparent;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .menu-icon {
        width: 28px;
        height: 22px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .menu-icon span {
        height: 3px;
        width: 100%;
        background: #fff;
        display: block;
        transition: var(--transition-base);
    }

    .navbar-toggler:not(.collapsed) .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggler:not(.collapsed) .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggler:not(.collapsed) .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .navbar-toggler[aria-expanded="false"] .menu-icon span {
        opacity: 1 !important; 
        transform: none !important;
    }

    .sw-footer .row > div {
        margin-bottom: 2rem;
    }
}

/* ============================================
   MEDIA QUERIES - MÓVIL (hasta 767px)
   ============================================ */
@media (max-width: 767.98px) {
    .wrapper-general,
    .contact-wrapper,
    .servicios-wrapper {
        padding: 2rem 1rem !important;
    }

    .sw-header .navbar {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .hero {
        margin-top: 0 !important;
        min-height: 100vh !important;
        padding: 6.5rem 1rem !important;
        display: flex;
        align-items: center;
    }

    .hero .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 1.25rem !important;
        margin: 1rem auto 2rem !important;
    }

    .hero .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .scroll-indicator {
        margin-top: 4rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    #proyectos .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 1.5rem;
    }

    .contact-section .row {
        --bs-gutter-x: 0.75rem;
    }

    .contact-card,
    .contact-form-card {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    }

    .servicios-description {
        text-align: center;
    }

    .reason-card h5 {
        font-size: 1.25rem;
    }

    .reason-card p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .sw-footer {
        padding: 2rem 1rem;
    }

    .sw-footer .copyright-block {
        padding-top: 1rem !important;
        margin-top: 0.5rem !important;
    }
}

/* ============================================
   MEDIA QUERIES - MÓVIL PEQUEÑO (hasta 480px)
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 1.125rem !important;
    }

    .btn-hero {
        padding: 0.625rem 1.5rem;
        font-size: 0.9375rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .sw-card,
    .project-card,
    .reason-card {
        padding: 1.25rem;
    }
}

/* ============================================
   MEJORAS DE ACCESIBILIDAD
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible para accesibilidad de teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--sw-green-dark);
    outline-offset: 2px;
}

/* ============================================
   UTILIDADES DE IMPRESIÓN
   ============================================ */
@media print {
    .sw-header,
    .hero,
    .scroll-indicator,
    .sw-footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

.text-brand {
    color: var(--sw-yellow-dark) !important;
}

.bg-brand-light {
    background-color: rgba(254, 203, 55, 0.15) !important; 
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fade-enter, .fade-leave-to {
  opacity: 0;
  transform: translateY(-10px);
}