/* Dott. Davide Garau – Psicologo e Psicoterapeuta a Firenze */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #103775;
  --blue-soft: #2f84af;
  --text: #2c2c2c;
  --muted: #5b6472;
  --orange: #fa7447;
  --orange-hover: #ff865e;
  --orange-dark: #d9542a;
  --salmon: #f19475;
  --white: #fffefe;
  --mint: #e6f5f2;
  --teal: #abd2d7;
  --sky: #d3e5f2;
  --peach: #fddcce;
  --line: #cae4e8;

  --radius: 20px;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 110px);
  --header-h: 80px;
  --shadow: 0 18px 40px -24px rgba(16, 55, 117, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { color: var(--blue); line-height: 1.2; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 400; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 700; }
h4 { font-size: 19px; font-weight: 700; color: var(--orange); }
p { margin: 0 0 1em; }
strong { font-weight: 700; color: var(--blue); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 920px; margin-left: auto; margin-right: auto; }
.container-text { max-width: 860px; }
.center { text-align: center; }
.section { padding: var(--section) 0; }
.section-tight { padding: 0 0 var(--section); }

.kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ---------- Pulsanti e link */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 38px;
  border: 2px solid var(--orange);
  border-radius: 100px;
  background: var(--orange);
  color: #fff;
  font: inherit; font-size: 16px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; line-height: 1.2;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; transform: translateY(-1px); }
.btn-small { padding: 10px 24px; font-size: 14px; letter-spacing: 1.2px; }
.btn-outline { background: transparent; color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-ghost-light { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--orange); }
.btn[disabled] { opacity: .6; cursor: wait; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange); font-weight: 700; text-decoration: none;
  font-size: 15px; text-transform: uppercase; letter-spacing: 1.2px;
}
.link-arrow::after { content: "→"; transition: transform .2s; }
a.link-arrow:hover::after, .card:hover .link-arrow::after { transform: translateX(4px); }

.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(16, 55, 117, .3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.logo img { width: 200px; height: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px;
  border: 0; background: none;
  color: var(--blue); font: inherit; font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer;
}
.nav-list > li > a:hover, .sub-toggle:hover, .nav-list a[aria-current], .has-sub.is-active > .sub-toggle { color: var(--orange); }
.sub-toggle::after {
  content: ""; width: 7px; height: 7px; margin-top: -4px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 3px; }
.sub-menu {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: 100%; left: -10px; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .sub-toggle[aria-expanded="true"] + .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--blue); font-size: 15px; text-decoration: none; line-height: 1.35; }
.sub-menu a:hover, .sub-menu a[aria-current] { background: var(--mint); color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: inline-flex; gap: 4px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-decoration: none; color: var(--muted); }
.lang-switch .lang-current { color: var(--blue); }
.lang-switch .lang-sep { color: var(--teal); }
.lang-switch:hover .lang-other { color: var(--orange); }

.nav-toggle { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  /* il filtro sfocato renderebbe il menu a tutto schermo relativo all'header */
  .site-header { backdrop-filter: none; background: #fff; }
  .logo img { width: 170px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2px; background: var(--blue); border-radius: 2px; position: relative; transition: transform .25s, background .25s;
  }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px;
    background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .sub-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 18px; }
  .sub-menu {
    position: static; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: none; }
  .sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
  .sub-menu a { padding: 10px 14px; font-size: 16px; }
  .nav-actions { justify-content: space-between; padding-top: 24px; }
  .nav-actions .btn { flex: 1; max-width: 260px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Home: apertura */

.hero {
  position: relative;
  min-height: min(640px, 82vh);
  display: flex; align-items: center;
  padding: 64px 0;
  background:
    linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255, 255, 255, .85) 46%, rgba(255, 255, 255, 0) 66%),
    var(--hero-img) right center / cover no-repeat;
  overflow: hidden;
}
.hero-inner > * { max-width: 600px; }
.hero-title { margin-bottom: 26px; font-weight: 400; line-height: 1.3; }
/* evidenziatore: copre solo il corpo della parola (non tocca la riga sopra) e non sposta il testo */
.hero-title mark {
  color: inherit;
  background: linear-gradient(to bottom, transparent 22%, var(--sky) 22%, var(--sky) 90%, transparent 90%);
  padding: 0 .14em;
  margin: 0 -.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-title strong { font-weight: 700; }
.hero-text { font-size: clamp(18px, 2vw, 22px); margin-bottom: 30px; }
.hero-text p { margin: 0; }

@media (max-width: 820px) {
  .hero {
    min-height: 0; padding: 0 0 56px; display: block;
    background: #fff;
  }
  .hero::before {
    content: ""; display: block; height: 240px; margin-bottom: 28px;
    background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 45%), var(--hero-img) 72% center / cover no-repeat;
  }
}

/* ---------- Home: introduzione */

.intro { background: url("../img/pattern.svg") center / min(780px, 90%) no-repeat; }
.title-split { font-weight: 400; }
.title-split span, .title-split strong { display: block; }
.title-split strong { font-weight: 700; }
.intro-text { font-size: 17px; }

/* ---------- Sezioni con immagine e testo */

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 80px); }
.split + .split { margin-top: var(--section); }
.split-reverse .split-media { order: 2; }
.split-text > :last-child { margin-bottom: 0; }
.split-text .btn, .split-text .link-arrow { margin-top: 10px; }
.about-photo { width: 100%; max-width: 480px; margin: 0 auto; }

.blob { position: relative; max-width: 520px; margin: 0 auto; }
.blob::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/Ellipse-right.svg") center / contain no-repeat;
  transform: translate(4%, 4%);
}
.blob-left::before { background-image: url("../img/Ellipse-left.svg"); transform: translate(-4%, 4%); }
.blob img { position: relative; width: 100%; border-radius: 28px; }
.blob-photo::before { display: none; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* ---------- Home: aree di intervento */

.areas { background: linear-gradient(180deg, #f7fbff 0%, var(--sky) 45%, var(--teal) 100%); }
.section-head { margin-bottom: 48px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon { width: auto; height: 64px; margin-bottom: 22px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-text { font-size: 15.5px; flex: 1; }
.card .link-arrow { margin-top: 8px; }
.card-accent {
  justify-content: center; align-items: center; text-align: center;
  background: var(--salmon) url("../img/pattern-2.svg") center / cover no-repeat;
  border-color: var(--salmon); color: #fff;
}
.card-accent h3, .card-accent strong { color: #fff; }
.card-accent .card-text { flex: none; margin-bottom: 20px; }
.card-accent:hover { transform: none; box-shadow: none; }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
}

/* ---------- Home: dove ricevo */

.where {
  padding: clamp(56px, 7vw, 80px) 0;
  background:
    linear-gradient(90deg, #fff 0%, #fff 32%, rgba(255, 255, 255, .7) 50%, rgba(255, 255, 255, 0) 70%),
    var(--where-img) right center / cover no-repeat;
  background-color: #f6f7f8;
}
.where-inner > * { max-width: 460px; }
.addresses { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.address { display: flex; gap: 16px; align-items: flex-start; }
.ico-pin {
  width: 42px; height: 42px; padding: 9px;
  border-radius: 50%; background: var(--peach); color: var(--orange);
}
.address h3 { font-size: 19px; margin: 6px 0 4px; }
.address-lines { margin: 8px 0 6px; }
.address-note { font-size: 15px; color: var(--muted); }
.address-note p { margin-bottom: .5em; }

@media (max-width: 820px) {
  .where { background: #fff; padding-top: 0; }
  .where::before {
    content: ""; display: block; height: 200px; margin-bottom: 32px;
    background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 40%), var(--where-img) 80% center / cover no-repeat;
  }
}

/* ---------- Home: come funziona */

.how-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.how-grid > h2 { position: sticky; top: calc(var(--header-h) + 32px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.step-icon { width: 40px; height: auto; margin-top: 2px; }
.step h3 { font-size: 19px; color: var(--orange); margin-bottom: 6px; }
.step p { margin-bottom: .6em; }

@media (max-width: 820px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-grid > h2 { position: static; }
}

/* ---------- Blocco contatti con modulo */

.contact-block { background: var(--mint); }
.contact-info h2 { font-size: clamp(26px, 3vw, 34px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list .ico { color: var(--blue); }

.contact-form {
  display: grid; gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { color: var(--blue-soft); font-size: 15px; font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--teal); border-radius: 8px;
  background: #fff; color: var(--text);
  font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-soft); box-shadow: 0 0 0 3px rgba(47, 132, 175, .18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--blue-soft); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.contact-form .btn { justify-self: start; }
.form-error { margin: 0; padding: 12px 16px; border-radius: 10px; background: #fdecea; color: #a02a10; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-form .btn { justify-self: stretch; }
}

/* ---------- Pagine interne */

.page-hero {
  position: relative;
  padding: clamp(40px, 6vw, 72px) 0 clamp(44px, 6vw, 80px);
  background: linear-gradient(180deg, #fff 0%, var(--mint) 100%);
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -60px; width: 620px; height: 560px;
  background: url("../img/pattern.svg") center / contain no-repeat; opacity: .55; pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; align-items: center; gap: 48px; }
.page-hero.has-image .page-hero-inner, .page-hero.has-icon .page-hero-inner { grid-template-columns: 1.3fr 1fr; }
.page-hero h1 { margin-bottom: 18px; max-width: 760px; }
.lead { font-size: clamp(18px, 2vw, 21px); max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.page-hero-media .blob { max-width: 380px; }
.page-hero-media .blob-photo { max-width: 340px; }
.icon-badge {
  display: grid; place-items: center;
  width: 190px; height: 190px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 50%;
  box-shadow: var(--shadow);
}
.icon-badge img { width: auto; height: 96px; }

@media (max-width: 820px) {
  .page-hero.has-image .page-hero-inner, .page-hero.has-icon .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-media { order: -1; }
  .page-hero-media .blob { max-width: 260px; }
  .icon-badge { width: 120px; height: 120px; margin: 0; }
  .icon-badge img { height: 62px; }
}

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.side-heading { font-size: 26px; }
@media (max-width: 900px) {
  .page-grid, .contact-page-grid { grid-template-columns: 1fr; }
}

/* Testo delle pagine */
.prose { font-size: 17px; max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 1.6em 0 .6em; }
.prose h3 { font-size: 21px; margin: 1.4em 0 .5em; }
.prose h4 { margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.2em; list-style: none; }
.prose li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.prose ul > li::before {
  content: ""; position: absolute; left: 6px; top: .62em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--orange);
}
.prose ol { counter-reset: item; }
.prose ol > li { counter-increment: item; }
.prose ol > li::before { content: counter(item) "."; position: absolute; left: 4px; color: var(--orange); font-weight: 700; }
.prose blockquote {
  position: relative;
  margin: 2em 0; padding: 28px 32px 28px 76px;
  background: var(--mint); border-radius: var(--radius);
  color: var(--blue); font-size: 19px; font-weight: 500; line-height: 1.6;
}
.prose blockquote::before {
  content: "“"; position: absolute; left: 24px; top: 6px;
  color: var(--orange); font-size: 76px; font-weight: 700; line-height: 1;
}
.prose blockquote p:last-child { margin-bottom: 0; }

/* Barra laterale */
.sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-title { font-size: 19px; margin-bottom: 14px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a {
  display: block; padding: 10px 14px; margin: 0 -14px;
  border-radius: 10px; text-decoration: none; font-weight: 500; line-height: 1.35;
}
.side-nav a:hover { background: var(--mint); color: var(--blue); }
.side-nav a[aria-current] { background: var(--peach); color: var(--orange-dark); font-weight: 700; }
.side-contact { background: var(--mint); border-color: var(--mint); }
.side-contact p { font-size: 15px; }
.side-contact .contact-list { margin: 0 0 20px; }
@media (max-width: 900px) {
  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .2s; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none;
  color: var(--blue); font-size: 18px; font-weight: 700; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--peach); color: var(--orange); font-size: 22px; font-weight: 500;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 8px; }

/* Riquadro "Prenota" in fondo alle pagine */
.cta-card {
  padding: clamp(36px, 6vw, 64px);
  border-radius: var(--radius);
  background: var(--salmon) url("../img/pattern-2.svg") right center / auto 140% no-repeat;
  color: #fff; text-align: center;
}
.cta-card h2, .cta-card strong { color: #fff; }
.cta-text { max-width: 620px; margin: 0 auto 26px; font-size: 17px; }

/* ---------- Footer */

.site-footer { border-top: 1px solid var(--line); }
.footer-top { display: grid; justify-items: center; gap: 16px; padding-top: 56px; padding-bottom: 40px; text-align: center; }
.footer-logo img { width: 240px; }
.footer-tagline { letter-spacing: .5px; }
.footer-tagline p { margin: 0; }
.footer-contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; font-size: 15px; color: var(--muted); }
.footer-contacts a { color: var(--muted); text-decoration: none; }
.footer-contacts a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--line); padding: 20px 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--blue); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Animazione d'ingresso leggera */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Ritocchi per schermi piccoli */

.card-icon { align-self: flex-start; }

.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.footer-legal > span + span::before { content: "|"; margin: 0 10px; color: var(--teal); }

@media (max-width: 640px) {
  /* paragrafi lunghi: allineati a sinistra per leggerli meglio */
  .intro-text, .section-head p { text-align: left; }
  .card-accent .card-text { text-align: left; }

  /* la decorazione dietro le foto non deve uscire dallo schermo */
  .split-media { max-width: 88%; }
  .blob::before { transform: translate(3%, 3%); }
  .blob-left::before { transform: translate(-3%, 3%); }

  .footer-legal { flex-direction: column; align-items: center; gap: 2px; }
  .footer-legal > span + span::before { content: none; }
  .footer-contacts { flex-direction: column; align-items: center; font-size: 14px; }
}

/* Contenitori a tutta larghezza (area hero e prima sezione della Home) */
.container-full { max-width: none; padding-left: clamp(16px, 5vw, 96px); padding-right: clamp(16px, 5vw, 96px); }
.hero .container-full { padding-left: clamp(16px, 12vw, 280px); }
.hero .container-full > * { max-width: min(860px, 46vw); }
.hero .kicker { font-size: clamp(15px, 1.2vw, 18px); }
.hero-title { font-size: clamp(36px, 4.3vw, 68px); }
.hero-text { font-size: clamp(18px, 1.7vw, 26px); }
.intro { background-size: min(1400px, 100%); }
.intro-text { max-width: 880px; margin-left: auto; margin-right: auto; }
@media (max-width: 820px) {
  .hero .container-full { padding-left: 16px; }
  .hero .container-full > * { max-width: none; }
}
@media (min-width: 821px) and (max-width: 1200px) {
  .hero {
    background:
      linear-gradient(90deg, #fff 0%, #fff 44%, rgba(255, 255, 255, .85) 54%, rgba(255, 255, 255, 0) 74%),
      var(--hero-img) 75% center / cover no-repeat;
  }
}

/* Voci di menu evidenziate: un piccolo distacco così gli sfondi non si toccano */
.side-nav ul { display: grid; gap: 6px; }
.sub-menu { display: grid; gap: 4px; }
@media (max-width: 1080px) {
  .sub-menu { display: none; }
  .sub-toggle[aria-expanded="true"] + .sub-menu { display: grid; }
}

/* Banner per il consenso ai cookie */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 18px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 50px -20px rgba(16, 55, 117, .45);
  font-size: 14.5px; line-height: 1.55;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { min-width: 110px; }
.link-button { padding: 0; border: 0; background: none; color: var(--blue); font: inherit; cursor: pointer; }
.link-button:hover { color: var(--orange); }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; left: 10px; right: 10px; bottom: 10px; }
  .cookie-actions .btn { flex: 1; }
}

/* ---------- Blog */

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.post-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-media { aspect-ratio: 16 / 10; background: var(--mint); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.post-card h2 { font-size: 21px; margin: 0 0 10px; }
.post-card h2 a { color: inherit; text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.post-card p { font-size: 15.5px; }
.post-card .link-arrow { margin-top: auto; }
.post-date { margin: 0 0 8px; color: var(--orange); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }
.blog-empty { font-size: 18px; color: var(--muted); }
.post-back { margin-top: 2.5em; }
/* selettore di lingua comodo da toccare col dito */
.lang-switch { padding: 10px 6px; }
@media (max-width: 1080px) { .lang-switch { padding: 12px 8px; font-size: 15px; } }

/* ---------- Pagina "Grazie" dopo l'invio del modulo */

.thanks { background: linear-gradient(180deg, #fff 0%, var(--mint) 100%); }
.thanks-card {
  max-width: 700px; margin: 0 auto; padding: clamp(32px, 6vw, 56px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center;
}
.thanks-icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px;
  border-radius: 50%; background: var(--peach);
}
.thanks-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.thanks-card h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.thanks-card .lead { margin: 0 auto; }
.thanks-text { margin-top: 14px; }
.thanks-phone { margin: 22px 0 0; color: var(--muted); font-size: 15.5px; }
.thanks-phone a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
@media (max-width: 520px) { .thanks-actions .btn { flex: 1 1 100%; } }
