/* ---------- Variabili: colori e font stimati dagli screenshot ---------- */
:root {
  --green: #236b5e;        /* titoli, bottone principale, testo bio */
  --green-dark: #1b5a4e;   /* parti in grassetto della bio */
  --green-light: #3a9b7f;  /* voce di menu attiva (Home) */
  --sage: #d9e3da;         /* sfondo hero e "Primo Colloquio" */
  --mint: #c8f5df;         /* bottone secondario */
  --bar: #7ba66b;          /* barra sotto "Un approccio..." */
  --text: #111111;

  --font-head: "Wix Madefor Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Rubik", Arial, sans-serif;
  --font-btn:  "Oswald", "Arial Narrow", sans-serif;
  --font-script: "Satisfy", "Brush Script MT", cursive;
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 26px; text-decoration: none; }
.logo { width: 48px; height: 52px; flex: none; }
.brand-text { display: flex; flex-direction: column; color: var(--green); }
.brand-name { font-family: var(--font-body); font-weight: 400; font-size: 24px; line-height: 1.3; }
.brand-role { font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.5; }

.main-nav ul { list-style: none; display: flex; gap: 20px; align-items: center; }
.main-nav a {
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  color: var(--text);
}
.main-nav a:hover { color: var(--green-light); }
.main-nav a.active { color: var(--green-light); }

.has-sub { position: relative; }
.submenu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: -14px;
  flex-direction: column;
  align-items: stretch !important;
  gap: 0 !important;
  min-width: 210px;
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
}
.submenu a { display: block; padding: 8px 18px; white-space: nowrap; }
.has-sub:hover .submenu,
.has-sub:focus-within .submenu { display: flex !important; }

/* ---------- Hero ---------- */
.hero {
  background: var(--sage);
  padding: 24px 20px 56px;
}
.hero-photo {
  width: 159px;
  height: 183px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 56px;
}
.hero-inner { max-width: 750px; margin: 0 auto; }

.hero h1 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 60px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 24px;
}
.script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.15em;
  color: var(--green);
}
.hero-lead { font-size: 20px; line-height: 1.45; margin-bottom: 28px; }
.hero-lead strong, .bio strong { font-weight: 500; }

.buttons { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-bottom: 36px; }
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 8px;
  text-decoration: none;
  transition: filter .2s;
}
.btn:hover { filter: brightness(.94); }
.btn-primary {
  width: 362px;
  background: var(--green);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
}
.btn-secondary {
  width: 293px;
  background: var(--mint);
  color: var(--text);
  font-family: var(--font-btn);
  font-weight: 400;
  font-size: 18px;
}
.hero-info { display: flex; flex-wrap: wrap; gap: 8px 56px; font-size: 20px; }

/* ---------- Un approccio centrato sulla persona ---------- */
.approach {
  max-width: 1000px;
  margin: 0 auto;
  padding: 36px 20px 40px;
  text-align: center;
  font-size: 19px;
  line-height: 1.8;
}
.approach h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  color: var(--text);
}
.bar { display: block; width: 152px; height: 4px; background: var(--bar); margin: 14px auto 26px; }
.approach .italic { font-style: italic; margin-bottom: 26px; }
.approach .left { text-align: left; }

/* ---------- Primo Colloquio ---------- */
.first-meeting { background: var(--sage); padding: 16px 20px 18px; }
.first-inner { max-width: 1120px; margin: 0 auto; color: var(--green); }
.first-meeting h2 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.3;
}
.first-meeting p { max-width: 830px; font-size: 19px; line-height: 1.65; }

/* ---------- Bio ---------- */
.bio {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  color: var(--green);
}
.bio > * { max-width: 720px; }
.bio h2 { font-family: var(--font-head); font-weight: 500; font-size: 52px; line-height: 1.2; }
.bio h3 { font-family: var(--font-head); font-weight: 500; font-size: 28px; line-height: 1.3; margin: 8px 0 36px; }
.bio p + p { margin-top: 1.1em; }
.bio strong { color: var(--green-dark); }

/* ---------- Blog ---------- */
.blog {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post { background: #fff; border: 1px solid var(--sage); border-radius: 10px; padding: 16px; }
.post img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; margin-bottom: 14px; }
.post a { text-decoration: none; }
.post h3 { font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--green); margin-bottom: 10px; }
.post a:hover h3 { color: var(--green-light); }
.post p { font-size: 15px; line-height: 1.6; }

/* ---------- Galleria ---------- */
.gallery {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 56px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: 12px;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.g1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.g2 { grid-column: 3 / 5; grid-row: 1 / 3; }
.g3 { grid-column: 5 / 7; grid-row: 1 / 4; }
.g4 { grid-column: 1 / 3; grid-row: 3 / 5; }
.g5 { grid-column: 3 / 5; grid-row: 3 / 5; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  font-size: 16px;
  line-height: 1.8;
}
.f-name { font-family: var(--font-head); font-weight: 500; font-size: 22px; }
.copy { margin-top: 14px; font-size: 14px; opacity: .75; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .header-inner { flex-direction: column; align-items: flex-start; padding: 16px 20px; }
  .main-nav ul { flex-wrap: wrap; gap: 6px 18px; }
  .site-header { position: static; }
  .hero h1 { font-size: 40px; }
  .hero h1 br { display: none; }
  .btn-primary, .btn-secondary { width: 100%; }
  .approach h2 { font-size: 30px; }
  .bio h2 { font-size: 38px; }
  .bio h3 { font-size: 22px; }
  .blog { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g1, .g2, .g3, .g4, .g5 { grid-column: auto; grid-row: auto; }
}

/* ===== Aggiunte mobile-first e pagine interne ===== */
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; height: 3px; background: #111; margin: 6px 0; }
.page { max-width: 820px; margin: 0 auto; padding: 36px 20px 56px; color: var(--green); }
.page h1 { font-family: var(--font-head); font-weight: 500; font-size: 40px; line-height: 1.2; text-transform: uppercase; margin-bottom: 20px; }
.page h1.center { text-align: center; text-transform: none; font-size: 44px; margin-bottom: 32px; }
.page h2, .page h3 { font-family: var(--font-head); font-weight: 500; font-size: 28px; line-height: 1.25; margin: 34px 0 10px; }
.page p, .page li { font-size: 18px; line-height: 1.9; }
.page ul { padding-left: 24px; margin: 8px 0; }
.page strong { font-weight: 500; }
.page.dark, .page.dark p { color: var(--text); }
.page .sub { font-style: italic; font-family: var(--font-head); font-size: 26px; line-height: 1.4; color: var(--text); margin-bottom: 18px; }
.pill { display: inline-block; border: 1.5px solid var(--green); border-radius: 40px; padding: 10px 28px; color: var(--green); text-decoration: none; font-size: 18px; margin: 10px 0 20px; }
.pill:hover { background: var(--green); color: #fff; }
.who { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.who img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex: none; }
.who h1 { margin: 0; font-size: 34px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card { border: 1px solid #e3e3e3; text-align: left; padding-bottom: 20px; }
.card img { width: 150px; height: 120px; object-fit: cover; margin: 0 auto 18px; }
.card h2 { font-size: 24px; margin: 0 20px 8px; }
.card p { margin: 0 20px 14px; font-size: 17px; line-height: 1.7; }
.card a { margin: 0 20px; color: var(--green); text-decoration: none; font-size: 17px; }
.center-wrap { text-align: center; }

@media (max-width: 900px) {
  .site-header { position: sticky; }
  .header-inner { flex-direction: row; align-items: center; padding: 12px 16px; }
  .brand { gap: 12px; }
  .brand-name { font-size: 17px; color: var(--text); }
  .brand-role { font-size: 14px; color: var(--text); }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--sage); box-shadow: 0 8px 16px rgba(0,0,0,.08); padding: 8px 20px 16px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { display: block; padding: 12px 0; font-size: 18px; }
  .submenu, .has-sub:hover .submenu { display: block !important; position: static; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .submenu a { padding: 8px 0; font-size: 16px; }
  .page h1 { font-size: 28px; }
  .page h1.center { font-size: 36px; }
  .page h2, .page h3 { font-size: 24px; }
  .page p, .page li { font-size: 17px; }
  .page .sub { font-size: 22px; }
  .who img { width: 128px; height: 128px; }
  .who h1 { font-size: 28px; }
  .hero h1 { font-size: 38px; }
  .hero-lead, .hero-info { font-size: 18px; }
}

/* ===== Il modello, Tariffe, Contatti, Servizi ===== */
.page blockquote { border-left: 4px solid var(--bar); padding: 4px 0 4px 18px; margin: 0 0 28px; font-style: italic; font-weight: 300; }
.page blockquote p { margin: 0 0 .7em; }
.page blockquote cite { font-size: 16px; }
.page a:not(.pill):not(.btn) { color: var(--green); }
.note { background: var(--sage); border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 24px 0; }
.price { border: 1px solid #e3e3e3; border-top: 5px solid var(--green); padding: 22px; text-align: center; }
.price h2 { font-size: 22px; margin: 0 0 6px; text-transform: uppercase; }
.price .mode { margin: 0; font-size: 16px; }
.price .amount { font-family: var(--font-head); font-size: 40px; font-weight: 500; line-height: 1.3; margin: 8px 0 0; }
.price.soft { border-top-color: var(--bar); background: #fafcfa; }
.contact-box { display: grid; gap: 14px; margin: 18px 0 30px; }
.contact-box a { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 8px; text-decoration: none !important; font-size: 18px; }
.contact-box .c-main { background: var(--green); color: #fff !important; }
.contact-box .c-alt { background: var(--mint); color: var(--text) !important; }
.contact-box .c-line { border: 1.5px solid var(--green); color: var(--green) !important; }
.form { display: grid; gap: 14px; margin-top: 12px; }
.form label { font-size: 16px; display: grid; gap: 4px; }
.form input, .form textarea { font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid #bcc9c3; border-radius: 8px; color: var(--text); width: 100%; }
.form textarea { min-height: 130px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.form .check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form button { background: var(--green); color: #fff; border: 0; border-radius: 8px; min-height: 52px; font-size: 18px; cursor: pointer; font-family: inherit; }
.form button:hover { background: var(--green-dark); }
.hp { position: absolute; left: -9999px; }
.card.text-card { padding-top: 22px; border-top: 5px solid var(--green); }
.card.text-card h2 { margin-top: 0; }
.cta { text-align: center; margin-top: 30px; }

/* ===== Pagine di dettaglio aree di intervento ===== */
.back { display: inline-block; margin-bottom: 14px; font-size: 16px; text-decoration: none; }
.page .area-img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 10px; margin: 6px 0 24px; }
.area-sub { font-size: 20px; font-weight: 400; margin-bottom: 20px; }
.steps { background: var(--sage); border-radius: 12px; padding: 4px 22px 18px; margin-top: 30px; }

.page ol { padding-left: 24px; margin: 8px 0 16px; }
.page ol li { margin-bottom: 8px; }
.page .area-img.wide { max-height: 300px; }

/* ===== Blog ===== */
.crumbs { font-size: 14px; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.post-meta { font-size: 15px; color: #5d7a72; margin: -8px 0 18px; }
.page h1.post-title { text-transform: none; font-size: 36px; }
.related { margin-top: 40px; border-top: 1px solid var(--sage); padding-top: 8px; }
.related ul { list-style: none; padding: 0; }
.related li { margin: 8px 0; }
@media (max-width: 900px) { .page h1.post-title { font-size: 28px; } }

/* ---------- Banner cookie (statistiche con consenso) ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--sage); color: var(--text);
  padding: 14px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 24px;
  font-family: var(--font-body); font-size: 15px; line-height: 1.5; box-shadow: 0 -2px 8px rgba(0,0,0,.15); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; max-width: 760px; }
.cookie-banner a { color: var(--green-dark); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button { font-family: var(--font-btn); font-size: 16px; padding: 8px 22px; border: 2px solid var(--green);
  background: var(--green); color: #fff; border-radius: 30px; cursor: pointer; }
.cookie-actions button.secondary { background: transparent; color: var(--green-dark); }
#cookie-settings { cursor: pointer; }

/* ---------- Contatto guidato (form a passi) ---------- */
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.form fieldset[hidden] { display: none; }
.form legend { font-family: var(--font-head); font-size: 22px; font-weight: 500; padding: 0; margin-bottom: 8px; outline: none; }
.form .sub-q { margin: 14px 0 2px; font-size: 16px; }
.form label.opt { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid #bcc9c3; border-radius: 8px; cursor: pointer; font-size: 17px; }
.form label.opt input { width: 20px; height: 20px; flex: none; margin: 0; }
.form label.opt:has(input:checked) { background: var(--sage); border-color: var(--green); }
.form .wizard-label { margin: 0; font-size: 15px; color: var(--green-dark); }
.form .wizard-nav { display: flex; gap: 10px; }
.form .wizard-nav[hidden], .form .wizard-label[hidden] { display: none; }
.form .wizard-nav button { flex: 1; }
.form .wizard-nav button[hidden] { display: none; }
.form .wizard-nav .back { background: transparent; color: var(--green-dark); border: 2px solid var(--green); }
.form .after { margin: 0; font-size: 15px; }
.pay { padding-left: 20px; line-height: 1.6; }

/* ---------- Barra "Chiama / WhatsApp" (solo smartphone) ---------- */
.quick-contact { display: none; }
@media (max-width: 900px) {
  .quick-contact { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--sage); box-shadow: 0 -2px 8px rgba(0,0,0,.12); }
  .quick-contact a { flex: 1; text-align: center; padding: 14px 8px; font-family: var(--font-btn); font-size: 18px; text-decoration: none; }
  .quick-contact .qc-call { background: var(--green); color: #fff; }
  .quick-contact .qc-wa { background: var(--mint); color: var(--text); }
  body { padding-bottom: 54px; }
}

/* ---------- Orientamento (home) ---------- */
.orienta { background: #fff; border-radius: 12px; padding: 20px 22px 22px; margin-top: 22px; max-width: 830px; }
.orienta h3 { color: var(--green); font-family: var(--font-head); font-size: 24px; margin-bottom: 6px; }
.orienta-lead { font-size: 16px !important; line-height: 1.55; margin-bottom: 12px; }
.orienta-step-n { font-size: 14px !important; color: #555; margin-bottom: 4px; }
.orienta fieldset { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.orienta fieldset[hidden], .orienta [hidden] { display: none !important; }
.orienta legend { color: var(--green); font-weight: 500; font-size: 19px; margin-bottom: 8px; }
.orienta label { display: inline-block; margin: 0 16px 8px 0; font-size: 17px; }
.orienta select { width: 100%; max-width: 480px; font: inherit; font-size: 17px; padding: 10px; border: 1px solid var(--green); border-radius: 8px; background: #fff; }
.orienta input[type=radio], .orienta input[type=checkbox] { accent-color: var(--green); margin-right: 6px; }
.o-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; }
.o-next, .o-back { font: inherit; font-size: 17px; cursor: pointer; border-radius: 999px; padding: 9px 22px; line-height: 1; font-size: 22px; }
.o-next { background: var(--green); color: #fff; border: 1px solid var(--green); margin-left: auto; }
.o-back { background: transparent; color: var(--green); border: 1px solid var(--green); }
.orienta-out { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 12px; }
.orienta-note { flex-basis: 100%; font-size: 15px !important; line-height: 1.5; color: #444; }
@media (max-width: 600px) { .orienta-out .btn { width: 100%; text-align: center; } .orienta label { display: block; } }

.o-early { display: inline-block; margin-top: 12px; color: var(--green); font-size: 17px; text-decoration: underline; }

/* ---------- Per approfondire / link area ---------- */
.approf { margin-top: 30px; }
.approf ul { list-style: none; padding: 0; margin: 0; }
.approf li { font-family: var(--font-body); border-left: 3px solid var(--sage); padding: 4px 0 4px 14px; margin: 0 0 16px; line-height: 1.5; }
.approf li a { text-decoration: none; }
.approf li a:hover strong { text-decoration: underline; }
.approf li span { font-size: 16px; color: #333; }
.area-link { margin: 28px 0 8px; padding: 12px 16px; background: var(--sage); border-radius: 10px; }
