/* The sales site: landing (/), order (/pedido/), thank-you (/gracias/), terms (/terminos/). */
:root {
  --ink: #000000;
  --ink-2: #111111;
  --ink-3: #2e2e2e;
  --paper: #fbf7f0;
  --paper-2: #f2eadc;
  --white: #ffffff;
  --text: #1b1a18;
  --muted: #6a645b;
  --on-dark: #f5f2ec;
  --on-dark-muted: #bdbdbd;
  --line: rgba(27, 26, 24, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --red: #ff1e25;          /* accent text and glows on dark */
  --red-text: #c8141a;     /* accent text on light backgrounds (contrast 5:1) */
  --btn: #e5171e;          /* buttons, white text on it passes 4.5:1 */
  --btn-hover: #c9131a;
  --ok: #15803d;
  --bad: #b91c1c;
  --radius: 18px;
  --display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ff8a80; outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 40px, 1160px); margin-inline: auto; }
.narrow { width: min(100% - 40px, 760px); margin-inline: auto; }

/* ---- buttons ------------------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 2px solid transparent; border-radius: 999px;
  background: var(--btn); color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, border-color .15s;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled='true'] { opacity: .55; cursor: not-allowed; }
.btn.big { min-height: 56px; padding: 0 30px; font-size: 1.1rem; }
.btn.block { display: flex; width: 100%; }
.btn.ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn.ghost:hover { background: rgba(127, 127, 127, .15); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #ece7de; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.link { background: none; border: 0; padding: 4px; color: inherit; text-decoration: underline; cursor: pointer; font-size: .95rem; opacity: .85; }

/* ---- header ------------------------------------------------------------------------------- */
.top { position: relative; z-index: 20; background: var(--ink); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); }
.top .wrap { display: flex; align-items: center; gap: 22px; min-height: 64px; }
.brand { font: 800 1.35rem/1 var(--display); letter-spacing: -.02em; text-decoration: none; margin-right: auto; }
.brand span { color: var(--red); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 32px; width: auto; display: block; mix-blend-mode: lighten; }
.brand .brand-word { color: #fff; font-weight: 800; letter-spacing: 0; font-size: 1.05rem; }
.brand .brand-word b { color: var(--red); font-weight: 800; }
/* the full logo opens the landing hero; its black background melts into the page */
.hero-logo { display: block; width: min(250px, 62vw); height: auto; margin: 0 0 26px; mix-blend-mode: lighten; }
.top nav { display: flex; gap: 22px; font-size: .95rem; }
.top nav a { text-decoration: none; color: var(--on-dark-muted); }
.top nav a:hover { color: #fff; }
.top-right { display: flex; align-items: center; gap: 12px; }
.panel-link { font-size: .9rem; color: var(--on-dark-muted); text-decoration: none; white-space: nowrap; }
.panel-link:hover { color: #fff; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line-dark); border-radius: 999px; padding: 2px; }
.lang-toggle button { min-width: 38px; min-height: 32px; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark-muted); font-weight: 700; font-size: .85rem; cursor: pointer; }
.lang-toggle button[aria-pressed='true'] { background: #fff; color: var(--ink); }
@media (max-width: 1060px) { .top nav { display: none; } }
@media (max-width: 760px) { .panel-link { display: none; } }
.top nav a { white-space: nowrap; }
@media (max-width: 480px) {
  .top .wrap { gap: 8px; width: min(100% - 28px, 1160px); }
  .brand { font-size: 1.12rem; }
  .top-right { gap: 8px; }
  .top .btn { padding: 0 12px; min-height: 38px; font-size: .85rem; white-space: nowrap; }
  .lang-toggle button { min-width: 32px; }
}

/* ---- hero + studio ------------------------------------------------------------------------ */
.hero { background: var(--ink); color: var(--on-dark); position: relative; overflow: hidden; overflow: clip; padding: 56px 0 72px; } /* clip, not hidden: hidden would stop the sticky phone from sticking */
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--studio-accent, #c2410c) 38%, transparent), transparent);
  pointer-events: none; transition: background .3s;
}
.hero-grid {
  position: relative; display: grid; gap: 28px 56px; align-items: start;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  grid-template-areas: 'copy phone' 'controls phone' 'cta phone';
  grid-template-rows: auto auto 1fr;
}
.hero-copy { grid-area: copy; }
.hero-cta { grid-area: cta; display: grid; gap: 10px; justify-items: start; }
.hero .studio { display: contents; }
.hero .studio-controls { grid-area: controls; }
.hero .studio-phone { grid-area: phone; position: sticky; top: 24px; }
.eyebrow { display: inline-block; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--red); margin-bottom: 14px; }
h1 { font: 800 clamp(2.3rem, 5.4vw, 4rem)/1.02 var(--display); letter-spacing: -.03em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--red); }
.lead { margin-top: 18px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--on-dark-muted); max-width: 34rem; }
.lead b { color: var(--on-dark); }
.price-line { color: var(--on-dark-muted); font-size: .95rem; }
.price-line b { color: var(--on-dark); font-size: 1.05rem; }
@media (max-width: 900px) {
  .hero { padding: 36px 0 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'copy' 'phone' 'controls' 'cta'; grid-template-rows: none; }
  .hero .studio-phone { position: static; }
  /* on phones the logo and the main text are centred */
  .hero-copy { text-align: center; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-items: center; text-align: center; }
}

/* the studio (shared by the landing hero and step 1 of the order) */
.studio {
  --s-bg: rgba(255, 255, 255, .06); --s-text: var(--on-dark); --s-muted: var(--on-dark-muted);
  --s-line: var(--line-dark); --s-input: rgba(255, 255, 255, .08); --s-on: #fff; --s-on-text: var(--ink);
}
.studio.on-light {
  --s-bg: #fff; --s-text: var(--text); --s-muted: var(--muted);
  --s-line: var(--line); --s-input: #fbf9f5; --s-on: var(--ink); --s-on-text: #fff;
}
.studio-controls { background: var(--s-bg); color: var(--s-text); border: 1px solid var(--s-line); border-radius: var(--radius); padding: 20px; display: grid; gap: 18px; }
.studio-full { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 28px 40px; align-items: start; }
.studio-full .studio-phone { position: sticky; top: 24px; }
@media (max-width: 760px) {
  .studio-full { grid-template-columns: minmax(0, 1fr); }
  .studio-full .studio-phone { order: -1; position: relative; top: auto; }
  .studio-full .phone { --pw: min(260px, 72vw); }
}
.f { display: grid; gap: 8px; margin: 0; }
.f-label { font-weight: 700; font-size: .9rem; letter-spacing: .01em; }
.f-hint { font-size: .85rem; color: var(--s-muted); }
.studio input[type='text'], .studio select {
  width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--s-line); border-radius: 12px;
  background: var(--s-input); color: var(--s-text); font-size: 1.05rem;
}
.studio select option { color: #111; }
.studio input::placeholder { color: var(--s-muted); opacity: .8; }
.studio .btn.ghost { color: var(--s-text); border-width: 1.5px; border-color: var(--s-line); min-height: 44px; padding: 0 16px; font-size: .95rem; }
.logo-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.logo-thumb { width: 48px; height: 48px; border-radius: 12px; border: 1px dashed var(--s-line); background: var(--s-input) center / contain no-repeat; flex: none; }
.logo-thumb.has { border-style: solid; background-color: #fff; }
.err { color: #ff8a80; font-size: .9rem; min-height: 0; }
.err:empty { display: none; }
.studio.on-light .err { color: var(--bad); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 38px; height: 38px; border-radius: 50%; border: 3px solid transparent; background: var(--c); cursor: pointer; padding: 0;
  box-shadow: 0 0 0 1px var(--s-line); position: relative;
}
.swatch[aria-pressed='true'] { border-color: var(--s-bg); box-shadow: 0 0 0 3px var(--s-text); }
.swatch-custom { background: conic-gradient(#f43f5e, #f59e0b, #84cc16, #06b6d4, #6366f1, #d946ef, #f43f5e); display: inline-block; overflow: hidden; }
.swatch-custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.designs { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 44px; padding: 7px 14px;
  border: 1.5px solid var(--s-line); border-radius: 12px; background: transparent; color: var(--s-text); cursor: pointer; text-align: left;
}
.chip b { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.chip i { font-style: normal; font-size: .75rem; color: var(--s-muted); line-height: 1.2; }
.chip[aria-checked='true'], .chip[aria-pressed='true'] { background: var(--s-on); color: var(--s-on-text); border-color: var(--s-on); }
.chip[aria-checked='true'] i { color: inherit; opacity: .75; }
.chip-custom { border-style: dashed; opacity: .6; } /* greyed out: it is an extra that costs more */
.chip-custom i { font-weight: 700; color: inherit; opacity: .9; }
.chip-custom[aria-checked='true'], .chip-custom:hover, .chip-custom:focus-visible { opacity: .9; }
.chip.small { min-height: 38px; padding: 5px 12px; font-size: .9rem; font-weight: 600; flex-direction: row; }
.design-tag { font-size: .92rem; color: var(--s-muted); min-height: 1.5em; }
.seg { display: flex; border: 1.5px solid var(--s-line); border-radius: 12px; overflow: hidden; }
.seg-btn { flex: 1; min-height: 44px; border: 0; background: transparent; color: var(--s-text); font-weight: 600; cursor: pointer; padding: 0 8px; }
.seg-btn + .seg-btn { border-left: 1.5px solid var(--s-line); }
.seg-btn[aria-checked='true'] { background: var(--s-on); color: var(--s-on-text); }

.studio-phone { display: grid; justify-items: center; gap: 14px; position: relative; }
.studio-phone::before {
  content: ''; position: absolute; inset: 8% 4% 12%; background: var(--studio-accent, #c2410c); opacity: .22; filter: blur(60px); border-radius: 50%; z-index: 0; transition: background .3s;
}
.studio-phone > * { position: relative; z-index: 1; }
.phone-caption { font-size: .92rem; color: var(--s-muted, var(--on-dark-muted)); text-align: center; max-width: 22rem; }
.examples { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.examples .chip { color: var(--s-text); }
.examples .chip[aria-pressed='true'] { color: var(--s-on-text); }

/* phone mock-up: iPhone 17 (6.3", screen 9:19.5, aluminium frame, thin bezel, Dynamic Island, side buttons) */
.phone {
  --pw: min(310px, 100%); --pr: calc(var(--pw) * .155); --pb: calc(var(--pw) * .028);
  position: relative; width: var(--pw); aspect-ratio: 9 / 19.5; padding: var(--pb); border-radius: var(--pr);
  background: #0a0a0b;
  box-shadow: 0 0 0 1.5px #8d8f96, 0 0 0 3px #2a2b2f, inset 0 0 0 1px #1b1b1e, 0 30px 70px rgba(0, 0, 0, .45);
}
.phone .screen { position: relative; z-index: 1; width: 100%; height: 100%; border-radius: calc(var(--pr) - var(--pb)); overflow: hidden; background: #fff; }
.phone iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; width: 390px; height: 800px; }
/* Dynamic Island */
.phone::before {
  content: ''; position: absolute; z-index: 3; top: calc(var(--pb) + var(--pw) * .028); left: 50%; transform: translateX(-50%);
  width: calc(var(--pw) * .29); height: calc(var(--pw) * .085); border-radius: 999px; background: #000; pointer-events: none;
}
/* side buttons: action + volume on the left, power on the right */
.phone::after {
  content: ''; position: absolute; z-index: 0; top: calc(var(--pw) * .30); left: -4px; width: 3px; height: calc(var(--pw) * .09);
  border-radius: 2px 0 0 2px; background: #5b5d63;
  box-shadow: 0 calc(var(--pw) * .17) 0 0 #5b5d63, 0 calc(var(--pw) * .30) 0 0 #5b5d63, calc(var(--pw) + 5px) calc(var(--pw) * .20) 0 0 #5b5d63;
}
/* on a phone the preview is NOT pinned: it scrolls away with the page and the fields show below it */
@media (max-width: 900px) {
  .hero .studio-phone { position: relative; top: auto; } /* relative, not static: its colour glow is positioned inside it and must not cover the fields; top: auto cancels the desktop offset */
  .hero .phone { --pw: min(260px, 72vw); }
}

/* ---- sections ----------------------------------------------------------------------------- */
.sec { padding: clamp(56px, 8vw, 96px) 0; }
.sec.light { background: var(--paper); }
.sec.cream { background: var(--paper-2); }
.sec.dark { background: var(--ink); color: var(--on-dark); }
.sec-head { max-width: 40rem; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; }
h2 { font: 800 clamp(1.8rem, 3.8vw, 2.8rem)/1.08 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; }
.sec.dark .sec-head p { color: var(--on-dark-muted); }
.kicker { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: var(--red-text); margin-bottom: 10px; display: block; }
.sec.dark .kicker { color: var(--red); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 1.1rem var(--display); margin-bottom: 16px; }
.step h3 { font: 700 1.2rem/1.2 var(--display); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fde8e6; color: var(--red-text); font-size: 1.4rem; margin-bottom: 16px; }
.card h3 { font: 700 1.15rem/1.25 var(--display); margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* custom design */
.custom-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.custom-phones { display: flex; justify-content: center; gap: 18px; }
.custom-phones .phone { --pw: min(230px, 44vw); }
.custom-phones .phone:nth-child(2) { margin-top: 40px; }
.price-big { font: 800 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); letter-spacing: -.03em; margin: 22px 0 4px; }
.price-big small { font: 500 1rem var(--body); color: var(--on-dark-muted); letter-spacing: 0; }
.ticks { display: grid; gap: 10px; margin: 20px 0 28px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
.sec.dark .ticks li::before { color: var(--red); }
@media (max-width: 900px) { .custom-grid { grid-template-columns: 1fr; gap: 32px; } }

/* pricing */
.pricing { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 22px; align-items: stretch; }
.plan { background: var(--ink); color: var(--on-dark); border-radius: 24px; padding: clamp(26px, 4vw, 40px); display: grid; gap: 6px; align-content: start; }
.plan h3 { font: 700 1.15rem var(--display); color: var(--red); letter-spacing: .02em; }
.plan .amount { font: 800 clamp(3rem, 7vw, 4.6rem)/1 var(--display); letter-spacing: -.04em; margin-top: 6px; }
.plan .amount small { font: 500 1.1rem var(--body); color: var(--on-dark-muted); letter-spacing: 0; }
.plan .sub { color: var(--on-dark-muted); margin-bottom: 14px; }
.plan .ticks li::before { color: var(--red); }
.plan .btn { margin-top: 8px; }
.addons { display: grid; gap: 16px; align-content: start; }
.addon { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.addon h3 { font: 700 1.1rem/1.25 var(--display); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.addon h3 b { color: var(--red-text); white-space: nowrap; }
.addon p { color: var(--muted); font-size: .96rem; margin-top: 6px; }
.addon .tag { display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--red-text); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 18px; color: var(--muted); }
.faq details p a { color: var(--red-text); }

.final { text-align: center; }
.final h2 { margin-bottom: 14px; }
.final p { color: var(--on-dark-muted); font-size: 1.1rem; margin-bottom: 28px; }
.final .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.foot { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); padding: 32px 0 96px; font-size: .92rem; }
.foot .wrap { display: flex; gap: 18px 32px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.foot a { color: var(--on-dark); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot .wrap { flex-direction: column; justify-content: center; text-align: center; gap: 14px; }
.foot nav { justify-content: center; }
.foot .powered { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--on-dark-muted); font-size: .9rem; }
.foot .powered img { width: 24px; height: auto; display: block; }
.foot .powered b { color: #fff; }
.foot .foot-sub { font-size: .8rem; opacity: .8; }

/* bottom bar on the landing page: always visible, two buttons */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
}
.cta-bar-in { display: flex; gap: 12px; justify-content: center; max-width: 560px; margin: 0 auto; }
.cta-bar .btn { flex: 1 1 0; min-height: 48px; padding: 0 14px; white-space: nowrap; }
.cta-bar .btn.wa svg { flex: none; }
/* old sticky call-to-action on phones (no longer used) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(12, 12, 13, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark);
  display: none; gap: 12px; align-items: center; justify-content: space-between; color: var(--on-dark);
}
.sticky-cta span { font-size: .85rem; color: var(--on-dark-muted); line-height: 1.2; }
.sticky-cta span b { display: block; color: #fff; font-size: 1rem; }
@media (max-width: 760px) { .sticky-cta.show { display: flex; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---- /pedido/ (the order) ----------------------------------------------------------------- */
.order-page { background: var(--paper); }
.order { padding: 28px 0 80px; }
.progress { display: flex; gap: 8px; margin-bottom: 28px; counter-reset: none; }
.progress li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--paper-2); color: var(--muted); font-size: .92rem; }
.progress li span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(0, 0, 0, .1); font-weight: 800; font-size: .85rem; }
.progress li.on { background: var(--ink); color: #fff; }
.progress li.on span { background: var(--btn); }
.progress li.done { color: var(--ok); }
.progress li.done span { background: var(--ok); color: #fff; }
@media (max-width: 560px) { .progress li b { display: none; } .progress li.on b { display: inline; } .progress li:not(.on) { flex: none; } }

.panel h1 { font: 800 clamp(1.8rem, 4vw, 2.6rem)/1.08 var(--display); letter-spacing: -.025em; color: var(--text); }
.panel-sub { margin: 10px 0 26px; color: var(--muted); max-width: 40rem; }
.panel .field { display: grid; gap: 8px; margin: 0 0 22px; }
.panel .f-label { font-weight: 700; font-size: .95rem; }
.panel .f-hint { font-size: .88rem; color: var(--muted); }
.panel .f-hint.ok { color: var(--ok); font-weight: 700; }
.panel .f-hint.bad { color: var(--bad); }
.panel input[type='text'], .panel input[type='tel'], .panel input[type='email'], .panel textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 1.05rem; color: var(--text);
}
.panel textarea { resize: vertical; line-height: 1.5; }
.panel input:focus, .panel textarea:focus { outline: 3px solid #ffb4ad; border-color: var(--btn); }
.err { color: var(--bad); font-size: .93rem; font-weight: 600; }
.err:empty { display: none; }
.center { text-align: center; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.nav .btn.ghost { color: var(--text); border-color: var(--line); }
@media (max-width: 560px) { .nav .btn.big { flex: 1; padding: 0 16px; } }

.order .studio { margin-top: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .98rem; margin-top: 12px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--btn); }

.drop {
  display: grid; justify-items: center; gap: 4px; text-align: center; padding: 30px 20px; border: 2px dashed #cfc5b3; border-radius: var(--radius);
  background: #fff; cursor: pointer; transition: border-color .15s, background .15s;
}
.drop:hover, .drop.over, .drop:focus-within { border-color: var(--btn); background: #fff5f3; }
.drop-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fde8e6; color: var(--red-text); font-size: 1.3rem; margin-bottom: 6px; }
.drop small { color: var(--muted); }
.file-list { display: grid; gap: 8px; margin-top: 4px; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.file-list img, .file-pdf { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; background: var(--paper-2); }
.file-pdf { display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--red-text); }
.file-name { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: .95rem; }
.file-name small { display: block; color: var(--muted); }
.icon-x { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; }
.icon-x:hover { background: var(--paper-2); color: var(--bad); }

.addr { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.addr:focus-within { outline: 3px solid #ffb4ad; border-color: var(--btn); }
.addr span { display: flex; align-items: center; padding: 0 4px 0 14px; color: var(--muted); font-size: 1rem; white-space: nowrap; background: #fbf9f5; }
.panel .addr input { border: 0; border-radius: 0; outline: 0; min-height: 50px; padding-left: 2px; }
.panel .addr input:focus { outline: 0; }

.extra { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; margin-bottom: 22px; }
.extra:has(input:checked) { border-color: var(--btn); background: #fff5f3; }
.extra input { width: 24px; height: 24px; accent-color: var(--btn); }
.extra b { display: block; }
.extra small { color: var(--muted); }
.extra i { font-style: normal; font-weight: 800; color: var(--red-text); white-space: nowrap; }

.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.summary h2 { font: 700 1.2rem var(--display); margin-bottom: 12px; letter-spacing: 0; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.sum-row.total { border-bottom: 0; font-size: 1.25rem; padding-top: 14px; }
.sum-row.total b { color: var(--red-text); font: 800 1.5rem var(--display); }
.sum-detail { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .92rem; }
.sum-detail dt { color: var(--muted); }
.sum-detail dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
.pay { display: grid; gap: 12px; justify-items: stretch; margin-top: 18px; }
.pay .link { color: var(--text); justify-self: center; text-align: center; }

.busy { border: 0; border-radius: var(--radius); padding: 28px 32px; width: min(92vw, 420px); text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.busy::backdrop { background: rgba(12, 12, 13, .6); }
.busy p { font-weight: 700; margin-bottom: 14px; }
.busy progress { width: 100%; height: 10px; accent-color: var(--btn); }

/* ---- /gracias/ and /terminos/ ------------------------------------------------------------- */
.thanks { max-width: 720px; margin: 0 auto; padding: 56px 0 90px; }
.thanks .badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 2rem; margin-bottom: 20px; }
.thanks h1 { font: 800 clamp(2rem, 5vw, 3rem)/1.05 var(--display); letter-spacing: -.03em; }
.thanks .panel-sub { font-size: 1.1rem; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0 0 22px; }
.order-card h2 { font: 700 1.2rem var(--display); margin-bottom: 12px; letter-spacing: 0; }
.order-card .code { font: 800 2rem var(--display); letter-spacing: .06em; color: var(--red-text); }
.next { counter-reset: n; display: grid; gap: 14px; }
.next li { counter-increment: n; display: flex; gap: 14px; align-items: flex-start; }
.next li::before { content: counter(n); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: .9rem; }
.contact-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.contact-row .btn.ghost { color: var(--text); border-color: var(--line); }

.legal { max-width: 760px; margin: 0 auto; padding: 48px 0 90px; }
.legal h1 { font: 800 clamp(1.9rem, 4.5vw, 2.6rem)/1.1 var(--display); letter-spacing: -.025em; margin-bottom: 8px; }
.legal h2 { font: 700 1.25rem/1.3 var(--display); letter-spacing: 0; margin: 32px 0 8px; }
.legal p, .legal li { color: #3d3a35; margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--red-text); }
.legal .updated { color: var(--muted); font-size: .92rem; }
html[lang='es'] [data-lang='en'], html[lang='en'] [data-lang='es'] { display: none; }

.hero .err { color: #ff8a80; }

@media (max-width: 400px) {
  .top .btn { padding: 0 10px; font-size: .8rem; }
  .brand { font-size: 1.02rem; }
}

/* ---- phone: expand to full screen, live-site link ---------------------------------------- */
.phone-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.studio-phone .phone-actions .btn { color: var(--s-text, var(--on-dark)); border-color: var(--s-line, var(--line-dark)); }
.expand-close { display: none; }
html.no-scroll { overflow: hidden; }
.studio-phone.expanded {
  position: fixed !important; inset: 0; z-index: 200; top: 0 !important; padding: 20px 16px !important; overflow: auto;
  display: grid; place-content: center; justify-items: center; align-content: center; gap: 12px;
  background: rgba(8, 8, 9, .95) !important; --s-text: #fff; --s-muted: #cfc9bd; --s-line: rgba(255, 255, 255, .28);
}
.studio-phone.expanded::before { display: none; }
.studio-phone.expanded .phone { --pw: min(440px, 92vw, calc((100svh - 150px) * 9 / 19.5)); }
.studio-phone.expanded .phone-caption { display: block !important; color: #cfc9bd; }
.studio-phone.expanded .expand-btn { display: none; }
.studio-phone.expanded .expand-close {
  display: grid; place-items: center; position: absolute; top: 14px; right: 16px; z-index: 3; width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
}

/* ---- landing: price alone, three custom examples ---------------------------------------- */
.pricing { grid-template-columns: minmax(0, 640px); justify-content: center; }
.price-more { text-align: center; color: var(--muted); margin: 22px auto 0; max-width: 40rem; }
.custom-copy { max-width: 42rem; }
.custom-examples-title { margin: 48px 0 22px; font-weight: 700; font-size: 1.05rem; color: var(--on-dark); }
.custom-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; justify-content: normal; }
.custom-phones .phone { --pw: min(300px, 100%); margin: 0 auto; }
.demo-site { margin: 0; display: grid; gap: 14px; justify-items: center; }
.demo-site figcaption { display: grid; gap: 2px; text-align: center; }
.demo-site figcaption a { color: var(--red); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .custom-phones { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(74vw, 290px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: -20px; padding-inline: 20px; }
  .demo-site { scroll-snap-align: center; }
}

/* ---- order: notice that the home-page design was kept, extras list ------------------------ */
.kept { margin: -10px 0 18px; padding: 12px 16px; border-radius: 12px; background: #e8f5ec; color: #14532d; font-size: .95rem; }
.upsells { margin: 6px 0 22px; }
.upsells h2 { font: 700 1.25rem var(--display); margin-bottom: 4px; letter-spacing: 0; }
.upsells .f-hint { margin-bottom: 12px; }
#upsells { display: grid; gap: 10px; }
#upsells .extra { margin-bottom: 0; align-items: start; }
#upsells .extra input { margin-top: 2px; }
