/* =====================================================================
   Traslochi New Ristallo — style.css
   Palette estratta dal logo:
     navy #1a378b · navy profondo #29156f · azzurro #0864b1
     lime #8bc82b · lime brillante #c0da15 · grigio #53574a
   ===================================================================== */

:root {
  --navy: #1a378b;
  --navy-deep: #29156f;
  --navy-ink: #10214f;
  --blue: #0864b1;
  --lime: #8bc82b;
  --lime-bright: #c0da15;
  --lime-dark: #6fa41c;

  --ink: #14213d;
  --muted: #5b6478;
  --line: #e3e8f1;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --surface: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 61, .06), 0 2px 8px rgba(20, 33, 61, .05);
  --shadow: 0 8px 30px rgba(26, 55, 139, .10);
  --shadow-lg: 0 24px 60px rgba(26, 55, 139, .18);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--navy-ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 820px; }
.accent { color: var(--navy); background: linear-gradient(120deg, var(--navy), var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.accent-lime { color: var(--lime-bright); }
.link { font-weight: 700; color: var(--blue); }
.link:hover { text-decoration: underline; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; box-shadow: 0 8px 20px rgba(26, 55, 139, .25); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(26, 55, 139, .32); color: #fff; }
.btn-lime { background: var(--lime); color: var(--navy-ink); box-shadow: 0 8px 20px rgba(139, 200, 43, .30); }
.btn-lime:hover { background: var(--lime-bright); color: var(--navy-ink); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(20, 33, 61, .06); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand img { width: auto; height: 56px; }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.nav a { padding: .55rem .85rem; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink); transition: background .18s, color .18s; }
.nav a:hover { background: var(--bg-soft); color: var(--navy); }
.nav a.nav-cta { margin-left: .5rem; color: var(--navy-ink); }
.nav a.nav-cta:hover { background: var(--lime-bright); }
.header-phone { display: none; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(139, 200, 43, .16), transparent 70%),
    radial-gradient(55% 55% at 5% 90%, rgba(8, 100, 177, .12), transparent 70%),
    linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(26, 55, 139, .10) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .85rem; color: var(--navy); background: #fff; border: 1px solid var(--line); padding: .4rem .9rem .4rem .6rem; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 1.4rem; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(139, 200, 43, .25); }
.hero h1 { margin-bottom: 1rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 54ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .92rem; font-weight: 600; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: .45rem; }
.hero-trust svg { color: var(--lime-dark); stroke-width: 3; }

.hero-visual { position: relative; }
.hero-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: -8px; border-radius: 34px; border: 2px solid rgba(139, 200, 43, .5); pointer-events: none; z-index: 1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; display: flex; align-items: center; gap: .8rem;
  background: #fff; padding: .8rem 1.1rem .8rem .8rem; border-radius: 16px; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero-badge strong { display: block; font-size: .95rem; color: var(--navy-ink); }
.hero-badge small { color: var(--muted); font-size: .8rem; }
.hero-badge--top { top: -1.2rem; right: -.5rem; }
.hero-badge--bottom { bottom: -1.2rem; left: -.8rem; animation-delay: -3s; }
.hero-badge-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; flex-shrink: 0; }
.hero-badge-icon svg { width: 22px; height: 22px; }
.hero-badge-icon.lime { background: linear-gradient(135deg, var(--lime), var(--lime-bright)); color: var(--navy-ink); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.6rem 0; }
.strip-item { display: flex; align-items: center; gap: .9rem; }
.strip-item > svg { width: 30px; height: 30px; color: var(--navy); flex-shrink: 0; }
.strip-item strong { display: block; font-size: .95rem; color: var(--navy-ink); }
.strip-item span { display: block; font-size: .83rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; scroll-margin-top: var(--header-h); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
@media (min-width: 1024px) { .section-head:has(.sub.nowrap) { max-width: none; } .sub.nowrap { white-space: nowrap; } }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime-dark); margin-bottom: .6rem; }
.kicker.light { color: var(--lime-bright); }
.sub { color: var(--muted); font-size: 1.08rem; }

/* ---------- servizi cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--blue), var(--lime)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(26, 55, 139, .10), rgba(139, 200, 43, .16)); color: var(--navy); margin-bottom: 1.2rem; }
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- chi siamo ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-visual { position: relative; }
.about-visual > img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.about-card { position: absolute; right: -1rem; bottom: -1.5rem; background: #fff; border-radius: 16px; padding: 1rem 1.2rem; box-shadow: var(--shadow); max-width: 260px; }
.about-card img { width: 150px; margin-bottom: .5rem; }
.about-card p { margin: 0; font-weight: 700; font-style: italic; color: var(--navy); font-size: .95rem; }
.about-copy p { color: var(--muted); font-size: 1.03rem; }
.about-copy strong { color: var(--ink); }
.checklist { margin: 1.4rem 0 1.8rem; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 2rem; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310214f' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat;
}

/* ---------- come funziona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; list-style: none; padding: 0; margin: 0; position: relative; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.8rem 1.8rem; box-shadow: var(--shadow-sm); }
.step-num { position: absolute; top: -1.1rem; left: 1.6rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; font-weight: 800; box-shadow: 0 6px 16px rgba(26, 55, 139, .3); }
.step h3 { margin-top: .4rem; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ---------- galleria (filmstrip orizzontale) ---------- */
.section-gallery { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.6rem; }
.gallery-head h2 { margin-bottom: 0; }
.gallery-controls { display: flex; gap: .5rem; flex-shrink: 0; }
.gallery-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm); transition: background .18s, color .18s, transform .18s; }
.gallery-btn svg { width: 22px; height: 22px; stroke-width: 2.5; }
.gallery-btn:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.gallery-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .5rem max(1.25rem, calc((100% - var(--container)) / 2)) 1.2rem;
  scroll-padding-inline: max(1.25rem, calc((100% - var(--container)) / 2));
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 3px solid rgba(8, 100, 177, .4); outline-offset: -3px; }
.gallery-item { flex: 0 0 auto; width: 300px; height: 210px; scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; position: relative; display: block; box-shadow: var(--shadow-sm); background: var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(16, 33, 79, .7)); opacity: 0; transition: opacity .3s; }
.gallery-cap { position: absolute; left: .9rem; right: .9rem; bottom: .8rem; z-index: 1; color: #fff; font-weight: 700; font-size: .85rem; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after, .gallery-item:hover .gallery-cap { opacity: 1; transform: none; }

/* ---------- sedi ---------- */
.places-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: stretch; }
.places-list { display: grid; gap: 1rem; align-content: start; }
.place { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.place-pin { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.place-pin svg { width: 22px; height: 22px; }
.place h3 { margin-bottom: .3rem; }
.place p { margin: 0 0 .3rem; color: var(--muted); font-size: .95rem; }
.place-hours { display: inline-block; font-weight: 700; color: var(--lime-dark); font-size: .85rem !important; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 380px; }
#map { width: 100%; height: 100%; min-height: 380px; background: var(--bg-soft); }
.leaflet-container { font-family: var(--font); }
.leaflet-tile-pane { filter: saturate(.75) contrast(.95); }
.brand-marker { width: 38px; height: 38px; }
.brand-marker span {
  display: block; width: 38px; height: 38px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--navy), var(--blue)); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(16, 33, 79, .35);
}
.brand-marker span::after { content: ""; position: absolute; inset: 11px; border-radius: 50%; background: var(--lime); }
.leaflet-popup-content { font-weight: 600; margin: 12px 16px; }
.leaflet-popup-content a { color: var(--blue); }

/* ---------- zone servite ---------- */
.areas { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.areas h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.areas p { color: var(--muted); font-size: .95rem; max-width: 70ch; }
.areas-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.areas-list li { padding: .4rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .85rem; color: var(--navy); }

/* ---------- preventivo ---------- */
.section-quote {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(139, 200, 43, .22), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(8, 100, 177, .5), transparent 70%),
    linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, var(--blue));
  color: #fff;
}
.section-quote h2 { color: #fff; }
.quote-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.quote-intro > p { color: rgba(255, 255, 255, .82); font-size: 1.05rem; }
.quote-points { display: grid; gap: .55rem; margin: 1.5rem 0 2rem; font-weight: 600; }
.quote-points li { display: flex; align-items: center; gap: .55rem; }
.quote-points svg { color: var(--lime-bright); stroke-width: 3; }
.quote-alt { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.quote-alt p { width: 100%; margin: 0 0 .3rem; font-weight: 700; }

.quote-form { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); display: grid; gap: 1.1rem; }
.form-row { display: flex; gap: 1rem; border: 0; padding: 0; margin: 0; min-width: 0; flex-wrap: wrap; }
.form-row > .field { flex: 1 1 200px; }
.form-row > .field.small { flex: 0 1 110px; }
.form-row > .field.grow { flex: 1 1 220px; }
fieldset.form-row legend, fieldset.field legend { width: 100%; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: .5rem; padding: 0; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: .75rem .95rem; background: #fbfcfe;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(8, 100, 177, .12); }
.field input.is-invalid, .field textarea.is-invalid { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, .12); }
.field textarea { resize: vertical; min-height: 110px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span { display: inline-block; padding: .5rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fbfcfe; font-weight: 600; font-size: .88rem; transition: all .18s; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 4px rgba(8, 100, 177, .2); }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .85rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; accent-color: var(--navy); flex-shrink: 0; }
.consent a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.btn-spinner { display: none; width: 1.1em; height: 1.1em; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status { margin: 0; font-weight: 600; font-size: .95rem; min-height: 1.4em; }
.form-status.ok { color: var(--lime-dark); }
.form-status.err { color: #d64545; }
.form-note { margin: 0; font-size: .8rem; color: var(--muted); }
.quote-form.is-sent > :not(.form-status) { display: none; }
.quote-form.is-sent { text-align: center; padding: 3rem 2rem; }
.quote-form.is-sent .form-status { font-size: 1.2rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.3rem; box-shadow: var(--shadow-sm); transition: border-color .2s; }
.faq details[open] { border-color: rgba(26, 55, 139, .35); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--lime-dark); font-weight: 500; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); }

/* ---------- contatti ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); color: var(--ink); transition: transform .25s, box-shadow .25s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(26, 55, 139, .10), rgba(139, 200, 43, .18)); color: var(--navy); margin-bottom: .8rem; }
.contact-icon svg { width: 24px; height: 24px; }
.contact-card strong { font-size: 1.05rem; color: var(--navy-ink); }
.contact-card > span { font-weight: 600; color: var(--blue); word-break: break-word; }
.contact-card small { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-ink); color: rgba(255, 255, 255, .78); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand img { width: 220px; background: #fff; padding: .6rem .9rem; border-radius: 12px; margin-bottom: 1rem; }
.footer-brand p { font-size: .93rem; max-width: 36ch; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer li { margin-bottom: .55rem; font-size: .93rem; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--lime-bright); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.4rem; font-size: .83rem; }
.footer-bottom p { margin: 0; }

/* ---------- floating ---------- */
.whatsapp-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab:hover { transform: scale(1.07); color: #fff; }
.mobile-bar { display: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(16, 33, 79, .92); display: flex; align-items: center; justify-content: center; padding: 3rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 12px; box-shadow: var(--shadow-lg); margin-inline: auto; }
.lightbox figcaption { color: #fff; margin-top: 1rem; font-weight: 600; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-nav.prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--delay, 0s), transform .7s cubic-bezier(.2, .7, .2, 1) var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge { animation: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav a:not(.nav-cta) { padding-inline: .6rem; font-size: .88rem; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .brand img { height: 46px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(20, 33, 61, .12);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .8rem .6rem; font-size: 1rem; border-radius: 10px; }
  .nav a.nav-cta { margin: .6rem 0 0; text-align: center; }
  .header-phone { display: inline-flex; align-items: center; gap: .4rem; margin-left: auto; font-weight: 700; color: var(--navy); font-size: .92rem; }
  .header-phone svg { width: 1.1em; height: 1.1em; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; padding: 0 11px; }
  .nav-toggle span { display: block; height: 2px; background: var(--navy-ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 1.5rem; }
  .hero-badge--top { top: -.8rem; right: .5rem; }
  .hero-badge--bottom { bottom: -.8rem; left: .5rem; }
  .about-grid, .quote-grid, .places-grid { grid-template-columns: 1fr; }
  .about-card { right: .5rem; bottom: -1rem; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .map-wrap { min-height: 320px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .container { width: min(100% - 1.6rem, var(--container)); }
  .hero { padding-top: 2rem; }
  .hero-actions .btn { width: 100%; }
  .hero-badge { padding: .6rem .8rem .6rem .6rem; }
  .hero-badge strong { font-size: .85rem; }
  .hero-badge small { display: none; }
  .strip-grid { grid-template-columns: 1fr; gap: 1rem; }
  .cards, .contact-grid { grid-template-columns: 1fr; }
  .gallery-item { width: 240px; height: 170px; }
  .gallery-head { align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .quote-form { border-radius: 18px; }
  .form-row > .field.small { flex: 1 1 100px; }
  .lightbox { padding: 1rem; }
  .lightbox-nav.prev { left: .3rem; } .lightbox-nav.next { right: .3rem; }

  /* barra chiamata sticky in basso */
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mobile-bar .btn { padding: .75rem 1rem; }
  .whatsapp-fab { bottom: calc(4.6rem + env(safe-area-inset-bottom)); width: 52px; height: 52px; }
  .site-footer { padding-bottom: 5.5rem; }
}
