/* ==========================================================================
   Medica Tech Limited — website styles
   Colours: navy #2B3176, green #78BC43 (from the official logo)
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #2B3176;
  --navy-800: #232862;
  --navy-900: #181b45;
  --green: #78BC43;
  --green-600: #5e9c2e;
  --green-text: #3b7417;
  --text: #2B3176;
  --body: #474c7a;
  --muted: #5c618b;
  --line: #e4e6f1;
  --line-strong: #cfd3e6;
  --tint: #f5f6fb;
  --tint-2: #eef0f9;
  --tint-green: #f1f8ea;
  --tint-green-2: #e4f2d7;
  --white: #fff;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --success-bg: #f0f8e8;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 2px 6px rgba(43, 49, 118, .06);
  --shadow: 0 18px 40px -22px rgba(43, 49, 118, .28);
  --shadow-lg: 0 40px 80px -40px rgba(43, 49, 118, .38);

  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: #f8fbf7;
  font-feature-settings: "lnum" 1, "tnum" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Soft animated background: pastel green, white and a hint of blue, drifting slowly */
body::before, body::after {
  content: ""; position: fixed; inset: -30%; z-index: -1; pointer-events: none;
  will-change: transform;
}
body::before {
  background:
    radial-gradient(38% 32% at 22% 26%, rgba(198, 232, 172, .62), transparent 70%),
    radial-gradient(34% 30% at 78% 70%, rgba(211, 238, 192, .55), transparent 70%),
    radial-gradient(30% 26% at 50% 50%, rgba(255, 255, 255, .9), transparent 70%);
  animation: bgDriftA 46s ease-in-out infinite alternate;
}
body::after {
  background:
    radial-gradient(32% 28% at 80% 22%, rgba(206, 224, 247, .55), transparent 70%),
    radial-gradient(30% 28% at 18% 80%, rgba(218, 231, 250, .5), transparent 70%),
    radial-gradient(26% 22% at 60% 40%, rgba(232, 246, 222, .5), transparent 70%);
  animation: bgDriftB 62s ease-in-out infinite alternate;
}
@keyframes bgDriftA {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(-7%, 5%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(6%, -4%, 0) rotate(-6deg) scale(1.03); }
}
@keyframes bgDriftB {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1.05); }
  50%  { transform: translate3d(8%, -6%, 0) rotate(-10deg) scale(1); }
  100% { transform: translate3d(-5%, 6%, 0) rotate(6deg) scale(1.1); }
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-text); }
h1, h2, h3, h4, .h3 { color: var(--text); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); letter-spacing: -.01em; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
strong { color: var(--text); font-weight: 650; }
.lead { font-size: clamp(1.02rem, 1.2vw, 1.15rem); color: var(--muted); max-width: 60ch; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
main:focus { outline: none; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px rgba(120, 188, 67, .45); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border: 2px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: inherit; font-weight: 650; font-size: .98rem; letter-spacing: .005em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(43, 49, 118, .55); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--primary { --bg: var(--navy); }
.btn--primary:hover { --bg: var(--navy-800); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { --bg: var(--tint); border-color: var(--navy); box-shadow: none; }
.btn--light { --bg: #fff; --fg: var(--navy); }
.btn--light:hover { --bg: var(--tint-green); }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: .92rem; }

.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: var(--tint); border-color: var(--line-strong); color: var(--navy); }
.icon-btn--soft { background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); }

.text-link { font-weight: 600; font-size: .92rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-text);
}
.eyebrow--light { color: #bfe59e; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(43, 49, 118, .4); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.site-header__logo { flex: none; display: block; }
.site-header__logo img { width: 168px; height: auto; }
.site-nav { margin-inline: auto; }
.site-nav__list { display: flex; gap: 4px; list-style: none; }
.site-nav__link {
  position: relative; display: block; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none; transition: background-color .2s, color .2s;
}
.site-nav__link:hover { background: var(--tint); color: var(--navy); }
.site-nav__link.is-active { color: var(--navy); }
.site-nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 3px; margin-left: -9px; border-radius: 3px; background: var(--green);
}
.site-nav__cats { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }
.nav-toggle__close { display: none; }

@media (max-width: 999px) {
  .site-header__cta { display: none; }
  .nav-toggle { display: inline-grid; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; margin: 0;
    background: #fff; padding: 20px var(--gutter) 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .nav-toggle__open { display: none; }
  .nav-open .nav-toggle__close { display: block; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .site-nav__list { flex-direction: column; gap: 2px; }
  .site-nav__link { font-size: 1.35rem; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .site-nav__link:hover { background: none; }
  .site-nav__link.is-active::after { left: auto; right: 4px; top: 50%; bottom: auto; margin: -5px 0 0; width: 10px; height: 10px; border-radius: 50%; }
  .site-nav__cats { display: block; margin-top: 28px; }
  .site-nav__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); margin-bottom: 10px; }
  .site-nav__cats ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .site-nav__cats a {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
    background: var(--tint); color: var(--navy); font-weight: 600; font-size: .9rem; text-decoration: none; line-height: 1.3;
  }
}
@media (max-width: 480px) {
  .site-header__logo img { width: 140px; }
  .site-nav__cats ul { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--flush { padding-top: 0; }
.section--tint { background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 100%); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { margin-bottom: .35em; }
.section-head .lead { margin-bottom: 0; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head--split > div { max-width: 640px; }

/* ---------- Hero slider ---------- */
.hero { position: relative; overflow: hidden; background: transparent; }
.hero__slides { display: grid; }
.slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .9s var(--ease), visibility .9s; }
.slide.is-active { visibility: visible; opacity: 1; z-index: 1; }
.slide__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  min-height: clamp(560px, calc(88vh - var(--header-h)), 760px); padding-block: 48px 104px;
}
.slide__copy { max-width: 560px; }
.slide__title { font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 20px; }
.slide__text { font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--muted); max-width: 46ch; margin-bottom: 32px; }
.slide__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.slide__halo {
  position: absolute; width: min(92%, 600px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--halo, #e9ebf7) 62%, transparent 72%);
}
.slide__halo::after {
  content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1.5px dashed rgba(43, 49, 118, .14);
}
.slide__img { position: relative; width: min(100%, 640px); }
.slide__img img { width: 100%; max-height: min(56vh, 520px); object-fit: contain; filter: drop-shadow(0 34px 34px rgba(43, 49, 118, .22)); }
.slide__chip {
  position: absolute; left: -3%; bottom: 5%; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow); backdrop-filter: blur(10px); line-height: 1.25;
}
.slide__chip strong { display: block; font-size: 1rem; }
.slide__chip small { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; }
.slide__chip-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--tint-green); color: var(--green-text); }

.slide--navy  { --halo: #e5e8f6; }
.slide--green { --halo: #e3f1d6; }
.slide--sky   { --halo: #dfeef8; }
.slide--rose  { --halo: #f9e3ee; }

/* motion (only when JS has started the slider and motion is allowed) */
.js .slide.is-active .eyebrow,
.js .slide.is-active .slide__title,
.js .slide.is-active .slide__text,
.js .slide.is-active .btn { animation: rise .9s var(--ease) both; }
.js .slide.is-active .slide__title { animation-delay: .08s; }
.js .slide.is-active .slide__text { animation-delay: .18s; }
.js .slide.is-active .btn { animation-delay: .28s; }
.js .slide.is-active .slide__img { animation: productIn 1.1s var(--ease) both; }
.js .slide.is-active .slide__img img { animation: float 7s ease-in-out 1.1s infinite; }
.js .slide.is-active .slide__chip { animation: rise .9s var(--ease) .45s both; }
.js .slide.is-active .slide__halo { animation: halo 1.4s var(--ease) both; }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes productIn { from { opacity: 0; transform: translateX(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes halo { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }

.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hero__dots { display: flex; gap: 8px; }
.hero__dot { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dot span { position: absolute; left: 4px; right: 4px; top: 50%; height: 4px; margin-top: -2px; border-radius: 4px; background: rgba(43, 49, 118, .16); overflow: hidden; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: left; }
.hero__dot[aria-current="true"] span::after { transform: scaleX(1); }
.hero.is-playing .hero__dot[aria-current="true"] span::after { animation: progress var(--slide-dur, 7s) linear both; }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__dot:hover span { background: rgba(43, 49, 118, .3); }
.hero__buttons { display: flex; gap: 8px; }
.hero .play-icon { display: none; }
.hero.is-paused .play-icon { display: block; }
.hero.is-paused .pause-icon { display: none; }

@media (max-width: 899px) {
  .slide__grid { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding-block: 20px 96px; text-align: left; }
  .slide__visual { order: -1; min-height: 0; height: clamp(190px, 34vh, 340px); }
  .slide__halo { width: auto; height: 100%; }
  .slide__img { height: 100%; width: 100%; display: grid; place-items: center; }
  .slide__img img { max-height: clamp(170px, 31vh, 310px); width: auto; max-width: 92%; }
  .slide__chip { left: 0; bottom: 4%; padding: 8px 12px 8px 8px; }
  .slide__chip-icon { width: 32px; height: 32px; border-radius: 10px; }
  .slide__chip strong { font-size: .88rem; }
  .slide__chip small { font-size: .7rem; }
  .slide__title { font-size: clamp(1.85rem, 7.4vw, 2.6rem); margin-bottom: 12px; }
  .slide__text { margin-bottom: 22px; font-size: 1rem; }
  .slide .eyebrow { margin-bottom: 10px; }
  .hero__controls { bottom: 20px; }
  .js .slide.is-active .slide__img { animation-name: productInUp; }
}
@keyframes productInUp { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 420px) {
  .hero__dot { width: 28px; }
  .hero__dots { gap: 4px; }
  .hero__buttons { gap: 6px; }
  .hero__buttons .icon-btn { width: 42px; height: 42px; }
  .slide .btn { width: 100%; }
}

/* ---------- Hero: family home-care slide ---------- */
.slide--family .slide__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.slide--family .slide__title { font-size: clamp(2.3rem, 4.2vw, 3.6rem); }
.slide--family .slide__copy { position: relative; z-index: 2; }
.family { position: relative; display: block; min-height: 0; margin: 0 calc(-1 * var(--gutter)) 0 -14%; }
.family__photo {
  position: relative; aspect-ratio: 1672 / 941; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 12%, #000 26%, #000 93%, transparent 100%),
                      linear-gradient(180deg, transparent 0%, #000 7%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 12%, #000 26%, #000 93%, transparent 100%),
                      linear-gradient(180deg, transparent 0%, #000 7%, #000 88%, transparent 100%);
          mask-composite: intersect;
}
.family__photo img { width: 100%; height: 100%; object-fit: cover; }
.family__devices {
  position: absolute; left: 9%; right: -3%; bottom: -7%;
  display: flex; align-items: flex-end; justify-content: center; gap: 1.2%;
  list-style: none; margin: 0; padding: 0;
}
.family__devices::before {
  content: ""; position: absolute; left: -6%; right: -6%; bottom: -4%; height: 46%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .92), rgba(255, 255, 255, .55) 60%, transparent);
}
.family__device { position: relative; display: block; }
.family__device img { width: 100%; height: auto; filter: drop-shadow(0 18px 18px rgba(43, 49, 118, .22)); }
.family__device--neb   { width: 32%; }
.family__device--gluco-simple  { width: 9%; z-index: 1; margin-bottom: -1.5%; }
.family__device--gluco-impulse { width: 10%; z-index: 1; margin-bottom: -1.5%; }
.family__device--bp    { width: 30.5%; }

.js .slide--family.is-active .family__photo { animation: photoIn 1.2s var(--ease) both; }
.js .slide--family.is-active .family__device { animation: productInUp .9s var(--ease) calc(.35s + var(--d) * .14s) both; }
.js .slide--family.is-active .family__device img { animation: float 7s ease-in-out calc(1.3s + var(--d) * .6s) infinite; }
@keyframes photoIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

@media (max-width: 899px) {
  .slide--family .slide__grid { grid-template-columns: 1fr; gap: 4px; padding-top: 28px; }
  .slide--family .slide__visual { order: 0; height: auto; }
  .family { margin: 6px calc(-1 * var(--gutter)) 0; }
  .family__photo {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  }
  .family__devices { position: relative; left: auto; right: auto; bottom: auto; width: 100%; margin: -19% auto 0; gap: 1%; padding-inline: 1%; }
  .family__device--neb { width: 35.5%; }
  .family__device--gluco-simple { width: 10%; }
  .family__device--gluco-impulse { width: 11.2%; }
  .family__device--bp { width: 34%; }
  .family__devices::before { height: 60%; bottom: -10%; }
  .slide--family .slide__title { font-size: clamp(1.85rem, 7.4vw, 2.6rem); }
}

/* ---------- Search box ---------- */
.search-box {
  position: relative; display: flex; align-items: center; gap: 8px; width: min(100%, 460px);
  padding: 6px 6px 6px 50px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within { border-color: var(--navy); box-shadow: 0 0 0 5px rgba(120, 188, 67, .25); }
.search-box > .icon { position: absolute; left: 18px; color: var(--muted); }
.search-box input {
  flex: 1; min-width: 0; height: 44px; border: 0; background: none; font: inherit; font-size: 1rem; color: var(--text);
}
.search-box input:focus { outline: none; }
.search-box input::placeholder { color: #6b7097; }
.search-box--wide { width: min(100%, 640px); }
.catalog-tools > *, .section-head--split > * { min-width: 0; }
@media (max-width: 480px) {
  .search-box { width: 100%; padding-left: 44px; }
  .search-box > .icon { left: 14px; }
  .search-box .btn { padding-inline: 14px; }
}

/* ---------- Category cards ---------- */
.cat-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 18px; height: 100%; min-height: 232px; overflow: hidden;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  text-decoration: none; color: var(--body);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--body); }
.cat-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--tint-green); color: var(--green-text); transition: background-color .3s, color .3s; }
.cat-card:hover .cat-card__icon { background: var(--navy); color: #fff; }
.cat-card__icon .icon { width: 26px; height: 26px; }
.cat-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; max-width: 64%; }
.cat-card__name { font-size: 1.15rem; font-weight: 700; color: var(--text); letter-spacing: -.01em; line-height: 1.25; }
.cat-card__text { font-size: .9rem; line-height: 1.55; color: var(--muted); }
.cat-card__count { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .85rem; font-weight: 650; color: var(--navy); }
.cat-card__img {
  position: absolute; right: -14px; bottom: -14px; width: 46%; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; background: radial-gradient(circle, var(--tint) 0%, transparent 70%);
  transition: transform .5s var(--ease);
}
.cat-card__img img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(43, 49, 118, .16)); }
.cat-card:hover .cat-card__img { transform: translate(-6px, -6px) rotate(-3deg); }
@media (max-width: 999px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) {
  .cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .cat-card { min-height: 0; padding: 22px; flex-direction: row; align-items: flex-start; }
  .cat-card__body { max-width: 58%; }
  .cat-card__img { width: 38%; }
}

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.product-grid--featured { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .product-grid--featured { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .product-grid--featured, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 359px) { .product-grid--featured, .product-grid { grid-template-columns: 1fr; } }

.pcard { height: 100%; }
.pcard__link {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; text-decoration: none; color: var(--body);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pcard__link:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; color: var(--body); }
.pcard__media {
  position: relative; display: grid; place-items: center; aspect-ratio: 1 / .9; padding: 9%;
  background: radial-gradient(circle at 50% 45%, #fff 0%, var(--tint) 70%);
}
.pcard__media img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 16px 16px rgba(43, 49, 118, .14)); transition: transform .5s var(--ease); }
.pcard__link:hover .pcard__media img { transform: scale(1.05); }
.pcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 20px 22px 22px; }
.pcard__cat { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); }
.pcard__cat .icon { width: 15px; height: 15px; }
.pcard__title { font-size: 1.02rem; line-height: 1.35; margin: 2px 0 0; letter-spacing: -.005em; }
.pcard__model { font-size: .82rem; font-weight: 600; color: var(--muted); margin: 0; }
.pcard__summary { font-size: .88rem; line-height: 1.55; color: var(--muted); margin: 4px 0 0; }
.pcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: .88rem; font-weight: 650; color: var(--navy); }
.pcard__more .icon { transition: transform .25s var(--ease); }
.pcard__link:hover .pcard__more .icon { transform: translateX(4px); }
@media (max-width: 599px) {
  .pcard__body { padding: 16px; }
  .pcard__summary { display: none; }
  .pcard__title { font-size: .95rem; }
}

/* ---------- Infographics ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.bento > div { min-width: 0; }
.bento__a { grid-column: span 5; }
.bento__b { grid-column: span 7; }
.bento__c { grid-column: span 7; }
.bento__d { grid-column: span 5; }
.bento__e { grid-column: span 12; }
@media (max-width: 999px) { .bento > div { grid-column: span 12; } }

.info {
  height: 100%; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--tint) 0%, #fff 100%); border: 1px solid var(--line);
}
.info__head { margin-bottom: 24px; }
.info.has-photo { overflow: hidden; }
.info__media {
  position: relative; overflow: hidden;
  margin: calc(-1 * clamp(24px, 3vw, 36px)) calc(-1 * clamp(24px, 3vw, 36px)) 26px;
  height: clamp(200px, 19vw, 250px); background: var(--tint-2);
}
.info__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.2s var(--ease); }
.info__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(245, 246, 251, .55)); pointer-events: none; }
.info:hover .info__media img { transform: scale(1.04); }
/* Taller photo for the Medi Sure card so the pregnancy is clearly visible; the BP card beside it matches its height */
.info__media--tall { height: auto; aspect-ratio: 16 / 10; }
@media (min-width: 1000px) { .info__media--pair { height: auto; aspect-ratio: 1 / .93; } }
@media (max-width: 599px) { .info__media--tall { aspect-ratio: 1 / 1; } }
.info--catheter.has-photo { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.info__media--side { height: auto; min-height: 320px; margin: calc(-1 * clamp(24px, 3vw, 36px)) 0 calc(-1 * clamp(24px, 3vw, 36px)) calc(-1 * clamp(24px, 3vw, 36px)); }
.info__media--side::after { inset: 0 0 0 auto; width: 30%; height: auto; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5)); }
.info--catheter.has-photo .zoom-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
@media (max-width: 799px) {
  .info--catheter.has-photo { grid-template-columns: 1fr; gap: 0; }
  .info__media--side { min-height: 0; height: 240px; margin: calc(-1 * clamp(24px, 3vw, 36px)) calc(-1 * clamp(24px, 3vw, 36px)) 26px; }
  .info__media--side::after { inset: auto 0 0 0; width: auto; height: 40%; background: linear-gradient(180deg, transparent, rgba(245, 246, 251, .55)); }
}

.info__tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .78rem; font-weight: 650; color: var(--navy);
}
.info__tag .icon { color: var(--green-600); }
.info__title { font-size: clamp(1.25rem, 1.8vw, 1.55rem); margin-bottom: 8px; }
.info__text { color: var(--muted); font-size: .95rem; margin: 0; max-width: 52ch; }
.info__note { margin: 18px 0 0; font-size: .8rem; color: var(--muted); }

.info__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 0; }
.info__stats--grid { grid-template-columns: repeat(2, 1fr); }
.stat { margin: 0; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat dt { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.stat dt .icon { color: var(--green-600); }
.stat dd { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.stat__num { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 750; color: var(--navy); letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat__prefix { margin-right: 2px; }
.stat__unit { font-size: .9rem; font-weight: 650; color: var(--green-text); }
@media (max-width: 520px) {
  .info__stats { grid-template-columns: 1fr 1fr; }
  .info__stats .stat:last-child:nth-child(odd) { grid-column: span 2; }
}

.range { margin-top: 8px; }
.range__track { position: relative; height: 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.range__fill {
  position: absolute; top: 0; bottom: 0; left: var(--from); right: calc(100% - var(--to)); border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0%, var(--navy) 100%);
  transform-origin: left; transition: transform 1.4s var(--ease) .2s;
}
.js .info:not(.is-visible) .range__fill { transform: scaleX(0); }
.range__labels { display: flex; justify-content: space-between; margin-top: 8px; padding-left: 3%; font-size: .85rem; font-weight: 650; color: var(--navy); }

.compare { display: grid; gap: 8px; }
.compare__row {
  display: grid; grid-template-columns: 1.1fr .8fr 1fr 1.7fr; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  font-size: .9rem; color: var(--body); text-decoration: none;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
a.compare__row:hover { border-color: var(--navy); color: var(--body); transform: translateX(4px); }
.compare__row--head { background: none; border: 0; padding-block: 0 4px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare__fmt { font-weight: 700; color: var(--navy); }
.compare__row strong { font-size: 1.1rem; }
.compare__row.is-current { border-color: var(--green); background: var(--tint-green); box-shadow: inset 4px 0 0 var(--green); }
@media (max-width: 560px) {
  .compare__row { grid-template-columns: 1.2fr .8fr 1fr; row-gap: 4px; padding: 12px 14px; }
  .compare__row > :nth-child(4) { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); }
  .compare__row--head > :nth-child(4) { display: none; }
}

.tape { position: relative; padding-top: 34px; }
.tape__bar { position: relative; height: 56px; border-radius: 14px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.tape__fit {
  position: absolute; top: 0; bottom: 0; left: var(--from); width: calc(var(--to) - var(--from));
  background: linear-gradient(90deg, rgba(120, 188, 67, .25), rgba(120, 188, 67, .45));
  border-inline: 2px solid var(--green-600);
  transform-origin: left; transition: transform 1.2s var(--ease) .2s;
}
.tape__fit span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: .8rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); }
.js .info:not(.is-visible) .tape__fit { transform: scaleX(0); }
.tape__tick { position: absolute; bottom: 0; left: var(--p); width: 1px; height: 12px; background: var(--line-strong); }
.tape__tick--major { height: 20px; background: #9aa0c4; }
.tape__nums { position: relative; height: 22px; margin-top: 8px; }
.tape__nums span { position: absolute; left: var(--p); transform: translateX(-50%); font-size: .82rem; font-weight: 600; color: var(--muted); }
.tape__nums span:first-child { transform: none; }
.tape__nums span:last-child { transform: translateX(-100%); }
.tape__nums .is-key { color: var(--navy); font-weight: 800; font-size: .95rem; }
.tape__unit { position: absolute; top: 0; right: 0; margin: 0; font-size: .8rem; font-weight: 700; color: var(--muted); }

.lights { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; }
.lights__item { display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 650; color: var(--navy); }
.lights__item span { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 4px #fff, 0 0 18px var(--glow); background: var(--glow); }
.lights__item--green { --glow: #6cc237; }
.lights__item--yellow { --glow: #f5c518; }
.lights__item--red { --glow: #e5483a; }

.zoom-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.zoom { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.zoom__img { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px var(--tint-green-2); transition: transform .5s var(--ease); }
.zoom:hover .zoom__img { transform: scale(1.06); }
.zoom__img { position: relative; }
.zoom__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zoom__title { margin: 0 0 4px; font-size: 1rem; }
.zoom__text { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 560px) {
  .zoom-grid { grid-template-columns: 1fr; gap: 10px; }
  .zoom { flex-direction: row; align-items: center; padding: 12px; }
  .zoom__img { width: 76px; height: 76px; flex: none; }
}

/* Kit contents */
.kit { padding: clamp(24px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--tint-green); border: 1px solid var(--tint-green-2); }
.kit__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.kit__head h2 { margin: 0; }
.kit__total { margin: 0; font-size: .85rem; font-weight: 650; color: var(--green-text); }
.kit__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.kit__item {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: #fff;
  transition: transform .5s var(--ease) calc(var(--i) * 50ms), opacity .5s calc(var(--i) * 50ms);
}
.js .kit:not(.is-visible) .kit__item { opacity: 0; transform: translateY(10px); }
.kit__qty { font-size: 1.5rem; font-weight: 750; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.kit__name { font-size: .86rem; line-height: 1.4; color: var(--body); font-weight: 550; }

/* ---------- Feature split ---------- */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 88px); }
.feature-split--reverse .feature-split__media { order: 2; }
.feature-split__media { position: relative; overflow: hidden; border-radius: var(--radius-xl); aspect-ratio: 5 / 4; background: var(--tint); }
.feature-split__media img.cover, .cover { width: 100%; height: 100%; object-fit: cover; }
.feature-split__copy p { color: var(--muted); }
@media (max-width: 899px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split--reverse .feature-split__media { order: 0; }
  .feature-split__media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
}
.pill-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--tint); color: var(--navy); font-weight: 600; font-size: .9rem; text-decoration: none; transition: background-color .25s, color .25s;
}
.pill-links a:hover { background: var(--navy); color: #fff; }
.pill-links .icon { color: var(--green-600); }
.pill-links a:hover .icon { color: var(--green); }
.audience { list-style: none; display: grid; gap: 12px; margin: 24px 0 28px; }
.audience li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); }
.audience strong { display: block; margin-bottom: 2px; }
.audience li > span:last-child { font-size: .92rem; color: var(--muted); line-height: 1.5; }
.audience__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--tint-green); color: var(--green-text); }

/* ---------- CTA band ---------- */
.cta { padding-bottom: var(--section); }
.cta__panel {
  position: relative; display: grid; grid-template-columns: 5fr 7fr; overflow: hidden; border-radius: var(--radius-xl);
  background: radial-gradient(600px 400px at 90% 10%, rgba(120, 188, 67, .28), transparent 60%), var(--navy);
  color: #dfe2f5;
}
.cta__media { position: relative; min-height: 320px; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 40%, var(--navy) 100%); }
.cta__copy { padding: clamp(32px, 5vw, 72px); align-self: center; }
.cta__copy h2 { color: #fff; }
.cta__copy p { color: #d3d7f0; max-width: 48ch; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.cta__mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.cta__mail:hover { color: #bfe59e; }
@media (max-width: 899px) {
  .cta__panel { grid-template-columns: 1fr; border-radius: var(--radius-lg); }
  .cta__media { min-height: 200px; aspect-ratio: 16 / 8; }
  .cta__media::after { background: linear-gradient(180deg, transparent 40%, var(--navy) 100%); }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-block: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 80px);
  background: transparent;
}
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.page-hero__copy h1 { margin-bottom: 16px; }
.page-hero__img { display: grid; place-items: center; }
.page-hero__img img { max-height: 340px; width: auto; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(43, 49, 118, .18)); animation: float 8s ease-in-out infinite; }
.page-hero__photo { overflow: hidden; border-radius: var(--radius-xl); aspect-ratio: 4 / 3; }
.page-hero--legal { padding-bottom: 32px; }
.page-hero--catalog .page-hero__grid:has(> :only-child) { grid-template-columns: 1fr; }
@media (max-width: 899px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__img img { max-height: 220px; }
  .page-hero__photo { border-radius: var(--radius-lg); aspect-ratio: 16 / 10; }
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 22px; font-size: .84rem; font-weight: 550; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 650; }

/* ---------- Catalog ---------- */
.section--catalog { padding-top: 0; }
.catalog-tools { display: grid; gap: 18px; margin-bottom: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: .88rem; font-weight: 600; text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip .icon { color: var(--green-600); }
.chip__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--tint-2); font-size: .75rem; }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-active .icon { color: var(--green); }
.chip.is-active .chip__count { background: rgba(255, 255, 255, .18); }
@media (max-width: 699px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .catalog-tools { padding: 16px 20px; border-radius: var(--radius); }
}
.results-count { margin: 8px 0 22px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.empty { padding: 56px 24px; text-align: center; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--tint); }
.empty__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: #fff; color: var(--navy); }
.empty p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* ---------- Product page ---------- */
.product-top { padding-block: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 48px); background: transparent; }
.product-top__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__stage {
  position: relative; display: grid; aspect-ratio: 1; border-radius: var(--radius-xl); overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #fff 0%, var(--tint-2) 75%); border: 1px solid var(--line);
}
.gallery__slide { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 9%; }
.gallery__slide img { position: absolute; inset: 9%; width: 82%; height: 82%; }
.gallery__slide img { object-fit: contain; filter: drop-shadow(0 26px 26px rgba(43, 49, 118, .18)); }
.js .gallery__slide.is-active img { animation: productInUp .7s var(--ease) both; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 14px; }
.gallery__thumb {
  display: grid; place-items: center; width: 84px; height: 84px; padding: 8px; border-radius: 18px; cursor: pointer;
  border: 2px solid var(--line); background: var(--tint); transition: border-color .2s;
}
.gallery__thumb { position: relative; }
.gallery__thumb img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; }
.gallery__thumb:hover { border-color: var(--line-strong); }
.gallery__thumb.is-active { border-color: var(--navy); background: #fff; }
.product-info { padding-top: 8px; }
.product-info__cat { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--tint-green); color: var(--green-text); font-size: .82rem; font-weight: 700; text-decoration: none; }
.product-info__cat:hover { background: var(--tint-green-2); }
.product-info__title { margin: 16px 0 18px; font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.product-info__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.product-info__meta div { padding: 10px 16px; border-radius: 14px; background: var(--tint); }
.product-info__meta dt { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.product-info__meta dd { margin: 0; font-weight: 650; color: var(--navy); font-size: .95rem; }
.product-info__overview { font-size: 1.05rem; color: var(--body); }
.checklist { list-style: none; display: grid; gap: 10px; margin: 22px 0 30px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 550; color: var(--text); line-height: 1.5; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 3; margin-top: 1px; }
.product-info__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 899px) {
  .product-top__grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .gallery__stage { border-radius: var(--radius-lg); aspect-ratio: 1 / .85; }
}
@media (max-width: 480px) { .product-info__actions .btn { width: 100%; } }

.stat-row { display: grid; gap: 16px; margin: 0; }
.stat-row--1 { grid-template-columns: minmax(0, 320px); }
.stat-row--2 { grid-template-columns: repeat(2, minmax(0, 320px)); }
.stat-row--3 { grid-template-columns: repeat(3, 1fr); }
.stat-row--4 { grid-template-columns: repeat(4, 1fr); }
.stat--card { padding: 22px 24px; background: linear-gradient(160deg, var(--tint) 0%, #fff 100%); border-radius: var(--radius-lg); }
@media (max-width: 799px) { .stat-row--3, .stat-row--4, .stat-row--2 { grid-template-columns: repeat(2, 1fr); } .stat-row--3 .stat:last-child { grid-column: span 2; } }

.product-detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.product-detail__side { display: grid; gap: 24px; }
@media (max-width: 899px) { .product-detail { grid-template-columns: 1fr; } }
.spec-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec-table th, .spec-table td { padding: 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { width: 44%; padding-right: 16px; font-weight: 550; color: var(--muted); }
.spec-table td { font-weight: 650; color: var(--navy); }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 2px solid var(--navy); }
.source-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px; font-size: .82rem; line-height: 1.55; color: var(--muted); }
.source-note .icon { margin-top: 2px; color: var(--green-600); }

.enquiry-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 48px); border-radius: var(--radius-xl);
  background: radial-gradient(500px 240px at 100% 0%, rgba(120, 188, 67, .25), transparent 70%), var(--tint);
}
.enquiry-band h2 { margin-bottom: 4px; }
.enquiry-band p { margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 96px); }
.story__text p { font-size: 1.05rem; }
@media (max-width: 899px) { .story { grid-template-columns: 1fr; } }
.mission {
  position: relative; margin: 0; padding: clamp(36px, 6vw, 72px); border-radius: var(--radius-xl); text-align: center;
  background: radial-gradient(700px 300px at 50% 0%, rgba(120, 188, 67, .3), transparent 70%), var(--navy); color: #d3d7f0;
}
.mission blockquote { margin: 0 auto; max-width: 820px; }
.mission blockquote p { font-size: clamp(1.35rem, 2.6vw, 2.1rem); font-weight: 650; line-height: 1.35; color: #fff; letter-spacing: -.015em; }
.mission figcaption { margin-top: 18px; font-weight: 600; color: #bfe59e; }
.mission__mark { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--green); }
.serve-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.serve-card { padding: 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
.serve-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.serve-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 18px; background: var(--tint-green); color: var(--green-text); }
@media (max-width: 899px) { .serve-grid { grid-template-columns: 1fr; } }
.range-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.range-list a {
  display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--body); transition: transform .3s var(--ease), box-shadow .3s;
}
.range-list a:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--body); }
.range-list strong { display: block; }
.range-list a > span:nth-child(2) > span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.range-list__icon { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 16px; background: var(--tint-green); color: var(--green-text); }
.range-list__count { margin-left: auto; display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; background: var(--tint-2); font-weight: 700; color: var(--navy); }
@media (max-width: 799px) { .range-list { grid-template-columns: 1fr; } }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--tint), #fff); border: 1px solid var(--line); }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.step__num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } .form-card { order: -1; } }
.contact-card, .form-card { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-xl); border: 1px solid var(--line); background: #fff; }
.contact-card { background: linear-gradient(170deg, var(--tint) 0%, #fff 100%); }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list li > .icon { margin-top: 3px; color: var(--green-600); }
.contact-list--lg { gap: 22px; margin-top: 8px; }
.contact-list--lg a { font-weight: 600; word-break: break-word; }
.contact-list__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.contact-list__label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card__note { display: flex; gap: 10px; margin-top: 28px; padding: 16px; border-radius: 16px; background: var(--tint-green); font-size: .88rem; line-height: 1.55; }
.contact-card__note p { margin: 0; }
.contact-card__note .icon { color: var(--green-text); margin-top: 2px; }
.form-card__intro { color: var(--muted); font-size: .9rem; }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 599px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 650; color: var(--text); }
.req { color: var(--danger); }
.opt { font-weight: 500; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #a8add0; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(120, 188, 67, .3); }
.field textarea::placeholder { color: #6b7097; }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--navy); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); }
.field__error { display: flex; gap: 6px; align-items: center; margin: 0; font-size: .85rem; font-weight: 600; color: var(--danger); }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--navy); cursor: pointer; }
.field--check label { font-weight: 500; font-size: .92rem; line-height: 1.55; color: var(--body); }
.field--check .field__error { grid-column: 2; }
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__fine { margin: 0; font-size: .84rem; color: var(--muted); }
#form-status:focus { outline: none; }
.notice { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 22px; padding: 18px 20px; border-radius: 16px; font-size: .94rem; }
.notice h3 { font-size: 1.05rem; margin-bottom: 4px; }
.notice p { margin: 0; }
.notice ul { list-style: none; margin-top: 8px; display: grid; gap: 4px; }
.notice ul a { color: var(--danger); font-weight: 600; }
.notice > .icon { margin-top: 2px; }
.notice--success { background: var(--success-bg); border: 1px solid #bfe0a3; }
.notice--success > .icon { color: var(--green-text); }
.notice--error { background: var(--danger-bg); border: 1px solid #f5c2bd; }
.notice--error > .icon, .notice--error h3 { color: var(--danger); }
.notice--info { background: var(--tint); border: 1px solid var(--line); align-items: center; margin: 0; }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 22px; border-radius: var(--radius); background: var(--tint); }
.legal__toc-title { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); margin-bottom: 10px; }
.legal__toc ol { list-style: none; display: grid; gap: 2px; font-size: .88rem; }
.legal__toc a { display: block; padding: 6px 0; color: var(--body); text-decoration: none; }
.legal__toc a:hover { color: var(--navy); text-decoration: underline; }
@media (max-width: 899px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; } .legal__toc ol { grid-template-columns: 1fr 1fr; } }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.3em; margin-bottom: 1em; display: grid; gap: 6px; }
.prose li::marker { color: var(--green-600); }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--tint); color: var(--navy); font-weight: 700; }
.data-table code { font-size: .88rem; color: var(--navy); }

/* ---------- 404 ---------- */
.notfound__inner { text-align: center; display: grid; justify-items: center; }
.notfound__code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 12px; letter-spacing: -.05em; background: linear-gradient(120deg, var(--navy), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound .lead { margin-inline: auto; }
.notfound__links { margin-top: 24px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: rgba(255, 255, 255, .6); border-top: 1px solid var(--line); font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-block: clamp(48px, 7vw, 80px) 40px; }
.site-footer__brand img { width: 180px; height: auto; margin-bottom: 16px; }
.site-footer__brand p { color: var(--muted); max-width: 34ch; }
.site-footer__title { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); margin-bottom: 16px; }
.site-footer__col ul { list-style: none; display: grid; gap: 10px; }
.site-footer__col a { color: var(--body); text-decoration: none; }
.site-footer__col a:hover { color: var(--navy); text-decoration: underline; }
.site-footer .contact-list a { word-break: break-word; }
.social-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.social-link .icon { display: grid; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--navy); color: #fff; }
.site-footer__bottom { border-top: 1px solid var(--line); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px; font-size: .86rem; color: var(--muted); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; display: flex; gap: 20px; }
.site-footer__bottom a { color: var(--muted); }
@media (max-width: 999px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible, .reveal-all [data-reveal] { opacity: 1; transform: none; }
.reveal-all .range__fill, .reveal-all .tape__fit, .reveal-all .kit__item { transform: none !important; opacity: 1 !important; }

/* ---------- Heading reveal (words rise into place) ---------- */
.hw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.hw__i {
  display: inline-block; transform: translateY(105%); opacity: 0;
  transition: transform .95s var(--ease), opacity .6s ease;
  transition-delay: calc(var(--wi, 0) * 55ms + var(--hd, 0ms));
  will-change: transform;
}
.is-split.is-in .hw__i, .slide.is-active .is-split .hw__i, .reveal-all .hw__i { transform: none; opacity: 1; }
.slide:not(.is-active) .is-split .hw__i { transition: none; }
.js .slide.is-active .slide__title.is-split { animation: none; }
.slide .slide__title.is-split { --hd: 120ms; }
/* avoid a flash of the hero heading before the script splits it */
.js .slide.is-active .slide__title:not(.is-split), .js .page-hero h1:not(.is-split), .js .product-info__title:not(.is-split) { opacity: 0; }
.reveal-all .slide__title, .reveal-all .page-hero h1, .reveal-all .product-info__title { opacity: 1 !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .info:not(.is-visible) .range__fill, .js .info:not(.is-visible) .tape__fit { transform: none; }
  .js .kit:not(.is-visible) .kit__item { opacity: 1; transform: none; }
  .page-hero__img img { animation: none; }
  .hw__i { transform: none !important; opacity: 1 !important; }
}

/* ---------- Print ---------- */
@media print {
  body::before, body::after { display: none; }
  body { background: #fff; }
  .site-header, .site-footer, .hero__controls, .cta, .enquiry-band, .gallery__thumbs { display: none !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
