/* ==========================================================================
   No Cost Shoes — Site Styles
   ========================================================================== */

:root {
  /* Quantum Medical Supply brand tokens */
  --quantum-navy: #123B5D;
  --quantum-blue: #6993CD;
  --quantum-pink: #EF608C;
  --quantum-teal: #008D8A;
  --quantum-aqua: #25B9B2;
  --quantum-light-aqua: #DDF4F2;
  --quantum-light-gray: #EEF5F7;
  --quantum-dark-text: #263746;
  --quantum-gray-text: #667784;
  --quantum-border: #D9E3E7;
  --quantum-off-white: #F8FBFC;
  --quantum-white: #FFFFFF;
  --quantum-gold: #F5B942;

  /* Brand gradient (pink → purple → blue), as on quantummedicalsupply.com */
  --grad: linear-gradient(100deg, var(--quantum-pink) 0%, #9B72C0 50%, var(--quantum-blue) 100%);

  /* Site aliases */
  --navy: var(--quantum-navy);
  --navy-deep: #0C2940;
  --teal: #4A78BE;            /* interactive blue (quantum-blue, darkened for contrast) */
  --teal-dark: #38609C;
  --teal-soft: #E9F0FA;
  --accent: var(--quantum-pink);
  --accent-dark: #D94D79;
  --cream: var(--quantum-off-white);
  --sand: var(--quantum-light-gray);
  --white: var(--quantum-white);
  --ink: var(--quantum-dark-text);
  --ink-soft: var(--quantum-gray-text);
  --line: var(--quantum-border);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(18, 59, 93, 0.10);
  --shadow-soft: 0 4px 14px rgba(18, 59, 93, 0.07);
  --font-head: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--teal); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1, h2 { text-wrap: balance; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.section { padding: 4.5rem 0; }
.section--tight { padding: 3rem 0; }
.section--alt { background: var(--white); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--sand); }
.section--navy h2, .section--navy h3 { color: var(--ink); }
.section--navy p { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal);
  background: linear-gradient(100deg, #FDEFF4, #EAF1FB);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.85rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.9rem 1.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: linear-gradient(100deg, var(--quantum-pink), #E5548A);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(239, 96, 140, 0.35);
}
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost:hover { background: var(--navy); color: var(--white); }

.btn--light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.btn--light:hover { background: var(--teal-soft); }

.btn--lg { font-size: 1.1rem; padding: 1.05rem 2.2rem; }

/* --------------------------------------------------------------------------
   Header / Nav
   -------------------------------------------------------------------------- */

.topbar {
  background: #2B5B8E;
  color: #E3ECF5;
  font-size: 0.9rem;
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a { color: #FFFFFF; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 251, 252, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.85rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-decoration: none;
}

.brand__img { height: 42px; width: auto; display: block; }

.site-footer .brand__img {
  height: 52px;
  background: var(--white);
  padding: 6px 10px;
  border-radius: 8px;
}

.brand__logo {
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand__no { color: #4180BE; }
.brand__cost { color: #7DBB57; }

.brand__foot {
  width: 17px;
  height: auto;
  flex-shrink: 0;
  margin: -14px 3px 0 2px;
  transform: rotate(10deg);
}

.brand__shoes {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: #4180BE;
  border-radius: 5px;
  padding: 2px 8px 3px;
  align-self: flex-end;
  margin: 0 0 2px 1px;
  letter-spacing: 0.02em;
}

.brand__powered {
  display: block;
  font-size: 0.63rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 3px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.site-footer .brand__powered { color: #9FB4C2; }

@media (max-width: 480px) {
  .brand__powered { font-size: 0.56rem; }
}

.nav { display: flex; align-items: center; gap: 1.6rem; }

.nav__item { position: relative; }

.nav__drop-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav__drop-btn::after { content: "▾"; font-size: 0.72em; translate: 0 1px; }

.nav__drop-btn:hover { color: var(--teal); }
.nav__drop-btn.is-active { color: var(--teal); border-bottom-color: var(--teal); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 0.55rem;
  display: none;
  z-index: 60;
}

.dropdown__panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.5rem;
  min-width: 190px;
}

.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown,
.nav__item.is-open .dropdown { display: block; }

.nav .dropdown__panel a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  border-bottom: 0;
  font-weight: 600;
  white-space: nowrap;
}

.nav .dropdown__panel a:hover { background: var(--teal-soft); }

.nav a {
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.nav a:hover { color: var(--teal); }
.nav a.is-active { color: var(--teal); border-bottom-color: var(--teal); }

.nav .btn { padding: 0.65rem 1.4rem; font-size: 0.95rem; }
.nav .btn:hover { transform: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  background:
    radial-gradient(750px 500px at 100% 0%, rgba(239, 96, 140, 0.35), transparent 55%),
    radial-gradient(700px 460px at -8% 110%, rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(135deg, #35629F 0%, #6993CD 78%, #7EA3D8 100%);
  color: var(--white);
  overflow: hidden;
}

/* Dot texture, fading in toward the right */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(105deg, transparent 40%, #000 80%);
  mask-image: linear-gradient(105deg, transparent 40%, #000 80%);
  pointer-events: none;
}

/* Wave edge into the next section */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 84px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 52 C 240 92 480 12 720 32 C 960 52 1200 86 1440 42 L 1440 90 L 0 90 Z' fill='%23ffffff'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 8.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #FFC2D6 0%, #FFE3EC 55%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.2rem;
  color: #E7EEF9;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero__stars { margin-top: 1.4rem; font-size: 0.95rem; color: #E7EEF9; font-weight: 600; }
.hero__stars b { color: var(--quantum-gold); letter-spacing: 0.12em; font-weight: 700; }

.hero__note { font-size: 0.88rem; color: #CBDAF0; margin-top: 0.8rem; }

.hero__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
  color: var(--ink);
}

/* Hero credibility bar */

.cred {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.2rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.cred span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #E7EEF9;
}

.cred .check { background: rgba(255, 255, 255, 0.18); color: var(--white); margin-top: 0; }

/* Partner banner bar (728x90 creative) on inner pages */

.adbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 1rem;
}

.adbar__link {
  display: block;
  width: 728px;
  max-width: 100%;
  margin: 0 auto;
}

.adbar__frame {
  display: block;
  width: 728px;
  height: 90px;
  transform-origin: top left;
  pointer-events: none; /* clicks fall through to the link */
}

.adbar__frame iframe {
  display: block;
  border: 0;
  width: 728px;
  height: 90px;
}

@media (max-width: 767px) {
  .adbar__link { width: 473px; height: 59px; }
  .adbar__frame { transform: scale(0.65); }
}

@media (max-width: 500px) {
  .adbar__link { width: 328px; height: 41px; }
  .adbar__frame { transform: scale(0.45); }
}

/* Product photo strips */

.photostrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.photostrip a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem 0.9rem 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photostrip a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.photostrip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.photostrip span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
}

.photostrip__more {
  margin-top: 1.4rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.photostrip__more a { color: var(--teal); font-weight: 600; }

@media (max-width: 980px) {
  .photostrip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .photostrip { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .photostrip span { font-size: 0.78rem; }
}

/* Privacy policy page */

.policy h2 { margin-top: 2.4rem; }

.policy h3 { margin-top: 1.6rem; margin-bottom: 0.6rem; color: var(--navy); }

.policy p, .policy li { font-size: 0.98rem; }

.policy-toc { padding-left: 1.4rem; }

.policy-toc li { padding: 0.15rem 0; }

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.92rem;
}

.policy-table th, .policy-table td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.policy-table th { background: var(--sand); color: var(--navy); }

.policy-table td:last-child { white-space: nowrap; font-weight: 700; }

/* Cookie consent (ported from quantummedicalsupply.com) */

.cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  transform: translateY(115%); transition: transform 0.3s ease;
  pointer-events: none;
}

.cookie-consent.is-open { transform: translateY(0); pointer-events: auto; }

.cookie-consent__inner {
  max-width: 1160px; margin: 0.8rem auto;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.2rem;
  display: flex; gap: 0.9rem 1.4rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}

.cookie-consent__text { margin: 0; font-size: 0.9rem; color: var(--ink-soft); max-width: 72ch; }

.cookie-consent__text a { color: var(--teal); }

.cookie-consent__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.cookie-consent__actions .btn { padding: 0.7rem 1.4rem; }

@media (max-width: 760px) {
  .cookie-consent__inner { margin: 0.6rem; padding: 0.9rem 1rem; }
  .cookie-consent__actions { width: 100%; }
  .cookie-consent__actions .btn { flex: 1; justify-content: center; }
}

/* 300x600 half-page banner rail beside content */

.layout-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2.5rem;
  align-items: start;
}

.rail300 {
  position: sticky;
  top: 110px;
}

.rail300__link {
  display: block;
  width: 300px;
  height: 600px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.rail300__link iframe {
  display: block;
  border: 0;
  width: 300px;
  height: 600px;
  pointer-events: none; /* clicks fall through to the link */
}

.rail-content { min-width: 0; }

/* narrower content column: step grids down one notch so cards stay readable */
.layout-rail .grid--4 { grid-template-columns: repeat(3, 1fr); }
.layout-rail .grid--3 { grid-template-columns: repeat(2, 1fr); }

/* rail stacked inside a form sidebar column */
.rail300--stack {
  position: static;
  width: 300px;
  margin: 1.5rem auto 0;
}

@media (max-width: 980px) {
  .layout-rail { grid-template-columns: 1fr; }
  .rail300 { position: static; margin: 0 auto; }
  .layout-rail .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .layout-rail .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .layout-rail .grid--4, .layout-rail .grid--3 { grid-template-columns: 1fr; }
}

/* Hero product illustration */

.hero__product {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.shoe3d {
  perspective: 950px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.shoe3d.is-grabbing { cursor: grabbing; }

.shoe3d__stage {
  position: relative;
  aspect-ratio: 10 / 8;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
  will-change: transform;
}

.shoe3d__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  filter: drop-shadow(0 22px 20px rgba(18, 59, 93, 0.22));
}

.shoe3d__img.is-active { opacity: 1; }

.shoe3d__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.shoe3d__hint {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.shoe3d__dots {
  display: flex;
  gap: 0.45rem;
}

.shoe3d__dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.shoe3d__dots button:hover { background: var(--quantum-blue); }

.shoe3d__dots button.is-active {
  background: var(--teal);
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .shoe3d__stage { transition: none; transform: none !important; }
}

.chip {
  position: absolute;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--white);
  color: var(--navy);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  box-shadow: var(--shadow);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.25;
}

.chip strong {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}

.chip--tl { top: 0; left: -0.5rem; }
.chip--br { bottom: 4.75rem; right: -0.5rem; }

@media (max-width: 980px) {
  .chip--tl { left: 0; }
  .chip--br { right: 0; }
}

.hero__card h3 { font-size: 1.15rem; margin-bottom: 1.2rem; }

.hero__card ul { list-style: none; }

.hero__card li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}

.hero__card li:last-child { border-bottom: 0; }

.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */

.truststrip { background: var(--white); border-bottom: 1px solid var(--line); }

.truststrip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.1rem;
}

.truststrip__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 700;
}

.truststrip__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  align-items: center;
}

.truststrip__logos span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: #849AA8;
}

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.card h3 { font-size: 1.18rem; margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); font-size: 0.99rem; }

.card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.card__icon svg { width: 28px; height: 28px; }

.card--accent .card__icon { background: #FCE7EF; color: var(--accent); }

/* Steps */

.steps { counter-reset: step; }

.step { position: relative; padding-top: 0.4rem; }

.step__num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.step p { color: var(--ink-soft); font-size: 0.98rem; }

/* Category tiles — photo card style */

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.tile__art,
img.tile__art {
  position: static;
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: var(--white);
  padding: 1.1rem 1.2rem 0.3rem;
  opacity: 1;
}

.tile h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 0.7rem 1.3rem 0.2rem;
}

.tile p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0 1.3rem 1.25rem;
  flex: 1;
}

.tile__arrow {
  position: absolute;
  z-index: 1;
  top: 0.9rem;
  right: 0.9rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Split sections
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* logo variant: brand mark centered on a soft card instead of a photo */
.split__media--logo {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 3rem 2.5rem;
  min-height: 320px;
}

.split__media--logo img {
  width: min(340px, 80%);
  height: auto;
  object-fit: contain;
}

.split__media-powered {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
  width: min(340px, 80%);
  text-align: center;
}

.split__media--logo .split__media-quantum { width: min(300px, 72%); }

.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.split p { color: var(--ink-soft); margin-bottom: 1rem; }

.ticklist { list-style: none; margin: 1.4rem 0 1.8rem; }

.ticklist li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.ticklist strong { color: var(--navy); }

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label { color: var(--ink-soft); font-size: 0.98rem; }

/* Patient reviews */

.review-stars {
  color: var(--quantum-gold);
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.review-name {
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */

.faq { max-width: 800px; margin-inline: auto; }

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--teal);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .faq__body {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background: linear-gradient(110deg, var(--quantum-pink) 0%, #9B72C0 55%, var(--quantum-blue) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: 3.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); max-width: 34rem; }

.cta-band .btn--primary {
  background: var(--white);
  color: var(--accent-dark);
  box-shadow: 0 8px 20px rgba(18, 59, 93, 0.25);
}
.cta-band .btn--primary:hover { background: #FCE7EF; color: var(--accent-dark); }

.cta-band .btn--light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}
.cta-band .btn--light:hover { background: rgba(255, 255, 255, 0.12); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.4rem;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 141, 138, 0.15);
}

.field .hint { font-size: 0.82rem; color: var(--ink-soft); }

fieldset.field {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}

fieldset.field legend {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  padding-inline: 0.4rem;
}

.choice { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.3rem 0; font-size: 0.98rem; }
.choice input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--teal); }

.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 1rem; }

.form-success {
  display: none;
  background: var(--teal-soft);
  border: 1.5px solid var(--teal);
  color: var(--teal-dark);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin-top: 1.4rem;
  font-weight: 600;
}

.form-success.is-visible { display: block; }

.form-success__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
}

.form-success__actions .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  background: var(--white);
}

/* --------------------------------------------------------------------------
   Info / prose pages
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  background:
    radial-gradient(700px 380px at 96% -10%, rgba(239, 96, 140, 0.32), transparent 58%),
    linear-gradient(135deg, #35629F 0%, #6993CD 85%, #7EA3D8 100%);
  color: var(--white);
  padding: 4rem 0 6.5rem;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 64px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 52 C 240 92 480 12 720 32 C 960 52 1200 86 1440 42 L 1440 90 L 0 90 Z' fill='%23F8FBFC'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
  pointer-events: none;
}

.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 0.9rem; }
.page-hero p { color: #E7EEF9; font-size: 1.15rem; max-width: 40rem; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 0.8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 0.6rem; }
.prose p { margin-bottom: 1rem; color: var(--ink-soft); }
.prose ul, .prose ol { margin: 0 0 1rem 1.4rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.45rem; }

.callout {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.6rem 0;
}

.callout--accent { background: #FCE7EF; border-left-color: var(--accent); }
.callout p { margin: 0; color: var(--ink); }

/* Two-column page layouts (form + sidebar) */

.layout-form {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.layout-contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 980px) {
  .layout-form, .layout-contact { grid-template-columns: 1fr; }
}

/* Contact page */

.contact-info { list-style: none; }

.contact-info li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-info li:last-child { border-bottom: 0; }

.contact-info .card__icon { width: 46px; height: 46px; margin: 0; flex-shrink: 0; }
.contact-info strong { display: block; color: var(--navy); font-family: var(--font-head); }
.contact-info a { color: var(--teal); font-weight: 600; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-info span { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { background: var(--navy-deep); color: #9FB4C2; }

.site-footer .container { padding-block: 3.5rem 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1fr 1fr 1.2fr;
  gap: 2.2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: #9FB4C2; text-decoration: none; font-size: 0.97rem; }
.site-footer a:hover { color: #A9C7EC; }

.footer-brand p { font-size: 0.95rem; margin-top: 0.9rem; max-width: 26rem; }

.footer-legal {
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #7A8FA0;
}

.footer-legal a { color: #AFC3D2; text-decoration: underline; }

.footer-legal a:hover { color: var(--white); }

/* Brand logo row */

.brandrow {
  display: flex;
  align-items: center;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
  margin: -0.75rem 0 2.25rem;
}

.brandrow img { height: 34px; width: auto; opacity: 0.85; }

/* Footer accreditation badges */

.footer-badges { display: flex; gap: 0.8rem; margin-top: 1.1rem; flex-wrap: wrap; }

.footer-badges img {
  height: 54px;
  width: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 5px 8px;
}

/* Product catalog cards */

.pcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.pcard__brand {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.pcard h3 { font-size: 1.08rem; }

.pcard__colors { font-size: 0.88rem; color: var(--ink-soft); flex: 1; }

.pcard__dots { display: flex; gap: 0.35rem; margin: 0.25rem 0 0.5rem; }

.pcard__dots span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-block;
}

a.pcard { text-decoration: none; color: inherit; }

.pcard__art {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem;
  margin-bottom: 0.7rem;
}

.pcard__art svg { width: 100%; height: auto; }

.pcard__art img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  display: block;
}

.pcard__link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.pcard:hover .pcard__link { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
html.js .reveal.is-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, .tile:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; padding-block: 3.5rem; }
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    background: var(--cream);
    padding: 5.5rem 6% 2rem;
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    z-index: 40;
  }

  .nav.is-open { transform: none; visibility: visible; transition: transform 0.25s ease, visibility 0s; }
  .nav a { font-size: 1.15rem; padding: 0.55rem 0; }
  .nav .btn { margin-top: 0.8rem; }

  .nav__item { width: 100%; }
  .nav__drop-btn { font-size: 1.15rem; padding: 0.55rem 0; }
  .dropdown { position: static; transform: none; display: block; padding-top: 0; }
  .dropdown__panel { border: 0; box-shadow: none; background: transparent; padding: 0 0 0 1rem; min-width: 0; }
  .nav .dropdown__panel a { font-size: 1.02rem; padding: 0.4rem 0.6rem; }

  .nav-toggle { display: block; position: relative; z-index: 45; }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band { padding: 2.4rem 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar__hours { display: none; }
}

/* ===== FreeStyle Libre promo banner (homepage) — ported from quantummedicalsupply.com ===== */

/* Promo banner (top of homepage) — animated, photo-driven frames */
.promo-banner {
  position: relative; display: block; overflow: hidden; text-decoration: none;
  background: #ffd200; color: #16242e; min-height: 144px;
}

/* each frame is a full banner layer; they scale-fade in sequence.
   content is centered within a leaderboard-like max width so it reads like the reference */
.pf {
  position: absolute; inset: 0; opacity: 0; display: flex; align-items: stretch;
  padding-inline: max(0px, calc((100% - 1240px) / 2));
}
.pf--cta { opacity: 1; } /* static fallback: show the CTA frame if animations are off */

/* left photo panel (circular right edge) — used on frames 1–4 */
/* pre-masked hero photo (circular edge baked in) shown full-height on the left */
.pf-photo {
  position: relative; flex: 0 0 clamp(200px, 23vw, 320px); align-self: stretch;
  background: url("../assets/banners/hero-nosensor.png") left center / contain no-repeat;
}
/* frames 4 & 5: sensor has been applied — show the photo with the sensor on his arm */
.pf--worn .pf-photo { background: url("../assets/banners/hero1.png") left center / contain no-repeat; }
.pf-onlogo { position: absolute; left: 5%; top: 50%; transform: translateY(-50%); width: 64%; height: auto; }
/* the white sensor "applies" onto the arm (background img — no broken icon if absent) */
.pf-sensor {
  position: absolute; left: 45%; top: 78%; width: 15%; aspect-ratio: 1;
  transform: translate(-50%,-50%);
  background: url("../assets/banners/sensor.png") center / contain no-repeat;
  filter: drop-shadow(0 3px 7px rgba(0,0,0,.3));
}

/* left logo panel — used on the CTA frame */
.pf-logopanel { flex: 0 0 clamp(200px, 23vw, 320px); display: flex; align-items: center; justify-content: center; }
.pf-logo { height: 84px; width: auto; display: block; }

/* MESSAGE frames (2–5): headline centered with the small disclaimer directly below, no Abbott */
.pf-body {
  flex: 1 1 auto; min-width: 0; height: 100%;
  padding: 8px clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "head" "disc";
  row-gap: 6px; align-items: center; justify-items: center;
}
.pf-head {
  grid-area: head; text-align: center; font-weight: 800; color: #16242e;
  font-size: clamp(1rem, 1.7vw, 1.35rem); line-height: 1.12;
}
.pf-head sup { font-size: .6em; }
.pf-head--cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; }
.promo-cta {
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  background: #17222e; color: #fff; font-weight: 700; font-size: clamp(.95rem, 1.4vw, 1.1rem);
  padding: .55rem 1.15rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.promo-cta .ico { width: 1.05em; height: 1.05em; }
.promo-tag { font-style: italic; font-weight: 800; color: #1c2b3a; font-size: clamp(1rem, 1.6vw, 1.25rem); white-space: nowrap; }
.pf-abbott { grid-area: abbott; height: 42px; width: auto; display: none; } /* hidden on message frames */
.pf-disc { grid-area: disc; text-align: center; font-size: 13px; line-height: 1.35; color: #4a4327; max-width: 96ch; }

/* INTRO + CTA frames: headline/CTA in the middle, Abbott logo, disclaimer block on the right */
.pf--intro .pf-body, .pf--cta .pf-body {
  grid-template-columns: 1fr auto minmax(0, 300px);
  grid-template-areas: "head abbott disc";
  column-gap: clamp(1rem, 2.5vw, 2rem); row-gap: 0;
}
.pf--intro .pf-abbott, .pf--cta .pf-abbott { display: block; height: 56px; }
.pf--intro .pf-disc, .pf--cta .pf-disc { text-align: left; }
/* CTA carries the full ISI block — wider column so the larger type still fits the box */
.pf--cta .pf-body { grid-template-columns: 1fr auto minmax(0, 480px); }
.pf--cta .pf-disc { font-size: 11px; line-height: 1.3; }
/* Intro also carries a long disclaimer — larger headline, balanced disclaimer column */
.pf--intro .pf-body { grid-template-columns: 1fr auto minmax(0, 330px); column-gap: clamp(.8rem, 2vw, 1.6rem); }
.pf--intro .pf-disc { font-size: 10.5px; line-height: 1.28; }
.pf--intro .pf-head { font-size: clamp(1.3rem, 2.1vw, 1.75rem); }

/* moving sheen sweeping across the bar */
.promo-shine {
  position: absolute; top: 0; left: 0; height: 100%; width: 40%; z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: translateX(-160%) skewX(-18deg); pointer-events: none;
}

/* keyframes */
@keyframes promo-pulse { 0%,100% { transform: scale(1); box-shadow: 0 6px 16px rgba(0,0,0,.18); } 50% { transform: scale(1.06); box-shadow: 0 8px 22px rgba(0,0,0,.28); } }
@keyframes promo-sweep { 0% { transform: translateX(-160%) skewX(-18deg); } 100% { transform: translateX(360%) skewX(-18deg); } }
/* 6 frames — each visible for one ~16.7% slice of the 18s loop, scaling in like the source ad */
@keyframes promo-cycle {
  0%     { opacity: 0; transform: scale(.955); }
  2%     { opacity: 1; transform: scale(1); }
  14.5%  { opacity: 1; transform: scale(1); }
  16.67% { opacity: 0; transform: scale(1); }
  100%   { opacity: 0; transform: scale(1); }
}
/* sensor pops in big then settles onto the arm during frame 3 (its own 0–16.7% window) */
@keyframes promo-sensor {
  0%     { opacity: 0; transform: translate(-50%,-50%) scale(3.6) rotate(-16deg) translateY(-10%); }
  3%     { opacity: 1; transform: translate(-50%,-50%) scale(3.2) rotate(-12deg) translateY(-6%); }
  8%     { opacity: 1; transform: translate(-50%,-50%) scale(3.2) rotate(-12deg) translateY(-6%); }
  14.5%  { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(3deg); }
  16.67% { opacity: 1; transform: translate(-50%,-50%) scale(1) rotate(3deg); }
  16.68%,100% { opacity: 0; transform: translate(-50%,-50%) scale(1) rotate(3deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .pf { animation: promo-cycle 18s ease-in-out infinite; animation-delay: calc(var(--i) * 3s); }
  .pf--cta { opacity: 0; } /* handed back to the animation */
  .pf--cta .promo-cta { animation: promo-pulse 1.8s ease-in-out infinite; }
  .pf-sensor { animation: promo-sensor 18s ease-in-out infinite; animation-delay: calc(var(--i) * 3s); }
  .promo-shine { animation: promo-sweep 6s ease-in-out 1s infinite; }
}
.promo-banner:hover .promo-cta { background: #223142; }

@media (max-width: 720px) {
  .promo-banner { min-height: 150px; }
  .pf-photo, .pf-logopanel { flex: 0 0 100px; }
  .pf--cta .pf-logopanel { flex-basis: 130px; }
  .pf-logo { height: 54px; } /* larger logo on the end (CTA) frame */
  .pf-onlogo { width: 82%; }
  /* photo fills the left panel (cover) instead of letterboxing */
  .pf-photo { background-size: cover !important; background-position: 55% center !important; }
  /* every frame: headline centered in the upper area, disclaimer pinned to the bottom */
  .pf-body, .pf--intro .pf-body, .pf--cta .pf-body {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 5px; padding: 8px .7rem; text-align: center;
  }
  .pf-head, .pf--intro .pf-head, .pf-head--cta { margin-top: auto; }
  .pf-abbott, .pf--intro .pf-abbott, .pf--cta .pf-abbott { display: none; }
  .pf-head, .pf--intro .pf-head {
    font-size: clamp(.72rem, 3vw, .95rem); line-height: 1.14; text-align: center;
  }
  /* keep the disclaimers visible and pinned to the bottom on mobile */
  .pf-disc, .pf--intro .pf-disc, .pf--cta .pf-disc {
    display: block; font-size: 7.5px; line-height: 1.3; text-align: center; max-width: none;
    margin-top: auto;
  }
  .pf-head--cta { flex-direction: column; gap: .25rem; }
  .promo-cta { font-size: .82rem; padding: .42rem .85rem; }
  .promo-tag { font-size: .85rem; }
}
