/* ==========================================================
   Huecora — web de producto
   Paleta de marca: #1E2229 · #C86D51 · #5C7667 · #F7F5F0
   ========================================================== */

:root {
  --ink: #1e2229; /* Primary: textos y barras */
  --ink-soft: #4a505b;
  --ink-muted: #6e737c;
  --terracotta: #c86d51; /* Secondary: acentos decorativos */
  --terracotta-strong: #a6533a; /* CTA con texto blanco (contraste AA) */
  --terracotta-tint: #f4e3dc;
  --sage: #5c7667; /* Acento: estados activos */
  --sage-tint: #e3ebe6;
  --cream: #f7f5f0; /* Neutro: fondos */
  --paper: #ffffff;
  --line: #e4e0d8;
  --success: #2e7d32;
  --error: #c62828;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 24px;
  --shadow: 0 1px 2px rgba(30, 34, 41, 0.06), 0 8px 24px rgba(30, 34, 41, 0.08);
  --shadow-l: 0 2px 4px rgba(30, 34, 41, 0.06), 0 24px 60px rgba(30, 34, 41, 0.14);

  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 600;
}
h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem);
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 96px 0;
}
.section--tight {
  padding: 64px 0;
}
.section--white {
  background: var(--paper);
}
.section--ink {
  background: var(--ink);
  color: var(--cream);
}
.section--ink .lead,
.section--ink p {
  color: #c9ccd2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-strong);
  margin-bottom: 14px;
}
.section--ink .eyebrow {
  color: #e7a58f;
}
.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
}
.center {
  text-align: center;
}
.center .lead {
  margin-left: auto;
  margin-right: auto;
}
.section-head {
  margin-bottom: 52px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  left: 8px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 1rem/1 var(--font-body);
  padding: 15px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s,
    background 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--terracotta-strong);
  color: #fff;
  box-shadow: 0 6px 18px rgba(166, 83, 58, 0.28);
}
.btn--primary:hover {
  background: #8f4631;
}
.btn--dark {
  background: var(--ink);
  color: #fff;
}
.btn--dark:hover {
  background: #31363f;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.section--ink .btn--ghost {
  color: var(--cream);
  border-color: #464c57;
}
.btn--sm {
  padding: 10px 18px;
  font-size: 0.92rem;
}
.btn--block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img.brand-icon {
  height: 34px;
  width: auto;
}
.brand img.brand-word {
  height: 18px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--ink);
}
.nav-links a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 920px) {
  .nav-links,
  .nav-cta .btn--ghost {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav.is-open + .mobile-menu {
    display: block;
  }
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 12px 20px 24px;
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn {
  margin-top: 18px;
  width: 100%;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 em {
  font-style: normal;
  color: var(--terracotta-strong);
}
.hero .lead {
  margin: 18px 0 30px;
  font-size: 1.22rem;
}
.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.check {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--sage);
}
.hero-blob {
  position: absolute;
  right: -180px;
  top: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--terracotta-tint) 0%, rgba(244, 227, 220, 0) 70%);
  z-index: -1;
}
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 40px;
  }
}

/* ---------- Mockup calendario ---------- */
.mock {
  background: var(--paper);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  overflow: hidden;
  border: 1px solid var(--line);
}
.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.mock-bar strong {
  font-family: var(--font-head);
  font-size: 1rem;
}
.mock-tabs {
  display: flex;
  gap: 4px;
  background: var(--cream);
  border-radius: 999px;
  padding: 3px;
}
.mock-tabs span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--ink-muted);
}
.mock-tabs span.on {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.cal {
  display: grid;
  grid-template-columns: 46px repeat(3, 1fr);
  font-size: 0.74rem;
  position: relative;
}
.cal-head {
  display: contents;
}
.cal-head div {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  color: #fff;
  font-weight: 700;
  flex: none;
}
.cal-times {
  grid-column: 1;
}
.cal-times div {
  height: 44px;
  color: var(--ink-muted);
  padding: 2px 6px;
  font-size: 0.68rem;
  border-right: 1px solid var(--line);
}
.cal-col {
  position: relative;
  border-right: 1px solid var(--line);
  background-image: repeating-linear-gradient(to bottom, transparent 0 43px, var(--line) 43px 44px);
  height: 352px;
}
.cal-col:last-child {
  border-right: 0;
}
.appt {
  position: absolute;
  left: 5px;
  right: 5px;
  border-radius: 8px;
  padding: 6px 8px;
  line-height: 1.3;
  overflow: hidden;
  border-left: 3px solid;
  font-size: 0.7rem;
}
.appt b {
  display: block;
  font-size: 0.74rem;
}
.appt small {
  color: var(--ink-muted);
}
.appt--t {
  background: var(--terracotta-tint);
  border-color: var(--terracotta);
}
.appt--s {
  background: var(--sage-tint);
  border-color: var(--sage);
}
.appt--i {
  background: #e6e8ec;
  border-color: var(--ink);
}
.appt--free {
  background: repeating-linear-gradient(135deg, #fff 0 6px, #f5f2ec 6px 12px);
  border: 1.5px dashed var(--terracotta);
  color: var(--terracotta-strong);
  font-weight: 600;
  display: grid;
  place-items: center;
  text-align: center;
}
.now-line {
  position: absolute;
  left: 46px;
  right: 0;
  height: 2px;
  background: var(--error);
  z-index: 2;
}
.now-line::before {
  content: '';
  position: absolute;
  left: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--error);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}
.badge--ok {
  background: #e3f1e4;
  color: var(--success);
}
.badge--wa {
  background: #e3f1e4;
  color: #1d6b2a;
}

.hero-visual {
  position: relative;
}
.float-card {
  position: absolute;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-l);
  padding: 14px 16px;
  font-size: 0.82rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 270px;
  border: 1px solid var(--line);
}
.float-card .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.float-card b {
  display: block;
  font-size: 0.86rem;
}
.float-card--wa {
  left: -36px;
  bottom: -28px;
}
.float-card--money {
  right: -24px;
  top: -64px;
}
@media (max-width: 1100px) {
  .float-card--wa {
    left: 8px;
  }
  .float-card--money {
    right: 8px;
  }
}
@media (max-width: 560px) {
  .float-card {
    display: none;
  }
  .cal {
    grid-template-columns: 40px repeat(2, 1fr);
  }
  .cal-col--3 {
    display: none;
  }
  .cal-head .h3 {
    display: none;
  }
}

/* ---------- Franja de logos / datos ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 26px 20px;
  border-right: 1px solid var(--line);
}
.strip-item:last-child {
  border-right: 0;
}
.strip-item b {
  font-family: var(--font-head);
  font-size: 1.5rem;
  display: block;
  letter-spacing: -0.02em;
}
.strip-item span {
  color: var(--ink-muted);
  font-size: 0.92rem;
}
@media (max-width: 760px) {
  .strip-grid {
    grid-template-columns: 1fr 1fr;
  }
  .strip-item:nth-child(2) {
    border-right: 0;
  }
  .strip-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Tarjetas ---------- */
.grid {
  display: grid;
  gap: 22px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 {
  margin-bottom: 8px;
}
.card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
}
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.icon svg {
  width: 24px;
  height: 24px;
}
.icon--t {
  background: var(--terracotta-tint);
  color: var(--terracotta-strong);
}
.icon--s {
  background: var(--sage-tint);
  color: var(--sage);
}
.icon--i {
  background: #e6e8ec;
  color: var(--ink);
}
.section--ink .card {
  background: #272c34;
  border-color: #353b45;
}
.section--ink .card p {
  color: #b8bcc4;
}

/* ---------- Problema / solución ---------- */
.pain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pain .card {
  position: relative;
}
.pain .q {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 10px;
  font-weight: 500;
}
.pain .a {
  display: flex;
  gap: 10px;
  color: var(--sage);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
@media (max-width: 860px) {
  .pain {
    grid-template-columns: 1fr;
  }
}

/* ---------- Bloques de función alternos ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.feature-row + .feature-row {
  border-top: 1px solid var(--line);
}
.feature-row--rev .feature-copy {
  order: 2;
}
.feature-copy ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.feature-copy li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  color: var(--ink-soft);
}
.feature-copy li svg {
  margin-top: 4px;
}
@media (max-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-row--rev .feature-copy {
    order: 0;
  }
}

/* Mockup WhatsApp */
.phone {
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-l);
}
.phone-screen {
  background: #ece5da;
  border-radius: 30px;
  overflow: hidden;
  min-height: 470px;
  display: flex;
  flex-direction: column;
}
.wa-top {
  background: #1f5c4f;
  color: #fff;
  padding: 16px 16px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
}
.wa-top .avatar {
  width: 34px;
  height: 34px;
  background: var(--cream);
  padding: 6px;
}
.wa-body {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.bubble {
  background: #fff;
  border-radius: 10px 10px 10px 2px;
  padding: 10px 12px;
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 88%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.bubble--me {
  align-self: flex-end;
  background: #d9fdd3;
  border-radius: 10px 10px 2px 10px;
}
.bubble time {
  display: block;
  text-align: right;
  font-size: 0.66rem;
  color: #7a8088;
  margin-top: 2px;
}
.wa-btns {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}
.wa-btns span {
  display: block;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 7px;
  color: #1f7a64;
  font-weight: 600;
  font-size: 0.78rem;
  border: 1px solid #e6e6e6;
}

/* Mockup reserva móvil */
.book {
  background: var(--paper);
  min-height: 470px;
  display: flex;
  flex-direction: column;
}
.book-cover {
  height: 90px;
  background: linear-gradient(135deg, var(--terracotta) 0%, #8e4a35 100%);
  position: relative;
}
.book-logo {
  position: absolute;
  left: 16px;
  bottom: -22px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--paper);
  border: 3px solid var(--paper);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--terracotta-strong);
}
.book-body {
  padding: 30px 16px 16px;
  font-size: 0.78rem;
}
.book-body h4 {
  font-size: 1rem;
  margin: 0 0 2px;
}
.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 14px 0;
}
.days span {
  text-align: center;
  padding: 8px 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.7rem;
  line-height: 1.2;
}
.days span b {
  display: block;
  font-size: 0.9rem;
}
.days span.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.days span.off {
  opacity: 0.35;
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.slots span {
  text-align: center;
  padding: 8px 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.76rem;
}
.slots span.on {
  background: var(--terracotta-strong);
  border-color: var(--terracotta-strong);
  color: #fff;
}
.slots span.promo {
  border-color: var(--sage);
  color: var(--sage);
}

/* ---------- Tablas comparativas ---------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: 0.96rem;
}
.compare th,
.compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--font-head);
  font-size: 1rem;
  background: var(--cream);
}
.compare thead th.us {
  background: var(--ink);
  color: #fff;
}
.compare td.us {
  background: #fbf7f4;
  font-weight: 600;
}
.compare tr:last-child td {
  border-bottom: 0;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}
.yes {
  color: var(--success);
  font-weight: 600;
}
.no {
  color: var(--ink-muted);
}

/* ---------- Precios ---------- */
.billing-toggle {
  display: inline-flex;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 40px;
}
.billing-toggle button {
  border: 0;
  background: none;
  padding: 10px 18px;
  border-radius: 999px;
  font: 600 0.92rem var(--font-body);
  color: var(--ink-soft);
  cursor: pointer;
}
.billing-toggle button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}
.billing-toggle .save {
  color: var(--sage);
  font-size: 0.78rem;
  margin-left: 4px;
}
.billing-toggle button[aria-pressed='true'] .save {
  color: #9cc3ac;
}
.plans {
  display: grid;
  /* Dos planes: las tarjetas se centran en vez de quedarse pegadas a la
     izquierda con un hueco a la derecha. */
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 22px;
  align-items: stretch;
}
.plan-limits {
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  display: grid;
  gap: 6px;
}
.plan-limits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--ink);
}

.trial-note {
  display: inline-block;
  margin: 2px 0 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--terracotta-tint);
  color: var(--terracotta-strong);
  font-size: 0.82rem;
  font-weight: 600;
}
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--featured {
  border: 2px solid var(--terracotta-strong);
  box-shadow: var(--shadow-l);
}
.plan-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--terracotta-strong);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.plan .for {
  color: var(--ink-muted);
  font-size: 0.95rem;
  min-height: 48px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 4px;
}
.price b {
  font-family: var(--font-head);
  font-size: 3rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price span {
  color: var(--ink-muted);
}
.price-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 22px;
  min-height: 22px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}
.plan li {
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
}
.plan li.soon {
  color: var(--ink-muted);
}
.plan .btn {
  margin-top: auto;
}
.plan .spacer {
  flex: 1;
  min-height: 24px;
}
@media (max-width: 980px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.soon-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-tint);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: 2px;
  white-space: nowrap;
}

/* ---------- Calculadora ---------- */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
}
.calc-in {
  padding: 36px;
}
.calc-out {
  padding: 36px;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.field {
  margin-bottom: 22px;
}
.field label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.field output {
  color: var(--terracotta-strong);
  font-family: var(--font-head);
}
input[type='range'] {
  width: 100%;
  accent-color: var(--terracotta-strong);
}
.calc-out .big {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin: 10px 0;
}
.calc-out small {
  color: #a9aeb7;
}
@media (max-width: 820px) {
  .calc {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 600;
  list-style: none;
  position: relative;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--terracotta-strong);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq details > div {
  padding: 0 24px 20px;
  color: var(--ink-soft);
}

/* ---------- CTA final ---------- */
.cta-box {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-l);
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-box h2 {
  color: #fff;
}
.cta-box p {
  color: #c9ccd2;
  margin: 0;
}
.cta-box .deco {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 260px;
  opacity: 0.06;
}
@media (max-width: 820px) {
  .cta-box {
    grid-template-columns: 1fr;
    padding: 44px 28px;
  }
}

/* ---------- Formularios ---------- */
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .form {
    padding: 24px;
  }
}
.form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  transition:
    border-color 0.15s,
    background 0.15s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--terracotta-strong);
  background: #fff;
}
.form .group {
  margin-bottom: 18px;
}
.form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.form .consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--terracotta-strong);
}
.form-msg {
  display: none;
  padding: 14px 16px;
  border-radius: 10px;
  margin-top: 16px;
  font-weight: 500;
}
.form-msg.ok {
  display: block;
  background: #e3f1e4;
  color: var(--success);
}
.form-msg.err {
  display: block;
  background: #fbe5e5;
  color: var(--error);
}
.hp {
  position: absolute;
  left: -9999px;
}

/* ---------- Pasos ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: s;
}
.step {
  position: relative;
  padding-top: 56px;
}
.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terracotta-strong);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 600;
}
.step p {
  color: var(--ink-soft);
}
@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Índice de funciones ---------- */
.feature-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 28px;
}
.feature-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.feature-nav a:hover {
  border-color: var(--ink);
}
.feature-group {
  scroll-margin-top: 96px;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature-list li div b {
  display: block;
  font-weight: 600;
}
.feature-list li div span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
@media (max-width: 720px) {
  .feature-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b8bcc4;
  padding: 72px 0 32px;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}
.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-grid a {
  text-decoration: none;
  color: #b8bcc4;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-brand img {
  height: 30px;
  width: auto;
  margin-bottom: 16px;
}
.footer-brand p {
  max-width: 300px;
}
.footer-bottom {
  border-top: 1px solid #353b45;
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Legal ---------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 48px;
}
.legal h2 {
  font-size: 1.6rem;
  margin-top: 1.6em;
  scroll-margin-top: 96px;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal h3 {
  margin-top: 1.4em;
}
.legal p,
.legal li {
  color: var(--ink-soft);
}
.legal ul,
.legal ol {
  padding-left: 1.2em;
  margin: 0.8em 0;
}
.legal li {
  margin-bottom: 0.4em;
}
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-date {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1.4em;
}
.legal-lead {
  font-size: 1.05rem;
  color: var(--ink) !important;
  border-left: 3px solid var(--terracotta);
  padding-left: 16px;
  margin-bottom: 1.6em;
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 1em 0 1.4em;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.legal-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}
.legal-table thead th {
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
}
.legal-table tr:last-child td {
  border-bottom: 0;
}

/* Cabecera, menú entre documentos y pie de las páginas legales */
.legal-head {
  max-width: 820px;
  margin: 0 auto 20px;
}
.legal-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 6px 0 0;
}
.legal-nav {
  max-width: 820px;
  margin: 0 auto 20px;
}
.legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.legal-nav a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.legal-nav a:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.legal-nav a[aria-current='page'] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.legal-foot {
  max-width: 820px;
  margin: 20px auto 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.legal-index {
  max-width: 820px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}
.legal-index a {
  display: block;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}
.legal-index a:hover {
  border-color: var(--ink);
}
.legal-index b {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}
.legal-index span {
  font-size: 0.92rem;
  color: var(--ink-muted);
}
@media (max-width: 640px) {
  .legal {
    padding: 24px 20px;
  }
}
@media (max-width: 560px) {
  .legal {
    padding: 26px 20px;
  }
}

/* ---------- Cookies ---------- */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-l);
  padding: 20px;
  z-index: 90;
  display: none;
  font-size: 0.9rem;
}
.cookie-bar.show {
  display: block;
}
.cookie-bar p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}
.cookie-bar .btn-row .btn {
  flex: 1;
}

/* ---------- Animación de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .btn:hover {
    transform: none;
  }
}
.cta-box .btn--ghost {
  color: var(--cream);
  border-color: #5a606b;
}
.cta-box .btn--ghost:hover {
  border-color: var(--cream);
}
.hero .center .lead,
.center .lead {
  margin-left: auto;
  margin-right: auto;
}
.plan .btn {
  margin-top: 0;
}
.appt {
  padding: 4px 7px;
}
@media (max-width: 560px) {
  .mock-bar .badge {
    display: none;
  }
}
.icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
