/* humind — landing
   Stile: pulito, molto arioso, una sola tinta (verde acqua / petrolio),
   bordi 1px, angoli morbidi, ombre quasi assenti. */

:root {
  --petrol: #00414A;
  --petrol-2: #06565F;
  --petrol-deep: #04333A;
  --aqua: #6EC3BA;
  --aqua-soft: #B9E2DD;
  --aqua-mist: #EAF6F4;
  --aqua-ink: #2E837A;        /* verde acqua scurito per testo piccolo su bianco */

  --ink: #0B2226;
  --ink-2: #4E6669;
  --ink-3: #7C9093;
  --line: #E3ECEA;
  --bg: #FFFFFF;
  --bg-2: #F6FAF9;

  --radius: 20px;
  --radius-lg: 28px;
  --container: 1120px;
  --shadow-sm: 0 1px 2px rgba(0, 65, 74, 0.05), 0 6px 20px rgba(0, 65, 74, 0.06);
  --shadow-lg: 0 30px 70px rgba(0, 65, 74, 0.22);

  --phone-w: 280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- tipografia ---------- */

h1, h2, h3 { color: var(--petrol); font-weight: 700; letter-spacing: -0.025em; }

h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

h1 em { font-style: normal; color: var(--aqua); }

h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}

h3 { font-size: 19px; letter-spacing: -0.01em; }

.eyebrow {
  color: var(--aqua-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.lead {
  font-size: 20px;
  color: var(--ink-2);
  max-width: 48ch;
  margin-bottom: 32px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  color: var(--ink-2);
  font-size: 19px;
  margin-top: 14px;
}

.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--aqua-ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- bottoni ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-family: inherit;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}

.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--petrol); color: #fff; }
.btn-primary:hover { background: var(--petrol-2); }

.btn-ghost { background: transparent; color: var(--petrol); border-color: #CFDEDC; }
.btn-ghost:hover { background: var(--aqua-mist); border-color: var(--aqua-soft); }

.btn-aqua { background: var(--aqua); color: var(--petrol); }
.btn-aqua:hover { background: #7ECCC4; }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--petrol);
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.brand img { width: 30px; height: auto; }

.nav-links { display: flex; gap: 30px; }

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .15s;
}

.nav-links a:hover { color: var(--petrol); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- lingua (globo + tendina) ---------- */

.lang-menu { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color .15s, color .15s, background-color .15s;
}

.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--aqua); color: var(--petrol); }

.lang-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lang-dd {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 65, 74, 0.14);
  z-index: 30;
}

.lang-dd[hidden] { display: none; }

.lang-dd button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  padding: 9px 12px;
  border: none;
  border-radius: 9px;
  background: none;
  cursor: pointer;
  transition: background-color .15s;
}

.lang-dd button:hover { background: var(--bg-2); }

.lang-dd button.active { color: var(--petrol); font-weight: 600; }

.lang-dd button.active::after {
  content: "";
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--aqua-ink);
  border-bottom: 2px solid var(--aqua-ink);
  transform: rotate(45deg);
  margin-right: 4px;
}

/* ---------- hero ---------- */

.hero { padding: 72px 0 40px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }

.trust-list { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 40px 7% 40px 0;
}

.hero-blob {
  position: absolute;
  inset: 0 6%;
  background: var(--aqua-mist);
  border-radius: 56px;
  z-index: 0;
}

/* card fluttuanti attorno al telefono */
.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  line-height: 1.3;
  animation: float 6s ease-in-out infinite;
}

.float-msg { top: 24%; left: 1%; }
.float-appt { bottom: 3%; right: -2%; animation-delay: -3s; }

.fc-t { font-weight: 600; color: var(--ink); }
.fc-p { color: var(--ink-2); }

.fc-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--aqua-mist);
  display: grid;
  place-items: center;
  flex: none;
}

.fc-check svg { width: 16px; height: 16px; fill: none; stroke: var(--aqua-ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- mockup telefono ---------- */

.phone {
  position: relative;
  z-index: 1;
  width: var(--phone-w);
  aspect-ratio: 0.485;
  border-radius: calc(var(--phone-w) * 0.165);
  background: #0E1B1D;
  padding: calc(var(--phone-w) * 0.036);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2A3A3C;
  flex: none;
}

.phone::after {
  content: "";
  position: absolute;
  top: calc(var(--phone-w) * 0.07);
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--phone-w) * 0.3);
  height: calc(var(--phone-w) * 0.085);
  background: #0E1B1D;
  border-radius: 999px;
  z-index: 3;
}

.phone-sm { --phone-w: 250px; }

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: calc(var(--phone-w) * 0.13);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.35;
  color: var(--ink);
  text-align: left;
}

.ps-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 0;
  height: 48px;
  font-size: 12.5px;
  font-weight: 600;
}

.ps-status-r { display: flex; gap: 3px; align-items: flex-end; }
.ps-status-r i { display: block; width: 3px; background: currentColor; border-radius: 1px; }
.ps-status-r i:nth-child(1) { height: 5px; }
.ps-status-r i:nth-child(2) { height: 8px; }
.ps-status-r i:nth-child(3) { height: 11px; }

.ps-body { padding: 10px 18px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.ps-greet, .ps-title { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--petrol); }
.ps-sub { color: var(--ink-3); margin-top: -8px; }

.ps-appt {
  background: var(--petrol);
  color: #fff;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ps-appt-label { color: var(--aqua-soft); font-size: 11px; }
.ps-appt-when { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.ps-who { display: flex; align-items: center; gap: 8px; font-size: 12px; }

.ps-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--aqua-soft);
  color: var(--petrol);
  font-weight: 700;
  font-size: 10px;
  display: grid;
  place-items: center;
  flex: none;
}

.ps-avatar.xl { width: 96px; height: 96px; font-size: 30px; background: var(--aqua); }

.ps-btn {
  display: inline-block;
  margin-top: 6px;
  background: var(--aqua);
  color: var(--petrol);
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 14px;
  text-align: center;
  font-size: 12px;
  align-self: flex-start;
}

.ps-btn-block { align-self: stretch; background: var(--petrol); color: #fff; margin-top: auto; }

.ps-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; }
.ps-h { font-weight: 600; font-size: 12.5px; }
.ps-h-r { color: var(--ink-3); font-size: 11px; }

.ps-mood {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 46px;
  padding: 0 2px;
}

.ps-mood i {
  flex: 1;
  height: var(--h);
  background: var(--aqua-soft);
  border-radius: 6px 6px 3px 3px;
}

.ps-mood i.on { background: var(--aqua); }

.ps-bar { height: 6px; border-radius: 999px; background: var(--aqua-mist); overflow: hidden; }
.ps-bar i { display: block; height: 100%; width: 50%; background: var(--aqua); border-radius: 999px; }

.ps-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.ps-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: var(--bg-2);
  border-radius: 12px;
  font-weight: 600;
  font-size: 12px;
}

.ps-tile svg, .ps-tab svg, .ps-back, .ps-cam, .ps-controls svg, .ps-input svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ps-tile svg { color: var(--petrol); }

.ps-tab {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding: 10px 14px 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
}

.ps-tab svg.on { color: var(--petrol); }

/* chat */
.ps-chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 10px;
  border-bottom: 1px solid var(--line);
}

.ps-chat-head .ps-avatar { width: 32px; height: 32px; font-size: 11px; }
.ps-chat-head > div { flex: 1; }
.ps-back, .ps-cam { color: var(--petrol); }
.ps-name { font-weight: 700; font-size: 13px; }
.ps-online { font-size: 10.5px; color: var(--aqua-ink); display: flex; align-items: center; gap: 4px; }
.ps-online i { width: 6px; height: 6px; border-radius: 50%; background: #34C759; }

.ps-chat { flex: 1; padding: 12px 12px 0; display: flex; flex-direction: column; gap: 8px; }
.ps-day { text-align: center; font-size: 10.5px; color: var(--ink-3); margin-bottom: 2px; }

.bub {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 16px;
  font-size: 12px;
  line-height: 1.35;
}

.bub.them { background: var(--bg-2); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 5px; }
.bub.me { background: var(--petrol); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }

.ps-input {
  margin: 10px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 6px 8px 14px;
  color: var(--ink-3);
  font-size: 12px;
}

.ps-input i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--petrol);
  color: #fff;
  display: grid;
  place-items: center;
}

.ps-input i svg { width: 14px; height: 14px; }

/* video */
.ps-dark { background: #0A2E33; color: #fff; }

.ps-video {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(170deg, #0A2E33 0%, #00414A 55%, #06565F 100%);
}

.ps-video-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px;
}

.ps-timer {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px 9px;
}

.ps-timer i { width: 6px; height: 6px; border-radius: 50%; background: #FF3B30; }

.ps-video-peer { flex: 1; display: grid; place-items: center; }

.ps-video-peer .ps-avatar {
  box-shadow: 0 0 0 14px rgba(110, 195, 186, 0.16), 0 0 0 28px rgba(110, 195, 186, 0.07);
}

.ps-pip {
  position: absolute;
  right: 14px;
  bottom: 88px;
  width: 58px;
  height: 78px;
  border-radius: 12px;
  background: linear-gradient(160deg, #6EC3BA, #B9E2DD);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.ps-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 0 24px;
}

.ps-controls span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  color: #fff;
}

.ps-controls span.end { background: #FF3B30; }
.ps-controls svg { width: 18px; height: 18px; }

/* agenda */
.ps-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }

.ps-cal div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 0;
  border-radius: 10px;
  font-size: 10px;
  color: var(--ink-3);
}

.ps-cal b { font-size: 12.5px; color: var(--ink); font-weight: 600; }
.ps-cal div.on { background: var(--petrol); color: var(--aqua-soft); }
.ps-cal div.on b { color: #fff; }

.ps-list { display: flex; flex-direction: column; gap: 8px; }

.ps-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.ps-time { font-size: 10.5px; color: var(--ink-3); grid-column: 1; grid-row: 1; }
.ps-item-t { font-weight: 600; font-size: 12px; grid-column: 1 / -1; grid-row: 2; }

.ps-badge {
  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 8px;
  background: var(--bg-2);
  color: var(--ink-3);
  align-self: center;
  grid-column: 2;
  grid-row: 1;
}

.ps-badge.ok { background: var(--aqua-mist); color: var(--aqua-ink); }

/* ---------- stats ---------- */

.stats { padding: 8px 0 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  text-align: center;
}

.stat-v { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; color: var(--petrol); line-height: 1.1; }
.stat-l { font-size: 14px; color: var(--ink-2); margin-top: 4px; }

/* ---------- sezioni ---------- */

.section { padding: 96px 0; }
.section.band { background: var(--bg-2); }

/* aree */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}

.chip {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  background: #fff;
  transition: border-color .15s, background-color .15s, color .15s;
}

.chip:hover { border-color: var(--aqua); background: var(--aqua-mist); color: var(--petrol); }

/* come funziona */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.step-num {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--petrol);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 22px;
}

.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 16px; }

/* app */
.app-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
}

.app-item { text-align: center; max-width: 300px; }
.app-item .phone { margin: 0 auto 28px; }
.app-item h3 { margin-bottom: 6px; }
.app-item p { color: var(--ink-2); font-size: 16px; }

/* perché */
.features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.feature-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--aqua-mist);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--petrol);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--ink-2); font-size: 15px; }

/* psicologi */
.therapists {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.therapist {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.therapist .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--aqua-soft);
  color: var(--petrol);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}

.specialty { color: var(--aqua-ink); font-size: 14px; font-weight: 600; }
.therapist p:not(.specialty) { color: var(--ink-2); font-size: 15px; margin-bottom: 14px; }
.therapist .btn { margin-top: auto; }

.note { color: var(--ink-3); font-size: 13px; margin-top: 24px; text-align: center; }

/* testimonianze */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars { display: flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; fill: var(--aqua); }

.review blockquote { font-size: 17px; line-height: 1.5; color: var(--ink); flex: 1; }

.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption div { display: flex; flex-direction: column; line-height: 1.3; }
.review figcaption b { font-weight: 600; font-size: 14px; }
.review figcaption span:not(.rev-avatar) { color: var(--ink-3); font-size: 13px; }

.rev-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--aqua-soft);
  color: var(--petrol);
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex: none;
}

/* prezzi */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.price-copy p { color: var(--ink-2); font-size: 19px; margin-top: 14px; max-width: 36ch; }

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 440px;
  justify-self: end;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 28px; color: var(--petrol); }
.cur { font-size: 20px; font-weight: 600; }
.amount { font-size: 64px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.unit { font-size: 17px; color: var(--ink-2); margin-left: 4px; }

.price-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.price-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }

/* faq */
.faq-wrap { max-width: 760px; }

#faq details { border-bottom: 1px solid var(--line); }
#faq details:first-of-type { border-top: 1px solid var(--line); }

#faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-weight: 600;
  font-size: 18px;
  color: var(--petrol);
}

#faq summary::-webkit-details-marker { display: none; }

#faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--aqua-ink);
  border-bottom: 2px solid var(--aqua-ink);
  transform: rotate(45deg);
  transition: transform .2s;
  margin-right: 4px;
}

#faq details[open] summary::after { transform: rotate(-135deg); }

#faq details p { color: var(--ink-2); font-size: 16px; padding: 0 0 24px; max-width: 64ch; }

/* cta finale */
#inizia { padding-top: 0; }

.cta-final {
  background: var(--petrol);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 72px 32px;
  text-align: center;
}

.cta-final h2 { color: #fff; margin-bottom: 14px; }
.cta-final p { color: var(--aqua-soft); font-size: 19px; max-width: 46ch; margin: 0 auto 32px; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer-brand p { color: var(--ink-2); margin-top: 14px; max-width: 30ch; }

.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 14px; font-weight: 600; }

.footer-grid a:not(.brand) {
  display: block;
  text-decoration: none;
  color: var(--ink-2);
  margin-bottom: 10px;
  transition: color .15s;
}

.footer-grid a:not(.brand):hover { color: var(--petrol); }

.disclaimer { color: var(--ink-2); max-width: 72ch; margin-bottom: 16px; font-size: 13px; }
.copy { color: var(--ink-3); font-size: 13px; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 22px; }
}

@media (max-width: 900px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-copy { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .trust-list { justify-content: center; }
  .hero-visual { padding: 32px 0; justify-content: center; }
  .hero-blob { inset: 0 12%; }
  .float-msg { left: 6%; }
  .float-appt { right: 6%; }

  .steps, .therapists, .reviews { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .price-copy p { margin-left: auto; margin-right: auto; }
  .price-card { justify-self: center; text-align: left; }

  .app-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 24px 8px;
    margin: 0 -24px;
    justify-items: initial;
    -webkit-overflow-scrolling: touch;
  }

  .app-row::-webkit-scrollbar { display: none; }
  .app-item { flex: 0 0 min(280px, 78vw); scroll-snap-align: center; max-width: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head p, .price-copy p, .cta-final p { font-size: 17px; }
  .lead { font-size: 18px; }
  .hero { padding-top: 36px; }
  :root { --phone-w: 240px; }
  .phone-sm { --phone-w: 230px; }
  .float-card { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px 0; padding: 24px 0; }
  .stat-v { font-size: 26px; }
  .features { grid-template-columns: 1fr; }
  .feature, .therapist, .step { padding: 24px; }
  .price-card { padding: 28px 24px; }
  .amount { font-size: 56px; }
  .cta-final { padding: 56px 24px; border-radius: var(--radius); }
  .btn-lg { padding: 14px 22px; font-size: 15px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .brand span { font-size: 20px; }
  .lang-btn { padding: 0 10px 0 8px; height: 34px; }
  .nav-actions { gap: 8px; }
}
