/* =========================================================
   Tennis Setup Lab — Landing page (mobile-first)
   ========================================================= */
:root {
  --black: #0b0c0d;
  --ink: #141618;
  --graphite: #23272a;
  --grey-700: #3b4146;
  --grey-500: #6f777d;
  --grey-300: #c9ced2;
  --grey-100: #eef0f2;
  --grey-50: #f6f7f8;
  --white: #ffffff;
  --lime: #d4f53c;
  --lime-600: #b9dc1c;
  --lime-50: #f6fcdc;
  --error: #d93838;
  --error-50: #fdeeee;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 12, 13, .06);
  --shadow: 0 10px 30px -12px rgba(11, 12, 13, .18);
  --shadow-lg: 0 30px 60px -25px rgba(11, 12, 13, .35);

  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --pad: clamp(1rem, 5vw, 2.5rem);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --tap: 52px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--grey-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(env(safe-area-inset-top, 0px) + .75rem) var(--pad) .75rem;
  color: var(--white);
  transition: background .3s var(--ease), backdrop-filter .3s, box-shadow .3s;
}
.topbar.is-scrolled {
  background: rgba(11, 12, 13, .78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  font-variation-settings: "wdth" 110;
}
.brand b { font-weight: 850; color: var(--lime); }
.brand-mark {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
}
.brand-mark svg { width: 20px; height: 20px; }
.topbar-cta {
  min-height: 40px;
  display: inline-flex; align-items: center;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s, border-color .2s, color .2s;
}
.topbar-cta:hover { background: var(--lime); border-color: var(--lime); color: var(--black); }

/* ---------- Buttons ---------- */
.btn {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: var(--tap);
  padding: 0 1.4rem;
  border: 0;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--lime);
  color: var(--black);
  box-shadow: 0 8px 24px -10px rgba(212, 245, 60, .7);
}
.btn-primary .ico { transition: transform .25s var(--ease); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--grey-300);
}
.btn-lg { min-height: 58px; padding: 0 1.75rem; font-size: 1.05rem; width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; }

@media (hover: hover) {
  .btn-primary:hover { background: var(--lime-600); box-shadow: 0 14px 30px -12px rgba(185, 220, 28, .8); }
  .btn-primary:hover .ico { transform: translateX(4px); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
}

.spinner {
  display: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(11, 12, 13, .25);
  border-top-color: var(--black);
  animation: spin .7s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(env(safe-area-inset-top, 0px) + 5.5rem) var(--pad) 2rem;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}
.hero-visual { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.court { position: absolute; inset: 0; width: 100%; height: 100%; }
.racket {
  position: absolute;
  width: min(78vw, 420px);
  right: -18vw;
  top: 6%;
  transform: rotate(-24deg);
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .6));
  animation: floatRacket 7s ease-in-out infinite;
  opacity: .9;
}
@keyframes floatRacket {
  0%, 100% { transform: rotate(-24deg) translateY(0); }
  50% { transform: rotate(-21deg) translateY(-12px); }
}
.ball-wrap { position: absolute; left: 12%; top: 18%; animation: ballFloat 5s ease-in-out infinite; }
.ball {
  display: block;
  width: clamp(38px, 10vw, 64px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(255,255,255,.55), transparent 38%),
    radial-gradient(circle at 50% 50%, #e2fb55, #a9cc12 75%);
  box-shadow: 0 18px 30px -8px rgba(169, 204, 18, .45), inset -6px -8px 14px rgba(0,0,0,.18);
  position: relative;
  overflow: hidden;
}
.ball::before, .ball::after {
  content: "";
  position: absolute;
  width: 100%; height: 100%;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 50%;
  top: 0;
}
.ball::before { left: -62%; }
.ball::after { left: 62%; }
@keyframes ballFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
.hero-glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 100%, rgba(212, 245, 60, .16), transparent 60%);
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,12,13,0) 25%, rgba(11,12,13,.75) 62%, var(--black) 100%);
}

.hero-content { max-width: 40rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 100%;
}
.eyebrow-dark { background: var(--white); border-color: var(--grey-100); color: var(--grey-700); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(212,245,60,.2); }
.eyebrow-dark .dot { background: var(--lime-600); }

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.025em; line-height: 1.02; margin: 0; }
.hero h1 {
  font-size: clamp(2.25rem, 10.5vw, 5rem);
  font-weight: 850;
  font-variation-settings: "wdth" 88;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--lime); }
.hero-sub {
  margin: 1.1rem 0 1.75rem;
  color: rgba(255, 255, 255, .74);
  font-size: clamp(1rem, 3.8vw, 1.2rem);
  max-width: 34rem;
  text-wrap: pretty;
}
.trust {
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  margin: 1rem 0 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
}
.trust .ico { width: 18px; height: 18px; color: var(--lime); }

.hero-stats {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-stats li { display: flex; flex-direction: column; min-width: 0; }
.hero-stats strong { font-family: var(--font-display); font-size: clamp(1.15rem, 5vw, 1.6rem); font-weight: 800; }
.hero-stats span { font-size: .78rem; color: rgba(255, 255, 255, .55); }

/* Entrada do hero */
.hero-content > * { animation: rise .9s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .08s; }
.hero-content > :nth-child(3) { animation-delay: .16s; }
.hero-content > :nth-child(4) { animation-delay: .24s; }
.hero-content > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Como funciona ---------- */
.how { padding: clamp(3rem, 10vw, 6rem) var(--pad) 0; }
.how-wrap { max-width: 72rem; margin: 0 auto; display: grid; gap: 1rem; }
.how-grid { display: grid; gap: .9rem; }
.how-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-100);
}
.how-ico {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--lime);
}
.how-ico svg { width: 26px; height: 26px; }
.how-card h3 { font-size: 1.15rem; font-weight: 750; margin-bottom: .25rem; }
.how-card p { margin: 0; color: var(--grey-500); font-size: .95rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Formulário ---------- */
.advice { padding: clamp(3rem, 10vw, 6rem) var(--pad) clamp(3rem, 10vw, 6rem); }
.advice-head { text-align: center; max-width: 40rem; margin: 0 auto 1.75rem; }
.advice-head h2 { font-size: clamp(1.9rem, 8vw, 3.25rem); font-weight: 850; font-variation-settings: "wdth" 90; }
.advice-head p:last-child { margin: .6rem 0 0; color: var(--grey-500); font-size: 1.05rem; }

.form-card {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-100);
}

/* progresso */
.progress { margin-bottom: 1.5rem; }
.progress-meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-size: .82rem; margin-bottom: .6rem;
}
.progress-meta span:first-child { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-500); }
.progress-meta span:last-child { font-weight: 600; text-align: right; }
.progress-track { height: 6px; border-radius: 999px; background: var(--grey-100); overflow: hidden; }
.progress-bar {
  height: 100%; width: 33.333%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--black), var(--graphite) 40%, var(--lime-600));
  transition: width .6s var(--ease);
}
.progress-steps {
  list-style: none; margin: .9rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem;
  font-size: .76rem; color: var(--grey-500);
}
.progress-steps li { display: flex; align-items: center; gap: .4rem; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress-steps li:nth-child(2), .progress-steps li:nth-child(3) { justify-content: center; }
.progress-steps li:nth-child(4) { justify-content: flex-end; }
.progress-steps span {
  display: grid; place-items: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grey-100); color: var(--grey-500);
  font-weight: 700; font-size: .72rem;
  transition: background .3s, color .3s;
}
.progress-steps li.is-active { color: var(--ink); font-weight: 600; }
.progress-steps li.is-active span { background: var(--black); color: var(--lime); }
.progress-steps li.is-done span { background: var(--lime); color: var(--black); }

/* etapas */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step-title {
  padding: 0;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.step.is-entering { animation: stepIn .45s var(--ease) both; }
.step.is-entering.from-left { animation-name: stepInLeft; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepInLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

.field { margin-bottom: 1.5rem; scroll-margin: 96px; }
.label {
  display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  margin-bottom: .6rem;
  font-weight: 650;
  font-size: .98rem;
}
.label-ico {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  color: var(--ink);
}
.label-ico svg { width: 18px; height: 18px; }
.hint { font-weight: 500; color: var(--grey-500); font-size: .82rem; }
.help { margin: .5rem 0 0; font-size: .86rem; color: var(--grey-500); }

.input {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  min-height: var(--tap);
  padding: .8rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--grey-300);
  background: var(--white);
  font-size: 16px; /* evita zoom automático no iOS */
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: #9aa1a6; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(212, 245, 60, .45); }
.textarea { min-height: 96px; resize: vertical; }
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

/* opções */
.options { display: grid; gap: .55rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; display: block; min-width: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt > span {
  display: flex; flex-direction: column; justify-content: center;
  min-height: var(--tap);
  height: 100%;
  padding: .7rem .9rem .7rem 2.6rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--grey-300);
  background: var(--white);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  position: relative;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s var(--ease);
}
.opt > span small { font-weight: 500; font-size: .78rem; color: var(--grey-500); }
.opt > span::before {
  content: "";
  position: absolute; left: .9rem; top: 50%;
  width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-300);
  background: var(--white);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.opt-check > span::before { border-radius: 6px; }
.opt input:checked + span {
  border-color: var(--black);
  background: var(--lime-50);
  box-shadow: 0 0 0 1px var(--black), 0 6px 16px -10px rgba(11,12,13,.5);
}
.opt input:checked + span::before {
  border-color: var(--black);
  background: var(--black);
  box-shadow: inset 0 0 0 4px var(--lime);
}
.opt-check input:checked + span::before {
  box-shadow: none;
  background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23d4f53c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.opt:active > span { transform: scale(.98); }
.opt input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (hover: hover) {
  .opt:hover > span { border-color: var(--grey-700); }
}

/* consentimento */
.consent { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; font-size: .92rem; color: var(--grey-700); line-height: 1.45; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent .box {
  flex: none;
  display: grid; place-items: center;
  width: 26px; height: 26px;
  margin-top: -1px;
  border-radius: 8px;
  border: 1.5px solid var(--grey-300);
  background: var(--white);
  transition: background .2s, border-color .2s;
}
.consent .box svg { width: 16px; height: 16px; color: var(--lime); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s var(--ease); }
.consent input:checked + .box { background: var(--black); border-color: var(--black); }
.consent input:checked + .box svg { opacity: 1; transform: none; }
.consent input:focus-visible + .box { outline: 3px solid var(--lime); outline-offset: 2px; }
.consent a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
/* área de toque confortável para a checkbox */
.consent { min-height: 48px; padding: .6rem 0; }

/* erros */
.error {
  display: none;
  align-items: center; gap: .4rem;
  margin: .5rem 0 0;
  font-size: .86rem;
  font-weight: 550;
  color: var(--error);
}
.error::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23d93838' stroke-width='2'/%3E%3Cpath d='M12 7.5v5.5M12 16.2v.3' stroke='%23d93838' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.field.has-error .error { display: flex; animation: errIn .3s var(--ease); }
.field.has-error .input,
.field.has-error .opt > span,
.field.has-error .consent .box { border-color: var(--error); }
.field.has-error .input { background: var(--error-50); }
@keyframes errIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.form-alert {
  display: flex; gap: .6rem; align-items: flex-start;
  padding: .9rem 1rem;
  border-radius: var(--radius);
  background: var(--error-50);
  color: #8f1f1f;
  font-size: .9rem;
  font-weight: 550;
  margin-bottom: .5rem;
}
.form-alert[hidden] { display: none; }
.form-alert .ico { color: var(--error); margin-top: 1px; }

/* resumo etapa 3 */
.summary { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.4rem 0 1.4rem; }
.summary:empty { display: none; }
.chip {
  display: inline-flex; align-items: center;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  font-size: .8rem;
  font-weight: 600;
  color: var(--grey-700);
  max-width: 100%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ações */
.actions {
  display: flex;
  gap: .6rem;
  padding-top: 1.1rem;
  margin-top: .25rem;
  border-top: 1px solid var(--grey-100);
}
.actions .btn-primary { flex: 1 1 auto; }
.actions .btn-ghost { flex: 0 0 auto; padding: 0 1rem; }
.actions [hidden] { display: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* sucesso */
.success { text-align: center; padding: 2rem .5rem 1rem; animation: rise .6s var(--ease) both; }
.success:focus { outline: none; }
.success-badge {
  display: grid; place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  box-shadow: 0 0 0 10px var(--lime-50);
  animation: pop .6s var(--ease) .1s both;
}
.success-badge svg { width: 38px; height: 38px; }
.success h3 { font-size: clamp(1.6rem, 6.5vw, 2.2rem); font-weight: 850; margin-bottom: .6rem; }
.success p { margin: 0 auto 1.75rem; max-width: 28rem; color: var(--grey-500); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* footer */
.footer {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  padding: 2rem var(--pad) calc(2rem + var(--safe-b));
  background: var(--black);
  color: rgba(255, 255, 255, .6);
  font-size: .85rem;
  text-align: center;
}
.footer .brand { color: var(--white); }
.footer p { margin: 0; }

/* ---------- Ecrãs muito pequenos (iPhone SE 1ª geração, 320px) ---------- */
@media (max-width: 359px) {
  :root { --pad: .9rem; }
  .form-card { padding: 1rem .85rem; border-radius: 18px; }
  .options:not(.cols-2) { grid-template-columns: 1fr; }
  .opt > span { font-size: .92rem; }
  .progress-steps { font-size: 0; }
  .progress-steps li { gap: 0; }
  .topbar-cta { display: none; }
  #btnSubmit { font-size: .95rem; padding: 0 .9rem; }
}

/* ---------- Telemóveis ---------- */
@media (max-width: 419px), (max-height: 700px) and (max-width: 639px) { .ball-wrap { display: none; } }
@media (max-width: 639px) {
  .ball-wrap { left: auto; right: 7%; top: 11%; }
  .hero-content { position: relative; }
}
@media (max-width: 479px) {
  .actions .btn-ghost { width: var(--tap); padding: 0; gap: 0; }
  .actions .btn-ghost .btn-text { display: none; }
  .actions .btn-ghost .ico { width: 22px; height: 22px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .form-card { padding: 2rem; }
  .options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .options.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn-lg { width: auto; }
  .trust { justify-content: flex-start; }
  .how-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .how-card { grid-template-columns: 1fr; padding: 1.5rem; }
  .how-ico { grid-row: auto; margin-bottom: 1rem; }
  .actions .btn-primary { flex: 0 1 auto; margin-left: auto; min-width: 12rem; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .hero { justify-content: center; padding-left: max(var(--pad), calc((100vw - 72rem) / 2)); padding-right: max(var(--pad), calc((100vw - 72rem) / 2)); }
  .hero::after { background: linear-gradient(90deg, var(--black) 20%, rgba(11,12,13,.6) 55%, rgba(11,12,13,0) 80%); }
  .racket { width: 440px; right: 8%; top: 12%; }
  .ball-wrap { left: auto; right: 38%; top: 22%; }
  .hero-stats { max-width: 30rem; }
  .form-card { padding: 2.5rem 2.75rem; }
  .how-wrap { grid-template-columns: minmax(0, 1fr) 22rem; align-items: stretch; }
  .how-grid { grid-template-columns: 1fr; }
  .how-card { grid-template-columns: auto 1fr; }
  .how-ico { grid-row: span 2; margin-bottom: 0; }
}

/* ---------- Teclado virtual aberto (classe aplicada via JS) ---------- */
body.kb-open .topbar { transform: translateY(-100%); }
.topbar { transition: transform .25s var(--ease), background .3s; }

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

/* =========================================================
   v2 additions
   ========================================================= */
.ico-sm { width: 15px; height: 15px; display: inline-block; vertical-align: -2px; }
.hero-stats strong s { font-size: .55em; font-weight: 600; color: rgba(255,255,255,.45); margin-left: .15em; }
.eyebrow b { color: var(--ink); font-weight: 800; }
.eyebrow s { color: var(--grey-500); font-weight: 500; }

/* ---------- About ---------- */
.about { padding: clamp(3.5rem, 11vw, 7rem) var(--pad) 0; }
.about-inner { max-width: 72rem; margin: 0 auto; display: grid; gap: 2.25rem; }
.about h2 { font-size: clamp(1.9rem, 8vw, 3.25rem); font-weight: 850; font-variation-settings: "wdth" 90; margin-bottom: 1.1rem; text-wrap: balance; }
.about-lead { margin: 0; font-size: clamp(1.02rem, 3.8vw, 1.18rem); color: var(--grey-700); text-wrap: pretty; }
.about-facts {
  list-style: none; margin: 1.75rem 0 0; padding: 1.25rem 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem;
  border-top: 1px solid var(--grey-300);
}
.about-facts li { display: flex; flex-direction: column; min-width: 0; }
.about-facts strong { font-family: var(--font-display); font-size: clamp(1.1rem, 4.6vw, 1.5rem); font-weight: 800; }
.about-facts span { font-size: .8rem; color: var(--grey-500); line-height: 1.35; }

.video-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-card { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.video-card.is-featured { grid-column: 1 / -1; }
.video-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black);
  box-shadow: var(--shadow);
  flex: 1;
}
.video-card.is-featured .video-frame { aspect-ratio: 4 / 5; }
.video-card.is-featured video { object-position: 50% 70%; }
.video-frame.is-autoplay { cursor: pointer; }
.video-frame.is-autoplay .video-play { display: none; }
.sound-hint {
  position: absolute; right: .7rem; bottom: .7rem;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .7rem; border-radius: 999px; border: 0;
  background: rgba(11,12,13,.62); color: var(--white);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .75rem; font-weight: 600; pointer-events: none;
  transition: opacity .3s;
}
.video-frame:not(.has-video) .sound-hint, .video-frame.has-sound .sound-hint { opacity: 0; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(ellipse at 70% 0%, rgba(212,245,60,.18), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255,255,255,.06) calc(25% - 1px) 25%),
    linear-gradient(160deg, #1c2023, #0b0c0d);
}
.video-frame.has-video .video-ph { display: none; }
.ph-play {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.7);
}
.ph-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-play {
  position: absolute; left: 50%; top: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; border: 0;
  display: none; place-items: center;
  background: var(--lime); color: var(--black);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.6);
  cursor: pointer;
  transition: transform .2s var(--ease), opacity .25s;
}
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-frame.has-video .video-play { display: grid; }
.video-frame.is-playing .video-play { opacity: 0; transform: scale(.8); }
@media (hover: hover) { .video-play:hover { transform: scale(1.06); } }
.video-card figcaption { margin-top: .55rem; font-size: .85rem; font-weight: 600; color: var(--grey-700); }

/* ---------- Price card ---------- */
.price-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.price-card::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,245,60,.35), transparent 70%);
  pointer-events: none;
}
.price-badge {
  align-self: flex-start;
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--lime); color: var(--black);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.price-card h2 { font-size: 1.35rem; font-weight: 800; margin: 1rem 0 .5rem; }
.price { display: flex; align-items: flex-end; gap: .9rem; margin: 0 0 1.25rem; }
.price-now { font-family: var(--font-display); font-size: clamp(3rem, 14vw, 4rem); font-weight: 900; line-height: .9; color: var(--lime); letter-spacing: -.03em; }
.price-old { display: flex; flex-direction: column; padding-bottom: .3rem; }
.price-old s { font-size: 1.35rem; font-weight: 700; color: rgba(255,255,255,.55); text-decoration-thickness: 2px; }
.price-old small { font-size: .75rem; color: rgba(255,255,255,.45); }
.price-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .65rem; }
.price-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: rgba(255,255,255,.85); }
.price-list .ico { color: var(--lime); width: 18px; height: 18px; margin-top: 2px; }
.price-card .btn { width: 100%; margin-top: auto; }
.price-note { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .8rem 0 0; font-size: .8rem; color: rgba(255,255,255,.55); }
.price-note .ico { width: 15px; height: 15px; }

/* ---------- Form additions ---------- */
.sublabel { display: flex; align-items: center; gap: .35rem; margin-bottom: .4rem; font-size: .84rem; font-weight: 600; color: var(--grey-700); }
.row-2 { display: grid; gap: 0 .75rem; grid-template-columns: minmax(0, 1fr); }
.row-2 .field { margin-bottom: 1rem; }


.string-block {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
}
.string-block .input { background: var(--white); }
.string-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: .6rem; }
.string-head .label { margin: 0; }
.string-block .row-2:last-child .field { margin-bottom: 0; }
.string-single .row-2 .field, .string-hybrid .row-2:last-of-type .field { margin-bottom: 0; }
@media (max-width: 399px) { .string-block .row-2 .field:first-child { margin-bottom: 1rem; } }
.sub-title { margin: .4rem 0 .6rem; font-weight: 700; font-size: .92rem; }
.sub-title small { font-weight: 500; color: var(--grey-500); }
.string-hybrid .sub-title:not(:first-child) { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px dashed var(--grey-300); }
.string-hybrid:not([hidden]), .string-single:not([hidden]) { animation: rise .35s var(--ease) both; }

.switch { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; cursor: pointer; font-weight: 650; font-size: .92rem; -webkit-tap-highlight-color: transparent; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { position: relative; width: 46px; height: 28px; border-radius: 999px; background: var(--grey-300); transition: background .25s; flex: none; }
.switch-thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.switch input:checked + .switch-track { background: var(--black); }
.switch input:checked + .switch-track .switch-thumb { transform: translateX(18px); background: var(--lime); }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--lime); outline-offset: 2px; }

.textarea-lg { min-height: 150px; }
.counter { margin: .35rem 0 0; text-align: right; font-size: .78rem; color: var(--grey-500); }

.dropzone {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: .3rem;
  min-height: 132px;
  padding: 1.25rem 1rem;
  border-radius: var(--radius);
  border: 1.5px dashed var(--grey-300);
  background: var(--grey-50);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(212,245,60,.45); }
.dropzone.is-drag { border-color: var(--black); background: var(--lime-50); }
@media (hover: hover) { .dropzone:hover { border-color: var(--grey-700); } }
.dz-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--lime); margin-bottom: .2rem; }
.dz-ico svg { width: 22px; height: 22px; }
.dz-title { font-weight: 700; }
.dz-sub { font-size: .82rem; color: var(--grey-500); }
.dropzone.is-full { opacity: .55; pointer-events: none; }

.file-list { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .5rem; }
.file-list:empty { display: none; }
.file-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem .5rem .5rem .6rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--grey-100);
  background: var(--white);
  animation: rise .3s var(--ease) both;
  min-width: 0;
}
.file-thumb { flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--black); display: grid; place-items: center; color: var(--lime); }
.file-thumb video { width: 100%; height: 100%; object-fit: cover; }
.file-thumb svg { width: 22px; height: 22px; }
.file-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.file-name { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-size { font-size: .78rem; color: var(--grey-500); }
.file-remove {
  flex: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  display: grid; place-items: center; background: transparent; color: var(--grey-500); cursor: pointer;
}
.file-remove svg { width: 18px; height: 18px; }
@media (hover: hover) { .file-remove:hover { background: var(--error-50); color: var(--error); } }

.size-meter, .upload-progress { display: flex; align-items: center; gap: .75rem; margin-top: .65rem; font-size: .8rem; color: var(--grey-500); font-variant-numeric: tabular-nums; }
.size-meter[hidden], .upload-progress[hidden] { display: none; }
.size-track { flex: 1; height: 6px; border-radius: 999px; background: var(--grey-100); overflow: hidden; }
.size-bar { height: 100%; width: 0; border-radius: inherit; background: var(--black); transition: width .4s var(--ease), background .2s; }
.size-meter.is-over .size-bar { background: var(--error); }
.size-meter.is-over { color: var(--error); font-weight: 600; }
.upload-progress { margin: 0 0 1rem; color: var(--ink); font-weight: 600; }
.upload-progress .size-bar { background: linear-gradient(90deg, var(--black), var(--lime-600)); }

.order {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  font-size: .92rem;
}
.order-row { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; }
.order-row s { color: var(--grey-500); }
.order-discount { color: #4d6a00; font-weight: 600; }
.order-total { margin-top: .35rem; padding-top: .7rem; border-top: 1px solid var(--grey-300); font-weight: 700; font-size: 1.02rem; }
.order-total strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; line-height: 1; }
.order-note { display: flex; align-items: center; gap: .4rem; margin: .6rem 0 0; font-size: .8rem; color: var(--grey-500); }
.order-note .ico { width: 15px; height: 15px; }

.pay-box { margin: 0 auto 1.25rem; max-width: 26rem; padding: 1.1rem; border-radius: var(--radius); background: var(--grey-50); border: 1px solid var(--grey-100); }
.pay-box[hidden], .pay-fallback[hidden] { display: none; }
.pay-box p { margin: 0 0 .9rem !important; color: var(--ink) !important; }
.pay-box .btn { width: 100%; }
.pay-fallback { margin-top: -.75rem !important; }

/* v2 responsive overrides (kept last so they win the cascade) */
@media (min-width: 400px) { .row-2 { grid-template-columns: minmax(0, 1fr) 7.5rem; } }
@media (min-width: 640px) {
  .row-2 { grid-template-columns: minmax(0, 1fr) 8.5rem; }
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .video-card.is-featured { grid-column: auto; }
  .video-frame, .video-card.is-featured .video-frame { aspect-ratio: 4 / 5; }
  .price-card { padding: 2rem; }
}
@media (min-width: 1024px) {
  .about-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4rem; row-gap: 3rem; align-items: end; }
  .about-text { display: contents; }
  .about-text > .eyebrow, .about-text > h2 { grid-column: 1; }
  .about-text > h2 { margin-bottom: 0; }
  .about-text > .about-lead, .about-text > .about-facts { grid-column: 2; }
  .about-text > .about-lead { grid-row: 1 / span 2; align-self: end; }
  .about-text > .eyebrow { grid-row: 1; align-self: end; justify-self: start; margin-bottom: -2rem; }
  .about-text > h2 { grid-row: 2; }
  .about-text > .about-facts { grid-row: 3; grid-column: 1 / -1; margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .video-grid { grid-column: 1 / -1; grid-row: 4; gap: 1.25rem; }
  .how-card { align-content: center; padding: 1.5rem 1.75rem; }
  .how-card h3 { align-self: end; }
}

/* =========================================================
   Reviews
   ========================================================= */
.reviews {
  position: relative;
  padding: clamp(3.5rem, 11vw, 7rem) var(--pad) clamp(3rem, 9vw, 5rem);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.reviews::before {
  content: ""; position: absolute; left: 50%; top: -40%;
  width: 120%; height: 80%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(212,245,60,.10), transparent 60%);
  pointer-events: none;
}
.reviews-inner { position: relative; max-width: 72rem; margin: 0 auto; }
.reviews-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: 2rem; }
.reviews h2 { font-size: clamp(1.9rem, 8vw, 3.25rem); font-weight: 850; font-variation-settings: "wdth" 90; }

.rating-summary { display: flex; align-items: center; gap: .8rem; }
.rating-summary[hidden] { display: none; }
.rating-summary strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; line-height: 1; color: var(--lime); }
.rating-summary > div { display: flex; flex-direction: column; gap: .2rem; }
.rating-count { font-size: .82rem; color: rgba(255,255,255,.6); }
.stars { display: inline-flex; gap: 2px; color: var(--lime); }
.stars svg { width: 16px; height: 16px; }
.stars .off { color: rgba(255,255,255,.18); }

/* cards: horizontal snap carousel on phones, grid from tablet */
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(85%, 22rem);
  gap: .9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  margin: 0 calc(var(--pad) * -1);
  padding: .25rem var(--pad) 1rem;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.reviews-track:empty { display: none; }
.review-card {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  min-width: 0;
  animation: rise .5s var(--ease) both;
}
.review-card blockquote { margin: 0; font-size: 1rem; line-height: 1.55; color: rgba(255,255,255,.88); overflow-wrap: anywhere; }
.review-meta { margin-top: auto; display: flex; align-items: center; gap: .75rem; }
.review-avatar {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--lime); color: var(--black);
  font-family: var(--font-display); font-weight: 800;
}
.review-who { display: flex; flex-direction: column; min-width: 0; }
.review-who b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-who span { font-size: .8rem; color: rgba(255,255,255,.55); }
.verified { display: inline-flex; align-items: center; gap: .25rem; color: var(--lime) !important; font-weight: 600; }
.verified svg { width: 14px; height: 14px; }

@media (min-width: 640px) {
  .reviews-track { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0 0 1rem; }
}
@media (min-width: 1024px) {
  .reviews-track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
}

/* empty state */
.reviews-empty {
  display: grid; gap: 1.1rem; align-items: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255,255,255,.2);
  background: rgba(255,255,255,.03);
}
.reviews-empty[hidden] { display: none; }
.re-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--lime); color: var(--black); }
.re-ico svg { width: 26px; height: 26px; }
.reviews-empty h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .35rem; }
.reviews-empty p { margin: 0; color: rgba(255,255,255,.68); font-size: .95rem; }
.reviews-empty .btn { width: 100%; }
@media (min-width: 640px) {
  .reviews-empty { grid-template-columns: auto 1fr auto; padding: 1.75rem 2rem; }
  .reviews-empty .btn { width: auto; }
}

/* leave-a-review */
.review-form-wrap {
  margin-top: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}
.review-form-wrap summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: .98rem;
  -webkit-tap-highlight-color: transparent;
}
.review-form-wrap summary::-webkit-details-marker { display: none; }
.review-form-wrap summary b { font-weight: 750; }
.review-form-wrap summary:focus-visible { outline: 3px solid var(--lime); outline-offset: -3px; }
.rf-plus { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--black); }
.rf-plus::before, .rf-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--lime); border-radius: 2px; transition: transform .3s var(--ease); }
.rf-plus::after { transform: rotate(90deg); }
.review-form-wrap[open] .rf-plus::after { transform: rotate(0); }
.review-form, .review-thanks { padding: .25rem 1.25rem 1.5rem; }
.review-form-wrap[open] .review-form { animation: rise .4s var(--ease) both; }
.row-even { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 640px) {
  .row-even { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .review-form, .review-thanks { padding: .25rem 2rem 2rem; }
  .review-form-wrap summary { padding: 1rem 2rem; }
}
.review-form .row-2 .field { margin-bottom: 1.5rem; }
.btn-block { width: 100%; }
.review-thanks { text-align: center; }
.review-thanks[hidden] { display: none; }
.review-thanks:focus { outline: none; }
.review-thanks h3 { font-size: 1.6rem; font-weight: 850; margin-bottom: .4rem; }
.review-thanks p { margin: 0; color: var(--grey-500); }

/* star picker (row-reverse so "~" highlights lower stars) */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .25rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 12px;
  color: var(--grey-300); cursor: pointer;
  transition: color .15s, transform .15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.star-input label svg { width: 32px; height: 32px; }
.star-input input:checked ~ label { color: var(--lime-600); }
.star-input input:checked + label { transform: scale(1.08); }
.star-input input:focus-visible + label { outline: 3px solid var(--lime); outline-offset: 1px; }
@media (hover: hover) {
  .star-input:hover label { color: var(--grey-300); }
  .star-input label:hover, .star-input label:hover ~ label { color: var(--lime-600) !important; }
}
.field.has-error .star-input label { color: #f2b9b9; }
@media (max-width: 359px) { .star-input label { width: 44px; height: 44px; } .star-input label svg { width: 28px; height: 28px; } }

.footer { border-top: 1px solid rgba(255,255,255,.08); }

/* ---------- Free-quote flow ---------- */
.steps-list { list-style: none; counter-reset: step; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .9rem; }
.steps-list li { counter-increment: step; position: relative; padding-left: 2.6rem; display: flex; flex-direction: column; gap: .1rem; }
.steps-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--lime); color: var(--black);
  font-family: var(--font-display); font-weight: 800; font-size: .85rem;
}
.steps-list b { font-weight: 700; color: var(--white); }
.steps-list span { font-size: .9rem; color: rgba(255,255,255,.7); }
.order-title { margin: 0 0 .5rem; font-weight: 700; font-size: .95rem; }
.order-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; color: var(--grey-700); }
.order-steps li::marker { font-weight: 700; color: var(--ink); }
.opt-videos[hidden] { display: none; }
