/* ==========================================================================
   Ambulatorio Veterinario Vigna Murata — Roma EUR
   Design system + page styles
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #10231e;
  --ink-soft: #476057;
  --ink-mute: #7c9187;

  --petrol: #0e4f45;
  --petrol-dk: #093a33;
  --petrol-lt: #16695c;
  --moss: #7ba58f;
  --sage: #dfeade;
  --sage-dk: #c3d8c8;

  --cream: #fdfaf5;
  --sand: #f5eee2;
  --sand-dk: #ece2d2;

  --coral: #e0693f;
  --coral-dk: #c4552c;
  --coral-lt: #fbe4d9;
  --gold: #cf9a34;

  --white: #fff;

  --shadow-s: 0 1px 2px rgba(16, 35, 30, .06), 0 2px 8px rgba(16, 35, 30, .04);
  --shadow-m: 0 2px 4px rgba(16, 35, 30, .04), 0 12px 28px -6px rgba(16, 35, 30, .12);
  --shadow-l: 0 4px 8px rgba(16, 35, 30, .05), 0 30px 60px -12px rgba(16, 35, 30, .22);

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-variation-settings: "SOFT" 20, "WONK" 1;
  text-wrap: balance;
}

p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--coral); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--wide { max-width: 1380px; }

.section { padding-block: clamp(64px, 9vw, 118px); position: relative; }
.section--sand { background: var(--sand); }
.section--tight { padding-block: clamp(48px, 6vw, 78px); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--petrol);
  color: #fff;
  padding: 14px 22px;
  border-radius: 0 0 var(--r-m) 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typography atoms ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--coral-dk);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--moss); }

.h-xl { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
.h-l  { font-size: clamp(2.05rem, 4.1vw, 3.05rem); }
.h-m  { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }

.lede {
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 60ch;
}

.section-head { max-width: 700px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head p { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

.ital { font-style: italic; font-variation-settings: "SOFT" 40, "WONK" 1; }
.hl { color: var(--petrol); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--petrol);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), background-color .2s;
  box-shadow: var(--shadow-s);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--coral { --btn-bg: var(--coral); }
.btn--coral:hover { background: var(--coral-dk); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(16, 35, 30, .18);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(16, 35, 30, .04); border-color: rgba(16, 35, 30, .3); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--petrol); }
.btn--onDark {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .32);
  box-shadow: none;
}
.btn--onDark:hover { background: rgba(255, 255, 255, .1); }
.btn--lg { padding: 18px 32px; font-size: 16.5px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--petrol);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s, gap .2s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: currentColor; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--petrol-dk);
  color: rgba(255, 255, 255, .92);
  font-size: 13.5px;
  letter-spacing: .01em;
}
.announce .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
  min-height: 42px;
  flex-wrap: wrap;
  text-align: center;
}
.announce b { color: #fff; font-weight: 600; }
.announce svg { width: 16px; height: 16px; color: var(--coral-lt); flex: none; }
.announce-item { display: inline-flex; align-items: center; gap: 8px; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.announce a:hover { text-decoration-color: var(--coral); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 250, 245, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.header.is-stuck {
  border-bottom-color: rgba(16, 35, 30, .08);
  box-shadow: 0 4px 24px -12px rgba(16, 35, 30, .2);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
  flex: none;
}
.brand-mark {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--petrol-lt), var(--petrol-dk));
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-s);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand-sub {
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav { display: flex; align-items: center; gap: 2px; flex: none; }
.nav a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-pill);
  font-size: 15px;
  white-space: nowrap;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: rgba(16, 35, 30, .05); }
.nav a.is-active { color: var(--petrol); background: var(--sage); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background-color .2s;
}
.header-phone svg { width: 17px; height: 17px; color: var(--petrol); flex: none; }
.header-phone:hover { background: var(--sage); }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(16, 35, 30, .16);
  border-radius: 13px;
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.burger svg { width: 22px; height: 22px; }
.burger .i-close { display: none; }
.burger[aria-expanded="true"] .i-close { display: block; }
.burger[aria-expanded="true"] .i-menu { display: none; }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  padding: calc(var(--header-h) + 30px) var(--gut) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a.drawer-link {
  font-family: var(--serif);
  font-size: 27px;
  color: var(--ink);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid rgba(16, 35, 30, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer a.drawer-link svg { width: 18px; height: 18px; color: var(--moss); }
.drawer-foot { margin-top: 26px; display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(44px, 6vw, 84px) clamp(60px, 8vw, 104px);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 700px; height: 700px;
  top: -320px; right: -180px;
  background: radial-gradient(circle at 40% 40%, rgba(123, 165, 143, .3), transparent 64%);
}
.hero::after {
  width: 560px; height: 560px;
  bottom: -300px; left: -220px;
  background: radial-gradient(circle at 60% 40%, rgba(224, 105, 63, .16), transparent 66%);
}
.hero .wrap { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-s);
  margin-bottom: 24px;
}
.hero-badge .pill-yr {
  display: inline-grid;
  place-items: center;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--petrol);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 .ital { color: var(--petrol); }
.hero-lede { margin-bottom: 32px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 38px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(16, 35, 30, .1);
}
.trust-item { display: flex; align-items: center; gap: 11px; }
.trust-item svg { width: 20px; height: 20px; color: var(--petrol); flex: none; }
.trust-item strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.trust-item span { font-size: 12.5px; color: var(--ink-mute); }

/* hero media */
.hero-media { position: relative; }
.hero-media-frame {
  position: relative;
  border-radius: 220px 220px var(--r-l) var(--r-l);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background: var(--sage);
  box-shadow: var(--shadow-l);
}
.hero-media-frame img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--r-m);
  padding: 14px 18px;
  box-shadow: var(--shadow-l);
  z-index: 2;
}
.float-card--rating {
  top: 28px; left: -22px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.rating-num {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.stars { display: flex; gap: 2px; margin-bottom: 3px; }
.stars svg { width: 13px; height: 13px; color: var(--gold); }
.float-card--rating small { font-size: 12px; color: var(--ink-mute); display: block; }

.float-card--hours {
  bottom: 26px; right: -18px;
  min-width: 202px;
}
.status-line { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-mute);
  flex: none;
  position: relative;
}
.dot.is-open { background: #2fa36b; }
.dot.is-open::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(47, 163, 107, .4);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping {
  0% { transform: scale(.6); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.status-text { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.float-card--hours small { font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; display: block; }

/* ---------- Info strip ---------- */
.strip { position: relative; margin-top: -10px; }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sand-dk);
  border: 1px solid var(--sand-dk);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--shadow-m);
}
.strip-card {
  background: var(--white);
  padding: 26px 24px;
  text-decoration: none;
  display: flex;
  gap: 15px;
  transition: background-color .25s;
}
.strip-card:hover { background: var(--cream); }
.strip-ico {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--sage);
  color: var(--petrol);
  display: grid;
  place-items: center;
}
.strip-ico svg { width: 20px; height: 20px; }
.strip-card h3 { font-family: var(--sans); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 5px; }
.strip-card p { font-size: 15.5px; color: var(--ink); font-weight: 500; line-height: 1.45; }
.strip-card em { font-style: normal; color: var(--coral-dk); font-weight: 600; }

/* ---------- Services ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: var(--r-l);
  padding: 30px 28px 32px;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc-ico {
  width: 50px; height: 50px;
  border-radius: 15px;
  background: var(--sage);
  color: var(--petrol);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: background-color .3s, color .3s;
}
.svc-ico svg { width: 24px; height: 24px; }
.svc:hover .svc-ico { background: var(--petrol); color: #fff; }
.svc h3 { font-size: 1.24rem; margin-bottom: 10px; }
.svc p { font-size: 15px; line-height: 1.6; }
.svc-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--coral-dk);
  background: var(--coral-lt);
  padding: 5px 11px;
  border-radius: var(--r-pill);
}

.svc-extra {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}
.chip svg { width: 16px; height: 16px; color: var(--moss); }
.section--sand .chip { background: var(--white); }

/* ---------- Split feature (struttura) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 74px);
  align-items: center;
}
.split--flip .split-media { order: -1; }

.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: var(--r-xl);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-l);
}
.split-media .badge-round {
  position: absolute;
  bottom: -26px;
  right: -18px;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow-l);
  padding: 14px;
}
.badge-round b { font-family: var(--serif); font-size: 30px; line-height: 1; display: block; }
.badge-round span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; display: block; margin-top: 5px; }

.rooms { display: grid; gap: 2px; margin-top: 30px; }
.room {
  display: flex;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid rgba(16, 35, 30, .1);
}
.room:last-child { border-bottom: 1px solid rgba(16, 35, 30, .1); }
.room-n {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--coral-dk);
  padding-top: 3px;
  min-width: 26px;
}
.room h4 { font-family: var(--sans); font-size: 16px; font-weight: 650; margin-bottom: 3px; color: var(--ink); }
.room p { font-size: 14.5px; line-height: 1.55; }

/* ---------- Staff ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.staff {
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: var(--r-l);
  padding: 32px 28px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.staff:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.staff-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.avatar {
  width: 66px; height: 66px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.02em;
  background: linear-gradient(150deg, var(--petrol-lt), var(--petrol-dk));
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .18);
}
.staff:nth-child(2) .avatar { background: linear-gradient(150deg, #d78a55, var(--coral-dk)); }
.staff:nth-child(3) .avatar { background: linear-gradient(150deg, #86ac93, #46705c); }
.staff-name { font-size: 1.16rem; margin-bottom: 4px; }
.staff-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--coral-dk);
}
.staff p { font-size: 14.8px; line-height: 1.62; }
.staff-meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 35, 30, .09);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--petrol);
  background: var(--sage);
  padding: 5px 11px;
  border-radius: var(--r-pill);
}

/* ---------- Gallery marquee ---------- */
.marquee {
  --gap: 16px;
  display: flex;
  gap: var(--gap);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: var(--gap);
  flex: none;
  animation: slide 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - var(--gap))); }
}
.marquee img {
  width: clamp(190px, 22vw, 268px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-l);
  flex: none;
}

/* ---------- Reviews ---------- */
.rev-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.rev-summary {
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: var(--r-l);
  padding: 32px 30px;
  text-align: center;
  box-shadow: var(--shadow-s);
  position: sticky;
  top: calc(var(--header-h) + 22px);
}
.rev-summary .g-logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}
.rev-big {
  font-family: var(--serif);
  font-size: 60px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -.03em;
}
.rev-summary .stars { justify-content: center; margin: 12px 0 8px; }
.rev-summary .stars svg { width: 19px; height: 19px; }
.rev-count { font-size: 14.5px; color: var(--ink-soft); }
.rev-summary hr { border: 0; border-top: 1px solid rgba(16, 35, 30, .1); margin: 22px 0; }

.rev-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rev {
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: var(--r-l);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rev:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.rev .stars { margin-bottom: 14px; }
.rev blockquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--ink);
  font-variation-settings: "SOFT" 30, "WONK" 1;
  margin-bottom: 20px;
  flex: 1;
}
.rev-who { display: flex; align-items: center; gap: 12px; }
.rev-init {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--petrol);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.rev-who strong { display: block; font-size: 14.5px; color: var(--ink); }
.rev-who span { font-size: 12.5px; color: var(--ink-mute); }

/* ---------- Pricing ---------- */
.price-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: var(--r-l);
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-s);
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-card > p.note { font-size: 14px; color: var(--ink-mute); margin-bottom: 24px; }

.price-list { display: grid; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(16, 35, 30, .16);
}
.price-row:last-child { border-bottom: 0; }
.price-row .pname { font-size: 15.5px; color: var(--ink); font-weight: 500; }
.price-row .pname small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-mute); margin-top: 2px; }
.price-row .pdots { flex: 1; border-bottom: 1px dotted rgba(16, 35, 30, .22); transform: translateY(-4px); }
.price-row .pval { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--petrol); white-space: nowrap; }
.price-row.is-free .pval { color: var(--coral-dk); }

.price-aside { display: grid; gap: 18px; }
.promo {
  background: var(--petrol);
  color: #fff;
  border-radius: var(--r-l);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
}
.promo::after {
  content: "";
  position: absolute;
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .13), transparent 68%);
  bottom: -80px; right: -50px;
}
.promo h3 { color: #fff; font-size: 1.42rem; margin-bottom: 12px; position: relative; }
.promo p { color: rgba(255, 255, 255, .85); font-size: 15px; margin-bottom: 22px; position: relative; }
.promo .btn { position: relative; }

.conv-card {
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: var(--r-l);
  padding: 28px 26px;
}
.conv-card h3 { font-size: 1.16rem; margin-bottom: 6px; }
.conv-card > p { font-size: 13.5px; color: var(--ink-mute); margin-bottom: 18px; }
.conv-list { display: grid; gap: 11px; }
.conv-list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink); }
.conv-pct {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--coral-dk);
  background: var(--coral-lt);
  border-radius: 8px;
  padding: 3px 8px;
  min-width: 46px;
  text-align: center;
  flex: none;
}

/* ---------- Emergency (dark) ---------- */
.section--dark {
  background: var(--petrol-dk);
  color: rgba(255, 255, 255, .8);
  position: relative;
  overflow: hidden;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lede { color: rgba(255, 255, 255, .8); }
.section--dark::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  top: -290px; left: -160px;
  background: radial-gradient(circle, rgba(123, 165, 143, .22), transparent 66%);
}
.section--dark .wrap { position: relative; z-index: 1; }

.emg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
}
.emg-cards { display: grid; gap: 14px; }
.emg-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-m);
  text-decoration: none;
  transition: background-color .25s, transform .25s var(--ease);
}
.emg-card:hover { background: rgba(255, 255, 255, .12); transform: translateX(4px); }
.emg-ico {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
}
.emg-ico svg { width: 22px; height: 22px; }
.emg-card > span { display: block; }
.emg-card .who { display: block; font-size: 13px; color: rgba(255, 255, 255, .7); letter-spacing: .04em; margin-bottom: 2px; }
.emg-card .num { display: block; font-family: var(--serif); font-size: 23px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.emg-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .62);
  display: flex;
  gap: 10px;
  line-height: 1.55;
}
.emg-note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--moss); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3.4vw, 42px);
  box-shadow: var(--shadow-m);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--coral-dk); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--cream);
  border: 1.5px solid var(--sand-dk);
  border-radius: var(--r-s);
  font-size: 15.5px;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--petrol);
  background: var(--white);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }

.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13.8px;
  line-height: 1.5;
  grid-column: 1 / -1;
}
.check input { width: 19px; height: 19px; margin-top: 2px; flex: none; accent-color: var(--petrol); }
.check a { color: var(--petrol); text-decoration: underline; text-underline-offset: 2px; }

.form-msg {
  grid-column: 1 / -1;
  display: none;
  gap: 11px;
  align-items: center;
  padding: 15px 17px;
  border-radius: var(--r-s);
  background: var(--sage);
  color: var(--petrol-dk);
  font-size: 14.5px;
  font-weight: 500;
}
.form-msg.is-visible { display: flex; }
.form-msg svg { width: 19px; height: 19px; flex: none; }

.contact-aside { display: grid; gap: 18px; }
.info-card {
  background: var(--white);
  border: 1px solid var(--sand-dk);
  border-radius: var(--r-l);
  padding: 28px 26px;
}
.info-card h3 { font-size: 1.1rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { width: 19px; height: 19px; color: var(--coral-dk); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 0; font-size: 15px; border-bottom: 1px solid rgba(16, 35, 30, .08); }
.hours-table th { font-weight: 500; color: var(--ink-soft); }
.hours-table td { text-align: right; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--petrol); }
.hours-table tr.is-today th::after {
  content: "oggi";
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--petrol);
  padding: 2px 7px;
  border-radius: var(--r-pill);
  margin-left: 9px;
  font-weight: 700;
}
.hours-table td.closed { color: var(--ink-mute); font-weight: 500; }

.contact-lines { display: grid; gap: 15px; }
.cline { display: flex; gap: 13px; align-items: flex-start; text-decoration: none; }
.cline svg { width: 19px; height: 19px; color: var(--petrol); flex: none; margin-top: 3px; }
.cline > span { display: block; }
.cline .k { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 2px; }
.cline .v { display: block; font-size: 15.5px; color: var(--ink); font-weight: 500; line-height: 1.45; }
a.cline:hover .v { color: var(--petrol); text-decoration: underline; text-underline-offset: 3px; }

.how { display: grid; gap: 16px; }
.how-item { display: flex; gap: 14px; }
.how-ico {
  width: 38px; height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--sage);
  color: var(--petrol);
  display: grid;
  place-items: center;
}
.how-ico svg { width: 18px; height: 18px; }
.how-item h4 { font-family: var(--sans); font-size: 14.5px; font-weight: 650; color: var(--ink); margin-bottom: 3px; }
.how-item p { font-size: 14.2px; line-height: 1.55; }

/* map */
.map-wrap {
  margin-top: clamp(34px, 4vw, 54px);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--sand-dk);
  box-shadow: var(--shadow-m);
  background: var(--sand);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: clamp(300px, 42vw, 430px); border: 0; filter: saturate(.92); }

.zones { margin-top: 26px; }
.zones h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 12px; }
.zones ul { display: flex; flex-wrap: wrap; gap: 8px; }
.zones li {
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--sand-dk);
  padding: 6px 13px;
  border-radius: var(--r-pill);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--coral), #d0552b);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-l);
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  right: -90px; top: -140px;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 68%);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255, 255, 255, .9); margin-top: 12px; position: relative; max-width: 46ch; }
.cta-band .btn { position: relative; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
  padding-block: clamp(52px, 6vw, 78px) 30px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px 30px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: rgba(255, 255, 255, .45); }
.footer-about { margin-top: 18px; line-height: 1.65; max-width: 34ch; }
.footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  display: grid;
  place-items: center;
  transition: background-color .2s, border-color .2s;
}
.footer-social a:hover { background: rgba(255, 255, 255, .12); border-color: transparent; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 14px 30px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}
.footer-bottom ul { display: flex; gap: 20px; }

/* ---------- Mobile call bar / to top ---------- */
.callbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(253, 250, 245, .95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--sand-dk);
}
.callbar .btn { flex: 1; padding: 14px 12px; font-size: 15px; }

.totop {
  position: fixed;
  right: 22px; bottom: 26px;
  z-index: 89;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--petrol);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-m);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-media-frame { aspect-ratio: 4 / 3.7; border-radius: 160px 160px var(--r-l) var(--r-l); }
  .float-card--rating { left: 0; }
  .float-card--hours { right: 0; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid { grid-template-columns: 1fr; }
  .rev-layout { grid-template-columns: 1fr; }
  .rev-summary { position: static; max-width: 420px; }
  .price-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .emg-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .header-phone span { display: none; }
  .strip-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .rev-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .callbar { display: flex; }
  .totop { display: none; }
  body { padding-bottom: 72px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .split-media .badge-round { width: 104px; height: 104px; right: 6px; bottom: -20px; }
  .badge-round b { font-size: 24px; }
  .announce .wrap { min-height: 0; padding-block: 9px; font-size: 12.8px; }
  .announce-item.hide-sm { display: none; }
  .hero-trust { gap: 14px 22px; }
  .trust-item { flex: 1 1 40%; }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .announce, .callbar, .totop, .marquee, .map-wrap, .drawer { display: none !important; }
  body { background: #fff; }
}


/* ---------- Utility: nascondi la CTA header sui breakpoint compatti ---------- */
@media (max-width: 1080px) {
  .hide-on-mobile { display: none !important; }
}


/* ---------- Header: passa al menu compatto prima che la barra si affolli ---------- */
@media (max-width: 1200px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hide-on-mobile { display: none !important; }
}


/* ---------- Correzioni di rifinitura ---------- */

/* Gli anchor link non devono finire sotto l'header sticky */
section[id],
[id]:not(body) { scroll-margin-top: calc(var(--header-h) + 26px); }

/* Spaziatura fra titolo e paragrafo anche fuori da .section-head */
h2 + p,
h2 + .lede { margin-top: 18px; }

/* Il badge circolare deve respirare */
.badge-round span span { display: block; }
.badge-round { padding: 16px 10px; }


/* Convenzioni: percentuale + testo su due colonne pulite */
.conv-list li { align-items: flex-start; line-height: 1.45; }
.conv-list .conv-t { flex: 1; }
.conv-list em { font-style: italic; color: var(--ink-mute); }
.conv-pct { margin-top: 1px; }

/* Le icone dentro i chip non devono essere compresse */
.chip svg { flex: none; }


/* Etichetta + valore sempre su righe separate nelle card composte */
.rev-who > span { display: block; }
.rev-who > span > span { display: block; }
.trust-item div span { display: block; }


/* Le iniziali del recensore devono restare leggibili (vince su .rev-who span) */
.rev-who .rev-init { color: var(--petrol); font-weight: 700; font-size: 14px; }


/* ---------- Colonna contatti: modulo + rassicurazione telefonica ---------- */
.contact-main { display: grid; gap: 18px; align-content: start; }

.reassure {
  display: flex;
  gap: 18px;
  padding: 26px 28px;
  background: var(--sage);
  border: 1px solid var(--sage-dk);
  border-radius: var(--r-l);
}
.reassure-ico {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--petrol);
  color: #fff;
  display: grid;
  place-items: center;
}
.reassure-ico svg { width: 21px; height: 21px; }
.reassure h3 { font-size: 1.14rem; margin-bottom: 8px; }
.reassure p { font-size: 14.8px; line-height: 1.6; color: var(--petrol-dk); opacity: .85; }
.reassure-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px 22px;
  flex-wrap: wrap;
}

@media (max-width: 560px) {
  .reassure { flex-direction: column; gap: 14px; }
}


/* ---------- Rifiniture mobile ---------- */
@media (max-width: 560px) {
  /* CTA a piena larghezza: più facili da centrare col pollice */
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  /* Un indicatore di fiducia per riga, così i titoli non si spezzano */
  .hero-trust { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .trust-item { flex: initial; }

  /* Le card flottanti restano dentro la foto */
  .float-card--rating { top: 16px; left: 8px; }
  .float-card--hours { bottom: 16px; right: 8px; }
}


/* ---------- Nota privacy in footer ---------- */
.footer-note {
  padding-top: 26px;
  margin-top: 4px;
  max-width: 78ch;
}
.footer-note p { font-size: 13.2px; line-height: 1.65; color: rgba(255, 255, 255, .5); }
.footer-note em { display: block; margin-top: 8px; color: rgba(255, 255, 255, .38); font-style: italic; }


/* ---------- Header sui telefoni piccoli ----------
   Il blocco brand con sottotitolo su una riga imponeva una larghezza minima
   di circa 375px all'header: sotto quella soglia i browser mobile allargano
   il viewport di layout e l'intera pagina scorre in orizzontale.            */
@media (max-width: 430px) {
  .header .wrap { gap: 10px; }
  .header-cta { gap: 6px; }

  .brand { min-width: 0; gap: 10px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 17px; }
  .brand-text { min-width: 0; }

  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .brand-mark svg { width: 21px; height: 21px; }

  .header-phone { padding: 10px; }
  .burger { width: 42px; height: 42px; border-radius: 11px; }
}

/* Ultima rete di sicurezza: il nome non deve mai forzare la larghezza */
.brand-name { overflow: hidden; text-overflow: ellipsis; }

/* Iniziali del recensore: più contrasto sul cerchio chiaro */
.rev-who .rev-init { background: #d3e3d8; color: var(--petrol-dk); }


/* I contenuti in griglia devono poter rimpicciolirsi sotto la loro larghezza minima */
.split > *,
.contact-grid > *,
.rev-layout > *,
.price-layout > * { min-width: 0; }

/* Sui telefoni le etichette lunghe dei pulsanti possono andare a capo:
   il nowrap serve solo a tenere l'header su una riga, dove i pulsanti
   lunghi sono già nascosti.                                             */
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; }
  .header-phone { white-space: nowrap; }
}


/* Indirizzi email e URL lunghi non devono imporre una larghezza minima:
   'anywhere' (a differenza di 'break-word') riduce anche la min-content width. */
.cline .v,
.footer li,
.footer a,
.form-msg { overflow-wrap: anywhere; }
