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

/* =========================
   VARIABLES
========================= */
:root {
    --verde:        #1b7f5c;
    --verde-oscuro: #145c43;
    --verde-claro:  #eef3f0;
    --fondo:        #dce7e2;
    --blanco:       #ffffff;
    --gris:         #4a5a6a;
    --gris-claro:   #eef3f0;
    --negro:        #000000;
    --acento:       #a8d5b5;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;

    --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
}

/* =========================
   BASE
========================= */
body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--fondo);
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 70px 0;
}

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

/* =========================
   NAVBAR
========================= */
.navbar {
    background: var(--verde);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-weight: bold;
    font-size: 1.4rem;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: white;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* =========================
   MENU TOGGLE
========================= */
.menu-toggle {
    display: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background: var(--verde-oscuro);
    padding-top: 70px;
    transition: 0.3s;
    z-index: 999;
}

.sidebar.active {
    left: 0;
}

.sidebar a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
}

.sidebar a:hover {
    background: var(--verde);
}

/* =========================
   HEADERS
========================= */
.page-header {
    padding: 40px 0;
}

.page-header h1 {
    font-size: 2.2rem;
}

.page-header p {
    color: var(--gris);
}

/* =========================
   SECTION HEADER
========================= */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

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

.section-header p {
    color: var(--gris);
}

/* =========================
   BOTONES
========================= */
.btn {
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.primary {
    background: var(--verde);
    color: white;
}

.secondary {
    background: var(--gris);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    background: var(--gris);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.back-btn:hover {
    background: var(--verde);
    transform: translateX(-3px);
}

/* =========================
   HERO (páginas internas)
========================= */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* =========================
   HERO VIDEO (index)
========================= */
.hero-video {
    position: relative;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-fallback {
    position: absolute;
    inset: 0;
    background: url("../assets/images/fondo.jpg") center/cover no-repeat;
    background-color: var(--fondo);
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(27,55,35,0.45) 0%,
        rgba(27,55,35,0.25) 50%,
        rgba(27,55,35,0.65) 100%
    );
    z-index: 1;
}

.hero-video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 780px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--acento);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero-video-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}

.hero-video-content h1 strong {
    font-weight: 700;
    color: var(--acento);
}

.hero-video-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto 36px;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}

.btn-hero-primary {
    background: white;
    color: var(--verde-oscuro);
    font-weight: 600;
    border-radius: 100px;
    padding: 14px 32px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-hero-primary:hover {
    background: var(--acento);
    color: var(--verde-oscuro);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-hero-ghost {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.45);
    color: white;
    border-radius: 100px;
    padding: 14px 32px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-hero-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-3px);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.45);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: scrollBounce 2.5s ease-in-out infinite;
}

.hero-scroll-hint::after {
    content: "";
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* =========================
   MÉTRICAS BAR (index)
========================= */
.metrics-bar {
    background: var(--negro);
}

.metrics-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.metric-item {
    padding: 44px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s;
}

.metric-item:last-child {
    border-right: none;
}

.metric-item:hover {
    background: rgba(168,213,181,0.07);
}

.metric-num {
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 700;
    color: var(--acento);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.metric-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

/* =========================
   MÓDULOS (index)
========================= */
.modules {
    background: var(--fondo);
    padding: 90px 0;
}

.modules-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--verde);
    display: block;
    margin-bottom: 12px;
}

.modules-header h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--negro);
    font-weight: 300;
    letter-spacing: -0.01em;
}

.modules-header h2 strong {
    font-weight: 700;
}

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

.module-card {
    background: white;
    border-radius: 20px;
    padding: 40px 32px;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s, box-shadow 0.35s;
    box-shadow: var(--shadow-sm);
    color: inherit;
}

.module-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--verde), var(--acento));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.module-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.module-card:hover::before {
    transform: scaleX(1);
}

.module-number {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--verde);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 22px;
    display: block;
}

.module-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.module-card h3 {
    font-size: 1.2rem;
    color: var(--negro);
    font-weight: 600;
    margin-bottom: 10px;
}

.module-card p {
    font-size: 0.88rem;
    color: var(--gris);
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 28px;
}

.module-arrow {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--verde);
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.module-arrow span {
    transition: transform 0.2s;
}

.module-card:hover .module-arrow span {
    transform: translateX(5px);
}

/* =========================
   VIDEO SECTION (index)
========================= */
.video-section {
    background: var(--blanco);
    padding: 90px 0;
}

.video-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.video-text h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--negro);
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.video-text h2 strong {
    font-weight: 700;
}

.video-text p {
    color: var(--gris);
    font-size: 0.92rem;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 28px;
}

.video-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-embed iframe,
.video-embed video {
    width: 100%;
    height: 300px;
    display: block;
    border: none;
    object-fit: cover;
}

.video-section-alt {
    background: var(--fondo);
}

.video-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.video-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.video-grid-caption {
    text-align: center;
    color: var(--gris);
    font-size: 0.9rem;
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .video-grid-2,
    .video-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* =========================
   CTA STRIP (index)
========================= */
.cta-strip {
    background: var(--verde);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 100% at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.cta-strip h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: white;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.cta-strip h2 strong {
    font-weight: 700;
}

.cta-strip p {
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
    font-weight: 300;
}

.cta-strip .btn.primary {
    background: white;
    color: var(--verde-oscuro);
    font-weight: 600;
    border-radius: 100px;
    padding: 14px 36px;
}

.cta-strip .btn.primary:hover {
    background: var(--acento);
    color: var(--verde-oscuro);
}

/* =========================
   RETO
========================= */
.reto {
    background: url("../assets/images/fondo.jpg") center/cover no-repeat;
    position: relative;
    text-align: center;
}

.reto .overlay {
    background: rgba(0,0,0,0.6);
    padding: 80px 20px;
    color: white;
}

.reto h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.reto p {
    max-width: 600px;
    margin: 0 auto 20px auto;
}

/* =========================
   GRID
========================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* =========================
   CARDS
========================= */
.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-icon,
.pitch-icon,
.problem-item img,
.model-box img,
.metric-card img,
.compare-box img {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
}

/* =========================
   MÉTRICAS (páginas internas)
========================= */
.metrics {
    background: var(--gris-claro);
}

.metric-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: 0.3s;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-card h3 {
    font-size: 28px;
    color: var(--verde);
}

/* =========================
   COMPARACIÓN
========================= */
.comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.compare-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

/* =========================
   PROCESO
========================= */
.process {
    background: var(--gris-claro);
}

.steps {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.step {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.step span {
    display: inline-block;
    background: var(--verde);
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.steps img,
.process img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
}

.step img {
    transition: 0.3s;
}

.step:hover img {
    transform: scale(1.05);
}

.step h4 {
    margin-top: 10px;
}

/* =========================
   DASHBOARD
========================= */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.widget {
    background: white;
    padding: 20px;
    border-radius: 12px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.widget img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* =========================
   TABS
========================= */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 15px;
    background: var(--gris);
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.tab-btn.active {
    background: var(--verde);
}

/* =========================
   ALERTA
========================= */
.alert-card {
    max-width: 400px;
    margin: 60px auto;
    text-align: center;
    background: white;
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.alert-card img {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.alert-card h4 { margin-bottom: 8px; }
.alert-card p  { margin-bottom: 15px; }

.alert-card .btn {
    margin-top: 10px;
}

.tab-content#alertas {
    display: flex;
    justify-content: center;
}

/* =========================
   CTA (páginas internas)
========================= */
.cta {
    text-align: center;
}

/* =========================
   MODAL
========================= */
.modal {
    display: none;
    position: fixed;
    background: rgba(0,0,0,0.7);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.3s ease;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}

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

/* =========================
   FOOTER
========================= */
.footer {
    text-align: center;
    padding: 25px;
    background: var(--verde);
    color: white;
    margin-top: 40px;
}

/* =========================
   PROTOTIPO
========================= */
.prototipo {
    padding: 60px 0;
    text-align: center;
}

.prototipo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prototipo-container h1 {
    color: var(--verde);
    margin-bottom: 25px;
}

.mockup-box {
    background: var(--fondo);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 900px;
    width: 100%;
}

.mockup-box img {
    width: 100%;
    max-width: 700px;
    border-radius: 15px;
}

.copy {
    margin-top: 20px;
    font-size: 13px;
    color: var(--gris);
}

/* =========================
   ANIMACIONES
========================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal.active.reveal-left,
.reveal.active.reveal-right {
    transform: translateX(0);
}

.floating {
    animation: float 4s ease-in-out infinite;
}

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

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

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* =========================
   COMPARACIÓN PRO
========================= */
.comparison-pro {
    padding: 80px 0;
    text-align: center;
}

.comparison-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.comparison-card {
    flex: 1;
    padding: 40px;
    border-radius: 20px;
    text-align: left;
    transition: 0.3s;
}

.old {
    background: var(--negro);
    color: white;
}

.new {
    background: linear-gradient(135deg, var(--verde), var(--verde-oscuro));
    color: white;
}

.comparison-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* =========================
   FLOW
========================= */
.flow-line {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.flow-item {
    width: 30%;
}

.circle {
    width: 55px;
    height: 55px;
    background: var(--verde);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 15px;
}

/* =========================
   DASHBOARD PRO
========================= */
.dashboard-pro {
    background: var(--gris-claro);
    padding: 80px 0;
}

.dashboard-flex {
    display: flex;
    gap: 40px;
    align-items: center;
}

.dashboard-visual img {
    width: 100%;
    border-radius: 15px;
}

/* =========================
   IMPACTO (otras páginas)
========================= */
.impact-hero {
    background: linear-gradient(135deg, var(--verde), var(--verde-oscuro));
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.metrics-flex {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.big-metric h2 {
    font-size: 3rem;
    color: var(--verde);
}

.impact-graph {
    text-align: center;
}

.graph {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    height: 250px;
    margin-top: 40px;
}

.bar {
    width: 80px;
    background: var(--acento);
    border-radius: 10px 10px 0 0;
    position: relative;
}

.bar.active {
    background: var(--verde);
}

.bar span {
    position: absolute;
    bottom: -25px;
    width: 100%;
    text-align: center;
}

.impact-flex {
    display: flex;
    justify-content: space-around;
}

.impact-box {
    flex: 1;
    padding: 30px;
    border-radius: 15px;
    background: var(--gris-claro);
    text-align: center;
    transition: 0.3s;
}

.impact-box:hover {
    transform: translateY(-8px);
}

.impact-item h2 {
    font-size: 3rem;
    color: var(--negro);
}

/* =========================
   PROBLEMAS (otras páginas)
========================= */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

/* =========================
   FINANZAS (otras páginas)
========================= */
.finanzas {
    text-align: center;
}

.finance-grid {
    display: flex;
    justify-content: space-around;
}

.finance-box {
    background: var(--gris-claro);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.finance-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 50px;
    margin-top: 60px;
    height: 300px;
}

.bar-fill {
    width: 70px;
    height: 0;
    background: linear-gradient(to top, var(--verde-oscuro), var(--verde));
    border-radius: 12px 12px 0 0;
    transition: height 1.5s ease;
}

.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.bar-item span {
    display: block;
    margin-top: 12px;
    font-weight: bold;
    font-size: 18px;
}

.bar-item p {
    font-size: 14px;
    color: var(--gris);
}

/* =========================
   ESCALABILIDAD (otras páginas)
========================= */
.escalabilidad {
    padding: 80px 0;
}

.escala-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.escala-text {
    flex: 1;
}

.escala-text h2 {
    margin-bottom: 15px;
}

.escala-text ul {
    margin-top: 15px;
    padding-left: 20px;
}

.escala-text li {
    margin-bottom: 8px;
}

.escala-img {
    flex: 1;
}

.escala-img img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* =========================
   SOLUCIÓN / SPLIT
========================= */
.titulo-solucion {
    font-size: 2rem;
    margin-bottom: 10px;
}

.desc {
    color: var(--gris);
    margin-bottom: 20px;
}

.split {
    display: flex;
    align-items: center;
    gap: 50px;
}

.split-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    display: block;
}

.split-text {
    max-width: 500px;
}

.split-text h3 {
    margin-bottom: 10px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 15px;
    border-radius: 10px;
    transition: 0.3s;
}

.feature-item:hover {
    transform: translateX(8px);
    background: var(--verde-claro);
}

/* =========================
   MODELO (otras páginas)
========================= */
.modelo {
    text-align: center;
}

.titulo {
    margin-bottom: 30px;
}

.modelo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.modelo-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    transition: 0.35s;
    position: relative;
    overflow: hidden;
}

.modelo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(27,127,92,0.2), transparent);
    opacity: 0;
    transition: 0.3s;
}

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

.modelo-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.modelo-card img {
    width: 60px;
    margin-bottom: 15px;
}

/* =========================
   MISC
========================= */
.img-grande {
    width: 50%;
    max-width: 200px;
    display: block;
    margin: 30px auto;
    border-radius: 95px;
}

/* =========================================
   PITCH PAGE — clases exclusivas pitch-*
========================================= */
.pitch-tag {
    display: inline-block;
    background: var(--verde-claro);
    color: var(--verde);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.pitch-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--verde);
    margin-bottom: 10px;
}

.pitch-section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: var(--negro);
    margin-bottom: 48px;
    max-width: 520px;
    line-height: 1.2;
}

.pitch-intro {
    padding: 100px 0;
    background: var(--blanco);
}

.pitch-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pitch-intro-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--negro);
    line-height: 1.2;
    margin-bottom: 16px;
}

.pitch-intro-text p {
    color: var(--gris);
    font-weight: 300;
    max-width: 420px;
}

.pitch-intro-img {
    position: relative;
}

.pitch-intro-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

.pitch-intro-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--verde);
    color: white;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    max-width: 180px;
    line-height: 1.4;
}

.pitch-intro-badge strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.pitch-problemas {
    padding: 100px 0;
    background: var(--fondo);
}

.pitch-problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pitch-problem-card {
    background: var(--blanco);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid transparent;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.pitch-problem-card:hover {
    border-top-color: var(--verde);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.pitch-problem-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
}

.pitch-problem-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--negro);
    margin-bottom: 6px;
}

.pitch-problem-card p {
    font-size: 0.85rem;
    color: var(--gris);
    font-weight: 300;
}

.pitch-solucion {
    padding: 100px 0;
    background: var(--blanco);
}

.pitch-solucion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pitch-solucion-img {
    position: relative;
}

.pitch-solucion-img::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--acento);
    border-radius: var(--radius-lg);
    z-index: 0;
}

.pitch-solucion-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

.pitch-solucion-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--negro);
    line-height: 1.2;
    margin-bottom: 14px;
}

.pitch-desc {
    color: var(--gris);
    font-weight: 300;
    margin-bottom: 30px;
    max-width: 420px;
}

.pitch-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pitch-feature-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 14px;
    background: var(--fondo);
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--verde);
    transition: background 0.2s, transform 0.2s;
}

.pitch-feature-item:hover {
    background: var(--verde-claro);
    transform: translateX(6px);
}

.pitch-feature-num {
    width: 28px;
    height: 28px;
    background: var(--verde);
    color: white;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pitch-feature-item p {
    font-size: 0.9rem;
    color: var(--negro);
    margin: 0;
}

.pitch-impacto {
    padding: 100px 0;
    background: var(--verde-oscuro);
    position: relative;
    overflow: hidden;
}

.pitch-impacto::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168,213,181,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.pitch-impacto .pitch-section-label {
    color: var(--acento);
}

.pitch-impacto .pitch-section-title {
    color: var(--blanco);
}

.pitch-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.pitch-metric-box {
    background: rgba(255,255,255,0.06);
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.pitch-metric-box:hover {
    background: rgba(168,213,181,0.15);
}

.pitch-metric-value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--acento);
    display: block;
    margin-bottom: 8px;
}

.pitch-metric-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pitch-modelo {
    padding: 100px 0;
    background: var(--fondo);
}

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

.pitch-modelo-card {
    background: var(--blanco);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s, box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}

.pitch-modelo-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--verde), var(--acento));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.pitch-modelo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pitch-modelo-card:hover::after {
    transform: scaleX(1);
}

.pitch-modelo-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.pitch-modelo-card h3 {
    font-size: 1.3rem;
    color: var(--negro);
    margin-bottom: 8px;
}

.pitch-modelo-card p {
    font-size: 0.9rem;
    color: var(--gris);
    font-weight: 300;
}

.pitch-finanzas {
    padding: 100px 0;
    background: var(--blanco);
}

.pitch-finance-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
}

.pitch-finance-desc p {
    color: var(--gris);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 28px;
}

.pitch-finance-legend {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pitch-legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pitch-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pitch-legend-item span {
    font-size: 0.9rem;
    color: var(--negro);
}

.pitch-legend-item strong {
    margin-left: auto;
    font-size: 0.95rem;
    color: var(--negro);
}

.pitch-finance-bars {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    height: 280px;
}

.pitch-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    height: 100%;
}

.pitch-bar-fill {
    width: 100%;
    height: 0;
    background: linear-gradient(to top, var(--verde-oscuro), var(--verde));
    border-radius: 10px 10px 0 0;
    transition: height 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pitch-bar-label {
    margin-top: 10px;
    text-align: center;
}

.pitch-bar-label strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--negro);
}

.pitch-bar-label p {
    font-size: 0.78rem;
    color: var(--gris);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pitch-escalabilidad {
    padding: 100px 0;
    background: var(--fondo);
}

.pitch-escala-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pitch-escala-text p {
    color: var(--gris);
    font-weight: 300;
    margin-bottom: 28px;
}

.pitch-escala-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pitch-escala-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--negro);
}

.pitch-escala-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--verde);
    flex-shrink: 0;
}

.pitch-escala-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

.pitch-highlight {
    padding: 120px 20px;
    background: var(--verde);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pitch-highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 80% 0%, rgba(255,255,255,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 20% 100%, rgba(0,0,0,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.pitch-highlight blockquote {
    position: relative;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--blanco);
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.3;
}

.pitch-highlight blockquote::before {
    content: "\201C";
    font-size: 6rem;
    color: rgba(255,255,255,0.15);
    line-height: 0;
    display: block;
    height: 40px;
    margin-bottom: 20px;
}

.pitch-cta {
    padding: 100px 0;
    background: var(--blanco);
    text-align: center;
}

.pitch-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: var(--negro);
    margin-bottom: 12px;
}

.pitch-cta p {
    color: var(--gris);
    font-weight: 300;
    margin-bottom: 36px;
}

.pitch-cta .btn.primary {
    border-radius: 100px;
    padding: 16px 36px;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(27,127,92,0.3);
}

.pitch-cta .btn.primary:hover {
    background: var(--verde-oscuro);
    box-shadow: 0 8px 30px rgba(27,127,92,0.45);
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
    .video-section-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pitch-intro-grid,
    .pitch-solucion-grid,
    .pitch-finance-wrap,
    .pitch-escala-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pitch-solucion-img { order: -1; }
    .pitch-solucion-img::before { display: none; }

    .pitch-intro-img img,
    .pitch-solucion-img img,
    .pitch-escala-img img { height: 300px; }

    .pitch-intro-badge { bottom: 12px; left: 12px; }

    .pitch-problem-grid { grid-template-columns: 1fr 1fr; }

    .pitch-modelo-grid,
    .pitch-metrics-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-grid,
    .grid-3,
    .comparison,
    .dashboard-grid,
    .modelo-grid,
    .impact-grid,
    .problem-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }

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

    .metric-item:nth-child(2) { border-right: none; }
    .metric-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .metric-item:nth-child(3),
    .metric-item:nth-child(4) { border-bottom: none; }

    .steps,
    .comparison-grid,
    .finance-grid,
    .impact-flex,
    .metrics-flex,
    .flow-line,
    .escala-grid,
    .split,
    .dashboard-flex {
        flex-direction: column;
    }

    .flow-item,
    .impact-box,
    .finance-box { width: 100%; }

    .split-text { max-width: 100%; }

    .nav-links { display: none; }
    .menu-toggle { display: block; }

    .widget { min-height: auto; }

    .finance-bars { gap: 20px; }
    .graph { gap: 15px; }

    .big-metric h2,
    .impact-item h2 { font-size: 2rem; }
}

@media (max-width: 580px) {
    .pitch-problem-grid { grid-template-columns: 1fr; }
    .pitch-finance-bars { height: 200px; }
    .pitch-hero h1 { font-size: 2.5rem; }
    .pitch-highlight blockquote { font-size: 1.4rem; }

    .hero-video-content h1 { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: center; }
}
