/* BioLabs Research — Premium Telehealth Design System v2.0 */
/* Inspired by Hims, Ro, Keeps — built for conversion */

:root {
  /* === COLORS === */
  --bg: #ffffff;
  --cream: #f7f5f0;
  --cream-deep: #ede9e1;
  --cream-warm: #f3eee5;
  --ink: #1a1a1a;
  --ink-soft: #4a4742;
  --ink-muted: #8a8580;
  --amber: #fbcf87;
  --amber-deep: #e8b86a;
  --bronze: #9a6d2a;
  --bronze-light: #c99e5a;
  --line: #e6e1d8;
  --line-soft: #f0ece4;
  --card: #ffffff;
  --danger: #8a3a2a;
  --ok: #2f5d3a;
  --green: #3a6b4a;
  --radius: 1.25rem;
  --radius-sm: 0.875rem;
  --radius-xs: 0.5rem;
  --shadow-sm: 0 2px 8px rgba(31, 31, 31, 0.04);
  --shadow: 0 8px 32px rgba(31, 31, 31, 0.06);
  --shadow-lg: 0 16px 48px rgba(31, 31, 31, 0.08);
  --max: 76rem;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

/* === ACCESSIBILITY === */
.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  z-index: 100;
  transition: top var(--transition);
}
.skip:focus { top: 0.75rem; }

/* === ANNOUNCEMENT BAR === */
.announce {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  letter-spacing: 0.01em;
}
.announce a {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

/* === HEADER / NAV === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.5rem;
}
.logo img {
  width: 152px;
  height: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--bronze);
}

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

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover { background: #333; }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--cream); }
.btn-amber {
  background: var(--amber);
  color: var(--ink);
}
.btn-amber:hover { background: var(--amber-deep); }
.btn-bronze {
  background: var(--bronze);
  color: #fff;
}
.btn-bronze:hover { background: var(--bronze-light); }
.btn-text {
  background: transparent;
  color: var(--ink);
  padding-inline: 0.4rem;
  font-weight: 600;
}
.btn-text:hover { color: var(--bronze); }
.btn-lg {
  min-height: 3.5rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
}
.btn-sm {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn[disabled], .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.icon-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.hamburger span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  margin: 3px 0;
  transition: all var(--transition);
}

.menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 0.75rem 1.25rem 1.25rem;
}
.menu.open { display: block; }
.menu a {
  display: block;
  padding: 0.85rem 0;
  text-decoration: none;
  font-weight: 550;
  border-bottom: 1px solid var(--line-soft);
}
.menu .btn { width: 100%; margin-top: 0.85rem; }

/* === LAYOUT === */
main { min-height: 60vh; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.wrap-narrow {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* === HERO === */
.hero {
  background: var(--cream);
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--bronze);
  margin: 0 0 0.75rem;
}
.kicker::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--bronze);
  border-radius: 999px;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  margin: 0 0 1.25rem;
}
.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 0 1.75rem;
  line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero benefits list */
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-benefit svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--bronze);
  flex-shrink: 0;
}

/* Hero image */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}


.hero-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  max-height: 420px;
  object-fit: cover;
  aspect-ratio: 1;
  margin: 0 auto;
}

.legal-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
  max-width: 38rem;
  margin: 1.25rem 0 0;
}

/* === SECTIONS === */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-cream { background: var(--cream); }
.section-cream-deep { background: var(--cream-deep); }
.section-ink {
  background: var(--ink);
  color: #fff;
}
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: rgba(255,255,255,0.7); }

.section-header {
  margin-bottom: 2.5rem;
}
.section h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin: 0 0 0.6rem;
  line-height: 1.1;
}
.section-sub {
  color: var(--ink-soft);
  margin: 0 0 0;
  max-width: 38rem;
  font-size: 1.05rem;
}

/* === VERTICAL CARDS === */
.verticals-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.v-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.v-card:hover {
  border-color: var(--bronze);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.v-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream);
}
.v-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}
.v-card .v-count {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 0;
}

/* === PRODUCT/TREATMENT CARDS === */
.tx-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.tx-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.tx-card:hover {
  border-color: var(--bronze);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.tx-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.tx-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.tx-card:hover .tx-card-image img {
  transform: scale(1.03);
}
.tx-card-body {
  padding: 1.5rem 1.35rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.tx-card .tx-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  z-index: 1;
}
.tx-tag.popular { background: #fef3c7; color: #92400e; }
.tx-tag.new { background: #dbeafe; color: #1e40af; }
.tx-tag.ruo { background: #f3f0e8; color: #6b6b5a; }
.tx-card .tx-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.tx-card .tx-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  flex: 1;
  line-height: 1.55;
}
.tx-card .tx-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
}
.tx-card .tx-price {
  font-weight: 700;
  color: var(--bronze);
  font-size: 1.05rem;
}
.tx-card .tx-cta {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition), gap var(--transition);
}
.tx-card .tx-cta:hover {
  color: var(--bronze);
  gap: 0.5rem;
}

/* === FEATURED PRODUCTS === */
.feat-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
}
.feat-card:hover {
  border-color: var(--bronze);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.feat-card-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.feat-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.feat-card:hover .feat-card-image img {
  transform: scale(1.05);
}
.feat-card .feat-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  z-index: 1;
}
.feat-tag.popular { background: #fef3c7; color: #92400e; }
.feat-tag.new { background: #dbeafe; color: #1e40af; }
.feat-card-body {
  padding: 1.35rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.feat-card .feat-name {
  font-weight: 700;
  font-size: 1.05rem;
}
.feat-card .feat-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  flex: 1;
  line-height: 1.5;
}
.feat-card .feat-price {
  font-weight: 700;
  color: var(--bronze);
  font-size: 1rem;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
}

/* === STEPS / HOW IT WORKS === */
.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.step {
  text-align: center;
}
.step .step-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}
.step .step-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--bronze);
}
.step .num {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  font-family: var(--sans);
}
.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

/* === TRUST SIGNALS === */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.trust-item .trust-number {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.trust-item .trust-label {
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-align: center;
}

/* === TESTIMONIALS === */
.testimonials-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  color: var(--amber-deep);
}
.testimonial-stars svg {
  width: 1.15rem;
  height: 1.15rem;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-author .avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--bronze);
  font-size: 0.9rem;
}
.testimonial-author .name {
  font-weight: 600;
  font-size: 0.92rem;
}
.testimonial-author .meta {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === TREATMENTS PAGE === */
.tx-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.tx-section:first-of-type { padding-top: 1rem; }
.tx-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.tx-header h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 600;
  margin: 0;
}
.tx-header .tx-count {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.tx-section-image {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 21/9;
  background: var(--cream);
}
.tx-section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Category sticky nav */
.tx-category-nav {
  position: sticky;
  top: 62px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 40;
  padding: 0.75rem 0;
}
.tx-category-nav .wrap {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.tx-category-nav .wrap::-webkit-scrollbar { display: none; }
.tx-category-nav a {
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.tx-category-nav a:hover,
.tx-category-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* === ASSESSMENT / START === */
.intake {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.95rem;
  font: inherit;
  background: #fff;
  transition: border-color var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bronze);
}
.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  background: var(--cream);
  color: var(--ink-soft);
}

/* === BANNERS === */
.banner {
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  background: var(--cream);
  border: 1px solid var(--line);
  margin: 1rem 0 1.5rem;
}
.banner strong { display: block; margin-bottom: 0.25rem; }
.banner.warn { background: #fff6e8; border-color: var(--amber-deep); }

/* === EMBED === */
.embed-frame {
  min-height: 70vh;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

/* === PRODUCTS (shop) === */
.products {
  display: grid;
  gap: 1.25rem;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.product:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.product-img {
  aspect-ratio: 4 / 3;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body {
  padding: 1.25rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.product-body h3 { margin: 0; font-size: 1.25rem; }
.price { font-weight: 700; color: var(--bronze); }
.muted { color: var(--ink-soft); font-size: 0.92rem; }
.empty {
  text-align: left;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.5rem 1.75rem;
  border: 1px dashed var(--bronze);
}
.empty h2 { margin-top: 0; }

/* === CART === */
.cart-bar {
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 30;
}
.cart-bar[hidden] { display: none; }

/* === THANKS === */
.thanks {
  padding: 4rem 0 5rem;
  text-align: left;
}

/* === FOOTER === */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 2.5rem;
  font-size: 0.92rem;
}
.site-footer .brand {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.site-footer a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--transition);
}
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin: 0 0 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.fine {
  margin-top: 2rem;
  font-size: 0.8rem;
  max-width: 40rem;
  color: rgba(255,255,255,0.5);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* === CTA SECTION === */
.cta-section {
  text-align: center;
  padding: 4rem 0;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}
.cta-section p {
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
}

/* === RESPONSIVE === */
@media (min-width: 600px) {
  .verticals-grid { grid-template-columns: repeat(4, 1fr); }
  .tx-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 980px) {
  .verticals-grid { grid-template-columns: repeat(8, 1fr); }
  .tx-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 5rem 0 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .tx-card:hover, .feat-card:hover, .v-card:hover {
    transform: none;
  }
  * { transition-duration: 0.01ms !important; }
}

/* === HORIZONTAL CAROUSEL === */
.carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1rem;
  margin: 0 -0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.carousel::-webkit-scrollbar { display: none; }

.carousel-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.carousel-card:hover {
  border-color: var(--bronze);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.carousel-card-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cream);
}
.carousel-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.carousel-card:hover .carousel-card-image img {
  transform: scale(1.05);
}
.carousel-card-body {
  padding: 0.85rem 1rem 1.1rem;
  text-align: center;
}
.carousel-card-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.15rem;
  font-family: var(--sans);
}
.carousel-card-body .v-count {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Carousel arrows */
.carousel-wrap {
  position: relative;
}
.carousel-arrow {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.carousel-arrow:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.carousel-arrow.prev { left: -0.5rem; }
.carousel-arrow.next { right: -0.5rem; }
.carousel-arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}
@media (max-width: 719px) {
  .carousel-arrow { display: none; }
  .carousel-card { flex: 0 0 160px; }
}

/* Fix hero grid on mobile */
@media (max-width: 719px) {
  .hero-image { order: -1; margin-bottom: 1rem; }
  
}
