:root {
  --ink: #16343f;
  --muted: #5c7078;
  --line: #dce8e7;
  --soft: #f3faf7;
  --aqua: #15b6bd;
  --green: #6dbb45;
  --navy: #0b2f57;
  --gold: #e4ab38;
  --red: #c94a47;
  --white: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfdfc;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(22, 52, 63, 0.12);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

.download-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--soft);
  white-space: nowrap;
}

.download-link:hover {
  border-color: var(--aqua);
  color: #087d85;
}

.lang-switch {
  display: flex;
  gap: 6px;
}

.lang-switch a {
  min-width: 40px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
}

.lang-switch a.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(12, 43, 60, 0.88), rgba(12, 43, 60, 0.58) 46%, rgba(12, 43, 60, 0.12)),
    url("assets/hq/hero.png") center right / cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 54px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8fff4;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.tm {
  font-size: 0.55em;
  line-height: 0;
  vertical-align: super;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 880px;
  margin-top: 42px;
}

.hero-chip {
  border-left: 4px solid var(--aqua);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-chip:nth-child(2) {
  border-color: var(--green);
}

.hero-chip:nth-child(3) {
  border-color: var(--gold);
}

.hero-chip strong {
  display: block;
  font-size: 1.1rem;
}

.hero-chip span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.video-band {
  padding: 64px 0;
  background: var(--white);
}

.video-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: center;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 18px 55px rgba(18, 55, 64, 0.11);
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

section {
  padding: 82px 0;
}

.band-soft {
  background: var(--soft);
}

.band-dark {
  background: var(--navy);
  color: var(--white);
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.band-dark .section-head p,
.band-dark .muted {
  color: rgba(255, 255, 255, 0.76);
}

.insight-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.photo-panel {
  min-height: 420px;
  border-radius: 8px;
  background: url("assets/hq/microbiote-digestif.png") center / cover no-repeat;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.role {
  border-top: 4px solid var(--aqua);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
  min-height: 150px;
  box-shadow: 0 16px 40px rgba(18, 55, 64, 0.08);
}

.role:nth-child(2) {
  border-color: var(--green);
}

.role:nth-child(3) {
  border-color: var(--gold);
}

.role:nth-child(4) {
  border-color: var(--red);
}

.role img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 14px;
}

.role h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.role p {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.phase {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
}

.phase .number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--aqua);
  color: var(--white);
  font-weight: 800;
}

.phase:nth-child(2) .number {
  background: var(--green);
}

.phase:nth-child(3) .number {
  background: var(--gold);
  color: var(--ink);
}

.phase h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
}

.phase ul,
.product ul,
.dosage ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.phase li,
.product li,
.dosage li {
  margin-bottom: 8px;
}

.matrix {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  text-align: left;
  vertical-align: top;
}

th {
  color: #a8fff4;
  font-size: 1.05rem;
}

td:first-child {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.tech-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
}

.tech-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tech-icons img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.tech-icons div {
  text-align: center;
  font-weight: 700;
}

.product-list {
  display: grid;
  gap: 34px;
}

.product {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
  box-shadow: 0 18px 55px rgba(18, 55, 64, 0.08);
}

.product-media {
  position: sticky;
  top: 96px;
}

.product-media img {
  width: 230px;
  max-height: 210px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.format {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: center;
  background: var(--soft);
  color: var(--navy);
  font-weight: 800;
}

.product h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: 0;
}

.product .subtitle {
  margin: 6px 0 18px;
  color: var(--aqua);
  font-weight: 800;
}

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
}

.info-box {
  border-top: 4px solid var(--aqua);
  border-radius: 8px;
  padding: 18px;
  background: #f8fbfb;
}

.product:nth-child(2) .info-box {
  border-color: var(--green);
}

.product:nth-child(3) .info-box {
  border-color: var(--gold);
}

.info-box h4 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--navy);
}

.usage {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.usage h4 {
  margin: 0 0 10px;
}

.dosage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dosage {
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.dosage img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 12px;
}

.dosage h3 {
  margin: 0;
  color: var(--navy);
}

.refs {
  font-size: 0.83rem;
  color: var(--muted);
}

.footer {
  padding: 34px 0;
  background: #092436;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-brand a {
  display: inline-flex;
  width: fit-content;
}

.footer-brand img {
  width: 170px;
  height: auto;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-contact {
  display: grid;
  gap: 4px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  text-align: right;
}

.footer-contact a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.footer-contact a:hover {
  color: #a8fff4;
}

.choice-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(9, 36, 54, 0.9), rgba(9, 36, 54, 0.42)),
    url("assets/hq/hero.png") center / cover no-repeat;
}

.choice {
  width: min(760px, 100%);
  color: var(--white);
}

.choice h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
}

.choice-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  background: transparent;
  color: var(--white);
}

.access-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(90deg, rgba(9, 36, 54, 0.9), rgba(9, 36, 54, 0.42)),
    url("assets/hq/hero.png") center / cover no-repeat;
}

.access-panel {
  width: min(560px, 100%);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: rgba(11, 47, 87, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.access-panel h1 {
  margin: 8px 0 10px;
  font-size: 2rem;
}

.access-panel .lead {
  color: rgba(255, 255, 255, 0.86);
}

.access-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.access-form label {
  font-weight: 800;
}

.access-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

.access-form input:disabled,
.access-form button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.access-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff8f8;
  background: rgba(201, 74, 71, 0.82);
  font-weight: 700;
}

.access-hint {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .download-link {
    align-self: stretch;
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-products,
  .insight-grid,
  .timeline,
  .tech-grid,
  .video-grid,
  .product,
  .cols,
  .dosage-grid {
    grid-template-columns: 1fr;
  }

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

  .product-media {
    position: static;
  }
}

@media (max-width: 560px) {
  section {
    padding: 58px 0;
  }

  .hero-inner {
    padding: 56px 0 42px;
  }

  .role-grid,
  .tech-icons {
    grid-template-columns: 1fr;
  }

  .product {
    padding: 22px;
  }

  .footer-inner {
    gap: 22px;
  }

  .footer-contact {
    width: 100%;
    text-align: left;
  }
}
