/* ============================================================
   AMICI DI EGITTO EDILIZIA — Design System
   Palette: Blu Notte #0F172A · Oro Sabbia #D4A017 · CTA #F59E0B
   Font: Sora (titoli) · Inter (testi)
   ============================================================ */

:root {
  --navy: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --gold: #D4A017;
  --gold-soft: #F5E7C6;
  --cta: #F59E0B;
  --cta-dark: #D97706;
  --grey: #64748B;
  --grey-light: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --green: #16A34A;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 4px 24px rgba(15, 23, 42, .07);
  --shadow-hover: 0 12px 40px rgba(15, 23, 42, .14);
  --font-title: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.container { width: min(1180px, 92%); margin: 0 auto; }

section { padding: 84px 0; }
section.tight { padding: 56px 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
.section-sub { color: var(--grey); max-width: 640px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .95rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn-cta {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 6px 20px rgba(245, 158, 11, .35);
}
.btn-cta:hover { background: var(--cta-dark); box-shadow: 0 10px 28px rgba(245, 158, 11, .45); }

.btn-wa { background: #25D366; color: #fff; box-shadow: 0 6px 20px rgba(37, 211, 102, .3); }
.btn-wa:hover { background: #1EBE5A; }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--grey-light); }
.btn-ghost:hover { border-color: var(--navy); }

.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); border-color: #fff; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.scrolled { border-color: var(--grey-light); box-shadow: 0 4px 20px rgba(15,23,42,.06); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .02em;
  color: var(--navy);
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .34em;
  color: var(--gold);
  text-transform: uppercase;
}
.brand-text.light { color: #fff; }

.main-nav ul { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy-700);
  transition: color .2s;
  padding: 8px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }

.nav-drop { position: relative; }
.nav-drop > a::after { content: " ▾"; font-size: .7em; }
.drop-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  min-width: 280px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all .22s ease;
}
.nav-drop:hover .drop-menu, .nav-drop.open .drop-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.drop-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .9rem;
}
.drop-menu a:hover { background: var(--bg-soft); color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-title);
  font-weight: 700; font-size: .85rem;
  color: var(--navy);
}
.header-phone svg { width: 18px; height: 18px; color: var(--gold); }
.header-phone span small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; color: var(--grey); letter-spacing: .04em; text-transform: uppercase; }
.header-cta .btn { padding: 12px 22px; font-size: .85rem; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: all .25s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(212,160,23,.16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #101a30 55%, #16213b 100%);
  color: #fff;
  padding: calc(var(--header-h) + 70px) 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(212,160,23,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(212,160,23,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,160,23,.12);
  border: 1px solid rgba(212,160,23,.4);
  color: var(--gold-soft);
  font-size: .8rem; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(74,222,128,.08); } }

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { color: #C7D0DE; font-size: 1.1rem; max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 20px; color: #A8B3C4; font-size: .86rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

/* Before / After slider */
.ba-wrap { position: relative; }
.ba-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
  user-select: none;
  touch-action: none;
}
.ba-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before { clip-path: inset(0 calc(100% - var(--ba, 50%)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--ba, 50%);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 14px rgba(0,0,0,.4);
}
.ba-handle::after {
  content: "◂ ▸";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  background: var(--cta);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; letter-spacing: -1px;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.ba-label {
  position: absolute; top: 14px;
  background: rgba(15,23,42,.75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-family: var(--font-title);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  pointer-events: none;
}
.ba-label.before { left: 14px; }
.ba-label.after { right: 14px; background: rgba(212,160,23,.9); color: var(--navy); }
.ba-caption {
  position: absolute; left: 50%; bottom: -18px;
  transform: translateX(-50%);
  background: #fff;
  color: var(--navy);
  font-size: .78rem; font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-hover);
  white-space: nowrap;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--navy-800); color: #fff; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.06); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-item { display: flex; align-items: center; gap: 12px; justify-content: center; font-size: .84rem; color: #C7D0DE; }
.trust-item strong { display: block; color: #fff; font-family: var(--font-title); font-size: .88rem; }
.trust-item svg { width: 26px; height: 26px; color: var(--gold); flex: none; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: #fff;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--gold-soft); }
.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--gold); }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--grey); font-size: .93rem; flex: 1; }
.card-link {
  margin-top: 18px;
  font-family: var(--font-title);
  font-weight: 700; font-size: .85rem;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 6px;
}
.card-link::after { content: "→"; transition: transform .2s; }
.card:hover .card-link::after { transform: translateX(4px); }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 28px; justify-content: center; }
.filter-btn {
  font-family: var(--font-title);
  font-weight: 600; font-size: .85rem;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--grey-light);
  background: #fff;
  color: var(--navy-700);
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pf-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--navy-800);
}
.pf-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.pf-item:hover img { transform: scale(1.06); }
.pf-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.88) 0%, rgba(15,23,42,.1) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
  opacity: .96;
}
.pf-tag {
  align-self: flex-start;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-title);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
  margin-bottom: 10px;
}
.pf-overlay h3 { color: #fff; font-size: 1rem; }
.pf-overlay p { color: #B9C2D0; font-size: .8rem; }
.pf-item.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10, 15, 28, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 4vh 4vw;
  opacity: 0; visibility: hidden;
  transition: all .25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 82vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.lightbox-caption { position: absolute; bottom: 5vh; left: 50%; transform: translateX(-50%); color: #fff; font-size: .9rem; text-align: center; }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: 0;
  color: #fff; font-size: 2.2rem; line-height: 1;
  cursor: pointer;
  opacity: .8;
}
.lightbox-close:hover { opacity: 1; }

/* ============================================================
   PROCESS / METODO
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.step-num {
  font-family: var(--font-title);
  font-size: 2.6rem; font-weight: 800;
  color: var(--gold-soft);
  -webkit-text-stroke: 1.5px var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 10px; }
.step p { color: var(--grey); font-size: .88rem; }

/* ============================================================
   CHI SIAMO
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.about-photo { position: relative; }
.about-photo img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-hover);
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--gold-soft);
  border-radius: var(--radius);
  z-index: -1;
}
.about-stat {
  position: absolute;
  right: -14px; bottom: 30px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  box-shadow: var(--shadow-hover);
  text-align: center;
}
.about-stat strong { display: block; font-family: var(--font-title); font-size: 1.7rem; color: var(--gold); }
.about-stat span { font-size: .75rem; color: #B9C2D0; }
.about-copy p { color: var(--navy-700); margin-bottom: 16px; font-size: .98rem; }
.about-checks { margin: 24px 0 30px; display: grid; gap: 12px; }
.about-checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: .93rem; }
.about-checks svg { width: 21px; height: 21px; color: var(--green); flex: none; margin-top: 2px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section { background: var(--bg-soft); }
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 48px 4px 20px;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  background: #fff;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 28px;
  scroll-snap-align: start;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.review-stars { color: #FBBF24; letter-spacing: 3px; font-size: 1rem; margin-bottom: 14px; }
.review p { color: var(--navy-700); font-size: .92rem; flex: 1; }
.review-author { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-title); font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.review-author strong { display: block; font-size: .88rem; }
.review-author span { font-size: .76rem; color: var(--grey); }
.reviews-nav { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.reviews-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-light);
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--navy);
  transition: all .2s;
}
.reviews-nav button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================================
   CTA FINALE + FORM
   ============================================================ */
.cta-final {
  background:
    radial-gradient(ellipse 700px 400px at 15% 110%, rgba(212,160,23,.18), transparent 60%),
    linear-gradient(150deg, var(--navy), #14203a);
  color: #fff;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cta-final h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.cta-final .lead { color: #C7D0DE; margin-bottom: 28px; }
.cta-contacts { display: grid; gap: 14px; }
.cta-contact {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  transition: background .2s, border-color .2s;
}
.cta-contact:hover { background: rgba(255,255,255,.11); border-color: var(--gold); }
.cta-contact svg { width: 24px; height: 24px; color: var(--gold); flex: none; }
.cta-contact strong { display: block; font-family: var(--font-title); font-size: .95rem; }
.cta-contact span { font-size: .78rem; color: #A8B3C4; }

.quote-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
  color: var(--navy);
}
.quote-form h3 { font-size: 1.25rem; margin-bottom: 6px; }
.quote-form .form-sub { font-size: .85rem; color: var(--grey); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; font-size: .8rem; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .92rem;
  padding: 13px 15px;
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--navy);
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,.15);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.quote-form .btn { width: 100%; margin-top: 6px; }
.form-note { text-align: center; font-size: .78rem; color: var(--grey); margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.form-note svg { width: 15px; height: 15px; color: var(--green); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background:
    radial-gradient(ellipse 700px 380px at 80% -20%, rgba(212,160,23,.15), transparent 60%),
    linear-gradient(155deg, var(--navy), #14203a);
  color: #fff;
  padding: calc(var(--header-h) + 64px) 0 64px;
}
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin-bottom: 14px; max-width: 780px; }
.page-hero p { color: #C7D0DE; max-width: 640px; font-size: 1.05rem; }
.breadcrumb { font-size: .8rem; color: #8FA0B5; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.page-hero .hero-ctas { margin-top: 28px; margin-bottom: 0; }

/* ============================================================
   SERVICE DETAIL PAGES
   ============================================================ */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: start;
}
.service-body h2 { font-size: 1.5rem; margin: 36px 0 14px; }
.service-body h2:first-child { margin-top: 0; }
.service-body p { color: var(--navy-700); margin-bottom: 16px; font-size: .97rem; }
.service-body img { border-radius: var(--radius); margin: 10px 0 26px; aspect-ratio: 16/8.5; object-fit: cover; width: 100%; }
.check-list { display: grid; gap: 12px; margin: 20px 0 8px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--navy-700); }
.check-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.check-list strong { color: var(--navy); }

.service-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.aside-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
}
.aside-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.aside-card p { color: #B9C2D0; font-size: .86rem; margin-bottom: 20px; }
.aside-card .btn { width: 100%; margin-bottom: 10px; padding: 13px 18px; font-size: .88rem; }
.aside-links {
  background: var(--bg-soft);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 26px;
}
.aside-links h4 { font-size: .95rem; margin-bottom: 14px; }
.aside-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 2px;
  font-size: .88rem; font-weight: 600;
  color: var(--navy-700);
  border-bottom: 1px solid var(--grey-light);
  transition: color .2s, padding-left .2s;
}
.aside-links a:last-child { border-bottom: 0; }
.aside-links a:hover { color: var(--gold); padding-left: 6px; }
.aside-links a.current { color: var(--gold); }

/* Zone servite chips */
.zone-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.zone-chips span {
  background: var(--bg-soft);
  border: 1px solid var(--grey-light);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .85rem; font-weight: 600;
  color: var(--navy-700);
}
.zone-chips span svg { width: 14px; height: 14px; color: var(--gold); vertical-align: -2px; margin-right: 5px; }

/* CTA banner riutilizzabile */
.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-800));
  border-radius: var(--radius);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border: 2px solid rgba(212,160,23,.25);
  border-radius: 50%;
}
.cta-banner h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.cta-banner p { color: #B9C2D0; font-size: .92rem; }
.cta-banner .btn { flex: none; }

/* ============================================================
   CONTATTI
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 18px; margin-top: 30px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .2s, transform .2s;
}
.contact-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.contact-card .ci {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.contact-card .ci svg { width: 24px; height: 24px; color: var(--gold); }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p { color: var(--grey); font-size: .88rem; }
.contact-card a.link { color: var(--gold); font-weight: 700; }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--grey-light);
  margin-top: 40px;
}
.map-embed iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: #B9C2D0; padding: 70px 0 0; font-size: .9rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 50px;
}
.footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-brand p { font-size: .86rem; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.footer-social a:hover { background: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; color: #fff; }
.site-footer h4 {
  color: #fff; font-size: .95rem;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a { transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: var(--gold); }
.footer-map { border-radius: var(--radius-sm); overflow: hidden; margin-top: 6px; }
.footer-map iframe { display: block; width: 100%; height: 150px; border: 0; filter: grayscale(30%); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .78rem; color: #7E8CA0;
}
.footer-bottom a:hover { color: var(--gold); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 300;
  display: flex; align-items: center; gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  padding: 14px 22px 14px 16px;
  font-family: var(--font-title);
  font-weight: 700; font-size: .88rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45);
  transition: transform .2s, box-shadow .2s;
  animation: wa-in .6s .8s backwards;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 36px rgba(37,211,102,.55); }
.wa-float svg { width: 26px; height: 26px; }
@keyframes wa-in { from { opacity: 0; transform: translateY(20px); } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards-grid, .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  section { padding: 60px 0; }
  .brand img { height: 38px; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--grey-light);
    box-shadow: 0 20px 40px rgba(15,23,42,.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav.open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 5%; }
  .main-nav ul li { border-bottom: 1px solid var(--bg-soft); }
  .main-nav a { display: block; padding: 14px 4px; font-size: 1rem; }
  .drop-menu {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    box-shadow: none; border: 0;
    min-width: 0;
    display: none;
    padding: 0 0 10px 16px;
  }
  .nav-drop.open .drop-menu { display: block; transform: none; }
  .drop-menu a { font-size: .9rem; padding: 9px 10px; }

  .header-cta .btn { padding: 10px 16px; font-size: .78rem; }

  .hero { padding: calc(var(--header-h) + 44px) 0 70px; }
  .hero-grid, .about-grid, .cta-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 60px; }
  .about-photo { max-width: 480px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { justify-content: flex-start; }
  .quote-form { padding: 28px 22px; }
  .cta-banner { padding: 34px 26px; }
  .service-aside { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards-grid, .pf-grid, .steps-grid { grid-template-columns: 1fr; }
  .reviews-track { grid-auto-columns: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .form-row { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .trust-item { font-size: .74rem; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .hero-ctas .btn { width: 100%; }
}

/* ============================================================
   CONSENSO PRIVACY + COOKIE BANNER
   ============================================================ */
.form-consent { margin: 4px 0 12px; }
.consent-label {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .78rem; font-weight: 500; color: var(--grey);
  line-height: 1.5; cursor: pointer;
}
.consent-label input {
  margin-top: 2px; width: 16px; height: 16px; flex: none;
  accent-color: var(--gold); cursor: pointer;
}
.consent-label a { color: var(--gold); font-weight: 700; }

.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px;
  z-index: 400;
  max-width: 760px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 22px 26px;
  display: none;
  gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; animation: wa-in .4s backwards; }
.cookie-banner strong { font-family: var(--font-title); font-size: .95rem; display: block; margin-bottom: 4px; }
.cookie-banner p { font-size: .8rem; color: var(--grey); max-width: 430px; }
.cookie-banner p a { color: var(--gold); font-weight: 700; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 11px 20px; font-size: .78rem; }

iframe[data-consent-src] { display: none; }
.map-loaded iframe { display: block; }
.map-loaded .map-placeholder { display: none; }
.map-placeholder {
  display: flex; flex-direction: column; gap: 8px;
  align-items: center; justify-content: center; text-align: center;
  padding: 30px 20px;
  font-size: .8rem; color: var(--grey);
  background: var(--bg-soft);
}
.map-placeholder a { color: var(--gold); font-weight: 700; }
.footer-map .map-placeholder { background: rgba(255,255,255,.06); color: #B9C2D0; padding: 22px 14px; font-size: .74rem; }
