/* =========================================================
   Fisiomedical Center — foglio di stile
   Palette "alpina": verde pino, ghiacciaio, larice d'autunno
   ========================================================= */

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/public-sans-latin-wght-normal.woff2) format("woff2-variations");
}
@font-face {
  font-family: "Public Sans";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/public-sans-latin-wght-italic.woff2) format("woff2-variations");
}

:root {
  --pine: #1d2124;
  --pine-2: #353b40;
  --pine-3: #4d555b;
  --glacier: #eef2f3;
  --glacier-2: #dce4e7;
  --paper: #fbfcfc;
  --ink: #16191b;
  --muted: #5a6369;
  --larch: #17898a; /* accento: acqua */
  --larch-soft: #d9efee;
  --line: #d2dbdf;

  --font-display: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: clamp(0.88rem, 0.85rem + 0.1vw, 0.94rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.1rem);
  --step-1: clamp(1.3rem, 1.2rem + 0.45vw, 1.55rem);
  --step-2: clamp(1.6rem, 1.4rem + 0.9vw, 2.15rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.3vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.4vw, 3.7rem);

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-s: 3px;
  --radius-l: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--pine-2); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--pine); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--larch); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: var(--step-4); font-weight: 750; letter-spacing: -0.025em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--muted); max-width: 38ch; }
.prose { max-width: 66ch; }
.muted { color: var(--muted); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tint { background: var(--glacier); }
.section--pine { background: var(--pine); color: #eef1f2; }
.section--pine a { color: #fff; }
.section--pine .muted { color: #b4bdc2; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand img { display: block; height: 54px; width: auto; }
@media (max-width: 560px) { .brand img { height: 42px; } }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--muted); letter-spacing: 0; margin-top: .25rem; }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .98rem;
  padding: .5rem .7rem; border-radius: var(--radius-s);
}
.nav a:hover { background: var(--glacier); }
.nav a[aria-current="page"] { color: var(--pine); box-shadow: inset 0 -2px 0 var(--larch); border-radius: 0; }
.nav-toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 600 1rem/1 var(--font-body);
  padding: .95rem 1.35rem; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--pine); color: #fff; }
.btn--primary:hover { background: var(--pine-2); color: #fff; }
.btn--ghost { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn--ghost:hover { background: var(--pine); color: #fff; }
.btn--light { background: #fff; color: var(--pine); }
.btn--light:hover { background: var(--larch-soft); color: var(--pine); }
.header-call { padding: .7rem 1.05rem; font-size: .95rem; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .45rem;
    background: none; border: 1.5px solid var(--line); border-radius: 999px;
    padding: .55rem .9rem; font: 600 .95rem var(--font-body); color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .nav {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--glacier); border-radius: 0; font-size: 1.08rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--larch); padding-left: .85rem; }
  .header-call { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 5rem); overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, var(--glacier) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 { max-width: 12ch; margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hours-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 1.6rem 1.7rem 1.4rem;
  box-shadow: 0 30px 60px -40px rgba(29, 33, 36, .35);
}
.hours-card h2 { font-size: var(--step-1); margin-bottom: .2em; }
.open-state { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; margin-bottom: 1rem; color: var(--muted); }
.open-state::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #9aa3a8; }
.open-state.is-open { color: var(--pine-2); }
.open-state.is-open::before { background: #2f9a6a; box-shadow: 0 0 0 4px #2f9a6a22; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th { text-align: left; font-weight: 500; color: var(--muted); padding: .55rem 0; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; padding: .55rem 0; }
.hours tr + tr { border-top: 1px solid var(--glacier-2); }
.hours-note { font-size: .92rem; color: var(--muted); margin: 1rem 0 0; }

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

/* ---------- Page header (pagine interne) ---------- */
.page-head { background: var(--glacier); padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: var(--step-4); max-width: 16ch; }
.page-head .lead { max-width: 52ch; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

/* ---------- Split / approccio ---------- */
.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split > :first-child h2 { position: sticky; top: 100px; }
.quote { border-left: 3px solid var(--larch); padding: .2rem 0 .2rem 1.2rem; margin: 2rem 0 0; font-size: var(--step-1); line-height: 1.4; font-family: var(--font-display); font-weight: 500; }
.quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .95rem; color: var(--muted); margin-top: .7rem; font-weight: 500; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > :first-child h2 { position: static; } }

/* ---------- Gruppi terapie ---------- */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 2.5rem; }
.group { padding: 1.8rem 1.6rem 1.6rem 0; }
.group + .group { padding-left: 1.6rem; border-left: 1px solid var(--line); }
.group h3 { display: flex; align-items: center; gap: .6rem; }
.group h3 svg { width: 28px; height: 28px; color: var(--larch); flex: none; }
.group ul { list-style: none; padding: 0; margin: 0; }
.group li { padding: .42rem 0; border-bottom: 1px dashed var(--glacier-2); }
.group li:last-child { border-bottom: 0; }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; background: var(--larch-soft); color: #0f5c5d; padding: .1rem .5rem; border-radius: 999px; margin-left: .35rem; vertical-align: .1em; }
@media (max-width: 900px) {
  .groups { grid-template-columns: 1fr; }
  .group, .group + .group { padding: 1.5rem 0; border-left: 0; }
  .group + .group { border-top: 1px solid var(--line); }
}

/* ---------- Patologie ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 2rem; }
.area { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.5rem; }
.area h3 { margin-bottom: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--glacier); border-radius: 999px; padding: .3rem .8rem; font-size: .96rem; }
.section--tint .area { border-color: transparent; }

/* ---------- Teaser LIMFA ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature h2 { color: #fff; }
.feature .chips li { background: rgba(255,255,255,.1); color: #e8ecee; }
.pulse-art { width: 100%; height: auto; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* ---------- Corsi ---------- */
.courses { display: grid; gap: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.course { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.course h3 { font-size: var(--step-2); }
.course .for { font-weight: 600; color: var(--pine-2); }
@media (max-width: 760px) { .course { grid-template-columns: 1fr; gap: .5rem; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2rem; }
.person { background: #fff; border-radius: var(--radius-l); padding: 1.8rem; border: 1px solid var(--line); }
.person-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: #fff; font: 700 1.3rem var(--font-display); flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin: 0; }
.role { color: var(--muted); font-size: .98rem; margin: .1rem 0 0; }
.person ul { padding-left: 1.1rem; margin: 0; }
.person li { margin-bottom: .45rem; }
.timeline { list-style: none; padding: 0 !important; margin: 0; border-left: 2px solid var(--glacier-2); }
.timeline li { position: relative; padding: 0 0 .9rem 1.2rem; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--paper); border: 2px solid var(--larch); }
.timeline b { font-variant-numeric: tabular-nums; color: var(--pine); font-weight: 650; margin-right: .3rem; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

/* ---------- ASL ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius-l); padding: 1.4rem; border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--pine); color: #fff; font: 700 1rem var(--font-display); margin-bottom: .9rem; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.table-wrap { overflow-x: auto; margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-l); background: #fff; }
.codes { width: 100%; border-collapse: collapse; font-size: 1rem; }
.codes th, .codes td { padding: .8rem 1.1rem; text-align: left; vertical-align: top; }
.codes thead th { background: var(--glacier); font-weight: 650; }
.codes tbody tr + tr td { border-top: 1px solid var(--glacier-2); }
.codes td:first-child { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--pine-2); white-space: nowrap; }

.callout { background: var(--larch-soft); border-radius: var(--radius-l); padding: 1.3rem 1.5rem; margin-top: 1.5rem; }
.callout p:last-child { margin: 0; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.contact-list li { display: flex; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--larch); flex: none; margin-top: .2rem; }
.contact-list strong { display: block; font-weight: 600; }
.contact-list a { font-size: 1.1rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.4rem, 3vw, 2.2rem); }
.field { margin-bottom: 1.1rem; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: .35rem; font-size: 1rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .75rem .9rem; background: var(--paper);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pine-3); box-shadow: 0 0 0 4px var(--glacier-2); }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.1rem; }
.radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.radios label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; margin: 0; }
.radios input { width: auto; accent-color: var(--pine); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; margin-bottom: 1.2rem; }
.check input { margin-top: .3rem; accent-color: var(--pine); width: 1.05rem; height: 1.05rem; flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: #e3f3ea; color: #18553a; }
.form-status.err { display: block; background: #fbe9e5; color: #7a2717; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.map {
  position: relative; border-radius: var(--radius-l); overflow: hidden; background: var(--glacier-2);
  aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; margin-top: 1.5rem;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { padding: 1.5rem; max-width: 36ch; }
.map-consent p { font-size: .95rem; color: var(--muted); }

/* ---------- CTA band + footer ---------- */
.cta-band { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; max-width: 18ch; color: #fff; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.site-footer { background: #121517; color: #b4bdc2; padding: 3.5rem 0 6rem; font-size: .98rem; }
.site-footer a { color: #e8ecee; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-logo { height: 58px; width: auto; margin-bottom: 1.1rem; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: .8rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.legal { border-top: 1px solid #2b3135; margin-top: 2.5rem; padding-top: 1.2rem; font-size: .9rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Barra azioni rapide su mobile */
.quickbar { display: none; }
@media (max-width: 760px) {
  .quickbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: .6rem; right: .6rem; bottom: .6rem; z-index: 60;
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,.25);
  }
  .quickbar a { justify-content: center; padding: .8rem; }
}

.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.split-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.split-head p { max-width: 50ch; margin: 0; }

@media print {
  .site-header, .quickbar, .cta-band, .map { display: none !important; }
  body { font-size: 11pt; }
}

/* pulsanti chiari dentro le sezioni verdi */
.section--pine .btn--light, .section--pine .btn--light:hover { color: var(--pine); }


/* =========================================================
   Revisione grafica v2: più sobria, bordi al posto delle ombre,
   angoli netti, menu su una riga
   ========================================================= */

/* Barra informazioni */
.topbar { background: var(--pine); color: #c9d0d4; font-size: .88rem; }
.topbar-row { display: flex; align-items: center; gap: .4rem 2rem; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; }
.topbar a svg { width: 15px; height: 15px; }
.topbar a:hover { color: #9fe0e0; }
@media (max-width: 1080px) { .topbar span:nth-child(2), .topbar span:nth-child(3) { display: none; } }
@media (max-width: 560px) { .topbar { display: none; } }

/* Intestazione e menu */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { box-shadow: none; }
.header-row { min-height: 86px; gap: 2.5rem; }
.brand img { height: 50px; }
.nav { gap: 0; align-self: stretch; }
.nav a {
  display: flex; align-items: center; white-space: nowrap;
  font-weight: 560; font-size: .97rem; color: var(--ink);
  padding: 0 .85rem; border-radius: 0; position: relative;
}
.nav a:hover { background: none; color: var(--larch); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: none; }
.nav a[aria-current="page"]::after, .nav a:hover::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: -1px; height: 3px; background: var(--larch);
}
.nav a:hover::after { background: var(--line); }
.nav a[aria-current="page"]:hover::after { background: var(--larch); }
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .45rem; background: none; border: 1px solid var(--line);
    border-radius: var(--radius-s); padding: .6rem .9rem; font: 600 .95rem var(--font-body); color: var(--ink); cursor: pointer; }
  .nav-toggle svg { width: 18px; height: 18px; }
  .nav { position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: .25rem var(--gutter) 1rem; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--glacier-2); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--larch); padding-left: 0; box-shadow: none; }
  .header-row { min-height: 72px; }
  .brand img { height: 44px; }
}
@media (min-width: 1181px) { .nav-toggle { display: none; } }

/* Pulsanti: rettangolari */
.btn { border-radius: var(--radius-s); padding: .85rem 1.2rem; font-weight: 600; }
.btn--ghost { border-width: 1px; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--glacier); color: var(--ink); border-color: var(--pine-3); }

/* Hero */
.hero { background: var(--paper); padding-block: clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 14ch; }
.hero .lead { max-width: 44ch; }
.hero-grid { grid-template-columns: 1.5fr 1fr; align-items: stretch; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-notes { list-style: none; padding: 0; margin: 2.5rem 0 0; border-top: 1px solid var(--line); max-width: 46ch; }
.hero-notes li { padding: .7rem 0 .7rem 1.4rem; border-bottom: 1px solid var(--line); position: relative; font-size: 1rem; color: var(--muted); }
.hero-notes li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: .55rem; height: 2px; background: var(--larch); }
.hours-card { box-shadow: none; border-radius: var(--radius-l); background: var(--glacier); border: 0; padding: 1.8rem; align-self: start; }
.hours-card h2 { font-size: var(--step-1); }
.hours tr + tr { border-top-color: var(--line); }
.hours-tel { margin: 1.2rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.hours-tel a { font-size: var(--step-1); font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }

/* Elenchi al posto delle "pillole" */
.chips { display: block; columns: 2 13ch; column-gap: 1.75rem; }
.chips li { background: none; border-radius: 0; padding: .45rem 0; font-size: 1rem; border-bottom: 1px solid var(--glacier-2); break-inside: avoid; }
.area { border-radius: var(--radius-l); padding: 1.4rem 1.5rem; }
.section--tint .area { border: 1px solid var(--line); }
.feature .chips li { background: none; color: #e8ecee; border-bottom-color: rgba(255,255,255,.12); }
.feature-sub { font-size: 1rem; font-weight: 600; color: #b4bdc2; margin-bottom: .6rem; letter-spacing: 0; }
.tag { border-radius: var(--radius-s); }

/* Persone, passi, riquadri */
.person { border-radius: var(--radius-l); }
.avatar { border-radius: var(--radius-s); background: var(--glacier-2); color: var(--ink); }
.steps li { border-radius: var(--radius-l); }
.steps li::before { border-radius: var(--radius-s); background: var(--ink); }
.callout { border-radius: var(--radius-l); background: var(--glacier); border-left: 3px solid var(--larch); }
.form { border-radius: var(--radius-l); }
.field input, .field textarea, .field select { border-radius: var(--radius-s); border-width: 1px; }
.radios label { border-radius: var(--radius-s); border-width: 1px; }
.table-wrap, .map { border-radius: var(--radius-l); }
.quote { font-weight: 500; }
.quickbar { border-radius: var(--radius-l); }

/* Titoli delle pagine interne */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: var(--step-4); }

/* =========================================================
   v3: illustrazioni e banner cookie
   ========================================================= */

/* Illustrazioni nelle testate delle pagine interne */
.page-head { overflow: hidden; }
.page-head .wrap { position: relative; }
.page-art {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  height: 250px; width: auto; pointer-events: none; user-select: none;
}
.page-head.has-art h1, .page-head.has-art .lead { max-width: min(52ch, calc(100% - 340px)); }
.page-head.has-art h1 { max-width: min(16ch, calc(100% - 340px)); }
@media (max-width: 900px) {
  .page-art { display: none; }
  .page-head.has-art h1, .page-head.has-art .lead { max-width: none; }
}

/* Illustrazione nella colonna sinistra delle sezioni a due colonne */
.side-art { display: block; width: 100%; max-width: 280px; height: auto; margin-top: 2.2rem; }
.side-art--tall { max-width: 200px; }
.split > :first-child { position: relative; }
@media (max-width: 860px) { .side-art { display: none; } }

/* Illustrazioni piccole nelle schede "Di cosa ci occupiamo" */
.area--art { display: flex; flex-direction: column; }
.area-art { height: 112px; width: auto; align-self: flex-start; margin: -.3rem 0 .6rem -.4rem; }

/* Pulsante con aspetto di link */
.linkbtn {
  background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer;
  text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px;
}
.legal .linkbtn { margin-left: 1.25rem; color: #e8ecee; }
.linkbtn--inline { color: var(--pine-2); }

/* Banner cookie */
.cookie {
  position: fixed; z-index: 90; left: 1.25rem; bottom: 1.25rem;
  width: min(440px, calc(100% - 2.5rem));
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-top: 3px solid var(--larch); border-radius: var(--radius-l);
  padding: 1.3rem 1.4rem 1.2rem; font-size: .96rem;
  box-shadow: 0 18px 40px -24px rgba(29, 33, 36, .45);
}
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 1.15rem; margin: 0 0 .4rem; letter-spacing: 0; }
.cookie p { margin: 0 0 1rem; color: var(--muted); line-height: 1.5; }
.cookie p a { color: var(--ink); }
.cookie-x {
  position: absolute; top: .55rem; right: .55rem; width: 36px; height: 36px;
  display: grid; place-items: center; background: none; border: 0; border-radius: var(--radius-s); cursor: pointer; color: var(--muted);
}
.cookie-x:hover { background: var(--glacier); color: var(--ink); }
.cookie-x svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.cookie-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.cookie-actions .btn { flex: 1 1 0; justify-content: center; padding: .75rem 1rem; }
.cookie-actions .linkbtn { flex-basis: 100%; text-align: left; font-size: .93rem; color: var(--muted); }
.cookie-actions [hidden] { display: none; }
.cookie-actions [data-c="salva"] { flex-basis: 100%; }
.cookie:focus { outline: none; }
.cookie-panel { border-top: 1px solid var(--line); margin: 0 0 1rem; }
.cookie-panel[hidden] { display: none; }
.cookie-opt { display: flex; gap: .7rem; align-items: flex-start; padding: .75rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.cookie-opt input { margin-top: .25rem; width: 1.05rem; height: 1.05rem; accent-color: var(--pine); flex: none; }
.cookie-opt strong { display: block; font-weight: 650; }
.cookie-opt span { color: var(--muted); font-size: .93rem; line-height: 1.45; }
.cookie-opt strong { color: var(--ink); }
@media (max-width: 760px) {
  .cookie { left: .6rem; right: .6rem; bottom: .6rem; width: auto; }
  body.has-cookie .quickbar { display: none; }
}
@media print { .cookie { display: none !important; } }
