/* ==========================================================================
   FEMIVE™ — Homepage Stylesheet
   Brand Palette: Deep Teal (#4F7364), Seashell (#FBEFE9), Graphite (#2B2B2B)
   ========================================================================== */

:root {
  /* Brand Colors */
  --teal: #4F7364;
  --teal-dark: #3B584C;
  --teal-deep: #2C4339;
  --teal-soft: rgba(79, 115, 100, 0.08);
  --seashell: #FBEFE9;
  --seashell-light: #FDF8F5;
  --seashell-mid: #F4E2D9;
  --graphite: #2B2B2B;
  --graphite-muted: #5A5A5A;
  --graphite-subtle: #828282;
  --white: #FFFFFF;
  --border-light: rgba(43, 43, 43, 0.12);
  --border-teal: rgba(79, 115, 100, 0.22);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing & Layout */
  --container-max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 8vw, 7.5rem);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.3s var(--ease);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--graphite);
  background-color: var(--seashell-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button, input, select {
  font-family: inherit;
  color: inherit;
}

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--teal);
  color: var(--seashell);
}

.btn-primary:hover {
  background-color: var(--teal-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--graphite);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-light {
  background-color: var(--seashell);
  color: var(--teal-deep);
}

.btn-light:hover {
  background-color: var(--white);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   Announcement Bar & Header
   ========================================================================== */
.announcement-bar {
  background-color: var(--teal);
  color: var(--seashell);
  padding: 0.55rem var(--gutter);
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

.announcement-bar span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0.92;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(251, 239, 233, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

/* Brand Guidelines: min digital width 120px + 1.5X clear space */
.brand-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 0;
  flex-shrink: 0;
}

.brand-logo img {
  width: 132px;
  height: auto;
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--graphite);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.2rem;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  color: var(--graphite-muted);
  transition: background-color var(--transition), color var(--transition);
}

.lang-btn.active {
  background-color: var(--teal);
  color: var(--seashell);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background-color: var(--white);
  cursor: pointer;
  position: relative;
  transition: border-color var(--transition), color var(--transition);
}

.icon-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background-color: var(--teal);
  color: var(--seashell);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background-color: var(--seashell);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--teal);
}

.hero-title {
  font-size: clamp(2.5rem, 4.8vw, 4.125rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--graphite);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--graphite-muted);
  max-width: 52ch;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--teal);
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--graphite-muted);
}

/* Hero Visual Placeholder */
.hero-visual {
  position: relative;
}

.visual-frame {
  background: linear-gradient(155deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 4.6;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--seashell);
  position: relative;
  overflow: hidden;
}

.visual-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(251, 239, 233, 0.14), transparent 55%);
  pointer-events: none;
}

.visual-tag {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(251, 239, 233, 0.2);
  padding-bottom: 1rem;
  z-index: 1;
}

.visual-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
  z-index: 1;
  padding: 2rem 1rem;
  border: 1px dashed rgba(251, 239, 233, 0.3);
  border-radius: var(--radius-md);
}

.visual-center p {
  font-size: 0.875rem;
  opacity: 0.82;
  max-width: 28ch;
}

.visual-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  opacity: 0.85;
  z-index: 1;
}

/* ==========================================================================
   Certifications / Trust Strip
   ========================================================================== */
.trust-strip {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border-light);
}

.trust-item:first-child {
  border-left: none;
  padding-left: 0;
}

.trust-code {
  color: var(--teal);
  font-weight: 500;
}

.trust-desc {
  font-size: 0.8125rem;
  color: var(--graphite-muted);
}

/* ==========================================================================
   Section Shared Headers
   ========================================================================== */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 4vw, 3.75rem);
}

.section-eyebrow {
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--graphite);
}

.section-lead {
  font-size: 1rem;
  color: var(--graphite-muted);
  max-width: 48ch;
}

/* ==========================================================================
   Product Ecosystem Section
   ========================================================================== */
.products-section {
  background-color: var(--seashell-light);
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  background-color: var(--seashell);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-pill);
  padding: 0.25rem;
}

.toggle-btn {
  border: none;
  background: transparent;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--graphite-muted);
  transition: all var(--transition);
}

.toggle-btn.active {
  background-color: var(--teal);
  color: var(--seashell);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 18px 40px rgba(43, 43, 43, 0.06);
}

.product-media {
  background-color: var(--seashell);
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  background-color: var(--white);
  color: var(--teal);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-teal);
}

.product-placeholder-box {
  width: 64px;
  height: 84px;
  border: 1.5px solid var(--teal);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.product-media span.placeholder-note {
  font-size: 0.75rem;
  color: var(--graphite-muted);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--teal);
}

.product-desc {
  font-size: 0.9375rem;
  color: var(--graphite-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-specs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.spec-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  background-color: var(--seashell-light);
  border: 1px solid var(--border-light);
  color: var(--graphite-muted);
}

.product-card .btn {
  width: 100%;
}

/* ==========================================================================
   Science & Layer Architecture ("Why Femive")
   ========================================================================== */
.science-section {
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.layer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.layer-tab {
  text-align: left;
  width: 100%;
  background-color: var(--seashell-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition);
}

.layer-tab:hover {
  border-color: var(--teal);
}

.layer-tab.active {
  background-color: var(--teal);
  border-color: var(--teal);
  color: var(--seashell);
}

.layer-tab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.layer-tab-title {
  font-size: 1.0625rem;
  font-weight: 500;
}

.layer-tab-sub {
  font-size: 0.875rem;
  opacity: 0.78;
}

.science-panel {
  background-color: var(--seashell);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.75rem);
}

.science-diagram {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.diagram-bar {
  height: 28px;
  border-radius: var(--radius-sm);
  background-color: var(--seashell-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--graphite-muted);
  transition: all var(--transition);
}

.diagram-bar.highlighted {
  background-color: var(--teal);
  color: var(--seashell);
  transform: scale(1.02);
}

.science-panel h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.science-panel p {
  color: var(--graphite-muted);
  margin-bottom: 1.5rem;
}

.science-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-teal);
}

.science-point {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.science-point::before {
  content: '✓';
  color: var(--teal);
  font-weight: 600;
}

/* ==========================================================================
   Clinical Data Band (Deep Teal)
   ========================================================================== */
.data-band {
  background-color: var(--teal-deep);
  color: var(--seashell);
  padding: clamp(4rem, 6vw, 5.5rem) 0;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.data-card {
  border-top: 1px solid rgba(251, 239, 233, 0.25);
  padding-top: 1.5rem;
}

.data-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.data-card p {
  font-size: 0.9375rem;
  opacity: 0.82;
  max-width: 34ch;
}

/* ==========================================================================
   Comparison Matrix
   ========================================================================== */
.comparison-section {
  background-color: var(--seashell-light);
}

.comparison-table-wrap {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table thead th {
  background-color: var(--seashell);
  font-weight: 500;
  font-size: 0.9375rem;
}

.comparison-table thead th.femive-col {
  background-color: var(--teal);
  color: var(--seashell);
}

.comparison-table tbody td.femive-col {
  background-color: rgba(79, 115, 100, 0.04);
  font-weight: 500;
  color: var(--teal-deep);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background-color: var(--seashell-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.stars {
  color: var(--teal);
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--graphite);
  line-height: 1.65;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.875rem;
}

.author-name {
  font-weight: 600;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-section {
  background-color: var(--seashell);
  border-top: 1px solid var(--border-light);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 500;
  cursor: pointer;
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--teal);
  transition: transform var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-answer p {
  padding-bottom: 1.35rem;
  color: var(--graphite-muted);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Footer (Deep Teal + Light SVG)
   ========================================================================== */
.site-footer {
  background-color: var(--teal);
  color: var(--seashell);
  padding: clamp(4rem, 6vw, 5.5rem) 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(251, 239, 233, 0.2);
}

.footer-brand .brand-logo {
  padding: 0 0 1.25rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  opacity: 0.85;
  max-width: 36ch;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(251, 239, 233, 0.35);
  background-color: rgba(251, 239, 233, 0.08);
  color: var(--seashell);
  font-size: 0.875rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(251, 239, 233, 0.65);
}

.newsletter-msg {
  font-size: 0.8125rem;
  margin-top: 0.6rem;
  min-height: 1.2em;
  opacity: 0.9;
}

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

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.9rem;
  opacity: 0.88;
  transition: opacity var(--transition);
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8125rem;
  opacity: 0.8;
}

/* ==========================================================================
   Slide-Over Cart Drawer (Interactive Prototype)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(43, 43, 43, 0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100vh;
  background-color: var(--seashell-light);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cart-item-title {
  font-weight: 500;
  font-size: 0.9375rem;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--graphite-muted);
}

.cart-remove {
  background: none;
  border: none;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--graphite-muted);
  cursor: pointer;
  text-decoration: underline;
}

.drawer-foot {
  padding: 1.5rem;
  border-top: 1px solid var(--border-light);
  background-color: var(--white);
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .science-grid,
  .faq-layout,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .testimonials-grid,
  .data-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--seashell);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--gutter);
    gap: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .products-grid,
  .testimonials-grid,
  .data-grid,
  .trust-grid,
  .footer-columns,
  .hero-metrics,
  .science-points {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-left: none;
    padding-left: 0;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.75rem;
  }

  .trust-item:last-child {
    border-bottom: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .comparison-table-wrap {
    overflow-x: auto;
  }
}
