/* Emmedi Tende — foglio di stile
   Palette: garza, blu notte, ottone, tortora, salvia.  Font: Archivo (in locale, nessuna richiesta esterna). */

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

:root {
  --garza: #EFEEE9;
  --garza-2: #E4E2DB;
  --notte: #1B2230;
  --notte-2: #273042;
  --ottone: #A8834F;
  --ottone-chiaro: #C9A66E;
  --tortora: #6F6A61;
  --salvia: #5D6B5E;
  --bianco: #FBFAF7;

  --f: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(72px, 11vw, 150px);
  --r: 2px;
  --ease: cubic-bezier(.2,.7,.1,1);
  --pop: cubic-bezier(.34,1.56,.64,1);
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--garza); color: var(--notte);
  font-family: var(--f); font-size: 1.0625rem; line-height: 1.6; font-weight: 400; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ottone); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--notte); color: var(--bianco); padding: 10px 16px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut);
  padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.muted { color: var(--tortora); }
.todo { background: #f3e2b8; padding: 0 .3em; }

/* ---------- tipografia ---------- */
h1, h2, h3, .h3 { margin: 0; text-transform: uppercase; line-height: .98; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 7.2vw, 6.6rem); font-weight: 820; font-stretch: 125%; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.5rem); font-weight: 780; font-stretch: 118%; margin-bottom: .6em; }
h3, .h3 { font-size: 1.05rem; font-weight: 700; font-stretch: 112%; letter-spacing: .01em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 64ch; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; font-weight: 450; }

/* cucitura: il punto d'ago come separatore */
.cucitura { height: 2px; margin: 2.2em 0; max-width: 64ch;
  background: repeating-linear-gradient(90deg, var(--ottone) 0 12px, transparent 12px 20px); }

/* ---------- bottoni ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px;
  padding: .8em 1.5em; border-radius: var(--r); text-decoration: none; font-weight: 650; font-stretch: 108%;
  font-size: .95rem; letter-spacing: .01em; border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-ottone { background: var(--ottone); color: var(--bianco); }
.btn-ottone:hover { background: #95713f; }
.btn-ghost { border-color: rgba(251,250,247,.7); color: var(--bianco); }
.btn-ghost:hover { background: var(--bianco); color: var(--notte); }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: var(--notte); color: var(--bianco); border-color: var(--notte); }
.link-u { display: inline-block; margin-top: 2.4rem; font-weight: 650; font-stretch: 110%; text-decoration: none;
  border-bottom: 2px solid var(--ottone); padding: 12px 0 4px; }
.link-u:hover { color: var(--ottone); }

/* ---------- sipario (apertura/chiusura pagina) ---------- */
.sipario { position: fixed; inset: 0; z-index: 200; pointer-events: none; display: none; }
.js .sipario { display: block; }
.telo { position: absolute; top: 0; bottom: 0; width: 50.5%;
  background:
    linear-gradient(180deg, var(--ottone) 0 5px, transparent 5px),
    repeating-linear-gradient(90deg, #151b27 0, #222b3b 22px, #2f3a4f 34px, #232c3c 48px, #141a25 66px);
  transition: transform 1.15s cubic-bezier(.65,0,.25,1), filter 1.15s;
  will-change: transform; }
.telo-l { left: 0; transform-origin: 0 50%; box-shadow: 18px 0 40px rgba(0,0,0,.35); }
.telo-r { right: 0; transform-origin: 100% 50%; box-shadow: -18px 0 40px rgba(0,0,0,.35); }
.sipario.is-open .telo { transform: scaleX(0); filter: brightness(1.4); }
.sipario.is-closing .telo { transition-duration: .6s; transition-timing-function: cubic-bezier(.5,0,.75,0); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: var(--bianco);
  transition: background-color .35s, color .35s, box-shadow .35s; }
.header-in { height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { background: rgba(239,238,233,.96); color: var(--notte); box-shadow: 0 1px 0 rgba(27,34,48,.08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.logo-mark { width: 34px; height: 34px; color: var(--ottone); flex: none; }
.logo-txt { display: flex; flex-direction: column; line-height: .9; text-transform: uppercase; }
.logo-txt b { font-weight: 850; font-stretch: 125%; font-size: 1.25rem; letter-spacing: .02em; }
.logo-txt span { font-weight: 500; font-stretch: 125%; font-size: .72rem; letter-spacing: .42em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 550; font-size: .95rem; position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ottone);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-tel { min-height: 42px; padding: .55em 1.1em; font-size: .88rem; }
.burger { display: none; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; position: relative; z-index: 2; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  :root { --head-h: 66px; }
  .burger { display: block; }
  .nav { position: fixed; inset: 0; height: 100vh; height: 100dvh; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--notte); color: var(--bianco);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px; padding: 90px var(--gut) 40px;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s cubic-bezier(.65,0,.25,1), visibility 0s .55s; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s cubic-bezier(.65,0,.25,1), visibility 0s; }
  .nav ul { flex-direction: column; gap: 14px; }
  .nav ul a { font-size: clamp(2rem, 9vw, 3rem); font-weight: 800; font-stretch: 122%; text-transform: uppercase; line-height: 1.05; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: var(--bianco); background: transparent; box-shadow: none; }
  .logo { position: relative; z-index: 2; }
}

/* ---------- titoli a comparsa (pop-up riga per riga) ---------- */
.pop .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.pop .ln-in { display: inline-block; }
.js .pop .ln-in { transform: translateY(108%) scale(.94); opacity: 0; transform-origin: 0 100%; }
.js.is-ready .pop .ln-in { transform: none; opacity: 1;
  transition: transform .9s var(--pop), opacity .4s ease; transition-delay: calc(.12s * var(--i) + .15s); }
.js .hero-sub, .js .hero-cta, .js .hero-ctrl { opacity: 0; transform: translateY(14px); }
.js.is-ready .hero-sub, .js.is-ready .hero-cta, .js.is-ready .hero-ctrl { opacity: 1; transform: none;
  transition: opacity .7s ease .75s, transform .7s var(--ease) .75s; }
.js.is-ready .hero-cta { transition-delay: .9s; }
.js.is-ready .hero-ctrl { transition-delay: 1.1s; }

/* ---------- hero home ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: var(--bianco); overflow: hidden;
  background: repeating-linear-gradient(90deg, #151b27 0, #222b3b 22px, #2f3a4f 34px, #232c3c 48px, #141a25 66px); }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.6s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.slide.is-active img { transform: scale(1); transition: transform 8s linear; }
.slide.was-active { opacity: 0; z-index: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(17,22,32,.72) 0%, rgba(17,22,32,.35) 48%, rgba(17,22,32,0) 75%),
              linear-gradient(0deg, rgba(17,22,32,.55) 0%, rgba(17,22,32,0) 45%); }
.hero-txt { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(96px, 15vh, 150px); text-align: left; }
.hero-txt h1 { font-size: clamp(2.2rem, 5.6vw, 5.4rem); max-width: none; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-sub { margin: 1.4rem 0 1.8rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 46ch; color: rgba(251,250,247,.9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctrl { position: absolute; z-index: 3; right: max(var(--gut), env(safe-area-inset-right)); bottom: max(clamp(20px, 4vh, 40px), env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 14px; }
.hero-dots { display: flex; gap: 6px; }
.hero-dot { width: 34px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; }
.hero-dot i { display: block; width: 100%; height: 3px; background: rgba(251,250,247,.35); position: relative; overflow: hidden; }
.hero-dot i::after { content: ""; position: absolute; inset: 0; background: var(--ottone-chiaro); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-done i::after { transform: scaleX(1); }
.hero-dot.is-active i::after { animation: fill var(--dur, 6.5s) linear forwards; }
.hero.is-paused .hero-dot.is-active i::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-pause { width: 44px; height: 44px; border: 1.5px solid rgba(251,250,247,.6); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.hero-pause span::before, .hero-pause span::after { content: ""; position: absolute; top: 15px; width: 3px; height: 11px; background: var(--bianco); }
.hero-pause span::before { left: 16px; } .hero-pause span::after { left: 22px; }
.hero.is-paused .hero-pause span::after { display: none; }
.hero.is-paused .hero-pause span::before { left: 17px; top: 14px; width: 0; height: 0; background: none;
  border-left: 11px solid var(--bianco); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }

/* ---------- hero pagine interne ---------- */
.page-hero { position: relative; min-height: 62vh; min-height: 62svh; display: flex; align-items: flex-end; color: var(--bianco); overflow: hidden;
  background: repeating-linear-gradient(90deg, #151b27 0, #222b3b 22px, #2f3a4f 34px, #232c3c 48px, #141a25 66px); }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease); }
.is-ready .page-hero-media img { transform: scale(1); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,22,32,.75), rgba(17,22,32,.15) 80%), linear-gradient(0deg, rgba(17,22,32,.5), transparent 60%); }
.page-hero-txt { position: relative; z-index: 2; padding-top: calc(var(--head-h) + 40px); padding-bottom: clamp(48px, 8vh, 88px); }

/* ---------- sezioni ---------- */
.sec { padding: var(--sec) 0; }

.intro-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.intro-img { position: relative; }
.intro-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--garza-2); }
.intro-img::before { content: ""; position: absolute; left: -14px; top: 14px; bottom: -14px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--ottone) 0 12px, transparent 12px 20px); }
.intro-quote { margin: 0; }
.intro-quote blockquote { margin: 0 0 .6em; font-size: 1.15rem; line-height: 1.5; font-weight: 500; max-width: 52ch; }
.intro-quote figcaption { color: var(--tortora); font-size: .92rem; }

/* servizi in home: elenco + anteprima che cambia al passaggio */
.srv-home { background: var(--bianco); }
.srv-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.srv-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(27,34,48,.15); }
.srv-list li { border-bottom: 1px solid rgba(27,34,48,.15); }
.srv-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 22px 0; text-decoration: none; position: relative; }
.srv-name { font-size: clamp(1.35rem, 2.6vw, 2.1rem); font-weight: 760; font-stretch: 118%; text-transform: uppercase; line-height: 1.05;
  transition: transform .45s var(--ease), color .3s; }
.srv-desc { color: var(--tortora); font-size: .98rem; transition: transform .45s var(--ease); }
.srv-row:focus-visible .srv-name { color: var(--ottone); }
@media (hover: hover) and (min-width: 821px) {
  .srv-row:hover .srv-name, .srv-row.is-on .srv-name { transform: translateX(14px); color: var(--ottone); }
  .srv-row:hover .srv-desc, .srv-row.is-on .srv-desc { transform: translateX(14px); }
}
.srv-preview { position: sticky; top: calc(var(--head-h) + 24px); aspect-ratio: 4/5; overflow: hidden; background: var(--garza-2); }
.srv-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .8s var(--ease); }
.srv-preview img.is-swapping { opacity: 0; transform: scale(1.04); }

/* metodo: sequenza reale, quindi numerata, unita da una cucitura */
.steps { --g: clamp(20px, 3vw, 40px); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--g); counter-reset: s; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 60px; right: calc(var(--g) * -1 + 12px); top: 23px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ottone) 0 12px, transparent 12px 20px); }
.steps li { counter-increment: s; position: relative; padding-top: 74px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--garza); border: 2px solid var(--ottone); font-weight: 800; font-stretch: 120%; }
.steps h3 { margin-bottom: .6em; font-size: 1.15rem; }
.steps p { color: var(--tortora); font-size: 1rem; }

/* recensioni */
.recensioni { background: var(--notte); color: var(--bianco); }
.rating { color: var(--ottone-chiaro); margin-top: -.6rem; margin-bottom: 3rem; }
.rating b { font-weight: 750; font-stretch: 115%; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.rev { margin: 0; padding-top: 22px; border-top: 2px solid var(--ottone); }
.rev blockquote { margin: 0 0 1.2em; font-size: 1.12rem; line-height: 1.55; }
.rev figcaption { color: rgba(251,250,247,.6); font-size: .9rem; }

/* marchi */
.marchi { padding: clamp(48px, 7vw, 80px) 0; border-bottom: 1px solid rgba(27,34,48,.12); }
.marchi-in { display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px 48px; }
.marchi-in h2 { margin: 0; color: var(--tortora); }
.marchi-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.marchi-list li { font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 700; font-stretch: 112%; color: var(--notte-2); }

/* banda finale */
.cta-band { background: var(--garza-2); }
.cta-in { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; }
.cta-in h2 { margin: 0; max-width: 12ch; }
.cta-info p { margin-bottom: 1.4rem; }

/* ---------- pagina servizi ---------- */
.jump { padding-top: 28px; }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: inline-block; padding: 8px 14px; border: 1px solid rgba(27,34,48,.25); border-radius: 40px; text-decoration: none; font-size: .9rem; font-weight: 550; }
@media (hover: hover) { .jump a:hover { background: var(--notte); color: var(--bianco); border-color: var(--notte); } }
.srv-blocks { padding-top: clamp(48px, 7vw, 90px); }
.srv-block { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.srv-block + .srv-block { margin-top: clamp(72px, 10vw, 140px); }
.srv-block.is-rev .srv-block-img { order: 2; }
.srv-block-img { overflow: hidden; background: var(--garza-2); }
.srv-block-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .srv-block:hover .srv-block-img img { transform: scale(1.035); } }
.ticks { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid rgba(27,34,48,.12); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 14px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--ottone) 0 5px, transparent 5px 8px); }

/* ---------- galleria ---------- */
.galleria { padding-top: clamp(40px, 6vw, 72px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { padding: 9px 18px; border-radius: 40px; border: 1px solid rgba(27,34,48,.3); background: none; cursor: pointer; font-weight: 600; font-size: .92rem; min-height: 42px; }
.chip.is-on { background: var(--notte); color: var(--bianco); border-color: var(--notte); }
.g-grid { columns: 3 300px; column-gap: 20px; }
.g-item { break-inside: avoid; margin: 0 0 20px; transition: opacity .4s ease, transform .4s var(--ease); }
.g-item.is-hidden { display: none; }
.g-item.is-in { animation: gin .5s var(--ease) both; }
@keyframes gin { from { opacity: 0; transform: translateY(12px); } }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: var(--garza-2); cursor: zoom-in; overflow: hidden; }
.g-open img { width: 100%; transition: transform .9s var(--ease), filter .5s; }
@media (hover: hover) { .g-open:hover img { transform: scale(1.04); } }
.g-item figcaption { font-size: .9rem; color: var(--tortora); padding-top: 8px; }

.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(17,22,32,.94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 60px 0 24px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; animation: lbin .45s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.97); } }
.lightbox figcaption { color: rgba(251,250,247,.8); margin-top: 14px; font-size: .95rem; text-align: center; }
.lightbox button { background: none; border: 0; color: var(--bianco); font-size: 2.6rem; line-height: 1; cursor: pointer; width: 56px; height: 56px; justify-self: center; }
.lb-close { position: absolute; top: 10px; right: 12px; font-size: 2.2rem !important; }

/* ---------- contatti ---------- */
.ct-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.ct-addr { font-size: 1.35rem; font-weight: 600; margin-bottom: .2em; }
.ct-tel { display: inline-block; margin: 1.2rem 0 .3rem; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 820; font-stretch: 122%; text-decoration: none; color: var(--notte); }
.ct-tel:hover { color: var(--ottone); }
.status { font-weight: 600; display: flex; align-items: center; gap: 8px; min-height: 1.6em; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tortora); }
.status.is-open::before { background: #4f8a5b; box-shadow: 0 0 0 4px rgba(79,138,91,.18); }
.orari { border-collapse: collapse; width: 100%; max-width: 440px; margin-top: 1rem; font-size: .98rem; }
.orari th, .orari td { text-align: left; padding: 9px 0; border-bottom: 1px solid rgba(27,34,48,.12); font-weight: 400; }
.orari th { font-weight: 600; width: 38%; }
.orari tr.is-today th, .orari tr.is-today td { color: var(--ottone); font-weight: 700; }
.ct-info h3 { margin-bottom: .7em; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-form { background: var(--bianco); padding: clamp(24px, 4vw, 48px); border-top: 4px solid var(--ottone); }
.ct-form h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.f-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.f-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.f-row label { font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--tortora); }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--notte); background: var(--garza); border: 1px solid rgba(27,34,48,.2);
  border-radius: var(--r); padding: 12px 14px; width: 100%; min-height: 48px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ottone); outline-offset: 0; border-color: var(--ottone); }
.f-check { display: flex; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; font-size: .92rem; margin: 6px 0 20px; color: var(--tortora); }
.f-check input { width: 24px; min-height: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--ottone); }
.f-err { color: #a2412f; font-weight: 600; }
.ct-form .is-bad { border-color: #a2412f; }

/* ---------- footer ---------- */
.site-footer { background: var(--notte); color: rgba(251,250,247,.85); padding: clamp(56px, 8vw, 96px) 0 max(28px, env(safe-area-inset-bottom)); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr .8fr; gap: 40px; }
.site-footer h3 { color: var(--ottone-chiaro); font-size: .88rem; margin-bottom: 1em; }
.site-footer .muted { color: rgba(251,250,247,.6); margin-top: 1.2em; max-width: 34ch; }
.logo-footer { color: var(--bianco); }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav a, .site-footer p a { text-decoration: none; }
.footer-nav a:hover, .site-footer p a:hover { color: var(--ottone-chiaro); }
.footer-nav li { margin-bottom: 0; }
.footer-nav a { display: inline-block; padding: 8px 0; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(251,250,247,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: .84rem; color: rgba(251,250,247,.55); }
.footer-bottom p { margin: 0; max-width: none; }
.footer-bottom .todo { color: var(--notte); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps li::after { display: none; }
  .rev-grid { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 820px) {
  .intro-grid, .srv-grid, .srv-block, .ct-grid, .cta-in { grid-template-columns: 1fr; }
  .srv-block.is-rev .srv-block-img { order: 0; }
  .srv-preview { display: none; }
  .intro-img { max-width: 520px; margin-left: 14px; }
  .hero-ctrl { left: var(--gut); right: auto; }
  .hero-txt { padding-bottom: 110px; }
}
@media (max-width: 820px) {
  .hero-shade { background: linear-gradient(0deg, rgba(17,22,32,.88) 0%, rgba(17,22,32,.62) 45%, rgba(17,22,32,.25) 75%, rgba(17,22,32,.35) 100%); }
  .page-hero::after { background: linear-gradient(0deg, rgba(17,22,32,.82), rgba(17,22,32,.3) 70%); }
}
@media (max-width: 420px) {
  h2 { font-size: clamp(1.55rem, 7.4vw, 1.9rem); font-stretch: 110%; }
  h1, h2 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
  .hero-txt h1 { font-size: clamp(2rem, 9.6vw, 2.4rem); }
  .srv-name { font-size: 1.3rem; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 0; }
  .hero-txt { padding-bottom: 22px; padding-top: calc(var(--head-h) + 8px); }
  .hero-txt h1 { font-size: clamp(1.5rem, 4.4vh + 1.6vw, 2.6rem); max-width: 22ch; }
  .hero-sub { margin: .5rem 0 .8rem; font-size: .95rem; line-height: 1.45; max-width: 62ch; }
  .hero-ctrl { left: auto; right: max(var(--gut), env(safe-area-inset-right)); bottom: 18px; }
  .hero-sub br { display: none; }
  .hero-cta .btn { min-height: 44px; padding: .5em 1.2em; }
  .page-hero { min-height: 0; }
  .page-hero-txt { padding-top: calc(var(--head-h) + 24px); padding-bottom: 32px; }
  .nav { justify-content: flex-start; padding-top: 80px; gap: 24px; }
  .nav ul a { font-size: 1.6rem; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .f-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-dot { width: 26px; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .lightbox button { width: 44px; }
  .g-grid { columns: 2 140px; column-gap: 12px; }
  .g-item { margin-bottom: 12px; }
}

/* ---------- movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .js .sipario { display: none; }
  .slide img, .slide.is-active img { transform: none; }
}
