/* ==========================================================================
   TTPharma — main stylesheet
   Structure: 1 Tokens · 2 Base · 3 Layout · 4 Header/Nav · 5 Hero · 6 Sections
              7 Components · 8 Page-specific · 9 Footer · 10 Utilities · 11 Responsive
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  /* Brand */
  --pine-900: #062E33;
  --pine-800: #073F45;
  --pine-700: #0A5C63;
  --pine-600: #0E7480;
  --pine-500: #138C93;
  --mint-100: #E6F2EF;
  --mint-50:  #F2F8F6;
  --saffron-500: #E8A43A;
  --saffron-600: #C9861C;
  --saffron-100: #FCF1DE;
  --cobalt-600: #2463A8;
  --cobalt-100: #E4EEF8;

  /* Neutrals */
  --ink-900: #10283A;
  --ink-700: #34495A;
  --ink-500: #5F7181;
  --line:    #D9E3E6;
  --cloud:   #F6F9FA;
  --white:   #FFFFFF;

  /* Category colours (products) */
  --cat-pain: #C97A12;
  --cat-infect: #2463A8;
  --cat-digest: #0E8A7E;
  --cat-chronic: #6A4C9C;
  --cat-mother: #C2456B;
  --cat-hospital: #3D5A73;
  --cat-diagnostic: #2E7D4F;
  --cat-therapy: #5363C6;

  /* Feedback */
  --success: #1E8A55;
  --danger:  #C23B3B;

  /* Type */
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-xl: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-2xl: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);

  /* Space & shape */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem;  --space-6: 2rem;   --space-7: 3rem;    --space-8: 4.5rem;
  --section-pad: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --container: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 2px rgba(16, 40, 58, .06), 0 8px 24px -12px rgba(16, 40, 58, .18);
  --shadow-lift: 0 2px 4px rgba(16, 40, 58, .06), 0 18px 40px -18px rgba(7, 63, 69, .35);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.2; margin: 0 0 var(--space-4); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-md); }
p  { margin: 0 0 var(--space-4); }
a  { color: var(--pine-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine-600); }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--saffron-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mint-100); color: var(--pine-900); }

.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 200;
  background: var(--pine-800); color: var(--white); padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: var(--space-3); color: var(--white); }

/* 3. Layout -------------------------------------------------------------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section--tint { background: var(--cloud); }
.section--mint { background: var(--mint-50); }
.section-head { max-width: 680px; margin-bottom: var(--space-7); }
.section-head p { font-size: var(--fs-md); color: var(--ink-500); margin: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--top { align-items: start; }
.prose { max-width: 68ch; }
.prose p { font-size: var(--fs-base); }
.lead { font-size: var(--fs-md); color: var(--ink-700); line-height: 1.6; }

/* 4. Header & navigation ------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   trap the fixed-position mobile menu inside the header's box. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
}
body.nav-open .site-header::before { background: var(--white); }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 40, 58, .4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--ink-900); flex-shrink: 0; }
.brand__mark { width: 42px; height: 42px; }
.brand__name { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.brand__name span { color: var(--pine-600); font-weight: 500; }
.brand__tag { display: block; font-size: 0.72rem; font-weight: 500; color: var(--ink-500); letter-spacing: 0.01em; margin-top: 4px; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: block; padding: 0.55rem 0.6rem; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-700); text-decoration: none; white-space: nowrap;
  position: relative;
}
.nav__link:hover { color: var(--pine-700); background: var(--mint-50); }
.nav__link[aria-current="page"] { color: var(--pine-700); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.6rem; right: 0.6rem; bottom: 0.2rem; height: 2px;
  background: var(--saffron-500); border-radius: 2px;
}
.nav__link--cta { background: var(--pine-700); color: var(--white); margin-left: var(--space-2); padding-inline: 1rem; }
.nav__link--cta:hover { background: var(--pine-800); color: var(--white); }
.nav__link--cta[aria-current="page"] { color: var(--white); }
.nav__link--cta[aria-current="page"]::after { display: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink-900); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* 5. Hero ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 760px); display: flex; align-items: center;
  color: var(--white);
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__media img { object-position: center 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(6, 46, 51, .94) 0%, rgba(7, 63, 69, .86) 38%, rgba(7, 63, 69, .45) 68%, rgba(7, 63, 69, .15) 100%),
    linear-gradient(0deg, rgba(6, 46, 51, .55) 0%, transparent 35%);
}
.hero__content { padding-block: var(--space-8); max-width: 640px; }
.hero h1 { color: var(--white); margin-bottom: var(--space-5); }
.hero__lead { font-size: var(--fs-md); color: rgba(255, 255, 255, .88); max-width: 54ch; margin-bottom: var(--space-6); }
.hero__badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.4rem 0.85rem 0.4rem 0.5rem; margin-bottom: var(--space-5);
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  font-size: var(--fs-sm); color: rgba(255, 255, 255, .92); background: rgba(255, 255, 255, .06);
}
.hero__badge-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--saffron-500); display: grid; place-items: center; }
.hero__badge-dot svg { width: 12px; height: 12px; color: var(--pine-900); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Commitment strip overlapping hero */
.commitments { position: relative; z-index: 2; margin-top: -3.25rem; }
.commitments__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.commitment { display: flex; gap: var(--space-4); padding: var(--space-5) var(--space-6); }
.commitment + .commitment { border-left: 1px solid var(--line); }
.commitment__icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--mint-100); color: var(--pine-700); }
.commitment__icon svg { width: 22px; height: 22px; }
.commitment h3 { font-size: 1.0625rem; margin-bottom: 0.2rem; }
.commitment p { font-size: var(--fs-sm); color: var(--ink-500); margin: 0; line-height: 1.5; }

/* Inner page header */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--pine-800); color: var(--white);
  padding-block: clamp(3rem, 2rem + 4vw, 5.25rem) clamp(2.75rem, 2rem + 3vw, 4.5rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: url("../img/pattern-hex.svg"); background-size: 56px;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
          mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--saffron-500) 0 120px, transparent 120px);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); margin-bottom: var(--space-3); }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: var(--fs-md); max-width: 60ch; margin: 0; }
.breadcrumb { margin-bottom: var(--space-4); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: var(--fs-sm); }
.breadcrumb li { color: rgba(255, 255, 255, .7); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); opacity: .5; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* 6. Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--pine-700); --btn-fg: var(--white); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0.75rem 1.4rem; border-radius: var(--radius-sm);
  font: 600 var(--fs-sm)/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn--primary:hover { --btn-bg: var(--pine-800); }
.btn--accent { --btn-bg: var(--saffron-500); --btn-fg: var(--pine-900); }
.btn--accent:hover { --btn-bg: #F0B451; }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .1); --btn-bd: var(--white); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--pine-700); --btn-bd: var(--pine-700); }
.btn--outline:hover { --btn-bg: var(--pine-700); --btn-fg: var(--white); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.text-link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; text-decoration: none; color: var(--pine-700); }
.text-link:hover { text-decoration: underline; }

/* 7. Components ---------------------------------------------------------- */
/* Icon tile */
.icon-tile { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--mint-100); color: var(--pine-700); flex-shrink: 0; }
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--saffron { background: var(--saffron-100); color: var(--saffron-600); }
.icon-tile--cobalt { background: var(--cobalt-100); color: var(--cobalt-600); }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: grid; gap: var(--space-3); }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230A5C63' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/0.8rem no-repeat;
}
.check-list--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); }

/* Audience chips (who we serve) */
.audience { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.audience li { list-style: none; }
.audience { padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-900);
}
.chip svg { width: 16px; height: 16px; color: var(--pine-600); }

/* Framed image */
.framed { position: relative; }
.framed img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lift); }
.framed__note {
  position: absolute; left: -1.5rem; bottom: -1.5rem; max-width: 280px;
  background: var(--pine-800); color: var(--white); padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lift); font-size: var(--fs-sm); line-height: 1.5;
}
.framed__note strong { display: block; color: var(--saffron-500); font-size: var(--fs-base); margin-bottom: 2px; }

/* Service overview (home) */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.service-item { display: flex; gap: var(--space-5); padding: var(--space-6) var(--space-5) var(--space-6) 0; border-bottom: 1px solid var(--line); }
.service-item:nth-child(odd) { border-right: 1px solid var(--line); }
.service-item:nth-child(even) { padding-left: var(--space-6); }
.service-item h3 { margin-bottom: var(--space-2); }
.service-item p { margin: 0; color: var(--ink-500); }

/* Supply path — a genuine sequence, so it is numbered */
.supply-path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); counter-reset: step; position: relative; }
.supply-path::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 8px, transparent 8px 14px);
}
.supply-step { position: relative; text-align: center; counter-increment: step; }
.supply-step__num {
  width: 56px; height: 56px; margin: 0 auto var(--space-4); border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: var(--pine-800); border: 2px solid var(--saffron-500); color: var(--white);
}
.supply-step__num svg { width: 24px; height: 24px; }
.supply-step__num::after {
  content: counter(step); position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--saffron-500); color: var(--pine-900); font-size: 0.75rem; font-weight: 700; display: grid; place-items: center;
}
.supply-step h3 { color: var(--white); font-size: 1rem; margin-bottom: var(--space-1); }
.supply-step p { color: rgba(255,255,255,.72); font-size: var(--fs-xs); line-height: 1.5; margin: 0; }
.section--dark { background: var(--pine-900); color: rgba(255,255,255,.85); position: relative; isolation: isolate; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: url("../img/pattern-hex.svg"); background-size: 56px;
  -webkit-mask-image: radial-gradient(ellipse at 85% 0%, #000 0%, transparent 60%);
          mask-image: radial-gradient(ellipse at 85% 0%, #000 0%, transparent 60%);
}
.section--dark h2 { color: var(--white); }
.section--dark .section-head p { color: rgba(255,255,255,.75); }

/* Product grid & carton-style cards (the signature element) */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.filter-btn {
  --c: var(--pine-700);
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font: 500 var(--fs-sm)/1.2 var(--font-sans); color: var(--ink-700); cursor: pointer; min-height: 40px;
  transition: border-color .15s, background-color .15s, color .15s;
}
.filter-btn::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.filter-btn[data-filter="all"]::before { display: none; }
.filter-btn:hover { border-color: var(--c); }
.filter-btn[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: var(--white); }
.filter-btn[aria-pressed="true"]::before { background: var(--white); }
.results-count { font-size: var(--fs-sm); color: var(--ink-500); margin: calc(-1 * var(--space-4)) 0 var(--space-5); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--space-5); }
.product-card {
  --c: var(--pine-700);
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.product-card__band {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-2);
  padding: 0.5rem 1rem; background: var(--c); color: var(--white); font-size: var(--fs-xs); font-weight: 600;
}
.product-card__band span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.product-card__band span:first-child { flex-shrink: 0; max-width: 70%; }
.product-card__band span:last-child { font-weight: 500; opacity: .9; }
.product-card__media { aspect-ratio: 4 / 3; background: var(--cloud); border-bottom: 1px solid var(--line); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-size: 1.125rem; margin-bottom: var(--space-1); }
.product-card__strength { font-size: var(--fs-sm); color: var(--c); font-weight: 600; margin-bottom: var(--space-3); }
.product-card__desc { font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.6; margin-bottom: var(--space-4); }
.product-card__meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px dashed var(--line); font-size: var(--fs-xs); color: var(--ink-500); }
.product-card__meta > span:first-child { white-space: nowrap; }
.product-card__meta { flex-wrap: wrap; row-gap: var(--space-2); }
.status {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; padding: 0.2rem 0.6rem; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; background: var(--saffron-100); color: #8A5A0E;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--available { background: #E2F4EA; color: var(--success); }

.notice {
  display: flex; gap: var(--space-4); align-items: flex-start;
  padding: var(--space-5); border-radius: var(--radius-md); background: var(--cobalt-100); color: var(--ink-900);
  border-left: 4px solid var(--cobalt-600); font-size: var(--fs-sm); line-height: 1.6;
}
.notice svg { width: 22px; height: 22px; color: var(--cobalt-600); flex-shrink: 0; margin-top: 2px; }
.notice p { margin: 0; }

/* Mission / Vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.mv-card { padding: clamp(1.75rem, 1rem + 2vw, 2.75rem); border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.mv-card--mission { background: var(--pine-800); color: rgba(255,255,255,.88); }
.mv-card--mission h2 { color: var(--white); }
.mv-card--vision { background: var(--saffron-100); color: var(--ink-900); }
.mv-card h2 { font-size: var(--fs-lg); display: flex; align-items: center; gap: var(--space-3); }
.mv-card h2 svg { width: 28px; height: 28px; }
.mv-card--mission h2 svg { color: var(--saffron-500); }
.mv-card--vision h2 svg { color: var(--saffron-600); }
.mv-card p { font-size: var(--fs-md); line-height: 1.6; margin: 0; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6) var(--space-5); }
.value { display: flex; gap: var(--space-4); }
.value h3 { font-size: 1.125rem; margin-bottom: var(--space-1); }
.value p { margin: 0; font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.6; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--space-5); align-items: start; }
/* While measuring, every bio is shown collapsed so cards can be matched in height */
.team-grid.is-measuring .bio-toggle:checked ~ .team-card__bio { display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.team-card { background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.team-card__photo { aspect-ratio: 1 / 1; background: linear-gradient(160deg, var(--mint-100), #CFE5E0); position: relative; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 3.25rem; font-weight: 600; color: var(--pine-700); letter-spacing: 0.02em;
}
.team-card__initials::before {
  content: ""; position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(10, 92, 99, .18); background: rgba(255,255,255,.55);
}
.team-card__initials span { position: relative; }
.team-card__body { position: relative; padding: var(--space-5); border-top: 3px solid var(--saffron-500); flex: 1; display: flex; flex-direction: column; }
.team-card__name { font-size: 1.125rem; margin-bottom: 2px; }
.team-card__role { font-size: var(--fs-sm); font-weight: 600; color: var(--pine-600); margin-bottom: var(--space-3); }
.team-card__cred { font-weight: 500; color: var(--ink-500); }
.team-card__bio {
  font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.6; margin-bottom: var(--space-3);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
/* "More info" toggle — a visually hidden checkbox, so it works without JavaScript */
.bio-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.bio-toggle:checked ~ .team-card__bio { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
.bio-more {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  font-size: var(--fs-sm); font-weight: 600; color: var(--pine-700); cursor: pointer; border-radius: 4px; user-select: none;
}
.bio-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.bio-more svg { width: 16px; height: 16px; transition: transform .2s; }
.bio-toggle:checked ~ .bio-more svg { transform: rotate(180deg); }
.bio-toggle:checked ~ .bio-more .more, .bio-toggle:not(:checked) ~ .bio-more .less { display: none; }
.bio-toggle:focus-visible ~ .bio-more { outline: 3px solid var(--saffron-500); outline-offset: 3px; }


/* Detailed services */
.service-detail { display: grid; grid-template-columns: 220px 1fr; gap: var(--space-6); padding-block: var(--space-7); border-top: 1px solid var(--line); }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail__aside { display: flex; flex-direction: column; gap: var(--space-4); }
.service-detail h2 { font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.service-detail .lead { margin-bottom: var(--space-5); }
.service-detail__label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); margin-bottom: var(--space-3); }

/* Feature grid (cooperation areas, quality focus) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--space-4); }
.feature { display: flex; gap: var(--space-4); padding: var(--space-5); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.feature h3 { font-size: 1.0625rem; margin-bottom: var(--space-1); }
.feature p { margin: 0; font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.6; }

/* Document checklist panel */
.doc-panel { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-lift); border-top: 5px solid var(--saffron-500); }
.doc-panel h3 { font-size: var(--fs-lg); }

/* Quality pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.pillar { padding: var(--space-6); border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--line); }
.pillar__kicker { display: inline-block; font-size: var(--fs-xs); font-weight: 600; color: var(--pine-600); background: var(--mint-100); padding: 0.2rem 0.6rem; border-radius: 999px; margin-bottom: var(--space-4); }
.pillar h3 { margin-bottom: var(--space-2); }
.pillar p { font-size: var(--fs-sm); color: var(--ink-500); margin: 0; }

.statement {
  margin: 0; padding: clamp(1.75rem, 1rem + 3vw, 3.25rem); border-radius: var(--radius-lg);
  background: var(--pine-800); color: var(--white); position: relative; overflow: hidden; isolation: isolate;
}
.statement::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4;
  background-image: url("../img/pattern-hex.svg"); background-size: 56px;
  -webkit-mask-image: linear-gradient(110deg, transparent 50%, #000);
          mask-image: linear-gradient(110deg, transparent 50%, #000);
}
.statement p { font-size: var(--fs-lg); line-height: 1.45; font-weight: 500; max-width: 46ch; margin-bottom: var(--space-4); color: var(--white); }
.statement footer { color: var(--saffron-500); font-weight: 600; font-size: var(--fs-sm); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--space-5); align-items: start; }
.news-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.news-card__top { height: 6px; background: var(--c, var(--pine-700)); }
.news-card__body { padding: var(--space-6) var(--space-5) var(--space-5); display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-3); font-size: var(--fs-xs); color: var(--ink-500); }
.news-card__tag { font-weight: 600; color: var(--c, var(--pine-700)); background: color-mix(in srgb, var(--c, #0A5C63) 10%, white); padding: 0.2rem 0.6rem; border-radius: 999px; }
.news-card h2, .news-card h3 { font-size: 1.1875rem; margin-bottom: var(--space-3); }
.news-card p { font-size: var(--fs-sm); color: var(--ink-500); line-height: 1.65; }
.news-card__full { display: none; font-size: var(--fs-sm); }
.news-card .bio-toggle:checked ~ .news-card__full { display: block; }
.news-grid.is-measuring .bio-toggle:checked ~ .news-card__full { display: none; }
.news-featured { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); margin-bottom: var(--space-7); }
.news-featured__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.news-featured__body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); display: flex; flex-direction: column; justify-content: center; }
.news-featured__body h2 { font-size: var(--fs-lg); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--pine-800) 0%, var(--pine-700) 55%, #0C6E7A 100%); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 1.25rem + 3vw, 3.5rem); display: grid; grid-template-columns: 1fr auto; gap: var(--space-6); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(232, 164, 58, .16); z-index: -1; }
.cta-band h2 { color: var(--white); font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.cta-band p { margin: 0; color: rgba(255,255,255,.82); max-width: 58ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* 8. Contact page & form ------------------------------------------------ */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
.form-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); overflow: hidden; }
.form-card__head {
  padding: var(--space-6) clamp(1.25rem, 1rem + 2vw, 2.5rem);
  background: linear-gradient(115deg, var(--pine-800) 0%, var(--pine-600) 55%, var(--cobalt-600) 120%);
  color: var(--white); position: relative; overflow: hidden;
}
.form-card__head::after { content: ""; position: absolute; right: -40px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; background: rgba(232, 164, 58, .22); }
.form-card__head h2 { color: var(--white); font-size: var(--fs-lg); margin-bottom: var(--space-1); }
.form-card__head p { margin: 0; color: rgba(255,255,255,.85); font-size: var(--fs-sm); position: relative; z-index: 1; }
.form { padding: var(--space-6) clamp(1.25rem, 1rem + 2vw, 2.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field { margin-bottom: var(--space-5); }
.field label, .field legend { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-900); margin-bottom: var(--space-2); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .optional { font-weight: 400; color: var(--ink-500); }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-500); pointer-events: none; transition: color .15s; }
.input, .textarea {
  width: 100%; font: 400 var(--fs-base)/1.4 var(--font-sans); color: var(--ink-900);
  background: var(--cloud); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0.85rem 1.1rem 0.85rem 2.75rem; min-height: 52px;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.textarea { border-radius: var(--radius-md); padding: 0.9rem 1.1rem; min-height: 150px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #8A9AA6; }
.input:hover, .textarea:hover { border-color: #B8C8CD; }
.input:focus, .textarea:focus { outline: none; background: var(--white); border-color: var(--pine-600); box-shadow: 0 0 0 4px rgba(19, 140, 147, .16); }
.input-wrap:focus-within svg { color: var(--pine-600); }
.field.has-error .input, .field.has-error .textarea { border-color: var(--danger); background: #FFF7F7; }
.field.has-error .input:focus, .field.has-error .textarea:focus { box-shadow: 0 0 0 4px rgba(194, 59, 59, .14); }
.field__error { display: none; margin-top: var(--space-2); font-size: var(--fs-xs); color: var(--danger); font-weight: 500; }
.field.has-error .field__error { display: block; }
.field__hint { margin-top: var(--space-2); font-size: var(--fs-xs); color: var(--ink-500); text-align: right; }

fieldset.field { border: 0; padding: 0; margin: 0 0 var(--space-5); min-width: 0; }
.inquiry-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.inquiry-option { position: relative; }
.inquiry-option:last-child:nth-child(odd) { grid-column: 1 / -1; }
.inquiry-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.inquiry-option label {
  --c: var(--pine-700);
  display: flex; align-items: center; gap: var(--space-3); margin: 0; height: 100%;
  padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-md); background: var(--white);
  font-weight: 500; font-size: var(--fs-sm); color: var(--ink-900); cursor: pointer; line-height: 1.35;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.inquiry-option label:hover { border-color: var(--c); }
.inquiry-option__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); transition: background-color .15s, color .15s; }
.inquiry-option__icon svg { width: 20px; height: 20px; }
.inquiry-option__radio { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #B8C8CD; flex-shrink: 0; position: relative; transition: border-color .15s; }
.inquiry-option input:checked + label { border-color: var(--c); background: color-mix(in srgb, var(--c) 6%, white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.inquiry-option input:checked + label .inquiry-option__icon { background: var(--c); color: var(--white); }
.inquiry-option input:checked + label .inquiry-option__radio { border-color: var(--c); }
.inquiry-option input:checked + label .inquiry-option__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--c); }
.inquiry-option input:focus-visible + label { outline: 3px solid var(--saffron-500); outline-offset: 2px; }

.consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-700); margin-bottom: var(--space-5); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pine-700); flex-shrink: 0; }
.form__footer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.form__footer small { color: var(--ink-500); font-size: var(--fs-xs); }
.btn--submit { --btn-bg: linear-gradient(115deg, var(--pine-700), var(--pine-600)); background: linear-gradient(115deg, var(--pine-700), var(--pine-600) 60%, var(--cobalt-600)); min-width: 200px; box-shadow: 0 10px 24px -12px rgba(10, 92, 99, .7); }
.btn--submit:hover { filter: brightness(1.06); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; margin: 0 0 var(--space-5); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); font-size: var(--fs-sm); align-items: flex-start; gap: var(--space-3); }
.form-status svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-status.is-visible { display: flex; }
.form-status--success { background: #E2F4EA; color: #145C39; border: 1px solid #B6E0C8; }
.form-status--error { background: #FCEBEB; color: #8E2525; border: 1px solid #F1C2C2; }
.form-status p { margin: 0; }

.contact-aside { display: grid; gap: var(--space-4); }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-5); display: flex; gap: var(--space-4); }
.info-card h3 { font-size: 1rem; margin-bottom: 2px; }
.info-card p, .info-card a { margin: 0; font-size: var(--fs-sm); color: var(--ink-700); word-break: break-word; }
.info-card .muted { color: var(--ink-500); font-size: var(--fs-xs); margin-top: 4px; display: block; }
.info-card--accent { background: var(--pine-800); border-color: var(--pine-800); color: rgba(255,255,255,.85); flex-direction: column; gap: var(--space-3); }
.info-card--accent h3 { color: var(--white); font-size: 1.0625rem; }
.info-card--accent p { color: rgba(255,255,255,.82); }
.info-card--accent ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); font-size: var(--fs-sm); }
.info-card--accent li { display: flex; gap: var(--space-2); align-items: baseline; }
.info-card--accent li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron-500); flex-shrink: 0; transform: translateY(-2px); }

/* 9. Footer -------------------------------------------------------------- */
.site-footer { background: var(--pine-900); color: rgba(255,255,255,.72); padding-top: var(--space-8); font-size: var(--fs-sm); }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-6); padding-bottom: var(--space-7); }
.footer-brand .brand { color: var(--white); margin-bottom: var(--space-4); }
.footer-brand .brand__name span { color: var(--saffron-500); }
.footer-brand .brand__tag { color: rgba(255,255,255,.6); }
.footer-brand p { max-width: 36ch; }
.footer-col h2 { font-size: 0.95rem; color: var(--white); margin-bottom: var(--space-4); letter-spacing: 0; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--saffron-500); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: var(--space-5); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: var(--fs-xs); color: rgba(255,255,255,.55); }
.footer-bottom p { margin: 0; }

/* 10. Utilities ---------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.center { text-align: center; }
.empty-state { text-align: center; padding: var(--space-7) var(--space-4); color: var(--ink-500); border: 1.5px dashed var(--line); border-radius: var(--radius-md); }

/* One orchestrated load moment: hero content only */
@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: rise .7s var(--ease) both; }
  .hero__content > *:nth-child(2) { animation-delay: .08s; }
  .hero__content > *:nth-child(3) { animation-delay: .16s; }
  .hero__content > *:nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 11. Responsive --------------------------------------------------------- */
@media (max-width: 1400px) {
  .site-header .brand__tag { display: none; }
}
@media (max-width: 1300px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white);
    padding: var(--space-4) 1.25rem var(--space-7); overflow-y: auto;
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 1rem 0.5rem; font-size: 1.0625rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link[aria-current="page"]::after { left: 0; right: auto; top: 50%; bottom: auto; width: 3px; height: 60%; transform: translateY(-50%); }
  .nav__link[aria-current="page"] { padding-left: 1rem; }
  .nav__link--cta { margin: var(--space-5) 0 0; text-align: center; border-radius: var(--radius-sm); border-bottom: 0; }
  body.nav-open { overflow: hidden; }
  .supply-path { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-6); }
  .supply-path::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .split, .contact-layout, .mv-grid, .news-featured { grid-template-columns: 1fr; }
  .commitments__grid { grid-template-columns: 1fr; }
  .commitment + .commitment { border-left: 0; border-top: 1px solid var(--line); }
  .values-grid, .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-list { grid-template-columns: 1fr; }
  .service-item:nth-child(odd) { border-right: 0; }
  .service-item:nth-child(even) { padding-left: 0; }
  .service-detail { grid-template-columns: 1fr; gap: var(--space-4); }
  .service-detail__aside { flex-direction: row; align-items: center; }
  .cta-band { grid-template-columns: 1fr; }
  .framed { margin-bottom: var(--space-6); }
  .framed__note { left: 1rem; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__tag { display: none; }
  .hero { min-height: 0; }
  .hero__content { padding-block: var(--space-7) 5.5rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .values-grid, .pillars, .form__row, .inquiry-options, .check-list--2col { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .supply-path { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form__footer .btn { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .framed__note { position: relative; left: 0; bottom: 0; margin-top: calc(-1 * var(--space-6)); margin-inline: var(--space-4); max-width: none; }
}

/* Print */
@media print {
  .site-header, .site-footer, .hero__actions, .cta-band, .filters { display: none !important; }
  .hero, .page-hero { color: #000; background: none; min-height: 0; }
  .hero h1, .page-hero h1 { color: #000; }
}

