/* VetStealth — foglio di stile unico */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrumentserif-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --vs-accent: #0f5c4b;
  --vs-accent-deep: #0a4437;
  --vs-ink: #111111;
  --vs-body: #3d3d3d;
  --vs-muted: #545454;
  --vs-paper: #ffffff;
  --vs-soft: #fafafa;
  --vs-soft-2: #f1f1f1;
  --vs-soft-3: #e6e6e6;
  --vs-pill: 999px;
  --vs-shell: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--vs-paper);
  color: var(--vs-ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.015em;
  color: var(--vs-ink);
  text-wrap: balance;
}

p { margin: 0; }

img { max-width: 100%; }

a { color: var(--vs-accent); }

:focus-visible {
  outline: 2px solid var(--vs-accent);
  outline-offset: 3px;
}

.vs-shell {
  width: 100%;
  max-width: var(--vs-shell);
  margin: 0 auto;
  padding: 0 24px;
}

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

.vs-skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.vs-skip:focus {
  left: 14px;
  top: 12px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--vs-pill);
  background: var(--vs-accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- intestazione ---------- */

.vs-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.vs-head__in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.vs-logo {
  display: inline-flex;
  padding: 10px 2px;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  color: var(--vs-ink);
}

.vs-logo__b { color: var(--vs-accent); }

.vs-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.vs-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 15px;
  border-radius: var(--vs-pill);
  color: var(--vs-ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.vs-nav a:hover {
  background: var(--vs-soft-2);
  color: var(--vs-accent);
}

.vs-nav a.vs-nav__cta {
  margin-left: 8px;
  background: var(--vs-accent);
  color: #ffffff;
  font-weight: 600;
}

.vs-nav a.vs-nav__cta:hover { background: var(--vs-accent-deep); }

.vs-burger {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--vs-pill);
  background: transparent;
  color: var(--vs-ink);
  cursor: pointer;
}

.vs-burger:hover {
  background: var(--vs-soft-2);
  color: var(--vs-accent);
}

.vs-burger svg line {
  transform-origin: 12px 12px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.vs-burger[aria-expanded="true"] svg line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.vs-burger[aria-expanded="true"] svg line:nth-child(2) { opacity: 0; }
.vs-burger[aria-expanded="true"] svg line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 920px) {
  .vs-burger { display: inline-flex; }

  .vs-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 0 22px;
    background: var(--vs-paper);
    box-shadow: 0 20px 34px rgba(17, 17, 17, 0.09);
  }

  .vs-nav.is-open { display: flex; }

  .vs-nav a {
    min-height: 54px;
    font-size: 17px;
    border-radius: var(--vs-pill);
  }

  .vs-nav a.vs-nav__cta {
    margin-left: 0;
    margin-top: 6px;
    justify-content: center;
  }
}

/* ---------- pulsanti e pastiglie ---------- */

.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 27px;
  border: 0;
  border-radius: var(--vs-pill);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.vs-btn--solid {
  background: var(--vs-accent);
  color: #ffffff;
}

.vs-btn--solid:hover { background: var(--vs-accent-deep); }
.vs-btn--solid:active { transform: translateY(1px); }

.vs-btn--ghost {
  background: var(--vs-soft-2);
  color: var(--vs-ink);
}

.vs-btn--ghost:hover {
  background: var(--vs-soft-3);
  color: var(--vs-accent);
}

.vs-btn--ghost:active { transform: translateY(1px); }

.vs-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 17px;
  border-radius: var(--vs-pill);
  background: var(--vs-soft-2);
  color: var(--vs-muted);
  font-size: 14px;
  font-weight: 500;
}

.vs-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--vs-pill);
  background: var(--vs-accent);
}

/* ---------- sezioni ---------- */

.vs-sec {
  padding: clamp(56px, 7.5vw, 104px) 0;
  scroll-margin-top: 84px;
}

.vs-sec--soft { background: var(--vs-soft); }

.vs-sec__head { margin: 0 0 clamp(28px, 4vw, 46px); }

.vs-sec__h { font-size: clamp(30px, 4.2vw, 48px); }

.vs-sec__intro {
  max-width: 40em;
  margin: 18px 0 0;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--vs-body);
}

/* ---------- hero ---------- */

.vs-hero {
  padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 100px);
  text-align: center;
}

.vs-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vs-muted);
}

.vs-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--vs-pill);
  background: var(--vs-accent);
}

.vs-hero__h {
  max-width: 940px;
  margin: 0 auto;
  font-size: clamp(44px, 7.4vw, 88px);
}

.vs-hero__h em {
  font-style: normal;
  color: var(--vs-accent);
}

.vs-hero__lead {
  max-width: 36em;
  margin: 28px auto 0;
  font-size: clamp(18px, 2.05vw, 22px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--vs-body);
}

.vs-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 34px 0 0;
}

.vs-hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 0;
}

.vs-tile {
  display: flex;
  flex-direction: column;
  grid-column: span 3;
  background: var(--vs-soft);
}

.vs-tile--lead { grid-column: span 4; }
.vs-tile--narrow { grid-column: span 2; }

.vs-tile__shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 700 / 420;
  object-fit: cover;
}

.vs-tile__shot--up { object-position: center 40%; }

.vs-tile--lead .vs-tile__shot { aspect-ratio: 900 / 562; }

.vs-tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  padding: 22px 22px 24px;
}

.vs-tile__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vs-tile__icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.vs-tile__name {
  font-size: 21px;
  line-height: 1.16;
}

.vs-tile--lead .vs-tile__name { font-size: 28px; }

.vs-tile__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--vs-muted);
}

.vs-tile__rate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--vs-ink);
  font-weight: 600;
}

.vs-tile__rate svg { color: var(--vs-accent); }

.vs-tile__txt {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--vs-body);
}

.vs-tile--lead .vs-tile__txt { font-size: 17px; }

.vs-tile__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 48px;
  margin-top: auto;
  color: var(--vs-accent);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.vs-tile__link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 1000px) {
  .vs-grid { grid-template-columns: repeat(2, 1fr); }
  .vs-tile,
  .vs-tile--narrow { grid-column: span 1; }
  .vs-tile--lead { grid-column: span 2; }
}

@media (max-width: 680px) {
  .vs-grid { grid-template-columns: 1fr; }
  .vs-tile,
  .vs-tile--lead,
  .vs-tile--narrow { grid-column: span 1; }
}

/* ---------- tabella di confronto ---------- */

.vs-tablewrap { overflow-x: auto; }

.vs-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}

.vs-table caption {
  caption-side: top;
  padding: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--vs-muted);
  text-align: left;
}

.vs-table thead th {
  padding: 0 16px 12px;
  border-bottom: 1px solid #cfcfcf;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--vs-muted);
  white-space: nowrap;
}

.vs-table tbody th,
.vs-table tbody td {
  padding: 16px;
  vertical-align: top;
}

.vs-table tbody th {
  font-weight: 600;
  color: var(--vs-ink);
}

.vs-table tbody td { color: var(--vs-body); }

.vs-table tbody tr:nth-child(odd) { background: var(--vs-paper); }

.vs-cell {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.vs-cell svg {
  flex: none;
  color: var(--vs-accent);
}

.vs-tab-note {
  max-width: 52em;
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--vs-muted);
}

/* ---------- Taccuino ---------- */

.vs-tac {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.vs-tac__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin: 0 0 20px;
  padding: 0 17px;
  border-radius: var(--vs-pill);
  background: var(--vs-soft-2);
  color: var(--vs-accent);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.vs-tac__txt {
  max-width: 38em;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.64;
  color: var(--vs-body);
}

.vs-tac__card {
  margin: 26px 0 0;
  padding: 24px 26px 28px;
  border: 1px solid var(--vs-accent);
  background: var(--vs-paper);
}

.vs-tac__card h3 {
  font-size: 22px;
  line-height: 1.2;
}

.vs-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.vs-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--vs-body);
}

.vs-list svg {
  margin-top: 4px;
  color: var(--vs-accent);
}

.vs-tac__cta { margin: 26px 0 0; }

.vs-tac__media {
  display: grid;
  gap: 12px;
}

.vs-tac__shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 505;
  object-fit: cover;
  background: var(--vs-soft-2);
}

.vs-tac__shot--wide { aspect-ratio: 900 / 415; }

.vs-tac__cap {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--vs-muted);
}

@media (max-width: 920px) {
  .vs-tac { grid-template-columns: 1fr; }
}

/* ---------- domande ---------- */

.vs-faq {
  display: grid;
  gap: 8px;
}

.vs-faq__item { background: var(--vs-paper); }

.vs-faq__h { margin: 0; }

.vs-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 66px;
  padding: 15px 22px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--vs-ink);
  text-align: left;
  cursor: pointer;
}

.vs-faq__q:hover { color: var(--vs-accent); }
.vs-faq__q[aria-expanded="true"] { color: var(--vs-accent); }

.vs-faq__sign {
  flex: none;
  transition: transform 0.2s ease;
}

.vs-faq__q[aria-expanded="true"] .vs-faq__sign { transform: rotate(45deg); }

.vs-faq__a { padding: 0 22px 22px; }

.vs-faq__a p {
  max-width: 56em;
  font-size: 16px;
  line-height: 1.66;
  color: var(--vs-body);
}

/* ---------- piè di pagina ---------- */

.vs-foot { padding: clamp(48px, 6vw, 84px) 0 44px; }

.vs-foot__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px 30px;
}

.vs-foot__cap {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--vs-muted);
}

.vs-foot__about {
  max-width: 30em;
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.62;
  color: var(--vs-body);
}

.vs-foot__links {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vs-foot__links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding-right: 14px;
  color: var(--vs-ink);
  font-size: 15px;
  text-decoration: none;
}

.vs-foot__links a:hover {
  color: var(--vs-accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.vs-foot__h {
  font-size: 24px;
  line-height: 1.15;
}

.vs-foot__mail {
  display: inline-block;
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--vs-accent);
  text-decoration: none;
}

.vs-foot__mail:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.vs-foot__small {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--vs-muted);
}

.vs-foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  margin: clamp(36px, 5vw, 56px) 0 0;
  font-size: 13.5px;
  color: var(--vs-muted);
}

.vs-foot__note {
  max-width: 64em;
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--vs-muted);
}

@media (max-width: 900px) {
  .vs-foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .vs-foot__grid { grid-template-columns: 1fr; }
}

/* ---------- torna in cima ---------- */

.vs-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: var(--vs-pill);
  background: var(--vs-accent);
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, background 0.16s ease;
}

.vs-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.vs-top:hover { background: var(--vs-accent-deep); }
.vs-top:active { transform: translateY(1px); }

.vs-has-notice .vs-top {
  opacity: 0;
  visibility: hidden;
}

/* ---------- avviso cookie ---------- */

.vs-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  padding: 20px 22px;
  background: var(--vs-paper);
  box-shadow: 0 16px 44px rgba(17, 17, 17, 0.16);
}

.vs-cookie[hidden] { display: none; }

.vs-cookie__txt {
  flex: 1 1 380px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--vs-body);
}

.vs-cookie__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.vs-cookie .vs-btn {
  min-height: 48px;
  padding: 0 22px;
  font-size: 15px;
}

.vs-cookie__link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 8px;
  color: var(--vs-accent);
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- pagine di testo ---------- */

.vs-doc { padding: clamp(44px, 6vw, 84px) 0 clamp(48px, 6vw, 92px); }

.vs-doc h1 { font-size: clamp(32px, 5vw, 54px); }

.vs-doc__date {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--vs-muted);
}

.vs-doc h2 {
  margin: clamp(34px, 4vw, 54px) 0 12px;
  font-size: clamp(22px, 2.6vw, 30px);
}

.vs-doc h3 {
  margin: 26px 0 8px;
  font-size: 19px;
}

.vs-doc p,
.vs-doc li {
  max-width: 44em;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--vs-body);
}

.vs-doc p { margin: 0 0 14px; }

.vs-doc ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.vs-doc li { margin: 0 0 9px; }

.vs-doc code {
  padding: 2px 7px;
  background: var(--vs-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.vs-doc__back { margin: 36px 0 0; }

.vs-404 {
  padding: clamp(70px, 11vw, 150px) 0;
  text-align: center;
}

.vs-404 h1 { font-size: clamp(38px, 7vw, 76px); }

.vs-404 p {
  max-width: 34em;
  margin: 22px auto 32px;
  font-size: 18px;
  color: var(--vs-body);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* indice tematico nell'apertura */
.vs-hero__index{list-style:none;margin:44px auto 0;padding:0;max-width:720px;text-align:left}
.vs-hero__ix{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:baseline;padding:14px 0}
.vs-hero__ix + .vs-hero__ix{box-shadow:inset 0 1px 0 rgba(17,17,17,.10)}
.vs-hero__ixk{font-family:"Instrument Serif",Georgia,"Times New Roman",serif;font-size:22px;color:var(--vs-accent);min-width:200px}
.vs-hero__ixv{font-size:16px;line-height:1.5;color:#3f4a46;flex:1 1 260px}
@media (max-width:620px){.vs-hero__ixk{min-width:0;font-size:20px}.vs-hero__ixv{flex-basis:100%}}
