/* Sitio de venta de Lino. Paleta Cielo. Sin dependencias: HTML, CSS y un poco de JS. */

:root {
  --ground: #f3f6f8;
  --white: #ffffff;
  --ink: #1f2c36;
  --ink-soft: #4d5c68;
  --ink-mute: #8492a0;
  --line: #dbe3e9;
  --dark: #14212b;
  --dark-2: #1c2c38;
  --on-dark: #eef4f8;
  --on-dark-soft: #a9bac7;
  --line-dark: #2c3e4b;

  --lino-deep: #044f80;
  --lino-button: #0572b8;
  --lino: #0a9be0;
  --lino-bright: #4cc7f2;
  --lino-tint: #dff2fc;
  --lino-accent: #19d3e6;
  --gradient-logo: linear-gradient(40deg, #0572b8, #0a9be0 48%, #4cc7f2);

  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --gutter: clamp(20px, 4.5vw, 64px);
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--lino-bright);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--white);
  padding: 10px 14px;
}

.skip:focus {
  left: 8px;
}

.wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* --- Piezas ------------------------------------------------------------------ */

.logo {
  display: inline-block;
  width: 96px;
  aspect-ratio: 460 / 200;
  background: var(--gradient-logo);
  -webkit-mask: url("lino-logo.png") center / contain no-repeat;
  mask: url("lino-logo.png") center / contain no-repeat;
}

.logo--sm {
  width: 46px;
}

.logo--lg {
  width: 190px;
}

.logo--white {
  background: var(--on-dark);
}

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.label--accent {
  color: var(--lino-button);
}

.label--onDark {
  color: var(--on-dark-soft);
}

.band .label--accent,
.foot .label--accent {
  color: var(--lino-bright);
}

.label--dot::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--lino);
  vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.display--md {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
}

.display--sm {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.mark {
  position: relative;
  color: var(--lino);
  white-space: nowrap;
}

.mark::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.07em;
  height: 0.045em;
  background: var(--lino);
  transform-origin: left;
  animation: underline 0.9s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.lead {
  max-width: 34em;
  font-size: clamp(16px, 1.25vw, 18px);
  color: var(--ink-soft);
}

.lead--onDark {
  color: var(--on-dark-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.btn--primary {
  background: var(--lino-button);
  color: #fff;
  box-shadow: 0 8px 22px -12px rgba(5, 114, 184, 0.9);
}

.btn--primary:hover {
  background: var(--lino-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* --- Navegación ---------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 246, 248, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav__in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}

.nav__brand {
  display: inline-flex;
  margin-right: auto;
}

.nav__links {
  display: flex;
  gap: clamp(16px, 2.2vw, 30px);
  margin-right: auto;
}

.nav__links a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 8px 0;
  background: linear-gradient(var(--lino), var(--lino)) left bottom / 0 1px no-repeat;
  transition:
    background-size 0.25s,
    color 0.2s;
}

.nav__links a:not(.btn):hover {
  color: var(--ink);
  background-size: 100% 1px;
}

.nav__cta-movil,
.nav__toggle {
  display: none;
}

.nav__toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav__toggle span {
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --- Portada ------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(28px, 5vw, 72px) 0 clamp(40px, 5vw, 72px);
}

.hero__side {
  position: absolute;
  left: 18px;
  top: 300px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(150px, 16vw, 220px);
  gap: clamp(24px, 4vw, 72px);
  align-items: center;
}

.hero__text > * {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.hero__text > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero__text > :nth-child(3) {
  animation-delay: 0.18s;
}

.hero__text > :nth-child(4) {
  animation-delay: 0.26s;
}

.hero .display {
  margin: 18px 0 26px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.hero__art .label {
  font-size: 10px;
}

/* Los tres puntos del logo, en grande: se llenan uno tras otro. */
.dots {
  display: grid;
  gap: clamp(12px, 1.4vw, 20px);
  width: min(100%, 150px);
}

.dots__dot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e2e8ec;
  overflow: hidden;
}

.dots__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-logo);
  transform: scale(0);
  animation: fill 6s cubic-bezier(0.3, 0.8, 0.3, 1) infinite;
}

.dots__dot:nth-child(2)::after {
  animation-name: fill-2;
}

.dots__dot:nth-child(3)::after {
  animation-name: fill-3;
}

/* --- Demostración --------------------------------------------------------------- */

.demo {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.3fr 1.2fr;
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.demo__col {
  display: grid;
  gap: 12px;
  align-content: start;
  transition: opacity 0.3s;
}

.demo__col.is-waiting {
  opacity: 0.38;
}

.demo__clock {
  font-family: var(--font-mono);
  font-size: clamp(40px, 4.2vw, 56px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.demo__clock small {
  font-size: 0.42em;
  letter-spacing: 0;
  color: var(--lino);
}

.demo__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s,
    transform 0.15s;
}

.chip:hover:not(:disabled) {
  border-color: var(--lino);
  transform: translateY(-1px);
}

.chip:disabled {
  cursor: default;
}

.chip.is-on {
  background: var(--lino-button);
  border-color: var(--lino-button);
  color: #fff;
  animation: pop 0.3s ease-out;
}

.demo__done {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--lino);
  background: var(--lino-tint);
  color: var(--lino-deep);
  font-weight: 500;
  animation: rise 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
}

.demo__done[hidden] {
  display: none;
}

.demo__done button {
  margin-left: auto;
  border: 0;
  background: none;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--lino-deep);
  cursor: pointer;
}

/* --- Cinta -------------------------------------------------------------------- */

.tape {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.tape__track {
  display: flex;
  width: max-content;
  animation: tape 38s linear infinite;
}

.tape span {
  display: inline-flex;
  align-items: center;
  padding: 18px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.tape span::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: 0 28px;
  border-radius: 50%;
  background: var(--lino);
}

/* --- Bandas oscuras -------------------------------------------------------------- */

.band {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(64px, 8vw, 120px) 0 0;
}

.band--flat {
  padding-bottom: clamp(64px, 8vw, 120px);
}

.band__arc {
  position: absolute;
  top: -40%;
  left: 34%;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  border: clamp(60px, 9vw, 150px) solid transparent;
  border-left-color: var(--lino-button);
  border-bottom-color: rgba(5, 114, 184, 0.35);
  opacity: 0.55;
  transform: rotate(-18deg);
  filter: blur(1px);
  pointer-events: none;
}

.band__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}

.band__grid > :first-child {
  padding-bottom: clamp(64px, 8vw, 120px);
}

.band .lead {
  margin: 26px 0 40px;
}

/* Teléfono dibujado con CSS: el sitio de reservas tal como lo ve el cliente. */
.phone {
  justify-self: center;
  width: min(100%, 300px);
  padding: 12px 12px 0;
  border: 1px solid var(--line-dark);
  border-bottom: 0;
  border-radius: 34px 34px 0 0;
  background: var(--dark-2);
  box-shadow: 0 -30px 80px -30px rgba(10, 155, 224, 0.55);
}

.phone__screen {
  display: grid;
  gap: 10px;
  padding: 18px 16px 26px;
  border-radius: 24px 24px 0 0;
  background: var(--ground);
  color: var(--ink);
  font-size: 13px;
}

.phone__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone__pill {
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--white);
  font-size: 11px;
  color: var(--ink-soft);
}

.phone__title {
  margin: 6px 0 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.15;
}

.phone__card {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.phone__card i {
  font-style: normal;
  color: var(--ink-mute);
}

.phone__card.is-on {
  border-color: var(--lino);
  box-shadow: 0 0 0 3px var(--lino-tint);
}

.phone__days,
.phone__slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.phone__slots {
  grid-template-columns: repeat(4, 1fr);
}

.phone__days span,
.phone__slots span {
  display: grid;
  justify-items: center;
  padding: 7px 0;
  border-radius: 9px;
  background: var(--white);
  font-size: 11px;
  color: var(--ink-soft);
}

.phone__days b {
  font-size: 14px;
  color: var(--ink);
}

.phone__days .is-on,
.phone__slots .is-on {
  background: var(--gradient-logo);
  color: #fff;
}

.phone__days .is-on b {
  color: #fff;
}

.phone__btn {
  margin-top: 6px;
  padding: 12px;
  border-radius: 10px;
  background: var(--lino-button);
  color: #fff;
  font-weight: 600;
  text-align: center;
}

/* --- Secciones ------------------------------------------------------------------ */

.section {
  padding: clamp(64px, 8vw, 120px) 0;
}

.section--white {
  background: var(--white);
}

.section--tight {
  padding: clamp(48px, 5vw, 72px) 0;
}

.head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 24px clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.head__aside {
  max-width: 30em;
  font-size: 15px;
  color: var(--ink-soft);
}

.head--onDark .head__aside {
  color: var(--on-dark-soft);
}

.head .label {
  margin-bottom: 14px;
}

/* Pasos */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--lino-bright);
  box-shadow: 0 22px 40px -28px rgba(4, 79, 128, 0.55);
}

.step header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 14px;
}

.step__dots {
  display: inline-flex;
  gap: 5px;
}

.step__dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2e8ec;
}

.step__dots i.on {
  background: var(--lino);
}

.step__art {
  display: grid;
  place-content: center;
  height: 168px;
  margin: 6px 0;
  background: var(--ground);
  border-radius: var(--radius);
}

.step__art--list {
  gap: 10px;
  grid-template-columns: min(70%, 180px);
}

.step__art--list span {
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.step__art--grid {
  grid-template-columns: repeat(4, 38px);
  gap: 8px;
}

.step__art--grid span {
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.step__art .on {
  border-color: transparent;
  background: var(--gradient-logo);
}

.step__art svg {
  fill: none;
  stroke: var(--lino);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step--after .step__art svg {
  stroke: var(--ink-mute);
}

.step h3,
.product h3,
.benefits h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.step h3 {
  font-size: 23px;
  line-height: 1.1;
}

.step p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.step--after {
  border-style: dashed;
  background: transparent;
}

/* Comparación */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--line-dark);
  padding-top: 28px;
}

.versus li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.9vw, 25px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--on-dark-soft);
}

.versus__col--lino li {
  color: var(--on-dark);
}

.versus__col:not(.versus__col--lino) li {
  text-decoration: line-through;
  text-decoration-color: rgba(169, 186, 199, 0.45);
  text-decoration-thickness: 1px;
}

.versus .label {
  margin-bottom: 8px;
}

/* Productos */
.products {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: clamp(20px, 3vw, 48px);
}

.product {
  display: grid;
  gap: 14px;
  align-content: start;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.product h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.product > p:not(.label) {
  color: var(--ink-soft);
  font-size: 15px;
}

.product .label + .ticks,
.product p + .label {
  margin-top: 6px;
}

.product--soon {
  border-top-color: var(--lino);
}

.ticks li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.ticks li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lino);
  flex: none;
}

/* Beneficios */
.benefits li {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 8px 24px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.3s;
}

.benefits li:last-child {
  border-bottom: 1px solid var(--line);
}

.benefits li:hover {
  padding-left: 14px;
}

.benefits li:hover h3 {
  color: var(--lino-button);
}

.benefits h3 {
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.05;
  transition: color 0.3s;
}

.benefits p {
  max-width: 30em;
  font-size: 15px;
  color: var(--ink-soft);
}

/* Planes */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ground);
}

.plan--top {
  border-color: var(--lino);
  background: var(--white);
  box-shadow: 0 26px 50px -34px rgba(4, 79, 128, 0.7);
}

.plan__price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(44px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.plan__price small {
  font-size: 0.4em;
  vertical-align: 0.9em;
  margin-right: 3px;
  color: var(--ink-mute);
}

.plan__price span {
  font-size: 0.42em;
  color: var(--lino);
  letter-spacing: 0;
}

.rows {
  flex: 1;
}

.rows li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}

.rows b {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.rows .no {
  color: var(--ink-mute);
  font-weight: 500;
}

.rows .yes {
  color: var(--lino-button);
}

/* Testimonios */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  margin-top: 22px;
}

.quote {
  display: grid;
  gap: 22px;
  align-content: space-between;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.quote blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.quote blockquote::before {
  content: "“";
  display: block;
  height: 0.5em;
  font-size: 2.6em;
  line-height: 1;
  color: var(--lino);
}

.quote figcaption {
  display: grid;
  gap: 4px;
}

/* Preguntas */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px clamp(24px, 6vw, 96px);
  align-items: start;
}

.faq .head__aside {
  margin-top: 22px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--lino-button);
}

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 22px;
  color: var(--lino);
  transition: transform 0.25s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 40em;
  padding: 0 0 22px;
  color: var(--ink-soft);
  animation: rise 0.35s ease-out backwards;
}

/* Cifras */
.figures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.figures > div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.figure {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.figure small {
  font-size: 0.34em;
  letter-spacing: 0;
  color: var(--lino);
}

/* --- Pie ---------------------------------------------------------------------- */

.foot {
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(56px, 7vw, 96px) 0 28px;
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px clamp(24px, 4vw, 64px);
}

.foot__grid > div {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: start;
  font-size: 15px;
}

.foot__grid .label {
  margin-bottom: 8px;
}

.foot__grid a:not(.btn) {
  text-decoration: none;
  transition: color 0.2s;
}

.foot__grid a:not(.btn):hover {
  color: var(--lino-bright);
}

.foot__grid span:not(.logo):not(.label) {
  color: var(--on-dark-soft);
}

.foot__start {
  gap: 22px !important;
}

.foot__legal {
  margin-top: clamp(40px, 5vw, 64px);
}

.foot__legal p {
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

/* --- Movimiento ------------------------------------------------------------------ */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.25s,
    box-shadow 0.25s,
    padding-left 0.3s;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes underline {
  from {
    transform: scaleX(0);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@keyframes pop {
  50% {
    transform: scale(1.07);
  }
}

@keyframes tape {
  to {
    transform: translateX(-50%);
  }
}

@keyframes fill {
  0%,
  4% {
    transform: scale(0);
  }
  16%,
  88% {
    transform: scale(1);
  }
  96%,
  100% {
    transform: scale(0);
  }
}

@keyframes fill-2 {
  0%,
  26% {
    transform: scale(0);
  }
  38%,
  88% {
    transform: scale(1);
  }
  96%,
  100% {
    transform: scale(0);
  }
}

@keyframes fill-3 {
  0%,
  48% {
    transform: scale(0);
  }
  60%,
  88% {
    transform: scale(1);
  }
  96%,
  100% {
    transform: scale(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .dots__dot::after {
    transform: scale(1);
  }
}

/* --- Pantallas medianas y teléfono ------------------------------------------------ */

@media (max-width: 1100px) {
  .hero__side {
    display: none;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo {
    grid-template-columns: 1fr 1fr;
  }

  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 76px;
  }

  .nav__in {
    min-height: 68px;
  }

  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--ground);
    border-bottom: 1px solid var(--line);
  }

  .nav__links.is-open {
    display: flex;
    animation: rise 0.25s ease-out backwards;
  }

  .nav__links a:not(.btn) {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
  }

  .nav__cta-movil {
    display: inline-flex;
    margin-top: 20px;
  }

  .hero__grid,
  .band__grid,
  .head,
  .versus,
  .products,
  .plans,
  .quotes,
  .faq {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__art {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero__art-top {
    display: none;
  }

  .dots {
    grid-auto-flow: column;
    width: 132px;
    gap: 10px;
    order: 2;
  }

  .band__grid > :first-child {
    padding-bottom: 8px;
  }

  .band__arc {
    left: 20%;
    width: 130vw;
    opacity: 0.35;
  }

  .benefits li {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .benefits p {
    grid-column: 2;
  }

  .versus__col:not(.versus__col--lino) {
    order: 0;
  }
}

@media (max-width: 560px) {
  .steps,
  .demo,
  .foot__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .figures {
    grid-template-columns: 1fr;
  }

  .step__art {
    height: 132px;
  }

  .rows li {
    font-size: 13.5px;
  }
}
