/* Hallmark · v2.0.0 · shape: brochure catalogue · genre: modern-minimal · redesign: polish
   brand: LABULLMED, palette locked by the owner (blue, green, red, ground, pure white; Poppins display, Inter body)
   surface: absolute: the owner palette names #FFFFFF as brand truth; pairs pass 40, on-accent inks come from tokens
   nav: owner-approved chrome kept: wordmark left, inline links, one CTA right, hairline under
   footer: brand mast, contact block, bottom bar
   tokens: this :root is the single palette source for all three sheets
   Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V3, weakest V: polish keeps the owner-approved layout and system by design
   note: hero and banner leads are the owner's own brief sentences (58 note); footer legal line owner-mandated */

/* Hallmark · waive 1 · owner brief pins Poppins and Inter by name · the display face is a stated brand commitment */

/* Hallmark · dismissed 19 · All Rights Reserved line is owner-mandated in the brief (outline section 8), kept deliberately */

/* Hallmark · dismissed 3 · checked the catalogue: equal tiles are the owner's product-grid convention; the brief asks for four like cards */

/* ============================================================
   LABULLMED — styles.css
   Design tokens, base styles, typography, utilities, buttons
   ============================================================ */

:root {
  /* Brand palette */
  --blue: #164B85;
  --blue-700: #0F3A69;
  --blue-900: #0D2B4E;
  --navy: #0F2946;
  --green: #399C43;
  --green-700: #2E7D36;
  --red: #C63D3D;
  --red-700: #A93232;

  /* Neutrals */
  --ink: #202A35;
  --muted: #55677A;
  --bg: #F5F8FC;
  --tint-blue: #EAF1F9;
  --tint-green: #EAF6EB;
  --tint-red: #FBEAEA;
  --border: #E4EBF3;
  --border-strong: #CFDCE9;
  --white: #FFFFFF;

  /* Shape & elevation */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 43, 78, .05), 0 3px 10px rgba(13, 43, 78, .06);
  --shadow-md: 0 8px 22px rgba(13, 43, 78, .10);
  --shadow-lg: 0 18px 44px rgba(13, 43, 78, .16);

  /* Type */
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --header-h: 78px;

  /* washes & veils (hero, banners, media panels) */
  --wash-hero-a: #EFF5FB;
  --wash-hero-b: #F8FBFE;
  --wash-hero-c: #E7F0F9;
  --veil-hero-a: rgba(245, 248, 252, .92);
  --veil-hero-b: rgba(245, 248, 252, .55);
  --veil-hero-zero: rgba(245, 248, 252, 0);
  --wash-banner-a: #EAF1F9;
  --wash-banner-b: #F7FAFD;
  --wash-banner-c: #EDF3FA;
  --veil-banner-a: rgba(247, 250, 253, .95);
  --veil-banner-b: rgba(247, 250, 253, .72);
  --veil-banner-c: rgba(247, 250, 253, .18);
  --wash-panel-a: #FDFEFF;
  --wash-panel-b: #F3F7FB;
  --wash-art-b: #EDF3FA;

  /* soft furniture */
  --ice: #FBFDFF;
  --chip-neutral-bg: #F1F4F8;
  --ink-soft: #33455C;
  --ink-slate: #33465C;
  --glass: rgba(255, 255, 255, .85);
  --field-ring: rgba(22, 75, 133, .12);
  --note-border: rgba(22, 75, 133, .14);
  --note-border-red: rgba(198, 61, 61, .18);
  --feedback-border: rgba(57, 156, 67, .25);
  --cta-veil-green: rgba(57, 156, 67, .18);
  --cta-veil-white: rgba(255, 255, 255, .08);
  --on-accent-soft: rgba(255, 255, 255, .82);
  --ring-outline: rgba(255, 255, 255, .55);
  --ring-fill: rgba(255, 255, 255, .12);
  --selection: rgba(22, 75, 133, .16);
  --focus-ring: rgba(22, 75, 133, .4);

  /* footer ink family (on navy) */
  --footer-ink: #C7D6E8;
  --footer-ink-soft: rgba(199, 214, 232, .85);
  --footer-ink-faint: rgba(199, 214, 232, .68);
  --footer-tag: rgba(255, 255, 255, .62);
  --footer-chip-bg: rgba(255, 255, 255, .1);
  --footer-chip-ink: rgba(255, 255, 255, .92);
  --footer-edge: rgba(255, 255, 255, .12);
  --footer-bar-bg: rgba(0, 0, 0, .14);

  /* one column gap for every multi-column section */
  --col-gap: clamp(2rem, 4.5vw, 3.5rem);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

html, body { overflow-x: clip; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}

main { flex: 1 0 auto; }

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

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
  min-width: 0;
  overflow-wrap: break-word;
}

p { margin: 0 0 1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }

/* Inline links inside prose must not rely on colour alone. */
.inline-link {
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: 1.5px;
}
.inline-link:hover { text-decoration-thickness: 2px; }

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

button { font: inherit; cursor: pointer; }

::selection { background: var(--selection); }

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

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -60px; left: 12px;
  z-index: 200;
  padding: .6rem 1rem;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(66px); color: var(--white); }

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section { padding-block: clamp(3.25rem, 7vw, 5.25rem); }
.section--tint { background: var(--bg); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 3.5rem); }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: var(--col-gap);
  align-items: center;
}

.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; margin-inline: auto; }

/* ---------- Section headings ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.section-head--split > div { max-width: 640px; }

.section-head h2, .page-banner h1 {
  font-size: clamp(1.65rem, 3.4vw, 2.25rem);
}
.section-head p { color: var(--muted); margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border: 0;
  border-radius: 12px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  background: var(--blue);
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease,
              transform .2s ease, box-shadow .2s ease;
}
.btn svg { flex: 0 0 auto; }
.btn:hover { color: var(--white); background: var(--blue-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: none; background: var(--blue-900); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--outline {
  background: transparent;
  color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--border-strong);
}
.btn--outline:hover {
  background: var(--tint-blue);
  color: var(--blue-700);
  box-shadow: inset 0 0 0 2px var(--blue);
}

.btn--light { background: var(--white); color: var(--blue-700); }
.btn--light:hover { background: var(--tint-blue); color: var(--blue-900); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--ring-outline);
}
.btn--outline-light:hover {
  background: var(--ring-fill);
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
}

.btn--sm { padding: .6rem 1.15rem; font-size: .88rem; border-radius: var(--radius-sm); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }

.link-arrow {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .93rem;
  color: var(--blue);
}
.link-arrow svg { transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Chips / badges ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}
.chip--blue { background: var(--tint-blue); color: var(--blue-700); }
.chip--neutral { background: var(--chip-neutral-bg); color: var(--muted); }
.chip--wrap { white-space: normal; }

/* ---------- Note / disclaimer boxes ---------- */
.note-box {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  background: var(--tint-blue);
  border: 1px solid var(--note-border);
  border-radius: 14px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.note-box svg { flex: 0 0 auto; margin-top: .1rem; color: var(--blue); }
.note-box--red { background: var(--tint-red); border-color: var(--note-border-red); }
.note-box--red svg { color: var(--red); }
.note-box p { margin: 0; }
.note-box strong { color: inherit; }
.note-box--tail { margin-top: 2rem; }

.ph {
  background: var(--tint-blue);
  color: var(--blue-700);
  font-weight: 600;
  padding: .06em .4em;
  border-radius: 6px;
  white-space: nowrap;
}

/* ---------- Responsive grids ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .grid--3, .grid--4, .grid--featured { grid-template-columns: minmax(0, 1fr); }
  .grid { gap: .85rem; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 2rem; }
  .section--tight { padding-block: 1.5rem; }
  .section-head { margin-bottom: 1.25rem; }
  .note-box--tail { margin-top: 1.25rem; }
}
