/* ==========================================================================
   MEDICOM PHARMACY — Relief Healthcare Group
   Corporate website stylesheet
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — sampled from the official Medicom logo */
  --blue-900: #13224a;
  --blue-800: #1b3068;
  --blue-700: #244083;
  --blue-600: #2b4c9b;   /* logo blue */
  --blue-500: #3a63bb;
  --blue-300: #a8bce4;
  --blue-100: #dde5f6;
  --blue-50:  #f3f6fd;

  --red-700: #b8141b;
  --red-600: #ed1c24;    /* logo red */
  --red-500: #f4363d;
  --red-100: #fcdcde;
  --red-50:  #fef5f5;

  /* Neutrals */
  --ink:      #12232f;
  --ink-soft: #4a5c68;
  --ink-mute: #74858f;
  --line:     #e2eaea;
  --line-soft:#eef4f4;
  --white:    #ffffff;
  --paper:    #f7fbfb;

  --amber: #d9a017;
  --danger:#c0483c;

  /* Type */
  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Poppins", "Inter", "Segoe UI", sans-serif;

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 900px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(16,36,62,.06), 0 2px 6px rgba(16,36,62,.05);
  --shadow:    0 4px 10px rgba(16,36,62,.06), 0 12px 28px rgba(16,36,62,.07);
  --shadow-lg: 0 10px 24px rgba(16,36,62,.09), 0 28px 60px rgba(16,36,62,.10);

  --header-h: 84px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--blue-500); }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .45rem; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.35rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.45rem); }
h4 { font-size: 1.06rem; }
p  { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--blue-100); color: var(--blue-900); }

/* ---------- 3. Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 66px) 0; }
.section--paper { background: var(--paper); }
.intro-copy { max-width: 900px; }
.intro-copy p { font-size: 1.06rem; line-height: 1.78; }
.intro-copy p:first-of-type { font-size: 1.16rem; color: var(--ink); }
.intro-copy p:first-of-type strong { color: var(--blue-700); }
.section--mint  { background: var(--blue-50); }
.section--dark  {
  background: linear-gradient(150deg, var(--blue-900) 0%, #1e3670 55%, var(--blue-700) 100%);
  color: rgba(255,255,255,.82);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-sidebar { display: grid; grid-template-columns: 1.55fr .95fr; gap: 46px; align-items: start; }
.center { text-align: center; }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.mt-1{margin-top:.6rem}.mt-2{margin-top:1.2rem}.mt-3{margin-top:2rem}.mt-4{margin-top:3rem}

/* ---------- 4. Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head);
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--red-500));
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow { color: var(--blue-300); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.06rem; }
.lead { font-size: 1.12rem; line-height: 1.75; color: var(--ink-soft); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-size: .93rem; font-weight: 600; letter-spacing: .01em;
  padding: 14px 27px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .22s ease; white-space: nowrap; text-align: center;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff; box-shadow: 0 6px 18px rgba(43,76,155,.30);
}
.btn-primary:hover { color:#fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(43,76,155,.36); }
.btn-accent {
  background: linear-gradient(135deg, var(--red-500), var(--red-700));
  color: #fff; box-shadow: 0 6px 18px rgba(237,28,36,.28);
}
.btn-accent:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(237,28,36,.34); }
.btn-outline { border-color: var(--blue-600); color: var(--blue-700); background: transparent; }
.btn-outline:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue-800); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--blue-900); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--blue-800); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--blue-700);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 4px 20px rgba(16,36,62,.08); }
.topbar {
  background: var(--blue-900); color: rgba(255,255,255,.72); font-size: .8rem;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: #fff; }
.topbar-list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar-list li { margin: 0; display: flex; align-items: center; gap: 7px; }
.topbar-list svg { width: 14px; height: 14px; opacity: .75; }
.topbar-tag {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--blue-300); font-weight: 500;
}

.nav-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark-img { height: 44px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.02; }
.brand-word {
  font-family: var(--font-sans);
  font-weight: 800; font-size: 1.52rem; letter-spacing: -.005em;
  color: #231f20;
}
.brand-tag {
  font-family: var(--font-sans); font-weight: 700;
  font-size: .59rem; letter-spacing: .285em; text-transform: uppercase;
  color: var(--red-600); margin-top: 3px;
}
.site-footer .brand-mark-img { height: 42px; }
.site-footer .brand-word { color: #fff; }
.site-footer .brand-tag { color: rgba(255,255,255,.6); }

.nav-links { display: flex; align-items: center; gap: 3px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { margin: 0; position: relative; }
.nav-links > li > a {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-family: var(--font-head); font-size: .9rem; font-weight: 500; color: var(--ink);
}
.nav-links > li > a:hover { background: var(--blue-50); color: var(--blue-700); }
.nav-links > li.current > a { color: var(--blue-700); background: var(--blue-50); font-weight: 600; }

.has-drop > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
  border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .55;
}
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 236px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { margin: 0; }
.dropdown a {
  display: block; padding: 9px 13px; border-radius: 8px;
  font-size: .89rem; color: var(--ink); font-weight: 500;
}
.dropdown a:hover { background: var(--blue-50); color: var(--blue-700); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 11px; background: #fff; cursor: pointer; padding: 0;
  place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--ink); transition: all .25s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(237,28,36,.20), transparent 62%),
    linear-gradient(155deg, #13224a 0%, #1e3670 48%, #2b4c9b 100%);
  color: rgba(255,255,255,.85);
  padding: clamp(64px, 9vw, 118px) 0 clamp(72px, 10vw, 130px);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.13) 1px, transparent 0);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .55em; }
.hero h1 em { font-style: normal; color: var(--blue-300); }
.hero-lead { font-size: 1.12rem; max-width: 560px; color: rgba(255,255,255,.8); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 8px 17px 8px 10px; border-radius: 100px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.9);
}
.hero-badge b { color: #fff; font-weight: 600; }
.hero-badge .dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.28);
  position: relative;
}
.hero-badge .dot::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid rgba(34,197,94,.7);
  animation: dot-pulse 2.2s ease-out infinite;
}
@keyframes dot-pulse {
  0%   { transform: scale(.7); opacity: .9; }
  70%  { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero-badge .dot::after { animation: none; opacity: 0; } }
.hero-points { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.hero-points li { display: flex; align-items: flex-start; gap: 11px; margin: 0; font-size: .96rem; color: rgba(255,255,255,.85); }
.hero-points svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--blue-300); }

.hero-panel {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(6px);
}
.hero-panel h3 { font-size: 1.1rem; margin-bottom: 4px; }
.hero-panel .muted { font-size: .86rem; color: rgba(255,255,255,.62); margin-bottom: 22px; }
.hero-stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.hero-stat {
  background: rgba(19,34,74,.55); padding: 20px 18px; text-align: center;
}
.hero-stat .num {
  font-family: var(--font-head); font-size: 1.85rem; font-weight: 700; color: #fff; line-height: 1.1;
}
.hero-stat .lbl { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-top: 5px; }

.hero-wave { display: block; width: 100%; height: auto; margin-top: -1px; }

/* ---------- 8. Page banner (inner pages) ---------- */
.page-banner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(237,28,36,.18), transparent 60%),
    linear-gradient(140deg, #13224a, #1e3670 68%, #2b4c9b);
  color: rgba(255,255,255,.8);
  padding: clamp(52px, 7vw, 86px) 0 clamp(56px, 7vw, 90px);
}
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 0);
  background-size: 26px 26px; opacity: .45;
}
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: .35em; }
.page-banner p { max-width: 640px; font-size: 1.06rem; color: rgba(255,255,255,.78); }
.crumbs { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; list-style: none; padding: 0; margin: 0 0 18px; font-size: .82rem; }
.crumbs li { margin: 0; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 9px; }
.crumbs li + li::before { content: "/"; opacity: .45; }
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: #fff; }

/* ---------- 9. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 27px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card h3 { font-size: 1.16rem; margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card--flat:hover { transform: none; box-shadow: none; }
.card--mint { background: var(--blue-50); border-color: var(--blue-100); }

.icon-badge {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue-50), var(--blue-100));
  color: var(--blue-700); margin-bottom: 20px; flex: none;
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--solid {
  background: linear-gradient(140deg, var(--blue-600), var(--blue-800)); color: #fff;
  box-shadow: 0 6px 16px rgba(43,76,155,.26);
}
.icon-badge--red { background: linear-gradient(140deg, var(--red-100), #fbc9cb); color: var(--red-600); }
.icon-badge--sm { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 14px; }
.icon-badge--sm svg { width: 20px; height: 20px; }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat .num {
  font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 700;
  background: linear-gradient(135deg, var(--blue-600), var(--red-600));
  -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1;
}
.stat .lbl { font-size: .84rem; color: var(--ink-mute); margin-top: 7px; letter-spacing: .02em; }

/* feature list with checks */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.check-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--blue-600); }
.section--dark .check-list svg { color: var(--blue-300); }

/* media row (text + graphic) */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-row--flip .media-figure { order: -1; }
.media-figure {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--blue-50);
  border: 1px solid var(--blue-100); padding: 28px;
}

/* value / pillar tile */
.pillar {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--line);
}
.pillar h4 { margin-bottom: .35em; }
.pillar p { font-size: .95rem; margin: 0; }

/* numbered steps */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  counter-increment: step; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-50); border: 1.5px solid var(--blue-100); color: var(--blue-700);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h4 { margin-bottom: .25em; }
.step p { font-size: .95rem; margin: 0; }

/* chips */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 17px; border-radius: 100px; font-size: .87rem; font-weight: 500;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
}
.chip svg { width: 15px; height: 15px; color: var(--blue-600); }
.chip--mint { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-800); }

/* timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--blue-300), var(--blue-100));
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -32px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--blue-500);
}
.tl-year {
  font-family: var(--font-head); font-weight: 700; color: var(--blue-700); font-size: .88rem;
  letter-spacing: .04em; margin-bottom: 3px;
}
.tl-item h4 { margin-bottom: .3em; }
.tl-item p { font-size: .95rem; margin: 0; }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .93rem; }
table.data th, table.data td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.data th {
  background: var(--blue-50); font-family: var(--font-head); font-weight: 600;
  color: var(--blue-900); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase;
}
table.data tr:last-child td { border-bottom: 0; }

/* accordion */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.acc-item + .acc-item { border-top: 1px solid var(--line-soft); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--ink);
}
.acc-head:hover { color: var(--blue-700); }
.acc-icon { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; transition: transform .25s ease; }
.acc-icon svg { width: 14px; height: 14px; }
.acc-item.open .acc-icon { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.acc-body { display: none; padding: 0 24px 22px; font-size: .96rem; }
.acc-item.open .acc-body { display: block; }

/* quote */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue-600);
  border-radius: var(--radius); padding: 34px 34px 30px; box-shadow: var(--shadow-sm);
}
.quote-card .mark { font-family: var(--font-head); font-size: 3rem; line-height: .8; color: var(--blue-300); }
.quote-card blockquote { margin: 12px 0 20px; font-size: 1.1rem; line-height: 1.7; color: var(--ink); font-style: italic; }
.person { display: flex; align-items: center; gap: 15px; }
.person-avatar {
  width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--blue-600), var(--blue-800)); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
}
.person-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.3; }
.person-role { font-size: .85rem; color: var(--ink-mute); }

/* ---------- 10. Careers ---------- */
.job-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  padding: 9px 19px; border-radius: 100px; border: 1px solid var(--line); background: #fff;
  font-family: var(--font-head); font-size: .86rem; font-weight: 500; color: var(--ink-soft); cursor: pointer;
  transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--blue-300); color: var(--blue-700); }
.filter-btn.active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

.job-list { display: grid; gap: 16px; }
.job {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
.job:hover { box-shadow: var(--shadow); border-color: var(--blue-100); transform: translateY(-2px); }
.job h3 { font-size: 1.1rem; margin-bottom: 8px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; color: var(--ink-mute); margin-bottom: 10px; }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { width: 14px; height: 14px; opacity: .7; }
.job p { font-size: .93rem; margin: 0; }
.tag {
  display: inline-block; padding: 4px 11px; border-radius: 6px; font-size: .72rem;
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  background: var(--blue-50); color: var(--blue-700); margin-bottom: 10px;
}
.tag--red { background: var(--red-100); color: var(--red-600); }
.tag--amber { background: #fdf3dd; color: #9a7207; }

/* ---------- 11. Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head); font-size: .84rem; font-weight: 600; color: var(--ink);
}
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: .95rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(43,76,155,.16);
}
.field .hint { font-size: .79rem; color: var(--ink-mute); }
.form-note { font-size: .82rem; color: var(--ink-mute); margin-top: 4px; }
.form-msg {
  display: none; padding: 15px 18px; border-radius: var(--radius-sm); font-size: .92rem;
  background: #e9f6ed; color: #1d6b3a; border: 1px solid #c2e4ce; margin-top: 18px;
}
.form-msg.show { display: block; }
.form-err {
  display: none; padding: 15px 18px; border-radius: var(--radius-sm); font-size: .92rem;
  background: var(--red-50); color: var(--red-700); border: 1px solid var(--red-100); margin-top: 18px;
}
.form-err.show { display: block; }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 12. Contact ---------- */
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; gap: 17px; align-items: flex-start; height: 100%;
}
.contact-card h4 { margin-bottom: .3em; font-size: 1.02rem; }
.contact-card p, .contact-card a { font-size: .94rem; margin: 0; }
.contact-card .muted { color: var(--ink-mute); font-size: .85rem; }
.contact-strip { grid-template-columns: 1.25fr 1fr 1.35fr 1fr; }
.contact-strip .contact-card { flex-direction: column; gap: 15px; }
.contact-strip .contact-card > div { width: 100%; }
@media (max-width: 1024px) { .contact-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px)  { .contact-strip { grid-template-columns: 1fr; } }
.contact-card a, .footer-contact a, .footer-contact span, table.data td a,
.card a[href^="mailto:"], p a[href^="mailto:"] { overflow-wrap: anywhere; }
.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--blue-50); box-shadow: var(--shadow-sm);
}
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- 13. CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600) 60%, var(--red-600));
  border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 56px);
  color: rgba(255,255,255,.88); display: grid; grid-template-columns: 1fr auto;
  gap: 30px; align-items: center; box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { margin: 0; max-width: 620px; }

/* ---------- 14. Footer ---------- */
.site-footer { background: #101c3d; color: rgba(255,255,255,.62); font-size: .92rem; padding-top: 68px; }
.site-footer h4 {
  color: #fff; font-size: .86rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.25fr; gap: 44px; padding-bottom: 52px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 11px; }
.site-footer a { color: rgba(255,255,255,.62); }
.site-footer a:hover { color: var(--blue-300); }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,.45); }
.footer-brand p { margin-top: 18px; max-width: 330px; font-size: .9rem; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--blue-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 15. Utility / motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-700); color: #fff; border: 0; display: grid; place-items: center;
  cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transition: all .25s ease; z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--blue-800); transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--blue-700); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .grid-sidebar { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  /* backdrop-filter would create a containing block and trap the fixed menu panel */
  .site-header { backdrop-filter: none; background: #fff; }
  .nav-toggle { display: grid; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 124px 20px 34px; box-shadow: -8px 0 34px rgba(16,36,62,.14);
    transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; z-index: 120;
  }
  .nav-open .nav-links { transform: translateX(0); }
  .nav-links > li > a { padding: 13px 14px; font-size: .97rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--blue-100); border-radius: 0; margin: 2px 0 6px 14px;
    padding: 0 0 0 6px; display: none;
  }
  .has-drop.open .dropdown { display: block; }
  .has-drop > a::after { float: right; margin-top: 8px; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(13,31,51,.45); opacity: 0; visibility: hidden;
    transition: opacity .3s ease; z-index: 99; /* below .site-header (100) so the panel inside it stays clear */
  }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .media-row { grid-template-columns: 1fr; gap: 34px; }
  .media-row--flip .media-figure { order: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .topbar-list li:not(:last-child) { display: none; }
}
@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; }
  .hero-stat-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .nav-cta .btn { width: auto; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .card { padding: 24px 21px; }
}

/* ---------- 17. Print ---------- */
@media print {
  .site-header, .site-footer, .to-top, .cta-band { display: none !important; }
  body { color: #000; }
  .hero, .page-banner { background: none !important; color: #000; }
  .hero h1, .page-banner h1 { color: #000; }
}
