/* ==========================================================================
   us-glucofort.com — shared stylesheet
   Typography: Jost only. Fixed sizes on every device (no mobile reduction):
   H1 34px / H2 32px / H3 30px / body 26px
   ========================================================================== */

:root {
  --teal-900: #06342e;
  --teal-800: #0a4a41;
  --teal-700: #0e6b5c;
  --teal-600: #158a76;
  --teal-100: #e6f5f1;
  --teal-050: #f3faf8;
  --gold-600: #c47f10;
  --gold-500: #f0a52a;
  --gold-400: #ffc65c;
  --gold-100: #fff4de;
  --ink: #17211f;
  --ink-soft: #35443f;
  --line: #d8e6e2;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(6, 52, 46, .08);
  --shadow-md: 0 10px 28px rgba(6, 52, 46, .12);
  --shadow-lg: 0 22px 50px rgba(6, 52, 46, .18);
  --max: 1180px;
  --bar-pad: 18px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 26px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-700); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

p { margin: 0 0 22px; }

/* --------------------------------------------------------------------------
   Fixed typography scale (kept identical at every breakpoint)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Jost", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 18px;
  letter-spacing: -.2px;
}

h1 { font-size: 34px; }
h2 { font-size: 32px; }
h3 { font-size: 30px; }
h4 { font-size: 28px; }
h5 { font-size: 26px; }
h6 { font-size: 26px; }

strong, b { font-weight: 700; }

/* --------------------------------------------------------------------------
   Full-width heading bars — H2 teal, H3 gold (always different colours)
   -------------------------------------------------------------------------- */
.heading-bar {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: var(--bar-pad) clamp(14px, 3.5vw, 40px);
  text-align: center;
  position: relative;
}

/* True full-bleed only for standalone section headings (direct child of .wrap).
   Nested bars stay inside their card or column so nothing overflows. */
section > .wrap > h2.heading-bar,
section > .wrap > h3.heading-bar {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

h2.heading-bar {
  background: linear-gradient(120deg, var(--teal-800) 0%, var(--teal-600) 55%, var(--teal-700) 100%);
  color: var(--white);
  border-radius: 0;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
  margin-bottom: 34px;
  margin-top: 0;
}

h3.heading-bar {
  background: linear-gradient(100deg, var(--gold-400) 0%, var(--gold-500) 60%, #e79a1c 100%);
  color: #3a2600;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .1);
  margin-top: 46px;
  margin-bottom: 24px;
}

h2.heading-bar:first-child,
h3.heading-bar:first-child { margin-top: 0; }

/* Inside cards the bars stay inside the card so cards keep their frame */
.card h3.heading-bar,
.card h2.heading-bar,
.faq-item h3.heading-bar {
  width: auto;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  border-radius: 0;
  padding: 12px 16px;
  font-size: 30px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(14px, 3.5vw, 34px);
}

section.block { padding: 56px 0 64px; }
section.block.tight { padding: 40px 0 46px; }
.section-alt { background: linear-gradient(180deg, var(--teal-050), #ffffff); }
.section-mint { background: var(--teal-100); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col.top { align-items: start; }
.lead { font-size: 26px; color: var(--ink-soft); }

.center { text-align: center; }

/* --------------------------------------------------------------------------
   Sticky navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(6, 52, 46, .07);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px clamp(12px, 3vw, 30px);
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

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

.brand svg { display: block; }

.brand-text {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--teal-800);
  line-height: 1;
}

.brand-text span { color: var(--gold-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  list-style: none;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 26px;
  font-weight: 500;
  color: var(--teal-800);
  text-decoration: none;
  border-radius: 10px;
  line-height: 1.1;
  transition: background .2s ease, color .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--teal-100);
  color: var(--teal-700);
}

.nav-links svg { flex-shrink: 0; }

.btn {
  display: inline-block;
  font-family: inherit;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  padding: 16px 34px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-nav {
  margin-left: 12px;
  padding: 12px 26px;
  font-size: 26px;
  color: #2c1c00;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 6px 18px rgba(196, 127, 16, .34);
  white-space: nowrap;
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
  box-shadow: 0 12px 28px rgba(10, 74, 65, .32);
}

.btn-gold {
  color: #2c1c00;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 12px 30px rgba(196, 127, 16, .38);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.04);
  box-shadow: 0 16px 34px rgba(6, 52, 46, .28);
}

.btn-xl {
  font-size: 26px;
  padding: 22px 46px;
  width: 100%;
  max-width: 620px;
}

.btn-block { display: block; margin: 12px auto 0; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 58px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--teal-800);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle .bars { display: block; width: 26px; height: 2px; background: currentColor; box-shadow: 0 -8px 0 currentColor, 0 8px 0 currentColor; }

/* --------------------------------------------------------------------------
   Heroes
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(240, 165, 42, .22), transparent 42%),
    radial-gradient(circle at 88% 76%, rgba(21, 138, 118, .28), transparent 46%),
    linear-gradient(140deg, #06342e 0%, #0a4a41 45%, #12665a 100%);
  color: #eaf6f3;
  padding: 56px 0 64px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 198, 92, .28), transparent 68%);
  border: 2px solid rgba(255, 255, 255, .09);
}

.hero::after {
  width: 240px;
  height: 240px;
  bottom: -110px;
  left: -70px;
  background: radial-gradient(circle, rgba(21, 138, 118, .35), transparent 70%);
  border: 2px solid rgba(255, 255, 255, .08);
}

.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
  border: 2px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg);
}

.hero-media img { width: 100%; }

.hero h1 {
  font-size: 34px;
  color: #ffffff;
  background: linear-gradient(100deg, rgba(255, 255, 255, .16), rgba(255, 198, 92, .22));
  border-left: 6px solid var(--gold-400);
  border-radius: 14px;
  padding: 16px 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  margin-bottom: 22px;
}

.hero h1 .product-name {
  color: var(--gold-400);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  text-shadow: 0 2px 12px rgba(240, 165, 42, .45);
  white-space: nowrap;
}

.hero p { color: #e2f2ee; }

.hero .checklist { margin: 0 0 26px; }

.hero .checklist li { color: #f4fbf9; }

.hero-cta {
  margin-top: 10px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
}

.hero-cta h3 {
  font-size: 30px;
  color: #ffffff;
  margin: 0 0 14px;
  background: none;
  width: auto;
  margin-left: 0;
  padding: 0;
  text-align: left;
  text-shadow: none;
}

.hero-cta .btn { width: 100%; }

.hero-cta .subtext {
  margin: 14px 0 0;
  font-size: 26px;
  text-align: center;
  color: #cfeae4;
  font-weight: 500;
}

/* Interior page hero */
.page-hero {
  background:
    radial-gradient(circle at 15% 10%, rgba(240, 165, 42, .2), transparent 45%),
    linear-gradient(135deg, #06342e, #0e6b5c 70%, #158a76);
  color: #f2fbf8;
  padding: 52px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 198, 92, .25), transparent 70%);
}

.page-hero .wrap { position: relative; z-index: 2; }

.page-hero h1 {
  color: #fff;
  background: linear-gradient(100deg, rgba(255, 255, 255, .15), rgba(255, 198, 92, .2));
  border-left: 6px solid var(--gold-400);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 18px;
}

.page-hero p { color: #dff1ed; margin-bottom: 0; }

.breadcrumb {
  font-size: 26px;
  color: #bfe3dc;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.breadcrumb a { color: #ffd894; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Badges
   -------------------------------------------------------------------------- */
.badge-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 44px 0 0;
}

.badge-card {
  background: rgba(255, 255, 255, .96);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, .6);
  transition: transform .22s ease, box-shadow .22s ease;
}

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

.badge-card img { margin: 0 auto 10px; max-width: 150px; }

.badge-card span {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--teal-800);
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   Cards, lists, stats
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 0 0 26px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.card > :not(.heading-bar) { margin-left: 24px; margin-right: 24px; }
.card > :not(.heading-bar):last-child { margin-bottom: 0; }

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-600);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.checklist { list-style: none; margin: 0 0 26px; padding: 0; }

.checklist li {
  position: relative;
  padding-left: 46px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-800));
  box-shadow: 0 4px 10px rgba(14, 107, 92, .3);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  width: 8px;
  height: 15px;
  border: solid var(--white);
  border-width: 0 4px 4px 0;
  transform: rotate(43deg);
}

.note {
  background: var(--gold-100);
  border-left: 8px solid var(--gold-500);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 26px 0;
  color: #4a3608;
}

.disclosure-inline {
  background: var(--teal-050);
  border: 1px dashed var(--teal-600);
  border-radius: 12px;
  padding: 18px 22px;
  color: var(--ink-soft);
  margin: 26px 0 0;
}

.updated {
  font-size: 26px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Pricing */
.price-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin: 34px 0;
}

.price-card {
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative;
}

.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--teal-600); }

.price-card.best {
  border-color: var(--gold-500);
  box-shadow: 0 16px 38px rgba(196, 127, 16, .24);
  background: linear-gradient(180deg, #fffdf7, #ffffff);
}

.price-card .tag {
  display: inline-block;
  font-size: 26px;
  font-weight: 700;
  color: #2c1c00;
  background: var(--gold-400);
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 14px;
}

.price-card .packs { font-weight: 700; color: var(--teal-800); margin-bottom: 6px; }

.price-card .was {
  color: #7c8a86;
  text-decoration: line-through;
  margin-bottom: 4px;
}

.price-card .now {
  font-size: 34px;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 6px;
  line-height: 1.2;
}

.price-card .per { color: var(--ink-soft); margin-bottom: 16px; }

.price-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: #fff;
}

.price-figure img { width: 100%; }

.compare-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.compare-line strong { color: var(--teal-800); }
.compare-line .old { color: #8b9793; text-decoration: line-through; }
.compare-line .save { color: #b8590c; font-weight: 700; }

/* Testimonials */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 0 0 26px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-500); }
.testimonial > :not(.heading-bar) { margin-left: 24px; margin-right: 24px; }

.avatar-row { display: flex; align-items: center; gap: 14px; margin-top: 0; }

.avatar-row img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-400);
  box-shadow: var(--shadow-sm);
}

.avatar-meta { line-height: 1.25; }
.avatar-meta .name { font-weight: 700; color: var(--teal-800); display: block; }
.avatar-meta .meta { font-size: 26px; color: var(--ink-soft); }

.stars { color: var(--gold-600); letter-spacing: 2px; font-size: 26px; margin: 10px 0 8px; }

.quote { color: var(--ink-soft); margin-bottom: 0; }
.quote::before { content: "\201C"; color: var(--gold-500); font-size: 40px; line-height: 0; vertical-align: -8px; margin-right: 4px; }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}

.faq-item > p,
.faq-item > ul { margin: 0 24px 22px; }
.faq-item > p:last-child,
.faq-item > ul:last-child { margin-bottom: 24px; }
.faq-item ul { padding-left: 28px; }

/* Ingredient list */
.ingredient-card { padding-bottom: 24px; }
.ingredient-card .role {
  display: inline-block;
  font-size: 26px;
  font-weight: 700;
  color: var(--teal-800);
  background: var(--teal-100);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 12px;
}

/* Video / media placeholders */
.video-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--teal-050), #fff);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.ratio {
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(140deg, var(--teal-800), var(--teal-600));
  color: #fff;
  margin-bottom: 18px;
}

.ratio .ratio-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-weight: 600;
}

.ratio .play {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ratio .play::after {
  content: "";
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 6px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, #073b34, #0e6b5c 55%, #12786a);
  color: #eefaf7;
  padding: 54px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: -60% -10% auto auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 198, 92, .25), transparent 70%);
}

.cta-band .wrap { position: relative; z-index: 2; }
.cta-band p { color: #dcf2ed; }
.cta-band h2.heading-bar { box-shadow: none; }

/* Content prose readability tweaks */
.prose p { color: var(--ink-soft); }
.prose ul { padding-left: 30px; color: var(--ink-soft); }
.prose li { margin-bottom: 12px; }

.anchor-inline {
  color: var(--teal-700);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #06231f, #041714);
  color: #c9ded9;
  padding: 54px 0 0;
  font-size: 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 38px;
}

.site-footer h4 {
  font-size: 28px;
  color: #ffffff;
  margin: 0 0 16px;
}

.site-footer a { color: #d7ece7; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); text-decoration: underline; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }

.social-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 4px 0 20px; }

.social-row a {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.social-row a:hover {
  background: var(--gold-500);
  border-color: var(--gold-400);
  transform: translateY(-4px);
}

.social-row a:hover svg { stroke: #2c1c00; fill: #2c1c00; }

.hashtags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }

.hashtags li {
  background: rgba(240, 165, 42, .13);
  border: 1px solid rgba(255, 198, 92, .4);
  color: #ffd894;
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 600;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 26px 0 34px;
  color: #a9c4bf;
}

.footer-legal p { margin: 0 0 14px; }

.footer-legal .fda {
  background: rgba(255, 255, 255, .05);
  border-left: 6px solid var(--gold-500);
  border-radius: 10px;
  padding: 16px 20px;
  color: #d6e8e4;
}

.footer-legal .ftc {
  border-left: 6px solid var(--teal-600);
  padding-left: 18px;
  color: #c9ded9;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: #95b3ae;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .price-card:hover, .testimonial:hover, .badge-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive — layout only. Type sizes never change.
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 10px 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid .hero-media { order: -1; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .price-table { grid-template-columns: 1fr; }
  .badge-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav { min-height: 68px; gap: 10px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 14px 20px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 16px 12px; width: 100%; border-radius: 10px; }
  .btn-nav { margin: 12px 0 0; width: 100%; padding: 16px 20px; }
  .brand-text { font-size: 26px; }
  .site-header { position: sticky; }
  .nav { flex-wrap: wrap; }
}

@media (max-width: 700px) {
  :root { --bar-pad: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  section.block { padding: 42px 0 48px; }
  .hero { padding: 34px 0 46px; }
  .hero h1, .page-hero h1 { padding: 14px 16px; }
  .hero-cta { padding: 18px; }
  .btn { padding: 15px 24px; }
  .btn-xl { padding: 18px 22px; }
  .card > :not(.heading-bar),
  .testimonial > :not(.heading-bar) { margin-left: 16px; margin-right: 16px; }
  .faq-item > p, .faq-item > ul { margin-left: 16px; margin-right: 16px; }
  .avatar-row img { width: 72px; height: 72px; }
  .badge-card img { max-width: 120px; }
  .footer-bottom { flex-direction: column; }
  .hero::before { width: 220px; height: 220px; }
  .hero::after { width: 160px; height: 160px; }
}
