/* Font ospitati localmente (nessuna richiesta a server Google): Allura, Bodoni Moda, Source Sans 3 — SIL Open Font License */

/* latin-ext */
@font-face {
  font-family: 'Allura';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/allura-latin-ext-0.woff2) format('woff2');
  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;
}

/* latin */
@font-face {
  font-family: 'Allura';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/allura-latin-1.woff2) format('woff2');
  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;
}

/* latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/bodoni-moda-latin-ext-2.woff2) format('woff2');
  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;
}

/* latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/bodoni-moda-latin-3.woff2) format('woff2');
  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;
}

/* latin-ext */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/bodoni-moda-latin-ext-2.woff2) format('woff2');
  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;
}

/* latin */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/fonts/bodoni-moda-latin-3.woff2) format('woff2');
  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;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/source-sans-3-latin-ext-4.woff2) format('woff2');
  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;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/source-sans-3-latin-5.woff2) format('woff2');
  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;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/source-sans-3-latin-ext-4.woff2) format('woff2');
  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;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/source-sans-3-latin-5.woff2) format('woff2');
  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;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/source-sans-3-latin-ext-4.woff2) format('woff2');
  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;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/source-sans-3-latin-5.woff2) format('woff2');
  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;
}

/* latin-ext */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../assets/fonts/source-sans-3-latin-ext-4.woff2) format('woff2');
  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;
}

/* latin */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../assets/fonts/source-sans-3-latin-5.woff2) format('woff2');
  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;
}

/* ==========================================================================
   Valerio Giardini — palette e font presi dal volantino A5 e dal logo
   ========================================================================== */

:root {
  /* verdi */
  --green-900: #00431f;
  --green-800: #006130;   /* fascia verde scura del volantino */
  --green-600: #549040;   /* foglia scura del logo */
  --green-400: #70bf44;   /* foglia chiara del logo */
  /* sabbia / oliva dello sfondo del volantino */
  --olive-600: #808a40;
  --sand-400: #cebc75;
  --sand-200: #e9dfb4;
  --sand-50:  #faf7ec;
  /* neutri */
  --ink: #1d1d1b;
  --gray: #656a6d;        /* grigio del lettering del logo */
  --white: #ffffff;

  --font-serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --font-script: "Allura", "Snell Roundhand", cursive;
  --font-sans: "Source Sans 3", "Myriad Pro", "Segoe UI", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(0, 49, 24, .45);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
/* <picture> trasparente al layout: le regole CSS sugli <img> restano valide */
picture { display: contents; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   Bottoni
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .9em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1rem/1.1 var(--font-sans);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; }

.btn--primary { background: var(--green-400); color: var(--green-900); box-shadow: 0 10px 24px -10px rgba(112, 191, 68, .8); }
.btn--primary:hover { background: #84cf58; }
.btn--ghost { border-color: rgba(255,255,255,.8); color: var(--white); background: rgba(0,0,0,.15); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: var(--white); color: var(--green-800); }
.btn--ghost-dark { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn--ghost-dark:hover { background: var(--green-800); color: var(--white); }
.btn--sm { padding: .65em 1.2em; font-size: .95rem; }
.btn--block { width: 100%; padding-block: 1.05em; font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Topbar + header
   -------------------------------------------------------------------------- */
.topbar { background: var(--green-800); color: var(--white); font-size: .95rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .45rem; }
.topbar__claim span { opacity: .6; padding-inline: .25em; }
.topbar__phone { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.topbar__phone svg { width: 1em; height: 1em; fill: var(--green-400); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 97, 48, .08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.header__logo img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 2rem); font-weight: 600; }
.nav > a:not(.btn), .nav__item > a { text-decoration: none; color: var(--gray); position: relative; }
.nav > a:not(.btn)::after, .nav__item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--green-400); transform: scaleX(0); transition: transform .2s;
}
.nav > a:not(.btn):hover, .nav__item > a:hover, .nav__item > a[aria-current] { color: var(--green-800); }
.nav > a:not(.btn):hover::after, .nav__item > a:hover::after, .nav__item > a[aria-current]::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
  padding-block: 5rem 8rem;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 49, 24, .88) 0%, rgba(0, 67, 31, .6) 45%, rgba(0, 67, 31, .1) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .25), transparent 40%);
}
.hero__content { max-width: var(--container); }
.hero__eyebrow {
  display: inline-block; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem;
  color: var(--sand-200); border-bottom: 2px solid var(--green-400); padding-bottom: .3rem; margin-bottom: 1.2rem;
}
.hero__title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 4.8rem);
  letter-spacing: -.01em; max-width: 14ch;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero__title em {
  font-family: var(--font-script); font-style: normal; font-weight: 400;
  font-size: 1.15em; color: var(--sand-200); line-height: 1;
}
.hero__lead { max-width: 52ch; margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); opacity: .95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__badges {
  list-style: none; padding: 0; margin: 2.2rem 0 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-weight: 600; font-size: .98rem;
}
.hero__badges li { display: flex; align-items: center; gap: .5rem; }
.hero__badges li::before {
  content: ""; width: .7rem; height: 1.1rem; flex: none;
  background: var(--green-400);
  border-radius: 0 100% 0 100%; transform: rotate(-20deg);
}

.wave { position: absolute; left: 0; width: 100%; height: clamp(50px, 8vw, 110px); display: block; }
.wave--bottom { bottom: -1px; fill: var(--sand-400); }
.wave--top { top: -1px; fill: var(--olive-600); }

/* --------------------------------------------------------------------------
   Titoli di sezione (stile "i nostri servizi" del volantino)
   -------------------------------------------------------------------------- */
.section-head { margin-bottom: 2.4rem; }
.section-title {
  font-family: var(--font-sans); font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  color: var(--white);
  display: inline-block;
  padding-bottom: .2rem;
  border-bottom: 3px solid currentColor;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.section-title--dark { color: var(--green-800); text-shadow: none; border-bottom-color: var(--green-400); }
.section-lead { margin-top: 1rem; max-width: 56ch; font-size: 1.12rem; color: var(--green-900); font-weight: 600; }
.script { font-family: var(--font-script); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green-600); line-height: 1; margin-bottom: .2rem; }
.script--light { color: var(--sand-400); }

/* --------------------------------------------------------------------------
   Foglie decorative
   -------------------------------------------------------------------------- */
.leaves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.leaf { position: absolute; fill: currentColor; }
.leaf--1 { width: 520px; left: -180px; top: 120px; transform: rotate(-35deg); color: rgba(255,255,255,.14); }
.leaf--2 { width: 420px; right: -140px; top: 40%; transform: rotate(40deg); color: rgba(255,255,255,.12); }
.leaf--3 { width: 300px; left: 35%; bottom: -120px; transform: rotate(80deg); color: rgba(0, 97, 48, .1); }
.leaf--4 { width: 480px; right: -160px; top: -80px; transform: rotate(30deg); color: rgba(255,255,255,.05); }
.leaf--5 { width: 360px; left: -140px; bottom: -60px; transform: rotate(-50deg); color: rgba(112,191,68,.08); }

/* --------------------------------------------------------------------------
   Servizi
   -------------------------------------------------------------------------- */
.services {
  position: relative;
  background: linear-gradient(180deg, var(--sand-400) 0%, #b9ad62 55%, var(--olive-600) 100%);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(8rem, 12vw, 10rem);
  overflow: hidden;
}
.services .container { position: relative; z-index: 1; }

.service-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem;
}
.service {
  position: relative;
  background: rgba(255, 255, 255, .78);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.3rem 3.1rem;
  box-shadow: 0 6px 18px -12px rgba(0, 49, 24, .5);
  transition: transform .2s, background-color .2s;
}
.service:hover { transform: translateY(-3px); background: var(--white); }
.service::before {
  content: ""; position: absolute; left: 1.2rem; top: 1.45rem;
  width: .85rem; height: 1.3rem; background: var(--green-600);
  border-radius: 0 100% 0 100%; transform: rotate(-20deg);
}
.service h3 { font-size: 1.12rem; font-weight: 400; color: var(--ink); }
.service h3 strong { font-weight: 700; color: var(--green-800); }
.service p { margin-top: .45rem; font-size: .98rem; color: #3d4140; }

.section-head--special { margin-top: clamp(3rem, 6vw, 4.5rem); }

.special-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.special {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.special img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .5s; }
.special:hover img { transform: scale(1.04); }
.special__body { padding: 1.2rem 1.3rem 1.4rem; border-top: 4px solid var(--green-400); position: relative; z-index: 1; background: var(--white); }
.special h3 { font-size: 1.2rem; font-weight: 700; color: var(--green-800); }
.special p { margin-top: .4rem; font-size: .98rem; color: #3d4140; }

/* --------------------------------------------------------------------------
   Galleria lavori
   -------------------------------------------------------------------------- */
.gallery-section { position: relative; background: var(--sand-50); padding-block: clamp(6rem, 10vw, 8rem) clamp(3rem, 6vw, 5rem); }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: .8rem;
}
.gallery figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand-200); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* --------------------------------------------------------------------------
   Come lavoriamo
   -------------------------------------------------------------------------- */
.steps { background: var(--sand-50); padding-block: clamp(2rem, 4vw, 3rem) clamp(4rem, 7vw, 6rem); }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.step-list li { background: var(--white); border-radius: var(--radius); padding: 1.6rem; border: 1px solid rgba(0, 97, 48, .12); }
.step-num {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--green-800); color: var(--white); font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: .9rem;
}
.step-list h3 { font-size: 1.2rem; color: var(--green-800); }
.step-list p { margin-top: .4rem; color: #3d4140; }

/* --------------------------------------------------------------------------
   Prenotazione
   -------------------------------------------------------------------------- */
.booking {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, #0a7a3f 0%, var(--green-800) 45%, var(--green-900) 100%);
  color: var(--white);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.booking__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.booking__intro > p:not(.script) { margin-top: 1.2rem; font-size: 1.12rem; opacity: .92; max-width: 42ch; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; font-weight: 600; font-size: 1.1rem; }
.contact-list li { display: flex; align-items: center; gap: .75rem; }
.contact-list svg { width: 1.35rem; height: 1.35rem; fill: var(--green-400); flex: none; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form-card {
  background: var(--white); color: var(--ink);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.4rem, 3.5vw, 2.4rem);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55);
}
fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
legend {
  font-family: var(--font-serif); font-size: 1.35rem; color: var(--green-800);
  padding: 0; margin-bottom: .9rem; width: 100%;
  border-bottom: 1px solid var(--sand-200); padding-bottom: .4rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field-row--date { grid-template-columns: minmax(0, 1fr) auto; }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; color: var(--ink); }
.req { color: #b3261e; }
.optional { color: var(--gray); font-weight: 400; }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--sand-50);
  border: 1.5px solid #d8d2b8; border-radius: var(--radius-sm);
  padding: .75rem .9rem; min-height: 3rem;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
  -webkit-appearance: none; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23006130' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 12px; padding-right: 2.4rem;
}
input[type="date"] { min-height: 3rem; }
textarea { resize: vertical; min-height: 6rem; }
input:hover, select:hover, textarea:hover { border-color: var(--olive-600); }
input:focus, select:focus, textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(112, 191, 68, .25);
}
::placeholder { color: #9a9c95; }

.field__hint { font-size: .85rem; color: var(--gray); margin-top: .3rem; }
.field__error { display: none; font-size: .87rem; font-weight: 600; color: #b3261e; margin-top: .3rem; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid .field__hint { display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b3261e; background: #fff7f6; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 3rem; padding: 0 .95rem;
  border-radius: 999px; border: 1.5px solid #d8d2b8; background: var(--sand-50);
  font-weight: 600; font-size: .95rem; transition: all .15s;
}
.pill:hover span { border-color: var(--olive-600); }
.pill input:checked + span { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(112, 191, 68, .35); }

.field--check { margin-bottom: 1.4rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400 !important; font-size: .92rem !important; color: #3d4140 !important; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; flex: none; accent-color: var(--green-800); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { margin-top: .8rem; font-size: .85rem; color: var(--gray); text-align: center; }

.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.form-success { text-align: center; padding: 2rem 1rem; }
.form-success:focus { outline: none; }
.form-success__leaf { width: 44px; margin: 0 auto 1rem; fill: var(--green-400); transform: rotate(-20deg); }
.form-success h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.9rem; color: var(--green-800); }
.form-success p { margin: .8rem auto 1.6rem; max-width: 40ch; color: #3d4140; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--green-900); color: var(--white); padding-top: 3rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__logo { height: 92px; width: auto; }
.footer__contacts { display: flex; flex-direction: column; gap: .2rem; font-size: 1.05rem; }
.footer__contacts a { text-decoration: none; }
.footer__contacts a:hover { text-decoration: underline; }
.footer__phone { font-weight: 900; font-size: 1.6rem; }
.footer__social { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.1); transition: background-color .2s; }
.footer__social:hover { background: var(--green-600); }
.footer__social svg { width: 24px; height: 24px; fill: var(--white); }
.check a { color: var(--green-800); font-weight: 600; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; }
.footer__legal a { color: inherit; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-block: 1.2rem; font-size: .88rem; opacity: .75; }

.btn__icon { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }

/* CTA fisse: WhatsApp + sopralluogo, sempre visibili */
.sticky-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; gap: .6rem;
}
.sticky-cta__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.4rem; padding: 0 1.4rem; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
  transition: transform .2s, background-color .2s;
}
.sticky-cta__btn:hover { transform: translateY(-2px); }
.sticky-cta__btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.sticky-cta__btn .btn__icon { width: 1.45rem; height: 1.45rem; }
.sticky-cta__btn--wa { background: #25d366; color: #fff; width: 3.4rem; padding: 0; }
.sticky-cta__btn--wa .btn__icon { width: 1.8rem; height: 1.8rem; }
.sticky-cta__btn--wa:hover { background: #1ebe5b; }
.sticky-cta__btn--book { background: var(--green-400); color: var(--green-900); }
.sticky-cta__btn--book:hover { background: #84cf58; }
.footer { padding-bottom: 5.5rem; }

/* --------------------------------------------------------------------------
   Pagine legali (privacy, cookie)
   -------------------------------------------------------------------------- */
.legal-page .footer { padding: 0; }
.legal-page .footer__legal { margin-top: 0; }
.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal__inner { max-width: 820px; }
.legal h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.2rem); color: var(--green-800); }
.legal__meta { margin-top: .8rem; color: var(--gray); font-size: .95rem; }
.legal section { margin-top: 2.6rem; scroll-margin-top: 100px; }
.legal h2 { font-size: 1.45rem; color: var(--green-800); padding-bottom: .35rem; border-bottom: 2px solid var(--green-400); margin-bottom: 1rem; }
.legal h3 { font-size: 1.1rem; margin: 1.3rem 0 .4rem; }
.legal p + p, .legal ul + p, .legal p + ul, .legal .table-wrap + p { margin-top: .8rem; }
.legal ul { padding-left: 1.2rem; margin: .6rem 0 0; }
.legal li { margin-bottom: .4rem; }
.legal li::marker { color: var(--green-600); }
.legal a { color: var(--green-800); font-weight: 600; text-underline-offset: 2px; }
.legal__toc { margin-top: 2rem; background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.legal__toc ol { margin: 0; padding-left: 1.3rem; columns: 2 240px; column-gap: 2rem; }
.legal__toc li { margin-bottom: .3rem; break-inside: avoid; }
.legal__toc a { font-weight: 400; text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; }
.legal__highlight { margin-top: 2rem; background: var(--white); border-left: 5px solid var(--green-400); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius-sm); border: 1px solid var(--sand-200); background: var(--white); }
.legal table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--sand-200); }
.legal th { background: var(--sand-50); color: var(--green-800); font-weight: 700; }
.legal tr:last-child td { border-bottom: 0; }
.todo { background: #fff3c4; padding: 0 .3em; border-radius: 4px; font-weight: 700; }

/* --------------------------------------------------------------------------
   Lavori realizzati: schede, intestazione pagine interne
   -------------------------------------------------------------------------- */
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.link-arrow { font-weight: 700; color: var(--green-800); text-decoration: none; white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }
.subhead { font-size: 1.3rem; color: var(--green-800); margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.2rem; }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.4rem; }
.work-grid--featured { grid-template-columns: 2fr 1fr; }
.work-grid--single { grid-template-columns: 1fr; }
.work-grid--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.work-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: inherit; transition: transform .25s;
}
.work-card:hover { transform: translateY(-4px); }
.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__badge {
  position: absolute; left: 1rem; top: 1rem; background: var(--green-800); color: var(--white);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px;
}
.work-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.work-card__tag { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #646c2f; }
.work-card h2, .work-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.55rem; color: var(--green-800); }
.work-card p { color: #3d4140; }
.work-card .link-arrow { margin-top: auto; padding-top: .4rem; }
.work-card--wide { flex-direction: row; }
.work-card--wide .work-card__media { flex: 1 1 55%; aspect-ratio: auto; min-height: 340px; }
.work-card--wide .work-card__body { flex: 1 1 45%; justify-content: center; padding: 2rem; }
.work-card--ig { background: linear-gradient(160deg, var(--green-800), var(--green-900)); color: var(--white); justify-content: center; }
.work-card--ig .work-card__body { justify-content: center; align-items: flex-start; }
.work-card--ig h2, .work-card--ig h3 { color: var(--white); }
.work-card--ig p { color: #d6e6db; }
.work-card--ig .link-arrow { color: var(--green-400); }
.work-card--ig svg { width: 44px; height: 44px; fill: var(--green-400); margin-bottom: .4rem; }

.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  background: radial-gradient(120% 120% at 0% 0%, #0a7a3f 0%, var(--green-800) 45%, var(--green-900) 100%);
  padding-block: clamp(2.2rem, 5vw, 3.5rem) clamp(4.5rem, 8vw, 6rem);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 22ch; margin-top: .6rem; }
.page-hero__lead { margin-top: 1rem; max-width: 60ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #e2eee6; }
.page-hero .wave--bottom { fill: var(--sand-50); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .92rem; color: var(--sand-200); }
.breadcrumb li + li::before { content: "›"; margin-right: .3rem; opacity: .7; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--white); font-weight: 600; }
.chips { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: .35rem .9rem; font-size: .92rem; font-weight: 600; }

.page-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-section--white { background: var(--white); }
.page-section--sand { background: linear-gradient(180deg, var(--sand-400), #b9ad62); }

/* --------------------------------------------------------------------------
   Confronto prima / dopo
   -------------------------------------------------------------------------- */
.case-intro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: calc(-1 * clamp(3rem, 6vw, 4.5rem)); position: relative; z-index: 2; }
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 1000 / 1328; max-height: 78vh; width: 100%;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-200);
  user-select: none; touch-action: pan-y;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; box-shadow: 0 0 10px rgba(0,0,0,.35); }
.compare__handle {
  position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%;
  background: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,.35); display: grid; place-items: center; pointer-events: none;
}
.compare__handle svg { width: 26px; height: 26px; fill: var(--green-800); }
.compare__label { position: absolute; top: 1rem; padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.compare__label--before { left: 1rem; background: rgba(29,29,27,.8); color: var(--white); }
.compare__label--after { right: 1rem; background: var(--green-400); color: var(--green-900); }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare:has(input:focus-visible) { outline: 3px solid var(--green-400); outline-offset: 4px; }
.compare-hint { margin-top: .7rem; font-size: .9rem; color: var(--gray); text-align: center; }

.case-facts { background: var(--white); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.case-facts h2 { font-family: var(--font-serif); font-weight: 400; font-size: 1.8rem; color: var(--green-800); }
.case-facts p { margin-top: .8rem; color: #3d4140; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 1.9rem; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--green-400) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%2300431f'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.case-facts .btn { margin-top: 1.5rem; }
.case-facts__actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* --------------------------------------------------------------------------
   Contenuti editoriali
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--green-800); margin-bottom: 1rem; }
.prose h3 { font-size: 1.2rem; color: var(--green-800); margin: 1.6rem 0 .5rem; }
.prose p { color: #2f3331; }
.prose p + p { margin-top: .9rem; }
.prose ul { padding-left: 1.2rem; margin: .8rem 0 0; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--green-600); }
.prose a { color: var(--green-800); font-weight: 600; }

.feature-grid { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.feature-grid li { background: rgba(255,255,255,.82); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.3rem 3.1rem; position: relative; }
.feature-grid li::before { content: ""; position: absolute; left: 1.2rem; top: 1.45rem; width: .85rem; height: 1.3rem; background: var(--green-600); border-radius: 0 100% 0 100%; transform: rotate(-20deg); }
.feature-grid h3 { font-size: 1.1rem; color: var(--green-800); }
.feature-grid p { margin-top: .35rem; font-size: .98rem; color: #3d4140; }

.process { list-style: none; padding: 0; margin: 1.6rem 0 0; counter-reset: step; display: grid; gap: 1rem; }
.process li { counter-increment: step; position: relative; padding: 1.2rem 1.3rem 1.2rem 4.4rem; background: var(--white); border-radius: var(--radius); border: 1px solid rgba(0,97,48,.12); }
.process li::before {
  content: counter(step); position: absolute; left: 1.2rem; top: 1.15rem; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-800); color: var(--white); font-family: var(--font-serif); font-size: 1.15rem;
}
.process h3 { font-size: 1.12rem; color: var(--green-800); margin: 0; }
.process p { margin-top: .35rem; color: #3d4140; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.spec-card { background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.5rem; border: 1px solid var(--sand-200); }
.spec-card h3 { margin-top: 0; }

.compare-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .98rem; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: .85rem 1rem; border-bottom: 1px solid var(--sand-200); }
.compare-table thead th { background: var(--green-800); color: var(--white); }
.compare-table tbody th { color: var(--green-800); font-weight: 700; background: var(--sand-50); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }

.faq { margin-top: 1.4rem; display: grid; gap: .7rem; }
.faq details { background: var(--white); border-radius: var(--radius-sm); border: 1px solid rgba(0,97,48,.12); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; font-weight: 700; font-size: 1.05rem; color: var(--green-800); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--green-600); }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--green-400); outline-offset: 2px; border-radius: var(--radius-sm); }
.faq details > div { padding: 0 1.2rem 1.1rem; color: #3d4140; }
.faq details > div p + p { margin-top: .6rem; }

.ig-post { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.ig-post img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-width: 440px; justify-self: center; }
.ig-post__caption { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--sand-200); white-space: pre-line; color: #2f3331; }
.ig-post__caption .tags { color: #2e6fa8; }

.cta-band {
  position: relative; overflow: hidden; color: var(--white); text-align: center;
  background: radial-gradient(120% 120% at 100% 0%, #0a7a3f 0%, var(--green-800) 45%, var(--green-900) 100%);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-band h2 { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta-band p { margin: .9rem auto 0; max-width: 52ch; color: #e2eee6; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.8rem; }
.btn--wa { background: #15803d; color: var(--white); }
.btn--wa:hover { background: #116a32; }

.photo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 0; }
.photo-steps figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-200); aspect-ratio: 3 / 4; }
.photo-steps img { width: 100%; height: 100%; object-fit: cover; }
.photo-steps figcaption {
  position: absolute; left: .8rem; top: .8rem; padding: .3rem .75rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(29,29,27,.8); color: var(--white);
}
.photo-steps figure:last-child figcaption { background: var(--green-400); color: var(--green-900); }
.photo-steps--stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-steps--stack figure:last-child { grid-column: 1 / -1; aspect-ratio: 1 / 1; }
.photo-steps--stack figure:last-child img { object-position: center 30%; }
.photo-steps--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; max-width: 520px; justify-self: center; width: 100%; }
.ig-pair img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.special--link { text-decoration: none; color: inherit; transition: transform .25s; }
.special--link:hover { transform: translateY(-4px); }
.special__more { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--green-800); }

@media (max-width: 960px) {
  .work-grid--featured { grid-template-columns: 1fr; }
  .case-intro, .ig-post { grid-template-columns: 1fr; }
  .compare { max-height: none; }
}
@media (max-width: 760px) {
  .work-card--wide { flex-direction: column; }
  .work-card--wide .work-card__media { min-height: 0; aspect-ratio: 4 / 3; }
  .work-card--wide .work-card__body { padding: 1.3rem 1.4rem 1.5rem; }
  .two-col { grid-template-columns: 1fr; }
  .compare-table { font-size: .92rem; }
  .compare-table th, .compare-table td { padding: .7rem .75rem; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .booking__inner { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}

@media (max-width: 760px) {
  .topbar__claim { display: none; }
  .topbar__inner { justify-content: center; }
  .nav { display: none; }
  .header__logo img { height: 52px; }

  .hero { min-height: auto; padding-block: 3.5rem 6rem; }
  .hero::before { background: linear-gradient(180deg, rgba(0, 49, 24, .75) 0%, rgba(0, 67, 31, .85) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }

  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-wide { grid-column: span 2; }

  .footer__inner { flex-direction: column; align-items: flex-start; }

  .sticky-cta { left: 12px; right: 12px; bottom: 12px; }
  .sticky-cta__btn { padding: 0 1rem; }
  .sticky-cta__btn--wa { flex: 0 0 3.4rem; padding: 0; }
  .sticky-cta__btn--book { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* --------------------------------------------------------------------------
   Pagine servizi
   -------------------------------------------------------------------------- */
.media-card { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-200); aspect-ratio: 4 / 5; }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
.chips--light li { background: var(--white); border-color: var(--sand-200); color: var(--green-800); }
.service__more { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--green-800); text-decoration: none; }
.service__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-cards { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.link-cards a { display: block; height: 100%; background: var(--white); border-radius: var(--radius); padding: 1.3rem 1.4rem; border: 1px solid rgba(0, 97, 48, .12); text-decoration: none; transition: transform .2s; }
.link-cards a:hover { transform: translateY(-3px); }
.link-cards h3 { font-size: 1.15rem; color: var(--green-800); }
.link-cards p { margin-top: .35rem; color: #3d4140; font-size: .98rem; }
.link-cards span { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--green-800); }
.photo-steps--trio { margin-top: 1.6rem; }
@media (max-width: 600px) {
  .photo-steps--trio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-steps--trio .photo-tile--lead { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* --------------------------------------------------------------------------
   Megamenu (desktop) e menu mobile
   -------------------------------------------------------------------------- */
.nav__item { padding-block: 28px; margin-block: -28px; }
.nav__item > a { display: inline-flex; align-items: center; gap: .35em; }
.nav__caret { width: .65em; height: .65em; transition: transform .2s; }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }
.mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid rgba(0, 97, 48, .08);
  box-shadow: 0 28px 40px -28px rgba(0, 49, 24, .45); font-weight: 400;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item:hover > .mega, .nav__item:focus-within > .mega { display: block; animation: mega-in .18s ease-out; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } }
.mega__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; padding-block: 1.5rem 1.8rem; align-items: start; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 1rem; }
.mega__list a { display: block; padding: .75rem .9rem; border-radius: var(--radius-sm); text-decoration: none; transition: background-color .15s; }
.mega__list a:hover, .mega__list a:focus-visible, .mega__list a[aria-current] { background: var(--sand-50); }
.mega__list strong { display: block; color: var(--green-800); font-size: 1.02rem; }
.mega__list span { display: block; margin-top: .1rem; color: var(--gray); font-size: .92rem; }
.mega__aside { background: var(--sand-50); border-radius: var(--radius); padding: 1.2rem 1.3rem; color: #3d4140; font-size: .95rem; }
.mega__aside p + p { margin-top: .3rem; }
.mega__aside strong { color: var(--green-800); font-size: 1.05rem; }
.mega__aside .btn { margin-top: 1rem; }
.mega__phone { display: block; margin-top: .7rem; font-weight: 700; color: var(--green-800); text-decoration: none; }
.mega__all { display: inline-block; margin-top: .9rem; font-weight: 700; color: var(--green-800); text-decoration: none; }
.mega__all:hover, .mega__phone:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mega__card { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand-50); text-decoration: none; transition: transform .2s; }
.mega__card:hover { transform: translateY(-2px); }
.mega__card img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.mega__card strong { display: block; padding: .7rem .9rem .8rem; color: var(--green-800); font-size: 1rem; line-height: 1.3; }

.mnav { display: none; }
.mnav > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .95rem; border: 2px solid var(--green-800); border-radius: 999px;
  font-weight: 700; color: var(--green-800);
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav > summary svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }
.mnav[open] > summary { background: var(--green-800); color: var(--white); }
.mnav__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100vh - 90px); overflow-y: auto;
  background: var(--white); border-top: 1px solid rgba(0, 97, 48, .08);
  box-shadow: 0 28px 40px -28px rgba(0, 49, 24, .45);
  padding: .4rem var(--gutter) 1.4rem;
}
.mnav__title { margin: 1rem 0 .2rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #646c2f; }
.mnav__panel ul { list-style: none; margin: 0; padding: 0; }
.mnav__panel ul + ul { margin-top: .8rem; }
.mnav__panel li a { display: block; padding: .65rem 0; border-bottom: 1px solid var(--sand-200); font-weight: 600; color: var(--ink); text-decoration: none; }
.mnav__panel li a[aria-current] { color: var(--green-800); }
.mnav__panel .btn { margin-top: 1.2rem; width: 100%; justify-content: center; }
@media (max-width: 760px) {
  .mnav { display: block; }
}
body:has(.mnav[open]) .sticky-cta { display: none; }

/* --------------------------------------------------------------------------
   Box recensioni Google
   -------------------------------------------------------------------------- */
.review-box {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.2rem 1.6rem;
  margin-top: 2.2rem; padding: 1.5rem 1.8rem;
  background: var(--white); border-radius: var(--radius); border: 1px solid rgba(0, 97, 48, .12); box-shadow: var(--shadow);
}
.review-box__logo { width: 52px; height: 52px; }
.review-box h3 { font-size: 1.25rem; color: var(--green-800); }
.review-box p { margin-top: .35rem; color: #3d4140; }
.btn--review { background: var(--green-800); color: var(--white); white-space: nowrap; }
.btn--review:hover { background: var(--green-900); }
@media (max-width: 760px) {
  .review-box { grid-template-columns: auto minmax(0, 1fr); padding: 1.3rem; }
  .btn--review { grid-column: 1 / -1; justify-content: center; white-space: normal; }
}
