@import url("../fonts/fonts.css");

/* ==========================================================================
   Biosome Nutraceutical Pvt Ltd — design system
   Palette is derived from the logo: lime #67F70A, blue #046BA6, coral #F76149
   ========================================================================== */

:root {
  /* --- Green: primary. Brand surfaces, dark sections, headings --- */
  --g-950: #06210c;
  --g-900: #0b3312;
  --g-800: #10461a;
  --g-700: #17631f;
  --g-600: #24862a;
  --g-500: #3faf2c;
  --g-400: #67f70a; /* logo lime */
  --g-200: #cdf2b6;
  --g-100: #e6f9d8;
  --g-50:  #f2fceb;

  /* --- Blue: secondary. Links, interactive states, cool accents --- */
  --b-900: #02334f;
  --b-800: #034c74;
  --b-700: #046ba6; /* logo blue */
  --b-600: #0a82c6;
  --b-500: #1c9ade;
  --b-400: #5ec7f5;
  --b-100: #dceffa;
  --b-50:  #eff7fd;

  /* --- Coral: accent. CTAs and small emphasis only --- */
  --c-600: #dd4a31;
  --c-500: #f76149; /* logo coral */
  --c-300: #ff8a76;
  --c-100: #ffe6e1;

  /* --- Warm neutrals --- */
  --cream:   #faf8f2;
  --cream-2: #f4f0e6;
  --cream-3: #eae5d7;
  --white:   #ffffff;
  --ink:     #11211a;
  --ink-2:   #3f4d46;
  --ink-3:   #6d7a73;
  --line:    rgba(17, 33, 26, 0.12);
  --line-2:  rgba(17, 33, 26, 0.07);

  /* --- Signature gradient: ties the logo's two brand colours together --- */
  --grad-brand: linear-gradient(120deg, var(--g-500) 0%, var(--b-600) 100%);
  --grad-deep:  linear-gradient(150deg, var(--g-900) 0%, var(--b-900) 100%);

  --shadow-sm: 0 1px 2px rgba(11, 51, 18, 0.06), 0 2px 8px rgba(11, 51, 18, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 51, 18, 0.07), 0 12px 32px rgba(11, 51, 18, 0.07);
  --shadow-lg: 0 8px 24px rgba(11, 51, 18, 0.09), 0 24px 64px rgba(11, 51, 18, 0.10);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Lora", ui-serif, Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sec-y: clamp(4rem, 9vw, 7.5rem);
  --header-h: 78px;
}

/* ========================= Base ========================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); letter-spacing: -0.022em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; line-height: 1.35; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--b-700); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--b-600); }

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

::selection { background: var(--g-200); color: var(--g-950); }

:focus-visible {
  outline: 3px solid var(--b-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--g-900);
  color: var(--white);
  padding: 0.9rem 1.4rem;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ========================= Layout ========================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--cream2 { background: var(--cream-2); }
.section--white  { background: var(--white); }

/* Dark brand section — deep green with a blue-shifted corner */
.section--dark {
  background: var(--g-900);
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 32rem at 88% 8%,  rgba(4, 107, 166, 0.55), transparent 62%),
    radial-gradient(46rem 30rem at 4% 96%, rgba(103, 247, 10, 0.14), transparent 60%);
  z-index: -1;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark a { color: var(--b-400); }

/* Fine dot texture, used sparingly to keep large cream areas from going flat */
.has-dots::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(17, 33, 26, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 0%, #000, transparent 75%);
  opacity: 0.5;
  z-index: 0;
}

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ========================= Type helpers ========================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--b-700);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--g-400); }
.section--dark .eyebrow::before { background: var(--g-400); }

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.72;
  color: var(--ink-2);
  max-width: 62ch;
}
.section--dark .lede { color: rgba(255, 255, 255, 0.8); }

.accent-italic {
  font-style: italic;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.text-center { text-align: center; }

/* ========================= Buttons ========================= */

.btn {
  --btn-bg: var(--g-800);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  padding: 1.02rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
              border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--grad-brand); box-shadow: 0 6px 18px rgba(10, 130, 100, 0.24); }
.btn--primary:hover { box-shadow: 0 10px 28px rgba(10, 130, 100, 0.32); }

.btn--accent { background: var(--c-500); box-shadow: 0 6px 18px rgba(247, 97, 73, 0.26); }
.btn--accent:hover { background: var(--c-600); box-shadow: 0 10px 28px rgba(247, 97, 73, 0.34); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--g-600); color: var(--g-700); background: var(--g-50); }

.btn--on-dark {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.45); }

.btn--sm { padding: 0.72rem 1.25rem; font-size: 0.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--b-700);
  padding-bottom: 3px;
  border-bottom: 2px solid var(--b-100);
  transition: border-color 0.2s ease, gap 0.2s ease, color 0.2s ease;
}
.link-arrow:hover { border-color: var(--b-600); gap: 0.75rem; }
.link-arrow svg { width: 15px; height: 15px; flex: none; }
.section--dark .link-arrow { color: var(--g-400); border-color: rgba(103, 247, 10, 0.3); }
.section--dark .link-arrow:hover { border-color: var(--g-400); }

/* ========================= Header ========================= */

.topbar {
  background: var(--g-950);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.83rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: 42px;
}
.topbar ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; }
.topbar li { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar a { color: inherit; }
.topbar a:hover { color: var(--g-400); }
.topbar svg { width: 14px; height: 14px; color: var(--g-400); flex: none; }
.topbar .topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 242, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); background: rgba(250, 248, 242, 0.95); }

.site-header .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { flex: none; display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(0.25rem, 1.6vw, 0.6rem); }
.nav__link {
  position: relative;
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  transition: color 0.18s ease, background 0.18s ease;
}
.nav__link:hover { color: var(--g-800); background: rgba(17, 33, 26, 0.045); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}
.nav__link[aria-current="page"] { color: var(--g-900); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { flex: none; margin-left: 0.35rem; }
.nav__cta { display: none; } /* desktop uses .header-cta instead */

.nav-toggle {
  display: none;
  flex: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ========================= Hero ========================= */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(48rem 30rem at 78% -10%, rgba(4, 107, 166, 0.11), transparent 64%),
    radial-gradient(40rem 26rem at -6% 8%, rgba(103, 247, 10, 0.14), transparent 62%);
  pointer-events: none;
}
.hero .container { position: relative; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title { margin-bottom: 1.35rem; }
.hero__visual { position: relative; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.75rem;
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.hero__stat b {
  display: block;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--g-800);
  line-height: 1.1;
}
.hero__stat span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ========================= Page banner (interior pages) ========================= */

.page-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--g-900);
  color: rgba(255, 255, 255, 0.8);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(52rem 30rem at 82% 0%, rgba(4, 107, 166, 0.6), transparent 62%),
    radial-gradient(38rem 26rem at 2% 100%, rgba(103, 247, 10, 0.16), transparent 58%);
}
.page-banner h1 { color: #fff; margin-bottom: 0.9rem; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.page-banner .lede { color: rgba(255, 255, 255, 0.78); }
.page-banner .eyebrow { color: var(--g-400); }
.page-banner .eyebrow::before { background: var(--g-400); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1.75rem;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.breadcrumb a:hover { color: var(--g-400); }
.breadcrumb span[aria-hidden] { opacity: 0.45; }

/* ========================= Cards ========================= */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 2.5vw, 2.1rem);
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--ink-2); font-size: 0.97rem; }
.card .link-arrow { margin-top: auto; padding-top: 1.35rem; align-self: flex-start; }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.35rem;
  border-radius: var(--r-md);
  background: var(--g-50);
  color: var(--g-700);
  border: 1px solid var(--g-100);
}
.card__icon svg { width: 25px; height: 25px; }
.card:nth-child(3n + 2) .card__icon { background: var(--b-50); color: var(--b-700); border-color: var(--b-100); }
.card:nth-child(3n + 3) .card__icon { background: var(--c-100); color: var(--c-600); border-color: #ffd7cf; }

.card__num {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--g-600);
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

/* Numbered "why us" list on dark ground */
.reason {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.reason:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(103, 247, 10, 0.35); transform: translateY(-3px); }
.reason__num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--g-400);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}
.reason h3 { font-size: 1.16rem; margin-bottom: 0.6rem; }
.reason p { color: rgba(255, 255, 255, 0.72); font-size: 0.96rem; margin: 0; }

/* ========================= Stats band ========================= */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.4vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat b em { font-style: normal; color: var(--g-400); }
.stat span {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================= Split feature rows ========================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split + .split { margin-top: clamp(3.5rem, 7vw, 6rem); }
.split--flip .split__media { order: 2; }

.split__body h2 { margin-bottom: 1.1rem; }

.tick-list { display: grid; gap: 0.8rem; margin-top: 1.6rem; }
.tick-list li {
  position: relative;
  padding-left: 2.1rem;
  font-size: 0.98rem;
  color: var(--ink-2);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--g-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317631f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--g-100);
}
.section--dark .tick-list li { color: rgba(255, 255, 255, 0.78); }
.section--dark .tick-list li::before {
  background-color: rgba(103, 247, 10, 0.14);
  border-color: rgba(103, 247, 10, 0.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367f70a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ========================= Decorative media panel =========================
   Stands in for photography. Drop a real <img> inside .media to replace it. */

.media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(150deg, var(--g-50), var(--b-50) 60%, var(--cream-2));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
}
.media > img { width: 100%; height: 100%; object-fit: cover; }
.media > svg { width: 100%; height: 100%; }
.media--tall { aspect-ratio: 4 / 4.4; }
.media--wide { aspect-ratio: 16 / 9; }

.media__tag {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--g-800);
  box-shadow: var(--shadow-sm);
}
.media__tag svg { width: 15px; height: 15px; color: var(--g-600); }

/* Floating certification chip on the hero visual */
.float-chip {
  position: absolute;
  right: -0.75rem;
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.25rem;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line-2);
}
.float-chip__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  flex: none;
}
.float-chip__icon svg { width: 20px; height: 20px; }
.float-chip b { display: block; font-size: 0.92rem; color: var(--ink); line-height: 1.3; }
.float-chip span { font-size: 0.78rem; color: var(--ink-3); }

/* ========================= Product category cards ========================= */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card__art {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--g-50), var(--b-50));
  border-bottom: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.product-card__art svg { width: 100%; height: 100%; }
.product-card__body { padding: clamp(1.4rem, 2.2vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.product-card__body h3 { font-size: 1.22rem; margin-bottom: 0.6rem; }
.product-card__body p { font-size: 0.95rem; margin-bottom: 0; }
.product-card__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--g-50);
  border: 1px solid var(--g-100);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g-700);
}

/* Dosage-form pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.75rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.pill svg { width: 17px; height: 17px; color: var(--g-600); flex: none; }
.section--dark .pill {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}
.section--dark .pill svg { color: var(--g-400); }

/* ========================= Quote ========================= */

.quote { max-width: 56rem; margin-inline: auto; text-align: center; }
.quote__mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--g-400);
  display: block;
  margin-bottom: 1.75rem;
}
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.5;
  color: #fff;
  letter-spacing: -0.01em;
}
.quote figcaption { margin-top: 1.75rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.quote figcaption b { display: block; color: #fff; font-size: 0.95rem; margin-bottom: 0.15rem; }

/* ========================= CTA band ========================= */

.cta-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--r-xl);
  background: var(--g-900);
  padding: clamp(2.5rem, 5vw, 4rem);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40rem 24rem at 92% 0%, rgba(4, 107, 166, 0.62), transparent 62%),
    radial-gradient(30rem 22rem at 0% 100%, rgba(103, 247, 10, 0.18), transparent 60%);
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-band h2 { color: #fff; margin-bottom: 0.85rem; max-width: 20ch; }
.cta-band p { color: rgba(255, 255, 255, 0.76); max-width: 52ch; margin: 0; }
.cta-band__text { flex: 1 1 26rem; }

/* ========================= Contact ========================= */

.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

.info-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
}
.info-card + .info-card { margin-top: 1rem; }
.info-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--g-50);
  color: var(--g-700);
  border: 1px solid var(--g-100);
}
.info-card__icon svg { width: 20px; height: 20px; }
.info-card h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 0.45rem;
}
.info-card p, .info-card address {
  margin: 0;
  font-style: normal;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.6;
}
.info-card a { color: var(--ink); }
.info-card a:hover { color: var(--b-700); }

.form-panel {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--c-500); }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  background: var(--white);
  border-color: var(--g-600);
  box-shadow: 0 0 0 4px rgba(63, 175, 44, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 0.75; }
.form-note { font-size: 0.85rem; color: var(--ink-3); margin: 1rem 0 0; }

.map-embed {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 21 / 9;
  background: var(--cream-2);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ========================= Footer ========================= */

.site-footer {
  position: relative;
  isolation: isolate;
  background: var(--g-950);
  color: rgba(255, 255, 255, 0.66);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(46rem 26rem at 88% 0%, rgba(4, 107, 166, 0.4), transparent 62%);
}
.site-footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-brand img { height: 62px; width: auto; margin-bottom: 1.4rem; }
.footer-brand p { font-size: 0.93rem; max-width: 34ch; }
.site-footer ul { display: grid; gap: 0.7rem; }
.site-footer ul a { color: rgba(255, 255, 255, 0.66); font-size: 0.93rem; }
.site-footer ul a:hover { color: var(--g-400); }
.footer-contact li { display: flex; gap: 0.7rem; font-size: 0.93rem; line-height: 1.6; }
.footer-contact svg { width: 16px; height: 16px; color: var(--g-400); flex: none; margin-top: 0.28rem; }
.footer-contact a { color: rgba(255, 255, 255, 0.66); }
.footer-contact a:hover { color: var(--g-400); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.48);
}
.footer-bottom p { margin: 0; }

.cert-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
}
.cert-badge svg { width: 14px; height: 14px; color: var(--g-400); }

/* ========================= Scroll reveal ========================= */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* ========================= Responsive ========================= */

@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2.25rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    margin: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem var(--gutter) 1.5rem;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__link { padding: 0.95rem 0.6rem; font-size: 1.02rem; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--g-800); background: var(--g-50); border-radius: var(--r-sm); }
  .nav__cta { display: flex; margin-top: 1.1rem; width: 100%; }

  .hero__grid, .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
  .hero__visual { max-width: 34rem; }
  .grid--3 { grid-template-columns: 1fr; }
  .float-chip { right: 0.75rem; }
}

@media (max-width: 620px) {
  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar ul { justify-content: center; }
  .hero__stats { gap: 1.25rem 2rem; }
  .btn-row .btn { flex: 1 1 100%; }
}

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

@media print {
  .site-header, .topbar, .nav-toggle, .cta-band, .site-footer { display: none; }
  body { background: #fff; color: #000; }
}
