/* ==========================================================================
   CseppLab Autóápolási Laboratórium — Design System
   Kontraszt: főszöveg #11191C / #E5E9EC > 14:1, másodlagos #2F4048 > 8.5:1
   ========================================================================== */

:root {
  --bg-grad-1: #CBD1D6;
  --bg-grad-2: #BEC6CC;
  --bg-grad-3: #B1BBC2;

  --surface-primary: #E5E9EC;
  --surface-secondary: #D6DCE0;
  --border-color: #93A0A8;

  --text-main: #11191C;
  --text-muted: #2F4048;

  --emerald: #1B5E52;
  --emerald-light: #F2FAF8;
  --copper: #A8602F;
  --copper-dark-text: #1B0E05;
  --graphite: #232C30;

  --dark-bg: #1B2528;
  --dark-text: #EAF0F2;
  --dark-card: #26343A;
  --dark-copper: #E0A173;

  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Overpass Mono', ui-monospace, SFMono-Regular, monospace;

  --ease-lab: cubic-bezier(0.22, 1, 0.36, 1);
  --container-w: 1160px;
  --gap: 18px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-main);
  background: linear-gradient(170deg, var(--bg-grad-1) 0%, var(--bg-grad-2) 52%, var(--bg-grad-3) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--copper);
  z-index: 1200;
  transition: width 80ms linear;
}

.lab-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.backdrop-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.blob-emerald {
  width: 560px;
  height: 560px;
  top: -120px;
  left: -100px;
  background: #2F7F6F;
  opacity: 0.13;
  filter: blur(150px);
  animation: blobDriftA 26s ease-in-out infinite alternate;
}

.blob-copper {
  width: 520px;
  height: 520px;
  bottom: 5%;
  right: -110px;
  background: #C27B4A;
  opacity: 0.12;
  filter: blur(140px);
  animation: blobDriftB 32s ease-in-out infinite alternate;
}

@keyframes blobDriftA {
  0% { transform: translate(0, 0); }
  100% { transform: translate(90px, 70px); }
}

@keyframes blobDriftB {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-80px, -60px); }
}

.reflection-beams {
  position: absolute;
  inset: -30%;
  background-image: repeating-linear-gradient(
    18deg,
    transparent 0px,
    transparent 140px,
    rgba(255, 255, 255, 0.18) 140px,
    rgba(255, 255, 255, 0.18) 200px,
    transparent 200px,
    transparent 340px,
    rgba(255, 255, 255, 0.12) 340px,
    rgba(255, 255, 255, 0.12) 440px
  );
  animation: beamSlide 38s linear infinite;
}

.dark-beams {
  opacity: 0.25;
}

@keyframes beamSlide {
  0% { transform: translateX(-60px); }
  100% { transform: translateX(60px); }
}

.grain-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: radial-gradient(#11191C 0.8px, transparent 0.8px);
  background-size: 6px 6px;
}

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 16px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 { font-size: 46px; }
h2 { font-size: 33px; }
h3 { font-size: 22px; line-height: 1.25; }

p {
  margin: 0 0 16px;
  max-width: 680px;
  font-weight: 400;
}

.kw {
  font-style: normal;
  color: var(--copper);
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms var(--ease-lab) 150ms, transform 500ms var(--ease-lab) 150ms;
}

.is-visible .kw,
.hero-main-card .kw {
  opacity: 1;
  transform: translateY(0);
}

.dark-section h2,
.dark-section h3,
.dark-section p {
  color: var(--dark-text);
}

.dark-section .kw {
  color: var(--dark-copper);
}

.line-mask > span {
  display: block;
  overflow: hidden;
}

.mono-tag, .mono-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  display: inline-block;
}

.dark-section .mono-tag {
  color: var(--dark-copper);
}

.lead-box {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
  background-color: var(--surface-secondary);
  border-left: 4px solid var(--copper);
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0 26px;
  max-width: 680px;
}

main a:not(.btn):not(.bottle-chip),
footer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--copper);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 250ms var(--ease-lab);
}

main a:not(.btn):hover,
footer a:hover {
  color: var(--copper);
}

.surface-card {
  background-color: var(--surface-primary);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
}

.surface-card-alt {
  background-color: var(--surface-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 300ms var(--ease-lab), color 300ms var(--ease-lab), border-color 300ms var(--ease-lab), transform 300ms var(--ease-lab);
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--emerald);
  color: var(--emerald-light);
}

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

.btn-primary .arrow {
  display: inline-block;
  transition: transform 300ms var(--ease-lab);
}

.btn-primary:hover .arrow {
  transform: translateX(5px);
}

.btn-secondary {
  background-color: var(--surface-primary);
  color: var(--text-main);
  border-color: var(--emerald);
}

.btn-secondary:hover {
  background-color: var(--surface-secondary);
}

.bay-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: var(--surface-primary);
}

.bay-bar {
  background-color: var(--surface-primary);
  border-bottom: 3px solid var(--emerald);
  transition: height 300ms var(--ease-lab);
}

.bay-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
  transition: height 300ms var(--ease-lab);
}

.bay-header.is-scrolled .bay-bar-inner {
  height: 52px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-drop {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 50% 10%;
  transform: rotate(-45deg);
  overflow: hidden;
  border: 2px solid var(--emerald);
  background: var(--graphite);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-drop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(45deg) scale(1.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 19px;
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
}

.bay-header.is-scrolled .brand-text small {
  display: none;
}

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

.main-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 16px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 250ms var(--ease-lab), color 250ms var(--ease-lab);
}

.main-nav a:hover {
  color: var(--emerald);
  border-bottom-color: var(--copper);
}

.bay-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background-color: var(--surface-secondary);
  color: var(--text-main);
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 250ms var(--ease-lab), background-color 250ms var(--ease-lab);
}

.icon-btn:hover {
  border-color: var(--emerald);
  background-color: var(--surface-primary);
}

.badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background-color: var(--copper);
  color: var(--copper-dark-text);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.badge-count.bump {
  animation: countBump 420ms var(--ease-lab);
}

@keyframes countBump {
  0% { transform: scale(1); }
  45% { transform: scale(1.42); }
  100% { transform: scale(1); }
}

.search-drawer {
  background-color: var(--surface-secondary);
  border-bottom: 1.5px solid var(--border-color);
  padding: 12px 0;
}

.search-drawer-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-drawer input {
  flex: 1;
  min-width: 220px;
  height: 42px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background-color: var(--surface-primary);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-main);
}

.bottle-strip {
  background-color: var(--surface-secondary);
  border-bottom: 1.5px solid var(--border-color);
  padding: 8px 0;
  transition: padding 300ms var(--ease-lab);
}

.bottle-strip-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.bottle-strip-inner::-webkit-scrollbar {
  display: none;
}

.bottle-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px 8px 12px 12px;
  border: 1.5px solid var(--border-color);
  background-color: var(--surface-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 280ms var(--ease-lab), color 280ms var(--ease-lab), border-color 280ms var(--ease-lab);
}

.bottle-cap {
  width: 10px;
  height: 14px;
  border-radius: 3px 3px 1px 1px;
  display: inline-block;
  flex-shrink: 0;
}

.cap-all { background-color: var(--text-main); }
.cap-emerald { background-color: var(--emerald); }
.cap-copper { background-color: var(--copper); }
.cap-graphite { background-color: var(--graphite); }

.bottle-chip.is-active {
  background-color: var(--emerald);
  border-color: var(--emerald);
  color: var(--emerald-light);
}

.bottle-chip.is-active .bottle-cap {
  background-color: var(--emerald-light);
}

.bay-header.is-scrolled .bottle-strip {
  padding: 5px 0;
}

.bay-header.is-scrolled .bottle-chip {
  padding: 0 10px;
  height: 30px;
}

.bay-header.is-scrolled .bottle-label {
  font-size: 14px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background-color: var(--surface-secondary);
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
}

.mobile-drawer {
  background-color: var(--surface-primary);
  border-bottom: 3px solid var(--emerald);
  padding: 18px 0 24px;
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-inner a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
}

.section {
  position: relative;
  padding: 60px 0;
  z-index: 2;
}

.dark-section {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  overflow: hidden;
}

.section-header {
  margin-bottom: 32px;
}

.section-header .mono-tag {
  margin-bottom: 8px;
}

.section-divider {
  position: relative;
  z-index: 2;
  height: 2px;
  max-width: var(--container-w);
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
}

.divider-copper {
  width: 56px;
  height: 4px;
  background-color: var(--copper);
  border-radius: 2px;
}

.bead-cluster {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bead-top-right {
  top: 22px;
  right: 32px;
}

.bead-bottom-left {
  bottom: 22px;
  left: 32px;
}

.bead {
  display: block;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.25) 45%, rgba(27, 94, 82, 0.22) 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  opacity: 0;
  transform: translateY(-6px) scaleY(1);
  transition: opacity 600ms var(--ease-lab), transform 900ms var(--ease-lab);
}

.bead.b-sm { width: 8px; height: 8px; transition-delay: 120ms; }
.bead.b-md { width: 13px; height: 13px; transition-delay: 260ms; }
.bead.b-lg { width: 18px; height: 18px; transition-delay: 400ms; }

.section.in-view .bead {
  opacity: 1;
  transform: translateY(8px) scaleY(1.08);
}

.hero-main-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.spec-pill {
  background-color: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px;
}

.spec-pill strong {
  display: block;
  font-size: 16px;
  margin-top: 2px;
}

.hero-stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.info-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.status-dot {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--emerald);
}

.status-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  margin-right: 6px;
}

.inline-contact {
  margin-bottom: 0;
  font-weight: 600;
}

.media-card {
  position: relative;
  background-color: var(--surface-primary);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  overflow: hidden;
}

.corner-cut {
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.shape-drop .photo-reveal,
.shape-circle .photo-reveal {
  border-radius: 10px;
  aspect-ratio: auto;
  max-width: none;
  margin: 0;
}

.photo-reveal {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background-color: var(--graphite);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 700ms var(--ease-lab);
}

.is-visible .photo-reveal,
.hero-stack .photo-reveal {
  clip-path: inset(0 0 0 0);
}

.duotone-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: var(--surface-secondary);
  filter: saturate(0.92) contrast(1.04);
  transition: filter 500ms var(--ease-lab);
}

.media-card:hover .duotone-img {
  filter: saturate(1.06) contrast(1.02);
}

.tile-photo,
.step-photo,
.reel-photo,
.rec-photo,
.contact-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: var(--surface-secondary);
  border-radius: 10px;
}

.tile-photo,
.step-photo,
.reel-photo {
  margin-bottom: 14px;
}

.rec-photo {
  margin-bottom: 12px;
}

.contact-photo {
  margin: 4px 0 16px;
}

.photo-caption {
  margin-top: 12px;
  background-color: var(--surface-secondary);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.crosshair {
  position: absolute;
  width: 10px;
  height: 10px;
  z-index: 4;
  pointer-events: none;
}

.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background-color: var(--copper);
}

.crosshair::before {
  top: 4px;
  left: 0;
  width: 10px;
  height: 2px;
}

.crosshair::after {
  top: 0;
  left: 4px;
  width: 2px;
  height: 10px;
}

.ch-tl { top: 6px; left: 6px; }
.ch-tr { top: 6px; right: 6px; }
.ch-bl { bottom: 6px; left: 6px; }
.ch-br { bottom: 6px; right: 6px; }

.category-tiles-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}

.category-tile {
  flex: 0 1 calc((100% - 3 * var(--gap)) / 4);
  text-align: left;
  background-color: var(--surface-primary);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 300ms var(--ease-lab), border-color 300ms var(--ease-lab);
}

.category-tile:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
}

.tile-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--surface-secondary);
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.bottle-glyph {
  width: 18px;
  height: 28px;
  border-radius: 4px 4px 3px 3px;
  position: relative;
  display: block;
}

.bottle-glyph::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 4px;
  width: 10px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--graphite);
}

.glyph-emerald { background-color: var(--emerald); }
.glyph-copper { background-color: var(--copper); }
.glyph-graphite { background-color: var(--graphite); }

.category-tile p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  align-items: end;
  margin-bottom: 24px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group select {
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background-color: var(--surface-primary);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-main);
}

.filter-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  align-items: stretch;
}

.product-card {
  position: relative;
  background-color: var(--surface-primary);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 320ms var(--ease-lab), border-color 320ms var(--ease-lab);
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 70%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.48) 50%, transparent 80%);
  transform: skewX(-18deg);
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald);
}

.product-card:hover::after {
  left: 160%;
  transition: left 600ms var(--ease-lab);
}

.product-top {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.product-badge {
  position: static;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-hit {
  background-color: var(--emerald);
  color: var(--emerald-light);
}

.badge-new {
  background-color: var(--copper);
  color: var(--copper-dark-text);
}

.product-window {
  position: relative;
  background-color: var(--surface-secondary);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 14px;
  overflow: hidden;
}

.product-window img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: var(--surface-primary);
  border-radius: 8px;
  filter: saturate(0.94) contrast(1.03);
  transition: filter 450ms var(--ease-lab);
}

.product-card:hover .product-window img {
  filter: saturate(1.05) contrast(1.02);
}

.window-bead {
  position: absolute;
  bottom: 8px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--emerald);
}

.product-title {
  font-size: 19px;
  margin: 8px 0 6px;
}

.product-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.prop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.prop-tag {
  background-color: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 14px;
  font-weight: 500;
}

.product-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.price-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

.selector-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: var(--gap);
  margin-top: 22px;
  align-items: stretch;
}

.step-box {
  background-color: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
}

.chip-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.choice-chip {
  text-align: left;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background-color: var(--surface-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  transition: background-color 250ms var(--ease-lab), border-color 250ms var(--ease-lab), color 250ms var(--ease-lab);
}

.choice-chip.is-selected {
  background-color: var(--emerald);
  border-color: var(--emerald);
  color: var(--emerald-light);
}

.result-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.checker-row {
  margin-bottom: 28px;
  align-items: stretch;
}

.checker-row:last-child {
  margin-bottom: 0;
}

.dosage-table {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dosage-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 15px;
}

.d-key {
  font-weight: 600;
}

.d-dots {
  flex: 1;
  border-bottom: 2px dotted var(--border-color);
}

.d-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.dilution-bar {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  height: 10px;
  margin-bottom: 4px;
}

.dilution-bar span {
  background-color: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 2px;
  transition: background-color 300ms var(--ease-lab);
}

.dilution-bar span.is-filled {
  background-color: var(--emerald);
  border-color: var(--emerald);
}

.service-list {
  margin: 0 0 22px;
  padding-left: 20px;
}

.service-list li {
  margin-bottom: 8px;
}

.ba-wrapper {
  margin-bottom: 28px;
}

.ba-stage {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 2px solid var(--border-color);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background-color: var(--dark-card);
}

.ba-layer {
  position: absolute;
  inset: 0;
}

.ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: var(--dark-card);
  display: block;
}

.ba-before {
  width: 50%;
  overflow: hidden;
  border-right: 3px solid var(--copper);
}

.ba-before img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.ba-after img {
  filter: none;
}

.ba-pill {
  position: absolute;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.pill-before {
  left: 16px;
  background-color: var(--graphite);
  color: var(--dark-text);
}

.pill-after {
  right: 16px;
  background-color: var(--emerald);
  color: var(--emerald-light);
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  margin-left: -22px;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-handle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--copper);
  color: var(--copper-dark-text);
  border: 3px solid var(--dark-text);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-card {
  margin: 0;
  background-color: var(--dark-card);
  border: 1.5px solid var(--border-color);
  border-left: 5px solid var(--dark-copper);
  border-radius: 14px;
  padding: 26px 28px;
}

.quote-card p {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.4;
  max-width: 100%;
  margin-bottom: 12px;
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: var(--gap);
}

.cell-6x2 { grid-column: span 6; grid-row: span 2; }
.cell-6x1 { grid-column: span 6; }
.cell-4x1 { grid-column: span 4; }
.cell-3x1 { grid-column: span 3; }

.mosaic-cell {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: scale(0.95);
  transition: transform 600ms var(--ease-lab), opacity 600ms var(--ease-lab);
}

.mosaic-cell.is-visible {
  transform: scale(1);
}

.care-steps-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.track-line {
  position: absolute;
  top: 190px;
  left: 10%;
  right: 10%;
  height: 4px;
  background-color: var(--border-color);
  z-index: 1;
}

.track-fill {
  display: block;
  height: 100%;
  width: 0%;
  background-color: var(--emerald);
  transition: width 900ms var(--ease-lab);
}

.care-steps-track.in-view .track-fill {
  width: 100%;
}

.care-step {
  position: relative;
  z-index: 2;
  background-color: var(--surface-primary);
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
}

.step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--graphite);
  color: var(--dark-text);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 3px solid var(--surface-primary);
  transition: background-color 400ms var(--ease-lab), border-color 400ms var(--ease-lab);
}

.care-steps-track.in-view .care-step:nth-child(2) .step-num { background-color: var(--emerald); transition-delay: 150ms; }
.care-steps-track.in-view .care-step:nth-child(3) .step-num { background-color: var(--emerald); transition-delay: 350ms; }
.care-steps-track.in-view .care-step:nth-child(4) .step-num { background-color: var(--emerald); transition-delay: 550ms; }
.care-steps-track.in-view .care-step:nth-child(5) .step-num { background-color: var(--copper); color: var(--copper-dark-text); transition-delay: 750ms; }

.reel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
}

.reel-controls {
  display: flex;
  gap: 8px;
}

.reel-track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reel-track::-webkit-scrollbar {
  display: none;
}

.reel-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reel-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--emerald);
  margin: 10px 0 14px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.metric-number {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  color: var(--emerald);
}

.metric-unit {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--copper);
  margin: 6px 0 10px;
}

.company-details-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.company-details-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 16px;
}

.company-details-list li:last-child {
  border-bottom: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background-color: var(--surface-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-main);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-feedback {
  font-weight: 600;
  color: var(--emerald);
  margin: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.legal-tab {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background-color: var(--surface-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.legal-tab.is-active {
  background-color: var(--emerald);
  border-color: var(--emerald);
  color: var(--emerald-light);
}

.site-footer {
  position: relative;
  z-index: 2;
  background-color: var(--dark-bg);
  color: var(--dark-text);
  padding: 56px 0 32px;
  margin-top: 40px;
}

.hood-edge {
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 22px;
  background-color: var(--dark-bg);
  border-top: 3px solid var(--copper);
  border-radius: 50% 50% 0 0 / 18px 18px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(234, 240, 242, 0.18);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand img {
  border-radius: 8px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 14px;
  color: var(--dark-copper);
}

.footer-box-text {
  background-color: var(--dark-card);
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 25, 28, 0.55);
  z-index: 1000;
}

.side-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background-color: var(--surface-primary);
  border-left: 3px solid var(--emerald);
  z-index: 1010;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.side-modal[hidden],
.drawer-backdrop[hidden],
.cookie-bar[hidden] {
  display: none;
}

.side-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--border-color);
}

.side-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-item {
  background-color: var(--surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.modal-thumb {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.side-modal-foot {
  padding-top: 14px;
  border-top: 1.5px solid var(--border-color);
}

.cookie-bar {
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 950;
  background-color: var(--dark-bg);
  color: var(--dark-text);
  border: 2px solid var(--copper);
  border-radius: 12px;
  padding: 14px 0;
}

.cookie-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-bar p {
  margin: 0;
  font-size: 15px;
}

.cookie-bar a {
  color: var(--dark-copper);
}

.reveal-block {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(16px);
  transition: opacity 650ms var(--ease-lab), filter 650ms var(--ease-lab), transform 650ms var(--ease-lab);
}

.reveal-block.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .col-7, .col-6, .col-5 { grid-column: span 12; }
  .category-tiles-grid,
  .product-grid,
  .care-steps-track,
  .metrics-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-tile {
    flex-basis: calc((100% - var(--gap)) / 2);
  }
  .filter-bar,
  .selector-steps {
    grid-template-columns: 1fr;
  }
  .track-line { display: none; }
}

@media (max-width: 768px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .main-nav, .desktop-only { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-specs-grid,
  .category-tiles-grid,
  .product-grid,
  .care-steps-track,
  .metrics-grid,
  .footer-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .category-tile {
    flex-basis: 100%;
  }
  .cell-6x2, .cell-6x1, .cell-4x1, .cell-3x1 {
    grid-column: span 12;
    grid-row: span 1;
  }
  .ba-stage { height: auto; aspect-ratio: 16 / 9; }
}
