/* ============================================================
   Ginger Guest — Design system v2
   Font: Fraunces (display) + Manrope (testo)
   Palette: verde pino / crema / terracotta / oro
   Animazioni: leggere, solo opacity/transform, fallback no-JS
   ============================================================ */

:root {
  color-scheme: light;
  --pine: #14352b;
  --pine-soft: #1d4a3c;
  --pine-deep: #0d251e;
  --ink: #222a24;
  --muted: #59645a;
  --cream: #faf7f0;
  --white: #ffffff;
  --sand: #f2ecdd;
  --terra: #b0532c;
  --terra-dark: #94431f;
  --rose: #c2705d;
  --rose-deep: #a3492f;
  --rose-gold: #d8a48f;
  --rose-soft: #f3ddd3;
  --blush: #f8ede6;
  --gold: #c8a35b;
  --gold-soft: #e9d9b8;
  --grad-warm: linear-gradient(135deg, #c2705d 0%, #a3492f 100%);
  --grad-metal: linear-gradient(110deg, #c8a35b 0%, #d8a48f 60%, #e9cfc0 100%);
  --line: rgba(34, 42, 36, 0.14);
  --line-on-dark: rgba(250, 247, 240, 0.16);
  --shadow-sm: 0 2px 10px rgba(20, 53, 43, 0.06);
  --shadow-md: 0 14px 40px rgba(20, 53, 43, 0.1);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
  --font-body: "Manrope", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Jost", "Avenir Next", "Futura", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
}

p,
h1,
h2,
h3,
h4 {
  margin: 0;
  overflow-wrap: break-word;
}

p + p {
  margin-top: 1rem;
}

h1,
h2,
h3,
.statement {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

h3 {
  font-size: 1.32rem;
  line-height: 1.3;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 2000;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--pine);
  color: var(--white);
  padding: 10px 16px;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.container-wide {
  width: min(1380px, calc(100% - 36px));
  margin: 0 auto;
}

/* ------------------------------------------------------------
   Reveal leggero — attivo SOLO con JS (html.js).
   Senza JS tutto è visibile da subito.
   ------------------------------------------------------------ */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(250, 247, 240, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  padding: 9px 0;
  background: rgba(250, 247, 240, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 212px;
  min-width: 170px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.82;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(20, 53, 43, 0.08);
  opacity: 1;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  background: var(--pine);
  color: var(--white);
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--pine-soft);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ------------------------------------------------------------
   Bottoni
   ------------------------------------------------------------ */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  padding: 13px 26px;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--grad-warm);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(194, 112, 93, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ce7f6c 0%, #b0532c 100%);
  box-shadow: 0 14px 32px rgba(194, 112, 93, 0.4);
}

.btn-ghost {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}

.btn-light {
  background: var(--cream);
  color: var(--pine);
}

.btn-light:hover {
  background: var(--white);
}

/* ------------------------------------------------------------
   Hero — testo SEMPRE leggibile: sfondo scuro garantito
   anche prima del caricamento della foto.
   ------------------------------------------------------------ */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--pine-deep);
  color: var(--white);
}

.hero {
  min-height: min(88svh, 880px);
  padding: 170px 0 72px;
}

.page-hero {
  min-height: min(62svh, 620px);
  padding: 150px 0 58px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(216, 164, 143, 0.14), transparent 60%),
    linear-gradient(to top, rgba(24, 20, 16, 0.88) 0%, rgba(20, 22, 18, 0.44) 46%, rgba(16, 22, 18, 0.28) 100%);
}

.hero-content,
.page-hero-content {
  max-width: 780px;
}

.eyebrow,
.kicker {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold-soft);
}

.kicker {
  color: var(--rose);
}

.section-dark .kicker,
.cta-band .kicker {
  color: var(--gold);
}

.hero h1,
.page-hero h1 {
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-content > p,
.page-hero-content > p {
  max-width: 640px;
  margin-bottom: 32px;
  font-size: 1.13rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(250, 247, 240, 0.28);
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-highlights span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
}

/* ------------------------------------------------------------
   Fascia numeri — solida, da azienda strutturata
   ------------------------------------------------------------ */
.stats-band {
  background:
    radial-gradient(70% 120% at 88% 0%, rgba(216, 164, 143, 0.16), transparent 62%),
    linear-gradient(120deg, var(--pine-deep) 0%, var(--pine) 55%, #23543f 100%);
  color: var(--cream);
}

.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 44px 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
  background: var(--grad-metal);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(250, 247, 240, 0.85);
}

/* ------------------------------------------------------------
   Sezioni
   ------------------------------------------------------------ */
.section {
  padding: clamp(64px, 9vw, 110px) 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%);
}

.section-white {
  background: var(--white);
}

.section-dark {
  background:
    radial-gradient(60% 90% at 90% 8%, rgba(216, 164, 143, 0.13), transparent 58%),
    radial-gradient(50% 80% at 4% 96%, rgba(200, 163, 91, 0.1), transparent 55%),
    linear-gradient(150deg, var(--pine) 0%, var(--pine-deep) 100%);
  color: var(--cream);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head h2 {
  text-wrap: balance;
}

.section-head p,
.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.section-dark .section-head p,
.section-dark .lead {
  color: rgba(250, 247, 240, 0.82);
}

/* ------------------------------------------------------------
   Griglie contenuto
   ------------------------------------------------------------ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.grid-2 h2 {
  margin: 14px 0 20px;
}

.grid-2 p {
  color: var(--muted);
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card servizi */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--white) 0%, #fdf8f3 100%);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad-metal);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(163, 73, 47, 0.13);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--rose);
}

.service-card p {
  font-size: 0.97rem;
  color: var(--muted);
}

.service-card .card-link {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--pine);
}

.service-card .card-link::after {
  content: " →";
}

/* Passi / metodo */
.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step {
  border-top: 3px solid var(--gold);
  border-image: var(--grad-metal) 1;
  padding-top: 20px;
}

.step .num {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  font-size: 0.96rem;
  color: var(--muted);
}

.section-dark .step {
  border-top-color: rgba(200, 163, 91, 0.6);
}

.section-dark .step p {
  color: rgba(250, 247, 240, 0.8);
}

/* ------------------------------------------------------------
   Progetti
   ------------------------------------------------------------ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

.project-card.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-info {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 22px 18px;
  background: linear-gradient(to top, rgba(9, 26, 20, 0.82), transparent);
  color: var(--white);
}

.project-info span {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.project-info h3,
.project-info h2 {
  font-size: 1.25rem;
  margin-top: 4px;
}

/* ------------------------------------------------------------
   Fiducia / perché sceglierci
   ------------------------------------------------------------ */
.trust-list {
  display: grid;
  gap: 16px;
  list-style: none;
}

.trust-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1.02rem;
}

.trust-list li::before {
  content: "✓";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(216, 164, 143, 0.32), rgba(200, 163, 91, 0.22));
  color: var(--rose-gold);
  font-size: 0.85rem;
  font-weight: 800;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.badge-row span {
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(250, 247, 240, 0.9);
}

.section:not(.section-dark) .badge-row span {
  border-color: var(--line);
  color: var(--muted);
  background: var(--white);
}

/* Feature cell (chi siamo) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-cell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}

.feature-cell strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  color: var(--rose);
}

.feature-cell h3 {
  margin-bottom: 10px;
}

.feature-cell p {
  font-size: 0.96rem;
  color: var(--muted);
}

.statement {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--pine);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(36px, 6vw, 72px);
}

.body-copy h2 {
  margin-bottom: 18px;
}

.body-copy p {
  color: var(--muted);
}

/* Process list */
.process-list {
  display: grid;
  gap: 18px;
}

.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px 28px;
}

.process-item > span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.process-item h3 {
  margin-bottom: 6px;
}

.process-item p {
  font-size: 0.97rem;
  color: var(--muted);
}

/* ------------------------------------------------------------
   Servizi (pagina)
   ------------------------------------------------------------ */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 20px 60px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.service-detail:last-of-type {
  border-bottom: 1px solid var(--line);
}

.service-tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
}

.service-detail h2 {
  font-size: 1.6rem;
}

.service-detail p {
  color: var(--muted);
}

/* Revenue */
.revenue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 72px);
}

.revenue-layout h2 {
  margin: 14px 0 18px;
}

.revenue-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.revenue-metrics > div {
  border-radius: 12px;
  border: 1px solid var(--line-on-dark);
  padding: 16px;
}

.revenue-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
}

.revenue-metrics span {
  font-size: 0.82rem;
  color: rgba(250, 247, 240, 0.78);
}

.revenue-steps {
  display: grid;
  gap: 14px;
}

.revenue-steps article {
  border-radius: 12px;
  background: rgba(250, 247, 240, 0.06);
  border: 1px solid var(--line-on-dark);
  padding: 22px 24px;
}

.revenue-steps span {
  font-family: var(--font-display);
  color: var(--gold);
}

.revenue-steps h3 {
  margin: 6px 0 8px;
  font-size: 1.12rem;
}

.revenue-steps p {
  font-size: 0.94rem;
  color: rgba(250, 247, 240, 0.8);
}

/* ------------------------------------------------------------
   CTA band
   ------------------------------------------------------------ */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pine-deep);
  color: var(--white);
  padding: clamp(72px, 10vw, 120px) 0;
}

.cta-band > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band .hero-scrim {
  z-index: -1;
  background:
    radial-gradient(70% 90% at 92% 10%, rgba(216, 164, 143, 0.2), transparent 60%),
    linear-gradient(100deg, rgba(14, 24, 19, 0.92) 20%, rgba(64, 34, 26, 0.6) 100%);
}

.cta-content {
  max-width: 680px;
}

.cta-content h2 {
  margin-bottom: 18px;
  text-wrap: balance;
}

.cta-content p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.92);
}

/* ------------------------------------------------------------
   Contatti
   ------------------------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 110px;
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 20px 22px;
}

.contact-item > span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
}

.contact-item a {
  display: block;
  font-weight: 700;
  color: var(--pine);
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-item strong {
  display: block;
  font-weight: 700;
}

.contact-item p {
  font-size: 0.92rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

.form-intro {
  grid-column: 1 / -1;
  margin-bottom: 6px;
}

.form-intro h2 {
  font-size: 1.55rem;
  margin: 8px 0 10px;
}

.form-intro p {
  font-size: 0.97rem;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.86rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  padding: 13px 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pine);
  background: var(--white);
}

.privacy-check {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}

.privacy-check input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--rose);
}

.privacy-check a {
  text-decoration: underline;
}

.form-actions {
  grid-column: 1 / -1;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.hours-grid > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 16px;
  text-align: center;
}

.hours-grid strong {
  display: block;
  font-family: var(--font-display);
  color: var(--pine);
}

.hours-grid span {
  font-size: 0.86rem;
  color: var(--muted);
}

.ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ops-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px;
}

.ops-card > span {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.2rem;
}

.ops-card h3 {
  margin: 8px 0;
  font-size: 1.15rem;
}

.ops-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ------------------------------------------------------------
   Privacy / prose
   ------------------------------------------------------------ */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 40px 0 14px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background:
    radial-gradient(55% 70% at 92% 0%, rgba(216, 164, 143, 0.08), transparent 60%),
    linear-gradient(165deg, #0f2b22 0%, var(--pine-deep) 100%);
  color: rgba(250, 247, 240, 0.88);
  padding-top: clamp(56px, 8vw, 88px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 52px;
}

.footer-brand img {
  width: 210px;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 320px;
  font-size: 0.95rem;
  color: rgba(250, 247, 240, 0.72);
}

.footer-col h2 {
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-gold);
}

.footer-col a,
.footer-col span {
  display: block;
  padding: 5px 0;
  font-size: 0.95rem;
  color: rgba(250, 247, 240, 0.82);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-on-dark);
  padding: 22px 0 26px;
  font-size: 0.86rem;
  color: rgba(250, 247, 240, 0.6);
}

.footer-bottom a {
  text-decoration: underline;
}

/* ------------------------------------------------------------
   Barra azioni mobile
   ------------------------------------------------------------ */
.mobile-action-bar {
  display: none;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .card-grid,
  .feature-grid,
  .ops-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
  }

  .stats-band .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .hours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
    padding-bottom: 58px;
  }

  .nav-shell {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  /* NB: l'header ha backdrop-filter, quindi position:fixed qui
     si ancorerebbe all'header stesso: usiamo absolute sotto l'header. */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    min-height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding: 46px 0 120px;
    background: var(--cream);
    border-top: 1px solid var(--line);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease);
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 12px 22px;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 84px;
  }

  .page-hero {
    min-height: auto;
    padding: 128px 0 60px;
  }

  .section-head,
  .grid-2,
  .two-column,
  .revenue-layout,
  .contact-layout,
  .service-detail {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-panel {
    position: static;
  }

  .grid-2 .image-frame {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mobile-action-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 900;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--pine-deep);
    border-top: 1px solid var(--line-on-dark);
  }

  .mobile-action-bar a {
    display: grid;
    place-items: center;
    min-height: 58px;
    color: var(--cream);
    font-size: 0.95rem;
    font-weight: 800;
  }

  .mobile-action-bar a + a {
    border-left: 1px solid var(--line-on-dark);
    background: var(--grad-warm);
    color: var(--white);
  }
}

@media (max-width: 560px) {
  .card-grid,
  .feature-grid,
  .ops-grid,
  .project-grid,
  .step-list,
  .contact-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-card.tall {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .stats-band .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .hours-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn {
    width: 100%;
  }
}
