@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrainsmono-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #2b211c;
  --heading: #68371e;
  --brown: #66361c;
  --orange: #f3670c;
  --green: #176437;
  --paper: #fdfbf8;
  --peach: #ffbc8c;
  --placeholder: #d4d4d4;
  --font: "Outfit", Arial, Helvetica, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #007aa6; outline-offset: 3px; }
img, svg { display: block; }
img { max-width: 100%; }
h1, h2, h3, h4, h5, h6, p, ul { margin: 0; }
address { font-style: normal; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1em; height: 1em; flex: none; }
.canvas { container-type: inline-size; }
.site-header, main, .site-footer { --u: calc(min(100cqw, 1440px) / 933); --g: max(0px, (100cqw - 1440px) / 2); }
/* Titoli: anche con il tag cambiato dall'editor delle località resta l'aspetto del tag del modello (dloc-look-*) */
:where(h1, h2, h3, h4):where(:not(.dloc-swapped)), :where(.dloc-look-h1, .dloc-look-h2, .dloc-look-h3, .dloc-look-h4) { color: var(--heading); font-weight: 600; }

/* Scala tipografica unica: il tag dà la struttura, la classe l'aspetto.
   .h1–.h4 valgono anche su div/span quando la regola dei titoli non permette il tag. */
.h1, .h2, .h3, .h4 { color: var(--heading); font-weight: 600; }
.h1 { font-size: calc(33 * var(--u)); line-height: .985; letter-spacing: -0.015em; }
.h2 { font-size: calc(28 * var(--u)); line-height: 1.02; letter-spacing: -0.015em; }
.h3 { font-size: calc(19.5 * var(--u)); line-height: 1.02; letter-spacing: -0.015em; }
.h4 { font-size: max(15px, calc(13.5 * var(--u))); line-height: 1.2; letter-spacing: 0; }
.p { font-size: max(14px, calc(12.5 * var(--u))); line-height: 1.5; }
.p--small { font-size: max(12px, calc(10.35 * var(--u))); line-height: max(16px, calc(12.8 * var(--u))); }
.media-box { background: var(--placeholder); }
.photo-placeholder { display: grid; place-items: center; overflow: hidden; color: #6f6f6f; text-align: center; }
.photo-placeholder span { padding: 0 6%; font-family: var(--mono); font-weight: 500; font-size: calc(8 * var(--u)); line-height: 1.3; overflow-wrap: normal; }
.hero-media span, .why-media span { font-size: calc(11 * var(--u)); }
.hero-media span { padding-left: 22%; margin-top: calc(140 * var(--u)); }
.why-media span { padding-left: 14%; }

/* Foto del cliente e badge col nome del cane */
.photo-frame { overflow: hidden; background: none; }
.photo-frame img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.dog-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: calc(6 * var(--u));
  padding: calc(6 * var(--u)) calc(14 * var(--u)) calc(6 * var(--u)) calc(10 * var(--u));
  border: 1px solid #e5d5c8;
  border-radius: 100px;
  background: #fffdfb;
  box-shadow: 0 calc(10 * var(--u)) calc(24 * var(--u)) #522b1726;
  color: var(--brown);
  font-size: max(12px, calc(11.6 * var(--u)));
  font-weight: 600;
  line-height: 1.1;
}
.dog-badge-icon { flex: none; width: calc(15 * var(--u)); height: calc(14 * var(--u)); color: var(--orange); }
.dog-badge--hero-media { right: calc(40 * var(--u)); bottom: calc(68 * var(--u)); }
.dog-badge--why-media { right: calc(300 * var(--u)); top: calc(216 * var(--u)); }
.admin-note { margin: calc(12 * var(--u)) auto; padding: 8px 16px; max-width: 760px; border: 1px dashed #c6997c; border-radius: 10px; background: #fff; color: var(--brown); font-size: 14px; }
.review-widget { padding: 0 calc(48 * var(--u) + var(--g)) calc(20 * var(--u)) calc(48 * var(--u) + var(--g)); }

/* Spaziatura tra le sezioni */
:root { --section-gap: 64px; }
main > section + section, .site-footer { margin-top: var(--section-gap); }

/* Testata */
/* Testata fissa in alto: la barra dei contatti scorre via, il menù resta (altezza della barra misurata in js/menu.js). */
:root { --nav-h: calc(min(100vw, 1440px) / 933 * 72); scroll-padding-top: calc(var(--nav-h) + var(--wp-admin--admin-bar--height, 0px) + 12px); }
.admin-bar { --admin-h: 32px; }
.site-header { position: sticky; top: calc(var(--admin-h, 0px) - var(--strip-h, calc(27 * var(--u)))); z-index: 20; }
.site-header .navigation { transition: box-shadow .2s ease; }
.site-header.is-stuck .navigation { box-shadow: 0 10px 24px -14px #522b1759; }
.contact-strip { background: linear-gradient(#6a381c, #603017); color: #fff; }
.contact-strip-inner {
  height: calc(27 * var(--u));
  padding-inline: calc(48 * var(--u) + var(--g));
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: calc(20 * var(--u));
  font-size: max(12px, calc(10.15 * var(--u)));
  line-height: 1;
}
.contact-strip a { display: inline-flex; align-items: center; gap: calc(8 * var(--u)); white-space: nowrap; }
.contact-strip a + a { border-left: 1px solid #c6997c; padding-left: calc(20 * var(--u)); }
.contact-strip .icon { font-size: calc(15 * var(--u)); }
.navigation { position: relative; height: calc(72 * var(--u)); background: #fefefe; }
.brand { position: absolute; left: calc(58 * var(--u) + var(--g)); top: calc(4 * var(--u)); width: calc(92 * var(--u)); }
.brand img { width: 100%; height: auto; }
.site-nav {
  position: absolute;
  inset: 0 calc(64 * var(--u) + var(--g)) 0 calc(220 * var(--u) + var(--g));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(12 * var(--u));
  font-size: max(12px, calc(10.15 * var(--u)));
  font-weight: 600;
  text-transform: none;
}
.site-nav .menu, .site-nav .mega ul { margin: 0; padding: 0; list-style: none; }
.site-nav .menu { display: flex; align-items: center; justify-content: space-between; gap: calc(12 * var(--u)); width: 100%; height: 100%; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; height: 100%; }
.site-nav a, .sub-toggle { position: relative; white-space: nowrap; }
.sub-toggle { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.site-nav .menu > .is-current > a, .site-nav a:hover, .sub-toggle:hover, .sub-toggle[aria-expanded="true"], .is-current-parent > .sub-toggle { color: #dc5700; }
.site-nav .menu > .has-mega { position: static; }
/* Pannelli del menù (mega menù): si aprono al passaggio del mouse o al clic, vedi assets/js/menu.js */
.mega {
  position: absolute;
  top: 100%;
  right: calc(-64 * var(--u) - var(--g));
  left: calc(-220 * var(--u) - var(--g));
  z-index: 5;
  display: none;
  padding: calc(24 * var(--u)) calc(64 * var(--u) + var(--g)) calc(28 * var(--u)) calc(58 * var(--u) + var(--g));
  border-top: 1px solid #f1e5da;
  background: #fff;
  box-shadow: 0 calc(18 * var(--u)) calc(30 * var(--u)) calc(-18 * var(--u)) #522b1766;
  font-size: max(13px, calc(11.2 * var(--u)));
  font-weight: 500;
  cursor: default;
  max-height: calc(100vh - 72 * var(--u) - var(--admin-h, 0px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.has-mega.is-open > .mega { display: block; }
.mega-inner { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)) minmax(0, 1.15fr); gap: calc(28 * var(--u)); }
.mega-title { margin-bottom: calc(8 * var(--u)); color: #7a6558; font-size: max(12px, calc(10.15 * var(--u))); font-weight: 600; }
.mega-col ul { display: grid; gap: calc(2 * var(--u)); }
.site-nav .mega-col a { display: block; margin-left: calc(-8 * var(--u)); padding: calc(5 * var(--u)) calc(8 * var(--u)); border-radius: calc(8 * var(--u)); line-height: 1.3; white-space: normal; }
.site-nav .mega-col a:hover, .site-nav .mega-col a.is-current { background: #fdf1e7; color: #b84800; }
.site-nav .mega-title a { margin: 0; padding: 0; background: none; color: inherit; }
.mega-sub a { padding-left: calc(20 * var(--u)) !important; font-weight: 400; }
.mega-card { display: grid; align-content: start; justify-items: start; gap: calc(10 * var(--u)); padding: calc(18 * var(--u)); border-radius: calc(20 * var(--u)); background: linear-gradient(133deg, #fdf8f4 0%, #fbefe4 100%); }
.mega-card-title { color: var(--heading); font-size: max(15px, calc(13.5 * var(--u))); font-weight: 600; line-height: 1.2; }
.mega-card-text { color: #6b5548; font-size: max(13px, calc(10.8 * var(--u))); font-weight: 400; line-height: 1.45; }
.site-nav .mega-card .button { min-height: calc(34 * var(--u)); margin-top: calc(2 * var(--u)); padding-inline: calc(14 * var(--u)); gap: calc(8 * var(--u)); font-size: max(13px, calc(11.2 * var(--u))); }
.site-nav .mega-card .button:hover { color: #fff; }
.mega-card .button .icon { font-size: calc(16 * var(--u)); }
.site-nav .mega-card-alt { display: inline; color: #b84800; font-weight: 600; line-height: 1.35; white-space: normal; }
.mega-card-alt::after {
  display: inline-block;
  margin-left: 6px;
  vertical-align: -.25em;
  width: 1.2em;
  height: 1.2em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 12h16m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 12h16m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
}
.site-nav .mega-card-alt:hover { color: #b84800; text-decoration: underline; text-underline-offset: 2px; }
.site-nav .menu > .is-current > a::after, .site-nav .menu > li > .sub-toggle[aria-expanded="true"]::after, .site-nav .menu > .is-current-parent > .sub-toggle::after {
  position: absolute;
  right: 0;
  bottom: calc(-5 * var(--u));
  left: 0;
  height: calc(1.5 * var(--u));
  background: currentColor;
  content: "";
}
.caret {
  display: inline-block;
  margin: 0 0 calc(2 * var(--u)) calc(4 * var(--u));
  border: calc(3 * var(--u)) solid transparent;
  border-bottom: 0;
  border-top-color: currentColor;
}
.caret { transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .caret { transform: rotate(180deg); }
.menu-toggle { display: none; }

/* Apertura */
.hero {
  position: relative;
  min-height: calc(350 * var(--u));
  overflow: hidden;
  background: linear-gradient(165deg, #fcf4ed, #fdfaf6 76%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding-top: calc(24 * var(--u));
  margin-left: calc(72 * var(--u) + var(--g));
}
.hero .hero-eyebrow { margin: 0 0 calc(8 * var(--u)); color: #dc5700; font-size: max(12px, calc(12 * var(--u))); font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.hero .hero-text { margin-top: calc(16 * var(--u)); }
.hero-actions { display: flex; gap: calc(12 * var(--u)); margin-top: calc(16 * var(--u)); }
.button {
  width: fit-content;
  min-height: calc(28 * var(--u));
  padding: calc(4 * var(--u)) calc(12 * var(--u));
  border: 1px solid transparent;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(4 * var(--u));
  background: linear-gradient(110deg, #ef5e0a, #f66b0c);
  color: #fff;
  font-size: max(12px, calc(10.8 * var(--u)));
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}
.button .icon { font-size: calc(16 * var(--u)); }
.button:hover { background: #d94e00; }
.hero-actions .button {
  min-height: calc(34 * var(--u));
  padding-inline: calc(16 * var(--u));
  gap: calc(8 * var(--u));
  font-size: max(12px, calc(11.6 * var(--u)));
}
.hero-actions .phone-button { min-width: calc(185 * var(--u)); }
.hero-actions .whatsapp-button {
  min-width: calc(172 * var(--u));
  padding-inline: calc(12 * var(--u));
  border-color: #397f59;
  background: #fdfcfa;
  color: #075c2b;
}
.hero-actions .whatsapp-button:hover { background: #e9f6ed; }
.hero-actions .icon { font-size: calc(19 * var(--u)); }
.hero-media { position: absolute; top: 0; right: 0; width: calc(448 * var(--u)); height: calc(640 * var(--u)); place-items: start center; clip-path: url(#hero-cut); }
.hero-doodle { position: absolute; top: calc(180 * var(--u)); left: calc(428 * var(--u) + var(--g)); width: calc(128 * var(--u)); color: var(--peach); }
.hero-wave { position: absolute; inset: auto 0 -1px; width: 100%; height: calc(56 * var(--u) + 1px); pointer-events: none; }

/* Servizi */
.services {
  min-height: calc(370 * var(--u));
  padding: calc(8 * var(--u)) calc(28 * var(--u) + var(--g)) calc(16 * var(--u));
  display: grid;
  grid-template-columns: minmax(0, 435fr) minmax(0, 426fr);
  grid-auto-rows: minmax(calc(164 * var(--u)), auto);
  gap: calc(16 * var(--u)) calc(16 * var(--u));
  padding-right: calc(32 * var(--u) + var(--g));
  background: linear-gradient(#fdfcf9 0%, #fffdfb 66%, #fdfaf6 100%);
}
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: calc(198 * var(--u)) minmax(0, 1fr);
  gap: calc(20 * var(--u));
  padding: calc(12 * var(--u)) calc(4 * var(--u)) calc(12 * var(--u)) calc(8 * var(--u));
  border-radius: calc(25 * var(--u));
  background: linear-gradient(133deg, #fdfcf9 14%, #fdf8f4 48%, #f9efe5 100%);
}
.service-media {
  width: 100%;
  height: calc(100% - 2 * var(--u));
  min-height: 0;
  border-radius: calc(22 * var(--u));
  object-fit: cover;
}
.service-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: calc(8 * var(--u)) 0 calc(4 * var(--u)); }
.service-copy p {
  margin-top: calc(8 * var(--u));
  margin-right: calc(-3 * var(--u));
}
.service-copy .button {
  margin-top: auto;
  min-width: calc(161 * var(--u));
  padding-inline: calc(8 * var(--u));
  justify-content: space-between;
  gap: calc(3 * var(--u));
  font-size: max(12px, calc(10.1 * var(--u)));
}
.service-copy .button .icon { font-size: calc(15 * var(--u)); }
:where(#pensione-gatti) .service-copy .button { min-width: calc(172 * var(--u)); }
#allevamento .service-copy { padding-top: calc(4 * var(--u)); }
.service-copy p { margin-bottom: calc(12 * var(--u)); }
:where(#allevamento) .service-copy .button { min-width: calc(167 * var(--u)); }
:where(#toelettatura) .service-copy .button { min-width: calc(158 * var(--u)); }

/* Vantaggi */
.why {
  position: relative;
  min-height: calc(273 * var(--u));
  overflow: hidden;
  background: linear-gradient(#fcf7f2, #fefcf8);
}
.why-wave { position: absolute; top: 0; left: 0; width: 100%; height: calc(58 * var(--u)); }
.why-copy { position: relative; z-index: 1; padding-top: calc(40 * var(--u)); margin-left: calc(68 * var(--u) + var(--g)); }
.rays { width: calc(37 * var(--u)); height: calc(21 * var(--u)); color: var(--orange); }
.rays-title { display: flex; flex-direction: column; align-items: center; width: fit-content; max-width: 100%; }
.rays-title > .h2 { align-self: stretch; }
.why .h2 { margin-top: calc(2 * var(--u)); }
.why ul {
  list-style: none;
  padding: 0;
  margin-top: calc(16 * var(--u));
}
.why li { display: flex; align-items: flex-start; gap: calc(8 * var(--u)); margin-bottom: calc(4 * var(--u)); }
.why li .icon { font-size: calc(16 * var(--u)); color: var(--orange); }
.why-media { position: absolute; top: calc(55 * var(--u)); right: 0; width: calc(519 * var(--u)); height: calc(218 * var(--u)); clip-path: url(#sleep-cut); }
.why-doodle { position: absolute; top: calc(45 * var(--u)); right: 0; width: calc(153 * var(--u)); color: var(--peach); pointer-events: none; }

/* Recensioni */
.reviews { position: relative; min-height: calc(207 * var(--u)); background: linear-gradient(#fcf5ee, #fcf8f4); }
.reviews-wave { position: absolute; top: calc(-16 * var(--u)); left: 0; width: 100%; height: calc(52 * var(--u)); pointer-events: none; }
.reviews-heading { position: relative; height: calc(73 * var(--u)); }
.reviews-title { position: absolute; left: calc(264 * var(--u) + var(--g)); top: calc(7 * var(--u)); }
.reviews-title .h2 { margin-top: calc(4 * var(--u)); }
.google-review {
  position: absolute;
  left: calc(630 * var(--u) + var(--g));
  top: calc(21 * var(--u));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--u));
  font-size: max(12px, calc(10.2 * var(--u)));
  line-height: 1.2;
  white-space: nowrap;
}
.google-icon { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(20 * var(--u));
  padding: 0 calc(48 * var(--u) + var(--g)) 0 calc(48 * var(--u) + var(--g));
}
.review-card {
  min-height: calc(112 * var(--u));
  padding: calc(8 * var(--u)) calc(8 * var(--u)) calc(2 * var(--u)) calc(20 * var(--u));
  border-radius: calc(16 * var(--u));
  background: #fff;
  box-shadow: 0 calc(4 * var(--u)) calc(13 * var(--u)) #af713007;
}
.review-person { display: flex; align-items: center; gap: calc(12 * var(--u)); }
.avatar {
  display: grid;
  place-items: center;
  width: calc(35 * var(--u));
  height: calc(34 * var(--u));
  flex: none;
  border-radius: 50%;
  background: #a69c76;
  color: #fff;
  font-size: calc(17 * var(--u));
}
.review-card:nth-child(2) .avatar { background: #c3987c; }
.review-card p { margin-top: calc(2 * var(--u)); font-size: max(12px, calc(11.1 * var(--u))); line-height: max(16px, calc(13.3 * var(--u))); }

/* Sede */
.location { position: relative; min-height: calc(227 * var(--u)); background: #fdf8f3; }
.location-wave { position: absolute; top: 0; left: 0; width: 100%; height: calc(65 * var(--u)); }
.location-photo {
  position: absolute;
  left: calc(60 * var(--u) + var(--g));
  top: calc(30 * var(--u));
  width: calc(356 * var(--u));
  height: calc(152 * var(--u));
  border-radius: calc(34 * var(--u));
  object-fit: cover;
}
.location-copy { position: relative; margin-left: calc(496 * var(--u) + var(--g)); padding-top: calc(12 * var(--u)); width: fit-content; z-index: 1; }
.location-copy .h2 {
  margin-top: calc(2 * var(--u));
  margin-bottom: calc(8 * var(--u));
}
.location-copy address, .location-copy p {
  display: flex;
  align-items: flex-start;
  gap: calc(12 * var(--u));
}
.location-copy address + p { margin-top: calc(8 * var(--u)); }
.location-copy p { margin-top: calc(8 * var(--u)); }
.location-copy .icon { margin-top: calc(3 * var(--u)); font-size: calc(18 * var(--u)); color: var(--orange); }
.location-copy .button { min-width: calc(149 * var(--u)); min-height: calc(31 * var(--u)); margin-top: calc(12 * var(--u)); gap: calc(8 * var(--u)); font-size: calc(12 * var(--u)); }
.location-copy .button .icon { margin-top: 0; color: inherit; }
.location-doodle { position: absolute; right: calc(61 * var(--u) + var(--g)); bottom: calc(14 * var(--u)); width: calc(101 * var(--u)); color: #ffb481; }

/* Piede */
.site-footer { position: relative; min-height: calc(239 * var(--u)); background: linear-gradient(var(--brown), #6b391e); color: #fff9ef; }
.footer-wave { position: absolute; top: calc(-25 * var(--u)); left: 0; width: 100%; height: calc(36 * var(--u)); color: var(--brown); }
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: calc(195 * var(--u)) calc(238 * var(--u)) calc(215 * var(--u)) 1fr;
  align-items: start;
  padding: calc(56 * var(--u)) calc(48 * var(--u) + var(--g)) 0 calc(48 * var(--u) + var(--g));
  font-size: max(12px, calc(10.1 * var(--u)));
  line-height: max(16px, calc(13 * var(--u)));
}
.footer-brand { width: calc(140 * var(--u)); margin-top: calc(-12 * var(--u)); }
.footer-brand img { width: 100%; height: auto; }
.footer-contact, .footer-hours, .footer-social { min-height: calc(97 * var(--u)); border-left: 1px solid #c2967b; }
.footer-contact { padding-left: calc(28 * var(--u)); }
.footer-hours { padding-left: calc(24 * var(--u)); }
.footer-detail { display: flex; align-items: flex-start; gap: calc(12 * var(--u)); }
.footer-contact .footer-detail + .footer-detail { margin-top: calc(8 * var(--u)); }
.footer-detail .icon { font-size: calc(16 * var(--u)); }
.footer-hours strong { display: block; margin-top: calc(8 * var(--u)); line-height: 1; }
.footer-social { padding-left: calc(16 * var(--u)); }
.social-icons { display: flex; gap: calc(12 * var(--u)); padding-top: calc(4 * var(--u)); padding-left: calc(16 * var(--u)); }
.social-icons > * {
  display: grid;
  place-items: center;
  width: calc(27 * var(--u));
  height: calc(27 * var(--u));
  flex: none;
  border-radius: 50%;
  background: #fff9f0;
  color: var(--brown);
  font-size: calc(19 * var(--u));
}
.footer-doodle { width: calc(172 * var(--u)); margin-top: calc(8 * var(--u)); color: #ffc081; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: calc(16 * var(--u));
  margin: calc(48 * var(--u)) calc(28 * var(--u) + var(--g)) 0;
  padding: calc(8 * var(--u)) calc(20 * var(--u)) calc(8 * var(--u));
  border-top: 1px solid #a36c4e;
  font-size: max(12px, calc(9.45 * var(--u)));
  line-height: 1.2;
}

@media (min-width: 761px) and (max-width: 1099px) {
  .service-copy br { display: none; }
}

@media (max-width: 760px) {
  :root { --section-gap: 40px; }
  .site-header, main, .site-footer { --u: 1px; --g: 0px; }
  .desktop-break { display: none; }
  .contact-strip-inner { min-height: 31px; height: auto; flex-wrap: wrap; padding: 4px 12px; gap: 4px 8px; font-size: 12px; }
  .contact-strip a { gap: 4px; }
  .contact-strip a + a { padding-left: 8px; }
  .contact-strip .icon { font-size: 13px; }
  :root { --nav-h: 65px; }
  .navigation { height: 65px; }
  .brand { left: 16px; top: 4px; width: 84px; }
  .menu-toggle {
    position: absolute;
    right: 19px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    height: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid #e5d5c8;
    border-radius: 9px;
    background: #fff;
    color: var(--brown);
    font: 600 13px var(--font);
    cursor: pointer;
  }
  .menu-lines { width: 15px; height: 11px; border-block: 1.5px solid; }
  .menu-lines::after { display: block; margin-top: 3px; border-top: 1.5px solid; content: ""; }
  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    inset: 100% 0 auto;
    padding: 8px 24px 16px;
    box-shadow: 0 11px 16px #522b1722;
    background: #fff;
    font-size: 12px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav { max-height: calc(100vh - 65px - var(--admin-h, 0px)); max-height: calc(100dvh - 65px - var(--admin-h, 0px)); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav .menu { display: block; height: auto; }
  .site-nav .menu > li { display: block; height: auto; }
  .site-nav a, .sub-toggle { display: flex; align-items: center; width: 100%; padding: 8px 0; text-align: left; }
  .site-nav .menu > .is-current > a::after, .site-nav .menu > li > .sub-toggle::after { display: none !important; }
  .sub-toggle { justify-content: space-between; }
  .sub-toggle .caret { margin: 0 4px 0 0; border-width: 4px 4px 0; }
  .mega { position: static; padding: 4px 0 16px 12px; border: 0; box-shadow: none; font-size: 14px; }
  .mega-inner { grid-template-columns: 1fr; gap: 16px; }
  .mega-title { margin-bottom: 4px; font-size: 12px; }
  .site-nav .mega-col a { width: auto; margin-left: -8px; padding: 7px 8px; }
  .mega-card { gap: 8px; padding: 16px; border-radius: 16px; }
  .mega-card-title { font-size: 16px; }
  .mega-card-text { font-size: 14px; }
  .site-nav .mega-card .button { width: fit-content; min-height: 38px; padding: 8px 14px; gap: 8px; font-size: 14px; }
  .mega-card .button .icon { font-size: 16px; }
  .site-nav .mega-card-alt { display: inline; width: auto; padding: 4px 0; }
  .hero h1 br, .hero-text br, .service-copy br, .why li br, .location-copy br, .review-card br { display: none; }
  .photo-placeholder span, .hero-media span, .why-media span { padding-left: 6%; font-size: 11px; }
  .review-widget { padding: 0; }
  .hero { min-height: 0; padding: 32px 0 20px; }
  .hero-copy { margin-inline: 24px; padding: 0; width: auto; }
  .hero .hero-eyebrow { font-size: 13px; margin-bottom: 8px; }
  .hero h1:not(.dloc-swapped), .hero .dloc-look-h1 { max-width: 18em; }
  .hero .hero-text { max-width: 52ch; margin-top: 16px; }
  .hero-actions { flex-wrap: wrap; gap: 8px; margin-top: 16px; }
  .hero-actions .button { min-height: 37px; min-width: 0; padding-inline: 12px; font-size: 12px; gap: 4px; }
  .hero-actions .icon { font-size: 15px; }
  .hero-media { width: 87%; height: auto; aspect-ratio: 448 / 640; position: relative; margin: 16px 0 -58% auto; }
  .hero-media span { margin-top: 26vw; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { order: -1; }
  .hero-doodle { top: auto; bottom: 40px; left: 4px; width: min(24%, 128px); }
  .hero-wave { height: 38px; }
  .services { padding: 4px 16px 24px; min-height: 0; grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .service-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; padding: 8px; border-radius: 21px; }
  .service-media { height: 100%; min-height: 140px; max-height: 230px; border-radius: 17px; }
  .service-copy, #allevamento .service-copy { display: flex; flex-direction: column; padding-block: 4px; }
  .service-copy p { margin: 8px 0 8px; }
  .services .service-card[id] .button { position: static; margin-top: auto; min-width: 0; white-space: normal; justify-content: space-between; }
  .why { min-height: 0; padding-bottom: 8px; display: flex; flex-direction: column; }
  .why-copy { order: -1; margin: 0 20px; padding-top: 28px; }
  .why li { margin-bottom: 8px; }
  .why-media { position: relative; inset: auto; width: 90%; height: auto; aspect-ratio: 519 / 218; margin: 8px 0 0 auto; }
  .h1 { font-size: clamp(28px, 6.5vw, 36px); }
  .h2 { font-size: clamp(24px, 6.4vw, 30px); }
  .h3 { font-size: clamp(18px, 4.6vw, 22px); }
  .h4 { font-size: 16px; }
  .p { font-size: 15px; }
  .p--small { font-size: 12px; line-height: 1.35; }
  .dog-badge { gap: 6px; padding: 6px 14px 6px 10px; font-size: 13px; box-shadow: 0 11px 16px #522b1722; }
  .dog-badge-icon { width: 15px; height: 14px; }
  .dog-badge--hero-media { right: 20px; bottom: 44px; }
  .dog-badge--why-media { top: auto; right: auto; left: 36%; bottom: calc(4px + 2vw); }
  .why-doodle { top: auto; bottom: 16vw; right: 9px; width: 24%; }
  .reviews { min-height: 0; padding: 16px 16px 28px; }
  .reviews-heading { display: flex; flex-direction: column; align-items: center; gap: 12px; height: auto; margin-bottom: 16px; text-align: center; }
  .reviews-title, .google-review { position: relative; inset: auto; }
  .reviews-title .h2 { margin-top: 4px; }
  .google-review { text-align: left; }
  .review-grid { grid-template-columns: 1fr; gap: 8px; padding: 0; }
  .review-card { min-height: 0; padding: 12px 16px; }
  .review-card p { font-size: 13px; line-height: 1.4; }
  .location { display: grid; gap: 16px; padding: 24px 20px 48px; }
  .location-photo { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 356 / 152; border-radius: 23px; }
  .location-copy { margin: 0; padding: 0; max-width: min(100%, 350px); }
  .location-doodle { right: 12px; bottom: 15px; width: 63px; opacity: .48; }
  .site-footer { min-height: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; padding: 24px 16px 0; font-size: 12px; line-height: 1.35; }
  .footer-brand { margin: 0; width: min(100%, 167px); }
  .footer-contact, .footer-hours, .footer-social { border: 0; padding: 0; min-height: 0; }
  .footer-detail { gap: 4px; }
  .footer-detail span { overflow-wrap: normal; }
  .footer-contact a.footer-detail span { min-width: 0; overflow-wrap: anywhere; }
  .footer-detail .icon { font-size: 13px; }
  .social-icons { gap: 8px; padding: 0; }
  .social-icons > * { width: 25px; height: 25px; font-size: 17px; }
  .footer-doodle { width: min(100%, 172px); }
  .footer-bottom { flex-direction: column; gap: 4px; margin: 24px 16px 0; padding: 8px 0 16px; font-size: 12px; }
}

@media (max-width: 350px) {
  .brand { left: 10px; }
  .service-card { gap: 8px; }
  .service-copy .button { padding-inline: 8px; }
  .contact-strip-inner { padding-inline: 8px; }
  .contact-strip a + a { padding-left: 4px; }
}

/* Pagine interne */
.page-hero { min-height: calc(350 * var(--u)); padding-bottom: calc(72 * var(--u)); }
.page-hero .hero-copy { max-width: calc(400 * var(--u)); }
.page-hero .hero-text { margin-top: calc(16 * var(--u)); }
.page-hero .hero-text p { margin: 0; font-size: inherit; line-height: inherit; }
.page-hero .hero-text p + p { margin-top: calc(8 * var(--u)); }
.page-hero .hero-text ul, .page-hero .hero-text ol, .page-hero .hero-text ul + p, .page-hero .hero-text ol + p { margin: calc(8 * var(--u)) 0 0; }
.page-hero .hero-text ul:first-child, .page-hero .hero-text ol:first-child { margin-top: 0; }
.page-hero .hero-text a, .page-content a:not(.button), .form-consent a { color: #b84800; text-decoration: underline; text-underline-offset: 2px; }
.page-hero .hero-actions { flex-wrap: wrap; }
.page-hero .hero-actions { margin-right: calc(-16 * var(--u)); }
.page-hero .hero-actions .button { min-width: 0; }
.hero-link { align-self: center; color: #b84800; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hero-link:hover { color: #dc5700; }
.button--secondary { border-color: #e5d5c8; background: #fff; color: var(--brown); }
.button--secondary:hover { background: #fcf4ed; }
.breadcrumb { margin-bottom: calc(12 * var(--u)); font-size: max(12px, calc(10.15 * var(--u))); color: #7a6558; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { margin-right: 8px; content: "›"; }
.breadcrumb a:hover { color: #dc5700; }
.breadcrumb [aria-current] { color: var(--ink); }

.page-body { padding: 0 calc(72 * var(--u) + var(--g)); }
.page-content { max-width: calc(600 * var(--u)); font-size: max(14px, calc(12.5 * var(--u))); line-height: 1.5; }
.page-content > * + * { margin-top: calc(12 * var(--u)); }
.page-content .h2 { margin-top: calc(40 * var(--u)); scroll-margin-top: 24px; }
.page-content > .h2:first-child, .dogue-content > .h2:first-child { margin-top: 0; }
.page-content .h3 { margin-top: calc(24 * var(--u)); scroll-margin-top: 24px; }
.page-content .h4 { margin-top: calc(16 * var(--u)); }
.page-content .h2 + *, .page-content .h3 + * { margin-top: calc(12 * var(--u)); }
/* Elenchi: testo delle pagine, testo di apertura (.hero-text) ed elenchi scritti nell'editor delle località (.dloc-list) */
.page-content ul, .hero-text ul, ul.dloc-list { padding: 0; list-style: none; }
.page-content li, .hero-text li, .dloc-list > li { position: relative; padding-left: 28px; }
.page-content li + li, .hero-text li + li, .dloc-list > li + li { margin-top: 8px; }
.page-content ul:not(.faq-index ul) > li::before, .hero-text ul > li::before, ul.dloc-list > li::before {
  position: absolute;
  top: .22em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.9 12.2 3.4 3.5 6.8-7.15' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  content: "";
}
.page-button { padding-top: calc(4 * var(--u)); }
.button--arrow::after {
  width: 1.3em;
  height: 1.3em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 12h16m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 12h16m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
}
.page-content .button { min-height: 40px; padding-inline: 16px; gap: 8px; font-size: max(13px, calc(11.6 * var(--u))); text-decoration: none; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(12 * var(--u)); }
.photo-grid .photo-placeholder { aspect-ratio: 4 / 3; border-radius: calc(20 * var(--u)); }
.photo-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-grid figure { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: calc(20 * var(--u)); }
.dog-badge--grid { left: calc(10 * var(--u)); bottom: calc(10 * var(--u)); }
/* Etichetta «Immagine generata con IA» (Reg. UE 2024/1689, art. 50): piccola ma sempre leggibile */
.service-media, .post-media, .dog-media { position: relative; }
.media-box .ai-label span { margin: 0; padding: 0; font-size: inherit; }
.media-box .ai-label-short { display: none; }
.media-box .ai-label {
  position: absolute;
  margin: 0;
  top: calc(12 * var(--u));
  right: calc(12 * var(--u));
  z-index: 2;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(38, 22, 13, .72);
  color: #fff;
  font-size: max(11px, calc(8.6 * var(--u)));
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
  white-space: nowrap;
  pointer-events: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Foto dei gruppi: clic per ingrandire (overlay in js/gallery.js) */
.photo-open { display: block; width: 100%; height: 100%; border-radius: inherit; cursor: zoom-in; }
.photo-open img { transition: transform .35s ease, filter .35s ease; }
.photo-open:hover img { transform: scale(1.035); filter: saturate(1.06); }
.photo-open:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
html.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 64px 88px 24px;
  border: 0;
  background: rgba(38, 22, 13, .94);
  color: #fdf8f3;
  font-family: var(--font);
  overscroll-behavior: contain;
}
.lightbox[open] { display: grid; place-items: center; animation: lightbox-in .2s ease-out; }
.lightbox::backdrop { background: transparent; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; margin: 0; }
.lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 1400px);
  max-height: calc(100vh - 140px);
  max-height: calc(100dvh - 140px);
  border-radius: 18px;
  background: #3b2517;
  box-shadow: 0 24px 60px #0006;
  transition: opacity .25s ease;
}
.lightbox-img.is-loading { opacity: .35; }
.lightbox-caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 16px; max-width: 62ch; font-size: 15px; line-height: 1.4; text-align: center; }
.lightbox-count { color: var(--peach); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fffdfb;
  color: var(--brown);
  box-shadow: 0 8px 20px #0000004d;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.lightbox-btn:hover { background: var(--orange); color: #fff; }
.lightbox-btn:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.lightbox-icon { width: 22px; height: 22px; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev, .lightbox-next { top: 50%; margin-top: -24px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev .lightbox-icon { transform: rotate(180deg); }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next { display: none; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .photo-open img, .lightbox-img, .lightbox-btn { transition: none; }
  .photo-open:hover img { transform: none; }
  .lightbox[open] { animation: none; }
}
.content-placeholder { display: grid; place-items: center; min-height: calc(140 * var(--u)); padding: 16px; border: 1px dashed #c6997c; border-radius: calc(20 * var(--u)); background: #fcf7f2; color: #6f6f6f; text-align: center; }
.content-placeholder span { font-family: var(--mono); font-size: max(11px, calc(9 * var(--u))); }

.faq-index ul { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-index li { padding: 0; }
.faq-index li + li { margin-top: 0; }
.faq-index a { display: inline-block; padding: 8px 16px; border: 1px solid #e5d5c8; border-radius: 100px; background: #fff; color: var(--brown) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.faq-index a:hover { border-color: #dc5700; color: #dc5700 !important; }
.faq-item { border-bottom: 1px solid #2b211c1a; }
.page-content .faq-item { margin-top: 0; }
.page-content .h2 + .faq-item { margin-top: calc(8 * var(--u)); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { flex: none; width: 12px; height: 12px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: translateY(-3px) rotate(45deg); content: ""; }
.faq-item[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq-item summary .h3, .page-content .faq-item summary .h3 { margin: 0; }
.faq-answer { padding: 0 0 16px; }

.page-form { max-width: calc(600 * var(--u)); margin-top: calc(24 * var(--u)); padding: calc(24 * var(--u)); border-radius: calc(24 * var(--u)); background: linear-gradient(133deg, #fdfcf9 14%, #fdf8f4 48%, #f9efe5 100%); scroll-margin-top: 24px; }
.dogue-form { font-size: 15px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-field.is-wide { grid-column: 1 / -1; }
.form-field label, .form-field legend { display: block; margin-bottom: 4px; padding: 0; font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #e0cfc2; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.form-field input:focus, .form-field textarea:focus { border-color: #dc5700; outline: 2px solid #dc570033; outline-offset: 0; }
.form-choices { display: flex; gap: 24px; }
.form-choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
.form-consent { margin-top: 16px; }
.form-consent label { display: flex; align-items: flex-start; gap: 8px; }
.form-consent input { margin-top: 4px; }
.form-submit { margin-top: 16px; }
.form-submit .button { min-height: 40px; padding-inline: 20px; border: 0; font: 600 15px var(--font); cursor: pointer; }
.form-notice { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.form-notice.is-ok { background: #e9f6ed; color: #075c2b; }
.form-notice.is-error { background: #fdeee6; color: #a12a00; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.page-map { max-width: calc(600 * var(--u)); margin-top: calc(24 * var(--u)); overflow: hidden; border-radius: calc(24 * var(--u)); background: var(--placeholder); }
.page-map iframe { display: block; width: 100%; height: calc(320 * var(--u)); min-height: 280px; border: 0; }

.page-cta { padding: 0 calc(72 * var(--u) + var(--g)); }
.page-cta-box { display: flex; flex-wrap: nowrap; align-items: center; gap: calc(16 * var(--u)) calc(24 * var(--u)); max-width: calc(600 * var(--u)); padding: calc(48 * var(--u)) calc(28 * var(--u)) calc(28 * var(--u)); border-radius: calc(24 * var(--u)); background: linear-gradient(133deg, #fdfcf9 14%, #fdf8f4 48%, #f9efe5 100%); }
.page-cta-box .rays-title { position: relative; flex: 0 1 auto; }
.page-cta-box .rays { position: absolute; bottom: calc(100% + 4 * var(--u)); left: 50%; transform: translateX(-50%); }
.page-cta .button { flex: none; min-height: 40px; padding-inline: 16px; gap: 8px; font-size: max(13px, calc(11.6 * var(--u))); }
.page-cta .button .icon { font-size: 18px; }

@media (max-width: 760px) {
  .page-hero { padding-bottom: 20px; }
  .page-hero .hero-copy { max-width: none; }
  .page-hero .hero-actions { margin-right: 0; }
  .page-body, .page-cta { padding-inline: 20px; }
  .page-content { font-size: 15px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-grid > figure:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .photo-grid figure { border-radius: 17px; }
  .dog-badge--grid { left: 8px; bottom: 8px; }
  .media-box .ai-label { top: 10px; right: 10px; margin: 0; padding: 2px 8px; font-size: 11px; }
  .service-media .ai-label { top: 8px; right: 8px; }
  .service-media .ai-label-long { display: none; }
  .service-media .ai-label-short { display: inline; }
  .lightbox { padding: 64px 12px 92px; }
  .lightbox-img { max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); border-radius: 14px; }
  .lightbox-caption { font-size: 14px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 24px; margin-top: 0; }
  .lightbox-prev { left: calc(50% - 64px); }
  .lightbox-next { right: calc(50% - 64px); }
  .form-grid { grid-template-columns: 1fr; }
  .page-form { padding: 20px 16px; }
  .page-cta-box { flex-wrap: wrap; padding: 40px 20px 24px; }
}

/* Passi numerati, link «leggi anche» */
.page-content ol, .hero-text ol, ol.dloc-list { padding: 0; list-style: none; counter-reset: step; }
.page-content ol > li, .hero-text ol > li, ol.dloc-list > li { padding-left: 36px; counter-increment: step; }
.page-content ol > li + li, .hero-text ol > li + li, ol.dloc-list > li + li { margin-top: 12px; }
.page-content ol > li::before, .hero-text ol > li::before, ol.dloc-list > li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #c65200;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  content: counter(step);
}
.page-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.page-more a::after {
  flex: none;
  width: 1.2em;
  height: 1.2em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 12h16m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 12h16m-6-6 6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  content: "";
}
.page-more a:hover { color: #dc5700; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Schede degli articoli (Consigli) */
.post-grid { display: grid; gap: calc(16 * var(--u)); max-width: calc(600 * var(--u)); }
.page-content + .post-grid { margin-top: calc(32 * var(--u)); }
.post-card {
  display: grid;
  grid-template-columns: calc(198 * var(--u)) minmax(0, 1fr);
  gap: calc(20 * var(--u));
  padding: calc(12 * var(--u)) calc(16 * var(--u)) calc(12 * var(--u)) calc(8 * var(--u));
  border-radius: calc(25 * var(--u));
  background: linear-gradient(133deg, #fdfcf9 14%, #fdf8f4 48%, #f9efe5 100%);
}
.post-card-media { display: block; }
.post-media { height: 100%; min-height: calc(150 * var(--u)); border-radius: calc(22 * var(--u)); }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-copy { display: flex; flex-direction: column; align-items: flex-start; padding: calc(8 * var(--u)) 0 calc(4 * var(--u)); }
.post-card-copy .h3 a:hover { color: #dc5700; }
.post-card-copy p { margin: calc(8 * var(--u)) 0 calc(12 * var(--u)); }
.post-card-copy .button { margin-top: auto; min-height: 40px; padding-inline: 16px; gap: 8px; font-size: max(13px, calc(11.6 * var(--u))); }

/* Schede dei riproduttori */
.page-dogs { max-width: calc(600 * var(--u)); }
.page-dogs .h2 { scroll-margin-top: 24px; }
.dog-group + .dog-group, .page-dogs + .page-content { margin-top: calc(40 * var(--u)); }
.dog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(12 * var(--u)); margin: calc(16 * var(--u)) 0 0; padding: 0; list-style: none; }
.dog-card { padding: calc(6 * var(--u)) calc(6 * var(--u)) calc(10 * var(--u)); border-radius: calc(20 * var(--u)); background: linear-gradient(133deg, #fdfcf9 14%, #fdf8f4 48%, #f9efe5 100%); }
.dog-media { aspect-ratio: 1; border-radius: calc(15 * var(--u)); }
.dog-media.photo-placeholder span { padding: 0 8%; font-size: max(10px, calc(7.5 * var(--u))); }
.dog-name { margin-top: calc(8 * var(--u)); padding-inline: calc(4 * var(--u)); color: var(--heading); font-size: max(15px, calc(13.5 * var(--u))); font-weight: 600; line-height: 1.2; }
.dog-facts { margin: calc(4 * var(--u)) 0 0; padding-inline: calc(4 * var(--u)); color: #6b5548; font-size: max(12px, calc(10.35 * var(--u))); line-height: 1.35; }
.dog-facts div { display: flex; flex-wrap: wrap; gap: 0 4px; }
.dog-facts dt { font-weight: 600; }
.dog-facts dt::after { content: ":"; }
.dog-facts dd { margin: 0; }

@media (max-width: 760px) {
  .page-content ol > li { padding-left: 34px; }
  .post-card { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; padding: 8px; border-radius: 21px; }
  .post-media { min-height: 140px; border-radius: 17px; }
  .post-card-copy { padding-block: 4px; }
  .post-card-copy .button { min-height: 37px; padding-inline: 12px; white-space: normal; }
  .dog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dog-card { padding: 6px 6px 10px; border-radius: 18px; }
  .dog-media { border-radius: 13px; }
}

/* Zone servite (Contatti): tabella dei comuni vicini e due schede con i link alle località */
.page-zones { max-width: calc(600 * var(--u)); margin-top: calc(40 * var(--u)); scroll-margin-top: 24px; }
.page-zones > .p { margin-top: calc(12 * var(--u)); }
.zone-table-wrap { margin-top: calc(16 * var(--u)); overflow-x: auto; }
.zone-table { width: 100%; border-collapse: collapse; font-size: max(14px, calc(12.5 * var(--u))); line-height: 1.35; }
.zone-table th, .zone-table td { padding: calc(9 * var(--u)) calc(14 * var(--u)); border-bottom: 1px solid #eee0d4; text-align: left; vertical-align: baseline; }
.zone-table thead th { border-bottom: 0; background: #f9efe5; color: var(--heading); font-weight: 600; }
.zone-table thead th:first-child { border-radius: calc(12 * var(--u)) 0 0 calc(12 * var(--u)); }
.zone-table thead th:last-child { border-radius: 0 calc(12 * var(--u)) calc(12 * var(--u)) 0; }
.zone-table tbody th { font-weight: 400; }
.zone-table td { width: 32%; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zone-note { color: #7a6558; font-size: max(12px, calc(10.35 * var(--u))); }
.zone-table-note { margin-top: calc(8 * var(--u)); color: #7a6558; }
.zone-far { margin-top: calc(28 * var(--u)); }
.zone-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(12 * var(--u)); margin-top: calc(12 * var(--u)); }
.zone-card { display: flex; flex-direction: column; align-items: flex-start; padding: calc(16 * var(--u)) calc(18 * var(--u)) calc(14 * var(--u)); border-radius: calc(20 * var(--u)); background: linear-gradient(133deg, #fdfcf9 14%, #fdf8f4 48%, #f9efe5 100%); }
.zone-card .p--small { margin: calc(6 * var(--u)) 0 calc(12 * var(--u)); }
.zone-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: #b84800; font-size: max(14px, calc(11.6 * var(--u))); font-weight: 600; line-height: 1.3; }
.zone-card-link span { text-decoration: underline; text-underline-offset: 2px; }
.zone-card-link .icon { font-size: 1.15em; }
.zone-card-link:hover { color: #dc5700; }
/* Amministratore: spazio per le matite tra comune e nota e tra testo del link e freccia */
.page-zones--edit .zone-note { margin-left: 30px; }
.page-zones--edit .zone-card-link .icon { margin-left: 28px; }
@media (max-width: 760px) {
  .page-zones { font-size: 15px; }
  .zone-table { font-size: 15px; }
  .zone-table th, .zone-table td { padding: 10px 12px; }
  .zone-table td { width: 36%; }
  .zone-cards { grid-template-columns: 1fr; gap: 10px; }
  .zone-card { padding: 16px; border-radius: 18px; }
}

/* Pagine generiche */
.page-generic { --u: 1px; padding: 48px 24px 80px; max-width: 760px; margin-inline: auto; line-height: 1.6; }
.page-generic .h1 { margin-bottom: 16px; }
.page-generic p + p { margin-top: 12px; }

/* Apertura menù a tendina: keyframes fadeIn di animate.css (assets/css/vendor) */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .site-nav .has-mega.is-open > .mega { animation: fadeIn .16s ease-out both; }
}

/* Barra di amministrazione di WordPress (solo utenti collegati) */
@media (max-width: 782px) { .admin-bar { --admin-h: 46px; } }
@media (max-width: 600px) { .admin-bar { --admin-h: 0px; } }
@media (prefers-reduced-motion: reduce) { .site-header .navigation { transition: none; } }


/* Recensioni Google (Trustindex): allineate alle schede del tema */
.review-widget .ti-widget,
.review-widget .ti-widget .ti-name,
.review-widget .ti-widget .ti-date,
.review-widget .ti-widget .ti-review-content,
.review-widget .ti-widget .ti-read-more { font-family: var(--font) !important; }
.review-widget .ti-widget .ti-review-item > .ti-inner { border-radius: calc(16 * var(--u)) !important; box-shadow: 0 calc(4 * var(--u)) calc(13 * var(--u)) #af713014 !important; }
.review-widget .ti-widget .ti-name { color: var(--heading) !important; font-weight: 600 !important; }
.review-widget .ti-widget .ti-date { color: #8a7466 !important; }
.review-widget .ti-widget .ti-review-content { color: var(--ink) !important; }
.review-widget .ti-widget .ti-read-more, .review-widget .ti-widget .ti-read-more span { color: var(--orange) !important; }
/* Il widget aggiunge 15px di margine e 12px di spazio per le ombre: li togliamo dal padding del tema, così lo stacco con Dove siamo resta quello del disegno */
.review-widget .ti-widget .ti-widget-container { margin-bottom: 0 !important; }
.review-widget { padding-bottom: max(0px, calc(20 * var(--u) - 12px)); }
@media (max-width: 760px) { .review-widget { padding: 0 16px; } .review-widget .ti-widget .ti-review-item > .ti-inner { border-radius: 16px !important; } }


/* Coppia di pulsanti centrati in fondo al contenuto (es. Cuccioli disponibili) */
.page-content .page-button--pair { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(12 * var(--u)); margin-top: calc(32 * var(--u)); }
/* Stessa spaziatura anche nella vista con l'editor in pagina */
.dogue-content > * + * { margin-top: calc(12 * var(--u)); }
.page-content .dogue-content > .page-button--pair { margin-top: calc(32 * var(--u)); }
@media (max-width: 760px) { .page-content .page-button--pair { gap: 10px; margin-top: 24px; } }


/*
 * Pagine delle località (zone servite) — template-parts/localita.php.
 * Stessa struttura delle pagine interne: apertura, colonna di testo, scheda finale.
 */
.localita-content > * + * { margin-top: calc(48 * var(--u)); }
.localita-sections > * + * { margin-top: calc(40 * var(--u)); }
.localita-content .h2 { margin-top: 0; }
.localita-section > * + *, .localita-block > * + * { margin-top: calc(12 * var(--u)); }
.localita-section > .localita-figure { margin-top: calc(16 * var(--u)); }
.localita-figure { margin: 0; aspect-ratio: 3 / 2; border-radius: calc(20 * var(--u)); }
.localita-block > .h2 + .photo-grid, .localita-block > .page-map { margin-top: calc(16 * var(--u)); }
.localita-block > .h2 + .localita-faq-list { margin-top: calc(8 * var(--u)); }
.localita-faq-list > .faq-item { margin-top: 0; }
.photo-grid--1 { grid-template-columns: minmax(0, 1fr); }
.photo-grid--1 figure { aspect-ratio: 16 / 9; }
/* Foto di apertura: la cornice è solo la parte che si vede (nelle altre pagine la cornice 7:10 continua
   sotto l'onda ed è tagliata dall'apertura). Così una foto orizzontale non viene ingrandita per riempire
   una parte nascosta, e spostamento e zoom scelti nell'editor (object-position e scale sulla foto)
   valgono per ciò che si vede. La forma resta quella di #hero-cut: stessa curva, come maschera ancorata
   in alto e larga quanto la cornice (il clip-path in objectBoundingBox si deformerebbe con l'altezza).
   Predefinito: foto allineata in alto, come la metà alta delle foto 7:10 delle altre pagine. */
.localita-page .hero-media {
  bottom: 0;
  height: auto;
  max-height: calc(640 * var(--u));
  clip-path: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='448' height='640' viewBox='0 0 1 1' preserveAspectRatio='none'%3E%3Cpath d='M.15 0H1V1H.03C.03 .62 .055 .5025 .096 .4665C.13 .4364 .16 .4038 .153 .3697C.142 .316 .089 .2994 .059 .2749C.018 .2433 0 .2061 0 .1655C0 .0998 .062 .0441 .15 0Z'/%3E%3C/svg%3E") 0 0 / 100% auto no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='448' height='640' viewBox='0 0 1 1' preserveAspectRatio='none'%3E%3Cpath d='M.15 0H1V1H.03C.03 .62 .055 .5025 .096 .4665C.13 .4364 .16 .4038 .153 .3697C.142 .316 .089 .2994 .059 .2749C.018 .2433 0 .2061 0 .1655C0 .0998 .062 .0441 .15 0Z'/%3E%3C/svg%3E") 0 0 / 100% auto no-repeat;
}
.localita-page .hero-media img { object-position: 50% 0; }
@media (max-width: 760px) {
  /* Telefono: cornice 87% × 7:10 meno la parte tagliata dal margine −58% (larghezza dell'apertura =
     100cqw del .canvas), più i 20px del padding sotto, in cui la foto entra con il margine −20px. */
  .localita-page .hero-media { aspect-ratio: auto; height: calc(87cqw * 640 / 448 - 58cqw + 20px); max-height: none; margin-bottom: -20px; }
  .localita-figure { border-radius: 17px; }
  /* Gli a capo scritti nell'editor restano anche sul telefono (altrove nell'apertura si nascondono). */
  .localita-page .hero h1 br, .localita-page .hero-text br { display: inline; }
}

/*
 * Motore di modifica delle località (plugin, prefisso dloc): un testo a cui l'amministratore
 * ha cambiato tag riceve dloc-swapped e dloc-look-{tag del template}; queste regole riportano
 * i valori di base del tag originale con specificità zero (le regole del tema vincono sempre).
 */
:where(.dloc-look-h1) { font-size: 2em; font-weight: bold; margin-block: .67em; }
:where(.dloc-look-h2) { font-size: 1.5em; font-weight: bold; margin-block: .83em; }
:where(.dloc-look-h3) { font-size: 1.17em; font-weight: bold; margin-block: 1em; }
:where(.dloc-look-h4) { font-size: 1em; font-weight: bold; margin-block: 1.33em; }
:where(.dloc-look-h5) { font-size: .83em; font-weight: bold; margin-block: 1.67em; }
:where(.dloc-look-h6) { font-size: .67em; font-weight: bold; margin-block: 2.33em; }
:where(.dloc-look-p) { font-size: 1em; font-weight: inherit; margin-block: 1em; }
