/* ============================================================
   PET GUARDIAN PLAN — Sito web
   Foglio di stile condiviso
   ============================================================ */

@font-face {
  font-family: 'Garamond';
  src: url('GARA.TTF') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* Brand */
  --ambra:        #C17F4A;
  --ambra-600:    #A86D35;
  --ambra-dark:   #8B5A2B;
  --ambra-300:    #E8B88A;
  --ambra-100:    #F5E4CC;
  --ambra-50:     #FBF4EB;
  --salvia:       #5B7E6A;
  --salvia-700:   #3D6150;
  --salvia-800:   #2E5140;
  --salvia-100:   #E0EDEA;
  --salvia-50:    #F2F8F5;
  --pesca:        #E8A87C;

  /* Neutrals (warm) */
  --n-900: #1A100C;
  --n-800: #2C2420;
  --n-700: #46382F;
  --n-600: #6B5B52;
  --n-500: #8C7B71;
  --n-400: #A09088;
  --n-300: #C4B8B0;
  --n-200: #D5C9C3;
  --n-100: #EDE6E0;
  --n-50:  #F5F0E8;
  --bg:    #FDFAF5;

  --font-display: 'Garamond', 'Georgia', serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;

  --shadow-sm:  0 1px 3px rgba(44,36,32,0.08);
  --shadow-md:  0 4px 12px rgba(44,36,32,0.10);
  --shadow-lg:  0 8px 24px rgba(44,36,32,0.12);
  --shadow-xl:  0 16px 48px rgba(44,36,32,0.14);

  --wrap: 1160px;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--n-800);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--salvia);
}
.display {
  font-family: var(--font-display); font-weight: 400;
  line-height: 1.08; letter-spacing: -0.015em; color: var(--n-800);
}
.display em { font-style: italic; color: var(--ambra); }
.lead { font-size: 19px; line-height: 1.7; color: var(--n-600); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(253,250,245,0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--n-200);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 32px;
  height: 74px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.nav-logo-img { height: 38px; width: auto; flex-shrink: 0; }
@media (max-width: 560px) { .nav-logo-img { height: 34px; } }
.nav-brand {
  font-family: var(--font-display); font-size: 22px; color: var(--n-800);
  letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 15px; color: var(--n-700); text-decoration: none;
  transition: color 200ms; position: relative;
}
.nav-links a:hover { color: var(--ambra); }
.nav-links a.active { color: var(--ambra); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-size: 14px; color: var(--n-600); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.nav-phone:hover { color: var(--ambra); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--n-800); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer; border: none;
  padding: 13px 24px; border-radius: 8px; transition: all 200ms ease-out;
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-primary { background: var(--ambra); color: #fff; }
.btn-primary:hover { background: var(--ambra-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: scale(0.985); }
.btn-outline { background: transparent; color: var(--n-700); border: 1.5px solid var(--n-200); }
.btn-outline:hover { border-color: var(--ambra); color: var(--ambra); }
.btn-ghost { background: transparent; color: var(--n-600); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--ambra); }
.btn-white { background: #fff; color: var(--ambra-dark); }
.btn-white:hover { background: var(--ambra-50); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 104px 0; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: 46px; line-height: 1.12; letter-spacing: -0.015em; color: var(--n-800); margin-bottom: 18px; }
.section-title em { font-style: italic; color: var(--ambra); }
.section-lead { font-size: 18px; line-height: 1.7; color: var(--n-600); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-alt { background: var(--n-50); }
.bg-sage { background: var(--salvia-50); }
.bg-amber { background: var(--ambra-50); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--n-200); border-radius: 16px;
  padding: 30px; box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 50px; height: 50px; border-radius: 13px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-icon.amber { background: var(--ambra-50); color: var(--ambra); }
.feature-icon.sage  { background: var(--salvia-50); color: var(--salvia); }
.feature-title { font-size: 18px; font-weight: 600; color: var(--n-800); margin-bottom: 9px; }
.feature-desc { font-size: 15px; line-height: 1.65; color: var(--n-600); }

/* ---------- Pill / badge ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 5px 13px; border-radius: 999px;
}
.pill-sage { background: var(--salvia-100); color: var(--salvia-700); border: 1px solid #A8C4B4; }
.pill-amber { background: var(--ambra-100); color: var(--ambra-dark); border: 1px solid var(--ambra-300); }

/* ---------- Image frames ---------- */
.imgframe { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.imgframe img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { background: var(--ambra); padding: 92px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band .mark-wm { position: absolute; right: -40px; bottom: -60px; width: 320px; opacity: 0.10; pointer-events: none; }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; font-size: 50px; line-height: 1.1; color: #fff; margin-bottom: 18px; }
.cta-band p { font-size: 19px; color: rgba(255,255,255,0.86); margin-bottom: 36px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--n-900); color: var(--n-300); padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand-row img { height: 40px; width: auto; }
.footer-blurb { font-size: 14px; line-height: 1.7; color: var(--n-400); max-width: 300px; }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ambra-300); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; color: var(--n-300); text-decoration: none; margin-bottom: 12px; transition: color 200ms; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: var(--n-500); }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom .fb-links a { font-size: 13px; color: var(--n-500); text-decoration: none; }
.footer-bottom .fb-links a:hover { color: var(--n-300); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease-out, transform 600ms ease-out; }
  html.js .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .section-title { font-size: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-phone { display: none; }
  .nav-logo { margin-right: auto; }
  .nav-right { order: 2; }
  .nav-toggle { order: 3; margin-left: 16px; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--n-200);
    padding: 8px 0; box-shadow: var(--shadow-lg);
  }
  .nav-links.open a { padding: 14px 32px; width: 100%; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  section { padding: 72px 0; }
  .cta-band h2 { font-size: 36px; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.pgp-cookie {
  position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 1200;
  max-width: 760px; margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--n-200);
  border-radius: 18px;
  box-shadow: var(--shadow-xl);
  padding: 22px 24px;
  display: grid; grid-template-columns: 1fr; gap: 16px;
  opacity: 0; transform: translateY(16px);
  transition: opacity 360ms ease-out, transform 360ms ease-out;
}
.pgp-cookie.in { opacity: 1; transform: none; }
.pgp-cookie::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px;
  border-radius: 0 4px 4px 0; background: var(--ambra);
}
.pgp-cookie-head { display: flex; align-items: center; gap: 12px; }
.pgp-cookie-head img { width: 32px; height: 32px; flex-shrink: 0; }
.pgp-cookie-head h3 {
  font-family: var(--font-display); font-weight: 400; font-size: 22px;
  color: var(--n-800); line-height: 1;
}
.pgp-cookie-body p { font-size: 14.5px; line-height: 1.65; color: var(--n-600); margin: 0; }
.pgp-cookie-body a { color: var(--ambra-600); text-decoration: underline; text-underline-offset: 2px; }
.pgp-cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pgp-cookie-actions .spacer { flex: 1 1 auto; }
.pgp-ck-btn {
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  border-radius: 8px; padding: 11px 20px; cursor: pointer; border: none;
  transition: all 180ms ease-out; white-space: nowrap;
}
.pgp-ck-btn.solid { background: var(--ambra); color: #fff; }
.pgp-ck-btn.solid:hover { background: var(--ambra-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.pgp-ck-btn.outline { background: transparent; color: var(--n-700); border: 1.5px solid var(--n-200); }
.pgp-ck-btn.outline:hover { border-color: var(--salvia); color: var(--salvia-700); }
.pgp-ck-btn.text { background: transparent; color: var(--n-600); padding: 11px 12px; }
.pgp-ck-btn.text:hover { color: var(--ambra); }

/* Preferences modal */
.pgp-ck-overlay {
  position: fixed; inset: 0; z-index: 1300; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(26,16,12,0.42); opacity: 0; transition: opacity 240ms ease-out;
}
.pgp-ck-overlay.show { display: flex; }
.pgp-ck-overlay.in { opacity: 1; }
.pgp-ck-modal {
  background: var(--bg); border-radius: 20px; box-shadow: var(--shadow-xl);
  width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto;
  transform: translateY(14px) scale(0.98); transition: transform 240ms ease-out;
}
.pgp-ck-overlay.in .pgp-ck-modal { transform: none; }
.pgp-ck-modal-head { padding: 28px 30px 18px; border-bottom: 1px solid var(--n-100); }
.pgp-ck-modal-head .eyebrow { display: block; margin-bottom: 12px; color: var(--salvia-700); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.pgp-ck-modal-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--n-800); line-height: 1.1; }
.pgp-ck-modal-head em { font-style: italic; color: var(--ambra); }
.pgp-ck-list { padding: 8px 30px 4px; }
.pgp-ck-cat { padding: 20px 0; border-bottom: 1px solid var(--n-100); }
.pgp-ck-cat:last-child { border-bottom: none; }
.pgp-ck-cat-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 7px; }
.pgp-ck-cat-top h4 { font-size: 15.5px; font-weight: 600; color: var(--n-800); }
.pgp-ck-cat p { font-size: 13.5px; line-height: 1.6; color: var(--n-600); margin: 0; }
.pgp-ck-tag { font-size: 12px; font-weight: 600; color: var(--salvia-700); background: var(--salvia-50); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
/* toggle */
.pgp-sw { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.pgp-sw input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pgp-sw .track { position: absolute; inset: 0; background: var(--n-200); border-radius: 999px; transition: background 180ms ease-out; }
.pgp-sw .thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: var(--shadow-sm); transition: transform 180ms ease-out; }
.pgp-sw input:checked ~ .track { background: var(--salvia); }
.pgp-sw input:checked ~ .thumb { transform: translateX(20px); }
.pgp-sw input:disabled { cursor: not-allowed; }
.pgp-sw input:disabled ~ .track { background: var(--salvia-700); opacity: 0.55; }
.pgp-ck-modal-foot { display: flex; flex-wrap: wrap; gap: 10px; padding: 20px 30px 28px; }
.pgp-ck-modal-foot .pgp-ck-btn { flex: 1 1 auto; }

@media (max-width: 560px) {
  .pgp-cookie { left: 14px; right: 14px; bottom: 14px; padding: 20px; }
  .pgp-cookie-actions { gap: 8px; }
  .pgp-cookie-actions .pgp-ck-btn.solid,
  .pgp-cookie-actions .pgp-ck-btn.outline { flex: 1 1 auto; }
  .pgp-cookie-actions .spacer { display: none; }
}

/* ============================================================
   SELETTORE LINGUA (IT · EN · FR)
   ============================================================ */
.pgp-lang { position: relative; }
.pgp-lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--n-700);
  background: transparent; border: 1.5px solid var(--n-200); border-radius: 8px;
  padding: 8px 11px; cursor: pointer; transition: all 180ms ease-out; white-space: nowrap;
}
.pgp-lang-btn:hover { border-color: var(--ambra); color: var(--ambra); }
.pgp-lang-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.pgp-lang-caret { transition: transform 200ms ease-out; opacity: 0.7; }
.pgp-lang.open .pgp-lang-caret { transform: rotate(180deg); }
.pgp-lang-cur { line-height: 1; }
.pgp-lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px;
  background: var(--bg); border: 1px solid var(--n-200); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 6px; z-index: 300;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 180ms;
}
.pgp-lang.open .pgp-lang-menu { opacity: 1; visibility: visible; transform: none; }
.pgp-lang-item {
  display: flex; align-items: center; gap: 11px; width: 100%;
  font-family: var(--font-body); font-size: 14.5px; color: var(--n-700); text-align: left;
  background: transparent; border: none; border-radius: 8px; padding: 10px 12px; cursor: pointer;
  transition: background 160ms ease-out, color 160ms ease-out;
}
.pgp-lang-item:hover { background: var(--n-50); color: var(--n-800); }
.pgp-lang-item.active { color: var(--ambra); font-weight: 600; }
.pgp-lang-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 19px; flex-shrink: 0; border-radius: 4px;
  background: var(--salvia-100); color: var(--salvia-800);
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
}
.pgp-lang-item.active .pgp-lang-flag { background: var(--ambra-100); color: var(--ambra-dark); }
@media (max-width: 860px) {
  .pgp-lang-cur { display: none; }
  .pgp-lang-btn { padding: 8px 9px; }
}

/* ---- Nota traduzione di cortesia (pagine legali) ---- */
.pgp-legal-note {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 8px; margin-bottom: 8px; padding: 16px 20px;
  background: var(--salvia-50); border: 1px solid var(--salvia-100);
  border-left: 4px solid var(--salvia); border-radius: 12px;
}
.pgp-legal-note svg { width: 20px; height: 20px; color: var(--salvia-700); flex-shrink: 0; margin-top: 1px; }
.pgp-legal-note p { font-size: 14px; line-height: 1.6; color: var(--n-700); margin: 0; }

/* ============================================================
   v6 — LIVELLO DI RIFINITURA UX/UI
   Migliora tutte le pagine: tipografia fluida, profondità,
   micro-interazioni e accessibilità. Nessuna modifica ai
   contenuti o alla struttura — solo presentazione e comportamento.
   ============================================================ */

/* ---- Qualità del testo ---- */
html { -webkit-text-size-adjust: 100%; }
body { text-rendering: optimizeLegibility; }
h1, h2, h3, .section-title, .display, .cta-band h2, .page-hero h1 { text-wrap: balance; }
p, .lead, .section-lead, .feature-desc, .footer-blurb { text-wrap: pretty; }
::selection { background: var(--ambra-100); color: var(--ambra-dark); }

/* ---- Accessibilità: focus visibile su tutti gli elementi interattivi ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible,
.btn:focus-visible,
.pgp-ck-btn:focus-visible,
.pgp-lang-btn:focus-visible,
.pgp-lang-item:focus-visible,
.faq-q:focus-visible {
  outline: 2.5px solid var(--ambra);
  outline-offset: 3px;
  border-radius: 8px;
}
.btn:focus:not(:focus-visible) { outline: none; }

/* ---- Tipografia fluida per i titoli condivisi ----
   (la specificità con "body" supera le regole inline per-pagina;
   clamp() rende la scala continua, senza salti ai breakpoint) */
body .section-title { font-size: clamp(32px, 1.55rem + 2.1vw, 48px); line-height: 1.12; }
body .page-hero h1  { font-size: clamp(38px, 1.7rem + 3.1vw, 58px); line-height: 1.06; letter-spacing: -0.02em; }
body .cta-band h2   { font-size: clamp(32px, 1.4rem + 2.6vw, 52px); }
body .hero h1       { font-size: clamp(40px, 1.6rem + 3.4vw, 64px); }
.lead, .section-lead { max-width: 62ch; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---- Ritmo verticale fluido ---- */
section { padding: clamp(64px, 8vw, 108px) 0; }

/* ---- Eyebrow editoriale (lineetta guida) ---- */
.eyebrow { position: relative; }
.section-head:not(.center) .eyebrow::before {
  content: ""; display: inline-block; width: 22px; height: 1.5px;
  background: currentColor; opacity: 0.55; vertical-align: middle;
  margin-right: 11px; border-radius: 2px;
}

/* ---- NAV: ombra alla scroll + sottolineatura animata ---- */
.nav { transition: box-shadow 320ms ease, background 320ms ease, border-color 320ms ease; }
.nav.scrolled {
  background: rgba(253,250,245,0.93);
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(44,36,32,0.05), 0 10px 30px -16px rgba(44,36,32,0.35);
}
.nav-links a { padding: 6px 1px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px;
  height: 2px; border-radius: 2px; background: var(--ambra);
  transition: right 260ms cubic-bezier(.4,.6,.2,1);
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
@media (max-width: 860px) { .nav-links.open a::after { display: none; } }

/* ---- BOTTONI: micro-interazioni e ombre rifinite ---- */
.btn {
  border-radius: 10px;
  transition: transform 220ms cubic-bezier(.2,.7,.3,1), box-shadow 220ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn-primary { box-shadow: 0 1px 2px rgba(139,90,43,0.22), 0 8px 18px -8px rgba(193,127,74,0.55); }
.btn-primary:hover { box-shadow: 0 2px 5px rgba(139,90,43,0.24), 0 14px 30px -10px rgba(193,127,74,0.65); }
.btn-white { box-shadow: 0 1px 2px rgba(44,36,32,0.10), 0 10px 24px -10px rgba(44,36,32,0.30); }
.btn svg { transition: transform 240ms cubic-bezier(.2,.7,.3,1); }
.btn:hover svg.lucide-arrow-right,
.btn:hover svg[data-lucide="arrow-right"] { transform: translateX(4px); }

/* ---- CARD: profondità più morbida e a strati ---- */
.card {
  border-color: rgba(44,36,32,0.07);
  box-shadow: 0 1px 2px rgba(44,36,32,0.04), 0 12px 32px -14px rgba(44,36,32,0.18);
}
.service-card { transition: transform 260ms cubic-bezier(.2,.7,.3,1), box-shadow 260ms ease; }
.service-card:hover { box-shadow: 0 2px 6px rgba(44,36,32,0.06), 0 22px 48px -18px rgba(44,36,32,0.26); }

/* ---- Icone feature: anello interno sottile ---- */
.feature-icon { box-shadow: inset 0 0 0 1px rgba(193,127,74,0.12); }
.feature-icon.sage { box-shadow: inset 0 0 0 1px rgba(91,126,106,0.16); }

/* ---- Cornici immagine: anello + zoom delicato ---- */
.imgframe { box-shadow: 0 1px 2px rgba(44,36,32,0.06), 0 26px 64px -24px rgba(44,36,32,0.30); }
.imgframe::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(44,36,32,0.07); pointer-events: none;
}
.imgframe img { transition: transform 700ms cubic-bezier(.2,.7,.3,1); }
.imgframe:hover img { transform: scale(1.035); }

/* ---- Piano in evidenza (pagina Piani): bagliore ambra ---- */
body .plan.featured {
  box-shadow: 0 2px 8px rgba(44,36,32,0.14), 0 34px 70px -28px rgba(193,127,74,0.5);
}

/* ---- FAQ: stato hover sulla domanda ---- */
.faq-q { transition: color 180ms ease; }
.faq-q:hover { color: var(--ambra); }

/* ---- CTA band: luce radiale + contenuto in primo piano ---- */
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(115% 130% at 82% -10%, rgba(255,255,255,0.18), transparent 56%);
}
.cta-band .wrap { position: relative; z-index: 1; }

/* ---- Footer: hover dei link più rifinito ---- */
.footer-col a { width: fit-content; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ambra-300); }

/* ---- Skip-link accessibile (inserito da site.js) ---- */
.pgp-skip {
  position: fixed; top: 12px; left: 50%; z-index: 1400;
  transform: translate(-50%, -160%);
  background: var(--ambra); color: #fff; font-family: var(--font-body);
  font-size: 14px; font-weight: 600; text-decoration: none;
  padding: 11px 20px; border-radius: 10px; box-shadow: var(--shadow-lg);
  transition: transform 220ms ease-out;
}
.pgp-skip:focus { transform: translate(-50%, 0); outline: none; }

/* ---- Rispetto delle preferenze di movimento ridotto ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .imgframe:hover img { transform: none; }
}
