@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-normal.woff2) format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-italic.woff2) format("woff2");
}

:root {
  --ink: #111;
  --soft: #4a4a4a;
  --mute: #767676;
  --hair: #d9d9d9;
  --paper: #fff;
  --acid: #c8ff00;
}

*, ::before, ::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.5 Inter, Helvetica, Arial, sans-serif;
}
h1, h2, p { margin: 0; }
a { color: var(--ink); text-underline-offset: 4px; }
a:hover { color: var(--soft); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: 1344px; margin: 0 auto; padding: 0 clamp(20px, 3.4vw, 48px); }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.soft { color: var(--soft); }
.mute { color: var(--mute); }

/* Plumón */
.mk {
  background: linear-gradient(var(--acid), var(--acid)) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Cabecera */
.top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px; padding: 22px 0; border-bottom: 1px solid var(--ink);
}
.logo {
  display: inline-flex; align-items: center; gap: .28em; min-height: 44px;
  font-weight: 900; font-size: 22px; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap;
}
.top .link { font-size: 16px; }
.contact { gap: 8px; }
.wa { flex: none; }

/* Hero */
.hero { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.hero-buy, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.hero h1 {
  font-weight: 600; font-size: clamp(52px, 10.6vw, 154px);
  line-height: .92; letter-spacing: -.055em; text-wrap: balance;
}
.shot { padding-bottom: clamp(56px, 7vw, 104px); }
.frame { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 260px; overflow: hidden; background: #efefef; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.note {
  position: absolute; translate: 0 -50%;
  display: flex; flex-direction: row-reverse; align-items: center;
}
.note::before {
  content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink);
}
.note::after { content: ""; flex: none; width: clamp(20px, 5vw, 72px); height: 2px; background: var(--paper); }
.note span {
  order: 1; padding: .45em .7em; background: var(--ink); color: var(--paper);
  font-weight: 600; font-size: clamp(10px, 1.25vw, 17px); line-height: 1; white-space: nowrap;
}
.note-1 { top: 12%; right: 50%; }
.note-1::after { width: clamp(28px, 8vw, 120px); }
.note-1 span { background: var(--acid); color: var(--ink); }
.note-2 { top: 28%; right: 27.5%; }
.note-3 { top: 64%; right: 56%; }

/* Secciones con etiqueta a la izquierda */
.band {
  display: flex; flex-wrap: wrap; gap: 32px 48px;
  border-top: 1px solid var(--ink); padding: 28px 0 clamp(56px, 6vw, 88px);
}
.band > .label { flex: 0 0 180px; font-weight: 500; font-size: 16px; }
.band h2 { font-weight: 600; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.02; letter-spacing: -.045em; }
.col-1 { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.col-2 { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.col-1 p { max-width: 420px; }
.col-2 p { max-width: 520px; }

/* Oferta */
.offer { padding-bottom: clamp(64px, 8vw, 112px); }
.offer-body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.offer h2 { font-size: clamp(40px, 6.6vw, 96px); line-height: .96; letter-spacing: -.05em; text-wrap: balance; }
.lede { max-width: 620px; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.25; letter-spacing: -.02em; }
.price { font-weight: 600; font-size: 40px; letter-spacing: -.04em; line-height: 1; }
.btn {
  display: inline-flex; align-items: center; height: 60px; padding: 0 32px;
  gap: 10px; border: 1px solid var(--ink); border-radius: 0; cursor: pointer; font: inherit;
  background: var(--ink); color: var(--paper); font-weight: 500; text-decoration: none;
  text-box: trim-both cap alphabetic;
  transition: scale .6s linear(0, .141, .723 12.9%, 1.077, 1.163, 1.051 39.6%, .977 51%, 1);
}
.btn:hover { color: var(--paper); }
.btn-ghost, .btn-ghost:hover { background: var(--paper); color: var(--ink); }

/* Listas con casilla */
.check { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.35; }
.check li { position: relative; padding: 5px 0 5px 28px; break-inside: avoid; }
.check li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; background: var(--ink); border: 1px solid var(--ink); }
.check li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 5px; height: 9px; border: solid var(--paper); border-width: 0 2px 2px 0; rotate: 45deg; }
.check.no li::before { background: var(--paper); }
.check.no li::after { left: 4px; top: 14px; width: 8px; height: 0; border-width: 2px 0 0; border-color: var(--ink); rotate: none; }
.incl { columns: 3 220px; column-gap: 40px; }

/* Mensaje rápido para contratar */
.sheet { margin: auto; width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.sheet:popover-open { display: flex; flex-direction: column; gap: 20px; }
.sheet::backdrop { background: rgb(17 17 17 / .6); }
.sheet h2 { font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.02; letter-spacing: -.045em; }
.sheet h3 { margin: 0 0 8px; font-weight: 600; font-size: 16px; }
.sheet-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 40px; }
.sheet .soft { margin-top: 12px; font-size: 15px; }

/* Bandeja de proyectos */
.tray { gap: 0; }
.tray-head, .tray li { display: flex; align-items: center; gap: 16px; }
.tray-head { padding-bottom: 10px; font-size: 14px; color: var(--soft); border-bottom: 1px solid var(--ink); }
.tray ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.tray li { min-height: 50px; border-bottom: 1px solid var(--hair); font-size: 16px; counter-increment: n; }
.tray li::before { content: counter(n, decimal-leading-zero); }
.tray li::before, .c-n { flex: 0 0 32px; font-variant-numeric: tabular-nums; color: var(--soft); }
.c-name { flex: 1 1 160px; min-width: 0; font-weight: 500; }
.c-name .mk { padding: 2px 4px; margin-left: -4px; white-space: nowrap; }
.c-bars { flex: 0 0 132px; display: flex; gap: 4px; }
.c-bars i { flex: 1; height: 6px; background: var(--hair); display: flex; }
.c-bars i::after { content: ""; flex: 1; transform-origin: left; }
.s1 .c-bars i:nth-child(-n+1)::after,
.s2 .c-bars i:nth-child(-n+2)::after,
.s3 .c-bars i:nth-child(-n+3)::after,
.s4 .c-bars i::after { background: var(--ink); }
.c-stage { flex: 0 0 132px; text-align: right; color: var(--soft); }
.tray > .link { margin-top: 16px; align-self: flex-start; }

/* Cierre */
.who { border-top: 1px solid var(--ink); padding: clamp(56px, 8vw, 120px) 0; }
.who p { font-weight: 600; font-size: clamp(36px, 6.6vw, 96px); line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px;
  border-top: 1px solid var(--ink); padding: 24px 0 40px; font-size: 16px;
}

/* Aviso de privacidad */
.doc { max-width: 720px; padding: clamp(40px, 6vw, 88px) 0; display: flex; flex-direction: column; gap: 20px; }
.doc h1 { font-weight: 600; font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; }
.doc h2 { font-weight: 600; font-size: 22px; letter-spacing: -.02em; margin-top: 16px; }

@media (max-width: 520px) {
  .tray-head, .tray li { gap: 10px; }
  .c-bars { flex-basis: 48px; gap: 2px; }
  .c-stage { flex-basis: 104px; font-size: 14px; }
  .tray-head .c-bars { visibility: hidden; }
}

/* Movimiento: solo CSS, como mejora progresiva */
@keyframes mark { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes rise-note { from { opacity: 0; translate: 0 calc(-50% + 18px); } to { opacity: 1; translate: 0 -50%; } }
@keyframes fill { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes enter { from { opacity: 0; font-weight: 400; translate: 0 24px; } to { opacity: 1; font-weight: 600; translate: 0 0; } }

@media (prefers-reduced-motion: no-preference) {
  .hero h1 { animation: enter 1s cubic-bezier(.2, .7, .2, 1) both; }
  .sheet { transition: opacity .25s, translate .25s cubic-bezier(.2, .7, .2, 1), display .25s allow-discrete, overlay .25s allow-discrete; opacity: 0; translate: 0 16px; }
  .sheet:popover-open { opacity: 1; translate: 0 0; }
  @starting-style { .sheet:popover-open { opacity: 0; translate: 0 16px; } }
  .btn:hover { scale: 1.04; }
  .btn:active { scale: .96; }

  @supports (animation-timeline: view()) {
    .mk { animation: mark linear both; animation-timeline: view(); animation-range: entry 80% cover 25%; }
    .tray li { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry calc(50% + sibling-index() * 5%); }
    .note { animation: rise-note linear both; animation-timeline: view(); animation-range: cover 12% cover 32%; }
    .c-bars i::after { animation: fill linear both; animation-timeline: view(); animation-range: entry 50% cover 25%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
