/* ==========================================================
   The Novis — hoja de estilos
   ========================================================== */

/* Tipografía alojada en la propia web (sin enviar datos a terceros) */
@font-face {
  font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../assets/fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Geist Mono: solo para datos y etiquetas (números, dominios, tipos de plan) */
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../assets/fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Paleta: seis colores, sacados del logo */
  --paper: #ffffff;        /* Papel: fondo */
  --mist: #eef1f5;         /* Niebla: superficies alternas */
  --line: #d9dee6;         /* Hilo: la única línea de estructura */
  --muted: #5e6677;        /* Pizarra: texto secundario */
  --ink: #0b2545;          /* Atlántico: marca, títulos y acciones */
  --coral: #ff5e82;        /* Coral: el punto del logo, solo como señal */

  /* Derivados del Atlántico (no son colores nuevos) */
  --ink-2: #13315c;        /* hover de acciones */
  --text: var(--ink);
  --body: #30465f;         /* Atlántico al 85 % sobre papel */
  --edge: rgba(11,37,69,.28);
  --blue: var(--ink);      /* alias para las páginas que aún lo usan */
  --blue-hover: var(--ink-2);

  /* Tipografía: dos familias */
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --fs-display: clamp(44px, 6.4vw, 84px);
  --fs-h2: clamp(32px, 4vw, 48px);
  --fs-h3: clamp(22px, 2vw, 26px);
  --fs-lead: 19px;
  --fs-sm: 15px;
  --fs-xs: 13px;
  --measure: 54ch;         /* con Geist, unos 75 caracteres por línea como máximo */

  /* Radios: pequeños y constantes */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);   /* aperturas y entradas cortas */
  --t-hover: 180ms;
  --t-ui: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font-family: var(--sans); font-variant-numeric: tabular-nums;
  font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--text); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
h1, h2 { font-weight: 550; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p, li, dd, summary { max-width: var(--measure); }
ul, ol, dl, dd { margin: 0; padding: 0; }

/* ---------- Botones ---------- */
.btn { white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--r-md); border: 0;
  background: var(--blue); color: #fff; font: inherit; font-size: 16px; font-weight: 550;
  cursor: pointer; transition: background .2s;
}
.btn:hover { background: var(--blue-hover); }
.btn--small { padding: 9px 16px; font-size: 15px; border-radius: var(--r-sm); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--edge); }
.btn--ghost:hover { background: var(--mist); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mist); }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.nav.is-scrolled { border-color: var(--line); }
.nav.menu-open::before { background: #fff; }
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 21px; letter-spacing: -0.045em; color: var(--text); }
.logo__mark { width: 26px; height: 26px; flex: none; background: url("../assets/logo-mark.svg?v=10") center / contain no-repeat; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { font-size: 15px; color: var(--body); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); margin: 5px 0; transition: transform .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Portada ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 152px var(--gutter) 64px;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center;
}
.hero__title { font-size: var(--fs-display); letter-spacing: -0.05em; line-height: 1; color: var(--ink); text-align: center; }
.hero__sub { font-size: var(--fs-lead); line-height: 1.6; }
.hero__cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
/* Tres compromisos: filas de una ficha, sin iconos */
.hero__facts { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.hero__facts li { padding: 10px 0; border-bottom: 1px solid var(--line); }

/* Navegador con ejemplos */
/* Navegador: un marco de 1 px; la barra solo enseña el dominio, que es el dato útil */
.browser { border-radius: var(--r-sm); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(11,37,69,.12); }
.browser__bar { display: flex; align-items: center; padding: 9px 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.browser__url {
  flex: 1; max-width: 300px; margin: 0 auto; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted);
  background: #fff; border-radius: 6px; padding: 3px 12px;
}
.browser__screen { position: relative; aspect-ratio: 16 / 10; container-type: inline-size; overflow: hidden; }
.site { position: absolute; inset: 0; padding: 3.2cqw 4cqw; display: flex; flex-direction: column; }
.s-nav { display: flex; align-items: center; gap: 2.6cqw; font-size: 1.5cqw; }
.s-nav b { margin-right: auto; font-size: 2cqw; }
.s-hero { flex: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 4cqw; align-items: center; }
.s-hero h3 { font-size: 4.6cqw; line-height: 1.05; letter-spacing: -0.03em; color: inherit; }
.s-hero p { font-size: 1.6cqw; margin-top: 1.6cqw; line-height: 1.5; }
.s-btn { display: inline-block; margin-top: 2.4cqw; font-size: 1.5cqw; padding: 1.1cqw 2cqw; border-radius: 0.8cqw; font-weight: 600; }

/* Ejemplo: taller de cerámica */
.site--barro { background: #efe6da; color: #3b2a20; font-family: Georgia, "Times New Roman", serif; }
.site--barro .s-nav b { font-style: italic; font-weight: 400; font-size: 2.4cqw; }
.site--barro .s-kicker { font-family: "Geist", sans-serif; font-size: 1.4cqw; color: #6b4b38; margin: 0 0 1.4cqw; }
.site--barro h3 { font-weight: 400; letter-spacing: -0.02em; }
.site--barro .s-btn { background: #3b2a20; color: #efe6da; font-family: "Geist", sans-serif; border-radius: 4cqw; }
.s-pots { position: relative; height: 100%; min-height: 24cqw; }
.s-pots i { position: absolute; bottom: 8%; border-radius: 46% 46% 40% 40% / 30% 30% 70% 70%; }
.s-pots i:nth-child(1) { left: 4%; width: 34%; height: 58%; background: #c47a52; }
.s-pots i:nth-child(2) { left: 32%; width: 40%; height: 78%; background: #d9b99b; border-radius: 40% 40% 46% 46% / 22% 22% 78% 78%; }
.s-pots i:nth-child(3) { right: 0; width: 30%; height: 44%; background: #7d5a44; }

/* Ejemplo: clínica dental */
.site--alameda { background: #fff; color: #0f2a2a; }
.site--alameda .s-nav b { color: #0f766e; }
.site--alameda .s-pill { background: #0f766e; color: #fff; padding: .7cqw 1.6cqw; border-radius: 4cqw; }
.site--alameda h3 { color: #0f2a2a; }
.site--alameda .s-row { display: flex; align-items: center; gap: 2cqw; }
.site--alameda .s-btn { background: #0f766e; color: #fff; }
.site--alameda .s-tel { font-size: 1.5cqw; margin-top: 2.4cqw; color: #0f766e; font-weight: 600; }
.s-card { background: #ecf7f5; border-radius: 2cqw; padding: 3cqw; display: grid; gap: 1.2cqw; font-size: 1.5cqw; }
.s-card b { font-size: 1.7cqw; }
.s-card span { font-size: 2.6cqw; font-weight: 600; color: #0f766e; letter-spacing: -0.02em; }
.s-card i { height: 1.2cqw; border-radius: 1cqw; background: #cfe9e5; }
.s-card i:last-child { width: 60%; }

/* Ejemplo: taberna */
.site--porto { background: #12372a; color: #f1e9d2; }
.site--porto .s-nav b { font-size: 2.2cqw; letter-spacing: .02em; }
.site--porto .s-hero { grid-template-columns: 1fr 1fr; }
.site--porto h3 { font-size: 4.2cqw; font-weight: 500; }
.s-menu { list-style: none; display: grid; gap: 2cqw; font-size: 1.7cqw; }
.s-menu li { display: flex; gap: 1cqw; align-items: baseline; }
.s-menu li span:first-child { flex: 1; display: flex; gap: 1cqw; align-items: baseline; }
.s-menu li span:first-child::after { content: ""; flex: 1; border-bottom: 1px dotted rgba(241,233,210,.4); }
.s-menu li span:last-child { color: #e8c37a; font-weight: 600; }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 10vw, 128px) var(--gutter); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #c9d4e5; }
.section__head { max-width: var(--max); margin: 0 auto clamp(40px, 5vw, 64px); }
.section__head h2, .split__aside h2, .contact h2 { font-size: var(--fs-h2); color: var(--ink); }
.section__head p { margin-top: 16px; font-size: var(--fs-lead); }
.section--ink h2 { color: #fff; }

/* Ejemplos: va pegado a la portada */
.work { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(80px, 10vw, 128px); }
.work__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  padding-top: 48px; border-top: 1px solid var(--line); margin-bottom: 28px;
}
.work__head h2 { font-size: var(--fs-h2); color: var(--ink); }
.work__head p { margin-top: 12px; max-width: 52ch; font-size: 17px; }
/* Pestañas sobre una línea base. La raya de la pestaña activa
   es a la vez el indicador de selección y la cuenta atrás del cambio automático. */
.work__tabs { display: inline-flex; gap: 28px; border-bottom: 1px solid var(--line); }
.work__tabs [role="tab"] {
  position: relative;
  font: inherit; font-size: 16px; font-weight: 500; color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 10px 0 12px; white-space: nowrap; transition: color .2s;
}
.work__tabs [role="tab"]:hover { color: var(--ink); }
.work__tabs [role="tab"][aria-selected="true"] { color: var(--ink); }
.work__tabs [role="tab"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
}
.work__tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.work__tabs.is-auto [role="tab"][aria-selected="true"]::after { transform: scaleX(0); animation: progreso 5s linear forwards; }
.work__tabs.is-auto.is-paused [role="tab"][aria-selected="true"]::after { animation-play-state: paused; }
@keyframes progreso { to { transform: scaleX(1); } }
.work__controls { display: flex; align-items: center; gap: 8px; }

.work__panel { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.work__panel[hidden] { display: none; }
/* Animación de entrada de cada ejemplo */
.work__panel:not([hidden]) .stage { animation: entrarFondo .7s var(--ease) both; }
.work__panel:not([hidden]) .browser { animation: entrarWeb .75s .05s var(--ease) both; }
.work__panel:not([hidden]) .phone { animation: entrarMovil .85s .2s var(--ease) both; }
.work__panel:not([hidden]) .work__info > * { animation: entrarTexto .6s var(--ease) both; }
.work__panel:not([hidden]) .work__info > :nth-child(2) { animation-delay: .08s; }
.work__panel:not([hidden]) .work__info > :nth-child(3) { animation-delay: .16s; }
@keyframes entrarFondo { from { opacity: 0; transform: scale(.985); } }
@keyframes entrarWeb { from { opacity: 0; transform: translateY(22px) scale(.97); } }
@keyframes entrarMovil { from { opacity: 0; transform: translateY(32px); } }
@keyframes entrarTexto { from { opacity: 0; transform: translateY(12px); } }
.work__panel:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: var(--r-lg); }


.stage { position: relative; border-radius: var(--r-lg); padding: 5% 9% 7% 5%; }
.stage--barro { background: #e8dccb; }
.stage--alameda { background: #dcefeb; }
.stage--porto { background: #12372a; }
.stage--porto .browser { box-shadow: 0 0 0 1px rgba(241,233,210,.22); }
/* Solo el ejemplo con web real es clicable: el contorno marca toda la zona activa */
.stage--link { display: block; color: inherit; text-decoration: none; cursor: pointer; outline: 2px solid transparent; outline-offset: 4px; transition: outline-color .25s var(--ease); }
.stage--link:hover { outline-color: var(--ink); }
.stage--link::after {
  content: attr(data-live); position: absolute; left: 16px; bottom: 16px; z-index: 3;
  padding: 7px 12px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600;
  opacity: 0; transform: translateY(4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.stage--link:hover::after { opacity: 1; transform: none; }
@media (hover: none) { .stage--link::after { opacity: 1; transform: none; } }
.work__live { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; padding: 12px 20px; border-radius: var(--r-md); background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.work__live:hover { background: var(--ink-2); }
.work__live:active { transform: scale(.97); }
.work__live svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.phone {
  position: absolute; right: 3.5%; bottom: -6%; width: 21%; aspect-ratio: 9 / 19;
  border-radius: 24px; padding: 20px 12px 14px; background: #fff;
  box-shadow: 0 0 0 6px #1c2230; display: flex; flex-direction: column; gap: 8px;
  font-size: 11px; color: var(--text); line-height: 1.3;
}
.phone b { font-size: 14px; letter-spacing: -0.02em; }
.phone span { color: var(--muted); }
.phone i { flex: 1; border-radius: 10px; background: #eef1f5; }
.phone em { font-style: normal; text-align: center; padding: 8px 4px; border-radius: 9px; color: #fff; font-weight: 600; }
.phone--barro { font-family: Georgia, serif; background: #f6efe6; }
.phone--barro span { color: #6b5a4c; }
.phone--barro b { font-style: italic; font-weight: 400; font-size: 16px; }
.phone--barro i { background: radial-gradient(circle at 50% 66%, #c47a52 0 26%, transparent 27%), #eadcc9; }
.phone--barro em { background: #3b2a20; font-family: "Geist", sans-serif; }
.phone--alameda i { background: linear-gradient(#ecf7f5 0 0) top / 100% 44% no-repeat, linear-gradient(#cfe9e5 0 0) bottom / 70% 10% no-repeat, #fff; box-shadow: inset 0 0 0 1px #e3efed; }
.phone--alameda em { background: #0f766e; }
.phone--porto { background: #1a4636; color: #f1e9d2; }
.phone--porto span { color: #c9bfa4; }
.phone--porto i { background: repeating-linear-gradient(#1a4636 0 12px, rgba(241,233,210,.2) 12px 13px); }
.phone--porto em { background: #e8c37a; color: #12372a; }

.work__info h3 { font-size: var(--fs-h3); color: var(--ink); }
.work__info p { margin-top: 12px; }
/* Funciones del ejemplo: una ficha técnica, una fila por función */
.work__list { list-style: none; margin-top: 24px; border-top: 1px solid var(--line); font-size: 16px; color: var(--text); }
.work__list li { padding: 11px 0; border-bottom: 1px solid var(--line); }

/* Dos columnas: título a un lado, contenido al otro */
.split { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split__aside { position: sticky; top: 104px; }
.split__aside p { margin-top: 16px; max-width: 24em; }
.split__aside a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Servicios */
/* Servicios: desplegable. Se abre uno cada vez (atributo name) y funciona sin JavaScript.
   La apertura es rápida y pequeña porque se repite muchas veces: 260 ms al abrir, 180 ms al cerrar. */
.services { border-top: 1px solid var(--line); }
.services details { border-bottom: 1px solid var(--line); }
.services summary {
  position: relative; list-style: none; cursor: pointer; max-width: none;
  padding: 24px 48px 24px 0; font-size: 21px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; line-height: 1.3;
}
.services summary::-webkit-details-marker { display: none; }
/* Más que pasa a menos: dice si la fila está abierta */
.services summary::before, .services summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.6px; background: var(--ink);
  transition: transform var(--t-ui) var(--ease-out), opacity var(--t-hover) ease;
}
.services summary::after { transform: rotate(90deg); }
.services details[open] summary::after { transform: rotate(0); }
.services details:not([open]) summary::before, .services details:not([open]) summary::after { opacity: .55; }
.services summary:hover::before, .services summary:hover::after { opacity: 1; }
.services__body p { padding: 0 48px 26px 0; max-width: 46ch; color: var(--body); }
/* El texto entra desde donde estaba el título: baja 8 px y aparece */
.services__body { opacity: 0; translate: 0 -8px; transition: opacity var(--t-hover) ease, translate var(--t-ui) var(--ease-out); }
.services details[open] .services__body { opacity: 1; translate: 0 0; transition-delay: 60ms; }
/* La altura se anima solo donde el navegador sabe hacerlo; en los demás se abre al instante */
@supports (interpolate-size: allow-keywords) {
  .services { interpolate-size: allow-keywords; }
  .services details::details-content {
    block-size: 0; overflow: clip;
    transition: block-size 180ms var(--ease-out), content-visibility 180ms allow-discrete;
  }
  .services details[open]::details-content { block-size: auto; transition-duration: 260ms; }
}

/* Proceso: es una secuencia real, por eso va numerado */
.steps { list-style: none; max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: paso; }
.steps { gap: 32px; }
.step { position: relative; padding-top: 20px; border-top: 1px solid var(--line); transition: border-color .3s; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--ink); transition: width .4s var(--ease); }
.step__n { font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.step__n::before { content: "0"; }
.step h3 { font-size: 22px; margin: 14px 0 8px; color: var(--ink); }
.step p { font-size: 16px; }
@media (hover: hover) and (pointer: fine) { .step:hover::before { width: 100%; } }

/* Precios */
.plans {
  max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line);
}
.plan { padding: 40px 32px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan--featured { background: var(--ink); color: #c9d4e5; border-radius: var(--r-lg); margin: -1px 0; border-left: 0 !important; }
.plan--featured + .plan { border-left: 0; }

.plan__tag { font-family: var(--mono); font-size: var(--fs-xs); color: #fff; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.plan__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.plan h3 { font-size: 26px; color: var(--ink); }
.plan.plan--featured h3 { color: #fff; }
.plan__desc { margin-top: 6px; font-size: 16px; }
.plan__price { margin: 28px 0 24px; font-size: 44px; font-weight: 650; letter-spacing: -0.04em; color: var(--text); line-height: 1; }
.plan__price span { font-size: 16px; font-weight: 450; letter-spacing: 0; color: var(--muted); margin-right: 4px; }
.plan__price--text { font-size: 30px; line-height: 1.1; }
.plan__price--text span { display: block; margin: 6px 0 0; font-size: 16px; }
.plan__more { margin-top: 14px; text-align: center; font-size: 15px; color: var(--blue); }
.plan__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.plan--featured .plan__price { color: #fff; }
.plan--featured .plan__price span { color: #a9b8cf; }
.plan ul { list-style: none; flex: 1; margin-bottom: 32px; display: grid; gap: 12px; align-content: start; font-size: 16px; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230b2545' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan--featured li::before { filter: brightness(0) invert(1); opacity: .9; }

/* Preguntas */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-size: 19px; font-weight: 550; color: var(--text); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 0 24px; }

/* Contacto */
.contact { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__intro > p { margin-top: 18px; font-size: var(--fs-lead); max-width: 40ch; }
.contact__info { margin-top: 40px; }
.contact__info > div { display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact__info dt { width: 80px; color: #8fa1bd; }
.contact__info dd { color: #fff; }
.contact__info a { text-decoration: underline; text-underline-offset: 3px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; color: #dfe6f1; font-weight: 500; }
.opt { color: #8fa1bd; font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: #fff; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 13px 14px; outline: none; resize: vertical;
  transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field textarea::placeholder { color: #8396b4; }
.field select {
  cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23c9d4e5' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field select option { color: #111; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #fff; background: rgba(255,255,255,.1); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff8a8a; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form .btn { margin-top: 6px; padding: 16px; font-size: 17px; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.form__status { min-height: 24px; font-size: 15px; text-align: center; max-width: none; }
.form__status.ok { color: #7ee2a0; }
.form__status.err { color: #ffa3a3; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #dfe6f1; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--coral); flex: none; cursor: pointer; }
.check a, .legal-info a { color: #a9c4ff; text-decoration: underline; }
.check.is-invalid span { color: #ffa3a3; }
.legal-info { font-size: var(--fs-xs); line-height: 1.55; color: #9aabc4; }
.legal-info strong { color: #c9d4e5; font-weight: 600; }

/* Pie */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding: 40px var(--gutter); font-size: 14px; color: var(--muted); }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto; gap: 24px 48px; align-items: center; }
.footer__brand { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer .logo { font-size: 18px; }
.footer .logo__mark { width: 22px; height: 22px; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a:hover { color: var(--text); }

/* ---------- Accesibilidad ---------- */
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px;
}
.section--ink :focus-visible { outline-color: #fff; }
.btn:focus-visible { border-radius: 12px; }

/* ---------- Asistente virtual ---------- */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; font-size: 15px; }
.chat__fab {
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; margin-left: auto;
  background: var(--ink); color: #fff; box-shadow: 0 6px 16px -6px rgba(11,37,69,.45); display: grid; place-items: center; transition: transform .25s var(--ease);
}
.chat__fab:hover { transform: scale(1.05); }
.chat__fab svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; grid-area: 1/1; transition: opacity .2s, transform .3s var(--ease); }
.chat__fab .i-close { opacity: 0; transform: rotate(-90deg); }
.chat.is-open .chat__fab .i-open { opacity: 0; transform: rotate(90deg); }
.chat.is-open .chat__fab .i-close { opacity: 1; transform: none; }
.chat__panel {
  position: absolute; right: 0; bottom: 72px; width: 370px; height: min(560px, calc(100vh - 120px));
  background: #fff; border-radius: var(--r-lg); box-shadow: 0 16px 40px -20px rgba(11,37,69,.4), 0 0 0 1px rgba(11,37,69,.1);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.chat.is-open .chat__panel { opacity: 1; visibility: visible; transform: none; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat__head strong { display: block; font-size: 15px; color: var(--text); }
.chat__head small { color: var(--muted); font-size: 12px; }
.chat__avatar { width: 34px; height: 34px; flex: none; background: url("../assets/logo-mark.svg?v=10") center / contain no-repeat; }
.chat__close { margin-left: auto; background: var(--mist); border: 0; width: 30px; height: 30px; border-radius: 50%; font-size: 20px; line-height: 1; color: var(--body); cursor: pointer; }
.chat__body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.chat__msg { max-width: 85%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; word-wrap: break-word; }
.chat__msg--bot { background: var(--mist); color: var(--text); border-bottom-left-radius: 5px; align-self: flex-start; }
.chat__msg--user { background: var(--blue); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.chat__msg a { color: var(--blue); }
.chat__msg--typing { display: flex; gap: 4px; padding: 14px 16px; }
.chat__msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #a1a8b5; animation: chatDot 1.2s infinite; }
.chat__msg--typing i:nth-child(2) { animation-delay: .15s; }
.chat__msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 10px; }
.chat__chips:empty { display: none; }
.chat__chips button { font: inherit; font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 980px; padding: 6px 12px; cursor: pointer; }
.chat__chips button:hover { background: var(--mist); }
.chat__note { margin: 0; padding: 8px 16px 0; font-size: 11.5px; line-height: 1.4; color: var(--muted); text-align: center; }
.chat__note a { color: var(--blue); text-decoration: underline; }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; font: inherit; font-size: 15px; border: 1px solid var(--edge); border-radius: var(--r-md); padding: 10px 14px; outline: none; color: var(--text); }
.chat__form input:focus { border-color: var(--blue); }
.chat__form button { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--blue); cursor: pointer; display: grid; place-items: center; flex: none; }
.chat__form button svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Páginas legales ---------- */
.link-back { color: var(--blue); font-size: 15px; font-weight: 500; }
.legal { max-width: 760px; margin: 0 auto; padding: 128px var(--gutter) 96px; }
.legal .eyebrow { color: var(--muted); font-size: 16px; margin-bottom: 10px; }
.legal h1 { font-size: clamp(36px, 6vw, 52px); color: var(--ink); }
.legal__date { color: var(--muted); margin-top: 10px; font-size: 15px; }
.legal section { margin-top: 44px; }
.legal h2 { font-size: 24px; margin-bottom: 14px; color: var(--ink); }
.legal h3 { font-size: 18px; margin: 26px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal li { font-size: 17px; color: var(--body); max-width: 52ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 8px 0 0; }
.legal li { margin: 8px 0; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal__data { display: grid; grid-template-columns: 170px 1fr; margin: 18px 0; background: var(--mist); border-radius: 16px; overflow: hidden; }
.legal__data dt, .legal__data dd { margin: 0; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 16px; }
.legal__data dt { color: var(--muted); }
.legal__data dt:nth-last-of-type(1), .legal__data dd:last-child { border-bottom: 0; }
.pend { background: #fff3cd; color: #8a6100; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; }
.legal-page .footer__inner { grid-template-columns: 1fr auto auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 24px; }
  .hero__side { max-width: 640px; }
  .work__panel { grid-template-columns: 1fr; }
  .work__info { max-width: 640px; }
  .split, .contact { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan--featured { margin: 0 -1px; border-top: 0 !important; }
  .plan--featured + .plan { border-top: 0; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: 64px; left: 0; right: 0; height: calc(100dvh - 64px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { font-size: 24px; font-weight: 600; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 24px; font-size: 17px; padding: 14px; }
  .hero__sub, .section__head p, .contact__intro > p { font-size: 17px; }
  .form { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .work__head { padding-top: 36px; }
  .work__controls { width: 100%; }
  .work__tabs { flex: 1; justify-content: space-between; gap: 12px; }
  .work__tabs [role="tab"] { font-size: 15px; }
  .stage { padding: 6% 12% 9% 5%; border-radius: var(--r-md); }
  .phone { width: 24%; border-radius: 14px; padding: 10px 6px 7px; gap: 4px; font-size: 7px; box-shadow: 0 0 0 3px #1c2230; }
  .phone b, .phone--barro b { font-size: 9px; }
  .phone i { border-radius: 5px; }
  .phone em { padding: 4px 2px; border-radius: 5px; }
  .chat { right: 14px; bottom: 14px; }
  .chat__panel { position: fixed; inset: auto 10px 82px 10px; width: auto; height: min(70vh, 560px); }
  .legal__data { grid-template-columns: 1fr; }
  .legal__data dt { border-bottom: 0; padding-bottom: 0; font-size: 13px; }
}

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

/* Alineación: todos los bloques empiezan en la misma línea que el menú y la portada */
.section__head, .split, .steps, .plans, .extras, .contact, .footer__inner { max-width: calc(var(--max) - 2 * var(--gutter)); }


/* ==========================================================
   Dinamismo
   ========================================================== */

/* Entrada de la portada al cargar */
.anim-on .hero__title { animation: subir .9s var(--ease) both; }
.anim-on .hero__side > * { animation: subir .8s var(--ease) both; }
.anim-on .hero__side > :nth-child(1) { animation-delay: .15s; }
.anim-on .hero__side > :nth-child(2) { animation-delay: .25s; }
.anim-on .hero__side > :nth-child(3) { animation-delay: .35s; }
.anim-on .work__head { animation: subir .9s .3s var(--ease) both; }
@keyframes subir { from { opacity: 0; transform: translateY(28px); } }

/* Aparición al hacer scroll (solo si el JavaScript está activo).
   Al terminar, el script quita data-anim para que los efectos de ratón y de selección funcionen sin interferencias. */
.anim-on [data-anim]:not(.is-in) { opacity: 0; }
.anim-on [data-anim].is-in { animation: revelar .8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes revelar { from { opacity: 0; translate: 0 32px; } }

/* Planes: al pasar el ratón y al elegir uno */
.plan { position: relative; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.plan .btn { transition: background .2s, transform .2s var(--ease); }
.plan .btn:active { transform: scale(.97); }
.plan.is-chosen { z-index: 2; }
.plan:not(.plan--featured).is-chosen { box-shadow: 0 0 0 2px var(--ink); border-radius: var(--r-lg); }
.plan--featured.is-chosen { box-shadow: 0 0 0 3px var(--coral); }
.plan__elegido {
  position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #fff; background: var(--ink); padding: 4px 10px; border-radius: 6px;
  animation: sello .5s var(--ease) both;
}
.plan--featured .plan__elegido { background: var(--coral); color: var(--ink); }
.plan__elegido::before { content: ""; width: 12px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan--featured .plan__elegido::before { filter: brightness(0) saturate(100%) invert(11%) sepia(39%) saturate(2400%) hue-rotate(196deg); }
@keyframes sello { from { opacity: 0; transform: scale(.6) rotate(-8deg); } }

/* El formulario recibe el plan elegido */
.plan-chip {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; border-radius: 12px;
  background: rgba(255,255,255,.07); color: #fff; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.plan-chip[hidden] { display: none; }
.plan-chip strong { color: #fff; }
.plan-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
.plan-chip.is-new { animation: chip .6s var(--ease) both; }
@keyframes chip { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
.field--plan.is-flash select { animation: marcar 1.4s var(--ease); }
@keyframes marcar { 30% { border-color: #fff; background: rgba(255,255,255,.14); } }

/* Menú del móvil: los enlaces entran uno detrás de otro */
@media (max-width: 760px) {
  .nav__links.is-open > * { animation: menuIn .45s var(--ease) both; }
  .nav__links.is-open > :nth-child(2) { animation-delay: .04s; }
  .nav__links.is-open > :nth-child(3) { animation-delay: .08s; }
  .nav__links.is-open > :nth-child(4) { animation-delay: .12s; }
  .nav__links.is-open > :nth-child(5) { animation-delay: .16s; }
  .nav__links.is-open > :nth-child(6) { animation-delay: .2s; }
  .nav__links.is-open > :nth-child(7) { animation-delay: .24s; }
  @keyframes menuIn { from { opacity: 0; transform: translateX(-16px); } }
}

/* Pantallas táctiles: el elemento del centro de la pantalla se activa como si pasaras el ratón */
@media (hover: none) {
  .step.is-active::before { width: 100%; }
  .btn:active, .work__tabs [role="tab"]:active, .faq summary:active { transform: scale(.97); }
  .btn, .work__tabs [role="tab"] { transition: transform .15s, background .2s, color .2s, box-shadow .2s; }
  .stage { touch-action: pan-y; }
}
.work__swipe { display: none; }
@media (hover: none) and (max-width: 760px) {
  .work__swipe { display: block; margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); }
}

@media (prefers-reduced-motion: reduce) {
  .anim-on [data-anim]:not(.is-in) { opacity: 1; }
}


/* ===== Precios en el móvil: carrusel deslizable ===== */
.plans__dots { display: none; }
@media (max-width: 760px) {
  .plans {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    background: none; box-shadow: none; border-radius: 0;
    margin: 0 calc(var(--gutter) * -1); padding: 18px var(--gutter) 26px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plans .plan {
    flex: 0 0 78%; scroll-snap-align: center; scroll-snap-stop: always;
    background: #fff; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line);
    border: 0 !important; margin: 0; padding: 32px 26px;
    transition: transform .45s var(--ease), opacity .45s var(--ease), box-shadow .45s var(--ease);
  }
  .plans .plan.plan--featured { background: var(--ink); box-shadow: none; padding: 32px 26px; }
  /* El plan que está en el centro destaca; los de los lados se quedan un poco atrás */
  .plans.is-carrusel .plan:not(.is-current) { transform: scale(.93); opacity: .82; }
  .plans.is-carrusel .plan.is-current { transform: none; opacity: 1; }
  .plans .plan.is-chosen:not(.plan--featured) { box-shadow: 0 0 0 2px var(--ink); }

  .plans__dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
  .plans__dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 980px; background: var(--edge); cursor: pointer;
    transition: width .35s var(--ease), background .35s; position: relative;
  }
  .plans__dots button::after { content: ""; position: absolute; inset: -10px; } /* zona táctil más grande */
  .plans__dots button[aria-current="true"] { width: 26px; background: var(--ink); }
}

/* ===== Restaurantes (dentro de la ventana emergente) ===== */
.plan__info { flex: 1; display: flex; align-items: flex-start; margin-bottom: 28px; }
.plan__more { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 16px; font-weight: 550; color: var(--blue); cursor: pointer; }
.plan__more::after { content: " →"; display: inline-block; transition: transform .25s var(--ease); }
.plan__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.plan__more:hover::after { transform: translateX(3px); }
.resto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.resto__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 3vw, 28px); }
.resto__card h3 { font-size: 20px; letter-spacing: -0.03em; color: var(--ink); }
.resto__sub { margin-top: 4px; font-size: 15px; color: var(--muted); }
.resto__card ul { list-style: none; margin-top: 16px; display: grid; gap: 12px; font-size: 16px; }

.resto__card strong { color: var(--text); font-weight: 600; }
.resto__card:first-child { grid-row: span 2; }
.resto__card:last-child { grid-column: 1 / -1; }
.resto__card:last-child ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.resto__cta { margin-top: 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.resto__cta p { max-width: 32em; font-size: 15px; }
@media (max-width: 860px) {
  .resto { grid-template-columns: 1fr; }
  .resto__card:first-child { grid-row: auto; }
  .resto__card:last-child ul { grid-template-columns: 1fr; }
}

/* Precios del plan Restaurante (dentro de la ventana) */
.rprice { margin-bottom: 40px; }
.rprice__title { font-size: 24px; letter-spacing: -0.03em; color: var(--ink); }
.rprice__title--sm { font-size: 20px; margin-top: 36px; }
.rprice__title--inc { margin-bottom: 16px; padding-top: 32px; border-top: 1px solid var(--line); }
.rprice__lead { margin-top: 8px; font-size: 16px; max-width: 40em; }
.rprice__lead strong { color: var(--text); font-weight: 600; }
.rprice__grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.rplan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 22px; }
.rplan--featured { background: var(--ink); border-color: var(--ink); color: #c9d4e5; }
.rplan__type { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500; color: var(--muted); min-height: 26px; }
.rplan--featured .rplan__type { color: #a9b8cf; }
.rplan__tag { font-family: var(--sans); font-weight: 600; font-size: 12.5px; line-height: 1.6; padding: 1px 10px; border-radius: 999px; background: var(--coral); color: var(--ink); }
.rplan h4 { margin: 6px 0 0; line-height: 1.2; font-weight: 600; font-size: 22px; letter-spacing: -0.03em; color: var(--ink); }
.rplan--featured h4 { color: #fff; }
.rplan__desc { margin: 6px 0 0; font-size: 15px; line-height: 1.5; min-height: 3em; }
.rplan__price { margin-top: 16px; font-size: 40px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; color: var(--text); }
.rplan__price span { font-size: 16px; font-weight: 450; letter-spacing: 0; color: var(--muted); margin-left: 2px; }
.rplan--featured .rplan__price { color: #fff; }
.rplan--featured .rplan__price span { color: #a9b8cf; }
.rplan__meta { margin: 16px 0 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; font-size: 14.5px; }
.rplan--featured .rplan__meta { border-color: rgba(255,255,255,.14); }
.rplan__meta div { display: flex; justify-content: space-between; gap: 12px; }
.rplan__meta dt { color: var(--muted); white-space: nowrap; }
.rplan--featured .rplan__meta dt { color: #a9b8cf; }
.rplan__meta dd { margin: 0; text-align: right; font-weight: 600; color: var(--text); }
.rplan--featured .rplan__meta dd { color: #fff; }
.rplan__meta em { display: block; font-style: normal; font-weight: 450; font-size: 13px; color: var(--muted); }
.rplan--featured .rplan__meta em { color: #a9b8cf; }
.rplan ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; font-size: 15px; line-height: 1.45; }
.rplan li { position: relative; padding-left: 26px; }
.rplan li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%230b2545' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.rplan--featured li::before { filter: brightness(0) invert(1); opacity: .9; }
.rprice__own { margin-top: 20px; padding: 2px 0 2px 16px; border-left: 2px solid var(--ink); font-size: 15px; }
.rprice__own strong { color: var(--text); font-weight: 600; }
.rcompare { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.rcompare summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 15px; font-weight: 600; color: var(--ink); max-width: none; }
.rcompare summary::-webkit-details-marker { display: none; }
.rcompare summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); }
.rcompare[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.rcompare summary:hover { background: var(--mist); }
.rcompare__wrap { overflow-x: auto; border-top: 1px solid var(--line); }
.rcompare__table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14.5px; line-height: 1.4; }
.rcompare__table th, .rcompare__table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.rcompare__table tbody tr:last-child > * { border-bottom: 0; }
.rcompare__table thead th { font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500; color: var(--muted); background: var(--mist); }
.rcompare__table tbody th { font-weight: 600; color: var(--text); width: 24%; position: sticky; left: 0; background: #fff; }
.rcompare__table td:nth-child(3) { background: var(--mist); }
.rcompare__table thead th:nth-child(3) { color: var(--ink); }
.rextras { list-style: none; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.rextras li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 18px; font-size: 15px; }
.rextras li + li { border-top: 1px solid var(--line); }
.rextras strong { color: var(--text); font-weight: 600; }
.rextras p span { display: block; font-size: 14px; color: var(--muted); }
.rextras__price { flex: none; text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; }
.rextras__soon { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--mist); font-size: 12.5px; font-weight: 600; color: var(--muted); }
@media (max-width: 860px) {
  .rprice__grid { grid-template-columns: 1fr; }
  .rplan__desc { min-height: 0; }
}
@media (max-width: 520px) {
  .rextras li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .rextras__price { text-align: left; white-space: normal; }
}

/* ===== Ventana emergente ===== */
.modal { border: 0; padding: 0; border-radius: var(--r-lg); background: var(--mist); color: var(--body); width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: hidden; }
.modal[open] { display: flex; flex-direction: column; animation: modal-in .35s var(--ease); }
.modal::backdrop { background: rgba(11,37,69,.55); backdrop-filter: blur(3px); animation: fade-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); background: #fff; }
.modal__kicker { font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.modal__x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mist); color: var(--ink); cursor: pointer; transition: background .2s; }
.modal__x:hover { background: #e3e8f0; }
.modal__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal__body { overflow-y: auto; padding: clamp(22px, 4vw, 40px); overscroll-behavior: contain; }
.modal__body h2 { font-size: clamp(26px, 3.6vw, 38px); color: var(--ink); }
.modal__intro { margin: 12px 0 26px; font-size: 17px; }
.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .modal[open], .modal::backdrop { animation: none; } }

/* ===== Página 404 ===== */
.e404 {
  max-width: var(--max); margin: 0 auto; min-height: calc(100vh - 150px);
  padding: 140px var(--gutter) 96px;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center;
}
.e404__code { font-size: 16px; font-weight: 550; color: var(--muted); margin-bottom: 14px; }
.e404 h1 { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.05em; line-height: 1.02; color: var(--ink); }
.e404__lead { margin-top: 20px; font-size: var(--fs-lead); }
.e404__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.e404__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 16px; }
.e404__links a { color: var(--blue); }
.e404__links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.e404__art .browser { transform: rotate(-2deg); }
.e404__screen { aspect-ratio: 4 / 3; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--mist); }
.e404__big {
  display: flex; align-items: center; gap: .06em; font-size: clamp(72px, 10vw, 128px); font-weight: 700; letter-spacing: -0.05em; color: var(--ink); line-height: 1;
}
/* El "0" es el punto coral del logo, rodando */
.e404__zero { width: .62em; height: .62em; border-radius: 50%; background: var(--coral); display: inline-block; animation: rodar 2.4s var(--ease) infinite; }
@keyframes rodar { 0%, 100% { transform: translateX(0) scale(1); } 45% { transform: translateX(.06em) scale(.86, 1.08); } 55% { transform: translateX(-.04em) scale(1.06, .94); } }
.e404__sug { margin-top: 18px; font-size: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.e404__sug[hidden] { display: none; }
.e404__sug a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 980px; background: var(--mist); color: var(--ink); font-weight: 550; }
.e404__sug a::after { content: "→"; transition: transform .25s var(--ease); }
.e404__sug a:hover::after { transform: translateX(3px); }
.e404__art .browser__url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .e404__zero { animation: none; } }
.e404__line { width: 180px; height: 10px; border-radius: 6px; background: #dfe4ec; }
.e404__line--short { width: 110px; }

@media (max-width: 860px) {
  .e404 { grid-template-columns: 1fr; padding-top: 112px; }
  .e404__art { order: -1; max-width: 360px; }
  .e404__screen { aspect-ratio: 16 / 9; }
  .e404__big { font-size: 72px; }
}

/* ===== Selector de idioma (discreto) ===== */
.nav__links { margin-left: auto; }
.lang { position: relative; margin-left: 18px; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 4px; font: inherit; font-size: 13px; font-weight: 600;
  color: var(--body); background: none; border: 1px solid var(--line); border-radius: 980px; padding: 4px 6px 4px 4px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lang__btn:hover, .lang.is-open .lang__btn { border-color: var(--edge); color: var(--text); }
.lang__btn > svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.lang.is-open .lang__btn > svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; min-width: 150px; list-style: none; margin: 0; padding: 6px;
  background: #fff; border-radius: var(--r-md); box-shadow: 0 12px 28px -14px rgba(11,37,69,.3), 0 0 0 1px var(--line);
  animation: menuLang .18s var(--ease);
}
.lang__menu[hidden] { display: none; }
.lang__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 15px; color: var(--text); }
.lang__menu a:hover, .lang__menu a:focus-visible { background: var(--mist); }
.lang__menu a[aria-current="true"] { font-weight: 600; }
.lang__menu a[aria-current="true"]::after {
  content: ""; width: 14px; height: 14px; flex: none; margin-left: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230b2545' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes menuLang { from { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 760px) {
  .acct { margin-left: auto; }
  .lang { margin-left: 8px; margin-right: 6px; }
}

/* Banderas circulares */
.flag { width: 20px; height: 20px; flex: none; border-radius: 50%; overflow: hidden; display: inline-block; box-shadow: inset 0 0 0 1px rgba(11,37,69,.14); position: relative; }
.flag svg { width: 100%; height: 100%; display: block; }
.flag::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(11,37,69,.14); }
.lang__btn .flag { width: 22px; height: 22px; }

.legal .legal__cta { background: var(--mist); border-radius: 14px; padding: 14px 18px; color: var(--text); }

/* Después de publicar: alojamiento y mantenimiento */
.extras { max-width: var(--max); margin: 72px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.extras__head { grid-column: 1 / -1; text-align: center; margin-bottom: 8px; }
.extras__head h3 { font-size: clamp(26px, 3vw, 34px); color: var(--ink); letter-spacing: -0.02em; }
.extras__head p { margin: 8px auto 0; color: var(--muted); font-size: 16px; }
.extra { background: var(--paper); border-radius: var(--r-lg); padding: 32px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.extra h4 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--ink); letter-spacing: -0.01em; }
.extra__desc { margin-top: 6px; font-size: 16px; }
.extra__opts { display: grid; gap: 10px; margin: 22px 0 18px; }
.extra__opt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--mist); }
.extra__opt--best { background: #fff; box-shadow: inset 0 0 0 1.5px var(--coral); }
.extra__price { font-size: 30px; font-weight: 650; letter-spacing: -0.03em; color: var(--text); line-height: 1.1; }
.extra__per { font-size: 15px; color: var(--muted); }
.extra__badge { flex-basis: 100%; font-size: 13px; font-weight: 600; color: var(--ink); }
.extra ul { list-style: none; display: grid; gap: 10px; margin-bottom: 18px; font-size: 16px; }
.extra li { padding-left: 28px; position: relative; }
.extra li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%230b2545' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.extra__note { font-size: 15px; color: var(--muted); }
.extra__note strong { color: var(--text); font-weight: 600; }
.extra .btn { margin-top: 20px; align-self: flex-start; }
.extras__foot { grid-column: 1 / -1; margin-inline: auto; text-align: center; font-size: 16px; color: var(--body); margin-top: 6px; }
.extras__foot strong { color: var(--ink); }
@media (max-width: 760px) {
  .extras { grid-template-columns: 1fr; margin-top: 56px; }
  .extra { padding: 26px 22px; }
  .extra .btn { align-self: stretch; }
}

/* Después de publicar: movimiento */
.extra { position: relative; }

/* Selector 1 año / 3 años */
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 22px 0 0; padding: 4px; border: 0; border-radius: var(--r-md); background: var(--mist); }
.seg label { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 10px; border-radius: 11px; font-size: 15px; font-weight: 550; color: var(--muted); cursor: pointer; transition: color .3s; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label:has(input:checked) { color: var(--ink); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--r-sm); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease); }
.seg:has(input[value="3"]:checked) .seg__thumb { transform: translateX(100%); }
.seg__save { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--ink); padding: 2px 7px; border-radius: 6px; background: var(--coral); }

/* Cifras que ruedan */
.extra__opt--host { margin: 12px 0 0; padding: 18px 16px; transition: background .4s, box-shadow .4s; }
.roll { display: inline-grid; overflow: hidden; vertical-align: bottom; }
.roll > span { grid-area: 1 / 1; transition: transform .55s cubic-bezier(.3,1.25,.5,1), opacity .4s, visibility 0s; }
.roll > span:last-child { transform: translateY(100%); opacity: 0; visibility: hidden; transition-delay: 0s, 0s, .55s; }
.extra__per.roll > span { transition-delay: .06s, .06s, 0s; }
.extra:has(input[value="3"]:checked) .roll > span:first-child { transform: translateY(-100%); opacity: 0; visibility: hidden; transition-delay: 0s, 0s, .55s; }
.extra:has(input[value="3"]:checked) .roll > span:last-child { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.extra:has(input[value="3"]:checked) .extra__opt--host { background: #fff; box-shadow: inset 0 0 0 1.5px var(--coral); }
.extra__ahorro { display: grid; grid-template-rows: 0fr; opacity: 0; font-size: 15px; color: var(--body); transition: grid-template-rows .45s var(--ease), opacity .35s, margin .45s var(--ease); margin: 0; }
.extra__ahorro > span { min-height: 0; overflow: hidden; }
.extra:has(input[value="3"]:checked) .extra__ahorro { grid-template-rows: 1fr; opacity: 1; margin-top: 12px; }
.extra__ahorro strong { color: var(--ink); }
.extra .seg ~ .extra__note { margin-top: 18px; }

/* Lista que aparece en cascada y precio que cuenta */
.anim-on .extra:not(.is-visto) li { opacity: 0; transform: translateX(-10px); }
.extra li { transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--n, 0) * 110ms + 250ms); }
.extra li::before { transition: transform .45s cubic-bezier(.3,1.6,.5,1); transition-delay: inherit; }
.anim-on .extra:not(.is-visto) li::before { transform: scale(0); }


@media (prefers-reduced-motion: reduce) {
  .seg__thumb, .roll > span, .extra__ahorro, .extra li, .extra li::before, .extra { transition: none !important; }
  .anim-on .extra:not(.is-visto) li { opacity: 1; transform: none; }
  .anim-on .extra:not(.is-visto) li::before { transform: none; }
}

/* Icono de cuenta en la cabecera */
.acct { position: relative; display: grid; place-items: center; width: 38px; height: 38px; margin-left: 18px; border-radius: 50%; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s var(--ease); flex: none; }
.acct:hover { box-shadow: 0 0 0 1px var(--ink); }
.acct:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.acct svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.acct__ini { display: none; }
.acct.is-in { background: var(--ink); color: #fff; box-shadow: none; }
.acct.is-in svg { display: none; }
.acct.is-in .acct__ini { display: block; font-size: 16px; font-weight: 650; }
.acct.is-in::after { content: ""; position: absolute; top: 0; right: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 2px #fff; }
.nav.menu-open .acct { visibility: hidden; }

/* ===== Aviso de cookies ===== */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; display: flex; justify-content: center; pointer-events: none; }
.cc[hidden] { display: none; }
.cc__box { pointer-events: auto; width: 100%; max-width: 760px; background: #fff; color: var(--body); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; box-shadow: 0 12px 32px -16px rgba(11,37,69,.35); font-size: 15px; animation: cc-in .5s var(--ease); }
@keyframes cc-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cc__t { font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.cc__t:focus { outline: none; }
.cc__p { margin-top: 8px; line-height: 1.55; }
.cc__p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.cc__opts { margin-top: 16px; display: grid; gap: 10px; }
.cc__opts[hidden] { display: none; }
.cc__row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--mist); }
.cc__row input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.cc__rt { display: grid; gap: 2px; }
.cc__rt strong { color: var(--text); font-weight: 600; }
.cc__rt small { font-size: 14px; color: var(--body); line-height: 1.45; }
.cc__gpc { font-size: 14px; color: var(--ink); background: var(--mist); border-radius: 12px; padding: 10px 12px; }
.cc__gpc[hidden] { display: none; }
.cc__btns { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
/* Rechazar y aceptar son idénticos en tamaño, color y peso */
.cc__btn { flex: 1 1 0; min-width: 130px; min-height: 46px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s; }
.cc__btn:hover { background: var(--ink-2); }
.cc__btn:active { transform: scale(.98); }
.cc__btn--ghost { background: #fff; color: var(--ink); }
.cc__btn--ghost:hover { background: var(--mist); }
.cc__save { width: 100%; margin-top: 10px; background: #fff; color: var(--ink); }
.cc__save:hover { background: var(--mist); }
.cc__save[hidden] { display: none; }
.cc__btn:focus-visible, .cc__row input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 560px) {
  .cc { left: 10px; right: 10px; bottom: 10px; }
  .cc__box { padding: 18px 16px; max-height: calc(100vh - 20px); overflow-y: auto; }
  .cc__btn { flex-basis: 100%; }
}
/* En pantallas pequeñas, el botón del chat se oculta mientras el aviso está abierto */
@media (max-width: 900px) { .cc-on .chat { opacity: 0; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .cc__box { animation: none; } }
.footer nav .foot-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.footer nav .foot-link:hover { color: var(--text); }
.link-inline { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.modal__x:focus-visible, .chat__fab:focus-visible, .acct:focus-visible { border-radius: 50%; }

/* Etiqueta («El más pedido»…) en una tarjeta que no es la destacada */
.plan:not(.plan--featured) .plan__tag { color: var(--ink); }
