/* Edelweiss Garden - bozza
   Stile ripreso dal sito del B&B Airone (impaginazione, caratteri, ritmo delle sezioni),
   colori presi dal logo ridisegnato: bianco di fondo, verde, rosso, nero, un filo di giallo.
   Regola forme: foto 16px, schede 24px, pulsanti a pillola. */

/* Caratteri dentro il sito (nessuna chiamata a Google). EB Garamond, Jost, Alex Brush: licenza SIL OFL 1.1. */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("font/eb-garamond-latin.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; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("font/eb-garamond-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("font/jost-latin.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; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("font/jost-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alex Brush"; font-style: normal; font-weight: 400; font-display: swap; src: url("font/alex-brush-latin.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; }

:root {
  --bg: #ffffff;
  --bg-2: #f2f6ee;          /* fascia alternata: verde chiarissimo, da' il ritmo fra le sezioni */
  --surface: #ffffff;
  --ink: #1b1e19;           /* nero del logo, appena verde */
  --ink-2: #4c5647;
  --line: #dde5d5;
  --line-forte: #8a9a7f;
  --dots: #b8c6ab;
  --verde: #4a7536;         /* verde del logo scurito: regge il testo bianco e i link (contrasto > 5:1) */
  --verde-hover: #3d6330;
  --verde-scuro: #2c4a22;
  --verde-logo: #7ba35f;    /* il verde di GARDEN, solo per decori */
  --on-verde: #ffffff;
  --rosso: #d52d2e;         /* il rosso del vaso e della linea del logo */
  --giallo: #e8e230;        /* il centro del fiore: pochissimo, solo nei decori */
  --todo-bg: #fbe7a1;
  --todo-ink: #5a430e;

  --r-img: 16px;
  --r-card: 24px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Alex Brush", "Segoe Script", cursive;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem); }
h3 { font-size: 1.45rem; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1rem; }
figure { margin: 0; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(64px, 9vw, 120px); }
.tono { background: var(--bg-2); }
.small { font-size: 0.95rem; color: var(--ink-2); }
.script { font-family: var(--script); font-weight: 400; color: var(--verde); letter-spacing: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 60; background: var(--surface); padding: 10px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--rosso); outline-offset: 3px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Occhiello: maiuscolo spaziato fra due tratti rossi (come la linea sotto "edelweiss" nel logo) */
.kicker { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--verde-scuro); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.kicker::before, .kicker::after { content: ""; width: 30px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--rosso) 35%, var(--rosso) 65%, transparent); }
@media (max-width: 479px) { .kicker { font-size: 0.76rem; letter-spacing: 0.12em; } .kicker::before, .kicker::after { display: none; } }

/* Filetto con il fiore (al posto del cuore di Airone) */
.fiore-rule { display: flex; align-items: center; gap: 0.6rem; margin: 1.2rem 0 1.1rem; }
.fiore-rule::before, .fiore-rule::after { content: ""; width: 64px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--verde-logo)); }
.fiore-rule::after { background: linear-gradient(90deg, var(--verde-logo), transparent); }
.fiore-rule svg { width: 26px; height: 26px; }
.fiore-rule.center { justify-content: center; }

/* Segnaposto della bozza: cose da chiedere a Giorgio */
.todo { background: var(--todo-bg); color: var(--todo-ink); border-radius: 6px; padding: 0.05em 0.45em; font-size: 0.85em; font-weight: 500; }
.todo-note { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 2rem; padding: 0.85rem 1rem; border-radius: 12px; background: var(--todo-bg); color: var(--todo-ink); font-size: 0.95rem; }
.todo-note .icon { margin-top: 0.2rem; }

/* ---------- Pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 50px; padding: 0 1.45rem; border: 1.5px solid transparent; border-radius: 999px; font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation; transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--verde); color: var(--on-verde); }
.btn-ghost { border-color: var(--dots); color: var(--ink); background: transparent; }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: 0.95rem; }
.btn .i-freccia { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--verde-hover); }
  .btn-ghost:hover { border-color: var(--ink); }
  .btn:hover .i-freccia { transform: translateX(3px); }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.9rem; }
.link-freccia { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; font-weight: 500; color: var(--verde); text-underline-offset: 4px; }
.link-freccia .icon { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-freccia:hover .icon { transform: translateX(3px); } }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; color: var(--verde-scuro); text-decoration: none; transition: background-color 200ms ease; }
.icon-btn .icon { width: 24px; height: 24px; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--bg-2); } }

/* ---------- Testata ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 0.96); transition: box-shadow 220ms ease; }
.top.scrolled { box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 1rem; height: 74px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; position: relative; z-index: 42; }
.brand img { width: 44px; height: 44px; }
.brand-nome { display: grid; line-height: 1.05; }
.brand-nome b { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.01em; }
.brand-nome small { white-space: nowrap; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: none; gap: 1.6rem; margin-left: auto; }
.nav a { padding: 0.5rem 0; color: var(--ink-2); font-weight: 500; text-decoration: none; white-space: nowrap; transition: color 200ms ease; }
.nav a[aria-current="page"] { color: var(--verde); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--verde); } }
.top-actions { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; position: relative; z-index: 42; }
.hide-sm { display: none !important; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn .icon { width: 26px; height: 26px; }
@media (min-width: 720px) { .hide-sm { display: inline-flex !important; } .top-actions { gap: 0.5rem; } }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .top-actions { margin-left: 1.75rem; }
  .top-in { height: 84px; }
  .brand img { width: 52px; height: 52px; }
}
/* menu a pannello sotto i 1100 px */
@media (max-width: 1099px) {
  .nav { position: fixed; z-index: 40; inset: 0 0 0 auto; width: min(86vw, 360px); display: flex; flex-direction: column; gap: 0; padding: 96px 28px 28px; background: var(--surface); box-shadow: -20px 0 40px rgb(30 40 25 / 0.12); transform: translateX(100%); visibility: hidden; transition: transform 320ms var(--ease-out), visibility 0s linear 320ms; }
  .nav a { padding: 0.9rem 0; border-bottom: 1px dotted var(--dots); font-size: 1.15rem; color: var(--ink); }
  body.menu-aperto .nav { transform: none; visibility: visible; transition: transform 320ms var(--ease-out); }
  .velo { position: fixed; inset: 0; z-index: 35; background: rgb(30 40 25 / 0.14); backdrop-filter: blur(3px); animation: velo 220ms ease; }
  body.menu-aperto { overflow: hidden; }
  /* il pannello sta DENTRO la testata: e' la testata intera che deve stare sopra il velo */
  body.menu-aperto .top { z-index: 45; }
}
@keyframes velo { from { opacity: 0; } }

/* ---------- Apertura ---------- */
.hero { padding-block: clamp(16px, 3vw, 44px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero .kicker { margin-bottom: 1.1rem; }
.hero h1 .script { display: block; margin-top: 0.12em; padding-bottom: 0.08em; font-size: 0.64em; line-height: 1.15; }
.lead { max-width: 40ch; color: var(--ink-2); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem); }
.hero-media { position: relative; }
.hero-main { width: 100%; aspect-ratio: 4 / 5; max-height: min(72vh, 640px); object-fit: cover; object-position: 50% 60%; border-radius: var(--r-card); }
.hero-badge { position: absolute; left: -14px; bottom: 26px; display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem 0.7rem 0.75rem; border-radius: 16px; background: var(--surface); box-shadow: 0 14px 34px rgb(30 40 25 / 0.14); font-size: 0.92rem; line-height: 1.25; }
.hero-badge img { width: 40px; height: 40px; }
.hero-badge b { display: block; font-weight: 600; }
@media (max-width: 599px) { .hero-badge { left: 12px; bottom: 12px; } }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero-main { aspect-ratio: 4 / 5; max-height: 640px; }
}

/* ---------- Benvenuti (logo accanto al testo, come Airone) ---------- */
.benvenuti-grid { display: grid; gap: 2rem; align-items: center; justify-items: center; text-align: center; }
.benvenuti-grid img { width: min(300px, 78vw); height: auto; }
.benvenuti-grid h2 { margin-bottom: 1rem; }
.benvenuti-grid p { color: var(--ink-2); max-width: 60ch; }
@media (min-width: 760px) { .benvenuti-grid { grid-template-columns: 320px 1fr; justify-items: start; text-align: left; gap: 3.5rem; } }

/* ---------- Titoli di sezione ---------- */
.sez-head { display: grid; gap: 1rem; margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.sez-head p { color: var(--ink-2); max-width: 60ch; }
.sez-head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Schede dei servizi principali ---------- */
.servizi-grid { display: grid; gap: clamp(28px, 3vw, 40px); }
@media (min-width: 860px) { .servizi-grid { grid-template-columns: repeat(3, 1fr); } }
.servizio { display: flex; flex-direction: column; }
.servizio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-img); margin-bottom: 1.2rem; }
.servizio .kicker { font-size: 0.74rem; margin-bottom: 0.5rem; }
.servizio .kicker::before, .servizio .kicker::after { display: none; }
.servizio h3 { font-size: 1.75rem; margin-bottom: 0.6rem; }
.servizio p { color: var(--ink-2); }
.servizio .link-freccia { margin-top: auto; padding-top: 0.8rem; align-self: flex-start; }
@media (min-width: 860px) and (max-width: 1099px) { .servizio h3 { font-size: 1.5rem; } }

/* ---------- Elenco di tutti i servizi (icone in cerchi, righe a puntini) ---------- */
.elenco { display: grid; gap: 0 clamp(24px, 4vw, 56px); margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .elenco { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .elenco { grid-template-columns: repeat(3, 1fr); } }
.elenco li { display: flex; align-items: center; gap: 0.9rem; padding: 0.8rem 0; border-bottom: 1px dotted var(--dots); }
.elenco .bolla { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 999px; background: var(--bg-2); color: var(--verde); }
.tono .elenco .bolla { background: var(--surface); }
.elenco .bolla .icon { width: 22px; height: 22px; }
.elenco a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .elenco a:hover { color: var(--verde); text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- Galleria a nastro (scorre col dito, nessun movimento automatico) ---------- */
.nastro { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 28vw, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--dots) transparent; }
.nastro figure { scroll-snap-align: start; }
.nastro img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-img); }
.nastro figcaption, .galleria figcaption { margin-top: 0.5rem; font-size: 0.92rem; color: var(--ink-2); line-height: 1.4; }
.nastro-fondo { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; }
.nastro-frecce { display: flex; gap: 0.5rem; }
.nastro-frecce button { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--dots); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
.nastro-frecce button:first-child .icon { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) { .nastro-frecce button:hover { border-color: var(--ink); } }

/* ---------- Come lavoriamo ---------- */
.passi { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; counter-reset: passo; }
@media (min-width: 860px) { .passi { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.passi li { counter-increment: passo; padding-top: 1.2rem; border-top: 1px dotted var(--dots); }
.passi li::before { content: counter(passo); display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--rosso); margin-bottom: 0.6rem; }
.passi h3 { margin-bottom: 0.5rem; }
.passi p { color: var(--ink-2); }

/* ---------- Zona: cartina del Ticino ---------- */
.zona-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .zona-grid { grid-template-columns: 0.8fr 1.2fr; } }
.cartina { display: flex; align-items: flex-end; gap: 0.4rem; justify-content: center; }
.cartina-svg { height: 220px; width: auto; overflow: visible; }
.cartina-terra { fill: var(--surface); stroke: var(--verde-logo); stroke-width: 1.4; stroke-linejoin: round; }
.tono .cartina-terra { fill: #ffffff; }
.cartina-punto { fill: var(--rosso); }
.cartina-alone { fill: none; stroke: var(--rosso); stroke-width: 1.7; stroke-opacity: 0.45; }
.cartina-nota { font-family: var(--script); font-size: 1.7rem; color: var(--rosso); transform: translateY(-12px); }
@media (min-width: 860px) { .cartina-svg { height: 300px; } }
.zona-grid p { color: var(--ink-2); max-width: 56ch; }

/* ---------- Recensioni (home) ---------- */
.recensioni-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 860px) { .recensioni-grid { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; } }
.recensioni-foto { margin: 0; }
.recensioni-foto img { width: 100%; height: auto; border-radius: var(--r-img); }
.recensioni-foto figcaption { margin-top: 0.7rem; color: var(--ink-2); font-size: 0.95rem; }
.recensione { margin: 0 0 1.5rem; padding-top: 1.1rem; border-top: 1px dotted var(--dots); }
/* stelle gialle col bordo nero, come il fiore del logo */
.recensione .stelle { display: inline-flex; gap: 3px; }
.recensione .stelle .icon { width: 18px; height: 18px; color: var(--giallo); stroke: var(--ink); stroke-width: 12px; stroke-linejoin: round; }
.recensione blockquote { margin: 0.6rem 0 0; }
.recensione blockquote p { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--ink); }
.recensione figcaption { margin-top: 0.55rem; font-weight: 500; color: var(--verde-scuro); }
.recensioni-nota { font-size: 0.85rem; color: var(--ink-2); }

/* ---------- Domande frequenti ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq h2 { margin-bottom: 1.6rem; }
.faq details { border-bottom: 1px dotted var(--dots); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 0.7rem 0; font-family: var(--serif); font-size: 1.2rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 240ms var(--ease-out); color: var(--verde); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.1rem; color: var(--ink-2); max-width: 64ch; }

/* ---------- Chiusura con i contatti ---------- */
.chiusura { text-align: center; }
.chiusura .wrap { display: grid; justify-items: center; }
.chiusura p { color: var(--ink-2); max-width: 52ch; margin-top: 1rem; }
.chiusura .cta-row { justify-content: center; }

/* ---------- Pagine interne ---------- */
.page-head { padding-block: clamp(28px, 5vw, 64px) clamp(36px, 5vw, 64px); }
.briciole { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.2rem; padding: 0; list-style: none; font-size: 0.9rem; color: var(--ink-2); }
.briciole li + li::before { content: "/"; margin-right: 0.4rem; color: var(--dots); }
.briciole a { text-decoration: none; }
.page-head-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .page-head-grid { grid-template-columns: 1.1fr 0.9fr; } }
.page-head h1 { font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.8rem); margin: 1rem 0 0; }
.page-head .lead { margin-top: 1.2rem; }
.page-head-foto img { width: 100%; aspect-ratio: 4 / 5; max-height: min(72vh, 560px); object-fit: cover; border-radius: var(--r-card); }

.contenuto-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) { .contenuto-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.prosa h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: 1rem; }
.prosa p { color: var(--ink-2); max-width: 62ch; }
.prosa h2:not(:first-child) { margin-top: 2.6rem; }
.spunte { margin: 1.2rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.2rem; }
.spunte li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.55rem 0; border-bottom: 1px dotted var(--dots); }
.spunte .icon { color: var(--verde); margin-top: 0.2rem; }
.spunte b { font-weight: 500; }
.foto-colonna { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.foto-colonna figure:first-child { grid-column: 1 / -1; }
.foto-colonna img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-img); }
.foto-colonna figure:first-child img { aspect-ratio: 4 / 5; }
.foto-colonna figcaption { margin-top: 0.45rem; font-size: 0.9rem; color: var(--ink-2); line-height: 1.4; }

.sez-altri { padding-bottom: 0; }
.altri { display: grid; gap: 14px; }
@media (min-width: 760px) { .altri { grid-template-columns: repeat(3, 1fr); } }
.altri a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--r-card); background: var(--surface); text-decoration: none; font-family: var(--serif); font-size: 1.3rem; border: 1px solid var(--line); transition: border-color 200ms ease; }
.altri a .icon { color: var(--verde); }
@media (hover: hover) and (pointer: fine) { .altri a:hover { border-color: var(--verde-logo); } }

/* Galleria dei lavori: colonne, ogni foto tiene la sua forma */
.galleria { columns: 2; column-gap: 14px; }
@media (min-width: 760px) { .galleria { columns: 3; column-gap: 18px; } }
@media (min-width: 1100px) { .galleria { columns: 4; } }
.galleria figure { break-inside: avoid; margin-bottom: 18px; }
.galleria img { width: 100%; height: auto; border-radius: var(--r-img); }
/* Lavori divisi per tipo (15.11.2026) */
.gruppo-lavori + .gruppo-lavori { margin-top: clamp(48px, 6vw, 80px); }
.gruppo-testa { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.4rem 1.5rem; margin-bottom: 1.4rem; padding-bottom: 0.9rem; border-bottom: 1px dotted var(--dots); }

/* Un lavoro passo per passo (pagina Piccole costruzioni) */
.sez-sequenza { padding-bottom: 0; }
.sequenza { display: grid; gap: 22px; margin: 0; }
@media (min-width: 760px) { .sequenza { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.sequenza img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-img); }
@media (min-width: 760px) { .sequenza img { aspect-ratio: 4 / 5; } }
.sequenza figcaption { display: flex; gap: 0.8rem; align-items: baseline; margin-top: 0.8rem; color: var(--ink-2); line-height: 1.45; }
.sequenza figcaption b { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--rosso); }

/* Contatti */
.contatti-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .contatti-grid { grid-template-columns: repeat(2, 1fr); } }
.contatto { display: grid; gap: 0.35rem; align-content: start; padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color 200ms ease; }
.contatto .bolla { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: var(--bg-2); color: var(--verde); margin-bottom: 0.6rem; }
.contatto .bolla .icon { width: 24px; height: 24px; }
.contatto b { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; }
.contatto span { color: var(--ink-2); overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { a.contatto:hover { border-color: var(--verde-logo); } }
@media (max-width: 699px) {
  .contatto { grid-template-columns: 48px 1fr; column-gap: 1rem; row-gap: 0.1rem; padding: 1.1rem 1.2rem; }
  .contatto .bolla { grid-row: span 2; margin: 0; align-self: center; }
  .contatto b { font-size: 1.3rem; }
}
.tono .consiglio { background: var(--surface); }
/* Orari, sopralluogo e trasferta (pagina Contatti, 16.11.2026) */
.info-grid { display: grid; gap: 16px; margin-top: 2rem; }
@media (min-width: 760px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
.info-card { padding: 1.4rem 1.4rem 1.5rem; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); }
.info-card h2 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.5rem; margin-bottom: 0.9rem; }
.info-card h2 .icon { color: var(--verde); width: 24px; height: 24px; flex: none; }
.info-card p { color: var(--ink-2); }
.info-card p + .orari, .info-card .orari + p { margin-top: 0.8rem; }
.orari { margin: 0; display: grid; }
.orari div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px dotted var(--dots); }
.orari dt { color: var(--ink-2); }
.orari dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.consiglio { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding: 1.3rem 1.4rem; border-radius: var(--r-card); background: var(--bg-2); }
.consiglio .icon { width: 28px; height: 28px; color: var(--verde); }
.consiglio p { color: var(--ink-2); }

.testo-legale { max-width: 760px; }
.testo-legale h2 { font-size: 1.7rem; margin: 2.2rem 0 0.7rem; }
.testo-legale p, .testo-legale li { color: var(--ink-2); }

/* ---------- Pie' di pagina ---------- */
.piede { background: var(--bg-2); padding-block: 48px calc(48px + env(safe-area-inset-bottom)); font-size: 0.95rem; color: var(--ink-2); }
.piede-grid { display: grid; gap: 1.8rem; }
@media (min-width: 900px) { .piede-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; } }
.piede-brand { display: flex; gap: 0.9rem; align-items: center; }
.piede-brand img { width: 56px; height: 56px; }
.piede-brand b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: var(--ink); }
.piede ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.piede a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; min-height: 36px; }
@media (hover: hover) and (pointer: fine) { .piede a:hover { color: var(--verde); text-decoration: underline; text-underline-offset: 3px; } }
.piede-fondo { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px dotted var(--dots); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.88rem; }

/* ---------- Barra fissa sul telefono: chiamare o scrivere con il pollice ---------- */
.barra { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 0.97); box-shadow: 0 -1px 0 var(--line), 0 -10px 24px rgb(30 40 25 / 0.06); }
.barra a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: 14px; text-decoration: none; font-size: 0.82rem; font-weight: 500; color: var(--verde-scuro); background: var(--bg-2); }
.barra a.principale { background: var(--verde); color: var(--on-verde); }
.barra .icon { width: 22px; height: 22px; }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .barra { display: none; } body { padding-bottom: 0; } }

/* ---------- Tasto WhatsApp fisso in basso a destra (computer e tablet; sul telefono c'è la barra) ---------- */
.wa-fisso { display: none; }
@media (min-width: 900px) {
  .wa-fisso { position: fixed; z-index: 25; right: 24px; bottom: 24px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 6px 18px rgb(20 60 30 / 0.28); text-decoration: none; transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); animation: wa-entra 420ms var(--ease-out) 600ms both; }
  .wa-fisso .icon { width: 34px; height: 34px; }
  .wa-fisso:active { transform: scale(0.96); }
  .wa-fisso:focus-visible { outline: 3px solid var(--verde-scuro); outline-offset: 3px; }
}
@media (min-width: 900px) and (hover: hover) and (pointer: fine) { .wa-fisso:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(20 60 30 / 0.32); } }
@keyframes wa-entra { from { opacity: 0; transform: translateY(12px) scale(0.9); } }
@media (prefers-reduced-motion: reduce) { .wa-fisso { animation: none; transition: none; } }
@media print { .wa-fisso { display: none !important; } }
