/* ===========================================================
   CopriTurno — landing page styles
   Mobile-first. Brand: teal + navy, amber accent, Inter.
   Tokens are CSS custom properties so the Tweaks panel can
   reskin palette / font / density live without touching markup.
   =========================================================== */

:root {
  /* palette (overridable by tweaks) */
  --teal: #0D9488;
  --teal-600: #0F766E;
  --teal-700: #115E59;
  --teal-tint: #E6F6F4;
  --teal-tint-2: #F0FBF9;
  --navy: #0F2A3F;
  --navy-2: #163B57;
  --amber: #F59E0B;
  --amber-soft: #FEF3E2;

  /* neutrals */
  --bg: #F7FAFA;
  --surface: #FFFFFF;
  --ink: #0F2A3F;
  --ink-2: #3D5566;
  --ink-3: #6B7F8C;
  --line: #E4EBEC;
  --line-2: #EFF3F4;

  /* type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* shape + rhythm (density-overridable) */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --section-pad: 64px;
  --gap: 16px;

  --shadow-sm: 0 1px 2px rgba(15, 42, 63, .06), 0 1px 3px rgba(15, 42, 63, .05);
  --shadow: 0 4px 14px rgba(15, 42, 63, .07), 0 2px 6px rgba(15, 42, 63, .05);
  --shadow-lg: 0 18px 48px rgba(15, 42, 63, .14), 0 6px 16px rgba(15, 42, 63, .08);

  --maxw: 1180px;
}

/* density variants */
[data-density="compact"] { --section-pad: 48px; --gap: 12px; }
[data-density="comfy"]   { --section-pad: 88px; --gap: 20px; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 20px; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal-600);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: var(--radius-pill);
  font-weight: 650; font-size: 16px; letter-spacing: -0.01em;
  padding: 15px 26px; min-height: 52px;
  text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(13,148,136,.28); }
.btn-primary:hover { background: var(--teal-600); box-shadow: 0 8px 22px rgba(13,148,136,.34); }
.btn-ghost { background: var(--surface); color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-600); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247,250,250,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--navy); text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: var(--teal); display: grid; place-items: center; color: #fff;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.18);
}
.brand-mark svg { width: 19px; height: 19px; }
.header-cta { display: none; }

/* ---------- hero ---------- */
.hero { padding-top: 34px; padding-bottom: var(--section-pad); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(680px 420px at 88% -8%, var(--teal-tint) 0%, transparent 62%),
    radial-gradient(520px 420px at -6% 8%, var(--teal-tint-2) 0%, transparent 60%);
}
.hero-grid { display: grid; gap: 34px; align-items: start; }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 650; color: var(--teal-700);
  background: var(--surface); border: 1px solid var(--line);
  padding: 7px 13px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.badge.amber { color: #B45309; background: var(--amber-soft); border-color: #F6E0BA; }
.badge svg { width: 15px; height: 15px; }

.hero h1 {
  font-size: clamp(30px, 8.4vw, 52px);
  letter-spacing: -0.03em; color: var(--navy);
  text-wrap: balance;
}
.hero h1 .hl { color: var(--teal); }
.hero-sub { margin-top: 18px; font-size: clamp(16px, 4.4vw, 19px); color: var(--ink-2); max-width: 36ch; text-wrap: pretty; }
.hero-cta-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-reassure { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.hero-reassure svg { width: 16px; height: 16px; color: var(--teal); flex: none; }

/* hero media (abstract composition / whatsapp) */
.hero-media { position: relative; }

/* WhatsApp mock */
.wa {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; border: 1px solid var(--line); max-width: 380px; margin-inline: auto;
}
.wa-top { background: #075E54; color: #fff; padding: 13px 16px; display: flex; align-items: center; gap: 11px; }
.wa-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; color: #fff; font-weight: 800; flex: none; }
.wa-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.wa-status { font-size: 11.5px; opacity: .8; }
.wa-body { background: #ECE5DD; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; min-height: 320px; background-image: linear-gradient(rgba(255,255,255,.04), rgba(255,255,255,.04)); }
.wa-day { align-self: center; background: #D7E5CF; color: #4A6B45; font-size: 11px; font-weight: 600; padding: 3px 11px; border-radius: 8px; }
.bubble { max-width: 84%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.4; box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; }
.bubble.in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.bubble.out { align-self: flex-end; background: #DCF8C6; border-top-right-radius: 3px; }
.bubble .meta { display: block; text-align: right; font-size: 10.5px; color: #7b8a72; margin-top: 3px; }
.bubble .tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--teal-700); background: var(--teal-tint); padding: 2px 8px; border-radius: 6px; margin-bottom: 5px; }
.bubble b { color: var(--navy); }
.wa-actions { display: flex; gap: 8px; margin-top: 4px; }
.wa-pill { font-size: 12.5px; font-weight: 650; padding: 6px 12px; border-radius: var(--radius-pill); border: 1.5px solid; }
.wa-pill.yes { color: #fff; background: var(--teal); border-color: var(--teal); }
.wa-pill.no { color: var(--ink-2); background: #fff; border-color: var(--line); }

/* abstract composition */
.compo { position: relative; aspect-ratio: 1 / 1; max-width: 420px; margin-inline: auto; display: none; }

/* ---------- generic section ---------- */
.section { padding-block: var(--section-pad); }
.section-head { max-width: 640px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(25px, 6.2vw, 36px); color: var(--navy); margin-top: 10px; }
.section-head p { margin-top: 12px; color: var(--ink-2); font-size: 17px; }

/* ---------- come funziona (steps) ---------- */
.steps { display: grid; gap: var(--gap); grid-template-columns: 1fr; counter-reset: step; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-sm); position: relative;
}
.step-num {
  width: 38px; height: 38px; border-radius: 11px; background: var(--teal-tint); color: var(--teal-700);
  display: grid; place-items: center; font-weight: 800; font-size: 16px; margin-bottom: 14px;
}
.step h3 { font-size: 18px; color: var(--navy); }
.step p { margin-top: 7px; color: var(--ink-2); font-size: 15px; }

/* ---------- benefits ---------- */
.benefits { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.benefit { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.benefit .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--teal-tint); color: var(--teal-700); display: grid; place-items: center; }
.benefit .ic svg { width: 23px; height: 23px; }
.benefit h3 { font-size: 17px; color: var(--navy); }
.benefit p { margin-top: 5px; color: var(--ink-2); font-size: 15px; }

/* ---------- form ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 24px 20px 22px; position: relative;
}
.form-card .form-eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.form-card h3 { font-size: 21px; color: var(--navy); }
.form-free { font-size: 12.5px; font-weight: 700; color: var(--teal-700); background: var(--teal-tint); padding: 5px 11px; border-radius: var(--radius-pill); white-space: nowrap; }

.progress { margin: 16px 0 4px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); margin-bottom: 7px; font-weight: 600; }
.progress-track { height: 7px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--teal-600)); border-radius: 99px; transition: width .35s cubic-bezier(.4,0,.2,1); }

.step-panel { display: none; animation: fade .3s ease; }
.step-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.field { margin-top: 16px; }
.field > label { display: block; font-weight: 650; font-size: 14.5px; color: var(--navy); margin-bottom: 7px; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.field .opt { font-weight: 500; color: var(--ink-3); font-size: 13px; }
.input {
  width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  font-size: 16px; font-family: inherit; color: var(--ink); background: #fff; transition: border .15s, box-shadow .15s;
}
.input::placeholder { color: #9fb0ba; }
.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,148,136,.13); }
.input-group { display: flex; align-items: stretch; }
.input-prefix { display: flex; align-items: center; padding: 0 13px; background: var(--teal-tint-2); border: 1.5px solid var(--line); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm); font-size: 15px; font-weight: 600; color: var(--teal-700); }
.input-group .input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.field-err { display: none; color: #C2410C; font-size: 13px; margin-top: 6px; font-weight: 600; }
.field.invalid .input { border-color: #E5793B; }
.field.invalid .field-err { display: block; }

/* chip groups (tap-first) */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 15px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-size: 14.5px; font-weight: 550; transition: all .14s ease; min-height: 44px;
  user-select: none;
}
.chip:hover { border-color: var(--teal); color: var(--teal-700); }
.chip .tick { width: 17px; height: 17px; border-radius: 50%; border: 1.6px solid var(--line); display: grid; place-items: center; flex: none; transition: all .14s; }
.chip .tick svg { width: 11px; height: 11px; color: #fff; opacity: 0; transform: scale(.5); transition: all .14s; }
.chip[aria-pressed="true"] { background: var(--teal-tint); border-color: var(--teal); color: var(--teal-700); font-weight: 650; }
.chip[aria-pressed="true"] .tick { background: var(--teal); border-color: var(--teal); }
.chip[aria-pressed="true"] .tick svg { opacity: 1; transform: scale(1); }
/* single-select radio style chips */
.chips.single .chip[aria-pressed="true"] .tick { border-radius: 50%; }

.form-note {
  display: flex; gap: 9px; margin-top: 18px; padding: 12px 14px;
  background: var(--teal-tint-2); border: 1px solid var(--teal-tint); border-radius: var(--radius-sm);
  font-size: 13px; color: var(--ink-2); line-height: 1.5;
}
.form-note svg { width: 17px; height: 17px; color: var(--teal-600); flex: none; margin-top: 1px; }

.consent { display: flex; gap: 11px; margin-top: 16px; align-items: flex-start; cursor: pointer; }
.consent input { margin: 0; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; border: 1.7px solid var(--line); border-radius: 6px; background: #fff; display: grid; place-items: center; transition: all .14s; margin-top: 1px; }
.consent input::after { content: ""; width: 11px; height: 11px; background: #fff; clip-path: polygon(14% 47%, 0 60%, 40% 100%, 100% 22%, 86% 8%, 38% 70%); opacity: 0; transition: opacity .14s; }
.consent input:checked { background: var(--teal); border-color: var(--teal); }
.consent input:checked::after { opacity: 1; }
.consent input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.consent span { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.consent a { color: var(--teal-700); font-weight: 600; }
.consent.invalid span { color: #C2410C; }

.form-nav { display: flex; gap: 12px; margin-top: 22px; align-items: center; }
.form-nav .btn { flex: 1; }
.btn-back { background: transparent; border: 0; color: var(--ink-3); font-weight: 650; font-size: 15px; padding: 12px; min-height: 44px; flex: none !important; width: auto; }
.btn-back:hover { color: var(--navy); }

/* confirmation */
.confirm { text-align: center; padding: 12px 4px 4px; display: none; animation: fade .4s ease; }
.confirm.active { display: block; }
.confirm-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; margin: 6px auto 18px; }
.confirm-ic svg { width: 40px; height: 40px; }
.confirm h3 { font-size: 24px; color: var(--navy); }
.confirm p { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; }
.confirm-recap { text-align: left; margin: 20px 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.confirm-recap .row { display: flex; gap: 10px; font-size: 14px; padding: 5px 0; }
.confirm-recap .row .k { color: var(--ink-3); min-width: 92px; font-weight: 600; }
.confirm-recap .row .v { color: var(--navy); font-weight: 600; }

/* share box */
.share-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); margin-top: 4px; }
.share-msg { background: var(--bg); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 14px; font-size: 14px; color: var(--ink-2); white-space: pre-wrap; line-height: 1.55; }
.share-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.btn-wa { background: #25D366; color: #06351c; }
.btn-wa:hover { background: #20bd5b; }
.btn-wa svg { width: 19px; height: 19px; }
.copied-toast { font-size: 13px; font-weight: 650; color: var(--teal-700); align-self: center; opacity: 0; transition: opacity .2s; }
.copied-toast.show { opacity: 1; }

/* ---------- density / FOMO ---------- */
.density { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 38px 26px; position: relative; overflow: hidden; }
.density::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(13,148,136,.45), transparent 68%); }
.density .eyebrow { color: #5EE6D2; }
.density h2 { font-size: clamp(24px, 6vw, 33px); margin-top: 10px; color: #fff; max-width: 22ch; position: relative; }
.density p { margin-top: 14px; color: #C5D6E0; font-size: 16px; max-width: 52ch; position: relative; }
.density .priority { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.4); color: #FCD34D; font-weight: 650; font-size: 14.5px; padding: 11px 17px; border-radius: var(--radius-pill); position: relative; }
.density .priority svg { width: 18px; height: 18px; }
.density-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.btn-amber { background: var(--amber); color: #4A2E00; }
.btn-amber:hover { background: #E89009; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 780px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 19px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 650; font-size: 16.5px; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--teal-tint); color: var(--teal-700); display: grid; place-items: center; transition: transform .25s; font-size: 18px; }
.faq-item[open] summary .pm { transform: rotate(45deg); }
.faq-body { padding: 0 20px 20px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.faq-body p + p { margin-top: 10px; }

/* ---------- final CTA ---------- */
.final-cta { text-align: center; background: linear-gradient(160deg, var(--teal-tint-2), var(--teal-tint)); border-radius: var(--radius-lg); padding: 52px 26px; border: 1px solid var(--teal-tint); }
.final-cta h2 { font-size: clamp(26px, 6.4vw, 38px); color: var(--navy); max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.final-cta p { margin-top: 14px; color: var(--ink-2); font-size: 17px; max-width: 46ch; margin-inline: auto; }
.final-cta .btn { margin-top: 26px; }
.final-legal { margin-top: 18px; font-size: 13px; color: var(--ink-3); max-width: 50ch; margin-inline: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #C5D6E0; padding-block: 44px 30px; margin-top: 8px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; }
.footer-brand .brand-mark { box-shadow: inset 0 0 0 3px rgba(255,255,255,.18); }
.footer-desc { margin-top: 14px; font-size: 14px; color: #93AABA; max-width: 42ch; line-height: 1.6; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: #C5D6E0; text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: #7E97A8; line-height: 1.65; }
.footer-legal p + p { margin-top: 8px; }

/* ---------- privacy modal/page ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(15,42,63,.5); backdrop-filter: blur(3px); display: none; align-items: flex-end; justify-content: center; padding: 0; }
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; width: 100%; max-width: 680px; max-height: 92vh; overflow-y: auto;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 26px 22px 32px; box-shadow: var(--shadow-lg);
  animation: sheet .3s cubic-bezier(.4,0,.2,1);
}
@keyframes sheet { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.modal h2 { font-size: 23px; color: var(--navy); }
.modal-close { background: var(--bg); border: 1px solid var(--line); border-radius: 50%; width: 38px; height: 38px; flex: none; font-size: 20px; color: var(--ink-2); display: grid; place-items: center; }
.modal h3 { font-size: 16px; color: var(--navy); margin-top: 22px; }
.modal p, .modal li { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.modal p { margin-top: 8px; }
.modal ul { margin: 8px 0 0; padding-left: 20px; }
.modal li { margin-top: 5px; }
.modal .modal-meta { font-size: 12.5px; color: var(--ink-3); margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); }

/* ============ responsive ============ */
@media (min-width: 560px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .modal-overlay { align-items: center; padding: 24px; }
  .modal { border-radius: var(--radius-lg); }
}

@media (min-width: 900px) {
  :root { --section-pad: 92px; }
  .wrap { padding-inline: 32px; }
  .header-cta { display: inline-flex; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
  .hero h1 { font-size: clamp(40px, 4.4vw, 56px); }
  .hero-sub { font-size: 20px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .section-head { margin-bottom: 44px; }
  .density { padding: 56px 52px; }
  .density-inner { max-width: 760px; }
  .form-card { padding: 30px 28px 26px; }
}

/* ===========================================================
   ADD-ONS v2: select, duo buttons, antispam, trust, counter
   =========================================================== */

/* native select styled as input */
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-65%) rotate(45deg); pointer-events: none;
}
.input-select {
  appearance: none; -webkit-appearance: none; background: #fff; padding-right: 40px; cursor: pointer;
  min-height: 50px;
}
.input-select:invalid { color: #9fb0ba; }

/* two big choice buttons (medico / infermiere) */
.chips.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips.duo .chip { justify-content: center; min-height: 52px; font-weight: 650; font-size: 15px; }

/* antispam microcopy under WhatsApp */
.field-micro { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.field-micro svg { width: 14px; height: 14px; color: var(--teal-600); flex: none; }

/* honest counter pill */
.proof-count {
  align-items: center; gap: 11px; margin-top: 20px;
  background: rgba(94,230,210,.12); border: 1px solid rgba(94,230,210,.3);
  border-radius: var(--radius-pill); padding: 9px 18px 9px 14px; position: relative;
}
.proof-count .pc-num { font-size: 26px; font-weight: 800; color: #5EE6D2; letter-spacing: -0.02em; line-height: 1; }
.proof-count .pc-lbl { font-size: 13.5px; font-weight: 600; color: #C5D6E0; max-width: 24ch; line-height: 1.3; }

/* trust / founder */
.trust {
  display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.trust-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--teal-tint); aspect-ratio: 4 / 3; }
.trust-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 32% 30%; display: block; }
.trust-copy h2 { font-size: clamp(23px, 5.6vw, 32px); color: var(--navy); margin-top: 10px; }
.trust-copy p { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.trust-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--teal-700); background: var(--teal-tint); border: 1px solid var(--teal-tint); padding: 8px 13px; border-radius: var(--radius-pill); }
.trust-tag svg { width: 16px; height: 16px; flex: none; }

@media (min-width: 760px) {
  .trust { grid-template-columns: 0.85fr 1.15fr; gap: 36px; padding: 14px; }
  .trust-photo { aspect-ratio: 1 / 1.05; height: 100%; }
  .trust-copy { padding: 18px 24px 18px 4px; }
}

/* hero variants (set via data-hero on <body>) */
body[data-hero="whatsapp"] .compo { display: none; }
body[data-hero="whatsapp"] .wa { display: block; }
body[data-hero="abstract"] .wa { display: none; }
body[data-hero="abstract"] .compo { display: block; }

/* ===========================================================
   ADD-ONS: audience toggle, requests feed, sticky CTA, social proof
   =========================================================== */

/* audience toggle (segmented) */
.aud-toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px; gap: 3px; box-shadow: var(--shadow-sm); }
.aud-toggle a { padding: 9px 15px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 650; color: var(--ink-2); text-decoration: none; line-height: 1; white-space: nowrap; transition: all .15s; min-height: 38px; display: inline-flex; align-items: center; }
.aud-toggle a.active { background: var(--navy); color: #fff; }
.aud-toggle a:not(.active):hover { color: var(--navy); }

/* ---- requests feed ("esempi vicino a te") ---- */
.feed { background: linear-gradient(180deg, #fff, var(--teal-tint-2)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.feed .section-head { margin-bottom: 18px; }
.feed-disclaimer { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-2); background: var(--amber-soft); border: 1px solid #F6E0BA; border-radius: var(--radius-sm); padding: 11px 13px; margin-bottom: 18px; line-height: 1.5; max-width: 720px; }
.feed-disclaimer svg { width: 16px; height: 16px; color: #B45309; flex: none; margin-top: 1px; }

/* zona selector — horizontally scrollable on mobile */
.zona-bar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.zona-bar::-webkit-scrollbar { display: none; }
.zona-chip { flex: none; scroll-snap-align: start; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); border-radius: var(--radius-pill); padding: 9px 15px; font-size: 14px; font-weight: 600; min-height: 42px; transition: all .14s; }
.zona-chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.zona-chip:not([aria-pressed="true"]):hover { border-color: var(--teal); color: var(--teal-700); }

.req-list { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.req-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s; position: relative; overflow: hidden; }
.req-card::before { content: "Esempio"; position: absolute; top: 12px; right: -30px; transform: rotate(38deg); background: var(--amber); color: #4A2E00; font-size: 10px; font-weight: 800; letter-spacing: .05em; padding: 3px 34px; text-transform: uppercase; }
.req-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.req-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.req-tag { font-size: 11.5px; font-weight: 700; color: var(--teal-700); background: var(--teal-tint); padding: 4px 10px; border-radius: var(--radius-pill); }
.req-dist { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.req-title { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.req-rows { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.req-row { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.req-row svg { width: 16px; height: 16px; color: var(--teal-600); flex: none; }
.req-comp { margin-top: 14px; padding-top: 13px; border-top: 1px dashed var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.req-comp .amt { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.req-comp .amt small { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.req-comp .src { font-size: 11.5px; color: var(--ink-3); text-align: right; max-width: 11ch; line-height: 1.3; }
.req-foot { margin-top: 13px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 650; color: var(--teal-700); background: var(--teal-tint-2); border: 1px solid var(--teal-tint); border-radius: var(--radius-sm); padding: 9px 11px; }
.req-foot svg { width: 16px; height: 16px; color: #25D366; flex: none; }
.feed-cta { margin-top: 22px; text-align: center; }
.feed-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-3); font-size: 15px; padding: 24px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---- honest social proof strip ---- */
.proof-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; position: relative; }
.proof-prov { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #C5D6E0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 8px 13px; border-radius: var(--radius-pill); }
.proof-prov .dot { width: 8px; height: 8px; border-radius: 50%; background: #5EE6D2; box-shadow: 0 0 0 0 rgba(94,230,210,.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94,230,210,.5); } 70% { box-shadow: 0 0 0 7px rgba(94,230,210,0); } 100% { box-shadow: 0 0 0 0 rgba(94,230,210,0); } }

/* ---- sticky mobile CTA bar ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: flex; gap: 10px; align-items: center;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 22px rgba(15,42,63,.10);
  padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .sc-text { flex: 1; min-width: 0; }
.sticky-cta .sc-text strong { display: block; font-size: 14px; color: var(--navy); line-height: 1.2; }
.sticky-cta .sc-text span { font-size: 11.5px; color: var(--ink-3); }
.sticky-cta .btn { flex: none; padding-inline: 20px; }
@media (min-width: 900px) { .sticky-cta { display: none !important; } }

/* feed responsive */
@media (min-width: 560px) { .req-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .req-list { grid-template-columns: repeat(3, 1fr); }
  .feed-disclaimer { font-size: 13.5px; }
}

/* mobile fine-tuning */
@media (max-width: 559px) {
  body { padding-bottom: 78px; } /* room for sticky bar */
  .hero-cta-row .btn { width: 100%; }
  .hero-cta-row { gap: 10px; }
  .badge { font-size: 12px; padding: 6px 11px; }
  .density-cta .btn { width: 100%; }
  .final-cta { padding: 40px 20px; }
  .header-cta { display: none; }
  .aud-toggle a { padding: 8px 12px; font-size: 13px; }
  .section-head h2 { font-size: clamp(23px, 7vw, 30px); }
}
@media (max-width: 400px) {
  .brand-name { display: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
