/* ============================================================
   PMR PHARMA — design system
   Style: clinical apothecary / futuristic pharma
   Palette: Deep Teal #244d54 · Mint #2ecea0 · Soft Teal #6dddbd
   Type: Inter Tight (display) / Inter (body & numerals)
   Rules: pill CTAs, hairline borders, no shadows,
          alternating Paper/Deep-Teal sections
   ============================================================ */

:root {
  --teal-deep: #244d54;
  --teal-deeper: #1b3c42;
  --mint: #2ecea0;
  --mint-soft: #6dddbd;
  --carbon: #000000;
  --ink: #151515;
  --graphite: #4d4d4d;
  --slate: #858585;
  --fog: #999999;
  --mist: #e5e7eb;
  --bone: #f0f1f2;
  --paper: #ffffff;
  --radius-card: 20px;
  --radius-pill: 50px;
  --max-w: 1280px;
  --gap-section: 64px;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(38px, 5vw, 62px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }

p { color: var(--graphite); }

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

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

/* ---------- labels / badges ---------- */

.kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--mint);
  display: block;
  margin-bottom: 14px;
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--mint);
  color: var(--teal-deeper);
  white-space: nowrap;
}

.badge--outline {
  background: transparent;
  border: 1px solid var(--mint);
  color: var(--mint);
}

.badge--muted {
  background: var(--bone);
  border: 1px solid var(--mist);
  color: var(--graphite);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

/* solid colour first as a fallback — if the gradient is ever unsupported
   or fails to parse, the button must still read as a filled mint pill */
.btn--fill {
  background: #2ecea0;
  background: linear-gradient(180deg, #63ecc6, #27c095);
  color: #0a2229;
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 24px -8px rgba(46, 206, 160, 0.65);
}

.btn--fill:hover {
  background: #43e2b4;
  background: linear-gradient(180deg, #7ff5d5, #2ecea0);
  box-shadow: 0 10px 30px -8px rgba(46, 206, 160, 0.85);
}

/* extra lift on dark panels so the primary action always pops */
.hero-split__dark .btn--fill,
.section--teal .btn--fill,
.cta-band .btn--fill {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18),
              0 10px 30px -6px rgba(46, 206, 160, 0.7);
}

.btn--outline { border-color: var(--mint); color: var(--mint); background: transparent; }
.btn--outline:hover { background: rgba(46, 206, 160, 0.1); }

.btn--ghost-dark { border-color: var(--mist); color: var(--ink); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--ink); }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mist);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.logo .logo__accent { color: var(--mint); }

/* scan-sphere mark: slices fade & swell in a wave — reads as a rotating 3D sphere */
.logo-mark { flex: none; }

.logo-mark rect {
  transform-box: fill-box;
  transform-origin: center;
  animation: logo-wave 2.6s ease-in-out infinite;
}

@keyframes logo-wave {
  0%, 100% { opacity: 0.3; transform: scaleX(0.78); }
  50% { opacity: 1; transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-mark rect { animation: none; opacity: 1; }
}

.nav { display: flex; align-items: center; gap: 28px; }

.nav a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
  transition: color .15s ease;
}

.nav a:hover, .nav a.active { color: var(--teal-deep); }

.nav .btn { padding: 10px 22px; font-size: 14px; }

.nav-toggle { display: none; }

/* ---------- hero split ---------- */

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.hero-split__dark {
  background: var(--teal-deep);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px min(7vw, 96px);
  position: relative;
  overflow: hidden;
}

.hero-split__dark h1 { color: var(--paper); }

.hero-split__dark p {
  color: var(--mint-soft);
  font-size: 17px;
  margin: 22px 0 34px;
  max-width: 48ch;
}

.hero-split__light {
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

/* soft bokeh circle behind product */
.bokeh {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(109,221,189,.35), rgba(46,206,160,.08) 60%, transparent 75%);
}

/* wireframe grid texture on dark panels */
.wire {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(109,221,189,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,221,189,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- glowing scan figure (home hero) ---------- */

.hero-split__figure {
  background: var(--teal-deeper);
  border-left: 1px solid rgba(109, 221, 189, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 48px;
}

.figure-glow {
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 206, 160, 0.22), transparent 65%);
  animation: breathe 6s ease-in-out infinite;
}

.scan-figure {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 6px rgba(46, 206, 160, 0.8))
          drop-shadow(0 0 24px rgba(46, 206, 160, 0.35));
  animation: floaty 7s ease-in-out infinite;
}

.scan-figure ellipse {
  animation: slice-light 4s linear infinite;
}

/* glowing orb travelling down inside the body */
.inner-light {
  animation: light-travel 4s linear infinite;
}

.scanline {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 8%;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, var(--mint-soft), transparent);
  box-shadow: 0 0 12px rgba(109, 221, 189, 0.8);
  opacity: 0.75;
  animation: scan 5.5s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* each slice flares bright at the moment the inner light passes through it */
@keyframes slice-light {
  0%, 100% { opacity: 0.4; }
  4% { opacity: 1; stroke: #eafffa; stroke-width: 2.2; }
  12% { opacity: 0.55; }
}

@keyframes light-travel {
  0% { transform: translateY(0); opacity: 0; }
  6% { opacity: 0.75; }
  92% { opacity: 0.75; }
  100% { transform: translateY(430px); opacity: 0; }
}

@keyframes scan {
  0%, 100% { top: 8%; }
  50% { top: 90%; }
}

@media (prefers-reduced-motion: reduce) {
  .scan-figure, .figure-glow, .scanline, .scan-figure ellipse, .inner-light { animation: none; }
  .inner-light { opacity: 0; }
}

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

.section { padding: var(--gap-section) 0; }

.section--teal {
  background: var(--teal-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.section--teal h2, .section--teal h3 { color: var(--paper); }
.section--teal p { color: var(--mint-soft); }

.section--bone { background: var(--bone); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { margin-top: 14px; font-size: 16px; }

/* ---------- stat blocks ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat {
  border: 1px solid rgba(109, 221, 189, 0.25);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}

.stat__num {
  font-family: var(--font-body);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(180deg, var(--mint-soft), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat__label {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--mint-soft);
}

.stat__note { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------- product grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bone);
  border: 1px solid var(--mist);
  border-radius: var(--radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  border-color: var(--mint);
  transform: translateY(-6px);
  box-shadow: 0 26px 44px -26px rgba(27, 60, 66, 0.35);
}

.card__art svg, .card__art img { animation: bob 6s ease-in-out infinite; }
.grid .card:nth-child(odd) .card__art svg, .grid .card:nth-child(odd) .card__art img { animation-delay: -2s; }
.grid .card:nth-child(3n) .card__art svg, .grid .card:nth-child(3n) .card__art img { animation-delay: -4s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.card__art {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
}

.card__art .bokeh { width: 170px; height: 170px; }

.card__cat {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--slate);
}

.card h3 { margin: 6px 0 4px; font-size: 20px; }

.card__strength {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-deep);
}

.card__desc { font-size: 14px; margin: 10px 0 18px; flex: 1; }

.card .btn { align-self: flex-start; padding: 10px 22px; font-size: 14px; }

/* ---------- vial / pen artwork (CSS-drawn) ---------- */

.vial { position: relative; z-index: 1; }

/* ---------- product stage: orbits, float, grounded shadow ---------- */

.stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 420px;
}

.stage .vial { animation: floaty 6s ease-in-out infinite; }

.orbit {
  position: absolute;
  border: 1px dashed rgba(46, 206, 160, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.orbit i {
  position: absolute;
  top: -5px;
  left: 50%;
  margin-left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(46, 206, 160, 0.9);
}

.orbit--1 { width: 330px; height: 330px; animation: spin 26s linear infinite; }
.orbit--2 {
  width: 440px; height: 440px;
  border-color: rgba(36, 77, 84, 0.18);
  animation: spin 44s linear infinite reverse;
}
.orbit--2 i { background: var(--teal-deep); box-shadow: none; width: 7px; height: 7px; }

.ground {
  position: absolute;
  bottom: 18%;
  width: 150px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(36, 77, 84, 0.30), transparent 70%);
  filter: blur(5px);
  animation: ground-pulse 6s ease-in-out infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes ground-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(0.82); opacity: 0.55; }
}

/* radial light on dark panels — depth without breaking the flat system */
.hero-split__dark::after,
.section--teal::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 206, 160, 0.13), transparent 65%);
  top: -180px;
  right: -160px;
  pointer-events: none;
}

.glass {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (prefers-reduced-motion: reduce) {
  .stage .vial, .orbit, .ground, .card__art svg, .card__art img { animation: none; }
}

/* ---------- wow layer: reveals, entrance, ticker, particles ---------- */

/* scroll reveal (class added by JS — no-JS users see everything instantly) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* cinematic hero entrance */
.hero-split__dark .crumb,
.hero-split__dark .kicker,
.hero-split__dark .hero-badges,
.hero-split__dark h1,
.hero-split__dark p,
.hero-split__dark .hero-actions {
  animation: rise .9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-split__dark .crumb { animation-delay: 0s; }
.hero-split__dark .kicker { animation-delay: .04s; }
.hero-split__dark .hero-badges { animation-delay: .08s; }
.hero-split__dark h1 { animation-delay: .12s; }
.hero-split__dark p { animation-delay: .22s; }
.hero-split__dark .hero-actions { animation-delay: .34s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
}

/* molecular particle canvas (injected by JS) */
.particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-split__dark > *:not(.particles),
.cta-band > *:not(.particles) {
  position: relative;
  z-index: 1;
}

/* compound ticker */
.ticker {
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--mist);
  padding: 15px 0;
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: ticker 38s linear infinite;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--graphite);
  white-space: nowrap;
}

.ticker b { color: var(--mint); font-weight: 600; }

@keyframes ticker { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-split__dark .crumb, .hero-split__dark .kicker, .hero-split__dark .hero-badges,
  .hero-split__dark h1, .hero-split__dark p, .hero-split__dark .hero-actions { animation: none; }
  .ticker__track { animation: none; }
}

/* ---------- product page ---------- */

.product-hero { min-height: 480px; }

.product-hero .hero-split__dark { padding: 64px min(6vw, 80px); }

.product-hero h1 { font-size: clamp(34px, 4.4vw, 54px); }

.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }

.two-col {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.two-col h2 { position: sticky; top: 104px; }

.prose { max-width: 62ch; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0 18px; color: var(--graphite); }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--mint); }

/* research highlights on teal */

.findings { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

.finding {
  border: 1px solid rgba(109, 221, 189, 0.25);
  border-radius: var(--radius-card);
  padding: 26px 24px;
}

.finding__stat {
  font-family: var(--font-body);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--mint-soft), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.finding__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--paper);
  margin: 8px 0 8px;
}

.finding p { font-size: 14px; }

.evidence-tag {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--mint-soft);
  border: 1px solid rgba(109, 221, 189, 0.4);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
}

/* ---------- spec table ---------- */

.spec-wrap { overflow-x: auto; border: 1px solid var(--mist); border-radius: var(--radius-card); }

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}

.spec th, .spec td { text-align: left; padding: 14px 20px; }

.spec th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--slate);
  width: 220px;
  background: var(--bone);
  border-right: 1px solid var(--mist);
}

.spec tr + tr th, .spec tr + tr td { border-top: 1px solid var(--mist); }

.spec td { color: var(--ink); }

/* ---------- testing block ---------- */

.test-panel {
  border: 1px solid var(--mist);
  border-radius: var(--radius-card);
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--paper);
}

.test-panel__icon {
  width: 56px; height: 56px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--mint);
  flex: none;
}

.test-panel h3 { font-size: 19px; margin-bottom: 4px; }
.test-panel p { font-size: 14px; }

/* ---------- certificate of analysis ---------- */

.coa {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.coa__doc {
  position: relative;
  display: block;
  border: 1px solid var(--mist);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--paper);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.coa__doc img { display: block; width: 100%; }

.coa__doc:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -26px rgba(27, 60, 66, .4);
}

.coa__zoom {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  background: var(--teal-deep);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.coa__meta .spec th { width: 150px; }

@media (max-width: 900px) {
  .coa { grid-template-columns: 1fr; }
}

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

.faq { border-top: 1px solid var(--mist); }

.faq details { border-bottom: 1px solid var(--mist); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
}

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

.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--mint);
  transition: transform .18s ease;
  flex: none;
}

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

.faq .faq__a { padding: 0 4px 22px; max-width: 70ch; }

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

.cta-band { text-align: center; padding: 72px 24px; position: relative; overflow: hidden; }

.cta-band h2 { max-width: 20ch; margin: 0 auto 16px; }
.cta-band p { max-width: 52ch; margin: 0 auto 30px; }

/* ---------- RUO banner ---------- */

.ruo {
  background: var(--teal-deeper);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.55;
  padding: 18px 0;
  border-top: 1px solid rgba(109, 221, 189, 0.2);
}

.ruo strong { color: var(--mint-soft); font-family: var(--font-display); font-weight: 600; }

/* ---------- warning note ---------- */

.notice {
  border: 1px solid var(--mist);
  border-left: 3px solid var(--mint);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 14px;
  color: var(--graphite);
  background: var(--bone);
  margin-top: 28px;
}

.notice--warn { border-left-color: #d97706; }

/* ---------- footer ---------- */

.site-footer { background: var(--teal-deep); color: var(--mint-soft); }

.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}

.site-footer h4 {
  color: var(--paper);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
  margin-bottom: 16px;
}

.site-footer a { display: block; font-size: 14px; margin-bottom: 10px; color: var(--mint-soft); }
.site-footer a:hover { color: var(--paper); }

.site-footer .logo { color: var(--paper); margin-bottom: 14px; display: inline-block; }

.site-footer p { font-size: 13px; color: rgba(255, 255, 255, 0.6); max-width: 40ch; }

.footer-legal {
  border-top: 1px solid rgba(109, 221, 189, 0.15);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- floating WhatsApp button ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #43e2b4, var(--mint));
  color: var(--teal-deeper);
  box-shadow: 0 10px 28px -8px rgba(27, 60, 66, 0.45), 0 0 0 0 rgba(46, 206, 160, 0.55);
  animation: wa-ping 3s ease-out infinite;
  transition: transform .2s ease;
}

.wa-float:hover { transform: scale(1.08); }

.wa-float svg { width: 28px; height: 28px; }

@keyframes wa-ping {
  0% { box-shadow: 0 10px 28px -8px rgba(27, 60, 66, 0.45), 0 0 0 0 rgba(46, 206, 160, 0.5); }
  70%, 100% { box-shadow: 0 10px 28px -8px rgba(27, 60, 66, 0.45), 0 0 0 16px rgba(46, 206, 160, 0); }
}

@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* ---------- breadcrumb ---------- */

.crumb {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--mint-soft);
  margin-bottom: 22px;
  display: block;
}

.crumb a { color: var(--mint); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split__light { min-height: 320px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .two-col h2 { position: static; }
  .site-footer .container { grid-template-columns: 1fr; gap: 28px; }
  .test-panel { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--paper);
    border-bottom: 1px solid var(--mist);
    padding: 20px 24px;
    gap: 18px;
  }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--mist);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 16px;
    cursor: pointer;
    color: var(--ink);
  }
}
