/* =========================================================
   PRIME SERVICE - Impresa di Pulizie Verona
   Stylesheet unico - design Apple-style, mobile-first
   ========================================================= */

/* ---------- Reset di base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px; /* compensa header sticky sugli anchor */
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

/* ---------- Design tokens ---------- */
:root {
  --brand:      #17395a;  /* navy logo */
  --brand-2:    #0e2740;  /* navy scuro */
  --brand-soft: #eaf1f8;  /* azzurro chiarissimo */
  --accent:     #2b7fd0;  /* blu spray */
  --wa:         #25d366;  /* whatsapp */
  --wa-dark:    #1da851;

  --text:  #1d1d1f;
  --muted: #5f6470;
  --bg:      #faf4ea;  /* panna */
  --bg-soft: #f2e8d8;  /* panna calda (fasce alternate) */
  --surface: #fffcf6;  /* panna chiarissima: sostituisce il bianco */
  --line:  #e7dcca;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(16,39,64,.06);
  --shadow:    0 12px 40px rgba(16,39,64,.10);
  --shadow-lg: 0 24px 60px rgba(16,39,64,.16);

  --maxw: 1160px;
  --gutter: 20px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--brand { background: var(--brand); color: #fff; }
.section--tight { padding: 48px 0; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.section--brand .eyebrow { color: #8ec2f2; }

h1, h2, h3 { letter-spacing: -.022em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }

.lead { font-size: clamp(1.05rem, 2.2vw, 1.28rem); color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 15px 26px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(43,127,208,.32); }
.btn--primary:hover { background: #1f6fc0; box-shadow: 0 12px 28px rgba(43,127,208,.42); }

.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-2); }

.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37,211,102,.32); }
.btn--wa:hover { background: var(--wa-dark); }

.btn--ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.24); }

.btn--outline { background: var(--surface); color: var(--brand); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--lg { padding: 18px 34px; font-size: 1.1rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }
/* bottoni uno sotto l'altro, stessa larghezza */
.btn-row--stack { flex-direction: column; align-items: center; }
.btn-row--stack .btn { width: 100%; max-width: 290px; }

/* =========================================================
   HEADER / TOPBAR
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,252,246,.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 40px; width: auto; }
.brand__name { display: none; }

.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px;
  border-radius: 100px;
  font-weight: 500;
  font-size: .98rem;
  color: #33383f;
  transition: background .18s ease, color .18s ease;
}
.nav a:hover { background: var(--bg-soft); color: var(--brand); }
.nav a.is-active { color: var(--brand); font-weight: 600; }

.topbar__cta { display: none; align-items: center; gap: 10px; }
.topbar .btn { padding: 10px 18px; font-size: .95rem; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .topbar__cta { display: flex; }
  .brand__name { display: block; font-weight: 800; color: var(--brand); letter-spacing: -.02em; font-size: 1.05rem; line-height: 1; }
  .brand__name small { display:block; font-weight:600; font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; color: var(--muted); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  padding: 96px 0 108px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image: url("../img/verona-arena-prime-service.jpg");
  background-size: cover;
  background-position: center 62%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(9,24,40,.62) 0%, rgba(9,24,40,.55) 40%, rgba(14,39,64,.86) 100%);
}
.hero__inner { max-width: 760px; }
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero .lead { color: rgba(255,255,255,.92); }
.hero .btn-row { margin-top: 30px; }

.hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero__badge { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: rgba(255,255,255,.92); }
.hero__badge svg { width: 20px; height: 20px; color: #8ec2f2; flex: none; }

/* Hero centrato minimal (stile essenziale): foto a tutto schermo, sotto l'header */
.hero--center {
  text-align: center;
  min-height: calc(100vh - 66px);
  min-height: calc(100svh - 66px);
  display: flex;
  padding: clamp(60px, 15vh, 150px) 0 100px; /* in basso compensa la tabbar mobile */
}
/* nome + slogan in alto, bottoni al centro dello spazio che resta */
.hero--center .container { display: flex; flex-direction: column; }
.hero--center .btn-row { margin-block: auto; }
@media (min-width: 900px) {
  .hero--center { padding-bottom: 60px; }
  /* su desktop la foto verticale sarebbe sgranata: uso quella orizzontale */
  .hero--center::before { background-image: url("../img/verona-arena-orizzontale.jpg"); background-position: center 45%; }
}
.hero--center::after {
  background: linear-gradient(180deg, rgba(24,20,30,.28) 0%, rgba(20,22,38,.34) 45%, rgba(14,32,54,.74) 100%);
}
.hero__name {
  font-size: clamp(2.8rem, 9vw, 5.2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -.03em;
  text-shadow: 0 3px 26px rgba(0,0,0,.4);
}
.hero__tag {
  font-size: clamp(1.05rem, 2.6vw, 1.45rem);
  color: rgba(255,255,255,.95);
  font-weight: 500;
  margin: 0 auto 32px;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.hero--center .btn-row { justify-content: center; }

/* Card colorate: sfondo + icona + link, assegnati automaticamente per posizione */
/* 1 blu = Pulizie, 2 verde = Aree verdi, 3 arancio = Traslochi (come i tre blocchi sopra) */
.grid .card:nth-child(6n+1) { background: #eef5ff; border-color: #cfe2fa; }
.grid .card:nth-child(6n+1) .card__icon { background: #d9e9fd; color: #1d6fc0; }
.grid .card:nth-child(6n+1) .card__link { color: #1d6fc0; }

.grid .card:nth-child(6n+2) { background: #edfaf3; border-color: #c7ecd9; }
.grid .card:nth-child(6n+2) .card__icon { background: #d8f3e6; color: #0a8f60; }
.grid .card:nth-child(6n+2) .card__link { color: #0a8f60; }

.grid .card:nth-child(6n+3) { background: #fff6ec; border-color: #f7dcbe; }
.grid .card:nth-child(6n+3) .card__icon { background: #ffe3c6; color: #cf600a; }
.grid .card:nth-child(6n+3) .card__link { color: #cf600a; }

.grid .card:nth-child(6n+4) { background: #ecf8fc; border-color: #c9e7f2; }
.grid .card:nth-child(6n+4) .card__icon { background: #d9f0f8; color: #0b7d9b; }
.grid .card:nth-child(6n+4) .card__link { color: #0b7d9b; }

.grid .card:nth-child(6n+5) { background: #f2f2fe; border-color: #dbdbf8; }
.grid .card:nth-child(6n+5) .card__icon { background: #e6e6fc; color: #4b4bc7; }
.grid .card:nth-child(6n+5) .card__link { color: #4b4bc7; }

.grid .card:nth-child(6n+6) { background: #fef1f7; border-color: #f7d4e4; }
.grid .card:nth-child(6n+6) .card__icon { background: #fbdfec; color: #c22270; }
.grid .card:nth-child(6n+6) .card__link { color: #c22270; }

/* pagine interne: hero compatto senza foto */
.pagehero {
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  padding: 62px 0 58px;
}
.pagehero .lead { color: rgba(255,255,255,.9); }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* =========================================================
   GRIGLIA SERVIZI (cards)
   ========================================================= */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2,1fr); } .grid--3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3,1fr); } .grid--4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
  height: 100%;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 18px;
}
.card__icon svg { width: 27px; height: 27px; }
.card--star { border-color: var(--accent); box-shadow: 0 10px 30px rgba(43,127,208,.14); }
.card__tag {
  align-self: flex-start;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 4px 10px; border-radius: 100px; margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0 0 18px; font-size: .98rem; }
.card__link { margin-top: auto; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.card__link svg { width: 16px; height: 16px; transition: transform .18s ease; }
a.card:hover .card__link svg { transform: translateX(4px); }

/* =========================================================
   PRIMA / DOPO
   ========================================================= */
.ba-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .ba-grid { grid-template-columns: repeat(2,1fr); } }

.ba {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.ba__imgs { display: grid; grid-template-columns: 1fr 1fr; }
.ba__imgs figure { margin: 0; position: relative; }
.ba__imgs img { width: 100%; height: 220px; object-fit: cover; }
.ba__imgs figure:first-child { border-right: 2px solid var(--surface); }
.ba__label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.35);
}
.ba__label--before { background: #b4530a; }
.ba__label--after  { background: #15a349; }
.ba__caption { padding: 16px 18px; font-weight: 600; color: var(--brand); }
.ba__caption span { display:block; font-weight: 400; color: var(--muted); font-size: .92rem; }

/* =========================================================
   BLOCCHI TESTO + IMMAGINE (split)
   ========================================================= */
.split { display: grid; gap: 34px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } .split--rev .split__media { order: 2; } }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: #2b3038; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317395a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* Elenco puntato semplice */
.plainlist { padding-left: 0; list-style: none; display: grid; gap: 10px; }
.plainlist li { padding-left: 26px; position: relative; }
.plainlist li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* =========================================================
   STRISCIA CTA
   ========================================================= */
.cta-band { background: linear-gradient(150deg, var(--brand) 0%, var(--brand-2) 100%); color: #fff; border-radius: 28px; padding: 48px 34px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 54ch; margin-inline: auto; }
.cta-band .btn-row { margin-top: 26px; }

/* =========================================================
   ZONA SERVITA / stats
   ========================================================= */
.zone-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.zone-list span { background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px; font-size: .92rem; font-weight: 500; box-shadow: var(--shadow-sm); }

.stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat { text-align: center; }
.stat b { display: block; font-size: 2.2rem; font-weight: 800; color: var(--brand); letter-spacing: -.03em; }
.section--brand .stat b { color: #fff; }
.stat span { color: var(--muted); font-size: .95rem; }
.section--brand .stat span { color: rgba(255,255,255,.8); }

/* =========================================================
   CONTATTI
   ========================================================= */
.contact-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .contact-grid { grid-template-columns: repeat(2,1fr); } }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: #eef5ff; border: 1px solid #cfe2fa; border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #d5e6fc; color: #1d6fc0; flex: none; }
/* varietà di colore sulle card contatti */
.contact-grid .contact-card:nth-child(2) { background: #edfaf3; border-color: #c7ecd9; }
.contact-grid .contact-card:nth-child(2) .contact-card__icon { background: #d3f2e2; color: #0a8f60; }
.contact-grid .contact-card:nth-child(2) b { color: #0a7a52; }
.contact-grid .contact-card:nth-child(3) { background: #fff6ec; border-color: #f7dcbe; }
.contact-grid .contact-card:nth-child(3) .contact-card__icon { background: #ffe1c2; color: #cf600a; }
.contact-grid .contact-card:nth-child(3) b { color: #b35407; }
.contact-grid .contact-card:nth-child(4) { background: #f2f2fe; border-color: #dbdbf8; }
.contact-grid .contact-card:nth-child(4) .contact-card__icon { background: #e6e6fc; color: #4b4bc7; }
.contact-grid .contact-card:nth-child(4) b { color: #4b4bc7; }
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card b { display: block; font-size: 1.1rem; color: var(--brand); }
.contact-card span { color: var(--muted); font-size: .92rem; }

.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--brand-2); color: rgba(255,255,255,.72); padding: 56px 0 120px; font-size: .95rem; }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }
.footer__grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
.footer__brand { max-width: 60ch; }
.footer__brand img { height: 52px; width: auto; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .85rem; }
.footer__bottom a { text-decoration: underline; }

/* =========================================================
   BOTTONE WHATSAPP FISSO
   ========================================================= */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 88px;            /* sopra la tabbar su mobile */
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,.45);
  animation: wa-pulse 2.4s infinite;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { background: var(--wa-dark); }
@media (min-width: 900px) { .wa-float { bottom: 26px; right: 26px; width: 62px; height: 62px; } }
@keyframes wa-pulse {
  0%   { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* =========================================================
   TAB BAR MOBILE (stile Apple)
   ========================================================= */
.tabbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: flex;
  background: rgba(255,252,246,.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  padding: 9px 4px 8px;
  font-size: .68rem; font-weight: 500;
  color: #7a7f88;
}
.tabbar a svg { width: 23px; height: 23px; }
.tabbar a.is-active { color: var(--brand); }
.tabbar a.tab-wa { color: var(--wa-dark); }
.tabbar a.tab-call { color: var(--accent); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie {
  position: fixed;
  left: 14px; right: 14px; bottom: 14px;
  z-index: 70;
  max-width: 560px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 20px 22px;
}
@media (min-width: 900px) { .cookie { left: 24px; right: auto; bottom: 24px; margin: 0; } }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.cookie p a { color: var(--accent); text-decoration: underline; }
.cookie__row { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn { padding: 11px 20px; font-size: .92rem; }

/* =========================================================
   UTILITY
   ========================================================= */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #33383f; }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.mt-0 { margin-top: 0; }
.hide-mobile { display: none; }
@media (min-width: 900px) { .hide-mobile { display: initial; } }

.badge-vat { font-size: .82rem; color: var(--muted); }

/* spazio in fondo per non finire sotto la tabbar mobile */
main { display: block; }
body { padding-bottom: 0; }
@media (max-width: 899px) { .footer { padding-bottom: 110px; } }

/* =========================================================
   NUOVI COMPONENTI (rev. settembre 2026)
   ========================================================= */

/* ---- Sezione scura ---- */
.section--dark { background: var(--brand-2); color: #fff; }
.section--dark h2 { color: #fff; }
.section--dark .lead { color: rgba(255,255,255,.72); }
.section--dark .eyebrow { color: #7fc4ff; }

/* ---- Trio macro-categorie (Pulizie / Verde / Traslochi) ---- */
/* blocchi a tutta larghezza: niente margini, bordi o angoli arrotondati */
.trio { display: grid; gap: 0; grid-template-columns: 1fr; text-align: center; }
@media (min-width: 720px) { .trio { grid-template-columns: repeat(3,1fr); } }
.trio__item {
  background: var(--surface);
  padding: 40px 22px;
  transition: filter .2s ease;
}
@media (min-width: 720px) { .trio__item { padding: 52px 22px; } }
a.trio__item:hover { filter: brightness(1.08); }
/* colori pieni con testo bianco: blu = Pulizie, verde = Verde, arancio = Traslochi */
.trio__ico { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); color: #fff; }
.trio__ico svg { width: 38px; height: 38px; }
.trio__item h3 { font-size: 1.4rem; margin-bottom: 6px; color: #fff; }
.trio__item p { color: rgba(255,255,255,.88); margin: 0; font-size: 1rem; }
.trio__item--pulizie  { background: #1b5f9f; }
.trio__item--verde    { background: #0a7a52; }
.trio__item--traslochi{ background: #b35407; }

/* ---- Riquadri foto con etichetta (griglia a 4) ---- */
/* a tutta larghezza, senza angoli arrotondati, due per riga anche su mobile */
.tiles { display: grid; grid-template-columns: 1fr 1fr; }
.tile {
  position: relative; min-height: 190px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-align: center; text-decoration: none;
}
@media (min-width: 900px) { .tile { min-height: 300px; } }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,28,46,.52), rgba(10,28,46,.76)); }
.tile:hover img { transform: scale(1.07); }
.tile__in { position: relative; z-index: 1; padding: 14px; }
.tile__in svg { width: 36px; height: 36px; display: block; margin: 0 auto 10px; stroke-width: 1.5; }
.tile__in b { font-size: .98rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; display: block; }
@media (min-width: 620px) {
  .tile { min-height: 240px; }
  .tile__in { padding: 18px; }
  .tile__in svg { width: 48px; height: 48px; margin-bottom: 14px; }
  .tile__in b { font-size: 1.06rem; }
}

/* ---- Griglia foto 2x2 (giardini / sgomberi) ---- */
.photo-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-quad img { width: 100%; height: 175px; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-sm); }
@media (min-width: 900px) { .photo-quad img { height: 208px; } }

/* ---- Sezioni servizio (giardini / sgomberi): testo centrato + 4 foto a tutta larghezza ---- */
.section--photos { padding-bottom: 0; }
.svc { max-width: 760px; margin-inline: auto; text-align: center; }
/* elenco puntato classico, allineato a sinistra: i pallini stanno tutti in colonna */
.svc .checklist {
  list-style: disc;
  width: fit-content; max-width: 100%;
  margin-inline: auto;
  padding-left: 1.3em;
  text-align: left;
  gap: 8px;
}
.svc .checklist li { padding-left: 4px; }
.svc .checklist li::before { content: none; }
.svc .checklist li::marker { color: var(--brand); font-size: 1.1em; }

/* MOBILE: slider laterale a tutta larghezza (swipe), la foto successiva si intravede */
.photo-strip {
  display: flex;
  gap: 4px;
  margin-top: 48px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.photo-strip::-webkit-scrollbar { display: none; }
.photo-strip img {
  flex: 0 0 85%;
  scroll-snap-align: start;
  width: 85%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
}
/* DESKTOP: le 4 foto affiancate a tutta larghezza */
@media (min-width: 900px) {
  .photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; overflow: visible; margin-top: 56px; }
  .photo-strip img { width: 100%; aspect-ratio: 1; }
}

/* ---- Galleria lavori (masonry) ---- */
/* MOBILE: slider orizzontale con scorrimento a scatti (swipe) */
.gallery {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* le foto arrivano fino ai bordi dello schermo */
  margin-inline: calc(var(--gutter) * -1);
  padding: 2px var(--gutter) 6px;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure {
  margin: 0; position: relative;
  flex: 0 0 80%;
  scroll-snap-align: center;
  overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.28);
}
.gallery img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform .5s ease; }

/* suggerimento "scorri" solo su mobile */
.swipe-hint { text-align: center; color: rgba(255,255,255,.55); font-size: .88rem; margin: 14px 0 0; }

/* DESKTOP: torna a griglia 4 colonne (coppie Prima/Dopo affiancate) */
@media (min-width: 900px) {
  .gallery {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    overflow: visible; margin-inline: 0; padding: 0;
  }
  .gallery figure { flex: none; }
  .gallery img { height: 245px; }
  .gallery figure:hover img { transform: scale(1.06); }
  .swipe-hint { display: none; }
}

/* ---- Contatti diretti (card su fondo scuro) ---- */
.cc-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cc-grid { grid-template-columns: repeat(3,1fr); } }
.cc {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px; padding: 32px 24px; text-align: center;
  transition: transform .2s ease, background .2s ease;
}
.cc:hover { transform: translateY(-4px); background: rgba(255,255,255,.11); }
.cc__ico { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; }
.cc__ico svg { width: 30px; height: 30px; }
.cc b { display: block; color: #fff; font-size: 1.08rem; margin-bottom: 4px; }
.cc span { display: block; color: rgba(255,255,255,.6); font-size: .92rem; }
.cc strong { display: block; margin-top: 12px; color: #7fc4ff; font-size: 1.12rem; font-weight: 700; }
.cc--wa   .cc__ico { background: rgba(37,211,102,.16);  color: #25d366; }
.cc--tel  .cc__ico { background: rgba(43,127,208,.20);  color: #6bb4f5; }
.cc--mail .cc__ico { background: rgba(239,68,68,.16);   color: #f87171; }

/* titolo con barra colorata (stile screenshot) */
.title-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.title-bar::before { content: ""; width: 5px; height: 34px; border-radius: 4px; background: var(--accent); flex: none; }
.title-bar h2 { margin: 0; }

/* ---- Mobile: tutto il contenuto centrato ---- */
@media (max-width: 899px) {
  .section--brand .container { text-align: center; }
  .section--brand .lead { margin-inline: auto; }
  .title-bar { justify-content: center; }
  .title-bar::before { display: none; }
  .footer { text-align: center; }
  .footer__brand { margin-inline: auto; }
  .footer__brand img { margin-inline: auto; }
  .footer__bottom { justify-content: center; }
}
