/* ═══════════════════════════════════════════════════════════
   IKAL — Landing de marketing de la PLATAFORMA (B2B)
   Creado 2026-09-02, a pedido expreso — sustituye la landing de
   consumo final que antes vivía en templates/public/landing.html.
   Rediseño visual 2026-09-03 (a pedido expreso: la primera versión
   se veía plana/poco profesional — ver docs/IMPLEMENTACIÓN.md).
   Hoja de estilos aislada (prefijo "mkt-") para no tocar
   static/css/ikal.css, que siguen usando las páginas de reserva
   (booking_step1/2/3/confirm) — ver CLAUDE.md, cambio mínimo.
   Reutiliza la paleta e identidad ya establecida del producto
   (ver static/css/admin.css :root) para mantener consistencia visual.
   ═══════════════════════════════════════════════════════════ */
:root {
  --mkt-teal-dark: #0A4F51; --mkt-teal-mid: #107b7e; --mkt-teal-deep: #042324;
  --mkt-gold: #CBB26A; --mkt-gold-light: #d8c690; --mkt-gold-wash: rgba(203,178,106,.12);
  --mkt-bg: #fbfbf9; --mkt-ink: #16211f; --mkt-ink-soft: #45524f; --mkt-ink-mute: #6b7570;
  --mkt-border: rgba(10,79,81,.13);
  --mkt-radius: 14px;
  --mkt-shadow: 0 10px 30px -12px rgba(4,35,36,.18);
  --mkt-shadow-lg: 0 24px 60px -20px rgba(4,35,36,.28);
}
.mkt { font-family: 'Jost', system-ui, sans-serif; color: var(--mkt-ink); background: var(--mkt-bg); font-size: 16.5px; overflow-x: hidden; }
.mkt a { text-decoration: none; color: inherit; }
/* IMPORTANTE: static/css/ikal.css (cargada globalmente en base.html) define
   un h1,h2,h3,h4 { font-family: var(--font-display) } con un selector de
   etiqueta simple (var(--font-display) resuelve a Cormorant Garamond, serif).
   Esa declaración de font-family, al fijarse DIRECTAMENTE sobre el elemento,
   gana por encima de lo heredado de ".mkt" sin importar la especificidad de
   ".mkt h1" — la especificidad solo decide entre reglas que fijan la MISMA
   propiedad sobre el MISMO elemento, no contra una propiedad heredada. Por
   eso font-family (y font-weight/line-height, mismo caso) se fijan aquí de
   forma explícita en vez de dejarlos heredar de ".mkt". */
.mkt h1, .mkt h2, .mkt h3, .mkt h4 {
  font-family: 'Jost', system-ui, sans-serif; font-weight: 500; line-height: 1.22; margin: 0; letter-spacing: -.01em;
}
/* :where(p) en vez de "p" a secas: mantiene especificidad (0,1,0) — igual a
   la de una sola clase como ".mkt-hero-sub" — para que esas reglas más
   concretas, definidas después en este archivo, sigan ganando por orden de
   aparición en vez de que ESTA regla (por ser ".mkt"+"p", 0,1,1) les gane
   sin querer. Bug real encontrado y corregido en revisión (2026-09-03): con
   "p" a secas, todos los párrafos de mkt-hero y del footer quedaban con
   texto oscuro sobre fondo oscuro, casi ilegibles. */
.mkt :where(p) { margin: 0; line-height: 1.65; color: var(--mkt-ink-soft); }
.mkt em { font-style: normal; color: var(--mkt-teal-mid); font-weight: 500; }
.mkt-section-dark em, .mkt-hero em { color: var(--mkt-gold); }
.mkt .mkt-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.6rem; }
.mkt .mkt-wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.6rem; }

/* ── Kicker / eyebrow como badge ─────────────────────────── */
.mkt .mkt-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--mkt-teal-dark); background: var(--mkt-gold-wash);
  border: 1px solid rgba(203,178,106,.35); border-radius: 999px; padding: .38rem .9rem;
  margin-bottom: 1rem;
}
.mkt .mkt-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mkt-gold); flex: none; }
.mkt-section-dark .mkt-eyebrow { color: var(--mkt-gold-light); background: rgba(203,178,106,.12); border-color: rgba(203,178,106,.3); }

/* ── Reveal on scroll ─────────────────────────────────────── */
.mkt-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.mkt-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Nav ─────────────────────────────────────────────────── */
.mkt-nav {
  position: sticky; top: 0; z-index: 100; background: #fbfbf9;
  border-bottom: 1px solid var(--mkt-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem 1.6rem;
}
.mkt-nav-logo { display: flex; flex-direction: row; align-items: center; gap: .55rem; line-height: 1.1; }
.mkt-nav-logo-img { height: 34px; width: auto; }
.mkt-nav-brand-group { display: flex; flex-direction: column; line-height: 1.1; }
.mkt-nav-brand { font-size: 1.45rem; font-weight: 500; color: var(--mkt-teal-dark); letter-spacing: .07em; }
.mkt-nav-brand-sub { font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mkt-gold); font-weight: 500; }
.mkt-nav-links { display: none; gap: 1.9rem; list-style: none; font-size: .85rem; color: var(--mkt-ink-soft); font-weight: 400; }
.mkt-nav-links a { position: relative; padding: .3rem 0; }
.mkt-nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--mkt-gold); transition: right .25s ease; }
.mkt-nav-links a:hover { color: var(--mkt-teal-dark); }
.mkt-nav-links a:hover::after { right: 0; }
.mkt-nav-cta { display: none; }
@media (min-width: 900px) {
  .mkt-nav-links { display: flex; }
  .mkt-nav-cta { display: inline-flex; }
}
.mkt-hamburger { display: flex; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: .4rem; }
.mkt-hamburger span { width: 22px; height: 2px; background: var(--mkt-teal-dark); display: block; }
@media (min-width: 900px) { .mkt-hamburger { display: none; } }
.mkt-mobile-menu { display: none; flex-direction: column; gap: 0; background: white; border-bottom: 1px solid var(--mkt-border); box-shadow: var(--mkt-shadow); }
.mkt-mobile-menu.open { display: flex; }
.mkt-mobile-menu a { padding: .9rem 1.6rem; border-top: 1px solid var(--mkt-border); font-size: .9rem; }

/* ── Botones ─────────────────────────────────────────────── */
.mkt-btn-primary, .mkt-btn-secondary, .mkt-btn-wa {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  padding: .95rem 1.9rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; transition: all .25s ease; cursor: pointer; border: none;
}
.mkt-btn-primary, .mkt-btn-wa {
  background: var(--mkt-gold); color: var(--mkt-teal-deep);
  box-shadow: 0 10px 24px -8px rgba(203,178,106,.55);
}
.mkt-btn-primary:hover, .mkt-btn-wa:hover { background: var(--mkt-gold-light); transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(203,178,106,.6); }
.mkt-section:not(.mkt-section-dark) .mkt-btn-wa,
.mkt-section-alt .mkt-btn-wa {
  background: var(--mkt-teal-dark); color: white; box-shadow: 0 10px 24px -10px rgba(10,79,81,.5);
}
.mkt-section:not(.mkt-section-dark) .mkt-btn-wa:hover,
.mkt-section-alt .mkt-btn-wa:hover { background: var(--mkt-teal-mid); box-shadow: 0 14px 28px -10px rgba(10,79,81,.55); }
.mkt-btn-secondary { background: transparent; color: var(--mkt-teal-dark); border: 1.5px solid var(--mkt-teal-dark); }
.mkt-btn-secondary:hover { background: rgba(10,79,81,.06); }
.mkt-cta-note { font-size: .82rem; color: var(--mkt-ink-mute); margin-top: .9rem; }
.mkt-hero .mkt-cta-note { color: rgba(255,255,255,.65); }
.mkt-cta-block {
  text-align: center; margin: 2.8rem auto 0; max-width: 640px; padding: 2.4rem 1.8rem;
  background: white; border: 1px solid var(--mkt-border); border-radius: var(--mkt-radius); box-shadow: var(--mkt-shadow);
}
.mkt-section-dark .mkt-cta-block { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }

/* ── Hero ────────────────────────────────────────────────── */
.mkt-hero {
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(203,178,106,.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(16,123,126,.35), transparent 55%),
    linear-gradient(165deg, var(--mkt-teal-deep) 0%, var(--mkt-teal-dark) 75%);
  color: white; padding: 6rem 0 4.5rem; text-align: center; position: relative; overflow: hidden;
}
.mkt-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 0 1.6rem; }
.mkt-hero-logo { width: 150px; height: auto; margin: 0 auto 1.3rem; display: block; }
.mkt-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); color: white; margin-bottom: .5rem; letter-spacing: -.015em; }
.mkt-hero h1 em { color: var(--mkt-gold); font-weight: 500; }
.mkt-hero-sub { font-size: clamp(1.05rem, 2.1vw, 1.25rem); color: rgba(255,255,255,.85); margin: 1.3rem 0 1.7rem; font-weight: 300; max-width: 620px; margin-left: auto; margin-right: auto; }
.mkt-hero-desc { color: rgba(255,255,255,.65); font-size: .95rem; margin-bottom: 1rem; }
.mkt-hero-lead {
  color: white; font-size: 1.08rem; font-weight: 500; max-width: 640px; margin: 0 auto 2.1rem;
  padding: 1.1rem 1.4rem; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--mkt-radius);
}
.mkt-hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-bottom: .7rem; }
.mkt-hero-tags { margin-top: 2.8rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.14); }
.mkt-hero-tags p { color: rgba(255,255,255,.5); font-size: .82rem; }
.mkt-hero-tags .mkt-tags-line {
  color: var(--mkt-gold-light); font-size: .8rem; margin-top: .7rem; letter-spacing: .01em;
  display: flex; flex-wrap: wrap; gap: .5rem .9rem; justify-content: center;
}

/* ── Secciones genéricas ─────────────────────────────────── */
.mkt-section { padding: 5.5rem 0; position: relative; }
.mkt-section-alt { background: linear-gradient(180deg, #ffffff, #f4f6f3); }
.mkt-section-dark { background: linear-gradient(165deg, var(--mkt-teal-deep), var(--mkt-teal-dark)); color: white; }
.mkt-section-dark .mkt-eyebrow { color: var(--mkt-gold-light); }
.mkt-section-dark p { color: rgba(255,255,255,.78); }
.mkt-section-header { text-align: center; max-width: 740px; margin: 0 auto 3rem; }
.mkt-section-header h2 { font-size: clamp(1.6rem, 3.1vw, 2.15rem); margin: 0 0 1rem; }
.mkt-section-dark .mkt-section-header h2 { color: white; }
.mkt-gold-line { width: 48px; height: 2px; background: var(--mkt-gold); margin: 0 auto 1rem; display: none; }

/* ── Grids de tarjetas ───────────────────────────────────── */
.mkt-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.mkt-card {
  background: white; border: 1px solid var(--mkt-border); border-radius: var(--mkt-radius);
  padding: 1.8rem 1.7rem; transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
  position: relative;
}
.mkt-card:hover { box-shadow: var(--mkt-shadow-lg); transform: translateY(-4px); border-color: rgba(10,79,81,.28); }
.mkt-card h3 { font-size: 1.02rem; margin-bottom: .5rem; color: var(--mkt-teal-dark); }
.mkt-card p { font-size: .88rem; color: var(--mkt-ink-mute); }
.mkt-section-dark .mkt-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.13); }
.mkt-section-dark .mkt-card:hover { border-color: rgba(203,178,106,.4); }
.mkt-section-dark .mkt-card h3 { color: var(--mkt-gold-light); }
.mkt-section-dark .mkt-card p { color: rgba(255,255,255,.72); }

/* ── Icono circular (reemplaza el emoji "suelto") ───────── */
.mkt-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  background: linear-gradient(155deg, rgba(10,79,81,.09), rgba(203,178,106,.14));
  border: 1px solid rgba(10,79,81,.12);
  margin-bottom: 1rem; flex: none;
}
.mkt-section-dark .mkt-icon { background: linear-gradient(155deg, rgba(255,255,255,.1), rgba(203,178,106,.16)); border-color: rgba(255,255,255,.16); }
.mkt-icon-sm { width: 40px; height: 40px; border-radius: 11px; font-size: 1.15rem; margin-bottom: 0; }

/* ── Módulos conectados (sección solución) ──────────────── */
.mkt-modules { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 2.4rem 0 0; }
.mkt-module {
  text-align: center; padding: 1.4rem .8rem; background: white; border: 1px solid var(--mkt-border);
  border-radius: var(--mkt-radius); transition: transform .25s ease, box-shadow .25s ease;
}
.mkt-module:hover { transform: translateY(-3px); box-shadow: var(--mkt-shadow); }
.mkt-module .mkt-icon { margin: 0 auto .7rem; }
.mkt-module span { display: block; font-size: .84rem; color: var(--mkt-teal-dark); font-weight: 500; }

/* ── Flujo de información (timeline vertical) ───────────── */
.mkt-flow-wrap { text-align: center; margin-top: 1.2rem; }
.mkt-flow-wrap .mkt-eyebrow { margin-bottom: .6rem; }
.mkt-flow-wrap h3 { font-size: 1.2rem; color: var(--mkt-teal-dark); margin-bottom: 2.2rem; }
.mkt-flow { max-width: 460px; margin: 0 auto; text-align: left; position: relative; padding-left: 1.7rem; }
.mkt-flow::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--mkt-gold), var(--mkt-teal-mid)); }
.mkt-flow-step { position: relative; padding: 0 0 1.5rem; font-size: .93rem; color: var(--mkt-ink-soft); }
.mkt-flow-step::before {
  content: ""; position: absolute; left: -1.7rem; top: .3rem; width: 10px; height: 10px; border-radius: 50%;
  background: var(--mkt-gold); border: 2px solid white; box-shadow: 0 0 0 2px var(--mkt-border);
}
.mkt-flow-step:last-child { padding-bottom: 0; font-weight: 600; color: var(--mkt-teal-dark); }
.mkt-flow-step:last-child::before { background: var(--mkt-teal-dark); }

/* ── Feature estrella (automatización) ──────────────────── */
.mkt-star {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--mkt-teal-dark), var(--mkt-teal-deep) 120%);
  color: white; border-radius: 20px; padding: 2.6rem; margin-bottom: 2rem;
  box-shadow: var(--mkt-shadow-lg);
  display: grid; gap: 1.6rem; grid-template-columns: 1fr;
  border: 1px solid rgba(203,178,106,.3);
}
.mkt-star::after {
  content: "★"; position: absolute; right: -1rem; top: -2rem; font-size: 11rem; color: rgba(203,178,106,.08);
  pointer-events: none; line-height: 1;
}
@media (min-width: 720px) { .mkt-star { grid-template-columns: auto 1fr; align-items: center; padding: 3rem 3.2rem; } }
.mkt-star .mkt-icon { width: 68px; height: 68px; border-radius: 18px; font-size: 2rem; background: rgba(203,178,106,.18); border-color: rgba(203,178,106,.4); margin: 0; }
.mkt-star-badge {
  display: inline-block; background: var(--mkt-gold); color: var(--mkt-teal-deep);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.mkt-star h3 { color: white; font-size: 1.4rem; margin-bottom: .8rem; }
.mkt-star p { color: rgba(255,255,255,.88); font-size: .97rem; }
.mkt-star-punch {
  margin-top: 1.3rem; font-size: 1.1rem; font-weight: 600; color: var(--mkt-teal-deep);
  background: var(--mkt-gold-light); display: inline-block; padding: .5rem 1.1rem; border-radius: 8px;
}

/* ── Antes / Después (tabla) ─────────────────────────────── */
.mkt-table-wrap { overflow-x: auto; border-radius: var(--mkt-radius); border: 1px solid var(--mkt-border); box-shadow: var(--mkt-shadow); }
.mkt-table { width: 100%; border-collapse: collapse; background: white; font-size: .89rem; min-width: 560px; }
.mkt-table th { background: var(--mkt-teal-dark); color: white; text-align: left; padding: 1rem 1.2rem; font-weight: 500; letter-spacing: .02em; }
.mkt-table th:last-child { color: var(--mkt-gold-light); }
.mkt-table td { padding: .9rem 1.2rem; border-top: 1px solid var(--mkt-border); }
.mkt-table tr:nth-child(even) td { background: #f7f8f6; }
.mkt-table td:first-child { color: var(--mkt-ink-mute); }
.mkt-table td:last-child { color: var(--mkt-teal-dark); font-weight: 600; }
.mkt-table td:last-child::before { content: "✓ "; color: var(--mkt-gold); font-weight: 700; }

/* ── Comparativo "Por qué IKAL" pilares ─────────────────── */
.mkt-pillars { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.mkt-pillar {
  text-align: center; padding: 1.6rem 1rem; border-radius: var(--mkt-radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background .25s ease, border-color .25s ease;
}
.mkt-pillar:hover { background: rgba(255,255,255,.09); border-color: rgba(203,178,106,.4); }
.mkt-pillar .mkt-icon { margin: 0 auto .8rem; }
.mkt-pillar-title { color: var(--mkt-gold-light); font-weight: 600; font-size: 1rem; margin-bottom: .3rem; }
.mkt-pillar-sub { font-size: .82rem; }

/* ── Footer ──────────────────────────────────────────────── */
.mkt-footer { background: var(--mkt-teal-deep); color: rgba(255,255,255,.55); padding: 3rem 0 1.6rem; text-align: center; }
.mkt-footer-logo { font-size: 1.4rem; color: var(--mkt-gold); font-weight: 500; letter-spacing: .07em; }
.mkt-footer-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(203,178,106,.65); margin: .3rem 0 1.2rem; }
.mkt-footer p { font-size: .82rem; margin: .3rem 0; color: rgba(255,255,255,.6); }
.mkt-footer-legal { margin-top: 1.2rem; display: flex; gap: 1.3rem; justify-content: center; font-size: .76rem; }
.mkt-footer-legal a:hover { color: var(--mkt-gold-light); }
.mkt-footer-access { margin-top: 1.6rem; font-size: .78rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); }
.mkt-footer-access a { color: rgba(203,178,106,.8); font-weight: 500; }
.mkt-footer-access a:hover { color: var(--mkt-gold-light); }

/* ── Numeral decorativo de sección (2026-09-04, rediseño de contenido:
   secciones numeradas 01-14 del nuevo copy) ─────────────────────────── */
.mkt-secnum {
  font-size: 5.5rem; font-weight: 600; line-height: 1; letter-spacing: -.02em;
  color: rgba(10,79,81,.08); margin-bottom: -1.8rem; position: relative; z-index: 0;
}
.mkt-section-dark .mkt-secnum { color: rgba(255,255,255,.08); }
.mkt-section-header { position: relative; z-index: 1; }

/* ── Contraste de 3 líneas cortas (ej. "mientras trabajas/descansas/cerrado") ── */
.mkt-punchlist { text-align: center; margin: 2rem 0; }
.mkt-punchlist p { font-size: 1.15rem; font-weight: 500; color: var(--mkt-teal-dark); padding: .3rem 0; }
.mkt-punchlist p:last-child { color: var(--mkt-gold); font-weight: 600; }

/* ── Flujo grande "Todo conectado" (pasos con flecha, no timeline lateral) ── */
.mkt-bigflow { display: flex; flex-direction: column; align-items: center; gap: .2rem; margin: 2rem auto 0; max-width: 480px; }
.mkt-bigflow-step {
  background: rgba(255,255,255,.07); border: 1px solid rgba(203,178,106,.25); border-radius: 999px;
  padding: .75rem 1.6rem; font-size: .95rem; font-weight: 500; color: white; text-align: center; width: 100%;
}
.mkt-bigflow-step:last-child { background: var(--mkt-gold); color: var(--mkt-teal-deep); font-weight: 700; border-color: var(--mkt-gold); }
.mkt-bigflow-arrow { color: var(--mkt-gold-light); font-size: 1.1rem; line-height: 1; margin: .1rem 0; }

/* ── Nube de conceptos conectados (pills) ────────────────── */
.mkt-pills { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin: 2rem 0; }
.mkt-pill {
  padding: .6rem 1.3rem; border-radius: 999px; font-size: .92rem; font-weight: 500;
  background: var(--mkt-gold-wash); border: 1px solid rgba(203,178,106,.4); color: var(--mkt-teal-dark);
}
.mkt-section-dark .mkt-pill { background: rgba(255,255,255,.06); border-color: rgba(203,178,106,.3); color: var(--mkt-gold-light); }

/* ── Flotante WhatsApp ───────────────────────────────────── */
.mkt-wa-float {
  position: fixed; bottom: 1.4rem; right: 1.4rem; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(0,0,0,.35); z-index: 90; transition: transform .2s ease;
}
.mkt-wa-float:hover { transform: scale(1.08); }
