/* ============================================================
   LEVA MEDICAL — RECENT RESULTS (/photos, /es/photos)
   Mobile-first, opened from SMS. Adapts to tablet + desktop.
   Source design: Claude Design handoff "Before and After Page".
   Updated 2026-05-10 to match design fidelity:
   - container queries on .page (responds to module width, not viewport)
   - dramatic hero/CTA scaling at tablet (768+) and desktop (1024+)
   - note card tucks up over the hero on wider screens
   - grid: 1-col mobile / 2-col tablet / 3-col desktop
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Manrope:wght@300;400;500;600;700&family=Allura&display=swap');

:root {
  --navy: #0c1a3a;
  --navy-deep: #060e22;
  --navy-soft: #142554;
  --gold: #c9a661;
  --gold-deep: #a88542;
  --gold-light: #e0c896;
  --cream: #faf7f2;
  --cream-warm: #f3ece0;
  --paper: #ffffff;
  --ink: #0f1426;
  --muted: #5a5e6e;
  --rule: #e5dfd2;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', -apple-system, system-ui, sans-serif;
  --script: 'Allura', cursive;

  --safe-pad: 18px;
  --radius: 14px;
}

.page * { box-sizing: border-box; }
.page img { display: block; max-width: 100%; }

.page {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
  line-height: 1.5;
  min-height: 100vh;
  container-type: inline-size;
  container-name: page;
  padding-bottom: 24px;
  position: relative;
  overflow-x: hidden;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #15265a 0%, #0a163a 40%, #060e22 100%);
  padding: 14px var(--safe-pad) 30px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(201,166,97,0.16), transparent 50%),
    radial-gradient(circle at 8% 88%, rgba(201,166,97,0.10), transparent 55%);
  pointer-events: none;
}
.hero__arc {
  position: absolute;
  pointer-events: none;
  width: 130%;
  height: 130%;
  z-index: 0;
}
.hero__arc--tl { top: -20%; left: -40%; }
.hero__arc--br { bottom: -30%; right: -40%; transform: rotate(180deg); }

.hero__inner { position: relative; z-index: 1; }

.hero__brand {
  display: flex;
  justify-content: center;
  padding-top: 8px;
  position: relative;
  z-index: 2;
}
.hero__logo {
  display: block;
  width: 240px;
  max-width: 70%;
  height: auto;
}

.hero__pitch {
  text-align: center;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  letter-spacing: 0.32em;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  border: 1px solid rgba(201,166,97,0.45);
  padding: 8px 18px;
  border-radius: 999px;
}
.hero__eyebrow-star { color: var(--gold); font-size: 10px; }
.hero__title {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.0;
  font-weight: 500;
  color: #f7f4ec;
  margin: 16px 0 10px;
  letter-spacing: -0.012em;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
  display: inline-block;
  margin-top: 4px;
}
.hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 10px;
}
.hero__divider-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,166,97,0.6), transparent);
}
.hero__divider-diamond { color: var(--gold); font-size: 10px; }
.hero__greet--generic {
  font-size: 12.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 6px 0 0;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  padding: 11px 18px 11px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,166,97,0.4);
  border-radius: 999px;
}
.pill__ring {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border: 1px solid rgba(201,166,97,0.6);
  border-radius: 50%;
}
.pill__icon { fill: none; stroke: var(--gold); stroke-width: 1.4; }

/* ============================================================
   NOTE
   ============================================================ */
.note {
  background: var(--paper);
  margin: -22px var(--safe-pad) 0;
  padding: 26px 22px 22px;
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
  box-shadow: 0 12px 36px -18px rgba(15,29,61,0.35);
  border: 1px solid var(--rule);
}
.note__rule {
  display: flex; align-items: center; justify-content: center;
  margin: -2px 0 14px;
}
.note__rule span {
  width: 36px; height: 1px;
  background: var(--gold);
  position: relative;
}
.note__rule span::before, .note__rule span::after {
  content: ""; position: absolute; top: 50%;
  width: 4px; height: 4px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.note__rule span::before { left: -8px; }
.note__rule span::after { right: -8px; }
.note__body {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
  text-align: center;
  text-wrap: pretty;
}
.note__body strong { font-weight: 600; color: var(--navy); }
.note__sig { margin: 14px 0 0; text-align: center; }
.note__sig-script {
  font-family: var(--script);
  color: var(--gold-deep);
  font-size: 22px;
}
.note__cta {
  margin: 22px -2px 4px;
  padding: 18px 0 4px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.note__cta-text {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.note__cta-num {
  display: inline-block;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.note__cta-num::after {
  content: "";
  display: block;
  height: 1px;
  margin-top: 1px;
  background: var(--gold);
  opacity: 0.55;
}
.note__cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: nowrap;
}
.note__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease;
}
.note__btn:active { transform: translateY(1px); }
.note__btn--primary { background: var(--navy); color: #fff; }
.note__btn--ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--gold);
}

/* ============================================================
   FILTER CHIPS
   ============================================================ */
.filter {
  margin: 22px 0 12px;
  padding: 0 var(--safe-pad);
}
.filter__rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px var(--safe-pad) 6px;
  margin: 0 calc(-1 * var(--safe-pad));
}
.filter__rail::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}
.chip__count {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  background: rgba(15,29,61,0.05);
  padding: 1px 7px;
  border-radius: 999px;
}
.chip--on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.chip--on .chip__count {
  color: var(--gold-light);
  background: rgba(201,166,97,0.18);
}

/* ============================================================
   GRID & CARDS
   ============================================================ */
.grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 14px var(--safe-pad) 8px;
}
.grid__empty {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  padding: 40px 0;
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 var(--rule), 0 8px 24px -16px rgba(15,29,61,0.25);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--rule);
}
.card:hover { transform: translateY(-2px); box-shadow: 0 1px 0 var(--rule), 0 14px 30px -14px rgba(15,29,61,0.3); }
.card:active { transform: scale(0.985); }
.card[hidden] { display: none; }

.card__photo {
  position: relative;
  background: #f1ede4;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.card__photo img,
.card__photo video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.card--video .card__photo { background: #0a0f24; }
.card__badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  padding: 5px 10px;
  background: rgba(15,29,61,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  border: 1px solid rgba(201,166,97,0.3);
}
.card__zoom {
  position: absolute;
  top: 12px; right: 12px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.card__play-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(15,29,61,0.6);
  border: 2px solid rgba(201,166,97,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  display: grid; place-items: center;
  color: #fff;
}
.card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
}
.card__meta {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card__cat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.card__num {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--gold-deep);
  font-style: italic;
  text-transform: none;
}
.card__cat-label::before {
  content: "—";
  margin-right: 8px;
  color: var(--rule);
}
.card__procedure {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.15;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,16,39,0.94);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadein 0.2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.lightbox__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(201,166,97,0.4);
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 2;
}
.lightbox__inner {
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lightbox__inner img,
.lightbox__inner video {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
}
.lightbox__caption-top { text-align: center; }
.lightbox__cat {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201,166,97,0.4);
  padding: 5px 12px;
  border-radius: 999px;
}
.lightbox__caption {
  text-align: center;
  color: #fff;
}
.lightbox__caption h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 4px;
}
.lightbox__caption h3::before { content: "—"; color: var(--gold); margin-right: 10px; }
.lightbox__caption h3::after  { content: "—"; color: var(--gold); margin-left: 10px; }
.lightbox__caption p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  margin: 32px 0 0;
  padding: 36px var(--safe-pad) 32px;
  background: linear-gradient(180deg, transparent, rgba(201,166,97,0.06));
  text-align: center;
  position: relative;
}
.cta__divider {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  color: var(--gold);
  margin-bottom: 18px;
}
.cta__divider::before, .cta__divider::after {
  content: "";
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.cta__divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.cta__eyebrow {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 0 0 6px;
}
.cta__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.cta__title em {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 400;
}
.cta__sub {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--muted);
  margin: 0 auto 22px;
  max-width: 320px;
  line-height: 1.5;
}
.cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
  margin: 0 auto;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--primary svg { color: var(--gold); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  margin: 24px var(--safe-pad) 0;
  padding: 36px 0 22px;
  text-align: center;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 16%; right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  opacity: 0.55;
}
.footer__crest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.footer__crest-line { width: 22px; height: 1px; background: currentColor; opacity: 0.4; }
.footer__crest-diamond { font-size: 10px; opacity: 0.85; }
.footer__monogram {
  font-family: var(--serif);
  color: var(--gold-deep);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
}
.footer__name {
  font-family: var(--serif);
  font-size: 12.5px;
  letter-spacing: 0.42em;
  color: var(--navy);
  font-weight: 500;
  margin: 12px 0 18px;
}
.footer__tag {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 26px;
}
.footer__tag em {
  font-family: var(--script);
  font-style: normal;
  font-size: 26px;
  color: var(--gold-deep);
  margin: 0 2px;
}
.footer__site {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.footer__site svg { color: var(--gold-deep); }
.footer__social {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin: 22px 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}
.footer__social-sep {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}
.footer__fineprint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  max-width: 280px;
  margin: 0 auto;
}
.footer__legal {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}
.footer__terms {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,166,97,0.35);
  padding-bottom: 1px;
}
.footer__terms:hover { border-bottom-color: var(--gold-deep); }
.footer__legal-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__legal-sep { color: var(--gold); opacity: 0.5; font-size: 10px; }

/* ============================================================
   RESPONSIVE — TABLET (>=768px) + DESKTOP (>=1024px)
   Container queries on .page so layout responds to module width,
   not viewport. Important when the page renders inside narrower
   columns or in the HubSpot editor preview.
   ============================================================ */
@container page (min-width: 768px) {
  /* Redefine on .page (the container itself) — container queries can't target :root */
  .page { --safe-pad: 48px; background: #ece8de; }

  /* Constrain content to a centered column on wide screens. */
  .hero, .note, .filter, .grid, .cta, .footer {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }

  /* HERO — compact: brand frame, then photos. Tuned 2026-05-10 to push grid above the fold. */
  .hero {
    padding: 22px var(--safe-pad) 32px;
    border-radius: 0;
  }
  .hero__logo { width: 200px; max-width: 200px; }
  .hero__pitch { margin-top: 8px; max-width: 720px; margin-left: auto; margin-right: auto; }
  .hero__title { font-size: 48px; line-height: 1.05; margin: 10px 0 6px; }
  .hero__divider { margin: 2px 0 6px; }
  .hero__greet--generic { font-size: 12px; margin-top: 4px; }
  .hero__pills { margin-top: 14px; gap: 10px; }
  .pill { padding: 8px 14px 8px 12px; font-size: 11px; }

  /* NOTE — pulled up over the hero on a card */
  .note {
    margin-top: -28px;
    padding: 22px 36px 22px;
    max-width: 720px;
  }
  .note__body { font-size: 17px; }

  /* FILTER — centered, no horizontal scroll */
  .filter { margin-top: 24px; }
  .filter__rail {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    margin: 0;
    padding: 4px 0 6px;
  }

  /* GRID — 2 columns on iPad */
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 18px var(--safe-pad) 16px;
  }
  .card__procedure { font-size: 22px; }

  /* CTA */
  .cta { padding: 56px var(--safe-pad) 48px; }
  .cta__title { font-size: 34px; }
  .cta__sub { max-width: 460px; font-size: 15px; }
  .cta__buttons { flex-direction: row; max-width: 460px; gap: 14px; }
  .cta__buttons .btn { flex: 1; }

  /* FOOTER */
  .footer { padding: 40px 0 28px; }
}

@container page (min-width: 1024px) {
  .page { --safe-pad: 72px; }

  /* HERO — slightly larger but still compact so photos lead */
  .hero { padding: 28px var(--safe-pad) 44px; }
  .hero__logo { width: 240px; max-width: 240px; }
  .hero__title { font-size: 60px; margin: 12px 0 6px; }
  .hero__pitch { margin-top: 10px; }
  .hero__pills { margin-top: 16px; }

  /* NOTE — pulled up further */
  .note {
    margin-top: -36px;
    padding: 26px 48px 24px;
    max-width: 800px;
  }

  /* GRID — 3 columns on desktop */
  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 28px var(--safe-pad) 24px;
  }

  /* Lightbox can be wider on desktop */
  .lightbox__inner { max-width: 880px; margin: 0 auto; }

  .cta { padding: 64px var(--safe-pad) 56px; }
  .cta__title { font-size: 40px; }
}

@container page (min-width: 1280px) {
  .grid { gap: 36px; }
}

/* ============================================================
   FALLBACK — viewport media queries for browsers that don't
   support container queries on inline-size (Safari < 16, etc.)
   These mirror the container queries above against viewport width.
   ============================================================ */
@supports not (container-type: inline-size) {
  @media (min-width: 768px) {
    :root { --safe-pad: 48px; }
    .page { background: #ece8de; }
    .hero, .note, .filter, .grid, .cta, .footer {
      max-width: 1180px;
      margin-left: auto;
      margin-right: auto;
    }
    .hero { padding: 22px var(--safe-pad) 32px; border-radius: 0; }
    .hero__logo { width: 200px; max-width: 200px; }
    .hero__pitch { margin-top: 8px; max-width: 720px; margin-left: auto; margin-right: auto; }
    .hero__title { font-size: 48px; line-height: 1.05; margin: 10px 0 6px; }
    .hero__divider { margin: 2px 0 6px; }
    .hero__greet--generic { font-size: 12px; margin-top: 4px; }
    .hero__pills { margin-top: 14px; gap: 10px; }
    .pill { padding: 8px 14px 8px 12px; font-size: 11px; }
    .note { margin-top: -28px; padding: 22px 36px 22px; max-width: 720px; }
    .note__body { font-size: 17px; }
    .filter { margin-top: 24px; }
    .filter__rail { justify-content: center; flex-wrap: wrap; overflow-x: visible; margin: 0; padding: 4px 0 6px; }
    .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 18px var(--safe-pad) 16px; }
    .card__procedure { font-size: 22px; }
    .cta { padding: 56px var(--safe-pad) 48px; }
    .cta__title { font-size: 34px; }
    .cta__sub { max-width: 460px; font-size: 15px; }
    .cta__buttons { flex-direction: row; max-width: 460px; gap: 14px; }
    .cta__buttons .btn { flex: 1; }
    .footer { padding: 40px 0 28px; }
  }
  @media (min-width: 1024px) {
    :root { --safe-pad: 72px; }
    .hero { padding: 28px var(--safe-pad) 44px; }
    .hero__logo { width: 240px; max-width: 240px; }
    .hero__title { font-size: 60px; margin: 12px 0 6px; }
    .hero__pitch { margin-top: 10px; }
    .hero__pills { margin-top: 16px; }
    .note { margin-top: -36px; padding: 26px 48px 24px; max-width: 800px; }
    .grid { grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 28px var(--safe-pad) 24px; }
    .lightbox__inner { max-width: 880px; margin: 0 auto; }
    .cta { padding: 64px var(--safe-pad) 56px; }
    .cta__title { font-size: 40px; }
  }
  @media (min-width: 1280px) {
    .grid { gap: 36px; }
  }
}
