/*
Theme Name: Sara Terigi — Veterinario Nutrizionista
Theme URI: https://www.saraterigi.it/
Author: Vittorio Di Fiore
Description: Tema personalizzato per Dott.ssa Sara Terigi, Veterinario Nutrizionista. Design pixel-perfect dal prototipo HTML.
Version: 1.8.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietario
Text Domain: sara-terigi
*/

/* ================================================================
   SELF-HOSTED FONTS (Latin + Latin-Ext)
   Generated from Google Fonts — no external CDN requests
   ================================================================ */

/* Caveat 500 700 — latin-ext */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/caveat-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Caveat 500 700 — latin */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('assets/fonts/caveat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* DM Sans 400 italic — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-sans-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans 400 italic — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-sans-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* DM Sans 300 600 — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/dm-sans-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans 300 600 — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('assets/fonts/dm-sans.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Nunito 600 800 — latin-ext */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('assets/fonts/nunito-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Nunito 600 800 — latin */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('assets/fonts/nunito.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display 500 600 italic — latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url('assets/fonts/playfair-display-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display 500 600 italic — latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url('assets/fonts/playfair-display-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Playfair Display 600 800 — latin-ext */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('assets/fonts/playfair-display-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display 600 800 — latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('assets/fonts/playfair-display.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ================================================================
   DESIGN SYSTEM — Sara Terigi Veterinary Nutritionist
   Brand: beige caldo + navy + azzurro Canva + rosa vivace Canva
   Fonts: Nunito (brand font social Canva) + Caveat (cursiva accenti)
   ================================================================ */
:root {
  /* === COLORI BRAND === */
  --bg:           #F8F4F0;
  --bg-light:     #FDFBF8;
  --primary:      #2C3D51;
  --primary-dark: #1E3448;
  --accent:       #7FB8D0;
  --accent-soft:  #D0E9F4;
  --rose:         #E8A0BC;
  --rose-soft:    #FAEAF2;
  --warm:         #9E7B5A;
  --text:         #1A2B38;
  --text-sec:     #4E6070;
  --text-light:   #8A9BAA;
  --border:       #E0D8D2;
  --white:        #FFFFFF;

  /* === TIPOGRAFIA === */
  --ff-heading:   'Playfair Display', Georgia, serif;
  --ff-ui:        'Nunito', system-ui, sans-serif;
  --ff-body:      'DM Sans', system-ui, sans-serif;
  --ff-cursive:   'Caveat', cursive;

  /* === SPAZIATURA (8pt grid) === */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 56px;
  --sp-7: 80px;
  --sp-8: 112px;

  /* === BORDER RADIUS === */
  --r-sm:  4px;
  --r-md:  10px;
  --r-lg:  20px;
  --r-xl:  32px;
  --r-full: 9999px;

  /* === OMBRE === */
  --shadow-xs: 0 1px 3px rgba(26,43,56,0.05);
  --shadow-sm: 0 2px 8px rgba(26,43,56,0.07);
  --shadow-md: 0 6px 24px rgba(26,43,56,0.10);
  --shadow-lg: 0 16px 56px rgba(26,43,56,0.14);

  /* === CONTAINER === */
  --container: 1200px;
}

/* Skip link accessibilità */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ======================== RESET ======================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--ff-body); }

/* ======================== LAYOUT ======================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}
.section       { padding: var(--sp-8) 0; }
.section--sm   { padding: var(--sp-7) 0; }
.section--dark { background: var(--primary); }
.section--light { background: var(--bg-light); }

/* ======================== TYPOGRAPHY ======================== */
h1, h2 {
  font-family: var(--ff-heading);
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -0.01em;
}
h3, h4, h5 {
  font-family: var(--ff-ui);
  line-height: 1.25;
  color: var(--text);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.2vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.75rem);   font-weight: 600; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem);  font-weight: 700; }
p  { color: var(--text-sec); line-height: 1.8; font-weight: 400; }

em {
  font-family: var(--ff-heading);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--r-full);
  background: var(--accent-soft);
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}
.section-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.blob-deco {
  position: absolute;
  border-radius: 50%;
  background: var(--rose-soft);
  pointer-events: none;
  z-index: 0;
}
.section-header {
  text-align: center;
  margin-bottom: var(--sp-7);
}
.section-header h2  { margin-bottom: var(--sp-2); }
.section-header p   { max-width: 520px; margin: 0 auto; }

/* ======================== BUTTONS ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--r-md);
  font-family: var(--ff-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--bg);
  border-color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-rose {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
  font-weight: 700;
}
.btn-rose:hover {
  background: #d9869e;
  border-color: #d9869e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,160,188,0.4);
}


/* ================================================================
   1. NAVBAR
   ================================================================ */
/* WordPress admin bar: sposta la navbar sotto la barra admin (solo per utenti loggati) */
.admin-bar .navbar { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .navbar { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .navbar { top: 46px; } }

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 var(--sp-3);
  background: var(--primary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.navbar-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  line-height: 1;
  text-decoration: none;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.navbar-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  position: relative;
  transition: color 0.2s;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 100%;
  height: 1.5px;
  background: var(--accent);
  transition: right 0.25s ease;
}
.navbar-nav a:hover { color: var(--white); }
.navbar-nav a:hover::after { right: 0; }
.navbar-btn { display: flex; align-items: center; }
.navbar-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: all 0.25s;
}


/* ================================================================
   2. HERO
   ================================================================ */
.hero {
  min-height: clamp(560px, 78vh, 820px);
  max-height: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: "head visual" "body visual";
  padding-top: 72px;
  overflow: hidden;
  position: relative;
}
/* Desktop: colonna sinistra = head (pill+h1) sopra, body (lead+cta+trust) sotto */
.hero-head {
  grid-area: head;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--sp-6) var(--sp-3) max(var(--sp-4), calc((100vw - var(--container)) / 2 + var(--sp-3)));
}
.hero-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: var(--sp-3) var(--sp-6) var(--sp-8) max(var(--sp-4), calc((100vw - var(--container)) / 2 + var(--sp-3)));
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
  width: fit-content;
}
.hero-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-head h1 {
  margin-bottom: var(--sp-3);
  max-width: 540px;
}
.hero-head h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: var(--sp-5);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-sec);
}
.trust-icon {
  width: 34px; height: 34px;
  background: var(--rose-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.hero-visual {
  grid-area: visual;
  position: relative;
  background: var(--primary);
  overflow: hidden;
  isolation: isolate;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(30,52,72,0.45) 100%
  );
  pointer-events: none;
}

.paw-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: var(--rose);
  opacity: 0.07;
}
.paw-deco svg { display: block; fill: currentColor; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-hidden.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-hidden.delay-1 { transition-delay: 0.1s; }
.animate-hidden.delay-2 { transition-delay: 0.2s; }
.animate-hidden.delay-3 { transition-delay: 0.3s; }
.animate-hidden.delay-4 { transition-delay: 0.4s; }
.animate-hidden.delay-5 { transition-delay: 0.5s; }

.hero-badge {
  position: absolute;
  bottom: var(--sp-5);
  left: var(--sp-3);
  z-index: 10;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 16px 20px 16px 16px;
  box-shadow: 0 8px 32px rgba(26,43,56,0.20), 0 2px 8px rgba(26,43,56,0.08);
  min-width: 210px;
  border: 1px solid rgba(255,255,255,0.85);
  animation: fadeIn 0.6s ease 1.2s both;
}
.hero-badge-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hero-badge-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 2px solid var(--rose-soft);
}
.hero-badge-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.hero-badge-star {
  color: #F59E0B;
  font-size: 1rem;
}
.hero-badge-score {
  font-family: var(--ff-ui);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text);
}
.hero-badge-name {
  font-family: var(--ff-ui);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
  line-height: 1.2;
}
.hero-badge-role {
  font-size: 0.72rem;
  color: var(--text-sec);
  font-weight: 500;
}


/* ================================================================
   3. STATS BAR
   ================================================================ */
.stats-bar {
  background: var(--primary);
  padding: var(--sp-7) 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(232,160,188,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.stats-bar::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(127,184,208,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  position: relative;
  z-index: 1;
}
.stat-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-3);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, transform 0.3s;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.stat-item:nth-child(1)::before { background: linear-gradient(90deg, var(--rose), var(--accent)); }
.stat-item:nth-child(2)::before { background: linear-gradient(90deg, var(--accent), var(--rose)); }
.stat-item:nth-child(3)::before { background: linear-gradient(90deg, var(--rose), var(--accent)); }
.stat-item:nth-child(4)::before { background: linear-gradient(90deg, var(--accent), var(--rose)); }
.stat-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-3px);
}
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: rgba(232,160,188,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-3);
}
.stat-icon svg {
  width: 22px; height: 22px;
  stroke: var(--rose);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stat-item:nth-child(even) .stat-icon {
  background: rgba(127,184,208,0.15);
}
.stat-item:nth-child(even) .stat-icon svg {
  stroke: var(--accent);
}
.stat-number {
  font-family: var(--ff-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--sp-1);
  letter-spacing: -0.02em;
}
.stat-number .stat-unit {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--rose);
  letter-spacing: 0;
}
.stat-item:nth-child(even) .stat-number .stat-unit {
  color: var(--accent);
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.58);
  font-weight: 500;
  line-height: 1.4;
  max-width: 160px;
  margin: 0 auto;
  letter-spacing: 0.04em;
}


/* ================================================================
   4. CHI SONO
   ================================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--sp-7);
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-inner {
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.about-img-inner img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.about-img-inner:hover img {
  transform: scale(1.045);
}
.about-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-2) var(--sp-3);
  box-shadow: var(--shadow-lg);
}
.about-card--master {
  top: var(--sp-4);
  right: calc(-1 * var(--sp-5));
  max-width: 210px;
}
.about-card--dog {
  bottom: var(--sp-4);
  right: calc(-1 * var(--sp-5));
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 3px;
}
.card-value {
  font-family: var(--ff-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.dog-icon { font-size: 26px; }
.dog-info .card-value { font-size: 0.875rem; }
.dog-info .card-label { margin-bottom: 2px; }

.about-content h2    { margin-bottom: var(--sp-3); }
.about-content p     { margin-bottom: var(--sp-3); }
.credentials-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin: var(--sp-4) 0 var(--sp-5);
}
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: 14px var(--sp-3);
  background: var(--bg);
  border-radius: var(--r-md);
  border-left: 3px solid var(--accent);
}
.cred-year {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  min-width: 40px;
  padding-top: 2px;
}
.cred-text {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.55;
}
.cred-text strong { color: var(--text); font-weight: 600; }


/* ================================================================
   5. COME FUNZIONA
   ================================================================ */
.how-timeline {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.how-tstep {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: var(--sp-3);
  position: relative;
  padding-bottom: var(--sp-4);
}
.how-tstep:last-child { padding-bottom: 0; }
.how-tstep::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 58px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-soft), var(--rose-soft));
}
.how-tstep:last-child::before { display: none; }
.tstep-circle {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  background: var(--white);
  border: 2px solid var(--accent-soft);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.how-tstep:first-child .tstep-circle {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.how-tstep:hover .tstep-circle {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.06);
}
.tstep-body { padding-top: 8px; }
.tstep-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--sp-1);
  color: var(--text);
}
.tstep-body p {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.7;
}
.tstep-body strong {
  color: var(--primary);
  font-weight: 600;
}
.tstep-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.tstep-link:hover { color: var(--accent); }
@media (max-width: 600px) {
  .how-tstep { grid-template-columns: 44px 1fr; gap: var(--sp-2); }
  .tstep-circle { width: 44px; height: 44px; font-size: 1rem; }
  .how-tstep::before { left: 21px; top: 48px; }
}


/* ================================================================
   6. SERVIZI
   ================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.service-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.28s, transform 0.28s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.service-card-header {
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
}
.service-card:nth-child(1) .service-card-header {
  background: linear-gradient(140deg, #EBF5FD 0%, #D0E8F8 100%);
}
.service-card:nth-child(2) .service-card-header {
  background: linear-gradient(140deg, #FEF0F6 0%, #F2DCE9 100%);
}
.service-card:nth-child(3) .service-card-header {
  background: linear-gradient(140deg, #F4F7F0 0%, #E5EEE1 100%);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--white);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: var(--sp-2);
  box-shadow: var(--shadow-xs);
}
/* Icona SVG custom: riduce padding interno e imposta colore tema */
.service-icon--svg {
  padding: 8px;
  color: var(--primary);
}
.service-icon--svg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.service-card-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}
.service-card-body {
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-body > p {
  font-size: 0.875rem;
  margin-bottom: var(--sp-3);
  line-height: 1.7;
}
.service-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--sp-3);
}
.price-amount {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.price-detail {
  font-size: 0.8125rem;
  color: var(--text-light);
}
.service-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: var(--sp-4);
  flex: 1;
}
.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--text-sec);
  line-height: 1.5;
}
.feat-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.services-note {
  text-align: center;
  margin-top: var(--sp-4);
  font-size: 0.8125rem;
  color: var(--text-light);
}
.services-note span {
  display: inline-block;
  margin: 0 var(--sp-1);
}
/* ── Scheda consulenza in presenza ── */
.presenza-card {
  max-width: 860px;
  margin: var(--sp-4) auto 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px 1fr;
  box-shadow: var(--shadow-sm);
}
.presenza-visual {
  background: linear-gradient(140deg, #F4F7F0 0%, #E5EEE1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4C6B4A;
}
.presenza-visual svg { width: 56px; height: 56px; }
.presenza-content { padding: var(--sp-3) var(--sp-4); }
.presenza-content h3 {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: var(--sp-1);
}
.presenza-content > p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}
.presenza-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.presenza-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.45;
}
.presenza-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #8FB98A;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
@media (max-width: 680px) {
  .presenza-card { grid-template-columns: 1fr; }
  .presenza-visual { padding: var(--sp-3) 0; }
}


/* ================================================================
   7. RECENSIONI
   ================================================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.review-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: var(--r-xl);
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  transition: background 0.25s;
}
.review-card:hover {
  background: rgba(255,255,255,0.11);
}
.review-stars {
  color: #F9C24A;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: var(--sp-2);
}
.review-quote {
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(255,255,255,0.83);
  line-height: 1.78;
  margin-bottom: var(--sp-3);
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
}
.review-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--white);
  margin-bottom: 2px;
}
.review-pet {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.reviews-summary {
  text-align: center;
  margin-bottom: var(--sp-6);
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
}
.reviews-summary strong {
  color: var(--white);
  font-size: 1.5rem;
  font-family: var(--ff-heading);
  display: block;
  margin-bottom: 4px;
}


/* ================================================================
   8. VET PARTNERSHIPS
   ================================================================ */
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}
.partner-chip {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-sec);
  letter-spacing: 0.04em;
  opacity: 0.6;
  transition: opacity 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.partner-chip:hover {
  opacity: 1;
  box-shadow: var(--shadow-sm);
}
.partners-title {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--sp-5);
}


/* ================================================================
   9. FAQ
   ================================================================ */
.faq-layout {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--sp-7);
  align-items: start;
}
.faq-intro h2   { margin-bottom: var(--sp-2); }
.faq-intro p    { margin-bottom: var(--sp-4); font-size: 0.9375rem; }
.faq-list {
  background: var(--bg-light);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  transition: background 0.18s;
}
.faq-btn:hover { background: var(--bg); }
.faq-btn.open   { color: var(--primary); }
.faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 300;
  color: var(--text-sec);
  transition: transform 0.28s ease, background 0.22s;
}
.faq-btn.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-soft);
  color: var(--primary);
}
.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s ease, padding 0.3s;
  padding: 0 var(--sp-4);
}
.faq-body.open {
  max-height: 400px;
  padding: 0 var(--sp-4) var(--sp-3);
}
.faq-body p {
  font-size: 0.9rem;
  line-height: 1.75;
}


/* ================================================================
   10. CTA FINALE
   ================================================================ */
.cta-box {
  background: var(--primary);
  border-radius: var(--r-xl);
  padding: var(--sp-7) var(--sp-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
  overflow: hidden;
  position: relative;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(123,174,200,0.1);
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px; right: 220px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(201,160,176,0.08);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content .section-tag { background: rgba(255,255,255,0.10); color: var(--accent-soft); }
.cta-content h2 {
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.cta-content p {
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-5);
  font-size: 1rem;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.cta-visual {
  position: relative;
  z-index: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cta-visual:hover img {
  transform: scale(1.045);
}


/* ================================================================
   11. FOOTER
   ================================================================ */
.footer {
  background: #111E29;
  padding: var(--sp-7) 0 var(--sp-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.footer-logo-link { display: inline-block; }
.footer-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  margin-bottom: 0;
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  margin-top: var(--sp-3);
  line-height: 1.75;
}
.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-3);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-2);
}
.footer-contact-item svg { flex-shrink: 0; opacity: 0.5; }
hr.footer-hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-bottom: var(--sp-4);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
}
.footer-credit strong {
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.footer-socials {
  display: flex;
  gap: var(--sp-1);
}
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background 0.2s, color 0.2s;
}
.social-icon:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto clamp(280px, 78vw, 520px) auto;
    grid-template-areas: "head" "visual" "body";
    min-height: auto;
    max-height: none;
    overflow-x: hidden;
    overflow-y: visible;
  }
  .hero-head {
    justify-content: flex-end;
    padding: var(--sp-2) var(--sp-4) var(--sp-2);
    text-align: center;
    align-items: center;
  }
  .hero-head h1 { max-width: 100%; margin-bottom: 0; }
  .hero-body {
    justify-content: flex-start;
    padding: var(--sp-2) var(--sp-4) var(--sp-5);
    text-align: center;
    align-items: center;
  }
  .hero-visual > img { object-position: center 8%; }
  .hero-badge { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .about-img-wrap { max-width: 340px; margin: 0 auto; }
  .about-card--master { right: 0; top: var(--sp-3); }
  .about-card--dog    { right: 0; bottom: var(--sp-3); }
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .reviews-grid  { grid-template-columns: 1fr; }
  .faq-layout    { grid-template-columns: 1fr; }
  .cta-box       { grid-template-columns: 1fr; }
  .cta-visual    { display: none; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-2) 0 var(--sp-3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    z-index: 199;
  }
  .navbar-nav.is-open { display: flex; }
  .navbar-nav a {
    padding: var(--sp-2) var(--sp-4);
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .navbar-nav a:last-child { border-bottom: none; }
  .navbar-btn { display: none; }
  .hamburger  { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-box    { padding: var(--sp-5) var(--sp-4); }
  .paw-deco   { display: none; }
  /* ── Hero mobile: titolo → foto → descrizione + CTA ── */
  .hero-head {
    text-align: center;
    align-items: center;
  }
  .hero-body {
    text-align: center;
    align-items: center;
  }
  .hero-lead       { max-width: 100%; margin-bottom: var(--sp-3); }
  .hero-actions    { justify-content: center; margin-bottom: var(--sp-3); }
  .hero-actions .btn-outline { display: none; }
  .hero-actions .btn-primary { min-width: 240px; justify-content: center; }
  .hero-trust      { justify-content: center; }
  /* ── Giunzione hero→stats: arrotondamento con leggero overlap ── */
  .stats-bar {
    border-radius: 24px 24px 0 0;
    margin-top: -24px;
    position: relative;
    z-index: 2;
  }
  .about-card--master {
    right: var(--sp-2);
    top: var(--sp-2);
    max-width: 150px;
    padding: 8px 10px;
  }
  .about-card--dog {
    right: var(--sp-2);
    bottom: var(--sp-2);
    padding: 8px 10px;
  }
  .card-value { font-size: 0.78rem; }
}

@media (max-width: 480px) {
  .stats-grid  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .partners-row { gap: var(--sp-2); }
  .hero {
    grid-template-rows: auto clamp(240px, 90vw, 380px) auto;
    grid-template-areas: "head" "visual" "body";
  }
  .hero-head { padding: var(--sp-1) var(--sp-3) var(--sp-1); }
  .hero-body { padding: var(--sp-1) var(--sp-3) var(--sp-4); }
  /* 2 service card → 1 colonna su schermi piccoli */
  .services-grid--2 { grid-template-columns: 1fr; }
  /* Footer credit: "Design by" sempre su riga intera propria */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
  }
  .credit-sep { display: none; }
  .credit-design { display: block; white-space: nowrap; font-size: 0.75rem; }
}


/* ================================================================
   REVIEWS CAROUSEL
   ================================================================ */
.reviews-carousel {
  position: relative;
}
.reviews-viewport {
  overflow: hidden;
  padding: 4px 0 var(--sp-1);
}
.reviews-track {
  display: flex;
  gap: var(--sp-3);
  transition: transform 0.44s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc((100% - 2 * var(--sp-3)) / 3);
}

.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, opacity 0.2s, transform 0.2s;
  margin-top: calc(-1 * var(--sp-4));
}
.review-arrow:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-50%) scale(1.05);
}
.review-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}
.review-arrow:disabled:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-50%) scale(1);
}
.review-prev { left: calc(-1 * var(--sp-6)); }
.review-next { right: calc(-1 * var(--sp-6)); }

.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--sp-5);
}
.review-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.review-dot.active {
  background: var(--rose);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .review-prev { left: -8px; }
  .review-next { right: -8px; }
}
@media (max-width: 768px) {
  .review-card { flex: 0 0 min(80vw, 360px); }
  .review-arrow { display: none; }
  .reviews-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .reviews-viewport::-webkit-scrollbar { display: none; }
  .review-card { scroll-snap-align: start; }
}


/* ================================================================
   NEWSLETTER
   ================================================================ */
.newsletter-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,184,208,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,188,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.newsletter-icon {
  width: 60px; height: 60px;
  background: var(--accent-soft);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-3);
  color: var(--accent);
}
.newsletter-inner h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  margin-bottom: var(--sp-2);
}
.newsletter-inner > p {
  font-size: 0.9375rem;
  max-width: 440px;
  margin: 0 auto var(--sp-4);
}
.newsletter-form {
  display: flex;
  gap: var(--sp-2);
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  padding: 13px var(--sp-3);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(127,184,208,0.15);
}
.newsletter-note {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: var(--sp-2);
}
/* ── Brevo (SIB) form override per coerenza col tema ─────── */
.newsletter-brevo {
  max-width: 460px;
  margin: 0 auto var(--sp-3);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.newsletter-brevo *,
.newsletter-brevo form,
.newsletter-brevo .sib-form,
.newsletter-brevo .sib-form-block,
.newsletter-brevo .sib-form-block__content,
.newsletter-brevo .sib-container,
.newsletter-brevo .sib-container--main,
.newsletter-brevo .sib-form-block__button-with-loader {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.newsletter-brevo input[type="email"] {
  flex: 1;
  padding: 13px var(--sp-3) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--r-md) !important;
  font-family: var(--ff-body) !important;
  font-size: 0.9375rem !important;
  color: var(--text) !important;
  background: var(--white) !important;
  outline: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin-bottom: var(--sp-2) !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
.newsletter-brevo input[type="email"]:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(127,184,208,0.15) !important;
}
.newsletter-brevo input[type="submit"],
.newsletter-brevo button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 13px var(--sp-5) !important;
  background: var(--accent) !important;
  color: var(--white) !important;
  font-family: var(--ff-body) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: var(--r-md) !important;
  cursor: pointer !important;
  width: 100% !important;
  transition: background 0.2s !important;
}
.newsletter-brevo input[type="submit"]:hover,
.newsletter-brevo button[type="submit"]:hover {
  background: var(--primary) !important;
}
.newsletter-brevo .sib-form-message-panel,
.newsletter-brevo .sib-form-block__error,
.newsletter-brevo .entry__error { display: none !important; }
@media (max-width: 540px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-input { text-align: center; }
  .newsletter-form .btn { width: 100%; }
}


/* ================================================================
   CTA BOOK BUTTON
   ================================================================ */
.cta-actions--book {
  margin-bottom: var(--sp-1);
}
.cta-book-btn {
  padding: 16px 36px;
  font-size: 1rem;
  letter-spacing: 0.015em;
}
.cta-or {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: var(--sp-3) 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cta-or::before,
.cta-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
}


/* ================================================================
   SERVICES GRID — 2 CARD VARIANT (centrate)
   ================================================================ */
.services-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 900px) {
  .services-grid--2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

/* ================================================================
   MOBILE CAROUSELS — scorrevoli orizzontali
   ================================================================ */

/* ── Services carousel mobile ── */
@media (max-width: 768px) {
  .services-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    max-width: none !important;
    margin-left: calc(-1 * var(--sp-3)) !important;
    margin-right: calc(-1 * var(--sp-3)) !important;
    padding: 0 var(--sp-3) var(--sp-2);
    gap: var(--sp-3);
  }
  .services-grid::-webkit-scrollbar { display: none; }
  .service-card {
    flex: 0 0 min(86vw, 360px);
    scroll-snap-align: start;
  }
}

/* ── Stats carousel su schermi molto piccoli ── */
@media (max-width: 480px) {
  .stats-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: var(--sp-3);
    padding-bottom: var(--sp-2);
  }
  .stats-grid::-webkit-scrollbar { display: none; }
  .stat-item {
    flex: 0 0 min(75vw, 260px);
    scroll-snap-align: center;
  }
}

/* ================================================================
   PAGE.PHP — Contenuto pagine statiche (Privacy, Cookie, ecc.)
   ================================================================ */
.entry-content {
  line-height: 1.8;
  color: var(--text-sec);
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--text);
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
}
.entry-content h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.entry-content h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.entry-content p  { margin-bottom: var(--sp-3); }
.entry-content ul,
.entry-content ol {
  margin: 0 0 var(--sp-3) var(--sp-4);
  list-style: disc;
}
.entry-content ol  { list-style: decimal; }
.entry-content li  { margin-bottom: var(--sp-1); color: var(--text-sec); line-height: 1.75; }
.entry-content a   { color: var(--accent); text-decoration: underline; }
.entry-content a:hover { color: var(--primary); }
.entry-content strong { color: var(--text); font-weight: 600; }
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-4);
  font-size: 0.9rem;
}
.entry-content table th,
.entry-content table td {
  border: 1px solid var(--border);
  padding: var(--sp-2) var(--sp-2);
  text-align: left;
}
.entry-content table th { background: var(--bg); font-weight: 600; color: var(--text); }
/* Complianz cookie table override */
.entry-content .cmplz-document table { margin-bottom: var(--sp-3); }
