/* ==========================================================================
   Fayette Medical Supply — Professional healthcare design system
   Style direction: VGM Forbin PowerWeb-class HME sites — utility bar,
   clean white header w/ CTA, photo hero, category tiles, trust strip,
   dark navy footer. Brand palette unchanged (#00b9e8 / #005f8e / #E8F7FC).
   Type: Lexend (headings) + Public Sans (body) — modern healthcare sans.
   ========================================================================== */

:root {
  --fms-blue: #00b9e8;
  --fms-blue-dark: #005f8e;
  --fms-navy: #093a52;          /* deep anchor for bars/footer */
  --fms-blue-bg: #E8F7FC;
  --fms-amber-bg: #FFF8E1;
  --fms-amber-border: #F0D98C;

  --ink: #22333d;
  --ink-soft: #55676f;
  --white: #ffffff;
  --line: #dbe7ec;
  --surface: #f6fafc;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(9, 58, 82, 0.10);
  --shadow-md: 0 10px 30px rgba(9, 58, 82, 0.14);

  --font-head: "Lexend", -apple-system, sans-serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;

  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--fms-blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--fms-blue);
  outline-offset: 2px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--fms-navy);
  line-height: 1.18;
  margin: 0 0 0.45em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.22rem; }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--fms-blue-dark);
  margin-bottom: 12px;
}
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 34px; height: 3px;
  background: var(--fms-blue);
  border-radius: 2px;
  margin-left: 10px;
  vertical-align: middle;
}

.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-tight { padding: 44px 0; }
.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 64ch; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--fms-blue); color: var(--fms-navy); }
.btn-primary:hover { background: #17c6f2; box-shadow: var(--shadow-md); }
.btn-navy { background: var(--fms-blue-dark); color: var(--white); }
.btn-navy:hover { background: var(--fms-navy); }
.btn-outline { background: transparent; border-color: var(--fms-blue-dark); color: var(--fms-blue-dark); }
.btn-outline:hover { background: var(--fms-blue-dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--fms-blue-dark); }
.btn-white:hover { box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 18px; font-size: 0.87rem; }

/* ==========================================================================
   Utility bar + header
   ========================================================================== */
.utility-bar {
  background: var(--fms-navy);
  color: #cfe9f5;
  font-size: 0.82rem;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 7px 0;
  flex-wrap: wrap;
}
.utility-bar a { color: var(--white); font-weight: 600; }
.utility-links { display: flex; align-items: center; gap: 20px; }

.text-size-control { display: flex; align-items: center; gap: 5px; }
.text-size-label { opacity: 0.75; margin-right: 2px; }
.text-size-control button {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 8px;
  cursor: pointer;
  line-height: 1.4;
}
.text-size-control button:hover { background: rgba(255,255,255,0.28); }
.text-size-control button.active { background: var(--fms-blue); border-color: var(--fms-blue); color: var(--fms-navy); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 72px; height: 72px; border-radius: 0; object-fit: contain; }
.brand-text .brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--fms-navy);
  display: block;
  line-height: 1.2;
}
.brand-text .brand-tagline {
  font-size: 0.78rem;
  color: var(--ink-soft);
  display: block;
}

.header-right { display: flex; align-items: center; gap: 22px; }
.header-phone { text-align: right; line-height: 1.3; }
.header-phone .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); display: block; }
.header-phone a { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--fms-navy); }

.site-nav { border-top: 1px solid var(--line); }
.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.93rem;
  border-bottom: 3px solid transparent;
}
.nav-list a:hover, .nav-list a.active {
  color: var(--fms-blue-dark);
  border-bottom-color: var(--fms-blue);
  text-decoration: none;
}
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header-phone { display: none; }
  .nav-toggle {
    display: block;
    background: var(--fms-blue-dark);
    color: var(--white);
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
  }
  .nav-list { display: none; flex-direction: column; padding-bottom: 8px; }
  .nav-list.open { display: flex; }
  .nav-list a { border-bottom: none; border-left: 3px solid transparent; }
  .nav-list a:hover, .nav-list a.active { border-left-color: var(--fms-blue); background: var(--fms-blue-bg); }
}

/* ==========================================================================
   Hero — photo-forward with navy overlay (Forbin-style)
   ========================================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(9,58,82,0.92) 0%, rgba(0,95,142,0.82) 45%, rgba(0,95,142,0.45) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(0,185,232,0.35), transparent 55%),
    var(--fms-blue-dark);
  color: var(--white);
  padding: 96px 0 110px;
  overflow: hidden;
}
.hero::after {
  /* soft angled bottom edge */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.hero h1 { color: var(--white); max-width: 17ch; }
.hero .hero-sub {
  font-size: 1.12rem;
  color: #d9f1fa;
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Trust strip overlapping hero bottom */
.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -46px;
}
.trust-inner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.trust-item {
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-item .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--fms-blue-dark);
  display: block;
}
.trust-item .label { font-size: 0.82rem; color: var(--ink-soft); }
@media (max-width: 800px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ==========================================================================
   Category tiles (photo-tile look with gradient icon headers)
   ========================================================================== */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.tile-media {
  height: 120px;
  background: linear-gradient(120deg, var(--fms-blue-dark), var(--fms-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}
.tile:nth-child(even) .tile-media {
  background: linear-gradient(120deg, var(--fms-navy), var(--fms-blue-dark));
}
.tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-media .product-photo {
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.28));
}
.tile-media .icon-photo {
  width: 52%;
  height: 52%;
  object-fit: contain;
}
.tile-body { padding: 18px 20px 20px; }
.tile-body h3 { font-size: 1.02rem; margin-bottom: 4px; }
.tile-body p { margin: 0; font-size: 0.87rem; color: var(--ink-soft); }
.tile-link {
  margin-top: auto;
  padding: 0 20px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--fms-blue-dark);
}

/* Standard cards (used across interior pages) */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card img { border-radius: var(--radius-sm); margin-bottom: 14px; }
.card ul { padding-left: 18px; margin: 10px 0 0; font-size: 0.93rem; color: var(--ink-soft); }
.card ul li { margin-bottom: 4px; }

/* Split feature (About) */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(140deg, var(--fms-blue-bg), var(--white));
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.check-list { list-style: none; padding: 0; margin: 18px 0 0; }
.check-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--fms-blue-bg);
  color: var(--fms-blue-dark);
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* stat strip (legacy class, restyled) */
.stat-strip { display: flex; justify-content: center; gap: 64px; flex-wrap: wrap; text-align: center; padding: 26px 0; }
.stat-strip .num { font-family: var(--font-head); font-size: 2.4rem; color: var(--fms-blue-dark); font-weight: 700; display: block; }
.stat-strip .label { color: var(--ink-soft); font-size: 0.88rem; }

/* Testimonials */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial::before {
  content: "“";
  font-family: var(--font-head);
  font-size: 3.4rem;
  color: var(--fms-blue);
  line-height: 0;
  position: absolute;
  top: 34px; left: 22px;
  opacity: 0.5;
}
.testimonial p, .testimonial { font-style: normal; }
.testimonial .quote { padding-left: 34px; color: var(--ink-soft); }
.testimonial cite {
  display: block;
  margin-top: 14px;
  padding-left: 34px;
  font-style: normal;
  font-weight: 700;
  color: var(--fms-navy);
  font-size: 0.88rem;
}
.testimonial cite::before { content: "— "; color: var(--fms-blue); }

/* Location cards */
.location-card { border-top: 4px solid var(--fms-blue); }
.location-card h3 { display: flex; align-items: center; gap: 8px; }

/* CTA band */
.cta-band {
  background:
    linear-gradient(100deg, var(--fms-navy) 0%, var(--fms-blue-dark) 70%),
    var(--fms-blue-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin: 0 0 6px; }
.cta-band p { margin: 0; color: #cfe9f5; }

/* ==========================================================================
   Accordion (Products / Resource Center)
   ========================================================================== */
.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.accordion-trigger {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  border-left: 4px solid var(--fms-blue);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--fms-navy);
  cursor: pointer;
}
.accordion-trigger:hover { background: var(--fms-blue-bg); }
.accordion-trigger .chev { transition: transform 0.2s ease; color: var(--fms-blue-dark); }
.accordion-item.open .accordion-trigger .chev { transform: rotate(180deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.accordion-item.open .accordion-panel { max-height: 3000px; }
.accordion-body { padding: 4px 26px 22px; }
.accordion-body ul { columns: 2; column-gap: 36px; padding-left: 18px; }
.accordion-body ul li { break-inside: avoid; margin-bottom: 6px; font-size: 0.94rem; }
@media (max-width: 640px) { .accordion-body ul { columns: 1; } }

.mcr-note {
  background: var(--fms-amber-bg);
  border: 1px solid var(--fms-amber-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  margin: 16px 0;
}

.jump-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.jump-nav a {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--fms-blue-dark);
  padding: 7px 14px;
  border-radius: 999px;
}
.jump-nav a:hover { background: var(--fms-blue-dark); border-color: var(--fms-blue-dark); color: var(--white); text-decoration: none; }

/* Page hero (interior pages) */
.page-hero {
  background:
    linear-gradient(100deg, rgba(9,58,82,0.94), rgba(0,95,142,0.85)),
    var(--fms-blue-dark);
  color: var(--white);
  padding: 56px 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 4px; }
.page-hero .lede { color: #d9f1fa; }
.page-hero .eyebrow { color: #8fdcf3; }
.page-hero .eyebrow::after { background: var(--fms-blue); }
.page-hero a { color: var(--white); text-decoration: underline; }

/* Forms */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: 0.87rem; display: block; margin-bottom: 6px; }
input:not([type="checkbox"]):not([type="radio"]), textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--white);
}
textarea { resize: vertical; min-height: 110px; }
.form-status { font-size: 0.9rem; margin-top: 10px; }

/* ==========================================================================
   Shop
   ========================================================================== */
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; margin-bottom: 28px;
}
.product-card { display: flex; flex-direction: column; }
.product-card .tag {
  align-self: flex-start;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px;
}
.tag-rx { background: #FFEAEA; color: #B3261E; }
.tag-drop { background: var(--fms-blue-bg); color: var(--fms-blue-dark); }
.tag-new { background: #E6F6E9; color: #21793B; }
.tag-bundle { background: var(--fms-amber-bg); color: #8a6a00; }
.product-card .price { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--fms-navy); margin: 10px 0 14px; }
.price .strike { text-decoration: line-through; color: var(--ink-soft); font-size: 0.92rem; font-weight: 400; margin-right: 8px; }
.product-card .btn { margin-top: auto; justify-content: center; }

.cart-fab {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--fms-navy); color: var(--white);
  border-radius: 999px; padding: 15px 24px; font-weight: 700;
  box-shadow: var(--shadow-md); cursor: pointer; border: none; z-index: 200;
  font-family: var(--font-head);
}
.cart-count { background: var(--fms-blue); color: var(--fms-navy); border-radius: 50%; padding: 2px 8px; margin-left: 6px; font-size: 0.8rem; }
.cart-drawer {
  position: fixed; top: 0; right: 0; width: min(380px, 100vw); height: 100vh;
  background: var(--white); box-shadow: -8px 0 30px rgba(0,0,0,0.18);
  transform: translateX(100%); transition: transform 0.25s ease;
  z-index: 300; padding: 26px; overflow-y: auto;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer .close-cart { float: right; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink-soft); }
.cart-line { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.cart-line button { background: none; border: none; color: #B3261E; cursor: pointer; font-size: 0.85rem; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; padding: 16px 0; font-size: 1.05rem; }
.overlay { position: fixed; inset: 0; background: rgba(9,58,82,0.45); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 250; }
.overlay.open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Footer — dark navy, 4-column
   ========================================================================== */
.site-footer {
  background: var(--fms-navy);
  color: #b9d9e8;
  padding: 60px 0 26px;
  margin-top: 80px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.site-footer h4::after {
  content: "";
  display: block;
  width: 28px; height: 3px;
  background: var(--fms-blue);
  border-radius: 2px;
  margin-top: 8px;
}
.site-footer a { color: #dff3fb; }
.site-footer p { margin: 0 0 10px; font-size: 0.92rem; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand img { width: 58px; height: 58px; border-radius: 50%; margin-bottom: 12px; }
.footer-logo-badge {
  width: 74px; height: 74px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.footer-logo-badge img { width: 100%; height: 100%; object-fit: contain; margin-bottom: 0; border-radius: 0; }
.footer-brand .name { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.05rem; display: block; }
.footer-brand .tag { font-size: 0.82rem; font-style: italic; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 20px; font-size: 0.82rem; opacity: 0.8;
}
.social-links { display: flex; gap: 12px; margin-top: 10px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.social-links a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.social-links img { width: 26px; height: 26px; margin-bottom: 0; }

/* ==========================================================================
   Mobile tightening pass — phones under ~640px
   ========================================================================== */
@media (max-width: 640px) {
  .hero { padding: 52px 0 70px; }
  .hero::after { height: 40px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }

  .cta-band { padding: 32px 24px; flex-direction: column; text-align: center; }
  .cta-band > div:last-child { width: 100%; flex-direction: column; }
  .cta-band .btn { width: 100%; justify-content: center; }

  .utility-bar { font-size: 0.74rem; }
  .utility-inner { justify-content: center; text-align: center; gap: 4px 14px; }
  .utility-links { justify-content: center; gap: 12px; flex-wrap: wrap; }

  .header-top { gap: 10px; }
  .header-right { gap: 10px; }
  .header-right .btn-sm { padding: 9px 14px; font-size: 0.82rem; }
  .brand img { width: 54px; height: 54px; }
  .brand-text .brand-name { font-size: 1rem; }
  .brand-text .brand-tagline { display: none; }

  .section { padding: 48px 0; }
  .section-tight { padding: 30px 0; }

  .trust-strip { margin-top: -30px; }
  .trust-item { padding: 16px 10px; }
  .trust-item .num { font-size: 1.35rem; }

  .cart-drawer { padding: 20px; }
  .cart-fab { bottom: 16px; right: 16px; padding: 13px 20px; }
}

/* Ensure every tap target (buttons, nav links, form controls) clears the
   44px touch-target guideline on phones, not just desktop hover states. */
@media (max-width: 960px) {
  .nav-list a { padding: 14px 16px; min-height: 44px; display: flex; align-items: center; }
  .btn, .nav-toggle { min-height: 44px; }
  input, textarea, select { min-height: 44px; }
  .accordion-trigger { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Scroll-reveal: fade + slight rise as content enters the viewport.
   JS in main.js adds .in-view via IntersectionObserver, once per element.
   Reusable anywhere on the site -- just add class="reveal" (optionally
   "reveal delay-1" / "delay-2" for a light stagger). */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }

/* Treatment cards: photo-led cards for the homepage "How We Help" section --
   each photo gets its own full-width space rather than sitting under text. */
.treatment-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.treatment-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.treatment-card .photo {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0;
}
.treatment-card .body { padding: 22px 24px 26px; }
.treatment-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.treatment-card p { color: var(--ink-soft); font-size: 0.91rem; margin-bottom: 16px; }
.treatment-card .tile-link { display: inline-block; }

/* Screen-reader-only: visually hidden but still announced by assistive tech.
   Use for real form labels that don't need a visible label on-page. */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Honeypot spam-trap field: hidden from everyone, sighted users and screen
   readers alike (paired with aria-hidden="true" in the HTML). Never use
   display:none here -- some spam bots specifically skip display:none fields,
   which defeats the point of the trap. */
.hp-field {
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; opacity: 0;
}
