/* ============================================================
   pep — Clean stylesheet
   Design tokens, base, layout, components
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0a1b2e;
  --ink-2: #16324b;
  --teal: #2c7a8c;
  --teal-2: #6fa6b0;
  --sage: #d7e3df;
  --cream: #f5f1ea;
  --paper: #fbf9f4;
  --line: rgba(10, 27, 46, 0.12);

  --background: #fbf9f4;
  --foreground: #0a1b2e;
  --card: #ffffff;
  --secondary: #f5f1ea;
  --muted: #f5f1ea;
  --muted-foreground: rgba(10, 27, 46, 0.6);

  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 1rem;
  --container: 80rem;
  --container-narrow: 48rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 300;
}

h1 em, h2 em, h3 em {
  color: var(--teal);
  font-style: normal;
  font-weight: 500;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: 5rem;
  scroll-margin-top: 5rem;
}

.section--tinted {
  background-color: rgba(245, 241, 234, 0.4);
}

@media (min-width: 640px) {
  .section {
    padding-block: 6rem;
  }
}

/* ---------- Typography ---------- */
.h1-hero {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  color: var(--ink);
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 300;
  line-height: 1;
}

.h2-section {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.04;
}

.h2-closing {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 300;
  line-height: 1.02;
}

.h3-step {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  font-size: 22px;
  font-weight: 500;
}

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--teal);
  font-size: 11px;
  font-weight: 400;
}

.mono-label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(10, 27, 46, 0.6);
  font-size: 11px;
  font-weight: 400;
}

.lead {
  font-family: var(--font-sans);
  color: rgba(10, 27, 46, 0.6);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
}

.footnote {
  font-family: var(--font-sans);
  color: rgba(10, 27, 46, 0.6);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

/* ---------- Brand (header) ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 2rem;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.brand-name-accent {
  color: var(--teal);
  font-weight: 300;
}



/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--font-display);
  color: var(--ink);
  align-items: baseline;
  line-height: 1;
  display: inline-flex;
  font-size: 22px;
}


.wordmark__vyra {
  letter-spacing: -0.03em;
  color: var(--ink);
  font-weight: 300;
}

.wordmark__rx {
  letter-spacing: -0.04em;
  color: var(--teal);
  font-weight: 700;
}

.wordmark__dot {
  border: 0.02em solid var(--teal);
  border-radius: 50%;
  align-self: center;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.18em;
  display: inline-block;
}

.wordmark--light .wordmark__vyra {
  color: var(--paper);
}

.wordmark--light .wordmark__rx {
  color: var(--teal-2);
}

.wordmark--light .wordmark__dot {
  border-color: var(--teal-2);
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-sans);
  border-radius: 999px;
  align-items: center;
  gap: 0.5rem;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
  display: inline-flex;
}

.btn .btn__arrow {
  transition: transform 0.2s;
}

.btn:hover .btn__arrow {
  transform: translate(3px);
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}

.btn--ink:hover {
  background: var(--teal);
}

.btn--teal {
  background: var(--teal);
  color: var(--paper);
}

.btn--teal:hover {
  background: var(--ink);
}

.btn--lg {
  padding: 16px 24px;
  font-size: 15px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(251, 249, 244, 0.85);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 15px;
  color: rgba(10, 27, 46, 0.85);
}

.main-nav a {
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--ink);
}

.nav-sep {
  color: rgba(10, 27, 46, 0.3);
}

.nav-link-btn {
  font-weight: 600;
  color: rgba(10, 27, 46, 0.85);
  transition: color 0.2s;
}

.nav-link-btn:hover {
  color: var(--ink);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
}

.menu-toggle:hover {
  background: var(--cream);
}

@media (max-width: 767px) {
  .main-nav {
    position: absolute;
    top: 5rem;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--paper);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }

  .main-nav:not(.is-open) {
    display: none;
  }

  .main-nav a,
  .main-nav .nav-link-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    text-align: left;
  }

  .main-nav a:hover,
  .main-nav .nav-link-btn:hover {
    background: var(--cream);
  }

  .nav-sep {
    display: none;
  }
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}


/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(30, 58, 138, 0.10) 0%, transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(30, 58, 138, 0.06) 0%, transparent 60%);
}

.hero-inner {
  padding-block: 3rem 2.5rem;
}

@media (min-width: 640px) {
  .hero-inner {
    padding-top: 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.eyebrow-dot {
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 0.5rem;
}

.hero-copy .h1-hero {
  margin-top: 1.5rem;
}

.hero-copy .lead {
  margin-top: 1.5rem;
  max-width: 36rem;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-learn {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(10, 27, 46, 0.8);
}

/* Hero media */
.hero-image-wrap {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 28rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  outline: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .hero-image-wrap {
    max-width: 32rem;
  }
}

@media (min-width: 1024px) {
  .hero-image-wrap {
    max-width: none;
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(251, 249, 244, 0.95);
  backdrop-filter: blur(8px);
}

@media (min-width: 640px) {
  .hero-badge {
    bottom: 1.5rem;
    left: 1.5rem;
    right: auto;
    max-width: 20rem;
  }
}

.hero-badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(10, 27, 46, 0.1);
  color: var(--ink);
  flex-shrink: 0;
}

.hero-badge-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hero-badge-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-badge-sub {
  font-size: 0.75rem;
  color: rgba(10, 27, 46, 0.6);
}

/* Trust bar */
.trust-bar {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.6);
}

@media (min-width: 640px) {
  .trust-bar {
    margin-top: 4rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 0.75rem;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(10, 27, 46, 0.75);
}

.trust-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--ink);
  flex-shrink: 0;
}

/* ---------- Section head ---------- */
.section-head {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.section-head .h2-section {
  margin-top: 1rem;
}

.section-head .lead {
  margin-top: 1.25rem;
}

.section-head--row {
  max-width: none;
  margin-inline: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .section-head--row {
    flex-direction: row;
    align-items: flex-end;
  }
}

.view-all {
  color: rgba(10, 27, 46, 0.4);
  white-space: nowrap;
}

/* ---------- Cards (treatments) ---------- */
.card-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: rgba(10, 27, 46, 0.1);
  color: var(--ink);
}

.card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.card-icon-img {
  height: 2.75rem;
  object-fit: contain;
}



.card .h3-step {
  margin-top: 1.25rem;
}

.card .footnote {
  margin-top: 0.5rem;
}

.card-toggle {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--teal);
}

.card-toggle .chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s;
}

.card-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.card-list {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-list.is-collapsed {
  display: none;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 13px;
  color: rgba(10, 27, 46, 0.6);
  line-height: 1.5;
}

.card-list li svg {
  width: 1rem;
  height: 1rem;
  color: var(--ink);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.card-cta {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(10, 27, 46, 0.7);
  transition: color 0.2s;
}

.card-cta:hover {
  color: var(--ink);
}

.card-cta svg {
  width: 1rem;
  height: 1rem;
}

/* ---------- Steps (how it works) ---------- */
.steps {
  margin-top: 4rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.step {
  position: relative;
}

.step-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  outline: 4px solid var(--background);
}

.step-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.step-body {
  margin-top: 1.25rem;
}

.step-body .h3-step {
  margin-top: 0.25rem;
}

.step-body .footnote {
  margin-top: 0.75rem;
}

/* ---------- Product cards ---------- */
.product-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.product-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 1.5rem;
  background: linear-gradient(to bottom right, rgba(245, 241, 234, 0.6), rgba(245, 241, 234, 0.2));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.product-tag {
  align-self: flex-start;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: rgba(10, 27, 46, 0.1);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.product-body .h3-step {
  margin-top: 0.75rem;
}

.product-tagline {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.4;
}

.product-info {
  margin-top: 1.25rem;
}

.product-info-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(10, 27, 46, 0.5);
  margin-bottom: 0.5rem;
}

.product-info .footnote {
  margin-top: 0;
}

.product-effects {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.product-effects li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 13px;
  color: rgba(10, 27, 46, 0.6);
  line-height: 1.5;
}

.product-effects li svg {
  width: 1rem;
  height: 1rem;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.product-price {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.product-price-old {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(10, 27, 46, 0.45);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.product-price-arrow {
  color: rgba(10, 27, 46, 0.45);
  font-size: 1rem;
}

.product-price-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.product-price-note {
  margin-top: 0.35rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0, 128, 128, 0.08);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}



.product-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}



.product-actions .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .product-actions {
    flex-direction: row;
  }

  .product-actions .btn {
    flex: 1;
  }
}


/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 2.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: rgba(10, 27, 46, 0.6);
  transition: transform 0.2s;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding-bottom: 1rem;
  font-size: 0.875rem;
  color: rgba(10, 27, 46, 0.6);
  line-height: 1.625;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a1b2e;
  color: #ffffff;
}

.footer-inner {
  padding-block: 6rem;
}

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-cta .h2-closing {
  color: #ffffff;
}

.footer-cta-sub {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 640px) {
  .footer-cta-sub {
    font-size: 1.125rem;
  }
}

.footer-cta .btn {
  margin-top: 2.5rem;
}

.footer-links {
  margin-top: 7rem;
  display: grid;
  gap: 3rem;
}

@media (min-width: 640px) {
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-links {
    grid-template-columns: repeat(5, 1fr);
  }
}

.footer-brand-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-brand-logo {
  height: 2.5rem;
  width: auto;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1;
}

.footer-brand-name-accent {
  color: var(--teal-2);
  font-weight: 300;
}


.footer-brand-sub {
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}



.footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
}

.footer-col ul {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-bottom {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-bottom-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom-text:first-child {
    text-align: left;
  }

  .footer-bottom-text:last-child {
    text-align: right;
  }
}

.footer-bottom-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  order: -1;
}

.footer-bottom-logo {
  height: 2.5rem;
  width: auto;
}

.footer-bottom-logo--bayer {
  height: 1.75rem;
}

@media (min-width: 640px) {
  .footer-bottom-logos {
    order: 0;
  }
}


/* ---------- Header right / language switch ---------- */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.lang-link {
  color: rgba(10, 27, 46, 0.5);
  transition: color 0.2s;
}

.lang-link:hover {
  color: var(--ink);
}

.lang-link.is-active {
  color: var(--ink);
  font-weight: 600;
}

.lang-sep {
  color: rgba(10, 27, 46, 0.3);
}

/* ---------- Product category tabs ---------- */
.cat-tabs {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cat-tabs {
    flex-direction: row;
    gap: 0.75rem;
  }
}

.cat-tab {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(10, 27, 46, 0.18);
  border-radius: 1rem;
  background: var(--card);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: rgba(10, 27, 46, 0.65);
  cursor: pointer;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.cat-tab:hover {
  color: var(--ink);
  border-color: rgba(10, 27, 46, 0.35);
  box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.1);
}

.cat-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 16px -6px rgba(10, 27, 46, 0.35);
}


.product-panel {
  display: none;
}

.product-panel.is-active {
  display: block;
}

.product-media-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(10, 27, 46, 0.08);
  color: var(--ink);
}

.product-media-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}


/* ---------- Footer currency switcher ---------- */
.footer-currency {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-currency-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
}

.currency-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
}

.currency-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.currency-link:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}

.currency-link.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

/* ---------- Footer licenses ---------- */
.footer-licenses {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}


.footer-licenses-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.4);
}

.license-logos {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.license-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  height: 2.5rem;
  padding-inline: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- Modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 27, 46, 0.6);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 1.5rem;
  background: var(--paper);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Doctor image above the popup card (transparent PNG on a blob) */
.modal-card--doctor {
  overflow: visible;
  padding-top: 6rem;
}

.modal-doctor {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10rem;
  height: 10rem;
  z-index: 2;
}

/* Blob (пятно) behind the doctor */
.modal-doctor::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 55%),
    linear-gradient(150deg, var(--teal-2), var(--teal));
  border-radius: 58% 42% 55% 45% / 48% 55% 45% 52%;
  box-shadow: 0 16px 30px -12px rgba(10, 27, 46, 0.45);
}

/* Transparent doctor image shown fully on top of the blob */
.modal-doctor-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(10, 27, 46, 0.25));
}

/* Give the discount popup extra room at the top for the doctor image */
#discount-modal {
  padding-top: 5rem;
}


.modal-close {

  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: rgba(10, 27, 46, 0.6);
  transition: background-color 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--cream);
  color: var(--ink);
}

.modal-close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.modal-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.h3-modal {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}

.modal-sub {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: rgba(10, 27, 46, 0.6);
  line-height: 1.5;
}

.modal-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-form input,
.modal-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--card);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-form input:focus,
.modal-form select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(44, 122, 140, 0.15);
}

.modal-form input::placeholder {
  color: rgba(10, 27, 46, 0.4);
}

.btn--block {
  width: 100%;
  justify-content: center;
  margin-top: 0.25rem;
}

.modal-success {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(44, 122, 140, 0.12);
  color: var(--teal);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ---------- Consultation success ---------- */
.consult-success {
  text-align: center;
}

.consult-doctor {
  margin-inline: auto;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--teal);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.consult-doctor-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.consult-success .h3-modal {
  margin-top: 1.25rem;
}

.consult-success .modal-sub {
  margin-top: 0.75rem;
}

/* ---------- Star ratings ---------- */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
}

.star {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.star--full {
  color: #f5a623;
}

.star--half {
  color: #f5a623;
  opacity: 0.55;
}

.star--empty {
  color: rgba(10, 27, 46, 0.18);
}

/* Product card rating row */
.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.product-rating-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.product-rating-count {
  font-size: 0.8rem;
  color: rgba(10, 27, 46, 0.55);
}

/* ---------- Reviews section ---------- */
.reviews-section {
  background: var(--cream);
}

.reviews-head {
  align-items: flex-end;
}

.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--paper);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.reviews-summary-score {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.reviews-summary .star {
  width: 20px;
  height: 20px;
}

.reviews-summary-count {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(10, 27, 46, 0.55);
}

.reviews-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--paper);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--teal-2), var(--teal));
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  flex-shrink: 0;
}

.review-meta {
  flex: 1;
  min-width: 0;
}

.review-author {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.2;
}

.review-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(10, 27, 46, 0.5);
  margin-top: 0.15rem;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  background: rgba(44, 122, 140, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.review-verified svg {
  width: 12px;
  height: 12px;
}

.review-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(10, 27, 46, 0.8);
  flex: 1;
}

.review-product {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(10, 27, 46, 0.5);
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.review-product strong {
  color: var(--teal);
  font-weight: 600;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {


  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
