/* ==========================================================================
   Fraylen Systems · Hoja de estilos principal
   Celular primero. Sin frameworks.
   ========================================================================== */

:root {
  /* Paleta */
  --bg: #F5F7FA;
  --bg-alt: #EAEFF5;
  --card: #FFFFFF;
  --border: #D9E1EA;
  --text: #0B1A2E;
  --text-2: #4A5A6E;
  --brand: #0E6178;
  --brand-hover: #0A4A5C;
  --brand-soft: #E3F1F5;
  --accent: #FF7A59;
  --accent-hover: #F2633F;
  --sky: #9FD4E0;
  --dark: #0B1A2E;
  --dark-2: #13263F;
  --dark-line: rgba(241, 245, 249, .1);
  --on-dark: #F1F5F9;
  --on-dark-2: #A9B8CB;
  --danger: #B42318;

  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 26, 46, .04), 0 8px 24px rgba(11, 26, 46, .05);
  --header-h: 72px;
  --gutter: 16px;
  --max: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }

img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand); }
a:hover { color: var(--brand-hover); }

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: inherit;
}
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 840px; }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 1000;
  background: var(--dark);
  color: var(--on-dark);
  padding: .75rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-dark); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }

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

.btn-ghost { background: transparent; color: var(--text); border-color: #B8C4D2; }
.btn-ghost:hover { border-color: var(--text); background: var(--text); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0; }
.btn-row .btn { flex: 1 1 200px; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
/* El desenfoque va en un pseudo-elemento: si estuviera en el header,
   el menú móvil (position: fixed) quedaría atrapado dentro de él. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(245, 247, 250, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--border); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--dark);
  text-decoration: none;
}
.logo:hover { color: var(--dark); }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text);
}
.logo-sub {
  margin-top: .3rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .62rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--brand);
}
.logo-light, .logo-light:hover { color: var(--brand); }
.logo-light .logo-name { color: var(--on-dark); }
.logo-light .logo-sub { color: var(--sky); }

/* Menú */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.site-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .2s, transform .2s;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
}
.site-nav li a:hover { color: var(--brand); }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.75rem;
    padding: 0;
    background: none;
    border: 0;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .site-nav ul { display: flex; gap: 1.4rem; }
  .site-nav li a {
    padding: .5rem 0;
    border: 0;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-2);
  }
  .site-nav li a:hover { color: var(--text); }
}

/* ---------- Etiquetas y encabezados de sección ---------- */
.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow-light { color: var(--accent); }

.lead { font-size: 1.125rem; color: var(--text-2); max-width: 36em; }

.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-sub { color: var(--text-2); font-size: 1.075rem; }
.section-note { margin: 2rem 0 0; font-weight: 700; color: var(--brand); }

@media (min-width: 960px) { .section { padding: 6rem 0; } }

/* ---------- Portada ---------- */
.hero { padding: 2.5rem 0 3.5rem; }
.hero-grid { display: grid; gap: 2.5rem; }

.guarantees {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.guarantees li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .975rem; }
.guarantees .icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  stroke-width: 3;
}

.flow-card {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.25rem;
  border-radius: calc(var(--radius) + 6px);
  background: var(--dark);
  color: var(--on-dark);
}
.flow-card::before {
  /* cordillera facetada de fondo */
  content: "";
  position: absolute;
  inset: auto -10% -2px -10%;
  height: 96px;
  background: var(--dark-2);
  clip-path: polygon(0 100%, 0 70%, 18% 30%, 30% 55%, 48% 10%, 62% 45%, 74% 25%, 100% 65%, 100% 100%);
  pointer-events: none;
}
.flow-card > * { position: relative; }
.flow-kicker {
  margin-bottom: .4rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.flow-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
.flow-steps { list-style: none; margin: 0; padding: 0; }
.flow-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .9rem;
  padding: 1rem;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-sm);
}
.flow-step strong { display: block; font-size: 1rem; line-height: 1.3; }
.flow-step span { color: var(--on-dark-2); font-size: .9rem; line-height: 1.4; }
.flow-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
}
.flow-step .flow-num {
  align-self: start;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--sky);
}
.flow-arrow { display: flex; justify-content: center; padding: .35rem 0; color: var(--accent); }
.flow-foot {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 1.5rem 0 0;
  font-size: .9rem;
  color: var(--on-dark-2);
}
.flow-foot .icon { color: var(--accent); }

/* Franja de confianza */
.trust {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.trust-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem 1rem;
}
.trust-points li { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .92rem; }
.trust-points .icon { color: var(--brand); }
.stack-title {
  margin-bottom: .6rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.stack-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.stack-list li {
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

@media (min-width: 960px) {
  .hero { padding: 4.5rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 4rem; }
  .guarantees { grid-template-columns: 1fr 1fr; }
  .btn-row .btn { flex: 0 0 auto; }
  .flow-card { padding: 2.25rem 2rem 2.5rem; }
  .trust { grid-template-columns: auto 1fr; align-items: center; gap: 2.5rem; padding: 1.5rem 2rem; }
  .trust-points { grid-template-columns: repeat(2, auto); }
  .stack { padding-left: 2.5rem; border-left: 1px solid var(--border); }
}

/* ---------- Rejillas y tarjetas ---------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}
.card p { color: var(--text-2); }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}
.card-icon .icon { width: 24px; height: 24px; }
.problem .card-icon { background: #FFECE6; color: #B8432A; }

.mini-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px dashed var(--border);
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}
.mini-list li { position: relative; padding-left: 1.1rem; }
.mini-list li + li { margin-top: .35rem; }
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* ---------- Precios ---------- */
.pricing { align-items: stretch; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.plan-desc { font-size: .95rem; }
@media (min-width: 1000px) { .pricing .plan-desc { min-height: 3.2em; } }
.price {
  margin: .25rem 0 1.25rem;
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}
.card p.price { color: var(--text); }
.price-sm { font-size: 1.6rem; margin: 0; }
.price-from, .price-cop {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-2);
}
.price-from { display: block; margin-bottom: .2rem; }
.check-list { list-style: none; margin: 0 0 1.75rem; padding: 0; flex: 1; font-size: .95rem; }
.check-list li { display: flex; gap: .55rem; align-items: flex-start; padding: .3rem 0; }
.check-list .icon { width: 18px; height: 18px; color: var(--brand); stroke-width: 2.6; margin-top: .2em; }

.plan-featured { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.plan-featured p,
.plan-featured .price-cop { color: var(--on-dark-2); }
.card.plan-featured p.price { color: var(--on-dark); }
.plan-featured .check-list .icon { color: var(--sky); }
.card .plan-badge {
  position: absolute;
  top: -13px;
  left: 1.5rem;
  margin: 0;
  padding: .28rem .85rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--dark);
  font-size: .78rem;
  font-weight: 800;
}

.plan-wide {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.25rem;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.plan-wide h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.plan-wide p { color: var(--on-dark-2); }
.plan-wide .check-list { margin: 1.25rem 0 0; }
.plan-wide .check-list .icon { color: var(--sky); }
.plan-wide-price {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
}
.plan-wide .price { color: var(--on-dark); font-size: 2.2rem; }
.plan-wide .price-from, .plan-wide .price-cop { color: var(--on-dark-2); }
.plan-wide-note { font-size: .9rem; }
@media (min-width: 600px) { .check-list-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } }
@media (min-width: 960px) {
  .plan-wide { grid-template-columns: 1.6fr 1fr; align-items: center; padding: 2.5rem; gap: 3rem; }
}

.monthly { margin-top: 1.25rem; }
.monthly-card { display: grid; gap: 1rem; align-items: center; }
.monthly-card h3 { margin-bottom: .3rem; }
.monthly-card p { font-size: .95rem; }
@media (min-width: 1100px) {
  .monthly-card { grid-template-columns: 1fr auto; }
  .monthly-card .btn { grid-column: 2; justify-self: end; }
  .monthly-card .price { grid-column: 2; grid-row: 1; text-align: right; }
}

/* ---------- Proceso ---------- */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.process-step {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.process-step p { color: var(--text-2); margin: 0; }
.process-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}
.process-num {
  display: block;
  margin-bottom: .25rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
}
@media (min-width: 680px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .process { grid-template-columns: repeat(4, 1fr); }
  .process-step {
    border-left: 1px solid var(--border);
    border-top: 3px solid var(--brand);
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

/* ---------- Proyectos (bloque oscuro) ---------- */
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark .section-sub { color: var(--on-dark-2); }

.projects { display: grid; gap: 1.25rem; }
.project {
  display: flex;
  flex-direction: column;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  overflow: hidden;
}
.project-img {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0E1F35;
  border-bottom: 1px solid var(--dark-line);
}
.project-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.project-body { padding: 1.5rem; }
.project-tag {
  margin-bottom: .5rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.project h3 { font-size: 1.4rem; }
.project-body > p:not(.project-tag) { color: var(--on-dark-2); }
.project-meta { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.project-meta li {
  padding: .3rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(159, 212, 224, .3);
  color: var(--sky);
  font-size: .82rem;
  font-weight: 600;
}
.project-text {
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(14, 97, 120, .35), rgba(14, 97, 120, 0) 60%),
    var(--dark-2);
}

@media (min-width: 800px) {
  .projects { grid-template-columns: 1fr 1fr; }
  .project-text { grid-column: 1 / -1; }
  .project-text .project-body { max-width: 760px; padding: 2rem; }
}

.testimonials { margin-top: 4rem; }
.testimonials-title { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 1.5rem; }
.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
}
.quote-icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 1rem; }
.quote blockquote { margin: 0 0 1.25rem; flex: 1; }
.quote blockquote p { margin: 0; font-size: 1.05rem; color: var(--on-dark); }
.quote figcaption { display: flex; flex-direction: column; padding-top: 1rem; border-top: 1px solid var(--dark-line); }
.quote figcaption span { font-size: .88rem; color: var(--on-dark-2); }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; gap: 2.5rem; }
.about-copy > p:not(.eyebrow):not(.section-sub) { color: var(--text-2); }
.founder {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin-top: .75rem;
  padding: .75rem 1.25rem .75rem .75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.founder-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--on-dark);
  font-weight: 800;
  letter-spacing: .05em;
}
.founder strong { display: block; line-height: 1.3; }
.founder span { font-size: .9rem; color: var(--text-2); }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 0 1.25rem;
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat dt { font-size: .88rem; color: var(--text-2); line-height: 1.35; }
.stat dd {
  margin: 0 0 .3rem;
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand);
}
.values { display: grid; gap: .75rem; }
.value {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.value .icon { color: var(--brand); margin-top: .15em; }
.value strong { display: block; line-height: 1.3; }
.value span { font-size: .92rem; color: var(--text-2); }

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
}

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.faq summary {
  position: relative;
  padding: 1.1rem 3.25rem 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-sm);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform .2s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--text-2); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 4rem; }
}
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.contact-list .icon { color: var(--brand); width: 22px; height: 22px; }
.contact-list a { color: var(--text); text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--brand); }

.work-terms {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.work-terms-title { font-weight: 800; margin-bottom: .6rem; }
.work-terms ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.work-terms li { display: flex; gap: .55rem; align-items: center; font-size: .95rem; }
.work-terms .icon { color: var(--brand); width: 18px; height: 18px; stroke-width: 2.6; }

.contact-form h3 { font-size: 1.4rem; margin-bottom: .25rem; }
.form-hint { font-size: .9rem; margin-bottom: 1.25rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; font-size: .95rem; }
.optional { font-weight: 500; color: var(--text-2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: .75rem .9rem;
  border: 1.5px solid #AEBBCB;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font: 500 1rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 97, 120, .25);
}
.field [aria-invalid="true"] { border-color: var(--danger); }
.card .form-error { color: var(--danger); font-weight: 600; font-size: .95rem; }

/* ---------- Pie de página ---------- */
.site-footer {
  background: var(--dark);
  color: var(--on-dark-2);
  padding: 3.5rem 0 6rem;
}
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand p { margin: 1.1rem 0 1.25rem; max-width: 34em; }
.footer-title {
  margin-bottom: .9rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a { color: var(--on-dark-2); text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--on-dark); text-decoration: underline; }

.social { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(241, 245, 249, .2);
  color: var(--on-dark);
}
.social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-line);
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Enlace a calculadora en portada ---------- */
.hero-calc { margin: -0.5rem 0 1.5rem; font-weight: 700; }
.hero-calc a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(14, 97, 120, .35);
  text-underline-offset: 4px;
}
.hero-calc a:hover { text-decoration-color: currentColor; }
.hero-calc .icon { width: 18px; height: 18px; }

/* ---------- Calculadora ---------- */
.calc-grid { display: grid; gap: 2rem; }
.calc-disclaimer {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  background: var(--card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9rem;
  color: var(--text-2);
}
.calc { display: grid; gap: 1.4rem; }
.calc-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.calc-field label { font-weight: 700; font-size: .95rem; }
.calc-label-row output {
  flex: none;
  min-width: 3.5rem;
  padding: .15rem .6rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  text-align: center;
}
.calc-help { margin: .4rem 0 0; font-size: .85rem; }
.calc input[type="range"] {
  width: 100%;
  margin: .75rem 0 0;
  accent-color: var(--brand);
  height: 28px;
  cursor: pointer;
}
.calc-money {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
  padding: 0 .9rem;
  min-height: 48px;
  border: 1.5px solid #AEBBCB;
  border-radius: var(--radius-sm);
  background: #fff;
  font-weight: 700;
  color: var(--text-2);
}
.calc-money:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 97, 120, .25); }
.calc-money input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: .75rem 0;
  background: transparent;
  color: var(--text);
  font: 700 1.05rem/1.2 var(--font-body);
}
.calc-money input:focus { outline: none; }
.calc-results { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.calc-result {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.calc-result-label { font-size: .82rem; color: var(--text-2); line-height: 1.3; }
.calc-result strong { font-family: var(--font-title); font-size: 1.45rem; line-height: 1.15; }
.calc-result-main { grid-column: 1 / -1; background: var(--dark); color: var(--on-dark); }
.calc-result-main .calc-result-label { color: var(--on-dark-2); }
.calc-result-main strong { font-size: 2rem; color: var(--accent); }
.calc-result-note { font-size: .9rem; color: var(--on-dark-2); }
@media (min-width: 960px) {
  .calc-grid { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 4rem; }
  .calc { padding: 2rem; }
}

/* ---------- Comparativa ---------- */
.compare { display: grid; gap: 1.25rem; }
.compare-col { padding: 1.75rem 1.5rem; border-radius: var(--radius); }
.compare-col h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: 1.35rem; margin-bottom: 1.25rem; }
.compare-pill {
  padding: .25rem .75rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.compare-col li { display: flex; gap: .65rem; align-items: flex-start; }
.compare-col li .icon { margin-top: .2em; width: 18px; height: 18px; stroke-width: 2.6; }
.compare-foot { margin: 1.5rem 0 0; padding-top: 1.1rem; font-weight: 700; }

.compare-before { background: var(--card); border: 1px solid var(--border); }
.compare-before .compare-pill { background: #FFECE6; color: #9A3412; }
.compare-before li { color: var(--text-2); }
.compare-before li .icon { color: #B8432A; }
.compare-before .compare-foot { border-top: 1px dashed var(--border); color: #9A3412; }

.compare-after { background: var(--dark); color: var(--on-dark); }
.compare-after .compare-pill { background: var(--accent); color: var(--dark); }
.compare-after li .icon { color: var(--sky); }
.compare-after .compare-foot { border-top: 1px solid var(--dark-line); color: var(--sky); }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; } }

/* ---------- Preparación y entregables ---------- */
.prep-grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.prep {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.prep h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.prep .check-list { margin: 0; }
.prep-dark { background: var(--dark); color: var(--on-dark); }
.prep-dark .check-list .icon { color: var(--sky); }
@media (min-width: 860px) { .prep-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Guía: qué te conviene ---------- */
.choose-card { display: flex; flex-direction: column; }
.choose-card h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.card .choose-ideal { margin-bottom: .9rem; font-weight: 800; color: var(--brand); }
.choose-card .check-list { margin: .25rem 0 1.25rem; }
.card .choose-price {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}
.guide-cta {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
}
.guide-cta h3 { margin-bottom: .4rem; }
.guide-cta p { color: var(--text-2); margin-bottom: .6rem; }
@media (min-width: 860px) { .guide-cta { grid-template-columns: 1fr auto; padding: 2rem; gap: 2.5rem; } }

/* ---------- Demo de catálogo ---------- */
.demo-grid { display: grid; gap: 2.5rem; }
.demo-points { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .6rem; }
.demo-points li { display: flex; gap: .6rem; align-items: center; font-weight: 600; }
.demo-points .icon { color: var(--sky); stroke-width: 2.6; }

.demo-app {
  background: var(--card);
  color: var(--text);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.demo-store { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-title); font-weight: 700; font-size: 1.15rem; }
.demo-store .icon { color: var(--brand); }
.demo-tag {
  margin: -.4rem 0 .9rem;
  font-size: .75rem;
  font-weight: 700;
  color: #9A3412;
}
.demo-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.demo-chip {
  min-height: 36px;
  padding: .35rem .9rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  font: 700 .85rem/1 var(--font-body);
  cursor: pointer;
}
.demo-chip:hover { border-color: var(--brand); }
.demo-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.demo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.demo-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  padding: .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.demo-item[hidden] { display: none; }
.demo-thumb {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.demo-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.demo-info strong { font-size: .95rem; }
.demo-info span { font-size: .8rem; color: var(--text-2); }
.demo-info .demo-price { margin-top: .15rem; font-size: .9rem; font-weight: 800; color: var(--text); }
.demo-qty { display: flex; align-items: center; gap: .3rem; }
.demo-qty output { min-width: 1.4rem; text-align: center; font-weight: 800; }
.demo-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}
.demo-btn[data-step="1"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.demo-btn .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.demo-chat {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: #E7EEF0;
}
.demo-chat-title { display: flex; align-items: center; gap: .4rem; margin-bottom: .6rem; font-size: .8rem; font-weight: 800; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; }
.demo-chat-title .icon { width: 16px; height: 16px; }
.demo-bubble {
  position: relative;
  max-width: 92%;
  margin-left: auto;
  padding: .75rem .9rem;
  border-radius: 14px 14px 4px 14px;
  background: #D9F2E6;
  color: var(--text);
  font-size: .88rem;
  line-height: 1.5;
  white-space: pre-line;
}
@media (min-width: 960px) {
  .demo-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  .demo-app { padding: 1.5rem; }
}

/* ---------- Sectores ---------- */
.sectors { display: grid; gap: 1rem; }
.sector {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.sector h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.sector p { margin: 0; font-size: .92rem; color: var(--text-2); }
.sector-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
@media (min-width: 680px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .sectors { grid-template-columns: repeat(4, 1fr); }
  .sector { flex-direction: column; }
}

/* ---------- Test: qué necesita tu negocio ---------- */
.quiz {
  margin-top: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
}
.quiz-head h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin-bottom: .3rem; }
.quiz-head p { color: var(--text-2); }
.quiz-grid { display: grid; gap: 1.25rem; margin: 1.25rem 0; }
.quiz-q { margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz-q legend { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; padding: 0; font-weight: 800; }
.quiz-n {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--on-dark);
  font-size: .8rem;
  flex: none;
}
.quiz-opt { display: block; margin-bottom: .45rem; cursor: pointer; }
.quiz-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz-opt span {
  display: block;
  padding: .7rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-weight: 600;
  transition: border-color .15s, background-color .15s;
}
.quiz-opt:hover span { border-color: var(--brand); }
.quiz-opt input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-hover); }
.quiz-opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.quiz-error { color: var(--danger); font-weight: 600; }
.quiz-result {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--on-dark);
}
.quiz-result:focus { outline: none; }
.quiz-result-kicker { margin-bottom: .3rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.quiz-result h4 { margin: 0 0 .5rem; font-family: var(--font-title); font-size: 1.6rem; font-weight: 600; line-height: 1.2; }
.quiz-result p { color: var(--on-dark-2); }
.quiz-extra { padding: .75rem 1rem; border-radius: var(--radius-sm); background: var(--dark-2); color: var(--on-dark) !important; }
@media (min-width: 860px) {
  .quiz { padding: 2.25rem; }
  .quiz-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; }
}

/* ---------- Consejos ---------- */
.tips { display: grid; gap: 1.25rem; }
.tip {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tip-n {
  display: block;
  margin-bottom: .6rem;
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}
.tip h3 { font-size: 1.2rem; }
.tip p { color: var(--text-2); font-size: .95rem; }
.tip .tip-fix { margin: 0; padding-top: .9rem; border-top: 1px dashed var(--border); color: var(--text); }
.tip-fix strong { color: var(--brand); }
@media (min-width: 680px) { .tips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .tips { grid-template-columns: repeat(6, 1fr); }
  .tip { grid-column: span 2; }
  .tip:nth-child(4) { grid-column: 2 / span 2; }
}

/* ---------- Demo de ropa: tallas, carrito y envío ---------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.demo-item { align-items: start; }
.demo-cart {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
}
.demo-cart .icon { width: 16px; height: 16px; }
.demo-cart.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.18); } }
.sizes { display: flex; flex-wrap: wrap; gap: .3rem; margin: .5rem 0 0; padding: 0; border: 0; min-width: 0; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.size span:not(.sr-only) {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  padding: 0 .5rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--text);
}
.size:hover span:not(.sr-only) { border-color: var(--brand); }
.size input:checked + span { background: var(--dark); border-color: var(--dark); color: #fff; }
.size input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.size.is-out { cursor: not-allowed; }
.size.is-out span:not(.sr-only) { color: #9AA6B4; border-style: dashed; text-decoration: line-through; }
.demo-add {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 38px;
  padding: .45rem .8rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font: 700 .82rem/1 var(--font-body);
  cursor: pointer;
}
.demo-add:hover { background: var(--brand-hover); }
.demo-add .icon { width: 16px; height: 16px; stroke-width: 2.6; }
@media (max-width: 420px) { .demo-add span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); } .demo-add { padding: .5rem; } }

.demo-ship { margin-top: 1rem; }
.demo-ship-text { margin-bottom: .4rem; font-size: .85rem; font-weight: 700; color: var(--text-2); }
.demo-ship-text strong { color: var(--brand); }
.demo-ship-bar { height: 8px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.demo-ship-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand); transition: width .35s ease; }
.demo-ship.is-free .demo-ship-bar span { background: #1F9D6B; }

.demo-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: .75rem; }
.demo-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 36px;
  padding: .35rem .2rem;
  border: 0;
  background: none;
  color: var(--brand);
  font: 700 .85rem/1.2 var(--font-body);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.demo-link:disabled, .demo-link[aria-disabled="true"] { color: #8A97A6; cursor: not-allowed; text-decoration: none; }
.demo-link .icon { width: 16px; height: 16px; }

/* ---------- Estado de atención ---------- */
.contact-list .status { align-items: flex-start; }
.status-dot {
  flex: none;
  width: 12px;
  height: 12px;
  margin: .4rem 5px 0;
  border-radius: 50%;
  background: #9AA6B4;
}
.status.is-open .status-dot { background: #1F9D6B; box-shadow: 0 0 0 4px rgba(31, 157, 107, .2); }
.status-hours { font-weight: 500; font-size: .9rem; color: var(--text-2); }

/* ---------- Menú: sección actual ---------- */
@media (min-width: 1100px) {
  .site-nav li a { position: relative; }
  .site-nav li a.is-active { color: var(--text); }
  .site-nav li a.is-active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
  }
}
.site-nav li a.is-active { color: var(--brand); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 26, 46, .28);
  transition: background-color .2s, transform .2s;
}
.wa-float:hover { background: var(--brand-hover); color: #fff; transform: translateY(-2px); }
.wa-float .icon { width: 28px; height: 28px; }
body.menu-open .wa-float { display: none; }

/* ---------- Renovación anual en planes ---------- */
.card p.renewal {
  margin: -.75rem 0 1.25rem;
  padding: .45rem .75rem;
  border-radius: 10px;
  background: var(--bg-alt);
  font-size: .85rem;
  color: var(--text-2);
}
.card p.renewal strong { color: var(--text); }
.plan-featured p.renewal { background: var(--dark-2); color: var(--on-dark-2); }
.plan-featured p.renewal strong { color: var(--on-dark); }
.plan-wide p.renewal { margin: -.75rem 0 1rem; padding: .45rem .75rem; border-radius: 10px; background: var(--dark); color: var(--on-dark-2); font-size: .85rem; }
.plan-wide p.renewal strong { color: var(--on-dark); }
.card .choose-price span { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--text-2); }

/* ---------- Páginas legales ---------- */
.legal { padding: 3rem 0 4rem; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { color: var(--text-2); max-width: 70ch; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: .4rem; }
.legal strong { color: var(--text); }
.legal-updated { font-size: .9rem; font-weight: 600; }
.legal-footer { padding: 1.5rem 0; }
.legal-footer .footer-bottom { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-footer a, .footer-legal a { color: var(--on-dark-2); }
.legal-footer a:hover, .footer-legal a:hover { color: var(--on-dark); }

/* ---------- 404 ---------- */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 3rem 0;
  text-align: center;
}
.error-code {
  font-family: var(--font-title);
  font-size: clamp(5rem, 22vw, 9rem);
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  margin-bottom: .5rem;
}
.error-page .lead { margin-inline: auto; }
.error-page .btn-row { justify-content: center; }
.error-page .btn-row .btn { flex: 0 1 auto; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
