/* =========================================================
   Elayntra™ — Luxury Biotech / High-End Pharma
   Aesop × Apple × Medical Device Brochure
   ========================================================= */

:root {
  /* Metallic luxury — gold foil + platinum + gunmetal + emerald metal */
  --white: #FBFBFC;
  --off-white: #F2F3F5;
  --cream: #EEEFF2;
  --ivory: #F7F7F8;
  --mist: #E8EAEE;
  --teal: #1B5F5A;
  --teal-dark: #0F3F3C;
  --teal-deep: #0A2E2C;
  --teal-soft: #2A7A74;
  --lime: #3D8B84;
  --lime-soft: #6AADA6;
  --lime-muted: #D9EDEA;
  --gold: #c9a84c;
  --gold-light: #E8D5A0;
  --gold-dark: #8A6B2E;
  --champagne: #D4BC7D;
  --champagne-bright: #F2E6C4;
  --platinum: #C8CDD5;
  --platinum-bright: #E8EBEE;
  --silver: #A8B0BC;
  --gunmetal: #2C323C;
  --steel: #4A5564;
  --ink: #0C0F14;
  --ink-soft: #2A303A;
  --muted: #6B7380;
  --border: rgba(201, 169, 98, 0.35);
  --border-gold: rgba(201, 169, 98, 0.45);
  --border-strong: rgba(201, 169, 98, 0.55);
  --shadow: 0 8px 32px rgba(12, 15, 20, 0.08);
  --shadow-lg: 0 28px 80px rgba(12, 15, 20, 0.18);
  --shadow-gold: 0 12px 48px rgba(138, 107, 46, 0.28);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-sans: var(--font);
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --max: 1140px;
  --header-h: 80px;
  /* Metallic foil gradients */
  --grad-gold: linear-gradient(125deg, #F7EFD8 0%, #E8D5A0 18%, #C9A962 42%, #A8843A 68%, #E8D5A0 82%, #8A6B2E 100%);
  --gold-gradient: var(--grad-gold);
  --grad-platinum: linear-gradient(135deg, #FFFFFF 0%, #E8EBEE 25%, #C8CDD5 55%, #A8B0BC 78%, #E8EBEE 100%);
  --grad-ink: linear-gradient(165deg, #1A1F28 0%, #0C0F14 50%, #0F3F3C 100%);
  --grad-mist: linear-gradient(180deg, #FBFBFC 0%, #EEEFF2 100%);
  --grad-metal-teal: linear-gradient(145deg, #3D8B84 0%, #1B5F5A 40%, #0F3F3C 70%, #2A7A74 100%);
  --gold-deep: #8A6B2E;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold-deep); }
ul { list-style: none; }

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

.container { width: min(100% - 2.75rem, var(--max)); margin-inline: auto; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.88);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  box-shadow: inset 0 -1px 0 rgba(201, 162, 39, 0.45);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.75rem;
  padding-block: 0.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #0a4d45;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.logo:hover { color: #0a4d45; }

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo span {
  color: var(--gold);
  font-size: 0.55em;
  vertical-align: super;
  font-family: var(--font-sans);
  font-weight: 500;
}

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

.nav a {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 -1px 0 var(--gold);
  border-radius: 0;
  padding-inline: 0.65rem;
}

.nav-cta {
  background: var(--gold-gradient) !important;
  color: var(--ink) !important;
  margin-left: 0.65rem;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.28) !important;
  border-radius: 999px !important;
  padding: 0.6rem 1.15rem !important;
  letter-spacing: 0.12em !important;
}
.nav-cta:hover,
.nav-cta.active {
  background: var(--gold-gradient-soft) !important;
  color: var(--ink) !important;
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.4) !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  position: relative;
  z-index: 120;
  background: transparent;
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
  height: 16px;
}
.menu-toggle-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.menu-toggle.is-open .menu-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open .menu-toggle-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.menu-toggle.is-open .menu-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav backdrop (created by JS) */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(12, 15, 20, 0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-backdrop.is-visible { display: block; }
body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(201, 162, 39, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 45% at 8% 85%, rgba(20, 184, 166, 0.1), transparent 50%),
    radial-gradient(ellipse 40% 35% at 50% 50%, rgba(245, 230, 200, 0.35), transparent 70%),
    linear-gradient(165deg, var(--ivory) 0%, var(--white) 42%, var(--mist) 100%);
  padding: 5.5rem 0 6rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.22);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.slogan {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.35rem;
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}

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

.btn-primary {
  background: var(--gold-gradient);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.32);
}
.btn-primary:hover {
  color: var(--ink);
  box-shadow: 0 14px 36px rgba(201, 162, 39, 0.42);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--gold);
}
.btn-secondary:hover {
  border-color: var(--gold-deep);
  color: var(--ink);
  background: rgba(245, 230, 200, 0.25);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -6% -4% 8%;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.35) 0%, rgba(201, 162, 39, 0.08) 45%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-product);
  border: 1px solid rgba(201, 162, 39, 0.4);
  outline: 1px solid rgba(245, 230, 200, 0.5);
  outline-offset: 6px;
}

.hero-float {
  position: absolute;
  bottom: -0.75rem;
  left: -1.15rem;
  z-index: 2;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-top: 1px solid rgba(201, 162, 39, 0.45);
  font-size: 0.78rem;
  max-width: 210px;
  color: var(--ink-soft);
}
.hero-float strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.2rem;
  letter-spacing: -0.01em;
}

/* ---------- Sections ---------- */
section { padding: 5rem 0; }

.section-alt {
  background: linear-gradient(180deg, var(--teal-wash) 0%, var(--mist) 100%);
}

.section-gold {
  background: linear-gradient(160deg, #FAF6EB 0%, var(--champagne) 40%, #F3EBD8 100%);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.25rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

.section-head h2,
.page-hero h1 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.95rem;
  font-weight: 500;
}

.section-head p,
.lead {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Cards / Grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.85rem;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(245, 230, 200, 0.55), rgba(204, 251, 241, 0.45));
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--teal);
}
.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
  font-weight: 600;
}
.card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: -2.75rem;
  position: relative;
  z-index: 2;
}

.pillar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.pillar:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-deep);
}
.pillar-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.pillar p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* ---------- Home company intro ---------- */
.home-intro {
  padding: 3.25rem 0 0.5rem;
}
.home-intro-inner {
  max-width: 720px;
  margin-bottom: 0;
}
.home-intro-inner p {
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---------- Product showcase ---------- */
.product-showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.25rem;
  align-items: center;
}

.product-showcase img,
.product-frame {
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-product);
  border: 1px solid rgba(201, 162, 39, 0.35);
  outline: 1px solid rgba(245, 230, 200, 0.4);
  outline-offset: 5px;
}

.kit-list { margin: 1.5rem 0; }

.kit-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.kit-list li:last-child { border-bottom: none; }
.kit-list strong { color: var(--ink); font-weight: 600; }

.kit-list .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(245, 230, 200, 0.6), rgba(204, 251, 241, 0.5));
  border: 1px solid var(--border-gold);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 0.1rem;
  font-family: var(--font-sans);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.9rem 1.05rem;
  border-bottom: 1px solid var(--border);
}
.spec-table th {
  background: var(--ivory-deep);
  font-weight: 600;
  color: var(--ink-soft);
  width: 40%;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.spec-table td { color: var(--ink); }

/* ---------- Science ---------- */
.mechanism {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.mech-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 1.85rem;
  border: 1px solid var(--border);
  border-top: 2px solid var(--teal);
  box-shadow: var(--shadow);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.mech-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
}
.mech-card:nth-child(2) { border-top-color: var(--teal-bright); }
.mech-card:nth-child(3) { border-top-color: var(--gold); }

.mech-card .tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.7rem;
}
.mech-card:nth-child(2) .tag { color: var(--teal-bright); }
.mech-card:nth-child(3) .tag { color: var(--gold-deep); }

.mech-card h3 { margin-bottom: 0.65rem; font-size: 1.3rem; font-weight: 600; }
.mech-card p { color: var(--ink-soft); font-size: 0.92rem; }

.callout {
  background: var(--ink);
  color: var(--champagne);
  border-radius: var(--radius);
  padding: 2.15rem 2.35rem;
  margin-top: 2.75rem;
  border: 1px solid rgba(201, 162, 39, 0.25);
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-gradient);
  opacity: 0.7;
}
.callout h3 {
  margin-bottom: 0.55rem;
  font-size: 1.35rem;
  color: var(--champagne);
  font-weight: 500;
}
.callout p {
  opacity: 0.88;
  font-size: 0.95rem;
  max-width: 70ch;
  color: #D4C4A8;
}

/* ---------- Page hero ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 60% 70% at 95% 0%, rgba(201, 162, 39, 0.12), transparent),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(20, 184, 166, 0.08), transparent),
    linear-gradient(160deg, var(--ivory), var(--white));
  padding: 3.75rem 0 3.25rem;
  border-bottom: 1px solid transparent;
  box-shadow: inset 0 -1px 0 rgba(201, 162, 39, 0.3);
}

.page-hero .breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
  letter-spacing: 0.04em;
}
.page-hero .breadcrumb a { color: var(--teal); }

.page-hero p {
  color: var(--ink-soft);
  max-width: 55ch;
  font-size: 1.05rem;
}

/* ---------- About / Quality ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.25rem;
  align-items: start;
}

.split h2 {
  margin-bottom: 1.1rem;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.split p + p { margin-top: 1rem; }
.split p { color: var(--ink-soft); }

.checklist li {
  display: flex;
  gap: 0.8rem;
  padding: 0.7rem 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.checklist .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.6rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.badge-gmp {
  background: var(--ink);
  color: var(--champagne);
  border-color: rgba(201, 162, 39, 0.4);
}
.badge-de {
  background: linear-gradient(135deg, var(--ink), #1A2740);
  color: var(--champagne);
  border-color: rgba(201, 162, 39, 0.35);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  transition: border-color 0.3s;
}
.contact-card:hover { border-color: var(--border-gold); }

.contact-card h3 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-weight: 600;
}
.contact-card a,
.contact-card p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-serif);
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.15rem;
  box-shadow: var(--shadow-lg);
}

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

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  color: var(--ink-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--ivory);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
  background: var(--ivory);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
  line-height: 1.55;
}

.domains {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.domains span {
  background: var(--teal-wash);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(15, 118, 110, 0.15);
  letter-spacing: 0.02em;
}

/* ---------- Disclaimer / Footer ---------- */
.disclaimer-banner {
  background: var(--ivory);
  color: var(--ink-soft);
  padding: 1.35rem 0;
  font-size: 0.85rem;
  line-height: 1.65;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: inset 4px 0 0 0 var(--gold);
}
.disclaimer-banner .container {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
}
.disclaimer-banner strong {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-footer {
  background: var(--ink);
  color: #8A9AAB;
  padding: 4rem 0 1.75rem;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-gradient);
  opacity: 0.65;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.75rem;
}

.footer-brand .logo {
  color: #0a4d45;
  margin-bottom: 0.95rem;
}
.footer-brand .logo:hover { color: #0a4d45; }
.footer-brand p {
  font-size: 0.88rem;
  max-width: 28ch;
  line-height: 1.6;
  color: #7A8A9A;
}

.footer-col h4 {
  font-family: var(--font-sans);
  color: var(--champagne);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: #8A9AAB;
  font-size: 0.9rem;
  padding: 0.32rem 0;
  transition: color 0.25s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: #6B7A8A;
}

.footer-legal {
  margin-top: 1.5rem;
  padding: 1.35rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 162, 39, 0.12);
  font-size: 0.76rem;
  line-height: 1.7;
  color: #6B7A8A;
}
.footer-legal strong { color: var(--gold-light); }

/* ---------- Storage ---------- */
.storage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.storage-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.storage-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.storage-item .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  background: linear-gradient(145deg, rgba(245, 230, 200, 0.4), rgba(204, 251, 241, 0.35));
}
.storage-item .icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.storage-item h3 { font-size: 1.1rem; margin-bottom: 0.45rem; font-weight: 600; }
.storage-item p { font-size: 0.88rem; color: var(--muted); }

/* ---------- Warning / Info boxes ---------- */
.warning-box {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.warning-box strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.info-box {
  background: var(--teal-wash);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 0.92rem;
  color: var(--teal);
}

/* ---------- CTA band (deep dark + gold) ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201, 162, 39, 0.12), transparent 55%),
    var(--ink);
  color: var(--champagne);
  text-align: center;
  padding: 4.5rem 0;
  position: relative;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-gradient);
  opacity: 0.5;
}
.cta-band h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  margin-bottom: 0.85rem;
  color: var(--champagne);
  font-weight: 500;
}
.cta-band p {
  opacity: 0.85;
  max-width: 48ch;
  margin: 0 auto 1.85rem;
  color: #C4B49A;
  font-size: 1.02rem;
}
.cta-band .btn-primary {
  background: var(--gold-gradient);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.35);
}
.cta-band .btn-primary:hover {
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(201, 162, 39, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .product-showcase,
  .split,
  .contact-grid,
  .grid-2 { grid-template-columns: 1fr; }

  .pillars { grid-template-columns: repeat(2, 1fr); margin-top: 2.25rem; }
  .grid-3, .mechanism, .storage-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-float { position: static; margin-top: 1.25rem; max-width: none; }
  .hero-visual::before { inset: 15% 5% 5% 5%; }
  .hero-visual img { outline-offset: 4px; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }

  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .header-inner {
    position: relative;
  }

  .site-header {
    overflow: visible;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #FAFAF7;
    border-bottom: 1px solid var(--border-gold);
    padding: 0.75rem 1rem 1.25rem;
    gap: 0.15rem;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav a {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 8px;
    min-height: 44px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .nav a:hover,
  .nav a:focus-visible,
  .nav a.active {
    border-radius: 8px;
    box-shadow: none;
    background: rgba(245, 230, 200, 0.45);
  }
  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    justify-content: center;
    margin-top: 0.35rem;
  }

  .form-row { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero { padding: 3.5rem 0 4rem; }
  section { padding: 3.5rem 0; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .product-showcase img,
  .hero-visual img {
    outline-offset: 3px;
  }

  /* Touch-friendly cards / buttons */
  .btn, .product-card-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
  }
  .product-card:hover {
    transform: none; /* avoid sticky-hover lift on touch */
  }
  @media (hover: hover) and (pointer: fine) {
    .product-card:hover {
      transform: translateY(-3px);
    }
  }
}

/* Utility */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}


/* metallic-sheen */
.btn-primary {
  background-image: var(--grad-gold) !important;
  background-size: 160% 160%;
  color: #0C0F14 !important;
  border: 1px solid rgba(247, 239, 216, 0.55);
  text-shadow: 0 1px 0 rgba(255,255,255,0.25);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.35) inset,
    0 10px 32px rgba(138, 107, 46, 0.35) !important;
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.45) inset,
    0 16px 40px rgba(138, 107, 46, 0.45) !important;
}
.btn-secondary {
  border-color: var(--gold) !important;
  background: linear-gradient(180deg, rgba(232,213,160,0.12), rgba(201,169,98,0.06)) !important;
}
.logo-mark {
  filter: drop-shadow(0 1px 1px rgba(138, 107, 46, 0.35));
}
.hero-badge {
  background: var(--grad-platinum) !important;
  border: 1px solid var(--border-strong) !important;
  color: var(--ink) !important;
  letter-spacing: 0.08em;
}
.nav-cta, .site-header .nav-cta {
  background-image: var(--grad-gold) !important;
  color: var(--ink) !important;
  border: 1px solid rgba(247, 239, 216, 0.4);
}
.cta-band {
  background: var(--grad-ink) !important;
  border-top: 1px solid rgba(201,169,98,0.35);
  border-bottom: 1px solid rgba(201,169,98,0.2);
}
.cta-band h2, .cta-band p, .cta-band .slogan {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-visual img, .product-frame img {
  box-shadow:
    0 0 0 1px rgba(201,169,98,0.45),
    0 0 0 6px rgba(232,213,160,0.15),
    var(--shadow-gold) !important;
}
.pillar, .card, .feature-card {
  border: 1px solid rgba(201,169,98,0.28) !important;
  background: linear-gradient(180deg, #FFFEFE 0%, #F4F5F7 100%) !important;
}
.pillar:hover, .card:hover, .feature-card:hover {
  border-color: rgba(201,169,98,0.65) !important;
  box-shadow: var(--shadow-gold) !important;
}
.site-header {
  background: rgba(251,251,252,0.88) !important;
  border-bottom: 1px solid rgba(201,169,98,0.35) !important;
  box-shadow: 0 1px 0 rgba(232,213,160,0.5);
}
.site-footer {
  background: var(--grad-ink) !important;
  border-top: 1px solid rgba(201,169,98,0.4);
}
.site-footer a:hover { color: var(--gold-light) !important; }

/* =========================================================
   Shop / product catalogue — metallic premium cards
   ========================================================= */

.rd-banner {
  margin: 0 auto 2.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 169, 98, 0.4);
  background: linear-gradient(135deg, rgba(232, 213, 160, 0.18), rgba(248, 248, 249, 0.9));
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}
.rd-banner strong {
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.rd-banner-inline {
  margin: 1.25rem 0 1.75rem;
}

.shop-section {
  padding-bottom: 3.5rem;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #FFFEFE 0%, var(--ivory) 100%);
  border: 1px solid rgba(201, 169, 98, 0.32);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.product-card:hover {
  border-color: rgba(201, 169, 98, 0.7);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.product-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F5F7 100%);
  border-bottom: 1px solid rgba(200, 205, 213, 0.55);
  padding: 1.5rem;
}
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.85rem;
  box-sizing: border-box;
  mix-blend-mode: multiply;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.4rem 1.5rem;
  gap: 0.55rem;
}

.strength-chip {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gunmetal);
  background: var(--grad-platinum);
  border: 1px solid rgba(201, 169, 98, 0.35);
}

.product-card h3 {
  font-size: 1.2rem;
  margin: 0;
  letter-spacing: -0.015em;
}
.product-card h3 a {
  color: var(--ink);
}
.product-card h3 a:hover {
  color: var(--gold-dark);
}

.product-card-blurb {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
  margin: 0;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(200, 205, 213, 0.55);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.product-card-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}
.product-card-link:hover {
  color: var(--gold-dark);
}

.shop-grid-compact {
  gap: 1.35rem;
}
.product-card-compact .product-card-media {
  padding: 1.1rem;
  aspect-ratio: 1 / 1;
}
.product-card-compact .product-card-body {
  padding: 1rem 1.15rem 1.2rem;
}
.product-card-compact h3 {
  font-size: 1.05rem;
}
.product-card-compact .product-price {
  font-size: 1.15rem;
}

/* Product detail */
.page-hero-compact {
  padding-bottom: 1.25rem;
  padding-top: 1.5rem;
}
.page-hero-compact .breadcrumb {
  margin-bottom: 0;
}

.product-detail {
  padding: 1rem 0 3.5rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.product-detail-media {
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F5F7 100%);
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}
.product-detail-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  padding: 1rem;
  box-sizing: border-box;
  mix-blend-mode: multiply;
}

.product-detail-copy h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  margin: 0.65rem 0 0.5rem;
}

.product-detail-price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}
.product-detail-price span {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.35rem;
  vertical-align: middle;
}

.product-detail-lead {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.detail-specs-title {
  font-size: 1.15rem;
  margin: 0.5rem 0 0.85rem;
  letter-spacing: -0.01em;
}

.detail-kit-note {
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.detail-kit-note a {
  color: var(--teal);
  font-weight: 500;
}
.detail-kit-note a:hover {
  color: var(--gold-dark);
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

@media (max-width: 960px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .product-detail-media {
    position: static;
    max-width: 480px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .shop-grid,
  .shop-grid-compact {
    grid-template-columns: 1fr;
  }
  .product-card-meta {
    flex-wrap: wrap;
  }
}

/* ---------- Reviews ---------- */
.reviews-section {
  padding: 4.5rem 0 4rem;
  background: var(--grad-mist);
}

.reviews-section .section-head {
  margin-bottom: 2.25rem;
}

.reviews-summary {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 2rem 2.5rem;
  align-items: center;
  padding: 1.75rem 1.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.reviews-summary-score {
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-right: 1px solid rgba(201, 169, 98, 0.28);
}

.reviews-avg-num {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* fallback if clip unsupported */
  -webkit-text-fill-color: transparent;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .reviews-avg-num { color: var(--gold-dark); -webkit-text-fill-color: currentColor; }
}

.review-stars {
  display: inline-flex;
  gap: 0.12rem;
  letter-spacing: 0;
  line-height: 1;
}

.review-stars .star {
  color: var(--platinum);
  font-size: 0.95rem;
}

.review-stars .star.is-on {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(201, 169, 98, 0.35);
}

.review-stars-lg {
  display: flex;
  justify-content: center;
  margin: 0.55rem 0 0.65rem;
}

.review-stars-lg .star {
  font-size: 1.25rem;
}

.reviews-avg-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.reviews-avg-meta strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.reviews-summary-bars {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.review-bar-row {
  display: grid;
  grid-template-columns: 2.4rem 1fr 4.5rem;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.review-bar-label {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-dark);
}

.review-bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--mist);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 98, 0.18);
}

.review-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--grad-gold);
  min-width: 0;
  transition: width 0.45s ease;
}

.review-bar-count {
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  white-space: nowrap;
}

.review-bar-pct {
  color: var(--silver);
  font-size: 0.75rem;
}

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

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: 0 4px 18px rgba(12, 15, 20, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.review-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.review-card-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal-dark);
  background: var(--grad-platinum);
  border: 1px solid rgba(201, 169, 98, 0.35);
  flex-shrink: 0;
}

.review-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.review-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-date {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.review-card-top .review-stars {
  align-self: start;
  margin-top: 0.15rem;
}

.review-comment {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.reviews-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.reviews-status {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.reviews-load-more {
  min-width: 220px;
}

.reviews-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 42rem;
  margin-inline: auto;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .reviews-summary {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .reviews-summary-score {
    border-right: none;
    border-bottom: 1px solid rgba(201, 169, 98, 0.28);
    padding-bottom: 1.25rem;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .review-bar-row {
    grid-template-columns: 2.2rem 1fr 3.5rem;
    gap: 0.5rem;
  }
  .review-bar-pct { display: none; }
  .review-card-top {
    grid-template-columns: auto 1fr;
  }
  .review-card-top .review-stars {
    grid-column: 2;
    margin-top: 0;
  }
}

/* ---------- Floating Reviews tab (always-visible) ---------- */
.reviews-float {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  pointer-events: none;
  font-family: var(--font-sans);
}

.reviews-float > * {
  pointer-events: auto;
}

.reviews-float-tab {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  padding: 1.1rem 0.55rem;
  margin: 0;
  border: 1px solid var(--border-strong);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: linear-gradient(180deg, #1A1F28 0%, #0C0F14 55%, #0F3F3C 100%);
  color: var(--champagne-bright);
  box-shadow: var(--shadow-gold), -4px 0 24px rgba(12, 15, 20, 0.18);
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.reviews-float-tab:hover,
.reviews-float-tab:focus-visible {
  background: linear-gradient(180deg, #242A35 0%, #12161E 50%, #1B5F5A 100%);
  box-shadow: 0 12px 40px rgba(138, 107, 46, 0.35), -6px 0 28px rgba(12, 15, 20, 0.22);
  outline: none;
}

.reviews-float-tab[aria-expanded="true"] {
  background: linear-gradient(180deg, #242A35 0%, #0F3F3C 100%);
}

.reviews-float-score {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  white-space: nowrap;
}

.reviews-float-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--platinum-bright);
  white-space: nowrap;
}

.reviews-float-count {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--champagne);
  opacity: 0.9;
  white-space: nowrap;
}

.reviews-float-panel {
  width: min(280px, calc(100vw - 3.5rem));
  background: var(--white);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transform-origin: right center;
}

.reviews-float-panel[hidden] {
  display: none !important;
}

.reviews-float-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.reviews-float-panel-avg {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-dark);
  letter-spacing: -0.02em;
}

.reviews-float-panel-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

.reviews-float-panel-meta strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.reviews-float-panel-copy {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.reviews-float-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.reviews-float-panel-actions .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.82rem;
  padding: 0.65rem 1rem;
}

.reviews-float-close {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.35rem;
  align-self: flex-end;
}

.reviews-float-close:hover {
  color: var(--gold-dark);
}

#reviews {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

@media (max-width: 600px) {
  .reviews-float {
    top: auto;
    bottom: 1.15rem;
    transform: none;
    right: 0.75rem;
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .reviews-float-tab {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    transform: none;
    flex-direction: row;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    padding: 0.65rem 0.95rem;
    gap: 0.4rem;
  }

  .reviews-float-panel {
    border-right: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
    width: min(260px, calc(100vw - 2rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-float-tab {
    transition: none;
  }
}
