/* TR</SOFT-DEVELOPMENT> — monochrome HUD direction: dark ground, thin wide display type, flat surfaces */

/* ---------- tokens ---------- */
:root {
  --bg: #05070f;
  --surface: #0d0f17;
  --elevated: #191b22;
  --ink: #ffffff;
  --muted: #949494;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.32);
  --accent: #ffffff;
  --accent-ink: #161611;
  --hover-edge: rgb(176, 165, 143);
  --scrim: rgba(5, 7, 15, 0.55);
  --scrim-strong: rgba(5, 7, 15, 0.82);

  --font-display: "Saira", system-ui, sans-serif;
  --font: "Nunito Sans", system-ui, sans-serif;

  --step-small: 0.875rem;
  --step-body: 1rem;
  --step-lead: clamp(1.25rem, 1rem + 0.9vw, 1.9375rem); /* 31px */
  --step-head: clamp(2rem, 1.2rem + 2.6vw, 3.75rem);    /* 60px */
  --step-display: clamp(2.6rem, 8vw, 9rem);
  --track: 0.2em;                                        /* 12px at 60px */

  --margin: max(1rem, 5vw);                              /* content spans 90% of the viewport */
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(6rem, 13vw, 13rem);
  --radius: 8px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 120ms;
  --t-hover: 150ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); font-weight: 300; line-height: 1.8; font-kerning: normal; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, table { margin: 0; }
ul[class] { padding: 0; margin: 0; list-style: none; }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; color: inherit; }
a { color: var(--ink); }
:target { scroll-margin-top: 5rem; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 100; line-height: 1.2; text-wrap: balance; }
h1, h2 { text-transform: uppercase; letter-spacing: var(--track); }
p { max-width: 58ch; text-wrap: pretty; }
strong { font-weight: 600; }
.small { font-size: var(--step-small); line-height: 1.7; }
.lead { font-size: var(--step-lead); font-weight: 200; line-height: 1.45; max-width: 36ch; }
.muted { color: var(--muted); }
.label { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.wrap { padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 10; background: var(--ink); color: var(--bg); padding: 0.7rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; min-height: 3.5rem; padding: 0 1.8rem; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: opacity var(--t-hover) ease, box-shadow var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.button::after { content: ""; width: 0.5rem; height: 0.5rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); transition: transform var(--t-hover) var(--ease-out); }
.button:active { transform: scale(0.97); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.link { text-decoration: none; transition: opacity var(--t-hover) ease; }
.link-plain { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.3em; text-decoration-thickness: 1px; transition: text-decoration-color var(--t-hover) ease, opacity var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { opacity: 0.75; box-shadow: 0 -1px 0 var(--hover-edge); }
  .button.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); opacity: 1; }
  .button:hover::after { transform: translateX(3px) rotate(45deg); }
  .link:hover { opacity: 0.75; }
  .link-plain:hover { text-decoration-color: var(--ink); }
}
.field { width: 100%; min-height: 3rem; padding: 8px 12px; background: var(--elevated); border: 1px solid var(--line); border-radius: 6px; font-size: 1rem; font-weight: 400; color: var(--ink); transition: border-color var(--t-hover) ease; }
.field:hover { border-color: var(--line-strong); }
.field:focus-visible { outline: none; border-color: var(--ink); }
.field::placeholder { color: var(--placeholder); }
select.field { appearance: none; padding-right: 2.4rem; background-image: var(--select-arrow); background-repeat: no-repeat; background-position: right 0.9rem center; }
select.field option { background: var(--elevated); }

/* round control (scroll cue) */
.round { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); transition: box-shadow var(--t-hover) ease; }
.round svg { width: 14px; height: 14px; }
@media (hover: hover) and (pointer: fine) { .round:hover { box-shadow: inset 0 0 0 1px var(--ink); } }
@media (prefers-reduced-motion: no-preference) { .round svg { animation: nudge 2.2s var(--ease-in-out) infinite; } }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* ---------- navigation + HUD ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; height: 4.5rem; background: var(--nav-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.wordmark { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 400; letter-spacing: 0.14em; text-decoration: none; white-space: nowrap; }
.nav-links { display: flex; gap: clamp(1rem, 2.6vw, 2.75rem); }
.nav-links a { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; padding-block: 0.5rem; }
.nav-links a[aria-current] { box-shadow: 0 1px 0 var(--ink); }
.hud { position: fixed; z-index: 19; left: max(28px, calc(var(--margin) / 2)); top: 50%; display: flex; flex-direction: column; align-items: center; gap: 1rem; transform: translate(-50%, -50%); pointer-events: none; }
.hud-count { writing-mode: vertical-rl; font-family: var(--font-display); font-size: 0.8125rem; letter-spacing: 0.24em; font-variant-numeric: tabular-nums; }
.hud-bar { width: 1px; height: 6rem; background: var(--line-strong); overflow: hidden; }
.hud-bar i { display: block; height: 100%; background: var(--ink); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: 6.5rem; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; isolation: isolate; }
.hero-field { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-corner { position: absolute; width: 18px; height: 18px; border-color: var(--line-strong); border-style: solid; border-width: 0; }
.hero-corner.tl { top: 5.75rem; left: var(--margin); border-top-width: 1px; border-left-width: 1px; }
.hero-corner.tr { top: 5.75rem; right: var(--margin); border-top-width: 1px; border-right-width: 1px; }
.hero-line { align-self: center; display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.35em; row-gap: 0.1em; font-size: var(--step-display); line-height: 1; }
.hero-word:last-child { flex-basis: 100%; text-align: right; }
.slot { position: relative; display: block; width: 3.4em; height: 0.8em; overflow: hidden; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-strong); letter-spacing: 0; line-height: 1.2; text-transform: none; }
.hero-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.try { grid-column: 1 / span 5; display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.75rem; }
.try-field { display: grid; gap: 0.4rem; }
.try label { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hero-lead { grid-column: 6 / span 4; grid-row: 1; color: var(--ink-soft); }
.hero-action { grid-column: 10 / span 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 1rem; }

/* ---------- the visitor's site (an interface fragment, sized to its frame) ---------- */
.site { --s-bg: #7a2e1f; --s-ink: #f6e7d3; --s-accent: #f6e7d3; --s-accent-ink: #7a2e1f;
  container-type: inline-size; position: absolute; inset: 0; display: block; background: var(--s-bg); color: var(--s-ink); font-family: var(--font); font-weight: 400; transition: background-color 400ms var(--ease-out), color 400ms var(--ease-out); }
.site-in { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3cqw; padding: 3cqw 4cqw; text-align: left; }
.s-title { display: block; font-size: 6.6cqw; font-weight: 700; line-height: 0.95; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.s-tag { display: block; margin-top: 1cqw; font-size: 2.6cqw; font-weight: 400; line-height: 1.25; opacity: 0.92; }
.s-btn { display: inline-block; padding: 1.4cqw 2.4cqw; background: var(--s-accent); color: var(--s-accent-ink); border-radius: 1cqw; font-size: 2.5cqw; font-weight: 600; line-height: 1.2; white-space: nowrap; }
@media (max-width: 40em) {
  .slot .site-in { align-items: end; padding: 6cqw; }
  .slot .s-title { font-size: 10.5cqw; }
  .slot .s-tag { font-size: 3.8cqw; margin-top: 1.6cqw; }
  .slot .s-btn { font-size: 3.6cqw; padding: 2.2cqw 3.4cqw; }
}

/* ---------- services ---------- */
.head-xl { font-size: var(--step-head); }
.services-head { max-width: 18ch; }
.services-body { margin-top: 5rem; align-items: start; }
.services-pic { grid-column: 1 / span 4; grid-row: 1; align-self: start; }
.services-pic img { border-radius: 12px; }
.services-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(1.05); }
.services-pic figcaption { padding: 0.9rem 0 0; color: var(--muted); }
.services-table { grid-column: 6 / span 7; grid-row: 1; width: 100%; border-collapse: collapse; }
.services-table td { padding: 1.1rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.services-table td:nth-child(2) { font-family: var(--font-display); font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.5rem); font-weight: 200; letter-spacing: 0.04em; }
.services-table td:first-child { width: 22%; font-family: var(--font-display); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.services-table td:last-child { text-align: right; white-space: nowrap; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.services-table tr.group td { padding-top: 3rem; }

/* ---------- process: one verb at a time ---------- */
.panel { position: relative; height: 100svh; padding-bottom: 12rem; overflow: clip; color: #fff; }
.panel-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8) saturate(1.1); }
.panel::after { content: ""; position: absolute; inset: 0; background: var(--scrim); pointer-events: none; }
.verb-wrap { position: sticky; top: calc(50% - 0.6em); z-index: 2; padding-top: 0.12em; font-size: var(--step-display); line-height: 1; text-align: center; }
.verb { font-size: 1em; }
.panel-text { position: absolute; z-index: 2; left: var(--margin); bottom: var(--margin); max-width: 38ch; padding: 24px; background: var(--scrim-strong); border: 1px solid var(--line); border-radius: 12px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .drift { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes drift { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1.12) translateY(3%); } }
  }
}

/* ---------- pricing ---------- */
.pricing { min-height: 80svh; display: grid; align-content: center; gap: 4rem; background: var(--surface); border-block: 1px solid var(--line); padding-block: calc(var(--section) / 2); }
.pricing-line { font-size: clamp(2rem, 5.4vw, 6rem); max-width: none; }
.price { font-weight: 300; background: var(--ink); color: var(--bg); padding: 0 0.15em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.pricing-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.pricing-foot .lead { grid-column: 1 / span 6; }
.pricing-actions { grid-column: 8 / span 5; display: grid; justify-items: end; gap: 1.25rem; text-align: right; }

/* ---------- faq: cards ---------- */
.faq-head { font-size: var(--step-head); margin-bottom: 4rem; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); }
.faq-row { padding: 24px; background: var(--elevated); border: 1px solid var(--line); border-radius: 12px; transition: border-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .faq-row:hover { border-color: var(--line-strong); } }
.faq-q { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.9375rem); font-weight: 200; letter-spacing: 0.02em; margin-bottom: 1rem; }
.faq-a { color: var(--ink-soft); }

/* ---------- clients: promoted businesses, cards with a link out ---------- */
.clients-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; margin-bottom: 4rem; }
.clients-head { grid-column: 1 / span 7; max-width: 18ch; }
.clients-lead { grid-column: 9 / span 4; color: var(--ink-soft); }
.clients-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.client { display: flex; flex-direction: column; overflow: hidden; background: var(--elevated); border: 1px solid var(--line); border-radius: 12px; transition: border-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .client:hover { border-color: var(--line-strong); } }
.client-pic { aspect-ratio: 16 / 10; background: var(--surface); border-bottom: 1px solid var(--line); }
.client-pic img { width: 100%; height: 100%; object-fit: cover; }
.client-pic.is-logo { display: grid; place-items: center; padding: 2rem; }
.client-pic.is-logo img { width: auto; height: auto; max-width: 70%; max-height: 100%; object-fit: contain; }
.client-body { display: flex; flex: 1; flex-direction: column; gap: 0.6rem; padding: 24px; }
.client-name { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.9375rem); font-weight: 200; letter-spacing: 0.02em; }
.client-work { font-size: var(--step-small); color: var(--signal); }
.client-text { color: var(--ink-soft); }
.client-link { display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start; margin-top: auto; padding-top: 0.75rem; font-family: var(--font-display); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; text-underline-offset: 0.35em; }
.client-link svg { width: 0.75rem; height: 0.75rem; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .client-link:hover { text-decoration: underline; } .client-link:hover svg { transform: translate(2px, -2px); } }
@media (max-width: 64em) { .clients-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .clients-head, .clients-lead { grid-column: 1 / -1; } .clients-lead { margin-top: 1.5rem; } }
@media (max-width: 40em) { .clients-list { grid-template-columns: 1fr; } .clients-intro { margin-bottom: 2.5rem; } }

/* ---------- who is behind: portrait and a short, personal presentation ---------- */
.team-head { margin-bottom: 4rem; }
.team-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.team-copy { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 0.9rem; }
.team-body.has-pic .team-copy { grid-column: 7 / span 6; }
.team-pic { grid-column: 1 / span 5; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: var(--surface); }
.team-pic img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 3rem); font-weight: 200; letter-spacing: 0.02em; }
.team-bio { font-size: var(--step-lead); font-weight: 200; line-height: 1.45; max-width: 34ch; }
.team-points { display: grid; gap: 0.8rem; margin-top: 0.6rem; }
.team-points li { position: relative; padding-left: 1.75rem; color: var(--ink-soft); max-width: 52ch; }
.team-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.9rem; height: 0.5rem; border-left: 1.5px solid var(--signal); border-bottom: 1.5px solid var(--signal); transform: rotate(-45deg); }
@media (max-width: 64em) { .team-body.has-pic .team-copy, .team-copy { grid-column: 1 / -1; } .team-pic { grid-column: 1 / span 8; margin-bottom: 2.5rem; } }
@media (max-width: 40em) { .team-head { margin-bottom: 2.5rem; } .team-pic { grid-column: 1 / -1; } }

/* «Prueba tu web» → WhatsApp */
.try-wa svg { width: 1.2rem; height: 1.2rem; flex: none; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--bg); padding-block: clamp(4rem, 8vw, 7rem) clamp(2rem, 4vw, 3rem); }
.contact-head { max-width: 30ch; font-size: var(--step-lead); font-weight: 200; letter-spacing: 0.02em; text-transform: none; }
.contact-mail { display: block; margin-block: clamp(4rem, 12vh, 8rem) clamp(2rem, 5vh, 3.5rem); font-family: var(--font-display); font-size: calc((100vw - 2 * var(--margin)) / 14.2); font-weight: 100; line-height: 1.1; letter-spacing: 0.02em; text-decoration: none; white-space: nowrap; transition: opacity var(--t-hover) ease; }
.contact-mail:hover { opacity: 0.75; }
.mail-part { display: inline; }
.contact-foot { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }

/* ---------- footer ---------- */
.footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; background: var(--surface); border-top: 1px solid var(--line); padding-block: 2.5rem; font-size: var(--step-small); color: var(--muted); }
.footer a { color: var(--muted); }
.footer-top { display: flex; justify-content: space-between; align-items: start; gap: 2rem; }
.footer-name { margin-top: clamp(4rem, 10vw, 9rem); max-width: none; font-family: var(--font-display); font-size: calc((100vw - 2 * var(--margin)) / 12.6); font-weight: 100; line-height: 1; letter-spacing: 0.06em; color: var(--ink); white-space: nowrap; }
.footer-meta { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.credits { max-width: 70ch; }

/* ---------- motion layer (content stays visible without script and under reduced motion) ---------- */
.shutter { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-word { opacity: 0; letter-spacing: 0.5em; filter: blur(8px); animation: tune 1100ms var(--ease-expo) forwards; animation-delay: calc(var(--i, 0) * 120ms + 80ms); }
  .js .hero-foot > * { opacity: 0; transform: translateY(20px); animation: rise 700ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 80ms + 500ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .shutter[data-reveal] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 900ms var(--ease-in-out); }
  .js .shutter[data-reveal] > * { transform: scale(1.12); transition: transform 1200ms var(--ease-soft); }
  .js .shutter[data-reveal].is-in { clip-path: inset(0); }
  .js .shutter[data-reveal].is-in > * { transform: none; }
  .js .verb { opacity: 0; letter-spacing: 0.5em; filter: blur(6px); transition: opacity 900ms var(--ease-out), letter-spacing 1100ms var(--ease-expo), filter 900ms var(--ease-out); }
  .js .verb.is-in { opacity: 1; letter-spacing: var(--track); filter: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes tune { to { opacity: 1; letter-spacing: var(--track); filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .site { transition: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 64em) {
  .hud { display: none; }
  .nav-links li:nth-child(n+3):not(:last-child) { display: none; }
  .try { grid-column: 1 / span 6; }
  .hero-lead { grid-column: 7 / span 6; }
  .hero-action { grid-column: 7 / span 6; grid-row: 2; margin-top: 1rem; justify-self: start; }
  .services-pic { grid-column: 1 / span 5; }
  .services-table { grid-column: 6 / span 7; }
  .pricing-actions { grid-column: 7 / span 6; }
}

/* ---------- phone: its own composition ---------- */
@media (max-width: 40em) {
  :root { --track: 0.12em; }
  .nav { height: 4rem; }
  .nav-links li:not(:last-child) { display: none; }
  .wordmark { font-size: 0.8125rem; letter-spacing: 0.08em; gap: 0.6rem; }
  .wordmark-mark { height: 1.6rem; }
  .hero { padding-top: 5.5rem; row-gap: 2rem; }
  .hero-corner { display: none; }
  .hero-line { flex-direction: column; align-items: center; text-align: center; font-size: 11vw; row-gap: 0.25em; }
  .hero-word:last-child { flex-basis: auto; }
  .slot { width: calc(100vw - 2 * var(--margin)); height: auto; aspect-ratio: 3 / 2; font-size: 1rem; }
  .hero-foot { grid-template-columns: 1fr; row-gap: 1.25rem; }
  .try, .hero-lead, .hero-action { grid-column: 1; grid-row: auto; }
  .hero-lead { order: -1; }
  .hero-action { justify-self: stretch; margin-top: 0; }
  .hero-action .button { flex: 1; }
  .try { grid-template-columns: 1fr; }
  .round { width: 50px; height: 50px; }


  .services-head { font-size: 7.4vw; }
  .services-body { margin-top: 3rem; grid-template-columns: 1fr; row-gap: 3rem; }
  .services-table, .services-pic { grid-column: 1; grid-row: auto; }
  .services-pic { width: 70%; }

  .verb-wrap { font-size: 9vw; }
  .panel-text { right: var(--margin); }

  .pricing-line { font-size: 7.6vw; }
  .pricing-foot { grid-template-columns: 1fr; row-gap: 1.5rem; }
  .pricing-foot .lead, .pricing-actions { grid-column: 1; }
  .pricing-actions { justify-items: stretch; text-align: left; }

  .faq-list { grid-template-columns: 1fr; }
  .faq-head { font-size: 8vw; margin-bottom: 2.5rem; }
  .contact-mail { white-space: normal; font-size: 8.4vw; line-height: 1.1; }
  .mail-part { display: block; }
  .contact-foot { flex-direction: column; gap: 0.75rem; }

  .footer-top, .footer-meta { flex-direction: column; gap: 1rem; }
}

/* ---------- experience slider (first screen) ---------- */
:root { --signal: #c8ff2e; }
.nav { transition: background-color 300ms ease, border-color 300ms ease; }
.nav.is-top { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.wordmark { display: inline-flex; align-items: center; gap: 0.85rem; }
.wordmark-mark { width: auto; height: 1.9rem; }
.footer-logo { width: auto; height: clamp(3rem, 5vw, 4.5rem); }
.exp { position: relative; height: 100svh; min-height: 560px; overflow: hidden; isolation: isolate; touch-action: pan-y; background: radial-gradient(120% 90% at 30% 60%, var(--exp-glow) 0%, var(--bg) 70%); }
.exp-gl { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; }
.exp::before, .exp::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.exp::before { inset: 0 20.8%; border-inline: 1px solid var(--hud-line); }
.exp::after { inset: 34% 0 29% 0; border-block: 1px solid var(--hud-line); }
.exp-slides { position: absolute; left: 55%; right: calc(var(--margin) + 90px); top: 50%; transform: translateY(-46%); }
.exp-count { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 2.5rem; font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.2em; color: var(--muted); font-variant-numeric: tabular-nums; }
.exp-count b { color: var(--signal); font-weight: 500; }
.exp-count i { width: 2rem; height: 1px; background: currentColor; }
.exp-stack { display: grid; }
.exp-slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 250ms ease, visibility 0s 250ms; }
.exp-slide.is-active { visibility: visible; opacity: 1; transition: opacity 250ms ease; }
.exp-title { font-size: clamp(2rem, 3.6vw, 4rem); font-weight: 200; letter-spacing: 0.25em; line-height: 1.15; }
.exp-text { margin-top: 2rem; max-width: 46ch; color: var(--ink-soft); }
.exp-slide .button { margin-top: 3rem; }
.button.enter { min-width: 15rem; justify-content: space-between; padding-left: 2.2rem; border-radius: 0; background: var(--accent); color: var(--accent-ink); box-shadow: inset 8px 0 0 var(--signal); }
@media (hover: hover) and (pointer: fine) { .button.enter:hover { opacity: 0.75; box-shadow: inset 8px 0 0 var(--signal), 0 -1px 0 var(--hover-edge); } }
.round { padding: 0; background: none; border: 0; cursor: pointer; }
.exp-arrow { position: absolute; top: 50%; z-index: 3; width: 70px; height: 70px; margin-top: -35px; }
.exp-arrow.prev { left: var(--margin); }
.exp-arrow.next { right: var(--margin); }
.exp-arrow[hidden] { display: none; }
.exp-arrow svg { width: 30px; height: 10px; animation: none; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .exp-arrow.prev:hover svg { transform: translateX(-4px); } .exp-arrow.next:hover svg { transform: translateX(4px); } }
.exp-foot { position: absolute; left: var(--margin); right: var(--margin); bottom: clamp(1.25rem, 3vw, 2.25rem); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-display); font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.exp-dots { display: flex; gap: 0.5rem; }
.exp-dots button { position: relative; width: 2.75rem; height: 2rem; padding: 0; background: none; border: 0; cursor: pointer; }
.exp-dots button::before { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; background: var(--line-strong); transition: background-color 300ms ease; }
.exp-dots button[aria-current="true"]::before { background: var(--signal); }
.exp-down { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); text-decoration: none; }
.exp-down svg { width: 14px; height: 14px; }
.no-gl .exp-gl { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .exp-slide.is-active .exp-title { animation: exp-in 1100ms var(--ease-expo) both; }
  .exp-slide.is-active .exp-text { animation: exp-up 800ms var(--ease-out) 250ms both; }
  .exp-slide.is-active .button { animation: exp-up 800ms var(--ease-out) 380ms both; }
}
@keyframes exp-in { from { opacity: 0; letter-spacing: 0.6em; filter: blur(10px); } }
@keyframes exp-up { from { opacity: 0; transform: translateY(24px); } }
/* portrait screens: object above, text below, arrows in the bottom row (matches the scene's own switch) */
@media (max-aspect-ratio: 9/10) {
  .exp { min-height: 620px; }
  .exp::before, .exp::after { display: none; }
  .exp-slides { left: var(--margin); right: var(--margin); top: auto; bottom: 5.75rem; transform: none; }
  .exp-count { margin-bottom: 1.25rem; }
  .exp-title { font-size: min(7.6vw, 3rem); letter-spacing: 0.2em; }
  .exp-text { margin-top: 1rem; font-size: 0.9375rem; line-height: 1.7; }
  .exp-slide .button { margin-top: 1.5rem; }
  .exp-arrow { top: auto; bottom: 1rem; margin-top: 0; width: 50px; height: 50px; }
  .exp-foot { bottom: 1rem; height: 50px; justify-content: center; }
  .exp-hint, .exp-down { display: none; }
}
.hud { transition: opacity 300ms ease; }
.hud.is-away { opacity: 0; }

/* ---------- welcome slide ---------- */
.exp-title.is-long { font-size: clamp(1.8rem, 2.8vw, 3.2rem); }
.exp-coord { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; margin-top: 1.5rem; font-family: var(--font-display); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; }
.exp-flag { display: inline-flex; width: 3rem; height: 3px; }
.exp-flag i { flex: 1; background: #034ea2; }
.exp-flag i:first-child { flex: 2; background: #ffd100; }
.exp-flag i:last-child { background: #ed1c24; }
.exp-slide.is-active .exp-coord { animation: exp-up 800ms var(--ease-out) 180ms both; }
@media (prefers-reduced-motion: reduce) { .exp-slide.is-active .exp-coord { animation: none; } }
@media (max-aspect-ratio: 9/10) {
  .exp-title.is-long { font-size: min(6.6vw, 2.6rem); }
  .exp-coord { margin-top: 0.9rem; letter-spacing: 0.12em; }
}
button.button { border: 0; cursor: pointer; }
.exp-coord [data-quito-time] { flex-basis: 100%; padding-left: calc(3rem + 0.9rem); color: var(--ink); }
@media (max-aspect-ratio: 9/10) { .exp-dots button { width: 2rem; } }

/* ======================================================================
   Themes. Dark is the house look; light follows the system unless the visitor picks one.
   ====================================================================== */
:root {
  --ink-soft: #d6d6d6;
  --placeholder: #a3a3a3;
  --nav-bg: rgba(5, 7, 15, 0.72);
  --exp-glow: #0b0f1e;
  --hud-line: rgba(255, 255, 255, 0.05);
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.2'/%3E%3C/svg%3E");
  --gl-line: #8a93b8;
  --gl-line-alpha: 0.15;
  --gl-soft: #ffffff;
  --gl-ghost: 0.22;
  --danger: #ff9b9b;
  --ok: #c8ff2e;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f3f4f7; --surface: #e8eaef; --elevated: #ffffff; --ink: #0b0d14; --ink-soft: #2f3440; --muted: #555b68;
    --line: rgba(11, 13, 20, 0.12); --line-strong: rgba(11, 13, 20, 0.32); --accent: #0b0d14; --accent-ink: #ffffff;
    --signal: #4a7a00; --placeholder: #6b7080; --nav-bg: rgba(243, 244, 247, 0.82); --exp-glow: #ffffff;
    --hud-line: rgba(11, 13, 20, 0.07); --gl-line: #6a7390; --gl-line-alpha: 0.24; --gl-soft: #0b0d14; --gl-ghost: 0.07; --danger: #b42318; --ok: #3f6b00;
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b0d14' stroke-width='1.2'/%3E%3C/svg%3E");
    color-scheme: light;
  }
  :root:not([data-theme="dark"]) .wordmark-mark, :root:not([data-theme="dark"]) .footer-logo { filter: invert(1); }
}
:root[data-theme="light"] {
  --bg: #f3f4f7; --surface: #e8eaef; --elevated: #ffffff; --ink: #0b0d14; --ink-soft: #2f3440; --muted: #555b68;
  --line: rgba(11, 13, 20, 0.12); --line-strong: rgba(11, 13, 20, 0.32); --accent: #0b0d14; --accent-ink: #ffffff;
  --signal: #4a7a00; --placeholder: #6b7080; --nav-bg: rgba(243, 244, 247, 0.82); --exp-glow: #ffffff;
  --hud-line: rgba(11, 13, 20, 0.07); --gl-line: #6a7390; --gl-line-alpha: 0.24; --gl-soft: #0b0d14; --gl-ghost: 0.07; --danger: #b42318; --ok: #3f6b00;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b0d14' stroke-width='1.2'/%3E%3C/svg%3E");
  color-scheme: light;
}
:root[data-theme="light"] .wordmark-mark, :root[data-theme="light"] .footer-logo { filter: invert(1); }
body { transition: background-color 300ms ease, color 300ms ease; }

/* ---------- nav tools: theme and accessibility ---------- */
.nav-tools { display: flex; gap: 0.5rem; margin-left: clamp(1rem, 2vw, 2rem); }
.tool { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-strong); transition: box-shadow var(--t-hover) ease; }
.tool svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .tool:hover { box-shadow: inset 0 0 0 1px var(--ink); } }
.tool .i-moon { display: none; }
.tool[aria-pressed="true"] .i-sun { display: none; }
.tool[aria-pressed="true"] .i-moon { display: block; }
.nav nav { margin-left: auto; }

/* ---------- accessibility panel ---------- */
.a11y { width: min(26rem, calc(100vw - 2rem)); padding: 24px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--elevated); color: var(--ink); }
.a11y::backdrop { background: rgba(0, 0, 0, 0.55); }
.a11y-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.a11y-head h2 { font-size: 1.25rem; font-weight: 300; }
.a11y-note { margin-top: 0.5rem; color: var(--muted); font-size: var(--step-small); }
.a11y-size { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.a11y-size span { flex: 1; }
.a11y-size button { min-width: 3rem; min-height: 2.75rem; border: 1px solid var(--line-strong); border-radius: 8px; background: none; color: var(--ink); font-weight: 600; cursor: pointer; }
.a11y-size button:disabled { opacity: 0.4; cursor: default; }
.a11y-size output { min-width: 3.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.a11y-list { display: grid; gap: 0.5rem; margin: 1.25rem 0 1.5rem; }
.a11y-list button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 3rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 8px; background: none; color: var(--ink); font-size: 1rem; text-align: left; cursor: pointer; }
.a11y-list button::after { content: ""; width: 2.25rem; height: 1.25rem; border-radius: 1rem; background: var(--line-strong); box-shadow: inset 0 0 0 2px var(--elevated); transition: background-color 150ms ease; }
.a11y-list button[aria-pressed="true"] { border-color: var(--signal); }
.a11y-list button[aria-pressed="true"]::after { background: var(--signal); }

/* ---------- accessibility modes ---------- */
html[data-text-size="1"] { font-size: 115%; }
html[data-text-size="2"] { font-size: 130%; }
html[data-text-size="3"] { font-size: 150%; }
html.a11y-contrast { --muted: var(--ink); --ink-soft: var(--ink); --line: var(--line-strong); --placeholder: var(--ink); }
html.a11y-contrast .panel::after { background: rgba(0, 0, 0, 0.72); }
html.a11y-contrast .panel-text, html.a11y-contrast .exp-text { font-weight: 600; }
html.a11y-links a:not(.button):not(.round) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 0.22em; }
html.a11y-font body, html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font .button, html.a11y-font .label, html.a11y-font .nav-links a, html.a11y-font .exp-coord, html.a11y-font .exp-count, html.a11y-font .field, html.a11y-font td { font-family: Verdana, "DejaVu Sans", Tahoma, system-ui, sans-serif !important; font-weight: 400 !important; letter-spacing: 0.02em !important; text-transform: none !important; }
html.a11y-spacing body { letter-spacing: 0.05em; word-spacing: 0.16em; }
html.a11y-spacing p, html.a11y-spacing li, html.a11y-spacing td { line-height: 2.1; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still [data-reveal], html.a11y-still .verb, html.a11y-still .hero-word, html.a11y-still .hero-foot > *, html.a11y-still .half-b { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
html.a11y-focus :focus-visible { outline: 3px solid var(--signal) !important; outline-offset: 4px !important; box-shadow: 0 0 0 7px var(--bg) !important; }

/* ---------- corporate e-mail perk ---------- */
.pricing-foot .pricing-copy { grid-column: 1 / span 7; }
.mail-perk { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding: 24px; background: var(--elevated); border: 1px solid var(--line); border-radius: 12px; }
.mail-perk svg { flex: none; width: 1.75rem; height: 1.75rem; fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-linejoin: round; }
.mail-perk h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.mail-perk p { margin-top: 0.4rem; color: var(--ink-soft); }

/* ---------- contact form and socials ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.contact-form { grid-column: 1 / span 7; display: grid; gap: 1.25rem; padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--elevated); border: 1px solid var(--line); border-radius: 12px; }
.contact-form-title { font-size: var(--step-lead); font-weight: 200; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-form-note { margin-top: -0.75rem; color: var(--muted); font-size: var(--step-small); }
.cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.cf-field { display: grid; gap: 0.4rem; align-content: start; }
.cf-field label { font-weight: 600; font-size: 0.9375rem; }
textarea.field { min-height: 8rem; resize: vertical; line-height: 1.6; }
.field[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.875rem; font-weight: 600; }
.cf-check { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 0.75rem; align-items: start; }
.cf-check input { width: 1.25rem; height: 1.25rem; margin-top: 0.3rem; accent-color: var(--signal); }
.cf-check .field-error { grid-column: 2; }
.contact-form .button { justify-self: start; }
.form-status { padding: 1rem 1.25rem; border-radius: 8px; border: 1px solid; font-weight: 600; }
.form-status.is-ok { border-color: var(--ok); color: var(--ink); }
.form-status.is-error { border-color: var(--danger); color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-side { grid-column: 9 / span 4; display: grid; gap: 0.75rem; align-content: start; }
.social { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.social a { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 2.75rem; padding: 0 1rem 0 0.8rem; border: 1px solid var(--line-strong); border-radius: 2rem; color: var(--ink); text-decoration: none; transition: border-color var(--t-hover) ease; }
.social svg { width: 1.25rem; height: 1.25rem; }
@media (hover: hover) and (pointer: fine) { .social a:hover { border-color: var(--signal); } }
.social.is-compact { margin: 0; }
.social.is-compact a { width: 2.75rem; padding: 0; justify-content: center; }

@media (max-width: 64em) {
  .contact-form, .contact-side { grid-column: 1 / -1; }
  .pricing-foot .pricing-copy { grid-column: 1 / -1; }
}
@media (max-width: 40em) {
  .cf-row { grid-template-columns: 1fr; }
  .contact-form .button { justify-self: stretch; }
  .nav-tools { margin-left: 0.5rem; gap: 0.35rem; }
  .nav nav { display: none; }
}
@media (max-width: 40em) { .services-table td:last-child { white-space: normal; } .services-table td:nth-child(2) { overflow-wrap: anywhere; } }

/* ---------- calls to action: slider foot, WhatsApp, phone and tablet menu ---------- */
.exp-cta { min-width: 0; min-height: 3rem; font-size: 0.8125rem; }
@media (max-aspect-ratio: 9/10) { .exp-cta { display: none; } }
.exp-cta { transition: opacity 300ms ease, box-shadow var(--t-hover) ease, transform var(--t-press) var(--ease-out), visibility 0s; }
.cta-dupe .exp-cta { opacity: 0; visibility: hidden; transition-delay: 0s, 0s, 0s, 300ms; }

.wa-float { position: fixed; z-index: 18; right: var(--margin); bottom: clamp(1rem, 3vw, 2rem); display: inline-flex; align-items: center; gap: 0.65rem; min-height: 3.25rem; padding: 0 1.4rem 0 1.1rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--line-strong); font-family: var(--font-display); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: opacity 300ms ease, transform 300ms var(--ease-out), visibility 0s; }
.wa-float svg { width: 1.4rem; height: 1.4rem; flex: none; }
.js .wa-float:not(.is-shown) { opacity: 0; visibility: hidden; transform: translateY(0.75rem); transition: opacity 300ms ease, transform 300ms var(--ease-out), visibility 0s 300ms; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { opacity: 0.85; } }
@media (prefers-reduced-motion: reduce) { .wa-float, .js .wa-float:not(.is-shown) { transform: none; } }
@media (max-width: 40em) {
  .wa-float { width: 3.5rem; min-height: 3.5rem; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .wa-float svg { width: 1.6rem; height: 1.6rem; }
}

/* the lead takes what the try form and the buttons leave, so it never runs under them */
@media (min-width: 64.0625em) {
  .hero-foot { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; column-gap: calc(var(--gutter) * 1.5); }
  .try { grid-column: 1; grid-row: 1; }
  .hero-lead { grid-column: 2; }
  .hero-action { grid-column: 3; }
}

.nav-toggle, .nav-cta { display: none; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-bars { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline; }
@media (max-width: 64em) {
  .js .nav-toggle { display: inline-grid; }
  .js .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 0.5rem var(--margin) 1.5rem; max-height: calc(100vh - 4rem); overflow-y: auto; background: var(--bg); border-bottom: 1px solid var(--line); }
  .js .nav.is-open { background: var(--bg); border-bottom-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .js .nav.is-open nav { display: block; }
  .js .nav .nav-links { flex-direction: column; gap: 0; }
  .js .nav .nav-links li { display: block; }
  .js .nav .nav-links a.link { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
  .js .nav .nav-links a[aria-current] { box-shadow: none; color: var(--signal); }
  .js .nav .nav-cta { padding-top: 1.5rem; }
  .js .nav .nav-cta .button { width: 100%; }
}
/* room under the last line of the footer, so the floating button never sits on it */
body:has(.wa-float) .footer-meta { padding-bottom: 4.5rem; }
/* three tools in the phone header: slightly smaller, so the wordmark keeps its room */
@media (max-width: 40em) {
  .nav-tools { gap: 0.25rem; }
  .tool { width: 2.25rem; height: 2.25rem; }
  .tool svg { width: 1.05rem; height: 1.05rem; }
}
@media (max-width: 24em) {
  .wordmark { font-size: 0.6875rem; letter-spacing: 0.04em; gap: 0.45rem; }
  .wordmark-mark { height: 1.4rem; }
}

/* ---------- packages: three ruled columns, the highlighted one lifted onto the elevated surface ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.plan { position: relative; display: flex; flex-direction: column; gap: 0.75rem; padding: clamp(1.5rem, 2.6vw, 2.5rem); border-left: 1px solid var(--line); }
.plan:first-child { border-left: 0; padding-left: 0; }
.plan.is-featured { background: var(--elevated); border-left-color: transparent; border-radius: 12px; margin-block: -1.25rem; padding-block: calc(clamp(1.5rem, 2.6vw, 2.5rem) + 1.25rem); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.55), inset 0 2px 0 var(--signal); }
.plan.is-featured + .plan { border-left-color: transparent; }
.plan:first-child.is-featured { padding-left: clamp(1.5rem, 2.6vw, 2.5rem); }
.plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.plan-name { font-size: 1.125rem; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; }
.plan-badge { padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--signal); color: var(--bg); font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.plan-price { margin-top: 0.75rem; font-family: var(--font-display); font-size: clamp(2.5rem, 4.2vw, 4rem); font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.plan-quota { color: var(--signal); font-family: var(--font-display); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.06em; }
.plan-summary { color: var(--ink-soft); max-width: 36ch; }
.plan-list { display: grid; gap: 0.6rem; margin: 0.75rem 0 1.5rem; padding: 1.25rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.plan-list li { position: relative; padding-left: 1.6rem; font-size: 0.9375rem; color: var(--ink-soft); }
.plan-list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.8rem; height: 0.45rem; border-left: 1.5px solid var(--signal); border-bottom: 1.5px solid var(--signal); transform: rotate(-45deg); }
.plan-cta { margin-top: auto; width: 100%; justify-content: space-between; }
.plans-note { display: flex; align-items: center; gap: 0.9rem; color: var(--ink-soft); max-width: 70ch; }
.plans-note svg { flex: none; width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
@media (max-width: 64em) {
  .plans { grid-template-columns: 1fr; border-bottom: 0; }
  .plan, .plan:first-child { border-left: 0; padding-inline: 0; border-bottom: 1px solid var(--line); }
  .plan.is-featured, .plan:first-child.is-featured { margin: 1rem 0; padding-inline: clamp(1.25rem, 4vw, 2rem); padding-block: 2rem; border-bottom-color: transparent; }
  .plan-list { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); column-gap: 1.5rem; }
}

/* ---------- contact form in steps ---------- */
.contact-form { --progress: 0; scroll-margin-top: 5.5rem; }
.cf-top { display: grid; gap: 1.25rem; }
.cf-step { display: grid; gap: 1.25rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.cf-step-title { padding: 0; margin-bottom: 0.25rem; font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 300; letter-spacing: 0.02em; }
.cf-step-title:focus { outline: none; }
.cf-step-title:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 2px; }
.cf-opt { color: var(--muted); font-weight: 400; }

/* the rail: numbered stops on a line that fills with signal as the visitor advances */
.cf-progress { display: none; position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.is-stepped .cf-progress { display: grid; }
.cf-progress::before, .cf-progress::after { content: ""; position: absolute; top: 0.9rem; left: 0.9rem; right: calc(100% / 3 - 0.9rem); height: 1px; background: var(--line-strong); }
.cf-progress::after { top: calc(0.9rem - 0.5px); height: 2px; background: var(--signal); transform-origin: left; transform: scaleX(var(--progress)); transition: transform 560ms var(--ease-expo); }
.cf-progress li { position: relative; z-index: 1; display: grid; gap: 0.5rem; justify-items: start; color: var(--muted); transition: color 300ms ease; }
.cf-progress-n { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--elevated); box-shadow: inset 0 0 0 1px var(--line-strong); font-family: var(--font-display); font-size: 0.8125rem; font-weight: 500; font-variant-numeric: tabular-nums; transition: background 300ms ease, color 300ms ease, box-shadow 300ms ease, transform 420ms var(--ease-expo); }
.cf-progress-label { padding-right: 0.5rem; font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.cf-progress li.is-current { color: var(--ink); }
.cf-progress li.is-current .cf-progress-n { box-shadow: inset 0 0 0 1.5px var(--signal), 0 0 0 5px var(--elevated); color: var(--ink); transform: scale(1.12); }
.cf-progress li.is-done { color: var(--ink-soft); }
.cf-progress li.is-done .cf-progress-n { background: var(--signal); color: var(--bg); box-shadow: 0 0 0 5px var(--elevated); }

/* the stage holds the steps; while one leaves it sits on top, out of the flow */
.cf-stage { position: relative; display: grid; gap: 2.5rem; }
.is-stepped .cf-stage { display: block; }
.cf-stage.is-moving { overflow: clip; overflow-clip-margin: 8px; }
.cf-step[hidden] { display: none; }
.cf-step.is-leaving { position: absolute; inset: 0 0 auto 0; pointer-events: none; }

/* step 1: options as tiles */
.cf-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: 0.6rem; }
.cf-tile { position: relative; display: flex; align-items: center; gap: 0.75rem; min-height: 3.25rem; padding: 0.7rem 0.9rem; border-radius: 8px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-size: 0.9375rem; font-weight: 600; line-height: 1.3; transition: box-shadow var(--t-hover) ease, background var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cf-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cf-tile-mark { flex: none; position: relative; width: 1.15rem; height: 1.15rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: box-shadow 220ms var(--ease-out); }
.cf-tile-mark::after { content: ""; position: absolute; inset: 0; background: var(--bg); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.4 2.4 4.6-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.4 2.4 4.6-5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; transform: scale(0); transition: transform 260ms var(--ease-expo); }
.cf-tile:has(input:checked) { background: var(--elevated); box-shadow: inset 0 0 0 1.5px var(--signal); }
.cf-tile:has(input:checked) .cf-tile-mark { box-shadow: inset 0 0 0 0.6rem var(--signal); }
.cf-tile:has(input:checked) .cf-tile-mark::after { transform: scale(1); }
.cf-tile:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.cf-tile:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .cf-tile:hover { box-shadow: inset 0 0 0 1px var(--line-strong); } .cf-tile:has(input:checked):hover { box-shadow: inset 0 0 0 1.5px var(--signal); } }

/* step 2: quick ideas */
.cf-ideas { display: none; gap: 0.6rem; }
.is-stepped .cf-ideas { display: grid; }
.cf-ideas-label { color: var(--muted); font-size: var(--step-small); }
.cf-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.cf-chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.5rem; padding: 0 0.95rem; border: 0; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-soft); font: inherit; font-size: 0.875rem; cursor: pointer; transition: box-shadow var(--t-hover) ease, background var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.cf-chip::before { content: ""; width: 0.6rem; height: 0.6rem; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform 260ms var(--ease-expo); }
.cf-chip[aria-pressed="true"] { background: var(--signal); color: var(--bg); box-shadow: none; }
.cf-chip[aria-pressed="true"]::before { transform: rotate(45deg); }
.cf-chip:active { transform: scale(0.96); }
.cf-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .cf-chip:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); } .cf-chip[aria-pressed="true"]:hover { color: var(--bg); } }

/* step 3: what they chose, as a reminder */
.cf-recap { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cf-recap[hidden] { display: none; }
.cf-recap span { padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-soft); font-size: 0.8125rem; font-weight: 600; }

/* navigation */
.cf-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; padding-top: 0.5rem; }
.cf-back, .cf-next { display: none; }
.is-stepped .cf-back, .is-stepped .cf-next { display: inline-flex; }
.is-stepped .cf-nav [hidden] { display: none; }
.contact-form .cf-next, .contact-form .cf-send { margin-left: auto; }
.cf-back::after { order: -1; transform: rotate(-135deg); }
@media (hover: hover) and (pointer: fine) { .cf-back:hover::after { transform: translateX(-3px) rotate(-135deg); } }
.cf-send.is-busy { opacity: 0.6; pointer-events: none; }
.cf-send.is-busy::after { width: 0.9rem; height: 0.9rem; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; transform: none; animation: cf-spin 700ms linear infinite; }
@keyframes cf-spin { to { transform: rotate(360deg); } }
.cf-req { margin-top: -0.5rem; }
.is-stepped .cf-req { display: none; }
.is-stepped:has(.cf-step:last-child:not([hidden])) .cf-req { display: block; }

/* sent */
.cf-done { display: grid; justify-items: start; gap: 0.75rem; padding-block: 1rem 0.5rem; }
.cf-done:focus { outline: none; }
.cf-done-mark { width: 3.5rem; height: 3.5rem; fill: none; stroke: var(--signal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cf-done-title { font-family: var(--font-display); font-size: var(--step-lead); font-weight: 300; letter-spacing: 0.04em; }
.cf-done-text { color: var(--ink-soft); max-width: 48ch; }
.cf-done-more { margin-top: 0.5rem; color: var(--muted); font-size: var(--step-small); }
.cf-done-more .link { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .cf-done-mark circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: cf-draw 700ms var(--ease-expo) 150ms forwards; }
  .cf-done-mark path { stroke-dasharray: 34; stroke-dashoffset: 34; animation: cf-draw 420ms var(--ease-expo) 650ms forwards; }
  .cf-done > p { animation: cf-rise 600ms var(--ease-expo) both; }
  .cf-done > p:nth-of-type(1) { animation-delay: 700ms; }
  .cf-done > p:nth-of-type(2) { animation-delay: 800ms; }
  .cf-done > p:nth-of-type(3) { animation-delay: 900ms; }
}
@keyframes cf-draw { to { stroke-dashoffset: 0; } }
@keyframes cf-rise { from { opacity: 0; transform: translateY(10px); filter: blur(3px); } }

@media (max-width: 40em) {
  .cf-progress-label { font-size: 0.75rem; }
  .cf-tiles { grid-template-columns: 1fr; gap: 0.45rem; }
  .cf-tile { min-height: 2.9rem; padding-block: 0.55rem; }
  .cf-nav .button { flex: 1; }
  .contact-form .cf-back { flex: 0 0 auto; padding-inline: 1.1rem; }
}

textarea.field { font-family: var(--font); }

/* ---------- privacy page: a reading surface, with the contents rail beside the text on wide screens ---------- */
.cf-privacy { display: inline-block; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.25em; }
.legal-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.legal-back { font-size: var(--step-small); }
.legal { padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 9vw, 7rem); }
.legal-head { display: grid; gap: 1.5rem; max-width: 62rem; }
.legal-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 5rem); line-height: 1.05; }
.legal-head .lead { max-width: 44ch; color: var(--ink-soft); }
.legal-date { color: var(--muted); font-size: var(--step-small); }
.legal-summary { max-width: 62rem; margin-block: clamp(2.5rem, 6vw, 4rem); padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--elevated); border: 1px solid var(--line); border-radius: 12px; }
.legal-summary h2 { font-size: 1rem; font-weight: 500; letter-spacing: 0.2em; }
.legal-summary ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.legal-summary li { position: relative; padding-left: 1.75rem; color: var(--ink-soft); }
.legal-summary li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.85rem; height: 0.48rem; border-left: 1.5px solid var(--signal); border-bottom: 1.5px solid var(--signal); transform: rotate(-45deg); }
.legal-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.legal-toc { grid-column: 1 / span 3; position: sticky; top: 2rem; display: grid; gap: 1rem; }
.legal-toc ol { display: grid; gap: 0.15rem; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: grid; grid-template-columns: 1.75rem 1fr; padding: 0.4rem 0; color: var(--muted); font-size: 0.9375rem; text-decoration: none; transition: color var(--t-hover) ease; }
.legal-toc a::before { content: counter(toc); font-family: var(--font-display); font-size: 0.8125rem; font-variant-numeric: tabular-nums; color: var(--line-strong); }
.legal-toc a:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .legal-toc a:hover { color: var(--ink); } }
.legal-text { grid-column: 5 / span 7; display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); counter-reset: sec; }
.legal-text section { display: grid; gap: 1rem; scroll-margin-top: 2rem; }
.legal-text h2 { counter-increment: sec; display: flex; align-items: baseline; gap: 0.9rem; font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem); font-weight: 300; line-height: 1.25; letter-spacing: 0.01em; text-transform: none; }
.legal-text h2::before { content: counter(sec, decimal-leading-zero); flex: none; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; color: var(--signal); font-variant-numeric: tabular-nums; }
.legal-text p, .legal-text li { max-width: 68ch; color: var(--ink-soft); line-height: 1.7; }
.legal-text strong { color: var(--ink); font-weight: 700; }
.legal-text ul { display: grid; gap: 0.7rem; margin: 0; padding-left: 1.2rem; }
.legal-text li::marker { color: var(--signal); }
.legal-text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.25em; transition: text-decoration-color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .legal-text a:hover { text-decoration-color: var(--ink); } }
.legal-card { display: grid; margin: 0.25rem 0; border-block: 1px solid var(--line); }
.legal-card > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.legal-card > div:first-child { border-top: 0; }
.legal-card dt { color: var(--muted); font-size: var(--step-small); }
.legal-card dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.legal-callout { padding: 1rem 1.25rem; background: var(--elevated); border: 1px solid var(--line); border-radius: 8px; }
.legal-foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 64em) {
  .legal-toc { grid-column: 1 / -1; position: static; margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
  .legal-text { grid-column: 1 / -1; }
}
@media (max-width: 40em) {
  .legal-summary ul, .legal-toc ol { grid-template-columns: 1fr; }
  .legal-card > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .legal-back { display: none; }
}

/* ---------- privacy notice: a quiet strip at the bottom that never covers the page, and its settings panel ---------- */
.consent { position: fixed; z-index: 40; left: var(--margin); right: var(--margin); bottom: 1rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem; max-width: 64rem; margin-inline: auto; padding: 1.1rem 1.25rem 1.1rem 1.5rem; background: var(--elevated); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6); color: var(--ink); }
.consent-title { font-family: var(--font-display); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.consent-text { margin-top: 0.35rem; max-width: 70ch; color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.55; }
.consent-text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.22em; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.6rem; }
.consent-actions .button { min-height: 2.9rem; padding: 0 1.3rem; }
.consent-actions .button::after { display: none; }
.consent-link, .consent-open, .link-inline { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 0.25em; }
.consent-link { min-height: 2.9rem; padding-inline: 0.5rem; color: var(--ink); font-size: 0.875rem; }
.footer .consent-open { color: var(--muted); }
.link-inline { color: var(--ink); }
.consent-link:focus-visible, .consent-open:focus-visible, .link-inline:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
@media (hover: hover) and (pointer: fine) { .consent-link:hover, .consent-open:hover, .link-inline:hover { text-decoration-color: currentColor; } }
.has-consent .wa-float { opacity: 0; pointer-events: none; }

.consent-panel { width: min(32rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 24px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--elevated); color: var(--ink); }
.consent-panel::backdrop { background: rgba(0, 0, 0, 0.55); }
.consent-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.consent-panel-head h2 { font-size: 1.25rem; font-weight: 300; text-transform: none; letter-spacing: 0.02em; }
.consent-note { margin-top: 0.5rem; color: var(--muted); font-size: var(--step-small); }
.consent-note a { color: var(--ink); }
.consent-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: start; margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 8px; }
.consent-row label { font-weight: 700; }
.consent-row p { margin-top: 0.3rem; color: var(--ink-soft); font-size: 0.875rem; line-height: 1.5; }
.consent-switch { appearance: none; position: relative; width: 2.6rem; height: 1.5rem; margin: 0; border-radius: 1rem; background: var(--line-strong); cursor: pointer; transition: background-color 150ms ease; }
.consent-switch::after { content: ""; position: absolute; top: 0.2rem; left: 0.2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--ink); transition: transform 220ms var(--ease-expo); }
.consent-switch:checked { background: var(--signal); }
.consent-switch:checked::after { transform: translateX(1.1rem); background: var(--bg); }
.consent-switch:disabled { cursor: not-allowed; opacity: 0.6; }
.consent-switch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.consent-status { min-height: 1.25rem; margin-top: 0.75rem; color: var(--signal); font-size: var(--step-small); font-weight: 600; }
.consent-panel-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; margin-top: 0.5rem; }
.consent-panel-actions .button { min-height: 2.9rem; padding: 0 1.3rem; }
.consent-panel-actions .button::after { display: none; }
@media (max-width: 48em) {
  .consent { grid-template-columns: 1fr; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 1rem; }
  .consent-text { font-size: 0.875rem; }
  .consent-actions { justify-content: stretch; }
  .consent-actions .button { flex: 1; }
  .consent-link { flex-basis: 100%; min-height: 2.5rem; }
}

/* privacy page: storage table and its consent button */
.legal-table-wrap { overflow-x: auto; }
.legal-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.9375rem; }
.legal-table th, .legal-table td { padding: 0.75rem 0.75rem 0.75rem 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink-soft); }
.legal-table thead th { border-top: 0; color: var(--muted); font-size: var(--step-small); font-weight: 600; }
.legal-table code, .legal-text code { font-size: 0.875em; color: var(--ink); }
.legal-consent { margin-top: 0.75rem; display: flex; width: fit-content; }
.legal-body > *, .legal-text section, .legal-table-wrap { min-width: 0; }
.legal-text section { grid-template-columns: minmax(0, 1fr); }
.legal-consent { max-width: 100%; white-space: normal; text-align: center; min-height: 3rem; padding-block: 0.6rem; }
.legal-table code { white-space: nowrap; }
.review-link { display: inline-flex; align-items: flex-start; gap: 0.5rem; }
.review-link svg { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; fill: none; stroke: var(--signal); stroke-width: 1.5; stroke-linejoin: round; }

/* ---------- service pages (/servicios/) ---------- */
.lp-bar { position: sticky; top: 0; z-index: 20; background: var(--nav-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.lp-nav { display: flex; align-items: center; gap: 1.5rem; font-size: var(--step-small); }
.lp-nav a[aria-current="page"] { text-decoration-color: var(--signal); }
.lp-bar-cta { min-height: 2.6rem; padding: 0 1.1rem; font-size: 0.75rem; }
.lp-bar-cta::after { display: none; }
.lp-bar-cta svg, .lp-actions .button svg { width: 1.15rem; height: 1.15rem; flex: none; }

.lp-hero { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem); border-bottom: 1px solid var(--line); }
.lp-crumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; color: var(--muted); font-size: var(--step-small); }
.lp-crumbs a { color: var(--muted); text-underline-offset: 0.25em; }
.lp-crumbs [aria-current] { color: var(--ink-soft); }
.lp-title { max-width: 22ch; font-size: clamp(2.2rem, 1.2rem + 4.2vw, 5.5rem); line-height: 1.04; }
.lp-hero-foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 2rem; align-items: end; margin-top: clamp(0.5rem, 2vw, 1.5rem); }
.lp-hero-foot .lead { grid-column: 1 / span 6; max-width: 34ch; color: var(--ink-soft); }
.lp-offer { grid-column: 8 / span 5; display: grid; gap: 0.5rem; padding: clamp(1.25rem, 2.5vw, 2rem); background: var(--elevated); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.6), inset 0 2px 0 var(--signal); }
.lp-price { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-price span { display: block; margin-bottom: 0.4rem; color: var(--muted); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; }
.lp-price-quote { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.lp-quota { color: var(--signal); font-family: var(--font-display); font-weight: 500; letter-spacing: 0.04em; }
.lp-time { color: var(--ink-soft); font-size: var(--step-small); }
.lp-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.lp-offer .lp-actions .button { flex: 1 1 auto; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.a11y-still) .lp-title { animation: lp-rise 900ms var(--ease-expo) both; }
  html:not(.a11y-still) .lp-hero-foot, html:not(.a11y-still) .lp-hero > .lead { animation: lp-rise 900ms var(--ease-expo) 160ms both; }
}
@keyframes lp-rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -20% 0); } }

.lp-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 3rem; padding-block: clamp(4rem, 9vw, 7rem); }
.lp-body h2, .lp-steps h2, .lp-related h2 { font-size: 1rem; font-weight: 500; letter-spacing: 0.2em; }
.lp-includes { grid-column: 1 / span 5; align-self: start; position: sticky; top: 6rem; }
.lp-includes ul { display: grid; gap: 0.9rem; margin: 1.5rem 0 0; padding: 1.5rem 0 0; list-style: none; border-top: 1px solid var(--line); }
.lp-includes li { position: relative; padding-left: 1.75rem; color: var(--ink-soft); }
.lp-includes li::before { content: ""; position: absolute; left: 0.1rem; top: 0.5em; width: 0.85rem; height: 0.48rem; border-left: 1.5px solid var(--signal); border-bottom: 1.5px solid var(--signal); transform: rotate(-45deg); }
.lp-text { grid-column: 7 / span 6; display: grid; gap: 1.25rem; }
.lp-text h2 { margin-bottom: 0.5rem; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); font-weight: 200; letter-spacing: 0.04em; text-transform: none; }
.lp-text p { max-width: 62ch; color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.75; }

.lp-steps { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: var(--surface); border-block: 1px solid var(--line); }
.lp-steps ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: step; }
.lp-steps li { counter-increment: step; display: grid; align-content: start; gap: 0.75rem; padding: 1.5rem clamp(1rem, 2vw, 1.75rem) 0.5rem; border-left: 1px solid var(--line); }
.lp-steps li:first-child { border-left: 0; padding-left: 0; }
.lp-steps li::before { content: counter(step, decimal-leading-zero); color: var(--signal); font-family: var(--font-display); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }
.lp-steps h3 { font-size: clamp(1.3rem, 1rem + 0.9vw, 1.9rem); font-weight: 200; letter-spacing: 0.06em; text-transform: uppercase; }
.lp-steps p { color: var(--ink-soft); font-size: 0.9375rem; }

.lp-faq { padding-block: clamp(4rem, 9vw, 7rem) 0; }
.lp-faq-head { margin-bottom: 2.5rem; font-size: var(--step-head); }

.lp-close { display: grid; gap: 1.25rem; justify-items: start; padding-block: clamp(4rem, 9vw, 7rem); }
.lp-close h2 { max-width: 18ch; font-size: clamp(2rem, 1.2rem + 3vw, 4.5rem); line-height: 1.05; }
.lp-close .lead { color: var(--ink-soft); }

.lp-related { padding-block: 0 clamp(3rem, 7vw, 5rem); }
.lp-related ul, .lp-index-list { margin: 1.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.lp-related ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); column-gap: var(--gutter); }
.lp-related a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 300; letter-spacing: 0.04em; }
.lp-related svg, .lp-index-arrow svg { width: 0.9rem; height: 0.9rem; flex: none; transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .lp-related a:hover svg, .lp-index-item:hover .lp-index-arrow svg { transform: translateX(4px); } .lp-related a:hover { color: var(--signal); } }

.lp-index { padding-block: 0 clamp(4rem, 9vw, 7rem); }
.lp-index-item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 0.4rem; align-items: baseline; padding: clamp(1.4rem, 3vw, 2.2rem) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.lp-index-name { grid-column: 1 / span 4; font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 1.3vw, 2.4rem); font-weight: 200; letter-spacing: 0.04em; line-height: 1.15; }
.lp-index-lead { grid-column: 5 / span 4; color: var(--ink-soft); }
.lp-index-meta { grid-column: 9 / span 3; color: var(--muted); font-size: var(--step-small); }
.lp-index-arrow { grid-column: 12; justify-self: end; color: var(--signal); }
.lp-index-item:focus-visible, .lp-related a:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .lp-index-item:hover .lp-index-name { color: var(--signal); } }

/* home: links to each service page under the services table */
.services-more { display: grid; gap: 1rem; margin-top: 3.5rem; }
.services-more ul { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.services-more a { display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); text-decoration: none; font-size: 0.9375rem; transition: box-shadow var(--t-hover) ease, color var(--t-hover) ease; }
.services-more a:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .services-more a:hover { box-shadow: inset 0 0 0 1px var(--signal); } }

@media (max-width: 64em) {
  .lp-hero-foot .lead, .lp-offer { grid-column: 1 / -1; }
  .lp-offer { max-width: 32rem; }
  .lp-includes, .lp-text { grid-column: 1 / -1; position: static; }
  .lp-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.5rem; }
  .lp-steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .lp-index-name { grid-column: 1 / span 11; }
  .lp-index-lead { grid-column: 1 / span 11; }
  .lp-index-meta { grid-column: 1 / span 11; }
  .lp-index-arrow { grid-row: 1; }
}
@media (max-width: 40em) {
  .lp-nav { gap: 1rem; }
  .lp-nav .link-plain:nth-child(2) { display: none; }
  .lp-steps ol { grid-template-columns: 1fr; }
  .lp-steps li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .lp-steps li:first-child { border-top: 0; }
  .lp-actions .button { flex: 1 1 100%; }
}
@media (max-width: 30em) { .lp-bar .wordmark span { display: none; } }
.exp-gl { opacity: 0; transition: opacity 900ms var(--ease-soft); }
.gl-on .exp-gl { opacity: 1; }
html.a11y-still .exp-gl { transition: none; }
@media (max-width: 48em) {
  .consent { gap: 0.75rem; padding: 0.85rem 0.95rem; }
  .consent-title { font-size: 0.75rem; }
  .consent-text { margin-top: 0.25rem; font-size: 0.8125rem; line-height: 1.45; }
  .consent-actions { gap: 0.5rem; }
  .consent-actions .button { min-height: 2.75rem; padding: 0 0.9rem; font-size: 0.8125rem; }
  .consent-link { min-height: 2.25rem; }
}
