/* Scuola Costellazioni Familiari — style.css (v3 PREMIUM)
   Mobile-first · accessibility-first · zero deps · GDPR-safe (no Google Fonts) · CSS-only */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand color palette */
  --navy: #0a2540;
  --navy-deep: #051a30;
  --navy-light: #16365a;
  --navy-glow: #1d4373;
  --gold: #c9a357;
  --gold-deep: #a68440;
  --gold-soft: #e7d8a8;
  --gold-glow: rgba(201, 163, 87, 0.35);
  --cream: #faf8f3;
  --cream-deep: #f1ebda;
  --cream-warm: #f5efdf;
  --white: #ffffff;

  /* Text */
  --text: #1a1a1a;
  --text-muted: #4a5568;
  --text-soft: #6b7280;

  /* Borders */
  --border: #e8e3d1;
  --border-dark: #d4ccb0;

  /* Links */
  --link: #0a2540;
  --link-hover: #a68440;
  --quote-bg: #f5efdf;

  /* Shadow stack — multi-layer per stratificazione */
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08), 0 2px 4px rgba(10, 37, 64, 0.04);
  --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.12), 0 4px 8px rgba(10, 37, 64, 0.06);
  --shadow-xl: 0 24px 60px rgba(10, 37, 64, 0.18), 0 8px 16px rgba(10, 37, 64, 0.08);
  --shadow-card-hover: 0 16px 40px rgba(10, 37, 64, 0.14), 0 6px 12px rgba(10, 37, 64, 0.08);
  --shadow-gold-ring: 0 0 0 3px var(--gold-glow);

  /* Geometry */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --max-w: 1180px;
  --max-w-narrow: 780px;
  --space: 1.5rem;

  /* Typography — variable ranges via clamp */
  --font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-h1: clamp(2rem, 4.5vw, 3.25rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.15rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.4rem);
  --fs-lead: clamp(1.1rem, 2vw, 1.3rem);
  --fs-body: 17px;

  /* Motion */
  --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 380ms cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   SKIP LINK (WCAG)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -200px;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: .85rem 1.3rem;
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: top var(--transition-slow) var(--ease-out);
}
.skip-link:focus { top: 0; animation: skipSlideDown 320ms var(--ease-out); }
@keyframes skipSlideDown {
  from { top: -60px; opacity: 0; }
  to { top: 0; opacity: 1; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: var(--max-w-narrow); }

/* ============================================================
   HEADER + NAV
   ============================================================ */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.005em;
}
.brand::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background:
    radial-gradient(circle at 30% 30%, var(--gold-soft) 0%, transparent 40%),
    linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--cream), 0 2px 6px rgba(166, 132, 64, 0.35);
}
.brand-name { display: inline-block; }

/* Hamburger toggle — CSS pure (no JS dipendenza) */
.nav-toggle {
  background: var(--white);
  border: 1px solid var(--border-dark);
  color: var(--navy);
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font: inherit;
  font-size: .95rem;
  display: none;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.nav-toggle:hover, .nav-toggle:focus {
  background: var(--cream);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold-ring);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
}
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: .96rem;
  font-weight: 500;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.site-nav a:hover, .site-nav a:focus { color: var(--gold-deep); border-bottom-color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold-deep); border-bottom-color: var(--gold); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow) var(--ease-out);
  }
  .site-nav.open { max-height: 800px; animation: navSlideDown 320ms var(--ease-out); }
  .site-nav ul { flex-direction: column; gap: .6rem; padding: .75rem 0; align-items: flex-start; }
  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ============================================================
   HERO — multi-layer gradient + decorative sigillo SVG
   ============================================================ */
.hero {
  position: relative;
  padding: 5rem 0 4.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 163, 87, 0.14) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(10, 37, 64, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(231, 216, 168, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  animation: heroFadeIn 720ms var(--ease-out);
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Sigillo dorato decorativo (SVG inline encoded come pseudo) */
.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><circle cx='100' cy='100' r='90' fill='none' stroke='%23c9a357' stroke-width='1.2' opacity='0.35'/><circle cx='100' cy='100' r='72' fill='none' stroke='%23c9a357' stroke-width='0.8' opacity='0.3'/><circle cx='100' cy='100' r='54' fill='none' stroke='%23c9a357' stroke-width='0.6' opacity='0.25'/><path d='M100 20 L100 180 M20 100 L180 100 M40 40 L160 160 M160 40 L40 160' stroke='%23c9a357' stroke-width='0.4' opacity='0.2'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: .55;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: var(--fs-h1);
  line-height: 1.12;
  letter-spacing: -.015em;
  font-weight: 700;
}
.hero .lead {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 0 1.75rem;
}
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .9rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  position: relative;
}
.btn-primary {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary:active { transform: translateY(0); }
.btn:focus-visible { box-shadow: var(--shadow-gold-ring), var(--shadow-md); outline: none; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 3.75rem 0; position: relative; }
section + section { border-top: 1px solid var(--border); }
section h2 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: var(--fs-h2);
  line-height: 1.22;
  margin: 0 0 1.25rem;
  letter-spacing: -.01em;
  position: relative;
  font-weight: 700;
}
section h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 100%);
  margin-top: .85rem;
  border-radius: 2px;
}
section h3 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: var(--fs-h3);
  margin: 1.75rem 0 .7rem;
  letter-spacing: -.005em;
  font-weight: 700;
}
section p, section li { color: var(--text); }
section p { margin: 0 0 1rem; max-width: 75ch; }
section ul, section ol { max-width: 75ch; }
section a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--transition), text-decoration-thickness var(--transition);
}
section a:hover, section a:focus { color: var(--link-hover); text-decoration-thickness: 2px; }

/* ============================================================
   CARDS — shadow stratificato + hover translateY
   ============================================================ */
.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin-top: 1.75rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow) var(--ease-out), box-shadow var(--transition-slow) var(--ease-out), border-color var(--transition);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold-soft);
}
.card h3 { margin-top: 0; margin-bottom: .6rem; }
.card p { margin: 0 0 .8rem; color: var(--text-muted); font-size: .98rem; }
.card p:last-child { margin-bottom: 0; }
.card p:last-child a { font-weight: 600; }

/* ============================================================
   LISTS
   ============================================================ */
.plain-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.plain-list li { padding: .45rem 0; border-bottom: 1px dashed var(--border); }
.plain-list li:last-child { border-bottom: 0; }

/* ============================================================
   FAQ — chevron CSS pure + max-height transition
   ============================================================ */
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin: .85rem 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.faq details:hover { box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  padding: .1rem 2rem .1rem 0;
  font-size: 1.04rem;
  position: relative;
  transition: color var(--transition);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .35rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--transition-slow) var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details[open] { border-color: var(--gold-soft); }
.faq details[open] summary { color: var(--gold-deep); margin-bottom: .85rem; }
.faq details > *:not(summary) { animation: faqExpand 280ms var(--ease-out); }
@keyframes faqExpand {
  from { opacity: 0; transform: translateY(-6px); max-height: 0; }
  to { opacity: 1; transform: translateY(0); max-height: 800px; }
}
.faq p { margin: 0; color: var(--text); }

/* ============================================================
   GLOSSARY — CSS counter incrementale anteposto a dt
   ============================================================ */
.glossary dl { margin: 0; counter-reset: glossary-counter; }
.glossary dt {
  counter-increment: glossary-counter;
  font-weight: 700;
  color: var(--navy);
  margin: 1.6rem 0 .4rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: -.005em;
  display: flex;
  align-items: baseline;
  gap: .65rem;
}
.glossary dt::before {
  content: counter(glossary-counter, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold-deep);
  background: var(--cream-warm);
  padding: .15rem .5rem;
  border-radius: var(--radius-sm);
  letter-spacing: .05em;
  flex-shrink: 0;
}
.glossary dt:first-of-type { margin-top: 0; }
.glossary dd { margin: 0 0 .3rem 2.6rem; color: var(--text); max-width: 75ch; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table th, .compare-table td {
  padding: .95rem 1.15rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.compare-table th {
  background: var(--quote-bg);
  color: var(--navy);
  font-weight: 700;
  font-family: var(--font-heading);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: var(--cream); }

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  background: var(--quote-bg);
  padding: 1.6rem 1.85rem;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.quote p { margin: 0; }

/* ============================================================
   YMYL DISCLAIMER
   ============================================================ */
.ymyl-disclaimer {
  font-size: .92rem;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: 2.5rem;
  max-width: 75ch;
}

/* ============================================================
   VIDEO THUMB GRID
   ============================================================ */
.videos-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 1.75rem;
}
.video-thumb {
  display: block;
  text-decoration: none;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow) var(--ease-out), box-shadow var(--transition-slow) var(--ease-out), border-color var(--transition);
}
.video-thumb:hover, .video-thumb:focus {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--gold-soft);
}
.video-thumb img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--navy);
}
.video-thumb .body { padding: 1.15rem 1.35rem 1.35rem; }
.video-thumb h3 { margin: 0 0 .35rem; font-size: 1.12rem; color: var(--navy); }
.video-thumb p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ============================================================
   FOOTER — navy gradient + decorative wave SVG top
   ============================================================ */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  padding: 4.5rem 0 1.5rem;
  margin-top: 4rem;
  position: relative;
}
/* Wave SVG decorativa in cima al footer */
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 36px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 36' preserveAspectRatio='none'><path d='M0,36 C300,0 600,36 900,12 C1050,0 1150,18 1200,8 L1200,36 Z' fill='%23faf8f3'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: .55;
}
.site-footer .container {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}
@media (max-width: 980px) {
  .site-footer .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .site-footer .container { grid-template-columns: 1fr; }
}
.site-footer p { margin: 0 0 .5rem; color: rgba(250, 248, 243, 0.85); font-size: .96rem; line-height: 1.6; }
.site-footer a {
  color: var(--gold-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.site-footer a:hover, .site-footer a:focus { color: var(--gold); border-bottom-color: var(--gold); }
.footer-title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  color: var(--gold-soft);
  margin: 0 0 .9rem;
  letter-spacing: .02em;
  font-weight: 600;
}
.footer-brand p:first-child { font-family: var(--font-heading); font-size: 1.18rem; color: var(--white); }
.footer-tagline { font-size: .9rem; color: rgba(250, 248, 243, 0.7); }
.footer-nap {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(231, 216, 168, 0.22);
  border-radius: var(--radius);
  padding: .9rem 1.05rem;
  margin-top: .85rem;
  font-size: .92rem;
}
.footer-nap strong { color: var(--gold-soft); font-family: var(--font-heading); }
.site-footer .plain-list li { border-bottom-color: rgba(231, 216, 168, 0.14); padding: .45rem 0; }
.site-footer .plain-list li:last-child { border-bottom: 0; }
.legal-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; }
.legal-nav a { font-size: .92rem; }
.footer-disclaimer {
  grid-column: 1 / -1;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(231, 216, 168, 0.22);
  text-align: center;
}
.footer-disclaimer p { color: rgba(250, 248, 243, 0.65); max-width: 900px; margin: 0 auto; font-size: .88rem; }
.footer-disclaimer em { color: rgba(250, 248, 243, 0.85); font-style: italic; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin: 0 0 1.2rem; }
.form-group label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: .85rem 1.05rem;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  font: inherit;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold-ring);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.muted { color: var(--text-muted); }
.small { font-size: .9rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.1rem; color: var(--text-muted); }

/* ============================================================
   FOCUS VISIBLE — global gold ring
   ============================================================ */
a:focus-visible, button:focus-visible, summary:focus-visible, details:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   REDUCED MOTION (WCAG)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero, .skip-link, .faq details > *:not(summary), .site-nav.open { animation: none !important; }
}

/* ============================================================
   PRINT — hide nav/footer/cta, format leggibile
   ============================================================ */
@media print {
  .site-header, .site-footer, .nav-toggle, .skip-link, .cta-row { display: none !important; }
  body { background: white; color: black; font-size: 11pt; line-height: 1.5; }
  a { color: black; text-decoration: underline; }
  .hero { padding: 1rem 0; background: white; }
  .hero::before, .hero::after { display: none; }
  .card, .faq details, .compare-table, .quote { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  section { padding: 1.5rem 0; break-inside: avoid; }
  section h2::after { background: black; }
}

/* ============================================================
   CITY PAGES wave 4 refresh — breadcrumb, map placeholder, event card, footer silo
   ============================================================ */
nav.breadcrumb {
  background: var(--bg-soft, #faf6ef);
  padding: 0.5rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
nav.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.breadcrumb li {
  display: inline-flex;
  align-items: center;
}
nav.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: rgba(0, 0, 0, 0.4);
}
nav.breadcrumb a {
  color: var(--brand, #6b4f3a);
  text-decoration: none;
}
nav.breadcrumb a:hover { text-decoration: underline; }
nav.breadcrumb [aria-current="page"] {
  color: var(--text, #2a2a2a);
  font-weight: 600;
}

figure.map-placeholder {
  margin: 1.5rem 0;
  padding: 0;
}
figure.map-placeholder .map-box {
  border: 2px dashed rgba(107, 79, 58, 0.35);
  background: var(--bg-soft, #faf6ef);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  text-align: center;
}
figure.map-placeholder .map-box p {
  margin: 0.3rem 0;
}
figure.map-placeholder .map-box a {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--brand, #6b4f3a);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.95rem;
}
figure.map-placeholder .map-box a:hover {
  background: var(--brand-dark, #4a3624);
}

.event-card {
  margin: 1rem 0 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--bg-soft, #faf6ef);
  border-left: 4px solid var(--brand, #6b4f3a);
  border-radius: 4px;
}
.event-card p {
  margin: 0.4rem 0;
}
.event-card .cta {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.5rem 1rem;
  background: var(--brand, #6b4f3a);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}
.event-card .cta:hover { background: var(--brand-dark, #4a3624); }

ul.footer-silo {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.footer-silo li {
  padding: 0.2rem 0;
}
ul.footer-silo .footer-current {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 0.3rem;
}
