/*
### LASTRA START
VERSIONE: 5.8
DATA AGGIORNAMENTO: 06/10/2026
ORIGINE DATI: Tavolozze e componenti grafici del nuovo sito.
SCOPO: Definire aspetto responsive comune, pagine servizio, avvisi, chat vocale e blocco condiviso appuntamenti.
INPUT: Classi applicate dai documenti HTML e dagli script del sito.
VERIFICHE: Contrasto, leggibilità, adattamento mobile e stati interattivi visibili.
DIPENDENZE: HTML e JavaScript NEWSITE.
LETTURE: Variabili CSS della tavolozza attiva e del fattore di scala.
SCRITTURE: Nessuna scrittura dati.
ELABORAZIONE:
Applica tipografia (caratteri al 130% della base, testo predefinito --ink), colori e impaginazione generale.
Adatta testata alta 156 px sempre visibile (contenitore sticky; sinistra su due righe, sottotitolo minuscolo narrow), menu, geolocalizzazione, Area clienti, contenuti, modali e strumenti alle diverse larghezze.
Mantiene compatto il blocco appuntamenti; caratteri dell Assistente AI a 1,3 volte; modulo della richiesta di assunzione in popup a settori (ra-*).
Rende campi, scelte, dettatura e azioni chiaramente distinguibili.
Predispone il pannello precaricato per lo scorrimento e il messaggio di mancata conferma avvisi.
OUTPUT: Presentazione grafica del nuovo sito.
RISULTATO: Interfaccia coerente su computer e telefono.
### LASTRA END
*/
.site-cycle-stage { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; zoom: calc(1 / var(--scala)); overflow: hidden; z-index: 1000; pointer-events: none; }
.site-cycle-frame { display: block; width: 100%; height: 100%; border: 0; transform: translateX(100%); background: var(--paper); }
.site-cycle-active { pointer-events: auto; }
.site-cycle-active .site-cycle-frame { transform: translateX(0); }
html.site-cycle-hosted { overflow: hidden; }
html.site-cycle-hosted > body { visibility: hidden; }
.site-notice-error { margin: 0; color: #800000; font-size: .875rem; }
:root {
  --scala: .9;
  --ink: #122039;
  --navy: #0b1930;
  --navy-2: #102746;
  --paper: #f6f3ec;
  --white: #fff;
  --brass: #b89052;
  --brass-soft: #e6d3b2;
  --muted: #647083;
  --line: rgba(18, 32, 57, .14);
  --shadow: 0 24px 70px rgba(11, 25, 48, .12);
  --hero-rgb: 5, 15, 30;
  --footer-bg: #071325;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
}
body.palette-sky {
  --ink: #102c49; --navy: #082c4d; --navy-2: #104a72; --paper: #eaf5fb; --white: #fbfdff;
  --brass: #4d9bc4; --brass-soft: #c5e8f7; --muted: #55738a; --line: rgba(16,44,73,.16);
  --shadow: 0 24px 70px rgba(8,44,77,.14); --hero-rgb: 5, 35, 65; --footer-bg: #061f38;
}
body.palette-forest {
  --ink: #17372f; --navy: #123d34; --navy-2: #1b574b; --paper: #edf3ef; --white: #fbfdfb;
  --brass: #a98545; --brass-soft: #e4d5ae; --muted: #60756e; --line: rgba(23,55,47,.15);
  --shadow: 0 24px 70px rgba(18,61,52,.14); --hero-rgb: 12, 48, 40; --footer-bg: #0b2d27;
}
body.palette-burgundy {
  --ink: #49232d; --navy: #571f30; --navy-2: #762d43; --paper: #f6eeee; --white: #fffafa;
  --brass: #b58364; --brass-soft: #edd2c2; --muted: #80646b; --line: rgba(73,35,45,.15);
  --shadow: 0 24px 70px rgba(87,31,48,.14); --hero-rgb: 73, 20, 38; --footer-bg: #3c1422;
}
body.palette-earth {
  --ink: #4a2f25; --navy: #603628; --navy-2: #7a4937; --paper: #f4ede4; --white: #fffaf5;
  --brass: #bd744c; --brass-soft: #efd0b9; --muted: #806b5f; --line: rgba(74,47,37,.15);
  --shadow: 0 24px 70px rgba(96,54,40,.14); --hero-rgb: 70, 35, 25; --footer-bg: #45271e;
}
body.palette-petrol {
  --ink: #16383d; --navy: #0c4650; --navy-2: #12606c; --paper: #eaf3f2; --white: #fafffe;
  --brass: #55a7a7; --brass-soft: #c6e8e5; --muted: #58767a; --line: rgba(22,56,61,.15);
  --shadow: 0 24px 70px rgba(12,70,80,.14); --hero-rgb: 5, 52, 61; --footer-bg: #07343b;
}
body.palette-plum {
  --ink: #402d49; --navy: #42254d; --navy-2: #5c3569; --paper: #f2edf4; --white: #fdfaff;
  --brass: #a880ae; --brass-soft: #e3cfe8; --muted: #76677d; --line: rgba(64,45,73,.15);
  --shadow: 0 24px 70px rgba(66,37,77,.14); --hero-rgb: 52, 25, 64; --footer-bg: #311b39;
}
body.palette-emerald {
  --ink: #123a32; --navy: #075c4d; --navy-2: #087561; --paper: #ecf8f4; --white: #fbfffd;
  --brass: #35b88a; --brass-soft: #bcebd9; --muted: #587b70; --line: rgba(18,58,50,.16);
  --shadow: 0 24px 70px rgba(7,92,77,.15); --hero-rgb: 3, 66, 55; --footer-bg: #043f35;
}
body.palette-olive {
  --ink: #37401f; --navy: #465427; --navy-2: #5e6e32; --paper: #f6f3e4; --white: #fffef7;
  --brass: #a8b95a; --brass-soft: #e5ebbd; --muted: #747a5b; --line: rgba(55,64,31,.16);
  --shadow: 0 24px 70px rgba(70,84,39,.15); --hero-rgb: 48, 60, 25; --footer-bg: #303a1b;
}
body.palette-amaranth {
  --ink: #57182d; --navy: #7a1638; --navy-2: #98234a; --paper: #faedf2; --white: #fffafd;
  --brass: #d05a82; --brass-soft: #f4c9d8; --muted: #8b6170; --line: rgba(87,24,45,.16);
  --shadow: 0 24px 70px rgba(122,22,56,.15); --hero-rgb: 91, 10, 40; --footer-bg: #560e28;
}
body.palette-fuchsia {
  --ink: #521b41; --navy: #6d174f; --navy-2: #8b2368; --paper: #faedf7; --white: #fffaff;
  --brass: #d05aa5; --brass-soft: #f2c7e3; --muted: #88647d; --line: rgba(82,27,65,.16);
  --shadow: 0 24px 70px rgba(109,23,79,.15); --hero-rgb: 82, 10, 59; --footer-bg: #4c0f38;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; zoom: var(--scala); font-size: 130%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 42%, var(--white)); font-weight: 400; letter-spacing: 0; opacity: 1; text-transform: none; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 100; background: var(--white); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 12px; color: var(--brass); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.1; font-weight: 500; margin-top: 0; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.03em; }
h3 { font-size: 1.5rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.32rem); line-height: 1.55; }
.muted { color: var(--muted); }
[data-site-header] { position: sticky; top: 0; z-index: 50; }
.site-header { position: relative; top: 0; z-index: 50; color: var(--white); background: rgba(var(--hero-rgb), .96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-wrap { width: calc(100% - 40px); min-height: 156px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 42px; height: 42px; padding: 0; border: 1px solid var(--brass); display: grid; place-items: center; font-family: var(--serif); font-size: 1.15rem; color: var(--brass-soft); background: transparent; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease; }
.brand-mark:hover, .brand-mark:focus-visible { color: var(--navy); background: var(--brass-soft); transform: translateY(-1px); }
.brand-copy { color: inherit; line-height: 1.15; text-decoration: none; }
.brand-copy strong { display: block; font-family: var(--serif); font-size: 1.08rem; font-weight: 500; }
.brand-copy span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .72; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a, .dropdown-toggle { padding: 10px 11px; white-space: nowrap; text-decoration: none; color: rgba(255,255,255,.82); font-size: .9rem; border: 0; border-bottom: 1px solid transparent; background: transparent; cursor: pointer; }
.main-nav > a:hover, .main-nav > a:focus-visible, .main-nav > a[aria-current="page"], .dropdown-toggle:hover, .dropdown-toggle:focus-visible, .dropdown-toggle[aria-expanded="true"] { color: var(--white); border-bottom-color: var(--brass); }
.header-hours { min-width: 58px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 3px 4px; border: 0; background: transparent; color: var(--brass-soft); cursor: pointer; }
.hours-icon { position: relative; width: 25px; height: 25px; display: block; border: 2px solid currentColor; border-radius: 50%; transition: transform .2s ease; }
.hours-icon::before { content: ""; position: absolute; left: 10px; top: 4px; width: 2px; height: 7px; border-radius: 2px; background: currentColor; transform-origin: 50% 100%; }
.hours-icon::after { content: ""; position: absolute; left: 10px; top: 10px; width: 6px; height: 2px; border-radius: 2px; background: currentColor; transform-origin: 0 50%; transform: rotate(28deg); }
.hours-label { font-size: .8rem; line-height: 1; font-weight: 750; white-space: nowrap; border-bottom: 1px solid transparent; }
.header-hours:hover .hours-icon, .header-hours:focus-visible .hours-icon { transform: translateY(-1px); }
.header-hours:hover .hours-label, .header-hours:focus-visible .hours-label { color: var(--white); border-bottom-color: var(--brass); }
.header-assistant { min-width: 76px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 3px 4px; color: var(--brass-soft); text-decoration: none; }
.header-assistant img { width: 29px; height: 24px; display: block; transition: transform .2s ease; }
.header-assistant:hover img, .header-assistant:focus-visible img { transform: translateY(-1px); }
.assistant-label { font-size: .875rem; line-height: 1; font-weight: 750; white-space: nowrap; border-bottom: 1px solid transparent; }
.header-assistant:hover .assistant-label, .header-assistant:focus-visible .assistant-label { color: var(--white); border-bottom-color: var(--brass); }
.header-location { min-width: 82px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 3px 4px; color: var(--brass-soft); text-decoration: none; }
.header-location img { width: 25px; height: 25px; }
.header-location span { font-size: .8rem; line-height: 1; font-weight: 750; white-space: nowrap; border-bottom: 1px solid transparent; }
.header-location:hover span, .header-location:focus-visible span { color: var(--white); border-bottom-color: var(--brass); }
/* Area clienti nella testata, dopo Orari e con gli stessi caratteri di Dove siamo. */
.header-clients { flex-shrink: 0; }
.header-clients .dropdown-toggle { min-width: 82px; width: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 3px 4px; color: var(--brass-soft); border-bottom: 0; text-align: center; }
.header-clients .dropdown-toggle img { width: 25px; height: 25px; }
.header-clients .dropdown-toggle span { color: inherit; font-size: .8rem; line-height: 1; font-weight: 750; white-space: nowrap; border-bottom: 1px solid transparent; transform: none; }
.header-clients .dropdown-toggle:hover span, .header-clients .dropdown-toggle:focus-visible span, .header-clients .dropdown-toggle[aria-expanded="true"] span { color: var(--white); border-bottom-color: var(--brass); }
.nav-dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 6px; }
.dropdown-toggle span { color: var(--brass); transition: transform .2s ease; }
.dropdown-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.header-clients .dropdown-toggle[aria-expanded="true"] span { transform: none; }
.header-clients .dropdown-menu a { text-decoration: none; }
/* Testata in due parti: a sinistra marchio (prima riga) e pulsanti Orari, Area clienti, Assistente AI, Dove siamo (seconda riga); a destra i menu. */
/* Le due righe hanno la stessa larghezza: Dove siamo termina dove termina il sottotitolo. */
.header-left { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-right: auto; min-width: 0; }
.header-left .brand { margin-right: 0; }
.header-left .brand-copy { white-space: nowrap; }
.header-left .brand-copy strong { display: inline; }
.header-left .brand-copy span { font-family: "Arial Narrow", Arial, sans-serif; text-transform: none; letter-spacing: 0; }
.header-left .brand-copy span::before { content: " - "; }
.header-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.dropdown-menu { position: absolute; top: calc(100% + 12px); left: 0; z-index: 70; width: 310px; padding: 7px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(5,15,30,.24); }
.dropdown-menu-wide { width: 370px; }
.dropdown-menu[hidden] { display: none; }
.dropdown-menu::before { content: ""; position: absolute; top: -6px; left: 24px; width: 10px; height: 10px; background: var(--white); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.dropdown-menu a { display: flex; justify-content: space-between; gap: 15px; width: 100%; padding: 12px 14px; white-space: normal; color: var(--ink); border: 0; text-align: left; line-height: 1.35; }
.dropdown-menu a::after { content: "→"; color: var(--brass); }
.dropdown-menu a + a { border-top: 1px solid var(--line); }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { color: var(--navy); background: var(--paper); border-bottom-color: transparent; }
.client-menu { width: 230px; right: 0; left: auto; }
.client-menu::before { right: 24px; left: auto; }
.client-menu a { align-items: center; }
.client-menu a::after { display: none; }
.client-menu small { color: var(--muted); font-size: .72rem; }
.nav-cta { border: 1px solid var(--brass) !important; margin-left: 8px; color: var(--brass-soft) !important; }
.menu-toggle { display: none; border: 0; background: transparent; color: #fff; padding: 9px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 2px; background: currentColor; display: block; margin: 5px; }
.hero { height: clamp(400px, calc(100svh - 280px), 410px); min-height: 400px; color: var(--white); background: var(--navy); position: relative; display: grid; align-items: center; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--hero-rgb),.96) 0%, rgba(var(--hero-rgb),.78) 38%, rgba(var(--hero-rgb),.14) 74%), linear-gradient(0deg, rgba(var(--hero-rgb),.8), transparent 45%); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 1; width: min(760px, 90%); padding: 24px 0; transform: translateY(-18px); }
.hero h1 { margin-bottom: 24px; }
.hero .lead { color: rgba(255,255,255,.78); max-width: 650px; }
.hero-actions, .button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 20px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); color: var(--white); text-decoration: none; font-weight: 700; cursor: pointer; transition: .2s ease; }
.btn:hover, .btn:focus-visible { background: var(--navy-2); box-shadow: 0 10px 25px rgba(11,25,48,.18); }
.btn-light { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); }
.btn-ghost { background: transparent; color: var(--navy); }
.section { padding: 96px 0; }
.section-tight { padding: 62px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-white { background: var(--white); }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; align-items: end; margin-bottom: 48px; }
.section-head p:last-child { margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--white); min-height: 310px; padding: 34px; display: flex; flex-direction: column; }
.service-card .num { font-family: var(--serif); color: var(--brass); font-size: 1.2rem; }
.service-card h3 { margin: auto 0 14px; }
.service-card p { color: var(--muted); margin-top: 0; }
.appointments-info-hero { height: 235px; min-height: 235px; }
.appointments-info-hero .container { transform: none; }
.appointments-info-hero h1 { margin-bottom: 8px; font-size: clamp(2.35rem, 4.5vw, 4rem); }
.appointments-info-hero .lead { margin: 0; }
.appointments-info-section { padding: 28px 0 34px; }
.appointments-info-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: end; margin-bottom: 18px; }
.appointments-info-head h2, .appointments-info-head p { margin-bottom: 0; }
.appointments-info-head h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.appointments-info-grid { grid-template-columns: 1fr; gap: 1px; }
.appointments-info-grid .service-card { min-height: 100px; padding: 14px 20px; display: grid; grid-template-columns: 42px minmax(190px, .7fr) 1.3fr; gap: 18px; align-items: center; }
.appointments-info-grid .service-card h3, .appointments-info-grid .service-card p { margin: 0; }
.appointments-info-grid .service-card h3 { font-size: 1.16rem; }
.appointments-info-note { margin-top: 18px; padding: 13px 18px; color: var(--white); background: var(--navy); }
.text-link { color: var(--navy); text-decoration: none; font-weight: 750; border-bottom: 1px solid var(--brass); align-self: flex-start; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.fact-list { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.fact-list li { display: grid; grid-template-columns: 115px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact-list strong { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.quote-card { padding: 50px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.quote-card blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.25; }
.page-hero { height: clamp(400px, calc(100svh - 280px), 410px); min-height: 400px; padding: 24px 0; background: var(--navy); color: var(--white); position: relative; display: grid; align-items: center; overflow: hidden; }
.page-hero-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(var(--hero-rgb),.97) 0%, rgba(var(--hero-rgb),.82) 39%, rgba(var(--hero-rgb),.2) 76%), linear-gradient(0deg, rgba(var(--hero-rgb),.55), transparent 65%); }
.page-hero .container { position: relative; z-index: 2; transform: translateY(-18px); }
.page-hero::after { content: "CS"; position: absolute; z-index: 1; right: -35px; bottom: -100px; font: 280px/1 var(--serif); color: rgba(255,255,255,.025); }
.page-hero h1 { max-width: 860px; margin-bottom: 20px; font-size: clamp(2.8rem, 6vw, 5rem); }
.page-hero .lead { max-width: 760px; color: rgba(255,255,255,.72); }
.page-hero .hero-actions { margin-top: 22px; }
.page-hero .hero-actions .btn { min-height: 46px; padding-block: 10px; }
.category { padding: 52px 0; border-bottom: 1px solid var(--line); }
.category-head { display: grid; grid-template-columns: 220px 1fr; gap: 50px; }
.category-index { color: var(--brass); font-family: var(--serif); font-size: 1.2rem; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
details { background: var(--white); border: 1px solid var(--line); }
summary { padding: 20px 22px; font-family: var(--serif); font-size: 1.18rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 15px; }
summary::after { content: "+"; color: var(--brass); }
details[open] summary::after { content: "−"; }
.detail-body { padding: 0 22px 22px; color: var(--muted); }
.detail-body ul { margin-bottom: 0; padding-left: 20px; }
.notice { padding: 20px 24px; border-left: 3px solid var(--brass); background: #efe7d7; }
.checklist-layout { display: grid; grid-template-columns: 290px 1fr; gap: 60px; align-items: start; }
.side-nav { position: sticky; top: 172px; border-top: 1px solid var(--line); }
.side-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--muted); }
.side-nav a:hover { color: var(--ink); }
.check-section { scroll-margin-top: 172px; padding-bottom: 52px; margin-bottom: 52px; border-bottom: 1px solid var(--line); }
.check-section ul { list-style: none; padding: 0; }
.check-section li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px dotted var(--line); }
.check-section li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 12px; border: 1px solid var(--brass); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; }
.contact-panel { padding: 42px; background: var(--white); border: 1px solid var(--line); }
.contact-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-row small { display: block; color: var(--brass); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.company-data-status { margin: 16px 0 0; color: #8b1e2d; font-size: .9rem; }
.legal-page { padding: 48px 0 72px; background: var(--paper); color: var(--ink); }
.caf-servizio-page { max-width: 1180px; margin: 0 auto; }
.caf-servizio-page__title { margin: 0 0 28px; color: var(--navy); font-size: clamp(2rem, 4vw, 4rem); line-height: 1.02; }
.caf-servizio-page__body { padding: 34px; background: var(--white); border: 1px solid var(--line); overflow-wrap: anywhere; }
.caf-servizio-page__body p { line-height: 1.65; }
.caf-servizio-page__subtitle { margin: 32px 0 10px; color: var(--navy); font-size: 1.45rem; }
.caf-servizio-page__note { padding: 16px 18px; background: var(--navy); color: var(--white); }
.caf-servizio-page__note a { color: var(--brass-light); }
.caf-servizio-page__body table { width: 100% !important; margin: 16px 0; border-collapse: collapse; font-size: .96rem !important; }
.caf-servizio-page__body td { width: auto !important; padding: 13px 15px; border: 1px solid var(--line); vertical-align: top; background: transparent; }
.caf-servizio-page__body td[bgcolor="#d3d3d3"] { background: color-mix(in srgb, var(--paper) 78%, var(--navy) 6%); }
.caf-servizio-page__body td[bgcolor="#ffffff"] { background: var(--white); }
.caf-servizio-page__sig { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.ai-notice-company { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.ai-notice-company p { margin: 3px 0; }
.ai-notice-intro { font-size: 1.08rem; }
.ai-notice-page ul { margin: 10px 0 20px; padding-left: 24px; }
.ai-notice-page li { margin: 7px 0; line-height: 1.55; }
.ai-notice-signature { margin-top: 40px; text-align: right; }
@media (max-width: 700px) {
  .legal-page { padding-top: 28px; }
  .caf-servizio-page__body { padding: 22px 16px; }
  .caf-servizio-page__body table, .caf-servizio-page__body tbody, .caf-servizio-page__body tr, .caf-servizio-page__body td { display: block; width: 100% !important; }
}
.hours { width: 100%; table-layout: fixed; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 13px 6px; border-bottom: 1px solid var(--line); }
.hours th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hours th:nth-child(1), .hours td:nth-child(1) { width: 25%; }
.hours th:nth-child(2), .hours td:nth-child(2) { width: 30%; }
.hours th:nth-child(3), .hours td:nth-child(3) { width: 45%; }
.hours td:last-child { text-align: left; }
.hours-time { font-weight: 800; color: var(--ink); }
.policy-panel { padding: 42px; background: var(--navy); color: var(--white); border: 1px solid rgba(255,255,255,.12); }
.policy-panel > p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.policy-links { display: grid; gap: 12px; margin-top: 28px; }
.policy-link { display: grid; gap: 5px; padding: 20px; color: var(--white); text-decoration: none; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); transition: .2s ease; }
.policy-link small { color: var(--brass-soft); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.policy-link strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.policy-link:hover, .policy-link:focus-visible { border-color: var(--brass); background: rgba(255,255,255,.09); transform: translateY(-2px); }
.service-detail-layout { display: grid; grid-template-columns: 310px 1fr; gap: 70px; align-items: start; }
.service-summary { position: sticky; top: 172px; padding: 32px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.service-summary > p:not(.eyebrow) { color: rgba(255,255,255,.78); }
.service-summary-action { width: 100%; margin-top: 22px; color: var(--white); background: var(--navy-2); border-color: var(--brass); border-radius: 999px; }
.service-summary-action:hover, .service-summary-action:focus-visible { color: var(--navy); background: var(--brass-soft); border-color: var(--brass-soft); }
.service-status { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); color: var(--brass-soft); font-size: .82rem; }
.patronato-preamble { background: var(--white); }
.patronato-preamble .container { max-width: 980px; }
.patronato-preamble p:not(.eyebrow) { margin: 10px 0; }
.patronato-preamble .btn { margin-top: 12px; }
.patronato-services { padding: 58px 0; }
.patronato-services--paid { background: var(--white); }
.patronato-services .section-head { margin-bottom: 24px; }
.patronato-service-list { border: 1px solid var(--line); background: var(--line); display: grid; gap: 1px; }
.patronato-service-row { min-height: 74px; padding: 11px 16px 11px 20px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: center; background: var(--white); }
.patronato-services--paid .patronato-service-row { background: var(--paper); }
.patronato-service-row h3 { margin: 0; font: 700 1rem/1.25 var(--sans); }
.patronato-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.patronato-row-actions .btn { min-height: 42px; padding: 8px 15px; border-radius: 999px; font-size: .86rem; }
.patronato-info-button { background: transparent; }
.patronato-price { min-width: 74px; color: var(--navy); font-weight: 800; text-align: right; }
.patronato-info-dialog { width: min(646px, calc(100% - 30px)); max-height: min(646px, calc(100vh - 30px)); overflow-y: auto; padding: 27px; color: var(--ink); background: var(--paper); border: 1px solid var(--brass); box-shadow: 0 30px 90px rgba(5,15,30,.4); }
.patronato-info-dialog::backdrop { background: rgba(5,15,30,.72); backdrop-filter: blur(4px); }
.patronato-info-dialog .eyebrow { font-size: .825rem; font-weight: 400; }
.patronato-info-dialog h2 { margin-bottom: 12px; font-size: clamp(1.87rem,4vw,2.86rem); font-weight: 400; }
.patronato-document-list { margin: 0; border-top: 1px solid var(--line); }
.patronato-document-list div { display: grid; grid-template-columns: minmax(175px,.8fr) 1.2fr; gap: 16px; padding: 8px 3px; border-bottom: 1px solid var(--line); }
.patronato-document-list dt { color: var(--muted); font-size: .86rem; font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.patronato-document-list dd { margin: 0; font-size: 1.1rem; font-weight: 400; line-height: 1.4; }
.patronato-dialog-price { margin: 13px 0 0; padding: 10px 14px; color: var(--white); background: var(--navy); font-size: 1.1rem; font-weight: 400; }
.service-detail-section { padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.service-detail-section:last-child { margin-bottom: 0; }
.service-detail-section h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.service-detail-section p, .service-detail-section li { font-size: 1.05rem; }
.service-links { display: grid; justify-items: start; gap: 13px; margin-top: 24px; }
.service-detail-section ul { list-style: none; margin: 24px 0 0; padding: 0; }
.service-detail-section li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px dotted var(--line); }
.service-detail-section li::before { content: ""; position: absolute; left: 0; top: 22px; width: 10px; height: 10px; border: 1px solid var(--brass); }
.hours-dialog { width: min(620px, calc(100% - 30px)); padding: 34px; color: var(--ink); background: var(--paper); border: 1px solid var(--brass); box-shadow: 0 30px 90px rgba(5,15,30,.4); }
.hours-dialog::backdrop { background: rgba(5,15,30,.72); backdrop-filter: blur(4px); }
.hours-dialog-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.hours-dialog h2 { margin-bottom: 20px; font-size: clamp(2rem, 5vw, 3rem); }
.hours-dialog-close { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.hours-dialog-close:hover, .hours-dialog-close:focus-visible { color: var(--white); background: var(--navy); }
.palette-dialog { width: min(760px, calc(100% - 30px)); max-height: min(760px, calc(100vh - 30px)); overflow-y: auto; padding: 38px; color: var(--ink); background: var(--paper); border: 1px solid var(--brass); box-shadow: 0 30px 90px rgba(5,15,30,.4); }
.palette-dialog::backdrop { background: rgba(5,15,30,.72); backdrop-filter: blur(4px); }
.palette-dialog h2 { margin-bottom: 8px; font-size: clamp(2rem, 5vw, 3rem); }
.palette-dialog .color-status { margin-top: 24px; }
.palette-dialog .palette-option { background: var(--white); }
.assistant-page { min-height: calc((100vh - 78px) / var(--scala)); padding: 9px 0 18px; color: var(--white); background: var(--navy); position: relative; isolation: isolate; overflow: hidden; }
.assistant-page::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--hero-rgb),.98) 0%, rgba(var(--hero-rgb),.91) 45%, rgba(var(--hero-rgb),.58) 100%), linear-gradient(0deg, rgba(var(--hero-rgb),.94), rgba(var(--hero-rgb),.18)); }
.assistant-page-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.assistant-layout { max-width: 1240px; position: relative; z-index: 1; }
.assistant-intro { max-width: none; }
.assistant-intro h1 { display: flex; align-items: baseline; gap: 18px; margin: 0 0 1px; color: var(--white); font-size: calc(clamp(2rem, 3vw, 2.85rem) * 1.3); line-height: 1.02; }
.assistant-brand-inline { font-family: var(--sans); font-size: .34em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.assistant-intro .lead { max-width: none; margin: 0; color: rgba(255,255,255,.86); font-size: calc(clamp(.86rem, 1.2vw, .98rem) * 1.3); font-style: italic; line-height: 1.25; }
.assistant-guidance { margin-top: 5px; padding: 5px 0; border-top: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.22); }
.assistant-guidance h2, .assistant-workspace h2 { margin-bottom: 2px; color: var(--white); font-size: calc(clamp(.96rem, 1.5vw, 1.15rem) * 1.3); }
.assistant-guidance p { max-width: none; margin: 0 0 1px; color: rgba(255,255,255,.88); font-size: calc(.81rem * 1.3); line-height: 1.22; }
.assistant-guidance p:nth-of-type(even) { font-style: italic; }
.assistant-guidance p:last-child { margin-bottom: 0; }
.assistant-guidance a { color: var(--white); font-weight: 750; text-underline-offset: 3px; text-decoration-color: var(--brass); }
.assistant-workspace { margin-top: 3px; padding: 2px 0 3px; background: transparent; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); box-shadow: none; }
.assistant-workspace h2 { margin: 0 0 2px; font-family: var(--sans); font-size: calc(.9rem * 1.3); line-height: 1.3; font-weight: 700; letter-spacing: 0; }
.assistant-compose { padding-top: 4px; border-top: 1px solid rgba(255,255,255,.18); }
.assistant-compose label { display: block; margin-bottom: 9px; color: rgba(255,255,255,.8); font-size: calc(.92rem * 1.3); font-weight: 750; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.assistant-input-row { display: grid; grid-template-columns: minmax(0, 1fr) 30px auto; gap: 0; align-items: center; background: var(--white); border: 2px solid transparent; }
.assistant-input-row:focus-within { border-color: var(--brass); }
.assistant-input-row textarea { width: 100%; min-height: 42px; max-height: 88px; padding: 9px 12px; margin: 0; resize: vertical; color: var(--ink); background: var(--white); border: 0; border-radius: 0; box-shadow: none; outline: 0; font-size: calc(.9rem * 1.3); line-height: 1.4; }
.assistant-input-row textarea:focus { background: var(--white); box-shadow: none; }
.assistant-input-row button { min-width: 88px; padding: 7px 17px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); color: var(--white); font-size: calc(.9rem * 1.3); font-weight: 800; cursor: pointer; }
.assistant-input-row button:hover, .assistant-input-row button:focus-visible { background: var(--navy-2); }
.assistant-input-row .assistant-microphone { width: 24px; height: 24px; min-width: 24px; padding: 0; margin: 0; color: var(--navy); background: transparent; border: 0; border-radius: 50%; display: block; }
.assistant-microphone svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.assistant-input-row .assistant-microphone:hover, .assistant-input-row .assistant-microphone:focus-visible { color: var(--brass); background: var(--white); }
.assistant-input-row .assistant-microphone.is-listening { color: #000; background: transparent; animation: none; }
.assistant-input-row .assistant-microphone.is-listening svg { display: none; }
.assistant-input-row .assistant-microphone.is-listening::before { content: ""; display: block; width: 12px; height: 12px; margin: 6px; background: #000; }
.assistant-input-row .assistant-microphone.is-processing { color: var(--brass); animation: assistant-pulse .7s ease-in-out infinite alternate; }
@keyframes assistant-pulse { to { transform: scale(1.12); } }
.assistant-input-row button:disabled { cursor: not-allowed; opacity: .62; }
.assistant-input-row .assistant-microphone.is-processing { cursor: wait; }
.assistant-voice-status { float: left; max-width: 72%; margin: 3px 0 0; color: rgba(255,255,255,.78); font-size: calc(.8rem * 1.3); line-height: 1.35; }
.assistant-counter { margin: 3px 0 0; color: rgba(255,255,255,.68); font-size: calc(.8rem * 1.3); line-height: 1.35; text-align: right; }
.assistant-conversation { display: grid; align-content: start; gap: 5px; height: clamp(112px, 16vh, 155px); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 2px 10px 3px 2px; color: var(--white); background: transparent; }
.assistant-empty { margin: auto; color: rgba(255,255,255,.64); font-size: calc(.9rem * 1.3); text-align: center; }
.assistant-message { max-width: 78%; padding: 6px 10px; color: var(--white); background: transparent; border-left: 2px solid var(--brass); }
.assistant-message-user { margin-left: auto; border-right: 2px solid var(--brass); border-left: 0; }
.assistant-message p:last-child { margin-bottom: 0; }
.assistant-message-text { margin: 0; color: var(--white); white-space: pre-wrap; font-size: calc(.9rem * 1.3); line-height: 1.42; }
.assistant-message-text a { color: var(--white); font-weight: 750; text-decoration-color: var(--brass); text-underline-offset: 3px; }
.assistant-followup { display: flex; align-items: center; gap: 9px; margin-top: 7px; color: rgba(255,255,255,.86); font-size: calc(.88rem * 1.3); }
.assistant-followup em { line-height: 1.35; }
.assistant-followup-yes { min-width: 42px; padding: 4px 12px; color: var(--white); background: transparent; border: 1px solid var(--brass); border-radius: 999px; font: inherit; font-style: normal; cursor: pointer; }
.assistant-followup-yes:hover, .assistant-followup-yes:focus-visible { color: var(--navy); background: var(--white); }
.assistant-speech-button { width: 22px; height: 22px; padding: 0; margin: 5px 0 0; color: rgba(255,255,255,.82); background: transparent; border: 0; border-radius: 50%; }
.assistant-speech-button svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.assistant-speech-button:hover, .assistant-speech-button:focus-visible { color: var(--brass); }
.assistant-speech-button.is-loading { animation: assistant-pulse .7s ease-in-out infinite alternate; cursor: wait; }
.assistant-speech-button.is-playing { color: #000; animation: none; }
.assistant-speech-button.is-playing svg { display: none; }
.assistant-speech-button.is-playing::before { content: ""; display: block; width: 11px; height: 11px; margin: 5.5px; background: #000; }
.assistant-thinking { color: rgba(255,255,255,.65); font-style: italic; }
.assistant-error-dialog { width: min(620px, calc(100% - 30px)); padding: 38px; color: var(--ink); background: var(--paper); border: 1px solid var(--brass); box-shadow: 0 30px 90px rgba(5,15,30,.4); }
.assistant-error-dialog::backdrop { background: rgba(5,15,30,.72); backdrop-filter: blur(4px); }
.assistant-error-dialog h2 { margin-bottom: 12px; font-size: calc(clamp(1.8rem, 4vw, 2.7rem) * 1.3); }
.assistant-error-dialog p { font-size: calc(1rem * 1.3); }
.assistant-error-dialog .eyebrow { font-size: calc(.75rem * 1.3); }
.demo-banner { background: #e9dfc9; padding: 14px 20px; text-align: center; color: #503f27; font-weight: 650; }
.wizard { max-width: 900px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.wizard-top { padding: 28px 34px; background: var(--navy); color: var(--white); }
.steps { display: flex; gap: 8px; margin-top: 22px; }
.step-dot { flex: 1; height: 3px; background: rgba(255,255,255,.2); }
.step-dot.active { background: var(--brass); }
.wizard-panel { display: none; padding: 40px; }
.wizard-panel.active { display: block; }

/* Blocco condiviso appuntamenti: il servizio resta visibile nella parte superiore */
.appointment-section { scroll-margin-top: 86px; padding: 48px 0 72px; background: var(--navy); color: var(--white); }
.appointment-shell { overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.appointment-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 30px; align-items: end; padding: 26px 32px; background: var(--navy-2); color: var(--white); }
.appointment-heading h2 { margin: 3px 0 6px; color: var(--white); font-size: clamp(1.9rem,4vw,3.2rem); }
.appointment-heading p { margin: 0; color: rgba(255,255,255,.76); }
.appointment-progress { min-width: 145px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.25); }
.appointment-progress strong, .appointment-progress span { display: block; }
.appointment-progress strong { font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; }
.appointment-progress span { margin-top: 3px; color: rgba(255,255,255,.68); font-size: .82rem; }
.appointment-body { min-height: 250px; }
.appointment-form, .appointment-success { padding: 30px 32px 34px; }
.appointment-form--compact { max-width: 720px; }
.appointment-form h3, .appointment-success h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.appointment-option-grid { display: grid; gap: 1px; border: 1px solid var(--line); background: var(--line); }
.appointment-option-row { display: grid; grid-template-columns: 190px minmax(0,1fr); align-items: stretch; height: 40px; background: var(--white); }
.appointment-option-row > strong { display: flex; align-items: center; padding: 0 14px; color: var(--navy); background: color-mix(in srgb, var(--paper) 76%, var(--white)); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.appointment-option-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); min-width: 0; }
.appointment-option-list--two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.appointment-option-grid label { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 8px; align-items: center; min-width: 0; height: 40px; padding: 0 12px; border-left: 1px solid var(--line); cursor: pointer; font-size: .84rem; line-height: 1.1; }
.appointment-option-grid input[type="radio"], .appointment-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.appointment-option-grid small { font-size: .68rem; color: var(--muted); }
.appointment-single-field { max-width: 470px; }
.appointment-single-field label, .appointment-data-grid label { color: var(--navy); font-size: .82rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.appointment-single-field input, .appointment-data-grid input { min-height: 48px; border-color: var(--line); background: var(--white); color: var(--ink); font-size: 1rem; font-weight: 500; text-transform: none; }
.appointment-single-field #appointment-cf { font-size: 1.2rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.appointment-consent { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 10px; align-items: start; max-width: 720px; margin-top: 20px; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.appointment-consent a { color: var(--navy); font-weight: 800; text-underline-offset: 3px; }
.appointment-consent a:hover, .appointment-consent a:focus-visible { color: var(--brass); }
.appointment-data-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px 20px; }
.appointment-data-grid input[readonly] { background: color-mix(in srgb, var(--paper) 72%, var(--white)); color: var(--muted); }
.appointment-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.appointment-actions .btn, .appointment-success .btn { min-height: 44px; border-radius: 999px; transform: none; box-shadow: none; }
.appointment-actions .btn:hover, .appointment-actions .btn:focus-visible, .appointment-success .btn:hover, .appointment-success .btn:focus-visible { transform: none; }
.appointment-message { margin: 18px 32px 0; padding: 12px 15px; border-left: 4px solid #8d1f2d; background: #fff1f2; color: #681620; font-weight: 700; }
.appointment-message--info { border-left-color: var(--brass); background: var(--brass-soft); color: var(--ink); }
/* Richiesta di assunzione on line: modulo a settori abilitati in sequenza. */
[data-feature][hidden] { display: none !important; }
.ra-griglia [hidden] { display: none !important; }
.ra-layout { display: grid; gap: 28px; }
.ra-passi { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 6px; }
.ra-passi li { padding: 4px 0 4px 4px; border-bottom: 0; }
.ra-passi li::before { display: none; }
.ra-procedi { display: flex; justify-content: flex-start; }
.ra-procedi[hidden] { display: none; }
.ra-dialogo { width: min(1180px, calc(100% - 24px)); max-height: 94vh; padding: 0; overflow: hidden; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 28px 90px rgba(5,15,30,.38); }
.ra-dialogo[open] { display: flex; flex-direction: column; }
.ra-dialogo::backdrop { background: rgba(var(--hero-rgb),.78); backdrop-filter: blur(3px); }
.ra-dialogo-testa { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ra-dialogo-testa h2 { font-size: clamp(1.4rem,3vw,2rem); }
.ra-dialogo-testa .hours-dialog-close { color: var(--white); border-color: rgba(255,255,255,.5); background: transparent; }
.ra-dialogo-corpo { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 18px 22px 22px; }
.ra-conferma { width: min(640px, calc(100% - 32px)); padding: 0; overflow: hidden; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 28px 90px rgba(5,15,30,.38); }
.ra-conferma::backdrop { background: rgba(var(--hero-rgb),.78); backdrop-filter: blur(3px); }
.ra-conferma .site-notice-head h2 { font-size: clamp(1.4rem,3vw,2rem); }
.ra-conferma .site-notice-actions { gap: 10px; }
.ra-conferma [data-ra-si]:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.ra-conferma .appointment-consent { max-width: none; }
.ra-avviso { padding: 10px 14px; border-left: 4px solid var(--brass); background: var(--brass-soft); color: var(--ink); }
.ra-modulo { display: grid; gap: 18px; }
.ra-settore { margin: 0; padding: 18px 22px 20px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; box-shadow: var(--shadow); }
.ra-settore legend { display: flex; align-items: center; gap: 10px; padding: 0 8px; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.ra-settore legend span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font: 700 .95rem var(--sans); }
.ra-settore[disabled] { opacity: .55; box-shadow: none; }
.ra-settore.ra-completato { opacity: .8; }
.ra-griglia { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 16px; }
.ra-griglia label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.ra-griglia .ra-largo { grid-column: span 2; }
.ra-griglia input, .ra-griglia select, .ra-orari-griglia input { min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-weight: 400; color: var(--ink); background: var(--white); }
.ra-maiuscolo { text-transform: uppercase; }
.ra-griglia [aria-invalid="true"], .ra-orari-griglia[aria-invalid="true"] { border-color: #8d1f2d; }
.ra-errore { display: block; color: #8d1f2d; font-size: .78rem; font-weight: 700; }
.ra-orari { margin-top: 18px; }
.ra-orari-titolo { margin: 0 0 8px; font-weight: 700; }
.ra-orari-titolo small { font-weight: 400; color: var(--muted); }
.ra-orari-griglia { display: grid; grid-template-columns: 110px repeat(4, minmax(0, 1fr)); gap: 6px 10px; align-items: center; font-size: .82rem; }
.ra-orari-griglia > span { font-weight: 700; color: var(--muted); }
.ra-orari-griglia .ra-errore { grid-column: 1 / -1; }
.ra-giorno { color: var(--ink) !important; }
.ra-orari-totale { margin: 8px 0 0; font-weight: 700; }
.ra-azioni { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.ra-modulo .appointment-message { margin: 0; }
@media (max-width: 560px) {
  .ra-griglia .ra-largo { grid-column: auto; }
  .ra-orari-griglia { grid-template-columns: 1fr 1fr; }
  .ra-orari-griglia > span:not(.ra-giorno) { display: none; }
  .ra-giorno { grid-column: 1 / -1; }
}
.appointment-day + .appointment-day { margin-top: 16px; }
.appointment-day h3 { margin: 0 0 7px; font-family: var(--sans); font-size: 1rem; font-weight: 800; }
.appointment-slots { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 7px; }
.appointment-slot { min-height: 54px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); cursor: pointer; }
.appointment-slot strong, .appointment-slot span { display: block; }
.appointment-slot strong { font-size: 1.05rem; }
.appointment-slot span { margin-top: 1px; color: var(--muted); font-size: .9rem; font-weight: 700; }
.appointment-slot:hover, .appointment-slot:focus-visible { border-color: var(--brass); background: var(--brass-soft); outline: 0; }
.appointment-review { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.appointment-review > div { padding: 15px 12px; border-bottom: 1px solid var(--line); }
.appointment-review > div:nth-child(odd) { border-right: 1px solid var(--line); }
.appointment-review span, .appointment-review strong { display: block; }
.appointment-review span { margin-bottom: 4px; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.appointment-success { border-left: 6px solid var(--brass); background: var(--white); }
.appointment-receipt { display: grid; grid-template-columns: 1fr 1fr; max-width: 820px; margin: 20px 0 0; border-top: 1px solid var(--line); }
.appointment-receipt > div { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.appointment-receipt > div:nth-child(odd) { border-right: 1px solid var(--line); }
.appointment-receipt dt { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.appointment-receipt dd { margin: 3px 0 0; color: var(--ink); font-size: 1rem; font-weight: 700; }
.appointment-actions--start { justify-content: flex-start; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.choice { text-align: left; padding: 20px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.choice:hover, .choice.selected { border-color: var(--brass); background: #f3eadb; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-weight: 700; font-size: .9rem; }
input, select, textarea { width: 100%; border: 1px solid #aeb4bd; background: #fff; padding: 12px 13px; margin-top: 6px; border-radius: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brass); outline-offset: 2px; }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.slot { padding: 12px 8px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.slot.selected { background: var(--navy); color: white; }
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; padding-bottom: 46px; }
.site-footer h3 { color: var(--white); font-size: 1.2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
.footer-print { min-height: 34px; padding: 5px 14px; border-color: rgba(255,255,255,.32); background: transparent; color: rgba(255,255,255,.68); font-size: .78rem; box-shadow: none; }
.footer-print:hover, .footer-print:focus-visible { border-color: var(--white); background: var(--white); color: var(--navy); box-shadow: none; }
.footer-visits { min-width: 42px; color: inherit; font-size: .68rem; text-align: right; }
.site-notice-dialog { width: min(760px, calc(100% - 32px)); max-height: min(88vh, 820px); padding: 0; overflow: hidden; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 28px 90px rgba(5,15,30,.38), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.2); }
.site-notice-dialog::backdrop { background: rgba(var(--hero-rgb),.78); backdrop-filter: blur(3px); }
.site-notice-head { padding: 18px 28px 13px; color: var(--white); background: var(--navy); border-bottom: 3px solid var(--brass); }
.site-notice-head .eyebrow { margin-bottom: 5px; color: var(--brass-soft); }
.site-notice-head h2 { margin: 0; color: var(--white); font-size: clamp(1.8rem,4vw,2.6rem); }
.site-notice-scroll { max-height: 64vh; padding: 10px 28px; overflow-y: auto; }
.site-notice-item { padding: 17px 0; }
.site-notice-item + .site-notice-item { border-top: 1px solid var(--line); }
.site-notice-item h3 { margin-bottom: 8px; font-size: 1.35rem; }
.site-notice-item p { margin: 0; white-space: pre-line; }
.site-notice-item small { display: block; margin-top: 5px; color: var(--muted); font-size: .62rem; line-height: 1.2; }
.site-notice-actions { display: flex; justify-content: flex-end; padding: 10px 28px 14px; border-top: 1px solid var(--line); }
.site-notice-actions .btn { min-height: 40px; padding: 9px 16px; font-size: .68rem; }
.site-blocked { min-height: calc(100vh / var(--scala)); display: grid; place-items: center; padding: 24px; color: var(--white); background: var(--navy); }
.site-blocked section { width: min(620px,100%); padding: 48px; text-align: center; border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow); }
.site-blocked h1 { font-size: clamp(2.3rem,6vw,4.6rem); }
.cycle-control { border-radius: 999px; position: fixed; right: 14px; bottom: 14px; z-index: 65; min-height: 38px; padding: 8px 13px; border: 1px solid rgba(184,144,82,.7); background: rgba(7,19,37,.92); color: #fff; box-shadow: 0 8px 25px rgba(7,19,37,.2); font-size: .78rem; cursor: pointer; backdrop-filter: blur(10px); }
.cycle-control:hover, .cycle-control:focus-visible { background: var(--brass); color: var(--navy); outline: 2px solid #fff; outline-offset: 2px; }
.color-dashboard-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.dashboard-note { margin: 30px 0; padding: 18px 20px; border-left: 3px solid var(--brass); background: var(--white); color: var(--muted); }
.color-dashboard-panel { padding: 30px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.color-status { margin: 0 0 22px; color: var(--ink); font-weight: 800; }
.palette-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.palette-option { display: grid; gap: 5px; padding: 16px; border: 2px solid transparent; background: var(--paper); color: var(--ink); text-align: left; cursor: pointer; transition: .2s ease; }
.palette-option:hover, .palette-option:focus-visible { transform: translateY(-2px); border-color: var(--brass); }
.palette-option[aria-pressed="true"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.palette-option small { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.palette-option strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 500; }
.palette-swatches { display: grid; grid-template-columns: 1.6fr 1fr .55fr; height: 42px; margin-bottom: 8px; border: 1px solid rgba(0,0,0,.08); }
.palette-swatches i { display: block; }
.reveal { opacity: 0; transform: translateY(16px); transition: .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 1250px) {
  .nav-wrap { width: min(1180px, calc(100% - 40px)); }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 156px; padding: 18px 20px 24px; background: var(--navy); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav > a, .dropdown-toggle { width: 100%; padding: 13px; text-align: left; }
  .dropdown-menu, .dropdown-menu-wide { position: static; width: 100%; max-height: 48vh; overflow-y: auto; padding: 5px 12px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a { color: var(--white); font-size: .88rem; }
  .dropdown-menu a + a { border-top-color: rgba(255,255,255,.1); }
  .dropdown-menu a:hover, .dropdown-menu a:focus-visible { color: var(--white); background: rgba(255,255,255,.08); }
  .client-menu { width: 100%; }
  .client-menu small { color: rgba(255,255,255,.55); }
  .header-location { margin-right: 0; }
  .header-clients { margin-right: 0; }
  .header-clients .dropdown-menu { position: absolute; left: auto; right: 0; width: 260px; max-height: none; background: var(--navy); border-color: rgba(255,255,255,.12); }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 156px; padding: 18px 20px 24px; background: var(--navy); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav > a, .dropdown-toggle { width: 100%; padding: 13px; text-align: left; }
  .dropdown-menu, .dropdown-menu-wide { position: static; width: 100%; max-height: 48vh; overflow-y: auto; padding: 5px 12px; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a { color: var(--white); font-size: .88rem; }
  .dropdown-menu a + a { border-top-color: rgba(255,255,255,.1); }
  .dropdown-menu a:hover, .dropdown-menu a:focus-visible { color: var(--white); background: rgba(255,255,255,.08); }
  .client-menu { width: 100%; }
  .client-menu small { color: rgba(255,255,255,.55); }
  .header-location { min-width: 64px; margin-right: 0; }
  .header-clients .dropdown-toggle { min-width: 64px; }
  .nav-cta { margin-left: 0; }
  .hero { min-height: 680px; }
  .hero-content { transform: none; }
  .page-hero { height: auto; min-height: 0; padding: 68px 0; }
  .page-hero .container { transform: none; }
  .page-hero-image { object-position: 62% center; }
  .hero::after { background: linear-gradient(90deg, rgba(var(--hero-rgb),.93), rgba(var(--hero-rgb),.48)), linear-gradient(0deg, rgba(var(--hero-rgb),.85), transparent); }
  .section-head, .split, .category-head, .checklist-layout, .contact-grid, .service-detail-layout, .color-dashboard-layout, .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .appointments-info-hero { height: 220px; min-height: 220px; padding: 28px 0; }
  .appointments-info-head { grid-template-columns: 1fr; gap: 8px; }
  .appointments-info-grid { grid-template-columns: 1fr; }
  .appointments-info-grid .service-card { grid-template-columns: 38px minmax(165px,.8fr) 1.2fr; }
  .side-nav, .service-summary { position: static; }
  .appointment-option-row { grid-template-columns: 165px minmax(0,1fr); }
  .appointment-slots { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .patronato-service-row { grid-template-columns: 1fr; gap: 8px; }
  .patronato-row-actions { justify-content: flex-start; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1180px); }
  .nav-wrap { gap: 10px; }
  .brand { gap: 8px; }
  .brand-copy strong { max-width: 108px; font-size: .92rem; }
  .brand-copy span { display: none; }
  .header-left .brand-copy strong { max-width: none; }
  .header-tools { gap: 10px; }
  .header-assistant { min-width: 58px; }
  .assistant-label { font-size: .75rem; }
  .header-location { min-width: 46px; }
  .header-location img { width: 24px; height: 24px; }
  .header-location span { display: none; }
  .header-clients .dropdown-toggle { min-width: 46px; }
  .header-clients .dropdown-toggle img { width: 24px; height: 24px; }
  .header-clients .dropdown-toggle span { display: none; }
  .assistant-page { padding-top: 18px; }
  .assistant-guidance { margin-top: 8px; padding: 8px 0; }
  .assistant-guidance p { font-size: calc(.875rem * 1.3); }
  .assistant-workspace { margin-top: 5px; padding: 4px 0; }
  .assistant-conversation { height: 190px; padding-right: 4px; }
  .assistant-input-row { grid-template-columns: minmax(0, 1fr) 42px 70px; }
  .assistant-input-row button { min-width: 0; padding-inline: 10px; }
  .hero { min-height: 650px; }
  .hero-content { padding: 80px 0 55px; }
  .section { padding: 68px 0; }
  .appointments-info-section { padding: 24px 0 30px; }
  .appointments-info-grid .service-card { min-height: 100px; grid-template-columns: 32px 1fr; gap: 6px 12px; }
  .appointments-info-grid .service-card p { grid-column: 2; font-size: .9rem; line-height: 1.35; }
  .patronato-services { padding: 44px 0; }
  .patronato-service-row { padding: 14px; }
  .patronato-row-actions .btn { flex: 1 1 145px; }
  .patronato-price { width: 100%; text-align: left; }
  .patronato-info-dialog { padding: 22px 18px; }
  .patronato-document-list div { grid-template-columns: 1fr; gap: 3px; }
  .service-grid, .details-grid, .choice-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .fact-list li { grid-template-columns: 90px 1fr; gap: 12px; }
  .quote-card, .contact-panel, .policy-panel, .wizard-panel, .hours-dialog, .palette-dialog, .assistant-error-dialog { padding: 28px 22px; }
  .slots { grid-template-columns: repeat(2, 1fr); }
  .appointment-section { padding: 28px 0 46px; }
  .appointment-heading { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .appointment-progress { padding: 10px 0 0; border-top: 1px solid rgba(255,255,255,.25); border-left: 0; }
  .appointment-form, .appointment-success { padding: 24px 20px 28px; }
  .appointment-message { margin: 14px 20px 0; }
  .appointment-data-grid, .appointment-review { grid-template-columns: 1fr; }
  .appointment-receipt { grid-template-columns: 1fr; }
  .appointment-receipt > div:nth-child(odd) { border-right: 0; }
  .appointment-option-row { grid-template-columns: 1fr; height: auto; }
  .appointment-option-row > strong { min-height: 36px; }
  .appointment-option-list, .appointment-option-list--two { grid-template-columns: 1fr; }
  .appointment-option-grid label { border-top: 1px solid var(--line); border-left: 0; }
  .appointment-review > div:nth-child(odd) { border-right: 0; }
  .appointment-slots { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-bottom { grid-template-columns: 1fr auto auto; }
  .palette-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media print {
  @page { size: A4 portrait; margin: 12mm; }
  body { background: #fff !important; }
  body > * { display: none !important; }
  body > main#contenuto { display: block !important; }
  main#contenuto > .appointment-section { display: block !important; }
  .appointment-section { position: absolute; inset: 0 auto auto 0; width: 100%; height: 140mm; padding: 0; background: #fff !important; color: #000 !important; }
  .appointment-shell { border: 0; background: #fff !important; box-shadow: none; }
  .appointment-heading, .appointment-message, .appointment-actions, .appointment-reminder-status { display: none !important; }
  .appointment-body { min-height: 0; }
  .appointment-success { width: 100%; max-height: 140mm; padding: 10mm; border: 1px solid #444; background: #fff !important; color: #000 !important; box-shadow: none; }
  .appointment-success h3, .appointment-success p, .appointment-receipt dt, .appointment-receipt dd { color: #000 !important; }
  .appointment-receipt { margin-top: 7mm; border-color: #777; }
  .appointment-receipt > div { padding: 4mm; border-color: #999; }
}

/* Simulatore paghe: pagina autonoma del nuovo sito */
.simulator-hero { position: relative; min-height: 430px; display: grid; align-items: end; overflow: hidden; background: var(--navy); color: var(--white); }
.simulator-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--hero-rgb),.96) 0%, rgba(var(--hero-rgb),.78) 48%, rgba(var(--hero-rgb),.28) 100%); }
.simulator-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.simulator-hero-content { position: relative; z-index: 1; padding-block: 92px 60px; }
.simulator-hero h1 { max-width: 720px; margin: 8px 0 14px; color: var(--white); font-family: var(--serif); font-size: clamp(3.1rem, 7vw, 6.4rem); font-weight: 500; line-height: .94; }
.simulator-hero p:not(.eyebrow) { max-width: 650px; font-size: 1.08rem; line-height: 1.7; }
.light-link { display: inline-block; margin-top: 12px; color: var(--white); }
.simulator-section { background: var(--paper); }
.simulator-layout { display: grid; grid-template-columns: 1fr; gap: 38px; align-items: start; }
.simulator-intro { max-width: 820px; }
.simulator-intro h2 { margin: 8px 0 18px; font-family: var(--serif); font-size: clamp(2.1rem,4vw,3.5rem); font-weight: 500; line-height: 1.02; }
.simulator-docs { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.simulator-docs a { padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 800; text-decoration: none; }
.simulator-docs a::after { content: " ↗"; color: var(--accent); }
.simulator-card { padding: clamp(24px,4vw,48px); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.simulator-form-title { margin: 0 0 24px; color: var(--ink); font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.simulator-form-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.simulator-form-grid label { position: relative; display: grid; align-content: start; gap: 9px; color: var(--ink); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.simulator-form-grid input, .simulator-form-grid select, .simulator-form-grid textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); font: 500 1rem var(--sans); text-transform: none; resize: vertical; }
.simulator-form-grid textarea { min-height: 76px; }
.simulator-form-grid input:focus, .simulator-form-grid select:focus, .simulator-form-grid textarea:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.field-note-link { margin-top: -4px; color: var(--accent); font-size: .72rem; letter-spacing: 0; text-transform: none; }
.form-help { margin: 22px 0; color: var(--muted); font-size: .9rem; }
.simulator-message { margin: 0 0 20px; padding: 14px 16px; border-left: 3px solid #a43737; background: #fff1ef; color: #7a2424; }
.simulator-submit { border-radius: 999px; }
.simulator-submit:disabled { cursor: wait; opacity: .58; }
.simulator-results { background: var(--white); }
.simulator-results h2 { margin: 36px 0 18px; color: var(--ink); font-family: var(--serif); font-size: clamp(2rem,4vw,3.4rem); font-weight: 500; }
.simulator-original-note { margin: 0 0 30px; padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--paper); color: var(--ink); }
.original-summary { display: grid; gap: 18px; }
.summary-table-wrap { border: 1px solid var(--line); }
.summary-table td:first-child { font-weight: 800; }
.simulator-result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.compact-head { align-items: end; }
.result-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; margin: 34px 0; background: var(--line); border: 1px solid var(--line); }
.result-summary div { display: grid; gap: 6px; padding: 22px; background: var(--paper); }
.result-summary small { color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.result-summary strong { color: var(--ink); font-family: var(--serif); font-size: 1.42rem; font-weight: 600; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); }
.result-table { width: 100%; border-collapse: collapse; min-width: 730px; }
.result-table th, .result-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); color: var(--ink); text-align: right; white-space: nowrap; }
.result-table th:first-child, .result-table td:first-child { text-align: left; }
.result-table thead th { background: var(--navy); color: var(--white); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.result-table tbody tr:nth-child(even) { background: var(--paper); }
.result-table tfoot td { background: color-mix(in srgb, var(--accent) 14%, var(--paper)); font-weight: 900; }
.result-note { max-width: 850px; margin: 20px 0 0; color: var(--muted); font-size: .86rem; }

@media (max-width: 860px) {
  .simulator-layout { grid-template-columns: 1fr; }
  .simulator-intro { position: static; }
  .simulator-form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .result-summary { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px) {
  .simulator-hero { min-height: 380px; }
  .simulator-hero-content { padding-block: 70px 45px; }
  .simulator-card { padding: 22px 18px; }
  .simulator-form-grid { grid-template-columns: 1fr; }
  .result-summary { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .simulator-hero, .simulator-section, .cycle-control, #print-results { display: none !important; }
  .simulator-results[hidden] { display: none !important; }
  .simulator-results { display: block !important; padding: 0; }
  .result-table { min-width: 0; font-size: 10pt; }
}
