/* ============================================
   CheckYouFood — Styles
   Mobile-first · Clean Tech · Medical Minimal
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #0056b3;
  --blue-light: #e8f0fe;
  --blue-dark: #003d82;
  --green: #28a745;
  --green-light: #e8f5e9;
  --green-dark: #1e7e34;
  --purple: #6f42c1;
  --purple-light: #f3efff;
  --orange: #ff9800;
  --orange-light: #fff3e0;
  --text: #1a1a2e;
  --text-secondary: #555770;
  --text-light: #8888a0;
  --bg: #ffffff;
  --bg-alt: #f8f9fc;
  --bg-card: #ffffff;
  --border: #e8e8ef;
  --border-light: #f0f0f5;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 20px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.1);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
ul { list-style: none; }
strong { font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Typography ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.highlight {
  background: linear-gradient(120deg, var(--blue-light) 0%, transparent 100%);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--blue);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 14px 28px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,86,179,.25);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
}
.btn--ghost:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 16px;
  border-radius: 12px;
}

.btn--full {
  width: 100%;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo__text {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav__link:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.nav__link--cta {
  background: var(--blue);
  color: #fff !important;
  padding: 10px 20px;
}
.nav__link--cta:hover {
  background: var(--blue-dark) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
  padding: 100px 0 60px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: .5px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
}

/* Hero — illustrazione generata (brand health-tech) */
.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__figure {
  margin: 0;
  padding: 0;
  max-width: min(420px, 100%);
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 48px rgba(26, 39, 68, .12), 0 8px 16px rgba(26, 39, 68, .06);
  background: #fff;
}

/* ---------- Bridge ---------- */
.bridge {
  padding: 60px 0;
}

.bridge__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: var(--orange-light);
  border: 1px solid rgba(255,152,0,.15);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
}

.bridge__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.bridge__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 560px;
}

.bridge__figure {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  width: min(196px, 62vw);
  max-width: 196px;
}

.bridge__svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(26, 39, 68, .07));
}

/* ---------- Why Photos ---------- */
.why-photos {
  padding: 80px 0;
  background: var(--bg-alt);
}

.why-photos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__icon--blue { background: var(--blue-light); color: var(--blue); }
.feature-card__icon--green { background: var(--green-light); color: var(--green); }
.feature-card__icon--purple { background: var(--purple-light); color: var(--purple); }
.feature-card__icon--orange { background: var(--orange-light); color: var(--orange); }

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ---------- How It Works (Steps) ---------- */
.how-it-works {
  padding: 80px 0;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step__number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
  min-width: 64px;
}

.step__content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}

.step__content:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.step__week {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.step__phase {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.step__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.step__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step__list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.step__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

/* ---------- Science ---------- */
.science {
  padding: 80px 0;
  background: var(--bg-alt);
}

.science__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.science-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.science-card__quote {
  margin-bottom: 16px;
}

.science-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
}

.science-card__source {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 4px;
}

.science-card__link {
  font-size: 12px;
  color: var(--text-light);
}

.science__cta {
  text-align: center;
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 80px 0;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-card__header {
  margin-bottom: 20px;
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-card__desc {
  font-size: 14px;
  color: var(--text-light);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.pricing-card__amount {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
}

.pricing-card__period {
  font-size: 14px;
  color: var(--text-light);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-card__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-card__feature--disabled {
  color: var(--text-light);
  opacity: .5;
}

/* ---------- Quiz (onboarding — clean card UI) ---------- */
.quiz {
  padding: 80px 0;
  background: #eef1f7;
}

.quiz__container {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 20px;
  padding: 28px 22px 32px;
  box-shadow: 0 12px 40px rgba(26, 39, 68, .08), 0 2px 8px rgba(26, 39, 68, .04);
}

.quiz__progress-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.quiz__progress {
  flex: 1;
  min-width: 0;
  height: 8px;
  background: #e8ebf2;
  border-radius: 100px;
  overflow: hidden;
}

.quiz__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue) 0%, #1e6fd9 45%, var(--green) 100%);
  border-radius: 100px;
  width: 20%;
  transition: width var(--transition);
}

.quiz__step-count {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  color: #8b90a1;
  margin: 0;
}

.quiz__question {
  display: none;
}

.quiz__question.active {
  display: block;
  animation: fadeIn .4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz__question-title {
  font-family: var(--font-heading);
  font-size: clamp(19px, 4.2vw, 22px);
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 22px;
  text-align: center;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.quiz__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quiz__option {
  cursor: pointer;
  min-width: 0;
}

.quiz__option input {
  display: none;
}

.quiz__option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  height: 100%;
  padding: 14px 14px;
  border: 1px solid #dfe3ed;
  border-radius: 14px;
  background: #fff;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
}

.quiz__option input:checked + .quiz__option-card {
  border-color: var(--blue);
  border-width: 2px;
  padding: 13px 13px;
  background: #f3f8ff;
  box-shadow: 0 0 0 1px rgba(0, 86, 179, .12);
}

.quiz__option-card:hover {
  border-color: #b8c5db;
}

.quiz__option input:checked + .quiz__option-card:hover {
  border-color: var(--blue);
}

.quiz__option-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.quiz__option-text {
  font-size: 14px;
  font-weight: 600;
  color: #1a2744;
  line-height: 1.35;
}

.quiz__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  gap: 16px;
}

.quiz__nav--first-step {
  justify-content: flex-end;
}

.quiz__nav-back {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #5c6478;
  background: none;
  border: none;
  padding: 12px 4px;
  cursor: pointer;
  transition: color var(--transition);
}

.quiz__nav-back:hover {
  color: var(--blue);
}

.quiz__nav-back:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.quiz__nav-next {
  min-width: 132px;
  padding-left: 24px;
  padding-right: 24px;
  border-radius: 12px;
}

.quiz__nav-next:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.quiz__nav-next:disabled:hover {
  background: var(--blue);
  transform: none;
  box-shadow: none;
}

.quiz__result {
  display: none;
  text-align: center;
  animation: fadeIn .5s ease;
}

.quiz__result.active {
  display: block;
}

.quiz__result-icon {
  margin-bottom: 20px;
}

.quiz__result-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.quiz__result-text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.quiz__form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz__form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz__form-submit {
  width: 100%;
}

.quiz__input {
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

.quiz__input:focus {
  border-color: var(--blue);
}

.quiz__form-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
}

.quiz__form-note a {
  color: var(--text-light);
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer__brand .logo__text {
  color: #fff;
}

.footer__tagline {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
  color: rgba(255,255,255,.5);
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a,
.footer__links li {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #fff;
}

.footer__disclaimer {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer__disclaimer p {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(255,255,255,.4);
}

.footer__disclaimer a {
  color: rgba(255,255,255,.6);
  text-decoration: underline;
}

.footer__bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.footer__bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ---------- Scroll Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Tablet (≥ 600px)
   ============================================ */
@media (min-width: 600px) {
  .container { padding: 0 32px; }

  .section-title { font-size: 34px; }

  .hero__title { font-size: 44px; }

  .why-photos__grid {
    grid-template-columns: 1fr 1fr;
  }

  .science__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing__grid {
    grid-template-columns: 1fr 1fr;
  }

  .quiz__form-fields {
    flex-direction: row;
  }

  .quiz__form-fields .quiz__input {
    flex: 1;
    min-width: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .bridge__card {
    flex-direction: row;
    text-align: left;
    padding: 40px 36px;
  }
}

/* ============================================
   Desktop (≥ 900px)
   ============================================ */
@media (min-width: 900px) {
  .container { padding: 0 40px; }

  .section-title { font-size: 40px; }
  .section-subtitle { font-size: 17px; }

  .hero {
    padding: 120px 0 80px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
  }

  .hero__content {
    flex: 1;
  }

  .hero__visual {
    flex: 0 0 auto;
  }

  .hero__title {
    font-size: 52px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .hero__figure {
    max-width: 460px;
  }

  /* Nav */
  .nav { display: block !important; }
  .burger { display: none !important; }

  .why-photos__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .science__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    gap: 32px;
  }

  .step__number {
    font-size: 64px;
    min-width: 80px;
  }

  .step__content {
    padding: 36px 32px;
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .quiz__container {
    padding: 48px 40px;
  }
}

/* ============================================
   Large Desktop (≥ 1200px)
   ============================================ */
@media (min-width: 1200px) {
  .hero__title { font-size: 60px; }
}

/* ============================================
   Mobile Nav
   ============================================ */
@media (max-width: 899px) {
  .nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 20px;
    z-index: 999;
  }

  .nav.open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 4px;
  }

  .nav__link {
    display: block;
    font-size: 18px;
    padding: 14px 16px;
    border-radius: 10px;
  }

  .nav__link--cta {
    text-align: center;
    margin-top: 12px;
  }

  .burger {
    display: flex;
  }
}

/* ---------- Subpage shared styles ---------- */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  text-align: center;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.page-hero__subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-content {
  padding: 60px 0 80px;
}

.page-content .container {
  max-width: 800px;
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
}

.page-content h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px;
}

.page-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.page-content ul, .page-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.page-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 8px;
  list-style: disc;
}

.page-content ol li {
  list-style: decimal;
}

.page-content blockquote {
  border-left: 4px solid var(--blue);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--blue-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

@media (min-width: 900px) {
  .page-hero__title { font-size: 48px; }
}

.thankyou-hero-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Legal / company info card */
.legal-info-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin: 24px 0 32px;
}

.legal-info-list {
  margin: 0;
  padding: 0;
}

.legal-info-list dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 20px;
  margin-bottom: 6px;
}

.legal-info-list dt:first-child {
  margin-top: 0;
}

.legal-info-list dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}

.legal-info-list dd a {
  font-weight: 500;
}
