/* ===== BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Mapeo a "Estetica Oscura" (Academy by Physica) */
    --black: #0D1B2A;          /* bg principal */
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --gray: #162236;           /* bg-card — fondo de slides */
    --gray-mid: #1C2E45;       /* bg-secondary */
    --bg-secondary: #1C2E45;
    --gray-light: #8A9BB0;     /* text-secondary */
    --accent: #8B0000;         /* accent-red — dominante de marca */
    --accent-hover: #A50000;
    --accent-blue: #2D6BE4;    /* azul secundario para datos/destacados */
    --accent-blue-hover: #3B7BF4;
    --border: #1E3A5F;         /* accent-border */
    --bg-tag: #1A3050;

    /* Verde rico — acento principal del pitch */
    --green-rich: #10B981;
    --green-rich-deep: #043D2F;             /* sólido darker, fallback */
    --green-rich-bg: rgba(4, 61, 47, 0.82); /* bg translúcido para cajas verdes */

    /* Amber highlight — ubicación + cupos */
    --amber: #fdd200;

    --shadow: 0 4px 32px rgba(0,0,0,0.35);
    --shadow-hover: 0 12px 48px rgba(0,0,0,0.55);

    --radius-card: 14px;
    --radius-btn: 12px;
    --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--black);
}

h1, h2, h3, h4 {
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.01em;
    font-weight: 800;
}

/* ===== LANDING PAGE (index.html) ===== */
.landing-body {
    background: var(--black);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.pitch-launch-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    background: var(--gray);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 64px 56px;
    max-width: 520px;
    width: 100%;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.pitch-launch-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-hover), 0 0 0 1px var(--accent);
    border-color: var(--accent);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(139,0,0,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.card-logo {
    height: 72px;
    margin-bottom: 36px;
    opacity: 0.95;
}

.card-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--green-rich);
    margin-bottom: 18px;
}

.pitch-launch-card h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.6rem, 3.6vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: 0.01em;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--white);
}

.card-tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.01em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-light);
    max-width: 420px;
    line-height: 1.5;
    white-space: nowrap;
}

.card-divider {
    width: 48px;
    height: 2px;
    background: var(--green-rich);
    margin: 28px 0;
    opacity: 0.8;
}

.card-cta {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--white);
    background: var(--green-rich-deep);
    border: 1px solid var(--green-rich-deep);
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    transition: background 0.3s, border-color 0.3s;
}

.pitch-launch-card:hover .card-cta {
    background: var(--green-rich);
    border-color: var(--green-rich);
}

.landing-footer {
    text-align: center;
    padding: 20px;
}

.landing-footer p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.1em;
}

/* ===== PRESENTATION (pitch.html) ===== */
.pitch-body {
    background: var(--black);
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Deck */
.deck {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Individual slide */
.slide {
    display: none;
    position: absolute;
    inset: 0;
    background: var(--gray);
}

.slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideFade 0.4s ease;
}

.slide.active .slide-content {
    animation: fadeIn 0.5s ease-out;
}

@keyframes slideFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* 16:9 inner frame */
.slide-content {
    width: 100%;
    max-width: min(1280px, calc((100vh - 120px) * 16 / 9));
    padding: clamp(28px, 4.5vh, 56px) clamp(36px, 6vw, 88px);
    position: relative;
    z-index: 1;
}

.slide-content.slide-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Watermark logo bottom-right */
.slide-watermark {
    position: absolute;
    bottom: 28px;
    right: 36px;
    height: 32px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* Cover slide */
.slide-logo-big {
    height: 96px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.slide-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: 0.005em;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--white);
    max-width: 1000px;
}

.slide-hero-sub {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    font-weight: 400;
    color: var(--gray-light);
    margin-bottom: 0;
    line-height: 1.5;
    max-width: 680px;
}

.slide-hero-affirm {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.78rem, 1vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-rich);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 6px 14px;
    border-radius: 9999px;
    margin-top: 18px;
}

.slide-hero-line {
    width: 60px;
    height: 2px;
    background: var(--accent);
    margin: 32px 0;
    opacity: 0.8;
}

.slide-hero-author {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

/* Tags — estilo eyebrow */
.slide-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 18px;
}

.slide-tag--propuesta {
    color: var(--white);
    background: var(--accent-blue);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    border: none;
}

/* Slide typography */
.slide h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--white);
}

.slide p {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
    margin-bottom: 18px;
    max-width: 860px;
    font-weight: 400;
}

.slide p strong {
    color: var(--white);
    font-weight: 600;
}

/* Two column layout */
.slide-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 8px;
}

/* Table */
.slide-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: clamp(0.95rem, 1.25vw, 1.15rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.slide-table th {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: left;
    padding: 14px 20px;
    background: var(--gray-mid);
    color: var(--gray-light);
    border-bottom: 1px solid var(--border);
}

.slide-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: rgba(255,255,255,0.75);
    vertical-align: top;
}

.slide-table tr:last-child td { border-bottom: none; }

.row-highlight td {
    background: var(--green-rich-bg);
    color: var(--white);
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.row-highlight td strong {
    color: var(--white);
    font-weight: 700;
}

/* UL compacto dentro de celdas de tabla (slide 4) */
.slide-table td ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide-table td ul li {
    position: relative;
    padding: 4px 0 4px 14px;
    line-height: 1.45;
}

.slide-table td ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.75;
}

/* Footnote */
.slide-footnote {
    font-size: clamp(0.85rem, 1.1vw, 1rem) !important;
    color: var(--gray-light) !important;
    border-left: 2px solid var(--accent);
    padding-left: 16px;
    margin-top: 20px !important;
    font-style: normal;
    font-weight: 400;
}

/* Bullet list */
.slide-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    text-align: left;
}

.slide-bullets li {
    position: relative;
    padding: clamp(12px, 1.4vh, 18px) 0 clamp(12px, 1.4vh, 18px) 28px;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.5;
    color: rgba(255,255,255,0.78);
    border-bottom: 1px solid var(--border);
    font-weight: 400;
}

.slide-bullets li:last-child { border-bottom: none; }

.slide-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 22px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0.9;
}

.slide-bullets li strong {
    color: var(--white);
    font-weight: 600;
}

.slide-bullets.steps li::before {
    border-radius: 50%;
    background: var(--accent-blue);
    opacity: 1;
}

.slide-bullets.compact li {
    padding: 10px 0 10px 24px;
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    border-bottom: none;
}

.slide-bullets.compact li::before {
    top: 18px;
    width: 6px;
    height: 6px;
}

/* Metrics grid */
.slide-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 8px;
}

.s-metric {
    text-align: center;
    padding: 28px 16px;
    background: var(--gray-mid);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition: border-color 0.25s ease;
}

.s-metric:hover {
    border-color: var(--accent);
}

.s-metric-num {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 10px;
}

.s-metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: var(--green-rich);
    margin: 0 auto 12px;
}

.s-metric-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.s-metric-lbl {
    font-size: clamp(0.75rem, 0.95vw, 0.9rem);
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    line-height: 1.3;
    display: block;
}

/* Canje box */
.slide-canje-box {
    padding: 36px 48px;
    background: var(--gray-mid);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    margin-bottom: 28px;
    max-width: 640px;
    width: 100%;
}

.slide-canje-amount {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    white-space: nowrap;
    line-height: 1;
}

.slide-canje-fmt {
    font-size: clamp(0.9rem, 1.15vw, 1.1rem);
    color: var(--gray-light);
    letter-spacing: 0.02em;
}

/* Closing */
.slide-closing {
    margin-top: 32px;
    padding: 28px 32px;
    background: var(--gray-mid);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    max-width: 640px;
}

.slide-closing p {
    color: rgba(255,255,255,0.8) !important;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem) !important;
    margin-bottom: 12px !important;
}

.slide-closing-end {
    font-weight: 700 !important;
    color: var(--accent) !important;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem) !important;
    margin-bottom: 0 !important;
    letter-spacing: 0.02em;
}

.slide-logo-bottom {
    height: 40px;
    opacity: 0.6;
    margin-top: 32px;
}

/* Back link */
.deck-back {
    position: fixed;
    top: 24px;
    left: 28px;
    z-index: 100;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gray-light);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-btn);
    background: rgba(13,27,42,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    transition: color 0.25s, background 0.25s, border-color 0.25s;
}

.deck-back:hover {
    color: var(--white);
    background: var(--accent);
    border-color: var(--accent);
}

/* Deck controls */
.deck-controls {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
    background: rgba(13,27,42,0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 24px;
    border-radius: 9999px;
    border: 1px solid var(--border);
}

.deck-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, border-color 0.25s;
}

.deck-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.deck-btn:disabled {
    opacity: 0.2;
    cursor: default;
    pointer-events: none;
}

.deck-counter {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--gray-light);
    min-width: 50px;
    text-align: center;
}

.deck-sep {
    opacity: 0.4;
    margin: 0 2px;
}

/* Progress bar */
.deck-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(30,58,95,0.4);
    z-index: 100;
}

.deck-progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.4s ease;
    opacity: 0.9;
}

/* ===== VERDE RICO — utilitarias ===== */
.text-green-rich { color: var(--green-rich); }
.bg-green-rich-deep { background-color: var(--green-rich-deep); color: var(--white); }

/* Footnote estilo barra verde (fallback legacy) */
.slide-footnote--bar {
    background: var(--green-rich-deep);
    color: var(--white) !important;
    padding: 14px 20px !important;
    border-radius: 10px;
    margin-top: 24px !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-left: none !important;
    font-style: normal !important;
}

/* Footnote/banner estilo ámbar (slide 4 ubicación + slide 10 cupos) */
.slide-footnote--amber {
    background: var(--amber) !important;
    color: #0A1628 !important;
    padding: 14px 20px !important;
    border-radius: 10px;
    margin-top: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    border-left: none !important;
    font-style: normal !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 0 0 1px rgba(253, 210, 0, 0.6);
    line-height: 1.45;
}

/* Tarjeta de cierre en verde profundo (slide 11) */
.slide-closing-card {
    background: var(--green-rich-bg);
    color: var(--white);
    padding: 24px 36px;
    border-radius: 14px;
    font-weight: 600;
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.55;
    margin-top: 24px;
    max-width: 620px;
    text-align: justify;
    text-align-last: center;
    text-wrap: balance;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(16,185,129,0.22);
}

.slide-closing-card p {
    color: var(--white) !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: 600 !important;
    max-width: none !important;
    text-align: justify;
    text-align-last: center;
}

.slide-closing-standalone {
    font-weight: 700 !important;
    color: var(--white) !important;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem) !important;
    letter-spacing: 0.02em;
    margin-top: 20px !important;
}

/* Mailto en steps */
.mail-link {
    color: var(--green-rich);
    text-decoration: none;
    font-weight: 600;
    transition: text-decoration 0.2s ease, color 0.2s ease;
}
.mail-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Subhead "Formas de pago" (slide 10) */
.slide-paysub {
    color: var(--green-rich);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 700;
    margin-top: 22px;
    margin-bottom: 8px;
}

/* Monto en verde rico (slide 10) */
.slide-canje-amount.is-green {
    color: var(--green-rich);
    font-weight: 800;
}

/* ===== SLIDE 4 — MODULE CARDS ===== */
.slide-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 8px 0 20px;
}
.module-card {
    background: var(--gray-mid);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    position: relative;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.module-card:hover {
    border-color: var(--green-rich);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(16,185,129,0.15);
}
.module-icon {
    display: inline-flex;
    color: var(--green-rich);
    margin-bottom: 14px;
}
.module-icon svg { display: block; }
.module-step {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}
.module-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
}
.module-focus {
    font-size: 0.95rem !important;
    color: var(--gray-light) !important;
    line-height: 1.5;
    margin-bottom: 0 !important;
    max-width: none !important;
}

/* ===== SLIDE 8 — BULLETS STACKED ===== */
.slide-bullets--stacked li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 8px;
}
.slide-bullets--stacked li strong {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: var(--white);
    line-height: 1.3;
}
.slide-bullets--stacked li span {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ===== SLIDE 9 — TAKEAWAY CARDS (GLOW) ===== */
.slide-takeaways {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 8px 0 20px;
}
.takeaway-card {
    position: relative;
    padding: 32px 26px;
    background: linear-gradient(160deg, rgba(16,185,129,0.08) 0%, rgba(4,61,47,0.55) 100%);
    border: 1px solid rgba(16,185,129,0.28);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.takeaway-card::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(circle at 30% 30%, rgba(16,185,129,0.22) 0%, transparent 55%);
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.4s ease;
}
.takeaway-card:hover {
    border-color: rgba(16,185,129,0.65);
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(16,185,129,0.25), 0 0 0 1px rgba(16,185,129,0.35);
}
.takeaway-card:hover::before { opacity: 1; }
.takeaway-icon {
    display: inline-flex;
    color: var(--green-rich);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 12px rgba(16,185,129,0.45));
    position: relative;
    z-index: 1;
}
.takeaway-icon svg { display: block; }
.takeaway-title {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
}
.takeaway-desc {
    position: relative;
    z-index: 1;
    font-size: 0.95rem !important;
    color: rgba(255,255,255,0.8) !important;
    line-height: 1.55;
    margin-bottom: 0 !important;
    max-width: none !important;
}

/* ===== SLIDE 10 — PRICING CARDS ===== */
.slide-pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    width: 100%;
    max-width: 720px;
    margin-bottom: 24px;
}
.price-card {
    background: var(--gray-mid);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    text-align: center;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover {
    border-color: var(--green-rich);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(16,185,129,0.18);
}
.price-region {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.price-amount {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 8px;
}
.price-amount.is-green { color: var(--green-rich); }
.price-fmt {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-light);
    letter-spacing: 0.02em;
}

/* ===== FADE IN (observer-based, Base compatibility) ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* iOS Safari — usar dvh donde esté disponible */
.pitch-body { height: 100vh; height: 100dvh; }

/* Pill del cover: una sola línea siempre */
.slide-hero-affirm { white-space: nowrap; }

/* ========== TABLET — iPad ========== */
@media (max-width: 1024px) {
    .slide-content { padding: 36px 40px; max-width: 100%; }
    .slide-hero-title { font-size: clamp(2.2rem, 5.6vw, 3.6rem); line-height: 1.05; }
    .slide-hero-sub   { font-size: 1rem; }
    .slide-hero-affirm { font-size: 0.78rem; padding: 5px 12px; }
    .slide h2         { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; }
    .slide p          { font-size: clamp(0.95rem, 1.5vw, 1.15rem); }
    .slide-two-col    { grid-template-columns: 1fr 1fr; gap: 22px; }
    .slide-metrics    { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .slide-modules    { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .module-card      { padding: 22px 18px; }
    .slide-takeaways  { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .takeaway-card    { padding: 24px 20px; }
    .slide-pricing    { grid-template-columns: 1fr 1fr; gap: 14px; }
    .price-card       { padding: 24px 20px; }
    .s-metric-num     { font-size: 2.2rem; }
    .slide-canje-amount { font-size: clamp(3rem, 9vw, 5.5rem); }
    .slide-logo-big   { max-width: 180px; height: auto; }
    .slide-watermark  { max-width: 60px; height: auto; opacity: 0.18; }
    .deck-controls    { bottom: 22px; }
}

/* ========== MOBILE — iPhone estándar ========== */
@media (max-width: 767px) {
    /* Deck y contenedor — scroll interno con fallback dvh */
    .slide-content {
        padding: 20px 18px 92px;
        overflow-y: auto;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
    }
    .slide.active { align-items: flex-start; }

    /* Scrollbar custom (WebKit) */
    .slide-content::-webkit-scrollbar { width: 3px; }
    .slide-content::-webkit-scrollbar-thumb { background: rgba(16,185,129,0.5); border-radius: 2px; }

    /* Cover */
    .slide-hero-title { font-size: clamp(1.9rem, 8vw, 2.6rem); letter-spacing: 0; }
    .slide-hero-sub   { font-size: 0.9rem; }
    .slide-hero-affirm { font-size: 0.7rem; letter-spacing: 0.12em; padding: 5px 11px; margin-top: 14px; }
    .slide-logo-big   { max-width: 130px; margin-bottom: 28px; }
    .slide-hero-line  { margin: 24px 0; }

    /* Tipografía slides */
    .slide h2   { font-size: 1.45rem; line-height: 1.2; margin-bottom: 16px; }
    .slide p    { font-size: 0.95rem; line-height: 1.55; }
    .slide-tag  { font-size: 0.66rem; letter-spacing: 0.14em; margin-bottom: 12px; }

    /* Layouts que se apilan a 1 col */
    .slide-two-col    { grid-template-columns: 1fr; gap: 14px; }
    .slide-metrics    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .slide-modules    { grid-template-columns: 1fr; gap: 12px; }
    .slide-takeaways  { grid-template-columns: 1fr; gap: 12px; }
    .slide-pricing    { grid-template-columns: 1fr; gap: 12px; }

    /* Métricas */
    .s-metric        { padding: 16px 10px; }
    .s-metric-num    { font-size: 1.6rem; }
    .s-metric-icon svg { width: 40px; height: 40px; }
    .s-metric-lbl    { font-size: 0.72rem; line-height: 1.3; }

    /* Bullets */
    .slide-bullets li { font-size: 0.92rem; line-height: 1.5; padding: 12px 0 12px 24px; }
    .slide-bullets li::before { top: 18px; width: 6px; height: 6px; }
    .slide-bullets.compact li { padding: 8px 0 8px 20px; font-size: 0.88rem; }

    /* Slide 8 — stacked */
    .slide-bullets--stacked li { padding: 12px 0; gap: 2px; }
    .slide-bullets--stacked li strong { font-size: 0.95rem; line-height: 1.3; }
    .slide-bullets--stacked li span { font-size: 0.85rem; line-height: 1.5; overflow-wrap: anywhere; }

    /* Slide 4 module cards */
    .module-card { padding: 18px 16px; }
    .module-icon svg { width: 40px; height: 40px; }
    .module-title { font-size: 1.1rem; }
    .module-focus { font-size: 0.86rem !important; }

    /* Slide 9 takeaway cards */
    .takeaway-card { padding: 20px 18px; }
    .takeaway-icon svg { width: 40px; height: 40px; }
    .takeaway-title { font-size: 1.05rem; }
    .takeaway-desc { font-size: 0.86rem !important; line-height: 1.5; }

    /* Slide 10 pricing */
    .price-card   { padding: 20px 16px; }
    .price-amount { font-size: 1.7rem; }
    .price-fmt    { font-size: 0.82rem; }
    .price-region { font-size: 0.66rem; }

    /* Slide 10 canje legacy (si queda) */
    .slide-canje-box     { padding: 24px 18px; }
    .slide-canje-amount  { font-size: 3rem; line-height: 1; }
    .slide-canje-fmt     { font-size: 0.85rem; }

    /* Slide 10 banner ámbar */
    .slide-footnote--amber { padding: 12px 14px !important; font-size: 0.85rem !important; line-height: 1.45; }

    /* Slide 11 closing card */
    .slide-closing-card {
        padding: 20px 18px;
        font-size: 0.92rem;
        line-height: 1.5;
        max-width: 100%;
        text-align: left;
        text-align-last: left;
    }
    .slide-closing-card p {
        text-align: left;
        text-align-last: left;
    }
    .slide-closing-standalone { font-size: 1rem !important; margin-top: 16px !important; padding: 0 6px; }

    /* Logos */
    .slide-logo-bottom { max-width: 80px; }
    .slide-watermark   { max-width: 40px; opacity: 0.3; top: auto; bottom: 14px; right: 14px; }

    /* Controles */
    .deck-controls { bottom: 14px; padding: 6px 10px; gap: 10px; }
    .deck-btn      { width: 42px; height: 42px; font-size: 1.1rem; }
    .deck-counter  { font-size: 0.78rem; }
    .deck-back     { top: 12px; left: 12px; font-size: 0.75rem; padding: 7px 11px; }
    .deck-progress { height: 2px; }

    /* Index landing */
    .pitch-launch-card { padding: 36px 22px; max-width: 100%; }
    .pitch-launch-card h1 { font-size: 1.55rem; line-height: 1.2; }
    .card-tagline  { font-size: 0.92rem; margin-bottom: 8px; }
    .card-subtitle { font-size: 0.82rem; white-space: normal; max-width: 100%; }
    .card-logo     { max-width: 90px; height: auto; margin-bottom: 22px; }
    .card-eyebrow  { font-size: 0.66rem; margin-bottom: 14px; }
    .card-cta      { font-size: 0.85rem; padding: 10px 22px; }
}

/* ========== iPhone SE / mini (≤389px) ========== */
@media (max-width: 389px) {
    .slide h2           { font-size: 1.25rem; }
    .slide-hero-title   { font-size: 1.7rem; }
    .slide-hero-sub     { font-size: 0.82rem; }
    .slide-hero-affirm  { font-size: 0.64rem; }
    .slide-metrics      { grid-template-columns: 1fr; gap: 8px; }
    .s-metric-num       { font-size: 1.4rem; }
    .slide-canje-amount { font-size: 2.5rem; }
    .price-amount       { font-size: 1.5rem; }
    .pitch-launch-card h1 { font-size: 1.35rem; }
    .slide-content      { padding: 16px 14px 88px; }
}

/* ===== MODAL DE RESERVA ===== */
.reserve-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.reserve-modal.is-open {
    display: flex;
    animation: modalFade 0.25s ease-out;
}
.reserve-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 14, 24, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}
.reserve-modal__panel {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    background: var(--gray);
    border: 1px solid rgba(16,185,129,0.35);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.55),
        0 0 0 1px rgba(16,185,129,0.2),
        0 0 60px rgba(16,185,129,0.15);
    animation: modalPanel 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.1);
}
.reserve-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px 16px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(160deg, rgba(16,185,129,0.12) 0%, transparent 60%);
}
.reserve-modal__heading { display: flex; flex-direction: column; gap: 4px; }
.reserve-modal__eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-rich);
}
.reserve-modal__title {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
}
.reserve-modal__close {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--gray-light);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}
.reserve-modal__close:hover {
    color: var(--white);
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}
.reserve-modal__body {
    flex: 1;
    min-height: 560px;
    background: #FFFFFF;
    position: relative;
    display: flex;
}
.reserve-modal__body iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@keyframes modalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes modalPanel {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

body.reserve-open { overflow: hidden; }

/* Botón-link dentro de steps (slide 11) */
.mail-link--btn {
    background: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}
.steps-alt {
    display: inline;
    color: var(--gray-light);
    font-size: 0.92em;
    margin-left: 4px;
}

@media (max-width: 1024px) {
    .reserve-modal__panel { max-width: 520px; }
    .reserve-modal__body  { min-height: 540px; }
}

@media (max-width: 767px) {
    .reserve-modal { padding: 0; }
    .reserve-modal__panel {
        max-width: 100%;
        width: 100%;
        height: 100%;
        max-height: 100dvh;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .reserve-modal__header { padding: 16px 18px 14px; }
    .reserve-modal__title  { font-size: 1.08rem; }
    .reserve-modal__eyebrow { font-size: 0.62rem; }
    .reserve-modal__close  { width: 34px; height: 34px; }
    .reserve-modal__body   { min-height: 0; flex: 1; }
    .steps-alt { display: block; margin-left: 0; margin-top: 4px; font-size: 0.82rem; }
}

/* Evita desbordes horizontales en todos los breakpoints */
html, body { overflow-x: hidden; }
.slide { overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
