/* =============================================================
   Anything Medical Ltd — Main Stylesheet
   ============================================================= */

@import url('../fonts/poppins.css');

/* ── Design Tokens ──────────────────────────────────────────── */
:root {

  /* Colour */
  --navy:          #1e3a5f;
  --navy-dark:     #152d4e;
  --teal:          #2ab4c9;
  --teal-dark:     #1f8fa0;
  --accent:        #00d4ff;
  --gradient-btn:  linear-gradient(135deg, #a78bfa, #60a5fa);
  --hero-bg:       #dff0f8;
  --white:         #ffffff;
  --light-bg:      #f0f4f8;
  --border:        #e2e8f0;
  --text-dark:     #0d1b2a;
  --text-body:     #2d3748;
  --text-muted:    #64748b;
  --logo-grey:     #828282;

  /* ── Status ──── */
  --danger:      #ef4444;
  --success:     #22c55e;
  --warning:     #f59e0b;

  /* ── Stage pills ── */
  --pill-new-bg:        #e0f2fe;  --pill-new-fg:        #0369a1;
  --pill-contacted-bg:  #fef9c3;  --pill-contacted-fg:  #854d0e;
  --pill-qualified-bg:  #dcfce7;  --pill-qualified-fg:  #15803d;
  --pill-proposal-bg:   #ede9fe;  --pill-proposal-fg:   #6d28d9;
  --pill-won-bg:        #d1fae5;  --pill-won-fg:        #065f46;
  --pill-lost-bg:       #fee2e2;  --pill-lost-fg:       #991b1b;

  /* ── Glass surfaces ── */
  --glass-fill:        rgba(255,255,255,0.55);
  --glass-fill-hover:  rgba(255,255,255,0.72);
  --glass-border:      rgba(255,255,255,0.7);
  --glass-shadow:      0 4px 24px rgba(30,58,95,0.07), inset 0 1px 0 rgba(255,255,255,0.8);

  /* ── Page gradient ── */
  --page-gradient: linear-gradient(to bottom,
    #c8e6f4 0%, #dff0f8 10%, #eaf3f9 25%, #eef5fb 45%,
    #ede8fb 65%, #f4f1fd 80%, #ffffff 100%);

  /* ── Extra elevation ── */
  --shadow-navy: 0 4px 24px rgba(30,58,95,0.32);

  /* ── Type weights ── */
  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extra:    800;

  /* Elevation */
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.06);
  --shadow:        0 4px 20px rgba(0,0,0,0.08);
  --shadow-md:     0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.16);

  /* Radius */
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-full:   9999px;

  /* Spacing (base-4 scale) */
  --sp-1:   4px;
  --sp-2:   8px;
  --sp-3:   12px;
  --sp-4:   16px;
  --sp-5:   20px;
  --sp-6:   24px;
  --sp-8:   32px;
  --sp-10:  40px;
  --sp-12:  48px;
  --sp-16:  64px;
  --sp-20:  80px;
  --sp-24:  96px;

  /* Type scale */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md:   1.125rem;  /* 18px */
  --text-lg:   1.25rem;   /* 20px */
  --text-xl:   1.5rem;    /* 24px */
  --text-2xl:  1.875rem;  /* 30px */
  --text-3xl:  2.25rem;   /* 36px */
  --text-4xl:  3rem;      /* 48px */
  --text-5xl:  3.75rem;   /* 60px */

  /* 12-column grid */
  --cols:      12;
  --gutter:    var(--sp-6);   /* 24px between columns */
  --col-max:   1200px;

  /* Misc */
  --header-h:  88px;   /* 24px top + inner pill (~48px) + 16px bottom */
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--page-gradient);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

/* ── 12-Column Grid System ──────────────────────────────────── */
/*
  Usage:
    <div class="grid">               — 12-col grid wrapper
      <div class="col-8"> … </div>  — spans 8 of 12 cols
      <div class="col-4"> … </div>  — spans 4 of 12 cols
    </div>

  Responsive suffixes:  -md (≤1024px)  -sm (≤768px)
  e.g. class="col-8 col-md-6 col-sm-12"

  Offset:  col-offset-2  (push 2 cols from left)
*/

.grid {
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: var(--gutter);
  align-items: start;
}
.grid-center { align-items: center; }

/* Column spans 1–12 */
.col-1  { grid-column: span 1;  }
.col-2  { grid-column: span 2;  }
.col-3  { grid-column: span 3;  }
.col-4  { grid-column: span 4;  }
.col-5  { grid-column: span 5;  }
.col-6  { grid-column: span 6;  }
.col-7  { grid-column: span 7;  }
.col-8  { grid-column: span 8;  }
.col-9  { grid-column: span 9;  }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* Offsets */
.col-offset-1  { grid-column-start: 2;  }
.col-offset-2  { grid-column-start: 3;  }
.col-offset-3  { grid-column-start: 4;  }
.col-offset-4  { grid-column-start: 5;  }

/* Tablet ≤1024px */
@media (max-width: 1024px) {
  .col-md-1  { grid-column: span 1;  }
  .col-md-2  { grid-column: span 2;  }
  .col-md-3  { grid-column: span 3;  }
  .col-md-4  { grid-column: span 4;  }
  .col-md-5  { grid-column: span 5;  }
  .col-md-6  { grid-column: span 6;  }
  .col-md-7  { grid-column: span 7;  }
  .col-md-8  { grid-column: span 8;  }
  .col-md-12 { grid-column: span 12; }
}

/* Mobile ≤768px */
@media (max-width: 768px) {
  .grid { gap: var(--sp-4); }
  .col-sm-12 { grid-column: span 12; }
  .col-sm-6  { grid-column: span 6;  }
  /* Default: all cols go full-width on mobile */
  [class*="col-"]:not([class*="col-sm-"]) { grid-column: span 12; }
}

/* ── Buttons ────────────────────────────────────────────────── */

/* Primary — solid navy, pill shape */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  background: #1f3a5f;
  color: var(--white);
  padding: var(--sp-3) 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #1f3a5f;
  opacity: 0.82;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary:hover {
  opacity: 1;
  background: #132540;
  border-color: #132540;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(19,37,64,0.35);
}

/* Secondary — teal outline, transparent bg, navy text, pill shape */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  background: rgba(255,255,255,0.2);
  color: #1f3a5f;
  padding: 11px 27px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #29b5c9;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 11px 27px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.7);
  transition: background 0.2s, transform 0.2s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); transform: translateY(-1px); }

/* ── Section Title ──────────────────────────────────────────── */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

/* ── Tag / Badge ────────────────────────────────────────────── */
.tag {
  display: inline-block;
  background: none;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0;
  border-radius: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag-navy {
  color: var(--navy);
}
/* Rule under every tag — left-aligned by default */
.tag::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  margin-top: var(--sp-2);
}
/* In centred section headers the tag stacks above the title and rule centres */
.text-center > .tag {
  display: block;
  width: fit-content;
  margin: 0 auto var(--sp-4);
}
.text-center > .tag::after {
  margin-left: auto;
  margin-right: auto;
}

/* ── HEADER ─────────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  padding: var(--sp-6) 0 var(--sp-4);
}
header.scrolled {
  padding: var(--sp-6) 0 var(--sp-4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-full);
  padding: var(--sp-3) var(--sp-6);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, border-radius 0.3s;
}
header.scrolled .header-inner {
  box-shadow: var(--shadow-md);
}

/* CSS text logo */
.logo { display: flex; align-items: center; gap: var(--sp-2); text-decoration: none; }
.logo-icon { height: 34px; width: auto; }
.logo-text { font-family: 'Poppins', sans-serif; font-size: 1.25rem; line-height: 1; letter-spacing: -0.01em; }
.logo-text .logo-anything { color: var(--logo-grey); font-weight: 400; }
.logo-text .logo-medical  { color: var(--navy); font-weight: 700; }
.logo-text .logo-dot      { color: var(--teal); font-weight: 700; }

/* Footer logo variant — dark background, white "medical" */
.footer-brand .logo-text .logo-medical { color: #ffffff; }
.footer-brand .logo-text .logo-anything { color: #a0aec0; }
.footer-brand .logo-icon { height: 30px; }

/* ── Nav ────────────────────────────────────────────────────── */
nav { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; }

nav > ul {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
nav > .mobile-nav { display: none; }

nav > ul > li { position: relative; }

nav > ul > li > a,
nav > ul > li > button {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  padding: var(--sp-2) 14px;
  border-radius: var(--radius-full);
  border: none;
  background: none;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
nav > ul > li > a:hover,
nav > ul > li > button:hover,
nav > ul > li > a.active,
nav > ul > li > button.active {
  color: var(--teal);
  background: rgba(42,180,201,0.14);
}

.nav-dropdown-toggle svg { transition: transform 0.2s; }
.nav-dropdown-toggle.open svg { transform: rotate(180deg); }
.nav-dropdown-toggle i { transition: transform 0.2s; }
.nav-dropdown-toggle.open i { transform: rotate(180deg); }

/* ── Dropdown ───────────────────────────────────────────────── */
.dropdown { position: static; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  width: auto;
  transform: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  padding: 28px var(--sp-8);
  gap: 0;
  flex-direction: row;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.dropdown.open .dropdown-menu {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.dropdown-col { flex: 0 0 20%; padding: 0 var(--sp-6); border-right: 1px solid #e8eef5; }
.dropdown-col:first-child { padding-left: 0; }
.dropdown-col:last-child  { border-right: none; padding-right: 0; }

.dropdown-col-ethos { flex: 0 0 40%; }
.dropdown-ethos-text {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--text-muted);
  margin-top: 10px;
}
.dropdown-ethos-text + .dropdown-ethos-text {
  margin-top: var(--sp-3);
}

.dropdown-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 10px;
}

.dropdown-col a {
  display: block;
  color: var(--text-dark);
  font-size: 0.82rem;
  padding: 5px 0;
  transition: color 0.15s, padding-left 0.15s;
}
.dropdown-col a:hover { color: var(--teal); padding-left: var(--sp-1); }

.dropdown-sub-header {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-top: 12px;
  margin-bottom: 4px;
}


/* ── Admin icon btn ─────────────────────────────────────────── */
/* Override btn-primary sizing/hover when used in the nav */
nav .nav-contact-btn.btn-primary {
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.85rem;
  margin-left: var(--sp-2);
}
nav .nav-contact-btn.btn-primary:hover {
  transform: none;
  box-shadow: none;
}

/* ── Admin Modal ────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19,37,64,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 24px 64px rgba(30,58,95,0.18);
  width: 100%;
  max-width: 380px;
  margin: var(--sp-4);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid #e8eef5;
}
.modal-body {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.admin-form { display: flex; flex-direction: column; gap: var(--sp-3); }
.admin-form .form-group { margin-bottom: 0; }
.admin-form label { font-size: 0.82rem; }
.admin-form .form-control { font-size: 0.875rem; }

.nav-admin-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: none;
  border: none;
  border-left: 1px solid #d1d9e0;
  margin-left: var(--sp-4);
  padding-left: var(--sp-4);
  color: #a0adb8;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  transition: color 0.2s;
}
.nav-admin-btn:hover { color: var(--navy); }

/* ── Hamburger ──────────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--sp-2);
  cursor: pointer;
  z-index: 1100;
}
.hamburger span { background: var(--navy) !important; }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero Section ───────────────────────────────────────────── */
.hero-section {
  background: transparent;
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  /* Pull up behind the sticky header so hero bg shows through the pill nav */
  margin-top: calc(-1 * var(--header-h) - 12px);
  padding: calc(var(--header-h) + 84px) 0 100px;
  position: relative;
}

/* Hero floating background shapes — fixed to viewport, span full page */
/* @keyframes: float-cw (clockwise drift), float-ccw (counter-clockwise drift) */
@keyframes float-cw {
  0%   { transform: translateY(0px)   rotate(0deg); }
  50%  { transform: translateY(22px)  rotate(4deg); }
  100% { transform: translateY(0px)   rotate(0deg); }
}
@keyframes float-ccw {
  0%   { transform: translateY(0px)   rotate(0deg); }
  50%  { transform: translateY(18px)  rotate(-3.5deg); }
  100% { transform: translateY(0px)   rotate(0deg); }
}

/* Base class for both hero shapes */
.hero-shape {
  position: fixed;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
/* Teal shape — right/bottom corner, clockwise float */
.hero-shape-teal {
  right: 0;
  bottom: 0;
  height: 70vh;
  width: auto;
  transform-origin: right bottom;
  animation: float-cw 9s ease-in-out infinite;
}
/* Lavender shape — left/bottom corner, counter-clockwise float */
.hero-shape-lavender {
  left: 0;
  bottom: -60px;
  height: 55vh;
  width: auto;
  opacity: 0.7;
  transform-origin: left bottom;
  animation: float-ccw 11s ease-in-out infinite;
}
/* Product page shape overrides */
.hero-shape-teal.page-teal {
  right: -80px;
  bottom: auto;
  top: 20vh;
  height: 55vh;
  transform-origin: right center;
}
.hero-shape-lavender.page-lavender {
  left: auto;
  right: 0;
  bottom: auto;
  top: 55vh;
  height: 45vh;
  opacity: 0.5;
  transform-origin: right center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  font-size: 1rem;
  color: #444;
  max-width: 540px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Feature bullets in hero */
.hero-features {
  list-style: none;
  margin-bottom: 2rem;
}
.hero-features li {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
  font-size: 0.95rem;
  color: var(--text-dark);
}
/* Inline SVG circle-check — fixed stroke weight at any size */
.hero-check-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  flex-shrink: 0;
  margin-right: var(--sp-3);
  stroke: #29b5c9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-check-icon circle,
.hero-check-icon path {
  vector-effect: non-scaling-stroke;
  stroke-width: 1.5px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.hero-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--teal);
  border-radius: 999px;
  padding: 4px 12px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-10);
  position: relative;
  z-index: 1;
}

/* Hero content sits on top of shape decorations */
.hero-content { position: relative; z-index: 1; }

.hero-title-accent {
  color: var(--teal);
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-wrap img {
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.15));
}

/* ── Section Padding ────────────────────────────────────────── */
.section     { padding: var(--sp-20) 0; position: relative; z-index: 1; }
.section-alt { background: var(--light-bg); }

/* ── Why Choose Us Section ──────────────────────────────────── */
.section-why {
  background: transparent;
}

/* ── Glass Card (shared base) ───────────────────────────────── */
/*
  Shared frosted-glass surface used by:
    .cat-card, .feature-card, .three-rs-card, .testimonial-card

  Each card type extends this base with its own padding, layout,
  and hover overrides — only the surface properties live here.
*/
.cat-card,
.feature-card,
.three-rs-card,
.testimonial-card {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(30,58,95,0.07), inset 0 1px 0 rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.7);
}

/* Shared hover surface lift for glass cards */
.cat-card:hover,
.feature-card:hover {
  background: rgba(255,255,255,0.72);
  box-shadow: 0 8px 40px rgba(30,58,95,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
  border-color: rgba(42,180,201,0.4);
}

/* ── Features Grid ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.feature-card {
  padding: var(--sp-8) 28px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(42,180,201,0.15), rgba(0,212,255,0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  color: var(--teal);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature-icon i { font-size: 28px; }

.feature-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}
.feature-text { font-size: 0.875rem; color: var(--text-muted); }

/* ── Product Category Section ───────────────────────────────── */
.section-categories {
  background: transparent;
}

/* ── Product Category Cards ─────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-10) 28px var(--sp-8);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.cat-card.product-card {
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  text-align: left;
}
.product-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
  width: 100%;
}
.product-card-title::after {
  content: '';
  display: block;
  margin-top: var(--sp-2);
}
.product-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  position: relative;
  width: 100%;
}
.product-card-desc::after {
  content: '';
  display: block;
  margin-top: var(--sp-3);
}
.product-features {
  list-style: none;
  margin-bottom: var(--sp-6);
  width: 100%;
}
.product-features li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-dark);
}
.product-features .hero-check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  margin-right: 0;
}
/* ── Product Detail Section ─────────────────────────────────── */
.product-detail-section {
  background: rgba(255,255,255,0.9);
  padding: var(--sp-12) 0;
  margin-bottom: var(--sp-12);
}
.product-detail-header {
  margin-bottom: var(--sp-8);
}

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.is-open {
  display: flex;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  cursor: default;
  animation: lightboxIn 0.2s ease;
}
.lightbox-close {
  position: fixed;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.product-detail-img img { cursor: zoom-in; }
.detail-info-list {
  list-style: none;
  margin-top: var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.detail-info-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-dark);
}
.detail-info-list svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  stroke: var(--teal);
  margin-top: 2px;
}
.detail-info-list li > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-12);
  align-items: stretch;
}
.product-detail-left {
  display: flex;
  flex-direction: column;
}
.product-detail-enquire {
  margin-top: var(--sp-6);
  display: flex;
  justify-content: center;
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.4;
}
.product-detail-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: var(--sp-6);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  display: block;
}
.product-detail-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}
.product-detail-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  text-align: justify;
  padding-bottom: var(--sp-12);
}
.product-detail-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid #e2e8f0;
}
.product-detail-features {
  list-style: none;
}
.product-detail-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid #f0f4f8;
}
.product-detail-features li:last-child { border-bottom: none; }
.product-detail-features .fa-circle-info {
  color: var(--teal);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.product-detail-features li > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-detail-features strong {
  font-size: 0.875rem;
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}
.product-detail-features .feature-line {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: normal;
}

/* ── Spec Table ─────────────────────────────────────────────── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.spec-table tr {
  border-bottom: 1px solid #e8eef5;
}
.spec-table tr:last-child { border-bottom: none; }
.spec-table th {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
  background: #f4f6f9;
  padding: var(--sp-3) var(--sp-4);
  width: 38%;
  vertical-align: top;
  white-space: nowrap;
}
.spec-table td {
  color: var(--text-muted);
  padding: var(--sp-3) 0;
  vertical-align: top;
  line-height: 1.6;
}
/* 4-column wide spec table (2 pairs per row) */
.spec-table-wide th { width: 16%; padding-right: var(--sp-3); }
.spec-table-wide td { width: 34%; padding-right: var(--sp-6); }
.spec-table-wide td:last-child { padding-right: 0; }

/* Spec Grid — separate label row (shaded) + value row (white) */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.875rem;
}
.spec-cell { display: block; }
.spec-cell:nth-child(odd) { border-right: 1px solid #e2e8f0; }
.spec-cell-label {
  background: #f4f6f9;
  padding: var(--sp-3) var(--sp-5) var(--sp-2);
}
.spec-cell-value {
  background: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
}
.spec-cell-value:nth-last-child(-n+2) { border-bottom: none; }
.spec-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.spec-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.product-features li > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.feature-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.cat-card:hover {
  transform: translateY(-5px);
}

.cat-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(42,180,201,0.15), rgba(0,212,255,0.08));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: var(--sp-5);
  flex-shrink: 0;
}
.cat-svg-icon {
  width: 30px;
  height: 30px;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-svg-icon circle,
.cat-svg-icon path,
.cat-svg-icon rect,
.cat-svg-icon polyline {
  vector-effect: non-scaling-stroke;
  stroke-width: 1.5px;
}

.cat-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.cat-card > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.cat-list {
  list-style: none;
  margin-bottom: var(--sp-5);
  flex: 1;
}
.cat-list li {
  font-size: 0.82rem;
  color: var(--navy);
  padding: var(--sp-1) 0;
}
.cat-list li::before {
  content: none;
}

.cat-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
}
.cat-link i { font-size: 0.7rem; transition: transform 0.2s; }
.cat-card:hover .cat-link i { transform: translateX(3px); }

@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ── Product Card ───────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid #e8eef5;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.12); }

.product-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--light-bg);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
  flex-shrink: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 16px;
}

.product-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #e8eef5 0%, #d1dce8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.product-card-img-placeholder svg { opacity: 0.3; width: 64px; height: 64px; }
.product-card-img-placeholder i { opacity: 0.3; font-size: 64px; }

.product-card-body {
  padding: var(--sp-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  align-items: flex-start;
}
.product-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}
.product-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: var(--sp-4);
  text-align: justify;
}

/* ── Product Grid ───────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

/* ── Application Grid ───────────────────────────────────────── */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.app-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-5);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  transition: transform 0.2s;
  border-left: 4px solid var(--teal);
}
.app-item:hover { transform: translateY(-2px); }
.app-icon { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.app-icon svg { width: 24px; height: 24px; }
.app-icon i { font-size: 24px; }
.app-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.app-item p  { font-size: 0.8rem; color: var(--text-muted); margin-top: var(--sp-1); }

/* ── Three Rs ───────────────────────────────────────────────── */
.three-rs-card {
  padding: var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.three-rs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  width: 100%;
}
.r-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.r-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}
.r-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Three Rs Grid (About page) ─────────────────────────────── */
.three-rs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.r-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow);
  text-align: center;
}
.r-letter {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}
.r-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}
.r-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 768px) {
  .three-rs-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* ── Spec Table ─────────────────────────────────────────────── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Pricing table */
.pricing-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pricing-table th { background: var(--navy); color: var(--white); padding: 14px 20px; text-align: left; font-size: 0.9rem; }
.pricing-table td { padding: 12px 20px; font-size: 0.9rem; border-bottom: 1px solid #e2e8f0; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr.in-stock td { background: rgba(42,180,201,0.06); }
.in-stock-badge { color: var(--teal); font-weight: 700; }

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 860px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #e8eef5;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--sp-5) var(--sp-6);
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  cursor: pointer;
  transition: background 0.2s;
}
.faq-question:hover { background: #f8fafc; }
.faq-question .faq-icon { flex-shrink: 0; transition: transform 0.3s; color: var(--teal); }
.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 var(--sp-6);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-answer.open {
  max-height: 400px;
  padding: 0 var(--sp-6) var(--sp-5);
}

/* ── Testimonials Carousel ──────────────────────────────────── */
.testimonials-carousel {
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  gap: var(--sp-6);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 calc((100% - 2 * var(--sp-6)) / 3);
  display: flex;
  flex-direction: column;
  padding: var(--sp-8) 28px;
}
.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: auto;
  padding-bottom: var(--sp-5);
  flex: 1;
}
.testimonial-footer { margin-top: auto; }
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.testimonial-role { font-size: 0.75rem; color: var(--text-muted); }

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}
.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #d1dce8;
  background: rgba(255,255,255,0.7);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.carousel-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.carousel-dots {
  display: flex;
  gap: var(--sp-2);
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #d1dce8;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.carousel-dot.active {
  background: var(--teal);
  transform: scale(1.3);
}

/* ── Contact Form ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
}

.form-group { margin-bottom: var(--sp-5); }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid #d1dce8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,180,201,0.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }

/* ── Multi-select product picker ──────────────────────────── */
.ms-wrap { position: relative; width: 100%; }
.ms-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  gap: var(--sp-2);
}
.ms-trigger-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ms-trigger-text.ms-placeholder { color: #9ba8b7; }
.ms-chevron {
  flex-shrink: 0;
  color: #9ba8b7;
  transition: transform 0.2s;
}
.ms-trigger[aria-expanded="true"] .ms-chevron { transform: rotate(180deg); }
.ms-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid #d1dce8;
  border-radius: 8px;
  z-index: 200;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  padding: 4px 0;
}
.ms-panel[hidden] { display: none; }
.ms-group + .ms-group { border-top: 1px solid #edf2f7; padding-top: 4px; margin-top: 4px; }
.ms-group-label {
  padding: 6px 12px 2px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
  user-select: none;
}
.ms-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-dark);
  transition: background 0.15s;
}
.ms-option:hover { background: #f0f7fa; }
.ms-option input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--teal);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

/* ── Contact Info ───────────────────────────────────────────── */
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h3 { font-size: 1.3rem; margin-bottom: var(--sp-6); }
.contact-info-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  margin-bottom: var(--sp-5);
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(42,180,201,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-icon i { font-size: 20px; }
.contact-info-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-bottom: var(--sp-1); }
.contact-info-value { font-size: 0.9rem; color: var(--white); font-weight: 500; }

/* ── Map placeholder ────────────────────────────────────────── */
.map-placeholder {
  width: 100%;
  height: 220px;
  background: #e8eef5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--sp-6);
  overflow: hidden;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.map-placeholder iframe { width: 100%; height: 100%; border: none; }

/* ── Category header ────────────────────────────────────────── */
.category-header {
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.category-header.blue  { background: linear-gradient(135deg, var(--navy), #1a5276); color: var(--white); }
.category-header.teal  { background: linear-gradient(135deg, var(--teal), #1a9fb5); color: var(--white); }
.category-header.dark  { background: linear-gradient(135deg, #0d1b2a, var(--navy)); color: var(--white); }
.category-header h2 { font-size: 1.3rem; font-weight: 700; }
.category-header p  { font-size: 0.85rem; opacity: 0.85; margin-top: 2px; }

/* ── Side Drawer ────────────────────────────────────────────── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 37, 64, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 486px;
  height: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255,255,255,0.7);
  box-shadow: -8px 0 40px rgba(30,58,95,0.12);
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.side-drawer.open {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid #e8eef5;
  flex-shrink: 0;
}
.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e0e8f0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.drawer-close:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.drawer-body {
  flex: 1;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}
.drawer-map-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.drawer-map {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.drawer-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.drawer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.drawer-contact-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-dark);
  line-height: 1.6;
}
.drawer-contact-list .hero-check-icon { margin-right: 0; }
.drawer-contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
}
.drawer-contact-list a {
  color: var(--navy);
  font-weight: 500;
}
.drawer-contact-list a:hover { color: var(--teal); }
.drawer-tabs {
  display: flex;
  border-bottom: 1px solid #e8eef5;
  margin-bottom: var(--sp-5);
  gap: 0;
}
.drawer-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.drawer-tab:hover { color: var(--navy); }
.drawer-tab.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.drawer-tab-panel { display: none; }
.drawer-tab-panel.active { display: block; }
.drawer-form { display: flex; flex-direction: column; gap: var(--sp-3); }
.drawer-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.drawer-form .form-group { margin-bottom: 0; }
.drawer-form .form-control { font-size: 0.85rem; padding: 8px 12px; }
.drawer-form label { font-size: 0.78rem; }

/* ── Banner ─────────────────────────────────────────────────── */
.banner-section {
  background: linear-gradient(135deg, var(--teal), var(--accent));
  padding: 56px 0;
  text-align: center;
  color: var(--white);
}
.banner-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: var(--sp-3); }
.banner-section p  { font-size: 1rem; opacity: 0.9; margin-bottom: var(--sp-6); }

/* ── Variants Table ─────────────────────────────────────────── */
.variants-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.variants-table th { background: var(--teal); color: var(--white); padding: 12px 18px; text-align: left; font-size: 0.85rem; }
.variants-table td { padding: 12px 18px; font-size: 0.85rem; border-bottom: 1px solid #e2e8f0; color: var(--text-dark); }
.variants-table tr:last-child td { border-bottom: none; }
.variants-table tr:nth-child(even) td { background: #f8fafc; }

/* ── Test Menu Table ────────────────────────────────────────── */
.test-menu-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 8px; }
.test-menu-table th { background: linear-gradient(135deg, var(--navy), #1a5276); color: var(--white); padding: 12px 20px; text-align: left; font-size: 0.88rem; }
.test-menu-table td { padding: 12px 20px; font-size: 0.88rem; border-bottom: 1px solid #e2e8f0; }
.test-menu-table td:first-child { font-weight: 600; color: var(--navy); width: 30%; }
.test-menu-table tr:last-child td { border-bottom: none; }
.test-menu-table tr:nth-child(even) td { background: #f8fafc; }

/* ── Accessories Grid ───────────────────────────────────────── */
.accessories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.accessory-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--teal);
}
.accessory-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: var(--sp-2); }
.accessory-card p  { font-size: 0.82rem; color: var(--text-muted); }

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a5276 100%);
  color: var(--white);
  padding: 72px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(0,212,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .hero-eyebrow { margin-bottom: 0.75rem; }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: var(--sp-3);
}
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }

/* ── Key Stats Big Numbers ──────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: var(--sp-10) 0;
}
.stat-box {
  flex: 1;
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  border-right: 1px solid #e2e8f0;
}
.stat-box:last-child { border-right: none; }
.stat-big {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat-desc { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

/* ── Service List ───────────────────────────────────────────── */
.service-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); }
.service-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}
.service-list li::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Suture Types Grid ──────────────────────────────────────── */
.suture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.suture-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px var(--sp-6);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
  text-align: center;
}
.suture-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: var(--sp-3); }
.suture-card p  { font-size: 0.85rem; color: var(--text-muted); }

/* ── Model Cards ────────────────────────────────────────────── */
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.model-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid #e8eef5;
}
.model-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: var(--sp-3); }
.model-card ul { list-style: none; }
.model-card ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.model-card ul li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #1a5276 100%);
  text-align: center;
  color: var(--white);
}
.cta-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: var(--sp-3); }
.cta-section p  { font-size: 1rem; opacity: 0.85; margin-bottom: 28px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── ISO Badge ──────────────────────────────────────────────── */
.iso-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  background: rgba(42,180,201,0.12);
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-6);
  margin-top: var(--sp-6);
}
.iso-badge .iso-icon { color: var(--teal); }
.iso-badge p { font-size: 0.88rem; color: var(--navy); font-weight: 600; }
.iso-badge span { font-size: 0.78rem; color: var(--text-muted); display: block; font-weight: 400; }

/* ── Note Box ───────────────────────────────────────────────── */
.note-box {
  background: rgba(42,180,201,0.08);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.875rem;
  color: var(--text-dark);
  margin-top: var(--sp-5);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: var(--sp-16) 0 var(--sp-8);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

.footer-brand .logo img { height: 38px; margin-bottom: var(--sp-4); }
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-brand-logo {
  margin-top: auto;
  padding-top: 12px;
  margin-bottom: 12px;
}
.footer-brand-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.footer-brand .tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--sp-2);
}
.footer-brand .iso-tag {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-4);
}
.footer-brand .footer-iso-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-2);
}
.footer-brand .footer-iso-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--sp-4);
}
.footer-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 999px;
  padding: 3px 10px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.footer-col a,
.footer-col p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-2);
  transition: color 0.2s;
}
.footer-col a::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}
.footer-col a:hover { color: var(--accent); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-bottom: var(--sp-6);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
}
.footer-bottom span:first-child {
  white-space: nowrap;
}
.footer-legal-link {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-link:hover { color: var(--teal); }

/* ── Accordion ──────────────────────────────────────────────── */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  transition: background 0.15s;
}
.accordion-trigger:hover { background: var(--light-bg); }
.accordion-trigger[aria-expanded="true"] { background: var(--light-bg); }
.accordion-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--teal);
  transition: transform 0.25s ease;
}
.accordion-trigger[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}
.accordion-body {
  padding: var(--sp-1) var(--sp-5) var(--sp-5);
  border-top: 1px solid var(--border);
}
.accordion-body[hidden] { display: none; }

/* ── Privacy Policy ─────────────────────────────────────────── */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-body);
  line-height: 1.8;
}
.privacy-content h2 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--navy);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 2px solid var(--border);
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-2);
}
.privacy-content p {
  margin-bottom: var(--sp-3);
  font-size: var(--text-sm);
}
.privacy-content ul {
  margin: 0 0 var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
}
.privacy-content ul li {
  margin-bottom: var(--sp-1);
}
.privacy-content a {
  color: var(--teal);
  text-decoration: underline;
}
.privacy-content a:hover { color: var(--teal-dark); }
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
  margin-bottom: var(--sp-4);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.privacy-table thead tr {
  background: var(--navy);
}
.privacy-table th {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.privacy-table th:last-child { border-right: none; }
.privacy-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-body);
  line-height: 1.6;
}
.privacy-table td:last-child { border-right: none; }
.privacy-table tbody tr:last-child td { border-bottom: none; }
.privacy-table tbody tr:nth-child(even) td { background: #f8fafc; }
.privacy-table tbody tr:hover td { background: #eef6fa; transition: background 0.15s; }

/* ── Brand Guidelines ───────────────────────────────────────── */
.brand-guidelines { max-width: 900px; margin: 0 auto; }

.bg-section {
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--border);
}
.bg-section:last-child { border-bottom: none; margin-bottom: 0; }

.bg-heading {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-6);
}
.bg-subheading {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: var(--sp-4);
}
.bg-intro {
  font-size: var(--text-sm);
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: var(--sp-6);
  max-width: 680px;
}

/* Logo showcase */
.bg-logo-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.bg-logo-variant {
  border-radius: var(--radius);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
}
.bg-logo-on-white { background: #ffffff; border: 1px solid var(--border); }
.bg-logo-on-navy  { background: var(--navy); }
.bg-logo-icon-only { background: var(--light-bg); border: 1px solid var(--border); }
.bg-logo-label { font-size: var(--text-xs); color: var(--text-muted); margin: 0; }

/* Do / Don't rules */
.bg-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}
.bg-rule {
  border-radius: var(--radius);
  padding: var(--sp-5);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.bg-rule-do   { background: #f0fdf4; border: 1px solid #bbf7d0; }
.bg-rule-dont { background: #fff1f2; border: 1px solid #fecdd3; }
.bg-rule ul { margin: var(--sp-2) 0 0 var(--sp-4); padding: 0; }
.bg-rule ul li { margin-bottom: var(--sp-1); color: var(--text-body); }
.bg-rule-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: var(--sp-2);
}
.bg-rule-do-badge   { background: #16a34a; color: #fff; }
.bg-rule-dont-badge { background: #e11d48; color: #fff; }

/* Colour swatches */
.bg-colour-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-2);
}
.bg-swatch { display: flex; flex-direction: column; gap: 0; }
.bg-swatch-block {
  height: 80px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.bg-swatch-info {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bg-swatch-info strong { font-size: var(--text-sm); color: var(--navy); font-weight: 600; }
.bg-swatch-info span   { font-size: var(--text-xs); color: var(--text-muted); font-family: monospace; }
.bg-swatch-usage { font-family: inherit !important; color: var(--text-muted); font-size: 0.7rem !important; margin-top: 2px; }

/* Typography samples */
.bg-type-samples { display: flex; flex-direction: column; gap: 0; }
.bg-type-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: var(--sp-6);
  align-items: center;
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--border);
}
.bg-type-row:last-child { border-bottom: none; }
.bg-type-meta { display: flex; flex-direction: column; gap: 4px; }
.bg-type-meta span:first-child { font-size: var(--text-sm); font-weight: 600; color: var(--navy); }
.bg-type-meta span:last-child  { font-size: var(--text-xs); color: var(--text-muted); }

/* UI elements */
.bg-ui-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-4);
}
.bg-ui-item { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
.bg-ui-label { font-size: var(--text-xs); color: var(--text-body); margin: 0; font-weight: 600; line-height: 1.6; }
.bg-ui-label span { font-weight: 400; color: var(--text-muted); }

/* Tone cards */
.bg-tone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}
.bg-tone-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5);
}

.bg-tone-card h3 { font-size: var(--text-base); font-weight: 700; color: var(--navy); margin-bottom: var(--sp-2); }
.bg-tone-card p  { font-size: var(--text-sm); color: var(--text-body); line-height: 1.7; margin-bottom: var(--sp-3); }
.bg-tone-example { font-size: var(--text-xs); line-height: 1.6; margin-bottom: var(--sp-1); color: var(--text-body); }
.bg-tone-do   { font-weight: 700; color: #16a34a; }
.bg-tone-dont { font-weight: 700; color: #e11d48; }

@media (max-width: 640px) {
  .bg-rules { grid-template-columns: 1fr; }
  .bg-type-row { grid-template-columns: 1fr; }
  .bg-type-meta { margin-bottom: var(--sp-2); }
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-teal   { color: var(--teal); }
.text-accent { color: var(--accent); }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-8  { margin-bottom: 2rem; }
.pt-0  { padding-top: 0; }
.inline-flex { display: inline-flex; align-items: center; gap: var(--sp-2); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-ctas { justify-content: center; }
  .hero-image-wrap { display: none; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid  { grid-template-columns: repeat(2, 1fr); }
  .app-grid       { grid-template-columns: repeat(2, 1fr); }

  .testimonial-card { flex: 0 0 calc((100% - var(--sp-6)) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .accessories-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { flex-wrap: wrap; }
  .stat-box { flex: 0 0 50%; border-right: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-inner { position: relative; }
  .hamburger { display: flex; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); margin: 0; }
  .header-inner .logo { flex-shrink: 0; }
  .header-inner nav { flex: 0 0 0; min-width: 0; overflow: visible; }
  .nav-admin-btn { display: none; }

  nav > ul:not(.mobile-nav) { display: none; }

  nav > .mobile-nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - var(--header-h));
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: var(--sp-5);
    gap: var(--sp-1);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s;
    z-index: 1000;
  }
  nav > .mobile-nav.open { transform: translateX(0); }

  nav > .mobile-nav > li > a,
  nav > .mobile-nav > li > button { font-size: 1rem; padding: 14px var(--sp-4); color: rgba(255,255,255,0.85); }

  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    box-shadow: none;
    flex-direction: column;
    padding: var(--sp-3);
    margin-top: var(--sp-1);
    gap: 0;
  }
  .dropdown-col h4 { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.15); }
  .dropdown-col a  { color: rgba(255,255,255,0.8); padding: 6px 0; }
  .dropdown-col a:hover { color: var(--accent); }

  .features-grid  { grid-template-columns: 1fr; }
  .products-grid  { grid-template-columns: 1fr; }
  .app-grid       { grid-template-columns: 1fr; }

  .testimonial-card { flex: 0 0 100%; }
  .accessories-grid  { grid-template-columns: 1fr; }
  .model-grid     { grid-template-columns: 1fr; }
  .suture-grid    { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-grid .footer-col { display: none; }

  .side-drawer { width: 100%; border-left: none; overflow-x: hidden; }
  .drawer-form-row { grid-template-columns: 1fr; }

  .stats-row { flex-direction: column; }
  .stat-box { border-right: none; border-bottom: 1px solid #e2e8f0; flex: 0 0 auto; }

  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .btn-primary, .btn-secondary, .btn-outline-white { width: 100%; text-align: center; }
  .hero-ctas { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; gap: var(--sp-2); }
  .footer-bottom span:first-child { white-space: normal; }
  .footer-bottom span:last-child { text-align: center; }
}
