:root {
  --text: #252525;
  --muted: #767676;
  --line: #ececec;
  --blue: #57a8da;
  --green: #5ac0a7;
  --dark: #1f1f1f;
  --max: 1222px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  background: #fff;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 60px;
  padding: 0 36px;
  color: #fff;
  background: rgba(20, 20, 20, .18);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: #202020;
  box-shadow: 0 1px 10px rgba(0,0,0,.2);
}

.brand {
  display: flex;
  align-items: center;
  width: 174px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 28px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}

.nav a { opacity: .95; }
.nav a:hover { opacity: 1; color: #e8f5ff; }

.tools {
  display: flex;
  align-items: center;
  gap: 15px;
}

.tools button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
}

.tools svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart span {
  font-size: 14px;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 36px 70px;
  background-image: linear-gradient(90deg, rgba(230, 242, 248, .78) 0%, rgba(230, 242, 248, .42) 38%, rgba(49, 103, 127, .15) 72%), url("assets/hero-lab.png");
  background-size: cover;
  background-position: center;
}

.hero-copy {
  width: min(640px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
  color: #fff;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: 65px;
  line-height: 1.26;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 1px 14px rgba(0,0,0,.08);
}

.hero p {
  max-width: 580px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.93);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.35);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.btn.primary {
  color: #333;
  background: #fff;
}

.btn.outline {
  color: #fff;
  background: transparent;
}

.media-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px 36px 78px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  height: 270px;
  background: #111;
}

.video-frame img,
.video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92);
}

.video-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 35px rgba(0,0,0,.22);
  transform: translate(-50%, -50%);
}

.video-play-button::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 23px;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 19px solid #222;
}

.video-play-button.hidden {
  display: none;
}

.products-section {
  padding: 0 36px 80px;
}

.products-heading {
  margin-bottom: 36px;
}

.products-heading h2 {
  font-size: 32px;
}

.product-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #f6f6f6;
}

.home-products .product-card {
  aspect-ratio: 1 / 1;
}

.product-card-link {
  display: block;
  height: 100%;
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.shop-card {
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.shop-card .product-card-link {
  height: auto;
}

.shop-card img {
  border-radius: 4px;
  background: #f5f5f5;
}

.shop-card h3 {
  margin: 14px 0 5px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.shop-card p {
  margin: 0;
  color: #888;
  font-size: 13px;
}

.product-actions {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: flex;
  justify-content: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(12px);
  transition: .2s ease;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-actions button,
.product-actions a {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #222;
  background: rgba(255,255,255,.95);
  box-shadow: 0 6px 18px rgba(0,0,0,.13);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.why {
  padding: 74px 36px 82px;
  background: #fff;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 42px;
}

.feature-grid article {
  text-align: center;
}

.feature-grid img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 14px;
}

.feature-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.feature-grid p {
  margin: 0 auto;
  max-width: 310px;
  color: #777;
  line-height: 1.65;
  font-size: 14px;
}

.feedback {
  padding: 78px 36px 86px;
  background: #fff;
}

.feedback-carousel {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.feedback-viewport {
  overflow: hidden;
  width: 100%;
}

.feedback-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: feedback-slide 46s linear infinite;
}

.feedback-track:hover {
  animation-play-state: paused;
}

.feedback-track img {
  flex: 0 0 360px;
  width: 360px;
  height: 260px;
  object-fit: cover;
  background: #f5f5f5;
}

.carousel-arrow {
  position: absolute;
  z-index: 1;
  top: 112px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
}

.carousel-arrow::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-top: 2px solid #777;
  border-left: 2px solid #777;
}

.carousel-arrow.prev {
  left: -18px;
}

.carousel-arrow.prev::before {
  transform: rotate(-45deg);
}

.carousel-arrow.next {
  right: -18px;
}

.carousel-arrow.next::before {
  transform: rotate(135deg);
}

@keyframes feedback-slide {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 45px)); }
}

.testimonial-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.testimonial-strip span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfcfcf;
}

.testimonial-strip .active {
  background: #000;
}

.footer {
  color: #fff;
  background: var(--blue);
}

.inner-page {
  background: #fff;
}

.inner-page main {
  padding-top: 60px;
}

.page-title {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 46px 20px;
  text-align: center;
  background: #f6f6f6;
}

.page-title h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.1;
}

.page-title p {
  margin: 0;
  color: #888;
  font-size: 14px;
}

.shop-page {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  padding: 46px 36px 90px;
}

.shop-sidebar h3 {
  margin: 0 0 18px;
  font-size: 18px;
}

.shop-sidebar h3:not(:first-child) {
  margin-top: 40px;
}

.shop-sidebar a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #333;
  font-size: 14px;
}

.shop-sidebar a.active {
  color: #1f8fc4;
  font-weight: 700;
}

.shop-sidebar a.is-empty {
  color: #aaa;
}

.shop-sidebar span {
  color: #999;
  flex: 0 0 auto;
  white-space: nowrap;
}

.mini-product {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-weight: 700;
  font-size: 14px;
}

.mini-product img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  color: #777;
}

.shop-toolbar p {
  margin: 0;
}

.shop-toolbar select {
  min-width: 190px;
  height: 42px;
  border: 1px solid var(--line);
  padding: 0 12px;
  color: #555;
  background: #fff;
}

.shop-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 24px;
}

.product-detail {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding: 46px 36px 56px;
}

.main-product-image {
  width: 100%;
  display: block;
  border-radius: 4px;
  background: #f5f5f5;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.breadcrumbs {
  margin: 0 0 22px;
  color: #888;
  font-size: 14px;
}

.product-summary h1 {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.15;
}

.short-description {
  color: #5f5f5f;
  line-height: 1.7;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 22px;
}

.whatsapp-btn,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  color: #fff;
  background: #222;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 13px;
}

.whatsapp-btn {
  background: #25d366;
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(37, 211, 102, .22);
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}

.product-actions a[title="WhatsApp"] {
  color: #fff;
  background: #25d366;
}

.product-meta {
  margin-top: 24px;
  color: #666;
  line-height: 1.5;
  font-size: 14px;
}

.product-tabs,
.related-products {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 36px 70px;
}

.product-tabs nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}

.product-tabs nav button {
  border: 0;
  padding: 18px 0;
  color: #555;
  background: transparent;
  font-weight: 700;
}

.product-tabs nav .active {
  color: #111;
  box-shadow: inset 0 -2px 0 #111;
}

.tab-content {
  max-width: 860px;
  margin: 0 auto;
  color: #555;
  line-height: 1.7;
}

.tab-content h2 {
  margin: 30px 0 14px;
  color: #222;
  font-size: 22px;
}

.tab-content table {
  width: 100%;
  border-collapse: collapse;
}

.tab-content th,
.tab-content td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}

.related-products h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: 30px;
}

.report-hero {
  position: relative;
  height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.report-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.report-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.28);
}

.report-hero h1 {
  position: relative;
  z-index: 1;
  font-size: 44px;
}

.report-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px 36px 86px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.report-grid a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fafafa;
}

.report-grid img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
}

.about-page,
.contact-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.about-page h2,
.contact-info h2 {
  margin: 0 0 20px;
  font-size: 36px;
  line-height: 1.2;
}

.about-page p,
.contact-info p {
  color: #666;
  line-height: 1.75;
}

.about-page img {
  width: 100%;
  border-radius: 4px;
}

.why.compact {
  padding-top: 30px;
}

.contact-page {
  align-items: start;
}

.contact-page.contact-only {
  grid-template-columns: minmax(280px, 620px);
  justify-content: start;
}

.contact-info {
  padding: 10px 0 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #555;
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  outline: none;
}

.contact-form input {
  height: 46px;
}

.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.35fr .55fr;
  gap: 54px;
  padding: 62px 36px 28px;
}

.footer-brand img {
  width: 300px;
  max-width: 100%;
  display: block;
  margin-bottom: 34px;
}

.footer p,
.footer li,
.footer a {
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.62;
}

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

.footer li {
  position: relative;
  padding-left: 22px;
  margin: 4px 0;
}

.footer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .63em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #111;
}

.footer-note p {
  margin: 0 0 20px;
}

.quick-links h2 {
  margin: 0 0 34px;
  color: #fff;
  font-size: 38px;
  line-height: 1.05;
}

.quick-links a {
  display: block;
  margin: 0 0 15px;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 36px 17px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom img {
  display: block;
  max-width: 260px;
  height: auto;
}

.age-gate,
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(22, 30, 34, .73);
}

.age-gate.hidden,
.search-overlay.hidden {
  display: none;
}

.age-dialog {
  width: min(500px, calc(100vw - 36px));
  padding: 62px 50px 60px;
  text-align: center;
  background: #fff;
  color: #2a2a2a;
}

.age-dialog h2 {
  margin: 0 0 28px;
  font-size: 36px;
  line-height: 1.1;
}

.age-dialog p {
  margin: 0 0 24px;
  color: #858585;
  font-size: 14px;
  line-height: 1.55;
}

.age-dialog div {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.age-dialog button {
  min-height: 43px;
  border: 0;
  padding: 0 18px;
  color: #222;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  background: #f6f6f6;
}

.age-dialog .accept {
  color: #fff;
  background: var(--green);
}

.search-overlay {
  background: rgba(0,0,0,.68);
}

.search-box {
  width: min(680px, calc(100vw - 46px));
}

.search-box h2 {
  color: #fff;
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.search-box input {
  width: 100%;
  height: 62px;
  padding: 0 22px;
  border: 0;
  color: #fff;
  background: rgba(0,0,0,.35);
  outline: 1px solid rgba(255,255,255,.2);
}

.search-box p {
  color: rgba(255,255,255,.78);
}

.close {
  position: absolute;
  right: 19%;
  top: 41%;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
}

.close::before,
.close::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 16px;
  width: 22px;
  height: 2px;
  background: #fff;
}

.close::before { transform: rotate(45deg); }
.close::after { transform: rotate(-45deg); }

.drawer {
  position: fixed;
  z-index: 70;
  inset: 0 0 0 auto;
  width: min(360px, 90vw);
  padding: 28px;
  background: #fff;
  box-shadow: -8px 0 28px rgba(0,0,0,.16);
  transform: translateX(105%);
  transition: .22s ease;
}

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

.drawer-close {
  float: right;
  border: 0;
  color: #777;
  background: transparent;
}

.drawer h2 {
  margin: 42px 0 26px;
}

.drawer .btn {
  margin-top: 15px;
  background: #222;
  color: #fff;
}

.chat {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 32;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #5d6df4;
  box-shadow: 0 9px 25px rgba(0,0,0,.2);
}

.chat svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
    background: #202020;
  }

  .menu-toggle { display: block; order: -1; color: #fff; }

  .brand { width: 150px; }

  .nav {
    position: fixed;
    inset: 64px auto 0 0;
    width: min(320px, 86vw);
    display: block;
    padding: 24px;
    background: #fff;
    color: #222;
    transform: translateX(-105%);
    transition: .22s ease;
  }

  .nav.open { transform: translateX(0); }

  .nav a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .tools button:not(.cart) { display: none; }
  .cart span { display: none; }

  .hero {
    min-height: 650px;
    padding: 110px 24px 60px;
    background-position: center;
  }

  .hero h1 {
    font-size: 45px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .footer-main,
  .shop-page,
  .product-detail,
  .about-page,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .footer-main {
    gap: 30px;
  }

  .shop-products,
  .report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-page,
  .product-detail,
  .product-tabs,
  .related-products,
  .about-page,
  .contact-page {
    padding-left: 24px;
    padding-right: 24px;
  }

  .product-tabs nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .product-tabs nav button {
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero-actions,
  .age-dialog div,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .media-band,
  .products-section,
  .why,
  .feedback {
    padding-left: 16px;
    padding-right: 16px;
  }

  .video-frame {
    height: 210px;
  }

  .product-grid {
    gap: 14px;
  }

  .shop-products,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .page-title h1,
  .report-hero h1 {
    font-size: 34px;
  }

  .product-summary h1,
  .about-page h2,
  .contact-info h2 {
    font-size: 30px;
  }

  .report-grid img {
    height: auto;
  }

  .feedback-track img {
    flex-basis: 280px;
    width: 280px;
    height: 210px;
  }

  .carousel-arrow {
    display: none;
  }

  .section-heading h2,
  .quick-links h2 {
    font-size: 30px;
  }

  .age-dialog {
    padding: 42px 26px;
  }

  .age-dialog h2 {
    font-size: 30px;
  }
}
