/* lauraagate.it — stile ispirato a un sito medico con titoli a carattere pieno (Abril Fatface),
   viola indaco, rosa pesca, pulsanti a pillola e hero diviso a metà. Solo i contenuti sono di Laura Agate. */
:root {
  --indigo: #5357a6;
  --indigo-d: #4a4e9c;
  --footer: #5350a2;
  --lav: #edeff7;
  --lav-2: #d9dcf0;
  --peach: #eea087;
  --peach-2: #f7c9b8;
  --peach-soft: #fde6df;
  --peach-ink: #4d2814;
  --ink: #0d0d0d;
  --text: #333333;
  --muted: #5c5f6b;
  --line: #d6d9ea;
  --display: "Abril Fatface", Georgia, "Times New Roman", serif;
  --body: "PT Sans Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --ui: "Open Sans", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 8vw, 104px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 20px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-d); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .footer :focus-visible, .topbar :focus-visible { outline-color: #fff; }
[id] { scroll-margin-top: 110px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 60; padding: 10px 16px; background: #fff; border-radius: 8px; font: 600 15px var(--ui); }
.skip:focus { top: 12px; }

/* tipografia */
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
.h-xl { font: 400 clamp(46px, 7vw, 88px)/1.04 var(--display); letter-spacing: 1px; color: var(--indigo); text-wrap: balance; }
.h-lg { font: 400 clamp(38px, 5.6vw, 76px)/1.08 var(--display); letter-spacing: 1px; color: var(--ink); text-wrap: balance; }
.h-md { font: 400 clamp(26px, 2.8vw, 34px)/1.15 var(--display); letter-spacing: 0.5px; color: var(--indigo); text-wrap: balance; }
.h-sm { font: 400 22px/1.25 var(--display); letter-spacing: 0.5px; color: var(--indigo); }
.em { color: var(--indigo); }
.kicker { font: 700 13px/1.2 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--indigo); }
.lede { font: 400 clamp(21px, 2vw, 25px)/1.45 var(--body); color: var(--peach-ink); max-width: 56ch; }
.muted { color: var(--muted); }
.head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 860px; }
.head--c { margin-inline: auto; justify-items: center; text-align: center; }
.section { padding-block: var(--section); }
.section--salvia { background: var(--lav); }
.dark { background: var(--indigo); color: #fff; }
.dark .h-lg, .dark .h-md, .dark .h-sm, .dark .h-xl { color: #fff; }
.dark .em { color: var(--peach); }
.dark .kicker { color: var(--peach-2); }
.dark .lede { color: #fff; }
.dark a { color: #fff; }

/* pulsanti a pillola */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 30px; border: 2px solid transparent; border-radius: 999px; font: 700 15px/1.2 var(--ui); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary:hover { background: var(--indigo-d); color: #fff; }
.btn--sabbia { background: var(--peach); color: var(--peach-ink); }
.btn--sabbia:hover { background: var(--peach-2); color: var(--peach-ink); }
.dark .btn--sabbia, .dark .btn--sabbia:hover { color: var(--peach-ink); }
.btn--ghost { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn--ghost:hover { background: var(--indigo); color: #fff; }
.dark .btn--ghost { border-color: #fff; color: #fff; }
.dark .btn--ghost:hover { background: #fff; color: var(--indigo); }
.btn--wa { background: var(--indigo-d); color: #fff; }
.btn--wa:hover { background: var(--ink); color: #fff; }
.btn svg { flex: none; }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: 13px; }
.arrow { font: 700 14px/1.2 var(--ui); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.arrow::after { content: "\2192"; transition: transform .18s; }
.arrow:hover::after { transform: translateX(4px); }

/* barra annuncio e header */
.topbar { background: var(--indigo); color: #fff; font: 400 14px/1.3 var(--ui); }
.topbar p { padding-block: 9px; text-align: center; }
.topbar a { color: #fff; text-decoration: underline; }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 90px; }
.brand { margin-right: auto; display: grid; gap: 4px; color: var(--indigo); text-decoration: none; }
.brand__name { font: 400 30px/1 var(--display); letter-spacing: 1px; }
.brand__role { font: 600 10px/1 var(--ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--lav-2); padding-top: 5px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { padding: 8px 0; color: var(--indigo); font: 600 14px/1.2 var(--ui); text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { border-bottom-color: var(--peach); }
.nav a[aria-current="page"] { border-bottom-color: var(--indigo); }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > a { display: block; }
.nav__item > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.nav__sub { position: absolute; left: -16px; top: calc(100% - 2px); z-index: 20; display: none; min-width: 190px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(83, 87, 166, 0.18); }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { display: grid; }
.nav__sub a { padding: 10px 14px; border: 0; border-radius: 10px; }
.nav__sub a:hover { background: var(--lav); border: 0; }
.header__tel { font: 700 15px/1 var(--ui); letter-spacing: 0.04em; color: var(--indigo); text-decoration: none; white-space: nowrap; }
.header .btn { white-space: nowrap; }
.menu-btn { display: none; }

/* fascia citazione */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip__in { display: grid; justify-items: center; gap: 6px; padding-block: 34px; text-align: center; }
.strip__quote { font: italic 400 clamp(22px, 2.6vw, 30px)/1.35 var(--body); color: var(--text); max-width: 40ch; text-wrap: balance; }
.strip__by { font: 700 12px/1 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--indigo); }

/* presentazione: foto + pannello rosa */
.meet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.meet__photo { background: var(--lav); display: grid; place-items: center; padding: clamp(32px, 5vw, 64px) 24px; }
.meet__photo img { width: 100%; max-width: 380px; height: auto; border-radius: 24px; box-shadow: 0 14px 36px rgba(83, 87, 166, 0.22); }
.meet__text { background: var(--peach-soft); color: var(--peach-ink); display: grid; align-content: center; gap: 20px; padding: clamp(32px, 6vw, 80px); font-size: clamp(20px, 1.8vw, 23px); line-height: 1.5; }
.meet__text .hero__actions { margin-top: 8px; }
.title-c { text-align: center; padding-block: clamp(40px, 6vw, 72px); }

/* aree: cerchi come le schede servizi */
.circles { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px clamp(20px, 3.5vw, 44px); max-width: 1000px; margin-inline: auto; padding: 0; list-style: none; }
.circle { width: 160px; display: grid; justify-items: center; gap: 14px; text-align: center; color: var(--ink); text-decoration: none; font: 400 18px/1.2 var(--body); }
.circle__art { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: var(--lav); color: var(--indigo); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.circle:hover .circle__art { transform: scale(1.05); }
.circle__art--p { background: var(--peach-soft); color: #b5502e; }
.circle__art--i { background: var(--lav-2); }
.circle__art--s { background: var(--peach-2); color: var(--peach-ink); }
.circle:hover { color: var(--indigo); }
.callline { display: grid; justify-items: center; gap: 18px; margin-top: clamp(40px, 6vw, 72px); text-align: center; font-size: 21px; }

/* elenco patologie */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.service { display: grid; align-content: start; gap: 14px; padding: 28px 26px; background: #fff; border-radius: 28px; }
.service .h-md { font-size: 26px; }
.service p { color: var(--muted); font-size: 18px; line-height: 1.4; }
.service ul { padding: 0; list-style: none; margin-top: 4px; }
.service li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 19px; line-height: 1.3; color: var(--text); }

/* percorso */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; list-style: none; padding: 0; }
.step { position: relative; padding: 28px 28px 0 0; border-top: 1px solid rgba(255, 255, 255, 0.35); counter-increment: step; }
.step::before { content: counter(step); display: block; margin-bottom: 14px; font: 400 64px/0.9 var(--display); color: var(--peach); }
.step::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--peach); }
.step p { margin-top: 10px; color: #fff; font-size: 19px; line-height: 1.45; }
.step .tags { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 16px; }
.step .tags .tag { margin-top: 0; }
.step a.tag { text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.step a.tag:hover, .step a.tag:focus-visible { background: var(--peach); border-color: var(--peach); color: var(--peach-ink); }
.step .tag { display: inline-block; margin-top: 16px; padding: 4px 14px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; font: 600 12px/1.4 var(--ui); letter-spacing: 0.06em; color: #fff; }

/* sedi con immagini tonde */
.cities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px); }
.city { display: grid; gap: 14px; align-content: start; justify-items: center; text-align: center; color: var(--ink); text-decoration: none; }
.city__frame { display: block; width: min(100%, 250px); aspect-ratio: 1 / 1; overflow: hidden; border-radius: 50%; background: var(--lav); }
.city__img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.city:hover .city__img, a.city:hover .city__img { transform: scale(1.05); }
.city__name { font: 400 clamp(34px, 3.6vw, 46px)/1.05 var(--display); letter-spacing: 1px; color: var(--indigo); }
.city__name a { color: inherit; text-decoration: none; }
.city__name a:hover { color: var(--indigo-d); }
.city address { font-style: normal; color: var(--text); font-size: 20px; line-height: 1.4; }
.city .arrow { color: var(--indigo); }
.city__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--indigo); }

/* chi sono (compat) */
.quote { font: italic 400 clamp(24px, 2.8vw, 34px)/1.25 var(--body); color: var(--indigo); }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .h-lg { font-size: clamp(36px, 4.4vw, 60px); }
.faq details { border-top: 1px solid var(--indigo); }
.faq details:last-child { border-bottom: 1px solid var(--indigo); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 400 clamp(20px, 2vw, 24px)/1.25 var(--display); letter-spacing: 0.5px; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; font: 400 24px/1 var(--ui); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 52px 22px 0; color: var(--text); font-size: 20px; max-width: 62ch; }

/* invito alla chiamata */
.cta-sec { background: #fff; text-align: center; }
.cta { display: grid; justify-items: center; gap: 28px; }
.cta .head { justify-items: center; margin-bottom: 0; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.phone-xl { font: 400 clamp(36px, 5.4vw, 64px)/1 var(--display); letter-spacing: 1px; color: var(--indigo); text-decoration: none; }
.phone-xl:hover { color: var(--indigo-d); }

/* footer */
.footer { background: var(--footer); color: #fff; padding-block: 56px 32px; font: 400 17px/1.5 var(--body); }
.footer a { color: #fff; }
.footer__in { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 40px; }
.footer h2 { margin-bottom: 14px; font: 700 12px/1.2 var(--ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--peach-2); }
.footer ul { padding: 0; list-style: none; display: grid; gap: 8px; }
.footer__brand { font: 400 30px/1 var(--display); letter-spacing: 1px; color: #fff; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.3); font: 400 13px/1.4 var(--ui); }

/* pagine interne */
.pagehead { background: var(--lav); padding-block: clamp(44px, 6vw, 88px); margin-bottom: clamp(40px, 5vw, 72px); }
.pagehead .head { margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { display: grid; gap: 18px; max-width: 66ch; font-size: 21px; line-height: 1.5; }
.prose h2 { margin-top: 20px; }
.prose ol { margin: 0; padding-left: 22px; }
.panel { display: grid; gap: 16px; padding: 30px; background: var(--peach-soft); color: var(--peach-ink); border-radius: 28px; }
.panel address { font-style: normal; font-size: 20px; }
.panel a { color: var(--indigo); }
.panel .btn { width: 100%; }
.panel .btn--primary { color: #fff; }
.panel .btn--wa { color: #fff; }
.panel hr { width: 100%; border: 0; border-top: 1px solid var(--peach-2); margin: 4px 0; }
.timeline { list-style: none; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--indigo); }
.timeline time { font: 400 34px/1 var(--display); color: var(--indigo); }
.timeline strong { display: block; font: 400 21px/1.3 var(--display); letter-spacing: 0.5px; color: var(--ink); }
.timeline span { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.chips li { padding: 8px 18px; border: 1.5px solid var(--indigo); border-radius: 999px; font-size: 18px; color: var(--indigo); }
.city-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.city-hero .city__frame { width: 100%; aspect-ratio: 3 / 2; border-radius: 28px; }
.city-hero .city__img { aspect-ratio: 3 / 2; }

/* modulo */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { grid-column: 1 / -1; display: grid; gap: 8px; }
.field--half { grid-column: auto; }
.field label { font: 700 14px/1.2 var(--ui); letter-spacing: 0.06em; text-transform: uppercase; color: var(--indigo); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 14px 18px; background: #fff; color: var(--ink); border: 1.5px solid var(--indigo); border-radius: 18px; font: 400 20px/1.4 var(--body); }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #b3261e; border-width: 2px; }
.field__error { color: #b3261e; font: 700 14px/1.3 var(--ui); }
.field__error::before { content: "Errore: "; }
.hint { color: var(--muted); font-size: 18px; max-width: 60ch; }

/* barra azioni su telefono e WhatsApp */
.dock { display: none; }
.wa-float { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40; box-shadow: 0 8px 24px rgba(74, 78, 156, 0.35); }

@media (max-width: 1260px) {
  .header__in { gap: 18px; }
  .nav { gap: 18px; }
  .brand__role { display: none; }
}
@media (max-width: 1180px) {
  .header__tel { display: none; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .meet, .faq, .split, .city-hero, .footer__in { grid-template-columns: minmax(0, 1fr); }
  .meet__photo { display: none; }
  .steps, .form, .cities, .services { grid-template-columns: minmax(0, 1fr); }
  .step { padding-bottom: 28px; }
  .cities { gap: 44px; }
  .field--half { grid-column: 1 / -1; }
  .faq details p { padding-right: 0; }
  .timeline li { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .timeline time { font-size: 28px; }
  .header .btn { display: none; }
  .brand__name { font-size: 26px; }
  .js .menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border: 0; background: transparent; color: var(--indigo); font: 600 14px/1 var(--ui); cursor: pointer; }
  .js .menu-btn::after { content: "\2630"; font-size: 20px; }
  .header__in { flex-wrap: wrap; gap: 0 16px; min-height: 76px; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__item { width: 100%; display: block; }
  .nav__item > a { display: block; }
  .nav__item > a::after { display: none; }
  .nav__sub { position: static; display: grid; min-width: 0; padding: 0 0 0 16px; background: transparent; border: 0; box-shadow: none; }
  .nav__sub a { border-radius: 0; color: var(--muted); }
  .js .nav:not(.is-open) { display: none; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .dock .btn { min-height: 48px; padding: 10px 6px; font-size: 12px; letter-spacing: 0.04em; gap: 6px; }
  .wa-float { display: none; }
  .footer { padding-bottom: 104px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .arrow::after, .city__img, .circle__art { transition: none; }
}

/* cerchi con immagine */
.circle__art { overflow: hidden; padding: 0; box-shadow: 0 6px 18px rgba(83, 87, 166, 0.18); }
.circle__art svg, .circle__art img { width: 100%; height: 100%; object-fit: cover; }
.circle__art--p, .circle__art--i, .circle__art--s { background: var(--lav); }



/* spazio tra i pulsanti finali e il footer */
.cta-sec { padding-bottom: 0; }
.cta-sec > .wrap { padding-bottom: var(--section); }

.wa-float, .dock { transition: opacity .25s, visibility .25s, transform .25s; }
body.at-end .wa-float, body.at-end .dock { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 900px) { body.at-end .dock { transform: translateY(100%); } .footer { padding-bottom: 40px; } }

/* modulo: trappola anti-robot, consenso, esito */
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--check { grid-template-columns: 26px minmax(0, 1fr); align-items: start; gap: 4px 12px; }
.field--check input { width: 24px; height: 24px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--indigo); }
.field--check label { font: 400 18px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--text); }
.field--check .field__error { grid-column: 2; }
.form__status { padding: 14px 18px; border-radius: 16px; font: 600 16px/1.4 var(--ui); }
.form__status.is-ok { background: #e4f4ea; color: #1d5a35; }
.form__status.is-err { background: #fde8e6; color: #8f1d17; }
.btn[disabled] { opacity: .6; cursor: progress; }



/* hero a schermate intere che scorrono da sole (foto da un lato, testo dall'altro) */
.hero-car { position: relative; overflow: hidden; background: var(--lav); }
.hs-list { display: grid; margin: 0; padding: 0; list-style: none; }
.hs { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(540px, 60vw, 720px); background: var(--lav); visibility: hidden; }
.hs.is-active { visibility: visible; z-index: 1; }
.hs.is-leaving { visibility: visible; z-index: 0; }
.hs__photo { position: relative; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; background: var(--peach-soft); }
.hs__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs__photo--cut img { position: static; width: 100%; height: auto; max-width: 520px; padding: 32px 24px 0; object-fit: contain; }
.hs__panel { display: grid; align-content: center; justify-items: end; gap: 22px; padding: clamp(32px, 5vw, 72px); text-align: right; }
.hs .h-xl { font-size: clamp(42px, 5.6vw, 84px); }
.hs--city .h-xl { font-size: clamp(36px, 4.6vw, 64px); }
.hs--rev .hs__photo { order: 2; }
.hs--rev .hs__panel { order: 1; justify-items: start; text-align: left; }
.hs .hero__actions { justify-content: flex-end; }
.hs--rev .hero__actions { justify-content: flex-start; }
.hero__sub { font: 400 clamp(20px, 2.1vw, 28px)/1.3 var(--display); letter-spacing: 1px; color: var(--indigo); max-width: 26ch; }
.hs__info { display: grid; gap: 2px; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.3; color: var(--peach-ink); }
.hs__info a { color: var(--indigo); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) {
  .hs { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hs .hs__panel, .hs--rev .hs__panel { order: 1; justify-items: start; text-align: left; padding-block: 36px; }
  .hs .hs__photo, .hs--rev .hs__photo { order: 2; aspect-ratio: 4 / 3; }
  .hs__photo--cut { aspect-ratio: 1 / 1 !important; }
  .hs__photo--cut img { max-width: 340px; }
  .hs .hero__actions { justify-content: flex-start; }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* avviso cookie */
.cookie { position: fixed; left: 50%; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 20px; width: min(960px, calc(100% - 32px)); padding: 18px 22px; background: #fff; color: var(--text); border: 1px solid var(--lav-2); border-radius: 22px; box-shadow: 0 18px 48px rgba(53, 55, 110, 0.28); transform: translate(-50%, 140%); opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s; }
.cookie.is-in { transform: translate(-50%, 0); opacity: 1; }
.cookie__txt { margin: 0; font-size: 15px; line-height: 1.5; }
.cookie__txt a { color: var(--indigo); text-decoration: underline; }
.cookie__btns { display: flex; flex: none; gap: 10px; }
.cookie .btn { min-height: 44px; padding: 10px 20px; font-size: 13px; }
@media (max-width: 760px) {
  .cookie { flex-direction: column; align-items: stretch; bottom: 12px; gap: 14px; padding: 16px; }
  .cookie__btns { flex-direction: column; }
}

/* patologie trattate con breve descrizione */
.service ul.dl { display: grid; gap: 14px; padding: 0; margin: 14px 0 0; list-style: none; }
.service ul.dl li { display: grid; gap: 2px; padding: 0 0 14px; border-top: 0; font-size: inherit; border-bottom: 1px solid var(--lav-2); }
.service ul.dl li:last-child { border-bottom: 0; padding-bottom: 0; }
.service ul.dl strong { color: var(--indigo); font-weight: 700; font-size: 17px; line-height: 1.3; }
.service ul.dl span { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* due colonne ordinate: Tiroide e Ipofisi a sinistra, Paratiroidi e Crescita a destra */
.services__col { display: grid; gap: 20px; align-content: start; }
@media (max-width: 900px) {
  .services__col { display: contents; }
  .services .service { order: 1; }
  .services__col:nth-child(2) .service:nth-child(2) { order: 2; }
  .services__col:nth-child(2) .service:nth-child(1) { order: 3; }
  .services__col:nth-child(1) .service:nth-child(2) { order: 4; }
}

.service:target { box-shadow: 0 0 0 3px var(--peach), 0 14px 36px rgba(83, 87, 166, 0.2); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* pagine informative per il paziente */
.howto { list-style: none; padding: 0; margin: 0 0 18px; counter-reset: h; display: grid; gap: 12px; }
.howto li { counter-increment: h; position: relative; padding-left: 46px; font-size: 19px; line-height: 1.45; }
.howto li::before { content: counter(h); position: absolute; left: 0; top: 1px; width: 32px; height: 32px; border-radius: 50%; background: var(--indigo); color: #fff; font: 700 15px/32px var(--ui); text-align: center; }
.note { background: var(--peach-soft); color: var(--peach-ink); border-radius: 20px; padding: 18px 22px; margin-top: 8px; }
.note strong { display: block; margin-bottom: 2px; }
.fig { margin: 0 0 18px; background: var(--lav); border-radius: 22px; padding: 14px; text-align: center; }
.fig svg { width: 100%; max-width: 300px; height: auto; display: inline-block; }
.fig figcaption { font-size: 15px; color: var(--muted); margin-top: 6px; }
a.lk { color: var(--indigo); font-weight: 600; text-decoration: none; }
a.lk:hover { color: var(--peach-ink); }
.dark a.lk { color: var(--peach); }
.dark a.lk:hover { color: #fff; }
.plainlist { list-style: disc; padding-left: 22px; margin: 0 0 18px; display: grid; gap: 8px; font-size: 19px; line-height: 1.45; }
.plainlist li::marker { color: var(--peach); }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 6px 0 26px; }
.figs .fig { margin: 0; padding: 0; background: transparent; }
.figs .fig svg { max-width: none; width: 100%; display: block; border-radius: 18px; }
.figs .fig figcaption { font-size: 15px; line-height: 1.35; padding: 0 4px; }
@media (max-width: 700px) { .figs { grid-template-columns: minmax(0, 1fr); } }
.hero__tag { color: #d4623f; }
.footer a.lk { color: var(--peach); } .footer a.lk:hover { color: #fff; }
.chips--links a { color: inherit; text-decoration: none; }
.chips--links li:hover { background: var(--indigo); color: #fff; }
.chips--links li:hover a { color: #fff; }
.strip__sign { font: 400 clamp(38px, 4.4vw, 54px)/1 "Great Vibes", "Brush Script MT", "Segoe Script", cursive; color: var(--indigo); transform: rotate(-3deg); margin-top: 4px; }
