/* ============================================================
   PAX MENTIS — Landing Page
   Paleta: Teal #1A5F6B · Crema #F5F0E8 · Terracota #E8956D
   Tipografía: DM Sans (títulos) + Inter (cuerpo)
   Estilo: papel cálido, superficies en capas, motivo de espiral.
   ============================================================ */

/* --- TOKENS --- */
:root {
  /* Marca */
  --teal-deep:      #1A5F6B;
  --teal-mid:       #2E8B9A;
  --teal-ink:       #144a54;
  --teal-05:        rgba(26, 95, 107, 0.05);
  --teal-08:        rgba(26, 95, 107, 0.08);
  --teal-12:        rgba(26, 95, 107, 0.12);
  --teal-18:        rgba(26, 95, 107, 0.18);

  --cream:          #F5F0E8;
  --cream-soft:     #F0EADF;
  --cream-dark:     #ECE5D8;
  --cream-darker:   #DED6C6;
  --cream-line:     #E3DCCE;

  --terracotta:     #E8956D;
  --terracotta-dk:  #C97650;
  --terracotta-08:  rgba(232, 149, 109, 0.10);
  --terracotta-20:  rgba(232, 149, 109, 0.24);

  --ink:            #1C1C1E;
  --ink-light:      #55565A;
  --ink-lighter:    #8A8B90;
  --white:          #FFFFFF;

  /* Sombras — tinte teal cálido, no gris neutro */
  --shadow-xs: 0 1px 2px rgba(20, 74, 84, 0.06);
  --shadow-sm: 0 2px 10px rgba(20, 74, 84, 0.07), 0 1px 3px rgba(20, 74, 84, 0.05);
  --shadow-md: 0 10px 30px rgba(20, 74, 84, 0.10), 0 2px 8px rgba(20, 74, 84, 0.06);
  --shadow-lg: 0 24px 60px rgba(20, 74, 84, 0.15), 0 6px 18px rgba(20, 74, 84, 0.08);
  --shadow-glow: 0 20px 60px rgba(232, 149, 109, 0.20);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 240ms;

  /* Motivo de espiral (marca) */
  --spiral: url("spiral-teal.svg");
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  /* Lavados suaves para dar cuerpo al papel */
  background-image:
    radial-gradient(760px 520px at 88% -6%, rgba(26,95,107,0.06), transparent 60%),
    radial-gradient(620px 480px at -8% 12%, rgba(232,149,109,0.05), transparent 62%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }
ul { list-style: none; }
em { font-style: italic; }
::selection { background: var(--teal-18); color: var(--teal-ink); }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 { font-size: clamp(38px, 5.6vw, 66px); letter-spacing: -0.032em; }
h2 { font-size: clamp(29px, 4.1vw, 50px); letter-spacing: -0.028em; }
h3 { font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; letter-spacing: -0.018em; }
h4 { font-size: 13px; font-weight: 600; }
p  { line-height: 1.72; }

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- EYEBROW (etiqueta de sección) --- */
.section-eyebrow,
.pain-eyebrow,
.pricing-vs-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-mid);
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.section-eyebrow::before,
.pain-eyebrow::before,
.pricing-vs-label::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}
.section-eyebrow.light { color: rgba(255,255,255,0.6); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: background var(--duration) var(--ease-out),
              transform 180ms var(--ease-out),
              box-shadow var(--duration) var(--ease-out),
              color var(--duration);
  white-space: nowrap;
  line-height: 1;
  position: relative;
}
.btn:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(232,149,109,0.28);
}
.btn-primary:hover {
  background: var(--terracotta-dk);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(232,149,109,0.42);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(232,149,109,0.3); }

.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border: 1.5px solid rgba(26,95,107,0.35);
}
.btn-ghost:hover { background: var(--teal-08); border-color: var(--teal-deep); transform: translateY(-2px); }
.btn-ghost svg { transition: transform var(--duration) var(--ease-out); }
.btn-ghost:hover svg { transform: translateX(3px); }

.btn-lg  { padding: 15px 30px; font-size: 16px; border-radius: var(--radius-md); }
.btn-full { width: 100%; justify-content: center; }

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration), box-shadow var(--duration), background var(--duration);
}
.navbar.scrolled {
  border-color: var(--cream-line);
  box-shadow: var(--shadow-sm);
  background: rgba(245, 240, 232, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.navbar-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 8px;
}

.navbar-logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-deep);
  flex-shrink: 0;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 15px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-light);
  border-radius: var(--radius-sm);
  transition: color var(--duration), background var(--duration);
}
.nav-link:hover { color: var(--teal-deep); background: var(--teal-08); }
.nav-link:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.navbar-cta { padding: 10px 20px; font-size: 14px; flex-shrink: 0; margin-left: 10px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
}
.hamburger:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 220ms var(--ease-out), opacity 180ms;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 150px 0 96px;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* Espiral de marca como marca de agua */
.hero::before {
  content: '';
  position: absolute;
  top: 40px; right: -140px;
  width: 620px; height: 620px;
  background: var(--spiral) no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cream-darker), transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  background: var(--white);
  border: 1px solid var(--terracotta-20);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--terracotta-dk);
  margin-bottom: 30px;
  box-shadow: var(--shadow-xs);
}

.hero-heading { margin-bottom: 26px; }
.hero-heading em {
  color: var(--teal-deep);
  font-style: italic;
  position: relative;
}

.hero-sub {
  font-size: 19px;
  color: var(--ink-light);
  margin-bottom: 38px;
  max-width: 470px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

/* Proof bar */
.hero-proof {
  display: flex;
  align-items: center;
  padding: 20px 26px;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}
.proof-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}
.proof-item strong {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 23px;
  color: var(--teal-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.proof-item span { font-size: 11px; color: var(--ink-lighter); white-space: nowrap; }
.proof-divider { width: 1px; height: 38px; background: var(--cream-darker); flex-shrink: 0; }

/* Dashboard mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }

.dashboard-card {
  background: var(--white);
  border: 1px solid var(--white);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 390px;
  position: relative;
  z-index: 1;
}
.dashboard-card::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse, rgba(26,95,107,0.08) 0%, transparent 70%);
  border-radius: 56px;
  z-index: -1;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.dashboard-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-mid); }
.dashboard-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-lighter);
  margin-left: 6px;
  font-family: 'DM Sans', sans-serif;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.stat-mini {
  background: var(--cream);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-sm);
  padding: 11px 8px;
  text-align: center;
}
.stat-mini-accent { background: var(--teal-08); border-color: var(--teal-12); }
.stat-mini-value {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}
.stat-mini-label { display: block; font-size: 10px; color: var(--ink-lighter); margin-top: 2px; line-height: 1.3; }

/* Calendar */
.cal-header { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin-bottom: 4px; }
.cal-header span {
  text-align: center; font-size: 9px; font-weight: 600; color: var(--ink-lighter);
  padding: 3px; font-family: 'DM Sans', sans-serif;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; border-radius: 4px; color: var(--ink-lighter);
}
.cal-day.empty { visibility: hidden; }
.cal-day.booked, .cal-day.booked-start, .cal-day.booked-end {
  background: var(--teal-12); color: var(--teal-deep); font-weight: 600;
}
.cal-day.booked-start { border-radius: 4px 0 0 4px; }
.cal-day.booked-end   { border-radius: 0 4px 4px 0; }
.cal-day.booked-alt, .cal-day.booked-start.booked-alt, .cal-day.booked-end.booked-alt {
  background: rgba(232,149,109,0.20); color: var(--terracotta-dk);
}
.cal-day.today {
  background: var(--teal-deep); color: var(--white); font-weight: 700; border-radius: 50%;
}

.cal-legend { display: flex; gap: 12px; margin-top: 10px; justify-content: center; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--ink-lighter); }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-teal { background: var(--teal-mid); }
.dot-alt { background: var(--terracotta); }
.dot-today { background: var(--teal-deep); }

.dashboard-channels {
  display: flex; align-items: center; gap: 10px;
  padding-top: 14px; border-top: 1px solid var(--cream-line); margin-top: 14px;
}
.channel-label { font-size: 10px; color: var(--ink-lighter); white-space: nowrap; }
.channel-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.channel-chip {
  font-size: 10px; font-weight: 600; padding: 3px 9px;
  background: var(--teal-08); color: var(--teal-deep); border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
}

/* ============================================================
   PAIN SECTION
   ============================================================ */
.pain-section {
  background: var(--teal-deep);
  background-image:
    radial-gradient(600px 400px at 12% 0%, rgba(46,139,154,0.4), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(20,74,84,0.6), transparent 55%);
  padding: 100px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.pain-section::before {
  content: '';
  position: absolute;
  bottom: -180px; left: -120px;
  width: 480px; height: 480px;
  background: var(--spiral) no-repeat center / contain;
  opacity: 0.05;
  filter: brightness(3);
  pointer-events: none;
}
.pain-eyebrow { color: rgba(255,255,255,0.5); justify-content: center; display: flex; }
.pain-heading {
  font-size: clamp(26px, 3.7vw, 40px);
  text-align: center;
  margin-bottom: 56px;
  color: var(--white);
  position: relative;
}
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.pain-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  transition: background var(--duration), transform var(--duration), border-color var(--duration);
}
.pain-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.22);
}
.pain-icon {
  display: inline-flex; padding: 11px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.pain-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--white); }
.pain-card p { font-size: 14px; line-height: 1.68; color: rgba(255,255,255,0.66); }

/* ============================================================
   SECTION HEADER (compartido)
   ============================================================ */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 68px; }
.section-header .section-eyebrow { justify-content: center; display: inline-flex; }
.section-heading { color: var(--ink); margin-bottom: 20px; }
.section-heading.light { color: var(--white); }
.section-sub { font-size: 17px; color: var(--ink-light); line-height: 1.7; }
.section-sub.light { color: rgba(255,255,255,0.66); }

/* ============================================================
   VALOR
   ============================================================ */
.valor-section { padding: 108px 0; position: relative; }

.valor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.valor-card {
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--duration), transform var(--duration), border-color var(--duration);
  position: relative;
  overflow: hidden;
}
.valor-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  background: var(--spiral) no-repeat center / contain;
  opacity: 0;
  transition: opacity var(--duration);
  pointer-events: none;
}
.valor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--cream-darker);
}
.valor-card:hover::after { opacity: 0.05; }
.valor-icon-wrap {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--teal-08), var(--teal-12));
  color: var(--teal-deep);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}
.valor-card h3 { margin-bottom: 10px; font-size: 19px; }
.valor-card p  { font-size: 15px; color: var(--ink-light); position: relative; z-index: 1; }

/* ============================================================
   CÓMO FUNCIONA (bento)
   ============================================================ */
.como-section { padding: 108px 0; background: var(--cream-soft); position: relative; }
.como-section::before {
  content: '';
  position: absolute; inset: 0;
  border-top: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
  pointer-events: none;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  grid-auto-rows: 1fr;
}
.bento-tile {
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--duration), transform var(--duration), border-color var(--duration);
}
.bento-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--cream-darker); }
.bento-tile.wide { grid-column: span 2; }
.bento-tile.feature {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(160deg, var(--teal-deep), var(--teal-ink));
  border-color: var(--teal-ink);
  color: var(--white);
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.bento-tile.feature::after {
  content: '';
  position: absolute; bottom: -120px; right: -90px;
  width: 380px; height: 380px;
  background: var(--spiral) no-repeat center / contain;
  opacity: 0.08; filter: brightness(3); pointer-events: none;
}
.bento-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 13px;
  color: var(--teal-deep); background: var(--teal-08);
  border-radius: 9px; margin-bottom: 18px;
}
.bento-tile.feature .bento-num { color: var(--white); background: rgba(255,255,255,0.14); }
.bento-icon {
  display: inline-flex; padding: 11px; margin-bottom: 18px;
  background: linear-gradient(150deg, var(--teal-08), var(--teal-12));
  color: var(--teal-deep); border-radius: var(--radius-md); width: fit-content;
}
.bento-tile h3 { font-size: 18px; margin-bottom: 8px; }
.bento-tile.feature h3 { color: var(--white); font-size: 26px; font-weight: 700; letter-spacing: -0.025em; }
.bento-tile p { font-size: 14px; color: var(--ink-light); line-height: 1.6; }
.bento-tile.feature p { color: rgba(255,255,255,0.72); font-size: 15px; max-width: 340px; }
.bento-feature-head { position: relative; z-index: 1; }
.bento-feature-foot { position: relative; z-index: 1; margin-top: 24px; }

/* Mini panel iCal dentro del feature */
.sync-visual {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.sync-node {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--white);
}
.sync-node .dot { width: 7px; height: 7px; border-radius: 50%; background: #7fd8a4; }
.sync-arrow { color: rgba(255,255,255,0.5); flex-shrink: 0; }
.sync-caption { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 12px; }

/* chips terracota para tile de reservas directas */
.bento-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; margin-top: 14px;
  background: var(--terracotta-08); border: 1px solid var(--terracotta-20);
  border-radius: 100px; font-size: 12px; font-weight: 600; color: var(--terracotta-dk);
  font-family: 'DM Sans', sans-serif; width: fit-content;
}

/* ============================================================
   HISTORIA
   ============================================================ */
.historia-section { padding: 108px 0; background: var(--cream-dark); position: relative; }

.historia-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
}
.historia-photo-col {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.foto-andrei {
  width: 230px; height: 280px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 5px solid var(--white);
}
.hostal-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 17px;
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--ink-light);
  box-shadow: var(--shadow-sm);
}

.historia-content { padding-top: 8px; }
.historia-content h2 { margin-top: 12px; margin-bottom: 32px; }
.historia-text p {
  font-size: 16.5px; line-height: 1.85; color: var(--ink-light); margin-bottom: 20px;
}
.historia-text p:last-child { margin-bottom: 0; }
.historia-text em { color: var(--teal-deep); font-weight: 500; }

.historia-firma {
  display: flex; flex-direction: column; gap: 5px;
  padding-top: 32px; border-top: 1px solid var(--cream-darker); margin-top: 32px;
}
.firma-nombre { font-family: 'DM Sans', sans-serif; font-size: 19px; font-weight: 600; color: var(--ink); }
.firma-rol { font-size: 13px; color: var(--ink-lighter); }

/* ============================================================
   CREDENCIALES
   ============================================================ */
.credenciales-section {
  padding: 108px 0;
  background: var(--ink);
  background-image: radial-gradient(700px 400px at 50% 0%, rgba(26,95,107,0.35), transparent 60%);
  position: relative; overflow: hidden;
}
.creds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-xl);
  overflow: hidden; gap: 1px; margin-top: 64px;
}
.cred-card {
  background: rgba(28,28,30,0.4);
  padding: 46px 28px; text-align: center;
  transition: background var(--duration);
}
.cred-card:hover { background: rgba(26,95,107,0.22); }
.cred-number-wrap { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-bottom: 12px; }
.cred-number {
  font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 56px;
  color: var(--white); line-height: 1; letter-spacing: -0.03em;
}
.cred-unit { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 26px; color: var(--terracotta); }
.cred-label { display: block; font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.4; }
.creds-footer { text-align: center; margin-top: 30px; font-size: 13px; color: rgba(255,255,255,0.32); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section { padding: 108px 0; background: var(--cream-soft); position: relative; }
.pricing-section::before {
  content: '';
  position: absolute; inset: 0;
  border-top: 1px solid var(--cream-line);
  pointer-events: none;
}
.pricing-wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px;
  align-items: stretch; max-width: 940px; margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.pricing-card::after {
  content: '';
  position: absolute; top: -70px; right: -70px;
  width: 200px; height: 200px;
  background: var(--spiral) no-repeat center / contain;
  opacity: 0.04; pointer-events: none;
}
.pricing-badge {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  background: var(--terracotta-08);
  border: 1px solid var(--terracotta-20);
  border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--terracotta-dk);
  margin-bottom: 26px; font-family: 'DM Sans', sans-serif;
}
.pricing-amount { display: flex; align-items: baseline; gap: 3px; margin-bottom: 6px; }
.pricing-currency { font-family: 'DM Sans', sans-serif; font-size: 28px; font-weight: 700; color: var(--teal-deep); line-height: 1; }
.pricing-number {
  font-family: 'DM Sans', sans-serif; font-size: 60px; font-weight: 700;
  color: var(--teal-deep); line-height: 1; letter-spacing: -0.035em;
}
.pricing-period { font-size: 16px; font-weight: 500; color: var(--ink-lighter); margin-left: 4px; }
.pricing-rooms { font-size: 13px; color: var(--ink-lighter); margin-bottom: 30px; }
.pricing-features {
  display: flex; flex-direction: column; gap: 13px;
  margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--cream-line);
}
.pricing-features li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink); }
.pricing-features li svg { flex-shrink: 0; color: var(--white); background: var(--teal-deep); border-radius: 50%; padding: 3px; width: 18px; height: 18px; }
.pricing-disclaimer { text-align: center; margin-top: 12px; font-size: 12px; color: var(--ink-lighter); }

.pricing-vs { display: flex; }
.pricing-vs-inner {
  padding: 40px;
  background: linear-gradient(165deg, var(--white), var(--cream));
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; justify-content: center;
}
.pricing-vs-label { color: var(--teal-mid); }
.pricing-vs-copy { font-size: 15px; line-height: 1.78; color: var(--ink-light); }
.pricing-vs-copy strong { color: var(--teal-deep); font-weight: 700; }
.pricing-vs-divider { height: 1px; background: var(--cream-darker); margin: 22px 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 108px 0; position: relative; }
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--cream-darker);
}
.faq-item:first-child { border-top: 1px solid var(--cream-darker); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: color var(--duration);
}
.faq-q:hover { color: var(--teal-deep); }
.faq-q:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }
.faq-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1.5px solid var(--cream-darker);
  border-radius: 50%;
  color: var(--teal-deep);
  transition: transform var(--duration) var(--ease-out), background var(--duration), border-color var(--duration);
}
.faq-icon::before { content: '+'; font-size: 22px; font-weight: 400; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(135deg); background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--duration) var(--ease-out);
}
.faq-a-inner {
  padding: 0 4px 28px;
  font-size: 15.5px; line-height: 1.75; color: var(--ink-light); max-width: 660px;
}
.faq-a-inner strong { color: var(--teal-deep); font-weight: 600; }

/* ============================================================
   ESPERA (WAITLIST)
   ============================================================ */
.espera-section { padding: 108px 0; background: var(--cream-dark); position: relative; overflow: hidden; }
.espera-section::before {
  content: '';
  position: absolute; top: -160px; right: -140px;
  width: 500px; height: 500px;
  background: var(--spiral) no-repeat center / contain;
  opacity: 0.05; pointer-events: none;
}
.espera-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; position: relative; z-index: 1; }
.espera-content h2 { margin-top: 12px; margin-bottom: 20px; }
.espera-sub { font-size: 16.5px; color: var(--ink-light); line-height: 1.8; margin-bottom: 32px; }
.espera-benefits { display: flex; flex-direction: column; gap: 14px; }
.espera-benefits li { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 500; color: var(--ink); }
.espera-benefits li svg { flex-shrink: 0; color: var(--white); background: var(--teal-deep); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

.espera-form {
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.espera-form h3 { font-size: 23px; margin-bottom: 6px; }
.form-sub { font-size: 14px; color: var(--ink-lighter); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.required { color: var(--terracotta); margin-left: 2px; }
.form-group input, .form-group select {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--cream-darker);
  border-radius: var(--radius-sm);
  font-size: 15px; color: var(--ink); background: var(--cream);
  transition: border-color var(--duration), background var(--duration), box-shadow var(--duration);
  appearance: none; -webkit-appearance: none; min-height: 50px;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--teal-mid); background: var(--white);
  box-shadow: 0 0 0 4px rgba(46,139,154,0.12);
}
.form-group input.has-error, .form-group select.has-error { border-color: #DC2626; background: #FEF2F2; }
.field-error { display: block; font-size: 12px; color: #DC2626; margin-top: 5px; min-height: 16px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238E8E93' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; cursor: pointer;
}
#submit-btn { margin-top: 8px; padding-top: 16px; padding-bottom: 16px; }
.btn-loading { display: none; }
#submit-btn.is-loading .btn-text { display: none; }
#submit-btn.is-loading .btn-loading { display: inline; }
#submit-btn:disabled { opacity: 0.72; cursor: not-allowed; transform: none; box-shadow: none; }
.form-disclaimer { text-align: center; margin-top: 12px; font-size: 12px; color: var(--ink-lighter); }

.form-success {
  display: none; text-align: center; padding: 56px 40px;
  background: var(--white); border: 1px solid var(--cream-line);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
}
.form-success.visible { display: block; }
.success-icon { margin: 0 auto 24px; width: fit-content; }
.form-success h3 { font-size: 25px; margin-bottom: 12px; }
.form-success p  { font-size: 15px; color: var(--ink-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  background-image: radial-gradient(600px 300px at 85% 0%, rgba(26,95,107,0.28), transparent 60%);
}
.footer-inner { padding: 72px 24px 52px; display: grid; grid-template-columns: 300px 1fr; gap: 64px; }
.footer-brand { }
.footer-logo { color: var(--white); margin-bottom: 18px; }
.footer-tagline { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 18px; }
.footer-place { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,0.32); }
.footer-links { display: flex; gap: 56px; padding-top: 4px; }
.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.58); transition: color var(--duration); }
.footer-col a:hover { color: var(--terracotta); }
.footer-col a:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; border-radius: 2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 24px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 14px; align-items: center; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.3); transition: color var(--duration); }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }
.footer-legal span { color: rgba(255,255,255,0.18); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   LOGO IMAGE
   ============================================================ */
.logo-img { width: 132px; height: auto; display: block; }
.logo-img--footer { width: 132px; height: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { gap: 48px; }
  .historia-inner { grid-template-columns: 250px 1fr; gap: 48px; }
  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-tile.feature { grid-column: span 2; grid-row: span 1; }
  .bento-tile.wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(245, 240, 232, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-darker);
    flex-direction: column; align-items: stretch;
    padding: 12px 16px 16px; gap: 2px; box-shadow: var(--shadow-md);
  }
  .navbar-nav.open { display: flex; }
  .navbar-nav .nav-link { padding: 13px 16px; font-size: 16px; }
  .navbar-cta { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 116px 0 76px; min-height: auto; }
  .hero::before { width: 320px; height: 320px; right: -130px; top: 60px; opacity: 0.04; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .dashboard-card { max-width: 100%; }
  /* Hero centrado en móvil para balancear con el panel de arriba */
  .hero-content { text-align: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-sub { font-size: 17px; margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-proof { flex-wrap: wrap; justify-content: center; gap: 16px; padding: 18px; }
  .proof-divider { display: none; }
  .proof-item { flex: none; min-width: 80px; }

  .pain-grid { grid-template-columns: 1fr; gap: 16px; }

  .valor-grid { grid-template-columns: 1fr; }
  .valor-card { padding: 30px; }

  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-tile.feature, .bento-tile.wide { grid-column: span 1; }
  .bento-tile.feature .bento-feature-foot { margin-top: 20px; }

  .historia-inner { grid-template-columns: 1fr; gap: 40px; }
  .historia-photo-col { position: static; flex-direction: row; align-items: center; gap: 20px; }
  .foto-andrei { width: 100px; height: 100px; border-radius: 22px; border-width: 4px; flex-shrink: 0; }

  .creds-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-number { font-size: 46px; }
  .cred-card { padding: 34px 20px; }

  .pricing-wrap { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 26px; }
  .pricing-number { font-size: 48px; }
  .pricing-vs-inner { padding: 28px 24px; }

  .espera-inner { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 52px 24px 36px; }
  .footer-links { gap: 36px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 520px) {
  .hero-ctas { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .creds-grid { grid-template-columns: 1fr 1fr; }
  .cred-card { padding: 26px 14px; }
  .cred-number { font-size: 38px; }
  .cred-unit { font-size: 18px; }
  .espera-form { padding: 26px 22px; }
  .footer-links { flex-direction: column; gap: 28px; }
  .valor-card { padding: 26px 22px; }
  .bento-tile { padding: 26px 22px; }
  .faq-q { font-size: 16px; padding: 22px 2px; }
}

/* ============================================================
   BANNER DE COOKIES
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 400;
  max-width: 540px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  animation: cookie-in 340ms var(--ease-out);
}
@keyframes cookie-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.cookie-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-light);
  margin-bottom: 16px;
}
.cookie-text a { color: var(--teal-deep); text-decoration: underline; font-weight: 500; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; justify-content: center; padding: 11px 18px; font-size: 14px; }
.cookie-reject {
  background: transparent;
  color: var(--teal-deep);
  border: 1.5px solid var(--cream-darker);
}
.cookie-reject:hover { background: var(--cream-dark); }

/* Honeypot anti-spam — invisible para humanos, visible para bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.footer-cookie-btn {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  background: none; border: none; padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--duration);
}
.footer-cookie-btn:hover { color: rgba(255,255,255,0.6); }
.footer-cookie-btn:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; border-radius: 2px; }

/* ============================================================
   PÁGINA LEGAL (privacidad / cookies)
   ============================================================ */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 132px 24px 88px;
}
.legal-title { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 10px; }
.legal-updated { color: var(--ink-lighter); font-size: 14px; margin-bottom: 20px; }
.legal-intro { font-size: 17px; color: var(--ink-light); line-height: 1.7; margin-bottom: 8px; }
.legal h2 {
  font-size: 24px; margin: 44px 0 14px;
  padding-top: 24px; border-top: 1px solid var(--cream-darker);
}
.legal h3 { font-size: 17px; margin: 24px 0 8px; color: var(--teal-deep); }
.legal p { font-size: 15.5px; color: var(--ink-light); line-height: 1.78; margin-bottom: 14px; }
.legal ul { display: flex; flex-direction: column; gap: 9px; margin: 0 0 18px; }
.legal li {
  font-size: 15.5px; color: var(--ink-light); line-height: 1.7;
  position: relative; padding-left: 22px;
}
.legal li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal-mid);
}
.legal a { color: var(--teal-deep); text-decoration: underline; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-note {
  margin-top: 8px; padding: 18px 20px;
  background: var(--cream-dark); border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  font-size: 13.5px; color: var(--ink-light); line-height: 1.65;
}
.legal-prefs {
  margin: 18px 0 4px;
}
.legal-back {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 48px;
  font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 15px;
  color: var(--teal-deep);
}
.legal-back:hover { gap: 10px; }
