/* uvc-vtm.co.uk — design system
   Typography is deliberately distinct from Purhaven (Fraunces / Manrope):
   Lexend for headings (built from reading-proficiency research) + Atkinson
   Hyperlegible for body (Braille Institute legibility font) — a dyslexia-
   considerate, accessibility-led pairing that suits a health/duty-of-care
   brand. Palette is clinical white + medical teal. More data-dense than
   Purhaven — calculators are the lead, not lifestyle photography. */

:root {
  --ink:        #0a1f2e;
  --ink-soft:   #2a4456;
  --ink-light:  #5a7384;
  --line:       rgba(10, 31, 46, 0.10);
  --line-soft:  rgba(10, 31, 46, 0.05);

  --paper:      #ffffff;
  --paper-soft: #f6fafb;
  --breath:     #e8f4f7;

  --teal:       #0d9488;
  --teal-deep:  #0f766e;
  --teal-dark:  #042f2e;
  --teal-soft:  #ccfbf1;
  --teal-mist:  #f0fdfa;

  --sky:        #4a9bb8;
  --sky-deep:   #2c6e85;

  --accent:     #d97757;
  --accent-deep:#b85c3e;

  --ok:         #16a34a;
  --warn:       #ea580c;
  --bad:        #dc2626;

  --radius:     14px;
  --radius-lg:  20px;
  --radius-pill: 100px;

  --shadow-sm:  0 1px 2px rgba(10,31,46,.06), 0 1px 3px rgba(10,31,46,.04);
  --shadow-md:  0 4px 12px rgba(10,31,46,.06), 0 2px 4px rgba(10,31,46,.04);
  --shadow-lg:  0 14px 40px rgba(10,31,46,.10), 0 4px 12px rgba(10,31,46,.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}
h1, h2, h3, h4 {
  font-family: 'Lexend', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p  { font-size: 1rem; }
a  { color: var(--teal-deep); text-decoration: none; transition: color .15s; }
a:hover { color: var(--teal); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--ink-light); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-deep);
}

/* ───── NAV ───── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4ade80, var(--teal) 60%, var(--teal-deep) 100%);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12), inset 0 0 0 1px rgba(255,255,255,.4);
  flex-shrink: 0;
  position: relative;
}
.brand-mark::after {
  content: '';
  position: absolute; inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.85), transparent 60%);
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  transition: background .2s, transform .15s;
  font-weight: 600;
}
.nav-cta:hover { background: var(--teal-deep); transform: translateY(-1px); }

.currency-switcher {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 3px;
  background: var(--paper-soft);
}
.currency-switcher button {
  background: transparent;
  border: none;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s;
}
.currency-switcher button.is-active {
  background: var(--ink);
  color: var(--paper);
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0;
  transition: transform .2s;
}
@media (max-width: 880px) {
  nav.site-nav { padding: 12px 20px; }
  .nav-links {
    position: fixed; top: 60px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 20px; gap: 18px;
    transform: translateY(-120%); transition: transform .25s;
  }
  .nav-links.is-open { transform: translateY(0); }
  .nav-toggle { display: block; }
}

/* ───── BUTTONS ───── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-deep); color: var(--paper); }
.btn-primary:hover { background: var(--teal); color: var(--paper); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--teal-deep); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.btn-accent { background: var(--accent); color: var(--paper); }
.btn-accent:hover { background: var(--accent-deep); color: var(--paper); }

/* ───── HERO ───── */
.hero {
  padding: 140px 0 80px;
  background:
    radial-gradient(800px 400px at 20% 0%, var(--teal-mist), transparent 60%),
    radial-gradient(600px 400px at 90% 30%, var(--breath), transparent 60%),
    var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid; gap: 56px;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
@media (max-width: 880px) {
  .hero { padding: 110px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ── Clean-air wave motif ──────────────────────────────────────────
   Subtle layered teal waves drift slowly along the bottom of every
   hero (and the top of the footer) — "clean air, flowing". Kept low
   opacity and behind content, never over body text. Honours
   prefers-reduced-motion. */
.hero > .container { position: relative; z-index: 1; }
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 160px;
  z-index: 0;
  pointer-events: none;
  background:
    url('/assets/img/wave-air-2.svg') repeat-x left bottom,
    url('/assets/img/wave-air.svg') repeat-x left bottom;
  background-size: 1100px 100%, 1440px 100%;
  animation: air-drift 36s linear infinite;
}
footer.site-footer { position: relative; }
footer.site-footer::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 56px;
  transform: translateY(-100%);
  pointer-events: none;
  background: url('/assets/img/wave-air.svg') repeat-x left bottom;
  background-size: 1440px 100%;
  opacity: .7;
  animation: air-drift 36s linear infinite;
}
@keyframes air-drift {
  from { background-position: 0 bottom, 0 bottom; }
  to   { background-position: -1100px bottom, 1440px bottom; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after, footer.site-footer::before { animation: none; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(13,148,136,.15);
}
.hero h1 { margin-bottom: 18px; }
.hero-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-trust {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-light);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before {
  content: '✓';
  color: var(--teal-deep);
  font-weight: 700;
}

/* Hero embedded ROI calculator */
.hero-calc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-calc-title {
  font-family: 'Lexend', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.hero-calc-sub { font-size: 0.88rem; color: var(--ink-light); margin-bottom: 22px; }
.calc-row {
  display: grid; grid-template-columns: 1fr 110px;
  gap: 12px; align-items: center;
  margin-bottom: 14px;
}
.calc-row label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.calc-row input,
.calc-row select {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  width: 100%;
}
.calc-row input:focus,
.calc-row select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.18);
}
.calc-result {
  margin-top: 18px;
  padding: 18px;
  background: var(--teal-mist);
  border: 1px solid var(--teal-soft);
  border-radius: 10px;
}
.calc-result-big {
  font-family: 'Lexend', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.calc-result-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
}
.calc-result-foot {
  font-size: 0.82rem;
  color: var(--ink-light);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--teal-soft);
}

/* ───── SECTIONS ───── */
.section {
  padding: 80px 0;
}
.section-tight { padding: 56px 0; }
.section-soft { background: var(--paper-soft); }
.section-dark {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-deep) 100%);
  color: var(--paper);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .eyebrow { color: var(--teal-soft); }
.section-dark p { color: rgba(236, 253, 245, 0.85); }

.section-head { max-width: 740px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow { margin-bottom: 12px; display: block; }
.section-head p { font-size: 1.08rem; color: var(--ink-soft); margin-top: 12px; }

/* Two-column calculator / contact layout. Per-page desktop ratio is set
   inline via the --split custom property (defaults to 1fr 1.35fr); the
   media query collapses it to a single column on narrow screens. */
.split {
  display: grid;
  gap: 32px;
  align-items: start;
  grid-template-columns: var(--split, 1fr 1.35fr);
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
}

/* Brand-page product row: image · details · price box. Collapses on mobile.
   Applied alongside .sector-card; replaces its inline 2-col grid. */
.product-row {
  display: grid;
  grid-template-columns: 160px 1fr 240px;
  gap: 24px;
  align-items: center;
}
.product-row .pr-img {
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px; min-height: 160px; height: 100%;
}
.product-row .pr-img img { max-width: 100%; max-height: 180px; object-fit: contain; }
@media (max-width: 820px) {
  .product-row { grid-template-columns: 1fr; }
  .product-row .pr-img { min-height: 200px; }
}

/* "Buy on Amazon" — primary buy action (main sales channel). */
.btn-amazon { background: #ff9900; color: #0a1f2e; border-color: #ff9900; }
.btn-amazon:hover { background: #f08c00; color: #0a1f2e; box-shadow: var(--shadow-md); }

/* Clickable recommendation cards (room sizer) */
.option-link { transition: border-color .15s, box-shadow .15s, transform .15s; }
.option-link:hover { border-color: var(--teal) !important; box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* ───── COMPLIANCE / SECTOR CARDS ───── */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.sector-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.sector-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-soft);
}
.sector-card .sector-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--teal-mist);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.sector-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.sector-card .sector-standard {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.sector-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 16px; flex: 1; }
.sector-card .sector-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-deep);
}
.sector-card:hover .sector-cta { color: var(--teal); }

/* ───── TOOLS GRID ───── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.tool-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.tool-card .tool-icon {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--breath);
  align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
}
.tool-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.tool-card p  { font-size: 0.88rem; color: var(--ink-soft); }
.tool-card .tool-time {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--ink-light);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ───── BRAND STRIP ───── */
.brands {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brands a {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 16px 12px;
  border-radius: 10px;
  transition: background .15s;
}
.brands a:hover { background: var(--paper-soft); }
.brands img {
  max-height: 36px; max-width: 100%;
  opacity: 0.75;
  filter: grayscale(30%);
  transition: opacity .2s, filter .2s;
  margin-bottom: 6px;
}
.brands a:hover img { opacity: 1; filter: grayscale(0%); }
.brands .brand-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* ───── PROOF / NUMBER ROW ───── */
.proof-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin: 40px 0;
}
.proof-row .proof-num {
  font-family: 'Lexend', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.proof-row .proof-label { font-size: 0.92rem; color: var(--ink-soft); }

/* ───── CTA BAND ───── */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-deep) 100%);
  color: var(--paper);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--paper); margin-bottom: 12px; }
.cta-band p { color: rgba(236,253,245,0.85); max-width: 600px; margin: 0 auto 24px; }

/* ───── FORMS ───── */
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.18);
}

/* ───── FOOTER ───── */
footer.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
footer h4 {
  color: var(--paper);
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
footer ul { list-style: none; }
footer li { margin-bottom: 8px; font-size: 0.92rem; }
footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.82rem;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* In-depth SEO product descriptions (category pages) */
.prod-desc { max-width: 820px; margin: 0 auto 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.prod-desc:last-child { border-bottom: none; margin-bottom: 0; }
.prod-desc h2 { font-size: 1.5rem; margin-bottom: 12px; }
.prod-desc h3 { font-size: 1.08rem; color: var(--teal-deep); font-family: 'Lexend', sans-serif; margin: 22px 0 6px; }
.prod-desc p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 10px; }

/* ───── UTILITIES ───── */
.lede { font-size: 1.1rem; color: var(--ink-soft); }
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--teal-mist);
  color: var(--teal-deep);
}
.pill-warn { background: #fff7ed; color: var(--warn); }
.pill-ok   { background: #f0fdf4; color: var(--ok); }
