/* ==========================================================================
   Purrsonal Cat Care — foglio di stile
   Palette: blu profondo, blu mare, sabbia, bianco. Font: Outfit (titoli), Nunito (testo).
   ========================================================================== */

/* ---------- Font in self-hosting ---------- */
@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; src: url("/assets/fonts/caveat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-latin-wght-italic.woff2") format("woff2"); font-weight: 200 1000; font-style: italic; font-display: swap; }

/* ---------- Token ---------- */
:root {
  --c-navy: #163a7a;          /* primario (blu del logo, scuro): bianco sopra 9:1 */
  --c-navy-deep: #0b1f4b;
  --c-grad: linear-gradient(135deg, #0b1f4b 0%, #163a7a 45%, #1e63d6 100%);
  --c-sea: #1e63d6;           /* blu vivo del logo, link: su bianco 5,3:1 */
  --c-sea-light: #dce8fa;
  --c-sky: #eef4fb;
  --c-sand: #e9dcc5;          /* beige */
  --c-sand-light: #f6f0e4;
  --c-sand-deep: #c9b08a;
  --c-cream: #fffefb;         /* bianco caldo del logo */
  --c-white: #ffffff;
  --c-text: #1b2333;
  --c-text-muted: #55617a;    /* 6,2:1 su bianco */
  --c-border: #dfe4ec;
  --c-wa: #1f8f4d;            /* verde WhatsApp desaturato: bianco sopra 4,6:1 */
  --c-wa-deep: #16733d;
  --c-ok: #1b7f3b;
  --c-err: #b00020;

  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Outfit", "Nunito", system-ui, sans-serif;
  --font-script: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  --fs-body: clamp(1rem, .96rem + .25vw, 1.125rem);
  --fs-h1: clamp(2.2rem, 1.4rem + 3.6vw, 4rem);
  --fs-h2: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .7vw, 1.5rem);
  --lh-body: 1.6;

  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
  --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;

  --r-s: 8px; --r-m: 16px; --r-l: 28px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(31 58 110 / .08);
  --shadow-2: 0 10px 30px -12px rgb(31 58 110 / .25);
  --dur: 200ms;

  --container: 1200px;
  --measure: 66ch;
}

/* ---------- Reset leggero ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 var(--fs-body)/var(--lh-body) var(--font-body); color: var(--c-text); background: var(--c-cream); overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 var(--sp-4); color: var(--c-navy); font-weight: 600; }
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--sp-4); }
a { color: var(--c-sea); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--c-navy); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--c-sea); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 200; padding: .6rem 1rem; background: var(--c-white); color: var(--c-navy); border-radius: var(--r-s); }
.skip-link:focus { left: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--sp-7); }
.prose h3 { margin-top: var(--sp-6); }
.prose li + li { margin-top: .35rem; }
.muted { color: var(--c-text-muted); }
.lead { font-size: 1.2em; color: var(--c-text-muted); max-width: 60ch; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

.dev-banner { background: #fff3cd; color: #5a4300; text-align: center; padding: .5rem 1rem; font-size: .9rem; }
.dev-banner code { background: rgb(0 0 0 / .06); padding: 0 .3em; border-radius: 4px; }

/* ---------- Pulsanti ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .8em 1.4em; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform var(--dur), background var(--dur), box-shadow var(--dur); line-height: 1.1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-grad); color: var(--c-white); box-shadow: var(--shadow-2); }
.btn--primary:hover { filter: brightness(1.08); color: var(--c-white); }
.btn--wa { background: var(--c-wa); color: var(--c-white); }
.btn--wa:hover { background: var(--c-wa-deep); color: var(--c-white); }
.btn--ghost { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.btn--ghost:hover { background: var(--c-sky); color: var(--c-navy); }
.btn--sand { background: var(--c-sand); color: var(--c-navy); }
.btn--sand:hover { background: var(--c-sand-deep); color: var(--c-navy-deep); }
.btn--sm { min-height: 40px; padding: .55em 1.1em; font-size: .95rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgb(252 250 245 / .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--c-navy); font-family: var(--font-head); font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.brand strong { font-weight: 700; }
.brand__logo { width: 48px; height: 48px; border-radius: 50%; background: var(--c-white); transition: transform var(--dur); }
.brand:hover .brand__logo { transform: rotate(-6deg) scale(1.06); }
.brand__script { font-family: var(--font-script); font-weight: 600; font-size: 1.45em; color: var(--c-sea); line-height: 1; margin-left: .1em; }
.brand__logo--footer { background: var(--c-white); }
.nav-toggle { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 2px solid var(--c-navy); color: var(--c-navy); border-radius: var(--r-pill); padding: .45rem .9rem; font-family: var(--font-head); font-weight: 600; cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav a:not(.btn) { display: block; padding: .5rem .85rem; border-radius: var(--r-pill); text-decoration: none; color: var(--c-text); font-family: var(--font-head); font-weight: 500; }
.site-nav a:not(.btn):hover { background: var(--c-sky); color: var(--c-navy); }
.site-nav a[aria-current="page"] { background: var(--c-sand); color: var(--c-navy); }
@media (max-width: 1023px) {
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--c-cream); border-bottom: 1px solid var(--c-border); padding: var(--sp-4) 1rem var(--sp-5); box-shadow: var(--shadow-2); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: .15rem; margin-bottom: var(--sp-4); }
  .site-nav a:not(.btn) { padding: .8rem 1rem; font-size: 1.1rem; }
  .site-nav__cta { width: 100%; justify-content: center; }
}
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; align-items: center; gap: var(--sp-4); }
}

/* ---------- Sezioni ---------- */
.section { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.section--sky { background: var(--c-sky); }
.section--sand { background: var(--c-sand-light); }
.section--navy { background: var(--c-grad); color: var(--c-white); }
.section--navy h2, .section--navy h3 { color: var(--c-white); }
.section--navy .muted, .section--navy .lead { color: #c9d6ea; }
.section--navy a:not(.btn) { color: var(--c-sand); }
.section__head { max-width: 62ch; margin-bottom: var(--sp-6); }
.section__head .eyebrow + h2 { margin-top: .35rem; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-sea); }
.section--navy .eyebrow { color: var(--c-sand); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem); overflow: clip; background: linear-gradient(180deg, var(--c-sky) 0%, var(--c-cream) 100%); }
.hero__grid { display: grid; gap: var(--sp-6); align-items: center; }
.hero h1 { margin-bottom: var(--sp-4); }
.hero h1 .accent { color: var(--c-sea); }
.hero__motto { font-family: var(--font-script); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: var(--c-sea); margin: -.5rem 0 1rem; letter-spacing: .01em; }
.hero__logo { position: absolute; left: 4%; bottom: 4%; width: clamp(84px, 10vw, 128px); height: auto; border-radius: 50%; background: var(--c-white); box-shadow: var(--shadow-2); padding: 6px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-5) 0; }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); margin: 0; padding: 0; list-style: none; color: var(--c-text-muted); font-size: .95rem; }
.hero__trust li { display: flex; align-items: center; gap: .45rem; }
.hero__trust .ico { color: var(--c-sea); }
.hero__art { position: relative; }
.hero__badge { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-radius: var(--r-pill); background: var(--c-white); box-shadow: var(--shadow-2); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--c-navy); }
.hero__badge--1 { top: 4%; left: -2%; transform: rotate(-4deg); }
.hero__badge--2 { bottom: 8%; right: -2%; transform: rotate(3deg); }
.hero__badge .ico { color: var(--c-sea); }
.paws { position: absolute; inset: 0; pointer-events: none; opacity: .5; }
.paws .paw { position: absolute; width: 34px; color: var(--c-sand-deep); opacity: .45; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.1fr .9fr; gap: var(--sp-8); } }

/* Illustrazione hero: cornice "finestra" con forme morbide */
.hero-art { aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; background: var(--c-grad); padding: 8px; position: relative; overflow: hidden; display: grid; place-items: center; }
.hero-art img { border-radius: inherit; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c-sand); text-align: center; padding: 2rem; font-family: var(--font-head); }
.hero-art__placeholder svg { width: 40%; opacity: .9; margin-bottom: 1rem; }
.hero-art__placeholder small { display: block; opacity: .7; font-size: .85rem; max-width: 24ch; }

/* ---------- Card servizi ---------- */
.cards { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-l); transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--c-sea-light); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: var(--c-sky); color: var(--c-sea); }
.card__icon .ico { width: 26px; height: 26px; }
.card h3 { margin: 0; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card p { margin: 0; color: var(--c-text-muted); }
.card__price { margin-top: auto; padding-top: var(--sp-3); font-family: var(--font-head); color: var(--c-navy); font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.card__price small { color: var(--c-text-muted); font-weight: 500; font-size: .85rem; }
.card__price .ico { color: var(--c-sea); }
.card--pet { border-color: transparent; background: var(--c-sand-light); }

/* ---------- Tag stagione ---------- */
.stag { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: .8rem; white-space: nowrap; }
.stag::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }
.stag--bassa { background: var(--c-sea-light); color: var(--c-navy); }
.stag--alta { background: var(--c-sand); color: #5a4215; }
.stag--festivi { background: var(--c-navy); color: var(--c-white); }

/* ---------- Tabella prezzi ---------- */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-m); overflow: hidden; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--c-border); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table thead th { background: var(--c-sky); font-family: var(--font-head); font-weight: 600; color: var(--c-navy); font-size: .9rem; }
.price-table td.num { font-family: var(--font-head); font-weight: 600; color: var(--c-navy); font-size: 1.1rem; white-space: nowrap; }
.price-table .sub { display: block; color: var(--c-text-muted); font-size: .85rem; font-weight: 400; }
.price-table-wrap { overflow-x: auto; }
.legend { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin: var(--sp-4) 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--c-text-muted); }
.legend li { display: flex; align-items: center; gap: .5rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-4); list-style: none; padding: 0; margin: 0; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; padding: var(--sp-5); background: var(--c-white); border-radius: var(--r-m); border: 1px solid var(--c-border); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--c-sand-deep); line-height: 1; margin-bottom: var(--sp-3); }
.steps h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--c-text-muted); font-size: .97rem; }

/* ---------- Perché / valori ---------- */
.values { display: grid; gap: var(--sp-4); }
@media (min-width: 768px) { .values { grid-template-columns: repeat(2, 1fr); } }
.value { display: grid; grid-template-columns: 48px 1fr; gap: var(--sp-4); align-items: start; }
.value__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgb(255 255 255 / .12); color: var(--c-sand); }
.value h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.value p { margin: 0; color: #c9d6ea; font-size: .97rem; }

/* ---------- Recensioni ---------- */
.reviews { display: grid; gap: var(--sp-4); }
@media (min-width: 768px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews--3 { grid-template-columns: repeat(3, 1fr); } }
.review { display: grid; grid-template-columns: 96px 1fr; gap: var(--sp-4); padding: var(--sp-5); background: var(--c-white); border-radius: var(--r-l); border: 1px solid var(--c-border); }
.review__pet { width: 96px; height: 96px; border-radius: 32px 32px 32px 8px; object-fit: cover; background: var(--c-sky); }
.review__stars { display: flex; gap: 2px; color: #d99a1f; margin-bottom: .35rem; }
.review__stars .ico { width: 1rem; height: 1rem; fill: currentColor; }
.review__text { margin: 0 0 .6rem; font-style: italic; }
.review__meta { margin: 0; font-size: .9rem; color: var(--c-text-muted); }
.review__meta strong { color: var(--c-navy); font-style: normal; }
.review__pet-name { font-family: var(--font-head); font-weight: 600; color: var(--c-navy); font-size: .9rem; text-align: center; margin: .4rem 0 0; }
@media (max-width: 480px) { .review { grid-template-columns: 1fr; } .review__pet { margin-inline: auto; } }

/* ---------- Blog ---------- */
.posts { display: grid; gap: var(--sp-5); }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(2, 1fr); } }
.post-card { position: relative; display: flex; flex-direction: column; background: var(--c-white); border-radius: var(--r-l); border: 1px solid var(--c-border); overflow: hidden; transition: transform var(--dur), box-shadow var(--dur); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.post-card__img { aspect-ratio: 16 / 9; background: var(--c-sky); object-fit: cover; width: 100%; }
.post-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: .5rem; }
.post-card h3 { margin: 0; font-size: 1.3rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { margin: 0; color: var(--c-text-muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; color: var(--c-text-muted); font-family: var(--font-head); }
.post-meta .cat { color: var(--c-sea); font-weight: 600; }
.article-head { padding-block: var(--sp-7) var(--sp-5); }
.article-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); max-width: 24ch; }
.article-hero { border-radius: var(--r-l); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--c-sky); margin-bottom: var(--sp-6); }
.callout { padding: var(--sp-5); border-radius: var(--r-m); background: var(--c-sand-light); border-left: 5px solid var(--c-sand-deep); margin: var(--sp-6) 0; }
.callout--urgent { background: var(--c-sky); border-left-color: var(--c-navy); }
.callout h3 { margin-top: 0; font-size: 1.1rem; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.author { display: flex; gap: var(--sp-4); align-items: center; padding: var(--sp-5); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-m); margin-top: var(--sp-7); }
.author__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.firma { max-width: 240px; margin-top: var(--sp-5); opacity: .9; }
.author p { margin: 0; }
.disclaimer { font-size: .9rem; color: var(--c-text-muted); border-top: 1px dashed var(--c-border); padding-top: var(--sp-4); margin-top: var(--sp-6); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--sp-3); }
.faq details { background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-m); padding: 0 var(--sp-5); }
.faq summary { cursor: pointer; list-style: none; padding: var(--sp-4) 0; font-family: var(--font-head); font-weight: 600; color: var(--c-navy); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--c-sea); transition: transform var(--dur); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--sp-4); margin: 0; color: var(--c-text-muted); }

/* ---------- Form ---------- */
.form { display: grid; gap: var(--sp-4); }
.form__row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--c-navy); margin-bottom: .35rem; }
.field label .optional { font-weight: 400; color: var(--c-text-muted); font-size: .9rem; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 2px solid var(--c-border); border-radius: var(--r-m); background: var(--c-white); font: inherit; color: var(--c-text); transition: border-color var(--dur); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-sea); outline: none; box-shadow: 0 0 0 3px var(--c-sea-light); }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: .88rem; color: var(--c-text-muted); margin: .3rem 0 0; }
.field .error { color: var(--c-err); font-size: .9rem; margin: .3rem 0 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--c-err); }
.field-check { display: flex; gap: .7rem; align-items: flex-start; }
.field-check input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--c-navy); flex: none; }
.field-check label { font-weight: 400; color: var(--c-text); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--c-text-muted); }
.alert { padding: var(--sp-4) var(--sp-5); border-radius: var(--r-m); margin-bottom: var(--sp-5); }
.alert--err { background: #fde8ec; color: #7a0015; border: 1px solid #f3b9c3; }
.alert--ok { background: #e6f5ea; color: #0f4d24; border: 1px solid #b4dec0; }

/* Scelta servizio a pillole */
.choice-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; padding: var(--sp-4); border: 2px solid var(--c-border); border-radius: var(--r-m); background: var(--c-white); cursor: pointer; height: 100%; transition: border-color var(--dur), background var(--dur); font-weight: 600; font-family: var(--font-head); color: var(--c-navy); margin: 0; }
.choice label .ico { color: var(--c-sea); width: 1.6rem; height: 1.6rem; }
.choice label small { font-family: var(--font-body); font-weight: 400; color: var(--c-text-muted); font-size: .85rem; }
.choice input:checked + label { border-color: var(--c-navy); background: var(--c-sky); }
.choice input:focus-visible + label { outline: 3px solid var(--c-sea); outline-offset: 3px; }

/* Riepilogo prezzo */
.summary { position: sticky; top: 84px; padding: var(--sp-5); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-l); box-shadow: var(--shadow-2); }
.summary h3 { font-size: 1.1rem; }
.summary__rows { display: grid; gap: .4rem; margin: 0 0 var(--sp-4); padding: 0; list-style: none; font-size: .95rem; }
.summary__rows li { display: flex; justify-content: space-between; gap: 1rem; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--c-border); padding-top: var(--sp-4); font-family: var(--font-head); font-weight: 700; color: var(--c-navy); font-size: 1.35rem; }
.summary__days { font-size: .85rem; color: var(--c-text-muted); max-height: 180px; overflow: auto; margin: var(--sp-3) 0; }
.summary__days span { display: inline-block; margin: .15rem .3rem .15rem 0; }
.summary__unavailable { color: var(--c-err); font-weight: 600; font-size: .95rem; }
.booking-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 960px) { .booking-grid { grid-template-columns: 1.3fr .8fr; align-items: start; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--c-grad); color: var(--c-white); border-radius: var(--r-l); padding: clamp(2rem, 1.5rem + 3vw, 4rem); display: grid; gap: var(--sp-5); align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--c-white); margin-bottom: .5rem; }
.cta-band p { color: #c9d6ea; margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.cta-band .paw { position: absolute; right: -20px; bottom: -30px; width: 180px; color: rgb(255 255 255 / .07); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; } .cta-band__actions { justify-content: flex-end; } }

/* ---------- Pagine interne ---------- */
.page-head { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) var(--sp-6); background: linear-gradient(180deg, var(--c-sky), var(--c-cream)); }
.page-head h1 { max-width: 22ch; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 var(--sp-4); display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--c-text-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--c-border); }
.breadcrumb a { color: var(--c-text-muted); }
.service-grid { display: grid; gap: var(--sp-7); }
@media (min-width: 960px) { .service-grid { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.service-aside { display: grid; gap: var(--sp-4); }
.box { padding: var(--sp-5); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-l); }
.box h3 { font-size: 1.1rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist .ico { color: var(--c-ok); margin-top: .2rem; }
.box--sand { background: var(--c-sand-light); border-color: transparent; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.contact-list li { display: flex; gap: .7rem; align-items: center; }
.contact-list .ico { color: var(--c-sea); }
.map-note { aspect-ratio: 16 / 9; border-radius: var(--r-l); background: var(--c-sky); display: grid; place-items: center; text-align: center; padding: var(--sp-5); color: var(--c-navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-navy-deep); color: #c9d6ea; padding: var(--sp-8) 0 var(--sp-6); margin-top: var(--sp-8); }
.site-footer a { color: var(--c-white); }
.site-footer a:hover { color: var(--c-sand); }
.site-footer__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
@media (min-width: 768px) and (max-width: 1023px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
.brand--footer { color: var(--c-white); margin-bottom: var(--sp-3); }
.brand--footer .brand__script { color: var(--c-sand); }
.site-footer__tagline { max-width: 36ch; }
.site-footer__h { color: var(--c-sand); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--sp-3); }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer__list--contatti li { display: flex; gap: .6rem; align-items: center; }
.site-footer__list .ico { color: var(--c-sand); }
.site-footer__orari { font-size: .9rem; margin-top: var(--sp-4); }
.social { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgb(255 255 255 / .1); color: var(--c-white); }
.social a:hover { background: var(--c-sand); color: var(--c-navy); }
.site-footer__legal { border-top: 1px solid rgb(255 255 255 / .12); margin-top: var(--sp-6); padding-top: var(--sp-5); font-size: .88rem; display: grid; gap: .5rem; }
.site-footer__legal p { margin: 0; }
.credit a { color: #c9d6ea; }

/* ---------- Barra contatti mobile ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--c-grad); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 20px rgb(0 0 0 / .15); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 56px; color: var(--c-white); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.mobile-cta a + a { border-left: 1px solid rgb(255 255 255 / .15); }
@media (max-width: 767px) { body { padding-bottom: 60px; } .site-footer { margin-bottom: 0; } }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; inset-inline: 0; bottom: 64px; z-index: 150; padding: 1rem; }
@media (min-width: 768px) { .cookie-banner { bottom: 1rem; left: auto; right: 1rem; max-width: 420px; } }
.cookie-banner__box { position: relative; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-l); padding: var(--sp-5); box-shadow: var(--shadow-2); }
.cookie-banner h2 { font-size: 1.1rem; margin-bottom: .4rem; }
.cookie-banner p { font-size: .95rem; }
.cookie-banner__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-banner__x { position: absolute; top: .6rem; right: .6rem; background: none; border: 0; color: var(--c-text-muted); cursor: pointer; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }

/* ---------- Animazioni ---------- */
.js .reveal { opacity: 1; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: var(--sp-9); }
.notfound h1 { font-size: clamp(3rem, 8vw, 6rem); }

/* ---------- Area riservata ---------- */
.site-nav__area { margin-left: .25rem; }
@media (max-width: 1023px) { .site-nav__area { width: 100%; justify-content: center; margin: 0 0 .6rem; } }
.area-layout { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) { .area-layout { grid-template-columns: 240px 1fr; align-items: start; } }
.area-nav { display: flex; flex-wrap: wrap; gap: .4rem; }
@media (min-width: 900px) { .area-nav { flex-direction: column; position: sticky; top: 84px; } }
.area-nav a { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border-radius: var(--r-pill); text-decoration: none; color: var(--c-text); font-family: var(--font-head); font-weight: 600; }
.area-nav a:hover { background: var(--c-sky); color: var(--c-navy); }
.area-nav a[aria-current="page"] { background: var(--c-navy); color: var(--c-white); }
.pill { display: inline-block; padding: .2rem .65rem; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: .8rem; background: var(--c-sky); color: var(--c-navy); white-space: nowrap; }
.pill--ok { background: #e6f5ea; color: #0f4d24; }
.pill--warn { background: var(--c-sand); color: #5a4215; }
.pill--err { background: #fde8ec; color: #7a0015; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-m); overflow: hidden; font-size: .95rem; }
.table th, .table td { padding: .7rem .8rem; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.table thead th { background: var(--c-sky); font-family: var(--font-head); color: var(--c-navy); font-size: .85rem; }
.table tr:last-child td { border-bottom: 0; }
.stat-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stat { padding: var(--sp-4); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-m); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: var(--c-navy); line-height: 1.1; }
.stat span { color: var(--c-text-muted); font-size: .9rem; }
.inline-form { display: inline-flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.inline-form select { min-height: 36px; padding: .3rem .5rem; border: 2px solid var(--c-border); border-radius: var(--r-s); font: inherit; }
.pay-option { display: grid; grid-template-columns: auto 1fr; gap: .8rem; padding: var(--sp-4); border: 2px solid var(--c-border); border-radius: var(--r-m); background: var(--c-white); margin-bottom: .6rem; }
.pay-option input { margin-top: .3rem; accent-color: var(--c-navy); width: 1.2rem; height: 1.2rem; }
.pay-option label { font-weight: 600; font-family: var(--font-head); color: var(--c-navy); margin: 0; }
.pay-option p { margin: .2rem 0 0; font-size: .92rem; color: var(--c-text-muted); }
.pay-option:has(input:checked) { border-color: var(--c-navy); background: var(--c-sky); }
.step-head { display: flex; align-items: center; gap: .6rem; margin: var(--sp-6) 0 var(--sp-4); }
.step-head span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-grad); color: var(--c-white); font-family: var(--font-head); font-weight: 700; }
.step-head h2 { margin: 0; font-size: 1.3rem; }
.auth-card { max-width: 520px; margin-inline: auto; padding: var(--sp-6); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-l); box-shadow: var(--shadow-2); }
.field input[type="file"] { padding: .5rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0; }
.kv dt { color: var(--c-text-muted); font-size: .9rem; }
.kv dd { margin: 0; }

/* ==========================================================================
   Area clienti e admin
   ========================================================================== */
.area-grid { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 900px) { .area-grid { grid-template-columns: 240px minmax(0, 1fr); } }
.area-nav { display: grid; gap: var(--sp-4); padding: var(--sp-4); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-l); position: sticky; top: 84px; }
.area-nav--admin { border-color: var(--c-sand-deep); background: var(--c-sand-light); }
.area-nav__user { display: grid; gap: .3rem; padding-bottom: var(--sp-3); border-bottom: 1px solid var(--c-border); }
.area-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.area-nav a { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: var(--r-m); text-decoration: none; color: var(--c-text); font-family: var(--font-head); font-weight: 500; }
.area-nav a:hover { background: var(--c-sky); color: var(--c-navy); }
.area-nav a[aria-current="page"] { background: var(--c-navy); color: var(--c-white); }
.area-nav .ico { color: var(--c-sea); } .area-nav a[aria-current="page"] .ico { color: var(--c-sand); }
.area-nav .count { margin-left: auto; min-width: 1.5rem; padding: 0 .4rem; border-radius: var(--r-pill); background: var(--c-err); color: #fff; font-size: .8rem; text-align: center; font-weight: 700; }
@media (max-width: 899px) { .area-nav { position: static; } .area-nav ul { grid-template-columns: repeat(2, 1fr); } }

.badge { display: inline-block; padding: .2rem .6rem; border-radius: var(--r-pill); font-family: var(--font-head); font-weight: 600; font-size: .78rem; white-space: nowrap; line-height: 1.4; vertical-align: middle; }
.badge--ok { background: #e3f3e8; color: #135c2d; }
.badge--attesa { background: #fff2cf; color: #6a4a00; }
.badge--ko { background: #fde3e7; color: #8a0a22; }
.badge--neutro { background: var(--c-sky); color: var(--c-navy); }

.table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-m); background: var(--c-white); }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: .7rem .8rem; text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.data-table thead th { background: var(--c-sky); font-family: var(--font-head); font-weight: 600; color: var(--c-navy); font-size: .85rem; white-space: nowrap; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: var(--c-cream); }
.data-table code { font-size: .9em; background: var(--c-sand-light); padding: .1em .35em; border-radius: 4px; }

.dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 0; font-size: .97rem; }
.dl dt { color: var(--c-text-muted); font-weight: 600; font-family: var(--font-head); font-size: .85rem; padding-top: .15rem; }
.dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.dl--compact { font-size: .92rem; }
@media (max-width: 480px) { .dl { grid-template-columns: 1fr; gap: .1rem; } .dl dd { margin-bottom: .5rem; } }

.plain-list { list-style: none; padding: 0; margin: 0 0 var(--sp-4); display: grid; gap: .4rem; }
.plain-list li { display: flex; gap: .5rem; align-items: center; }
.plain-list .ico { color: var(--c-sea); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); margin: var(--sp-4) 0 var(--sp-6); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: var(--sp-4); background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-m); display: grid; gap: .1rem; color: var(--c-text-muted); font-size: .9rem; }
.stat__n { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--c-navy); line-height: 1; }

.fieldset { border: 1px solid var(--c-border); border-radius: var(--r-l); padding: var(--sp-5); margin: 0; background: var(--c-white); display: grid; gap: var(--sp-4); }
.fieldset legend { font-family: var(--font-head); font-weight: 700; color: var(--c-navy); font-size: 1.2rem; padding: 0 .5rem; display: flex; align-items: center; gap: .6rem; }
.step-n { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--c-grad); color: var(--c-white); font-size: .95rem; }
@media (min-width: 640px) { .form__row--3 { grid-template-columns: 1fr 2fr 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); align-items: center; margin-bottom: var(--sp-4); }
.filters__pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters .field { margin: 0; min-width: 0; }
.filters input[type="search"] { min-height: 40px; }

.pay-box dl { margin-bottom: var(--sp-3); }
.pay-box code { font-size: 1.05em; }
.inline-confirm { display: inline-flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .6rem .8rem; background: var(--c-sand-light); border-radius: var(--r-m); font-size: .95rem; }

.cal-table th, .cal-table td { padding: .35rem .3rem; text-align: center; font-size: .85rem; }
.cal-table tbody th { text-align: left; white-space: nowrap; background: var(--c-white); position: sticky; left: 0; }
.cal-th { min-width: 2.2rem; line-height: 1.1; } .cal-th small { display: block; font-weight: 400; color: var(--c-text-muted); font-size: .7rem; }
.cal-th--alta { background: var(--c-sand) !important; } .cal-th--festivi { background: var(--c-navy) !important; color: var(--c-white) !important; } .cal-th--festivi small { color: #c9d6ea; }
.cal-th--we { font-style: italic; } .cal-th--oggi { outline: 2px solid var(--c-sea); outline-offset: -2px; }
.cal-td { position: relative; height: 2.4rem; }
.cal-td--parz { background: #e3f3e8; } .cal-td--pieno { background: #fde3e7; font-weight: 700; } .cal-td--chiuso { background: repeating-linear-gradient(45deg, #eee, #eee 4px, #fff 4px, #fff 8px); }
.cal-td a { text-decoration: none; color: var(--c-navy); font-weight: 700; }
.cal-dot { position: absolute; right: 3px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: #d99a1f; }

/* Header più compatto quando ci sono i pulsanti area clienti + WhatsApp */
@media (min-width: 1024px) {
  .site-nav { gap: var(--sp-3); }
  .site-nav ul { gap: 0; }
  .site-nav a:not(.btn) { padding: .5rem .65rem; white-space: nowrap; }
  .site-nav__cta { white-space: nowrap; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .site-nav a:not(.btn) { font-size: .95rem; padding: .5rem .5rem; }
  .brand__text { font-size: 1.1rem; }
}

/* ---------- Sportello cane & gatto ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.search { position: relative; max-width: 640px; margin-top: var(--sp-5); }
.search input { width: 100%; min-height: 56px; padding: .9rem 1.2rem .9rem 1.2rem; border: 2px solid var(--c-border); border-radius: 999px; background: var(--c-white); font: inherit; font-size: 1.05rem; color: var(--c-text); box-shadow: var(--shadow-1); }
.search input:focus { outline: none; border-color: var(--c-sea); box-shadow: 0 0 0 4px var(--c-sea-light); }
.search__results { position: absolute; z-index: 20; top: calc(100% + .4rem); left: 0; right: 0; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-l); box-shadow: var(--shadow-2); max-height: 60vh; overflow: auto; padding: .4rem; }
.search__results a { display: grid; gap: .1rem; padding: .7rem .9rem; border-radius: var(--r-m); text-decoration: none; color: var(--c-text); }
.search__results a:hover, .search__results a:focus { background: var(--c-sand-light); }
.search__results a strong { color: var(--c-navy); }
.search__results a span:last-child { font-size: .9rem; color: var(--c-text-muted); }
.search__type { font-family: var(--font-head); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-sea); }
.search__results p { margin: 0; padding: .9rem; }
.linklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.linklist a { text-decoration: none; color: var(--c-navy); font-weight: 600; }
.linklist a:hover { text-decoration: underline; }
.scores { display: grid; gap: .55rem; }
.scores--mini { gap: .3rem; margin-top: .3rem; }
.score { display: flex; justify-content: space-between; align-items: center; gap: .8rem; font-size: .92rem; }
.score__label { color: var(--c-text-muted); font-family: var(--font-head); font-weight: 600; }
.score__dots { display: inline-flex; gap: .25rem; }
.score__dots i { width: .7rem; height: .7rem; border-radius: 50%; background: var(--c-border); display: inline-block; }
.score__dots i.on { background: var(--c-sea); }
.scores--mini .score { font-size: .82rem; }
.scores--mini .score__dots i { width: .55rem; height: .55rem; }
.card--breed[hidden] { display: none; }
.card--breed p + p { color: var(--c-text); }
.filters { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: end; margin-top: var(--sp-5); }
.filters label { display: grid; gap: .25rem; font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--c-navy); }
.filters input, .filters select { min-height: 44px; padding: .5rem .8rem; border: 2px solid var(--c-border); border-radius: var(--r-m); background: var(--c-white); font: inherit; font-size: .95rem; color: var(--c-text); }
.filters input:focus, .filters select:focus { outline: none; border-color: var(--c-sea); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--sp-3); margin: 0 0 var(--sp-6); padding: var(--sp-4); background: var(--c-sand-light); border-radius: var(--r-l); }
.facts div { min-width: 0; }
.facts dt { font-family: var(--font-head); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-muted); }
.facts dd { margin: .15rem 0 0; font-weight: 600; color: var(--c-navy); overflow-wrap: anywhere; }
.fonti { font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--sp-4); }
.chip { display: inline-flex; gap: .4rem; align-items: center; padding: .45rem .9rem; border-radius: 999px; background: var(--c-white); border: 1px solid var(--c-border); color: var(--c-navy); font-family: var(--font-head); font-weight: 600; font-size: .9rem; text-decoration: none; }
.chip:hover { border-color: var(--c-sea); }
.qa-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.qa-list li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .75rem 1rem; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-m); }
.qa-list a { text-decoration: none; color: var(--c-navy); font-weight: 600; }
.qa-list a:hover { text-decoration: underline; }
.qa-list .muted { font-size: .85rem; white-space: nowrap; }
.urg { color: var(--c-err); font-size: .75em; vertical-align: middle; }
.domanda-lettore { margin: 0 0 var(--sp-6); padding: var(--sp-5); border-left: 5px solid var(--c-sea); background: var(--c-sky); border-radius: var(--r-m); font-style: italic; }
.domanda-lettore p:last-child { margin-bottom: 0; }
.timeline { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.timeline li { padding: .8rem 1rem; background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-m); }
.timeline__meta { font-size: .82rem; color: var(--c-text-muted); font-family: var(--font-head); font-weight: 600; display: flex; gap: .6rem; flex-wrap: wrap; }
.timeline--compact li { padding: .5rem .7rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--c-err); cursor: pointer; text-decoration: underline; }
@media (min-width: 900px) { .search__results a { grid-template-columns: 120px 1fr; grid-template-rows: auto auto; column-gap: 1rem; } .search__results a .search__type { grid-row: 1 / span 2; align-self: center; } }
