/* === Design system — portfolio style === */
:root {
  --bg-white: #ffffff;
  --bg-light: #f7f7f7;
  --bg-dark: #122a23;
  --bg-card-dark: #1b3a30;
  --bg-card-dark-hover: #244a3e;
  --text-dark: #1a1a1a;
  --text-body: #4a4a4a;
  --text-muted: #6b6b6b;
  --text-light: #f5f5f5;
  --text-muted-light: rgba(255, 255, 255, 0.72);
  --accent: #0d9b6c;
  --accent-hover: #0b8159;
  --accent-2: #16c79a;
  --accent-soft: rgba(13, 155, 108, 0.12);
  --accent-glow: rgba(13, 155, 108, 0.32);
  --accent-gradient: linear-gradient(135deg, #0d9b6c 0%, #16c79a 100%);
  --border-light: #ebebeb;
  --disclaimer-bg: #f1faf6;
  --disclaimer-border: rgba(13, 155, 108, 0.35);
  --radius-pill: 999px;
  --radius-lg: 40px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --shadow-sm: 0 4px 24px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 12px 48px rgba(26, 26, 26, 0.1);
  --shadow-nav: 0 8px 32px rgba(0, 0, 0, 0.25);
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --header-height: 72px;
  --banner-height: 40px;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 1rem;
  padding-top: calc(var(--banner-height) + var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.hero-title, .section-title, .page-title,
.features-title, .quiz-title, .quiz-stats-title,
.legal-page h1, .legal-page h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

/* === Ad banner === */
.ad-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ad-banner-text { display: block; }

/* === Header — floating capsule === */
.site-header {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 20px;
  pointer-events: none;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 12px 10px 24px;
  background: var(--bg-dark);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-nav);
  display: flex;
  align-items: center;
  gap: 16px;
  pointer-events: auto;
}
.logo {
  text-decoration: none;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  flex-shrink: 0;
}
.logo:hover { color: var(--accent); }
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}
.nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}
.nav a:hover,
.nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.header-inner .btn-nav {
  margin-left: auto;
  flex-shrink: 0;
  white-space: nowrap;
}
.header-inner .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.header-inner .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 10px 26px var(--accent-glow);
}
.btn-outline {
  background: #fff;
  color: var(--text-dark);
  border-color: var(--border-light);
}
.btn-outline:hover {
  border-color: var(--text-dark);
  background: var(--bg-light);
}
.btn-secondary {
  background: var(--bg-light);
  color: var(--text-dark);
  border-color: var(--border-light);
}
.btn-secondary:hover {
  background: #ebebeb;
}
.btn-arrow::after {
  content: '→';
  font-size: 1.1em;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* === Disclaimer === */
.disclaimer-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 20px;
}
.disclaimer-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--disclaimer-bg);
  border: 1px solid var(--disclaimer-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.disclaimer-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.disclaimer-text {
  margin: 0;
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* === Hero === */
.hero {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  padding: 0 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(135deg, #eef9f3 0%, #ffffff 55%, #f3faf6 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.hero-copy {
  text-align: left;
}
.hero-title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  margin: 0 0 16px;
  color: var(--text-dark);
}
.hero-desc {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 52ch;
}
.hero-highlights {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hero-highlights li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}
.hero-highlight-icon {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}
.hero-highlight-icon.stars {
  letter-spacing: 1px;
  font-size: 0.8rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}
.hero-circle {
  width: 100%;
  aspect-ratio: 1;
  background: var(--accent-gradient);
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px var(--accent-glow);
}
.hero-image {
  position: absolute;
  inset: 8%;
  width: 84%;
  height: 84%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  z-index: 1;
}
main {
  padding-bottom: 24px;
}

/* === Dark section shell === */
.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 72px 24px 80px;
  margin-top: 0;
}
.section-dark .section-title {
  color: #fff;
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 12px;
}
.section-dark .section-subtitle {
  text-align: center;
  color: var(--text-muted-light);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

/* === Service cards === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.service-card {
  background: var(--bg-card-dark);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--transition), transform var(--transition);
}
.service-card:hover {
  background: var(--bg-card-dark-hover);
  transform: translateY(-4px);
}
.service-card h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}
.service-card-visual {
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.service-card-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}
.service-card-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  transition: background var(--transition);
}
.service-card:hover .service-card-link {
  background: var(--accent);
}

/* === Timeline / steps === */
.section-light {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-light .section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin: 0 0 48px;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
}
.timeline-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 32px;
  align-items: start;
}
.timeline-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 0;
  min-height: 100%;
}
.timeline-line::before,
.timeline-line::after {
  content: '';
  flex: 1;
  width: 2px;
  background: var(--border-light);
  min-height: 20px;
}
.timeline-row:first-child .timeline-line::before,
.timeline-row:last-child .timeline-line::after {
  opacity: 0;
}
.service-card p {
  margin: 0;
  color: var(--text-muted-light);
  font-size: 0.95rem;
  line-height: 1.55;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
  margin: 4px 0;
}
.timeline-dot.active { background: var(--accent); }
.timeline-meta {
  text-align: right;
  padding: 20px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.timeline-meta strong {
  display: block;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 4px;
}
.timeline-content {
  padding: 20px 0;
}
.timeline-content h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
}
.timeline-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* === CTA block === */
.cta-section {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.cta-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}
.cta-visual {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
}
.cta-circle {
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.cta-content .section-title {
  text-align: left;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin: 0 0 16px;
}
.cta-content p {
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 520px;
}
.cta-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.cta-stat strong {
  display: block;
  font-size: 1.5rem;
  font-family: var(--font-serif);
  color: var(--text-dark);
}
.cta-stat span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* === Inner page hero === */
.page-hero {
  text-align: center;
  padding: 16px 24px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 12px;
}
.page-lead {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* === Chi-siamo / team === */
.team-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.team-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
}
.team-role {
  display: block;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.team-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.editorial-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--disclaimer-bg);
  border: 1px solid var(--disclaimer-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-body);
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform var(--transition), background var(--transition);
}
.faq-item[open] summary::after {
  content: '−';
  background: var(--accent);
  color: #fff;
}
.faq-item .faq-answer {
  padding: 0 22px 20px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-light);
  margin-top: 0;
}
.faq-item .faq-answer p { margin: 16px 0 0; }

/* === Articoli === */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-card-image {
  aspect-ratio: 16/10;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.article-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.article-card-body h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--text-dark);
}
.article-card-body p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}
.article-card-link {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
}
.article-header-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.article-cover {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

/* === Legal / content pages === */
.content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}
.legal-page {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
}
.legal-page h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 8px;
}
.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.legal-page h2 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
  font-family: var(--font-sans);
  font-weight: 700;
}
.legal-page p,
.legal-page li {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-page ul { padding-left: 24px; }
.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-page a:hover { color: var(--accent-hover); }
.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.legal-page .back-link:hover { color: var(--accent); }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 24px;
  border: 1px solid var(--border-light);
}
.contact-card strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.contact-card a,
.contact-card span {
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
}
.contact-card a:hover { color: var(--accent); }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
}
.contact-list strong { min-width: 140px; color: var(--text-dark); }

/* === Quiz === */
.quiz-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.quiz-page .disclaimer-section { padding: 0 0 20px; }
.quiz-shell {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 32px 24px 64px;
}
.quiz-shell .disclaimer-section {
  padding: 0 0 20px;
  max-width: none;
}
.quiz-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 40px 36px;
  min-height: 380px;
  position: relative;
  box-shadow: var(--shadow-md);
}
.quiz-step { display: none; }
.quiz-step.active {
  display: block;
  animation: quizStepIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes quizStepIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
.quiz-progress-bar {
  height: 8px;
  background: var(--bg-light);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 28px;
}
.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-pill);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.quiz-question-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 24px;
}
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-light);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-body);
}
.quiz-option:hover {
  border-color: rgba(13, 155, 108, 0.4);
  background: var(--accent-soft);
}
.quiz-option.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.quiz-option input { display: none; }
.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  gap: 16px;
}
.quiz-nav .btn { min-width: 120px; }
.quiz-stats-title {
  font-size: 1.5rem;
  margin: 0 0 8px;
}
.quiz-stats-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.stats-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--bg-dark);
  color: #fff;
  padding: 24px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--font-serif);
  display: block;
  color: var(--accent);
}
.stat-card .stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 8px;
  display: block;
}
.quiz-thanks { text-align: center; }
.quiz-thanks .quiz-title { font-size: 1.75rem; margin-bottom: 12px; }
.quiz-thanks .quiz-desc { margin-bottom: 16px; color: var(--text-body); }
.quiz-cta-badge {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
}
.quiz-cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 28px;
}
.quiz-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* === Footer === */
.footer {
  background: var(--bg-dark);
  color: var(--text-muted-light);
  padding: 56px 24px 40px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-top: 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}
.footer-brand {
  margin-bottom: 32px;
}
.footer-brand .logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}
.footer-brand p {
  margin: 0;
  font-size: 0.95rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 28px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeInUp 0.7s ease-out forwards;
}
.animate-fade-in.delay-1 { animation-delay: 0.12s; }
.animate-fade-in.delay-2 { animation-delay: 0.24s; }
.animate-visible {
  animation: fadeInUp 0.6s ease-out forwards;
}
.service-card,
.timeline-row {
  opacity: 0;
}
.service-card.animate-visible,
.timeline-row.animate-visible {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .animate-fade-in { animation: none; opacity: 1; }
  .quiz-step.active { animation: none; }
}

/* === Responsive === */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; max-width: 400px; }
  .cta-grid { grid-template-columns: 1fr; text-align: center; }
  .cta-content .section-title { text-align: center; }
  .cta-content p { margin-left: auto; margin-right: auto; }
  .cta-stats { justify-content: center; }
  .timeline-row {
    grid-template-columns: auto 1fr;
    gap: 0 20px;
  }
  .timeline-meta { display: none; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
  }
  .hero-copy { text-align: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-highlights { grid-template-columns: 1fr; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
  body { padding-top: calc(var(--banner-height) + 64px + 12px); }
  .site-header { padding: 8px 12px; }
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 16px;
    border-radius: var(--radius-md);
  }
  .nav-toggle { display: flex; }
  .header-inner .btn-nav { display: none; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4px;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; text-align: center; }
  .legal-page { padding: 32px 24px; }
  .contact-cards { grid-template-columns: 1fr; }
  .stats-cards { grid-template-columns: 1fr; }
  .quiz-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
