/* ============================================================
   NIRAMAYA HEALTH — DESIGN SYSTEM
   Editorial healthcare aesthetic — refined, warm, trustworthy
   ============================================================ */

/* -----------------------
   TOKENS
   ----------------------- */
:root {
  /* Palette — Nepal-inspired: deep forest, ivory paper, saffron alert */
  --ink: #0E1B16;
  --ink-soft: #2A3A33;
  --paper: #F5EFE4;
  --paper-warm: #EFE6D5;
  --paper-edge: #E5DAC4;
  --forest: #0F3B2E;
  --forest-deep: #082922;
  --forest-soft: #1E5847;
  --moss: #4A7C5F;
  --mint: #C8DCC9;
  --saffron: #E15A29;
  --saffron-deep: #B43F18;
  --gold: #C8A961;
  --gold-soft: #DFC78A;
  --rule: rgba(14, 27, 22, 0.14);
  --rule-strong: rgba(14, 27, 22, 0.32);

  /* Typography */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Instrument Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Scale */
  --step--2: clamp(0.69rem, 0.66rem + 0.18vw, 0.78rem);
  --step--1: clamp(0.83rem, 0.77rem + 0.31vw, 1.00rem);
  --step-0:  clamp(1.00rem, 0.91rem + 0.49vw, 1.25rem);
  --step-1:  clamp(1.20rem, 1.06rem + 0.73vw, 1.56rem);
  --step-2:  clamp(1.44rem, 1.23rem + 1.05vw, 1.95rem);
  --step-3:  clamp(1.73rem, 1.42rem + 1.50vw, 2.44rem);
  --step-4:  clamp(2.07rem, 1.65rem + 2.11vw, 3.05rem);
  --step-5:  clamp(2.49rem, 1.90rem + 2.93vw, 3.82rem);
  --step-6:  clamp(2.99rem, 2.18rem + 4.04vw, 4.77rem);
  --step-7:  clamp(3.58rem, 2.49rem + 5.51vw, 5.96rem);

  /* Layout */
  --max-w: 1400px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
  --section-pad: clamp(4rem, 8vw, 7rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -----------------------
   RESET & BASE
   ----------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.10 0 0 0 0 0.09 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--forest); color: var(--paper); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  margin: 0;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
}

p { margin: 0; }

.serif-italic { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }

/* -----------------------
   UTILITY
   ----------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 2.2em;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.eyebrow--center { justify-content: center; }
.eyebrow--paper { color: var(--paper-warm); }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.divider {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* -----------------------
   BUTTONS
   ----------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }

.btn--primary {
  background: var(--forest);
  color: var(--paper);
}
.btn--primary:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.btn--saffron {
  background: var(--saffron);
  color: var(--paper);
}
.btn--saffron:hover {
  background: var(--saffron-deep);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--ghost-light {
  background: transparent;
  border-color: rgba(245, 239, 228, 0.5);
  color: var(--paper);
}
.btn--ghost-light:hover {
  background: var(--paper);
  color: var(--forest-deep);
}

.btn--link {
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.2rem;
}
.btn--link:hover { gap: 1.1rem; }

.btn--icon-only {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
}

/* -----------------------
   HEADER
   ----------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}

.announce-bar {
  background: var(--forest-deep);
  color: var(--paper);
  font-size: var(--step--2);
  padding: 0.55rem 0;
  letter-spacing: 0.04em;
}
.announce-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.announce-bar__left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 0 rgba(225, 90, 41, 0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(225, 90, 41, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(225, 90, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 90, 41, 0); }
}
.announce-bar__right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.announce-bar a { transition: color 0.3s; }
.announce-bar a:hover { color: var(--gold-soft); }
.lang-toggle {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  font-size: var(--step--2);
  letter-spacing: 0.06em;
}
.lang-toggle span { opacity: 0.5; }
.lang-toggle span.active { opacity: 1; font-weight: 500; }

.nav-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 0;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
}
.logo__mark {
  display: inline-grid;
  place-items: center;
  position: relative;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  overflow: visible;
}
/* Uploaded logo image: show in full, not clipped to a circle. */
.logo__mark img {
  display: block;
  height: 46px;
  width: auto;
}
/* Decorative circular badge — only for the built-in SVG fallback mark. */
.logo__mark:has(svg) {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--forest);
  overflow: hidden;
}
.logo__mark:has(svg)::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  opacity: 0.4;
}
.logo__mark svg { color: var(--paper); width: 22px; height: 22px; z-index: 1; }
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}
.logo__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
  font-variation-settings: "SOFT" 30, "WONK" 0;
}
.logo__tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* Main nav */
/* WordPress primary nav menu — desktop dropdowns + responsive collapse.
   Menu is managed at Appearance → Menus and rendered via wp_nav_menu(). */
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
  align-items: center;
}
.main-nav__list .menu-item {
  position: relative;
}
.main-nav__list .menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}
.main-nav__list .menu-item > a:hover,
.main-nav__list .current-menu-item > a,
.main-nav__list .current-menu-ancestor > a { color: var(--forest); }

/* Caret on top-level items with a sub-menu */
.main-nav__list > .menu-item-has-children > a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -2px);
  display: inline-block;
  transition: transform 0.3s;
  opacity: 0.65;
  margin-left: 0.15rem;
}
.main-nav__list > .menu-item-has-children:hover > a::after,
.main-nav__list > .menu-item-has-children:focus-within > a::after,
.main-nav__list > .menu-item-has-children.is-open > a::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

/* Dropdown (sub-menu) */
.main-nav__list .sub-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 0.5rem;
  min-width: 240px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.35s;
  box-shadow: 0 24px 50px -22px rgba(8, 41, 34, 0.22);
  z-index: 30;
}
/* Transparent hover-bridge so the cursor doesn't drop hover crossing the gap. */
.main-nav__list .sub-menu::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  right: -0.5rem;
  top: -0.9rem;
  height: 1.1rem;
}
.main-nav__list .menu-item-has-children { transition-delay: 120ms; }
.main-nav__list .menu-item-has-children:hover > .sub-menu,
.main-nav__list .menu-item-has-children:focus-within > .sub-menu,
.main-nav__list .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s;
}
.main-nav__list .sub-menu .menu-item { position: relative; }
.main-nav__list .sub-menu .menu-item > a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 9px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.main-nav__list .sub-menu .menu-item > a:hover,
.main-nav__list .sub-menu .current-menu-item > a {
  background: var(--paper-warm);
  color: var(--forest-deep);
}

/* Edge guard — keep right-aligned sub-menus from flowing off the viewport. */
.main-nav__list > .menu-item-has-children:nth-last-child(-n+2) > .sub-menu {
  left: auto;
  right: 0;
}

.main-nav__placeholder {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border: 1px dashed var(--rule-strong);
  border-radius: 999px;
}

/* Header right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  background: var(--saffron);
  color: var(--paper);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}
.emergency-btn:hover { background: var(--saffron-deep); transform: translateY(-2px); }
.emergency-btn .pulse-dot {
  background: var(--paper);
  box-shadow: 0 0 0 0 rgba(245, 239, 228, 0.7);
}
@keyframes pulse-light {
  0% { box-shadow: 0 0 0 0 rgba(245, 239, 228, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(245, 239, 228, 0); }
}
.emergency-btn .pulse-dot { animation: pulse-light 1.8s infinite; }

.menu-toggle { display: none; }
/* Scoped under .site-header + padding reset so it beats Astra's button styles. */
.site-header .menu-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--forest-deep);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.site-header .menu-toggle svg { width: 24px; height: 24px; }

/* -----------------------
   HERO
   ----------------------- */
.hero {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 60%);
  opacity: 0.35;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
  position: relative;
  z-index: 2;
}

.hero__copy { padding-bottom: clamp(2rem, 5vw, 5rem); }

.hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero__meta-divider {
  width: 60px;
  height: 1px;
  background: var(--rule-strong);
}

.hero__headline {
  font-size: var(--step-6);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--forest-deep);
  margin-bottom: 1.8rem;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
}
.hero__headline em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--saffron);
}

.hero__sub {
  max-width: 460px;
  font-size: var(--step-0);
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 2.2rem;
}

.hero__ctas { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 220px 220px 18px 18px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--forest-soft), var(--forest-deep));
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.85;
  filter: contrast(1.05) saturate(0.9);
}
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 41, 34, 0.4) 100%);
}

/* Hero floating card */
.hero__card {
  position: absolute;
  left: -1rem;
  bottom: 2rem;
  background: var(--paper);
  padding: 1.2rem 1.4rem;
  border-radius: 16px;
  box-shadow: 0 24px 48px -16px rgba(8, 41, 34, 0.25);
  max-width: 280px;
  z-index: 5;
  border: 1px solid var(--rule);
}
.hero__card-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.hero__card-dot {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
}
.hero__card-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__card-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.2;
  color: var(--forest-deep);
}

/* Badge floating top-right of visual */
.hero__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--saffron);
  color: var(--paper);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  line-height: 1.1;
  font-style: italic;
  z-index: 4;
  animation: slowSpin 30s linear infinite;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }
.hero__badge span {
  display: block;
  font-style: normal;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Hero mountain silhouette */
.hero__mountains {
  margin-top: 3rem;
  width: 100%;
  height: 90px;
  color: var(--forest);
  opacity: 0.18;
}

/* -----------------------
   TRUST NUMBERS BAR (Ticker)
   ----------------------- */
.trust-bar {
  background: var(--forest-deep);
  color: var(--paper);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
  overflow: hidden;
}
.trust-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 239, 228, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 239, 228, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(245, 239, 228, 0.12);
  position: relative;
  z-index: 1;
}
.trust-stat {
  background: var(--forest-deep);
  padding: 1rem 1.5rem;
}
.trust-stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--paper);
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
  letter-spacing: -0.04em;
  display: flex;
  align-items: baseline;
  gap: 0.15em;
}
.trust-stat__num sup, .trust-stat__num em {
  font-size: 0.4em;
  color: var(--gold);
  font-style: normal;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
}
.trust-stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-warm);
  opacity: 0.7;
  margin-top: 0.6rem;
}

/* -----------------------
   SECTION HEADERS
   ----------------------- */
section { position: relative; }

.section {
  padding: var(--section-pad) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.section-head__left { max-width: 620px; }
.section-head__title {
  font-size: var(--step-5);
  line-height: 1;
  color: var(--forest-deep);
  margin-top: 1rem;
  letter-spacing: -0.025em;
}
.section-head__title em { color: var(--saffron); font-style: italic; }
.section-head__right {
  max-width: 380px;
  color: var(--ink-soft);
  font-size: var(--step-0);
  justify-self: end;
}

/* -----------------------
   HOW IT WORKS
   ----------------------- */
.how {
  background: var(--paper-warm);
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
}

.how__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 2rem;
}
.how__track::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--rule-strong);
  z-index: 0;
}
.how__step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.how__num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--forest);
  position: relative;
  transition: all 0.4s var(--ease);
}
.how__step:hover .how__num {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
  transform: scale(1.1);
}
.how__icon {
  width: 32px;
  height: 32px;
  color: var(--forest);
  margin: 0 auto 1rem;
}
.how__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--forest-deep);
  margin-bottom: 0.6rem;
}
.how__desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* -----------------------
   SERVICES OVERVIEW
   ----------------------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
}
.service-card {
  grid-column: span 2;
  padding: 2.2rem 1.8rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--ease);
  cursor: pointer;
}
.service-card:nth-child(3n) { border-right: 0; }
.service-card:nth-last-child(-n+3) { border-bottom: 0; }
.service-card:last-child { border-right: 0; }

/* Count-aware grid (PHP adds `--cols-4` for 7+ items and `--last-N` for the
   size of the trailing row). The 4-col variant uses a 12-col base so the
   last row can grow to span 12/N per card and fill the width. */
.services__grid--last-2 .service-card:nth-last-child(-n+2) { grid-column: span 3; }
.services__grid--last-1 .service-card:last-child { grid-column: span 6; }
.services__grid--last-1 .service-card:last-child,
.services__grid--last-2 .service-card:nth-last-child(-n+2),
.services__grid--last-3 .service-card:nth-last-child(-n+3),
.services__grid--last-4 .service-card:nth-last-child(-n+4) { border-bottom: 0; }

.services__grid--cols-4 { grid-template-columns: repeat(12, 1fr); }
.services__grid--cols-4 .service-card { grid-column: span 3; }
.services__grid--cols-4 .service-card:nth-child(3n) { border-right: 1px solid var(--rule); }
.services__grid--cols-4 .service-card:nth-child(4n) { border-right: 0; }
.services__grid--cols-4.services__grid--last-3 .service-card:nth-last-child(-n+3) { grid-column: span 4; }
.services__grid--cols-4.services__grid--last-2 .service-card:nth-last-child(-n+2) { grid-column: span 6; }
.services__grid--cols-4.services__grid--last-1 .service-card:last-child { grid-column: span 12; }
.service-card:hover { background: var(--forest); color: var(--paper); }
.service-card:hover .service-card__num { color: var(--mint); border-color: rgba(245,239,228,0.3); }
.service-card:hover .service-card__title { color: var(--paper); }
.service-card:hover .service-card__desc { color: var(--paper-warm); }
.service-card:hover .service-card__icon { color: var(--gold-soft); }
.service-card:hover .service-card__arrow { background: var(--paper); color: var(--forest-deep); }

.service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}
.service-card__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--rule-strong);
  border-radius: 99px;
  transition: all 0.4s;
}
.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--forest);
  transition: color 0.4s;
}
.service-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.05;
  color: var(--forest-deep);
  margin: 2rem 0 0.8rem;
  letter-spacing: -0.015em;
  transition: color 0.4s;
}
.service-card__desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
  transition: color 0.4s;
}
.service-card__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper-warm);
  display: grid;
  place-items: center;
  align-self: flex-end;
  transition: all 0.4s;
  color: var(--forest-deep);
}
.service-card__arrow svg { width: 18px; height: 18px; transition: transform 0.4s; }
.service-card:hover .service-card__arrow svg { transform: rotate(-45deg); }

/* -----------------------
   NETWORK / FOOTPRINT
   ----------------------- */
.network {
  background: var(--forest-deep);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.network::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(200, 169, 97, 0.08), transparent 50%);
  pointer-events: none;
}

.network__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.network__copy { max-width: 480px; }
.network__title {
  font-size: var(--step-5);
  line-height: 1;
  color: var(--paper);
  margin: 1rem 0 1.5rem;
  letter-spacing: -0.025em;
}
.network__title em { color: var(--gold-soft); font-style: italic; }
.network__desc {
  color: var(--paper-warm);
  opacity: 0.78;
  font-size: var(--step-0);
  margin-bottom: 2.5rem;
}

.network__cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 2rem;
  margin-bottom: 2.5rem;
}
.network__city {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(245, 239, 228, 0.12);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
}
.network__city::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* Map visual */
.network__map {
  position: relative;
  aspect-ratio: 1.1/1;
}
.network__map svg { width: 100%; height: 100%; }

.network__pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--saffron);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 4px rgba(225, 90, 41, 0.25);
  cursor: pointer;
  transition: all 0.3s;
}
.network__pin:hover { transform: scale(1.4); }
.network__pin::after {
  content: attr(data-city);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paper);
  color: var(--forest-deep);
  padding: 0.3rem 0.7rem;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.network__pin:hover::after { opacity: 1; }

/* -----------------------
   PARTNERS (Hospitals + Insurance Logos)
   ----------------------- */
.partners {
  background: var(--paper);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.partners__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 2rem;
}
.partners__marquee {
  display: flex;
  gap: 4rem;
  align-items: center;
  overflow: hidden;
  position: relative;
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners__track {
  display: flex;
  gap: 4rem;
  align-items: center;
  animation: marquee 40s linear infinite;
  flex-shrink: 0;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.partners__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--forest-deep);
  font-style: italic;
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity 0.3s;
  font-variation-settings: "SOFT" 70, "WONK" 1;
}
.partners__item:hover { opacity: 1; }
.partners__item-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* -----------------------
   ACCREDITATIONS
   ----------------------- */
.creds {
  background: var(--paper-warm);
  padding: 4rem 0;
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
}
.creds__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}
.creds__title {
  font-size: var(--step-3);
  color: var(--forest-deep);
  line-height: 1.05;
}
.creds__title em { color: var(--saffron); font-style: italic; }
.creds__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.cred-badge {
  background: var(--paper);
  padding: 1.4rem 1rem;
  border-radius: 14px;
  text-align: center;
  border: 1px solid var(--rule);
  transition: all 0.3s;
}
.cred-badge:hover { transform: translateY(-4px); border-color: var(--forest); }
.cred-badge__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.7rem;
  color: var(--forest);
}
.cred-badge__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--forest-deep);
  margin-bottom: 0.2rem;
}
.cred-badge__desc {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* -----------------------
   STORY / VISION
   ----------------------- */
.story {
  position: relative;
  overflow: hidden;
}
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.story__visual {
  position: relative;
}
.story__visual img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 18px;
}
.story__quote {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  max-width: 280px;
  box-shadow: 0 24px 40px -16px rgba(8, 41, 34, 0.18);
}
.story__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--forest-deep);
}
.story__quote cite {
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.7rem;
  display: block;
}

.story__title {
  font-size: var(--step-5);
  line-height: 1;
  color: var(--forest-deep);
  margin: 1rem 0 1.5rem;
}
.story__title em { color: var(--saffron); font-style: italic; }
.story__lead {
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
}
.story__body {
  color: var(--ink-soft);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.story__timeline {
  border-top: 1px solid var(--rule);
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.timeline-item__year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--saffron);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.timeline-item__text {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.4rem;
}

/* -----------------------
   INTERNATIONAL DESKS
   ----------------------- */
.intl {
  background: var(--paper-warm);
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
}

.intl__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.intl-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 1.8rem 1.5rem;
  position: relative;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.intl-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(8, 41, 34, 0.15);
}
.intl-card__flag {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.intl-card__region {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--forest-deep);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.intl-card__sub {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.intl-card__desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.intl-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--forest);
  border-bottom: 1px solid var(--forest);
  padding-bottom: 0.2rem;
  transition: gap 0.3s;
}
.intl-card:hover .intl-card__link { gap: 0.7rem; }

/* -----------------------
   TESTIMONIALS
   ----------------------- */
.testi { background: var(--paper); }

.testi__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

/* Video featured */
.testi-video {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--forest-deep);
}
.testi-video img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: all 0.4s;
}
.testi-video:hover img { opacity: 0.85; transform: scale(1.03); }
.testi-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.testi-video__btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--forest-deep);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.3s;
}
.testi-video:hover .testi-video__btn { transform: scale(1.1); }
.testi-video__btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid var(--paper);
  border-radius: 50%;
  opacity: 0.4;
  animation: ripple 2s infinite;
}
@keyframes ripple {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}
.testi-video__btn svg { width: 28px; height: 28px; }
.testi-video__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  color: var(--paper);
}
.testi-video__name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
}
.testi-video__meta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.3rem;
}

/* Quote cards */
.testi__quotes {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.testi-quote {
  background: var(--paper-warm);
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: 14px;
  border: 1px solid var(--rule);
  position: relative;
}
.testi-quote__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.8rem;
  color: var(--saffron);
}
.testi-quote__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--forest-deep);
  margin-bottom: 1.2rem;
  font-variation-settings: "SOFT" 40, "WONK" 0;
}
.testi-quote__person {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}
.testi-quote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
}
.testi-quote__info {
  font-size: 0.85rem;
}
.testi-quote__name { font-weight: 500; color: var(--forest-deep); }
.testi-quote__meta { color: var(--ink-soft); font-size: 0.78rem; }

/* -----------------------
   DOCTORS PREVIEW
   ----------------------- */
.doctors {
  background: var(--paper-warm);
  border-top: 1px solid var(--paper-edge);
}
.doctors__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.doctor-card {
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: all 0.4s var(--ease);
}
.doctor-card:hover { transform: translateY(-4px); }
.doctor-card__img {
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, var(--mint), var(--forest));
  position: relative;
  overflow: hidden;
}
.doctor-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2);
  transition: all 0.5s;
}
.doctor-card:hover .doctor-card__img img { filter: grayscale(0); transform: scale(1.04); }
.doctor-card__specialty {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--paper);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 99px;
  color: var(--forest-deep);
  font-weight: 500;
}
.doctor-card__info {
  padding: 1.2rem 1.2rem 1.3rem;
}
.doctor-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}
.doctor-card__title {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}
.doctor-card__city {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* -----------------------
   EMERGENCY CTA SECTION
   ----------------------- */
.emergency-cta {
  background: var(--saffron);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.emergency-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, transparent, transparent 18px, rgba(245, 239, 228, 0.06) 18px, rgba(245, 239, 228, 0.06) 19px);
  pointer-events: none;
}
.emergency-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.emergency-cta__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.emergency-cta__title {
  font-size: var(--step-5);
  line-height: 0.98;
  color: var(--paper);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}
.emergency-cta__title em { font-style: italic; }
.emergency-cta__desc {
  color: var(--paper-warm);
  opacity: 0.92;
  max-width: 500px;
  margin-bottom: 2rem;
}
.emergency-cta__contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(245, 239, 228, 0.1);
  border: 1px solid rgba(245, 239, 228, 0.2);
  border-radius: 14px;
  transition: all 0.3s;
}
.contact-row:hover { background: rgba(245, 239, 228, 0.18); transform: translateX(4px); }
.contact-row__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--saffron-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-row__icon svg { width: 22px; height: 22px; }
.contact-row__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}
.contact-row__value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--paper);
  letter-spacing: -0.01em;
}

/* -----------------------
   TREATMENT COSTS
   ----------------------- */
.costs__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.cost-card {
  flex: 1 1 calc((100% - 2rem) / 3);
  min-width: 0;
  background: var(--paper-warm);
  padding: 1.8rem 1.6rem;
  border-radius: 14px;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
.costs__grid--cols-4 .cost-card { flex-basis: calc((100% - 3rem) / 4); }
.cost-card:hover {
  background: var(--forest);
  color: var(--paper);
  transform: translateY(-4px);
}
.cost-card:hover .cost-card__name { color: var(--paper); }
.cost-card:hover .cost-card__price { color: var(--gold-soft); }
.cost-card:hover .cost-card__from { color: var(--paper-warm); }
.cost-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--forest-deep);
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.cost-card__price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--saffron);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  transition: color 0.3s;
}
.cost-card__from {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}
.cost-card__compare {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.cost-card:hover .cost-card__compare { border-color: rgba(245,239,228,0.2); color: var(--paper-warm); }

/* -----------------------
   BLOG / NEWS PREVIEW
   ----------------------- */
.journal {
  background: var(--paper);
}
.journal__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.journal-card {
  background: var(--paper-warm);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  border: 1px solid var(--rule);
}
.journal-card:hover { transform: translateY(-4px); border-color: var(--forest); }
.journal-card--feature .journal-card__img {
  aspect-ratio: 16/10;
}
.journal-card__img {
  aspect-ratio: 16/11;
  background: var(--forest);
  overflow: hidden;
}
.journal-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.journal-card:hover .journal-card__img img { transform: scale(1.06); }
.journal-card__body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.journal-card__cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.7rem;
}
.journal-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--forest-deep);
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.journal-card--feature .journal-card__title { font-size: 1.7rem; }
.journal-card__excerpt {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.journal-card__meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* -----------------------
   NEWSLETTER STRIP
   ----------------------- */
.signup {
  background: var(--forest-deep);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.signup__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.signup__title {
  font-size: var(--step-4);
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.02em;
}
.signup__title em { color: var(--gold-soft); font-style: italic; }
.signup__sub {
  color: var(--paper-warm);
  opacity: 0.7;
  margin-top: 1rem;
}
.signup__form {
  display: flex;
  gap: 0.5rem;
  background: rgba(245, 239, 228, 0.08);
  padding: 0.4rem 0.4rem 0.4rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 239, 228, 0.2);
  align-items: center;
}
.signup__form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--paper);
  padding: 1rem 0;
  font-size: 0.95rem;
}
.signup__form input::placeholder { color: var(--paper-warm); opacity: 0.5; }

/* -----------------------
   FOOTER
   ----------------------- */
.footer {
  background: var(--paper-warm);
  color: var(--ink);
  position: relative;
  z-index: 5;
}
.footer__top {
  padding: clamp(3.5rem, 6vw, 5rem) 0 3rem;
  border-bottom: 1px solid var(--rule);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2.5rem;
}
.footer__brand .logo__name { font-size: 1.8rem; }
.footer__about {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 1.2rem;
  line-height: 1.55;
  max-width: 280px;
}
.footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  display: grid;
  place-items: center;
  transition: all 0.3s;
}
.footer__social a:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}
.footer__social svg { width: 16px; height: 16px; }

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer__list a {
  font-size: 0.92rem;
  color: var(--forest-deep);
  transition: color 0.3s;
}
.footer__list a:hover { color: var(--saffron); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.88rem;
}
.footer__contact-item {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.footer__contact-item svg {
  width: 16px; height: 16px;
  color: var(--saffron);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer__contact-item strong {
  display: block;
  font-weight: 500;
  color: var(--forest-deep);
}
.footer__contact-item span { color: var(--ink-soft); }

.footer__bottom {
  padding: 1.4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a { transition: color 0.3s; }
.footer__bottom-links a:hover { color: var(--forest-deep); }

/* Giant wordmark */
.giant-mark {
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.8125rem);
  line-height: 0.85;
  color: var(--forest-deep);
  letter-spacing: -0.04em;
  padding: 2rem 0 1rem;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
}
.giant-mark em { color: var(--saffron); font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }

/* -----------------------
   FLOATING ACTIONS
   ----------------------- */
.floating {
  position: fixed;
  right: 1.5rem;
  bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 80;
}
.floating a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--paper);
  box-shadow: 0 10px 30px -8px rgba(8, 41, 34, 0.4);
  transition: transform 0.3s;
}
.floating a:hover { transform: scale(1.1); }
.floating .float-wa { background: #25D366; }
.floating .float-call { background: var(--saffron); }
.floating svg { width: 22px; height: 22px; }

/* -----------------------
   ANIMATIONS — reveal
   ----------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger.visible > * {
  opacity: 1; transform: none;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.53s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.61s; }

/* -----------------------
   RESPONSIVE
   ----------------------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { max-width: 520px; margin: 0 auto; aspect-ratio: 1/1; }
  .hero__card { left: 0; }
  .services__grid,
  .services__grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
  .service-card,
  .services__grid--cols-4 .service-card,
  .services__grid--last-1 .service-card:last-child,
  .services__grid--last-2 .service-card:nth-last-child(-n+2),
  .services__grid--cols-4.services__grid--last-1 .service-card:last-child,
  .services__grid--cols-4.services__grid--last-2 .service-card:nth-last-child(-n+2),
  .services__grid--cols-4.services__grid--last-3 .service-card:nth-last-child(-n+3) { grid-column: span 1; }
  .service-card { border-right: 1px solid var(--rule); }
  .service-card:nth-child(2n) { border-right: 0; }
  .service-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .service-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .service-card:nth-last-child(-n+2) { border-bottom: 0; }
  /* Make the lone trailing card span the full tablet row when count is odd */
  .services__grid--last-1 .service-card:last-child,
  .services__grid--cols-4.services__grid--last-1 .service-card:last-child { grid-column: span 2; border-right: 0; }
  .network__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__brand { grid-column: span 2; }
  .doctors__grid { grid-template-columns: repeat(2, 1fr); }
  .intl__grid { grid-template-columns: repeat(2, 1fr); }
  .creds__inner { grid-template-columns: 1fr; }
  .creds__list { grid-template-columns: repeat(4, 1fr); }
  .cost-card,
  .costs__grid--cols-4 .cost-card { flex-basis: calc((100% - 2rem) / 3); }
  .testi__grid { grid-template-columns: 1fr; }
  .journal__grid { grid-template-columns: 1fr 1fr; }
  .signup__inner { grid-template-columns: 1fr; }
  .story__grid { grid-template-columns: 1fr; gap: 3rem; }
  .emergency-cta__inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .main-nav, .lang-toggle, .announce-bar__right { display: none; }
  .announce-bar__inner { justify-content: center; }
  /* Logo left, actions (emergency + burger) pinned to the right. */
  .nav-bar { grid-template-columns: 1fr auto; }
  .menu-toggle { display: flex; }
  .emergency-btn span { display: none; }
  .emergency-btn { padding: 0.7rem; width: 44px; height: 44px; justify-content: center; }
  .trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .how__track { grid-template-columns: 1fr; gap: 2rem; }
  .how__track::before { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .service-card { border-right: 0 !important; border-bottom: 1px solid var(--rule) !important; }
  .service-card:last-child { border-bottom: 0 !important; }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-head__right { justify-self: start; }
  .creds__list { grid-template-columns: repeat(2, 1fr); }
  .cost-card,
  .costs__grid--cols-4 .cost-card { flex-basis: 100%; }
  .doctors__grid { grid-template-columns: 1fr; }
  .intl__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
  .journal__grid { grid-template-columns: 1fr; }
  .story__timeline { grid-template-columns: 1fr; }
  .hero__badge { width: 80px; height: 80px; font-size: 0.7rem; }
  .hero__badge span { font-size: 1.2rem; }
  .signup__form { flex-direction: column; padding: 0.6rem; border-radius: 18px; }
  .signup__form input { padding: 0.6rem 1rem; }
  .signup__form .btn { width: 100%; justify-content: center; }
}

/* Mobile menu drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 200;
  padding: 2rem var(--gutter);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.mobile-drawer.open { transform: none; }
.mobile-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
}
.mobile-drawer__link,
.mobile-nav__list .menu-item > a {
  display: block;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--forest-deep);
  text-decoration: none;
  position: relative;
}
.mobile-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav__list .menu-item-has-children > a::after {
  content: '';
  position: absolute;
  right: 0.2rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.8px solid var(--forest-deep);
  border-bottom: 1.8px solid var(--forest-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
  opacity: 0.7;
}
.mobile-nav__list .menu-item-has-children.is-open > a::after {
  transform: translateY(-30%) rotate(225deg);
}
.mobile-nav__list .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.mobile-nav__list .menu-item-has-children.is-open > .sub-menu {
  max-height: 80vh;
}
.mobile-nav__list .sub-menu .menu-item > a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.85rem 0 0.85rem 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.mobile-nav__list > .menu-item:last-child > a { border-bottom: 0; }
.mobile-nav__list .current-menu-item > a,
.mobile-nav__list .current-menu-ancestor > a { color: var(--saffron); }

/* =====================================================
   CONTACT PAGE
   ===================================================== */

/* --- Hero --- */
.contact-hero {
  padding: 7rem 0 3.5rem;
  background: var(--paper);
  position: relative;
}
.contact-hero__grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 3.5rem;
  align-items: end;
}
.contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-soft);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--rule-strong);
  border-radius: 99px;
  background: var(--paper-warm);
}
.contact-hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 4px rgba(225, 90, 41, 0.18);
  animation: contact-pulse 1.8s var(--ease) infinite;
}
@keyframes contact-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(225, 90, 41, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(225, 90, 41, 0.05); }
}
.contact-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--forest-deep);
  margin: 1.5rem 0 1.4rem;
  max-width: 18ch;
}
.contact-hero__title em {
  font-style: italic;
  color: var(--saffron);
  font-weight: 400;
}
.contact-hero__sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}
.contact-hero__meta {
  border: 1px solid var(--rule-strong);
  border-radius: 18px;
  padding: 1.3rem 1.4rem;
  background: var(--paper-warm);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  overflow: hidden;
}
.contact-hero__meta::before {
  content: "";
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 3px rgba(15, 59, 46, 0.15);
}
.contact-hero__meta-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-hero__meta-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--forest-deep);
  letter-spacing: -0.02em;
}
.contact-hero__meta-hint {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.contact-hero__rule {
  display: block;
  width: 100%;
  height: 14px;
  color: var(--rule-strong);
  margin-top: 3rem;
}

/* --- Main grid --- */
.contact-main {
  padding: 4rem 0 6rem;
  background: var(--paper);
}
.contact-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

/* Info card (left) */
.contact-card {
  background: var(--forest-deep);
  border-radius: 28px;
  color: var(--paper);
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(200, 169, 97, 0.18), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(200, 220, 201, 0.10), transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.contact-card__inner { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.contact-card__title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--paper);
  margin: -0.2rem 0 0;
}
.contact-card__title em { font-style: italic; color: var(--gold-soft); font-weight: 400; }
.contact-card__sub {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(245, 239, 228, 0.72);
  margin: -0.4rem 0 0;
}
.contact-card__list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.contact-card__row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-top: 1px dashed rgba(245, 239, 228, 0.18);
}
.contact-card__row:first-child { border-top: 0; padding-top: 0.4rem; }
.contact-card__icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 228, 0.22);
  display: grid;
  place-items: center;
  color: var(--gold-soft);
  background: rgba(245, 239, 228, 0.04);
  transition: all 0.4s var(--ease);
}
.contact-card__icon svg { width: 16px; height: 16px; }
.contact-card__row:hover .contact-card__icon {
  background: var(--gold-soft);
  color: var(--forest-deep);
  border-color: var(--gold-soft);
}
.contact-card__row-body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.contact-card__row-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.6);
}
.contact-card__row-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.25;
  color: var(--paper);
  letter-spacing: -0.005em;
  word-break: break-word;
}
a.contact-card__row-value {
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
a.contact-card__row-value:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}
.contact-card__hours {
  border-top: 1px dashed rgba(245, 239, 228, 0.18);
  padding-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-card__hours-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 239, 228, 0.6);
}
.contact-card__hours-value {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(245, 239, 228, 0.92);
}
.contact-card__wa {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  background: rgba(245, 239, 228, 0.05);
  border: 1px solid rgba(245, 239, 228, 0.18);
  border-radius: 16px;
  color: var(--paper);
  text-decoration: none;
  transition: all 0.4s var(--ease);
}
.contact-card__wa svg { transition: transform 0.3s var(--ease); }
.contact-card__wa:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--forest-deep);
}
.contact-card__wa:hover svg { transform: rotate(-45deg); }
.contact-card__wa-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
}
.contact-card__wa-icon svg { width: 18px; height: 18px; transform: none !important; }
.contact-card__wa-text { display: flex; flex-direction: column; flex: 1; line-height: 1.1; gap: 0.2rem; }
.contact-card__wa-top {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}
.contact-card__wa-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.005em;
}

/* Form (right) */
.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 28px;
  padding: 2.6rem;
  position: relative;
}
.contact-form-wrap__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 0.8rem;
}
.contact-form-wrap__title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
  color: var(--forest-deep);
  letter-spacing: -0.018em;
  margin: 0 0 0.8rem;
}
.contact-form-wrap__title em { font-style: italic; color: var(--saffron); font-weight: 400; }
.contact-form-wrap__sub {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 1.8rem;
  max-width: 52ch;
}

/* Alert banners */
.contact-alert {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1.4rem;
  border: 1px solid;
}
.contact-alert__icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
}
.contact-alert--success {
  background: rgba(15, 59, 46, 0.06);
  color: var(--forest-deep);
  border-color: rgba(15, 59, 46, 0.22);
}
.contact-alert--success .contact-alert__icon { background: var(--forest); color: var(--paper); }
.contact-alert--error {
  background: rgba(225, 90, 41, 0.07);
  color: var(--saffron-deep);
  border-color: rgba(225, 90, 41, 0.25);
}
.contact-alert--error .contact-alert__icon { background: var(--saffron); color: var(--paper); }

/* Form structure */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.contact-form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form__field { display: flex; flex-direction: column; gap: 0.45rem; }
.contact-form__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-form__label span {
  color: var(--saffron);
  margin-left: 0.2rem;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--rule-strong);
  border-radius: 14px;
  background: var(--paper-warm);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.4;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
  appearance: none;
}
.contact-form textarea { resize: vertical; min-height: 140px; font-family: inherit; }
.contact-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--forest-deep) 50%),
    linear-gradient(135deg, var(--forest-deep) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.4rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(14, 27, 22, 0.42); }
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover { border-color: var(--ink-soft); background: var(--paper); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(15, 59, 46, 0.12);
}
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(225, 90, 41, 0.5);
}

.contact-form__consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: 0.4rem 0 0;
}
.contact-form__consent input[type="checkbox"] {
  margin-top: 0.18rem;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 5px;
  accent-color: var(--forest);
  cursor: pointer;
}
.contact-form__consent a { color: var(--forest-deep); border-bottom: 1px solid var(--rule-strong); }
.contact-form__consent a:hover { color: var(--saffron-deep); border-color: currentColor; }

.contact-form__actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}
.contact-form__submit { padding: 1rem 1.6rem; font-size: 0.95rem; }
.contact-form__hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --- Promise strip --- */
.contact-promise {
  padding: 5rem 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.contact-promise__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  max-width: 720px;
}
.contact-promise__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
  margin: 0;
}
.contact-promise__title em { font-style: italic; color: var(--saffron); font-weight: 400; }
.contact-promise__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule-strong);
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
}
.contact-promise__item {
  padding: 2.2rem 1.8rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: background 0.4s var(--ease);
}
.contact-promise__item:last-child { border-right: 0; }
.contact-promise__item:hover { background: var(--paper-warm); }
.contact-promise__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--saffron-deep);
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--rule-strong);
  border-radius: 99px;
  align-self: flex-start;
}
.contact-promise__item-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--forest-deep);
  margin: 0.4rem 0 0;
}
.contact-promise__item-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .contact-hero { padding: 5rem 0 3rem; }
  .contact-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-hero__meta { align-self: start; max-width: 280px; }
  .contact-main__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .contact-promise__grid { grid-template-columns: 1fr; }
  .contact-promise__item { border-right: 0; border-bottom: 1px solid var(--rule); }
  .contact-promise__item:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .contact-hero { padding: 4rem 0 2.5rem; }
  .contact-main { padding: 2.5rem 0 4rem; }
  .contact-card { padding: 1.8rem; border-radius: 22px; }
  .contact-form-wrap { padding: 1.6rem; border-radius: 22px; }
  .contact-form__row--split { grid-template-columns: 1fr; gap: 1.1rem; }
  .contact-form__actions { flex-direction: column; align-items: stretch; }
  .contact-form__submit { width: 100%; justify-content: center; }
  .contact-promise { padding: 3.5rem 0; }
  .contact-promise__item { padding: 1.6rem 1.4rem; }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

/* Hero -------------------------------------------------- */
.about-hero {
  padding: clamp(4rem, 7vw, 6.5rem) 0 clamp(3rem, 5vw, 4.5rem);
  background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--rule);
}
.about-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-hero__copy .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1.5rem;
}
.about-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
  margin: 0 0 1.6rem;
}
.about-hero__title em {
  font-style: italic;
  color: var(--saffron);
}
.about-hero__sub {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}
.about-hero__visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 60px -25px rgba(14,27,22,0.35);
}
.about-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.about-hero__stat {
  padding: 1.8rem 1.5rem;
  border-right: 1px solid var(--rule);
}
.about-hero__stat:last-child { border-right: 0; }
.about-hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--forest-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-hero__stat-suffix {
  color: var(--saffron);
  margin-left: 0.1em;
  font-size: 0.7em;
}
.about-hero__stat-label {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

/* Story / Mission / Vision ----------------------------- */
.about-story__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-top: 2rem;
}
.about-story__pillars {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.about-story__pillar {
  padding: 1.8rem 1.8rem;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: 18px;
  position: relative;
}
.about-story__pillar-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.8rem;
}
.about-story__pillar p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.about-story__visual {
  position: sticky;
  top: 6rem;
}
.about-story__img {
  width: 100%;
  border-radius: 22px;
  display: block;
  box-shadow: 0 16px 50px -20px rgba(14,27,22,0.3);
}
.about-story__quote {
  margin: 1.4rem 0 0;
  padding: 1.6rem 1.8rem;
  background: var(--forest-deep);
  color: var(--paper);
  border-radius: 18px;
  position: relative;
}
.about-story__quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
}
.about-story__quote figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Leadership ------------------------------------------- */
.leaders__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
.leaders__grid .leader-card { grid-column: span 2; }
.leaders__grid--last-2 .leader-card:nth-last-child(-n+2) { grid-column: span 3; }
.leaders__grid--last-1 .leader-card:last-child { grid-column: span 6; }

.leaders__grid--cols-4 { grid-template-columns: repeat(12, 1fr); }
.leaders__grid--cols-4 .leader-card { grid-column: span 3; }
.leaders__grid--cols-4.leaders__grid--last-3 .leader-card:nth-last-child(-n+3) { grid-column: span 4; }
.leaders__grid--cols-4.leaders__grid--last-2 .leader-card:nth-last-child(-n+2) { grid-column: span 6; }
.leaders__grid--cols-4.leaders__grid--last-1 .leader-card:last-child { grid-column: span 12; }

.leader-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.leader-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(14,27,22,0.35);
}
.leader-card__img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper-warm);
}
.leader-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.leader-card:hover .leader-card__img img { transform: scale(1.04); }
.leader-card__body { padding: 1.4rem 1.4rem 1.6rem; }
.leader-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest-deep);
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
}
.leader-card__role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.7rem;
}
.leader-card__bio {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Board ------------------------------------------------ */
.board { background: var(--paper-warm); }
.board__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.board-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1.4rem 1.4rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
}
.board-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
}
.board-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.board-card__initials {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
}
.board-card__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--forest-deep);
  margin: 0 0 0.2rem;
}
.board-card__role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.5rem;
}
.board-card__bio {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Certifications --------------------------------------- */
.about-certs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.about-cert {
  padding: 1.8rem 1.6rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 18px;
  text-align: center;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.about-cert:hover { transform: translateY(-3px); background: var(--paper-warm); }
.about-cert__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--forest-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-cert__icon svg { width: 100%; height: 100%; }
.about-cert__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest-deep);
  margin: 0 0 0.5rem;
}
.about-cert__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Recognitions ----------------------------------------- */
.recognitions { background: var(--paper-warm); }
.recognitions__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.recognition {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 1.6rem;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--rule);
}
.recognition:last-child { border-bottom: 0; }
.recognition__year {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--saffron);
  letter-spacing: 0.04em;
}
.recognition__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.25rem;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}
.recognition__body {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.recognition svg {
  color: var(--gold);
  width: 18px;
  height: 18px;
}

/* CSR & ESG -------------------------------------------- */
.csr__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.csr-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.csr-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.csr-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.csr-card:hover .csr-card__img img { transform: scale(1.04); }
.csr-card__body { padding: 1.4rem 1.6rem 1.6rem; }
.csr-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--forest-deep);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}
.csr-card__desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Newsroom --------------------------------------------- */
.newsroom__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.news-item {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}
.news-item__meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.news-item__date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--forest-deep);
  letter-spacing: 0.04em;
}
.news-item__outlet {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}
.news-item__headline {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}
a.news-item__headline:hover { color: var(--saffron); }
a.news-item__headline svg { width: 14px; height: 14px; opacity: 0.6; }

/* Blog teasers ----------------------------------------- */
.about-blog { background: var(--paper-warm); }
.about-blog__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}
.about-blog__card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
a.about-blog__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -22px rgba(14,27,22,0.3);
}
.about-blog__card--lead { grid-row: span 1; }
.about-blog__img { aspect-ratio: 16/9; overflow: hidden; }
.about-blog__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.about-blog__card:hover .about-blog__img img { transform: scale(1.04); }
.about-blog__body { padding: 1.3rem 1.4rem 1.5rem; }
.about-blog__cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--saffron);
}
.about-blog__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--forest-deep);
  margin: 0.5rem 0 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.about-blog__card--lead .about-blog__title { font-size: 1.6rem; }
.about-blog__excerpt {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.about-blog__meta {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  margin-top: 0.6rem;
}

/* Careers ---------------------------------------------- */
.careers__list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.career-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.3rem 1.6rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  transition: background 0.3s;
}
.career-row:hover { background: var(--paper-warm); }
.career-row__title { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.career-row__title h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--forest-deep);
  letter-spacing: -0.01em;
}
.career-row__type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  padding: 0.25rem 0.6rem;
  background: var(--paper-warm);
  border-radius: 50px;
}
.career-row__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.career-row__loc svg { width: 12px; height: 12px; color: var(--moss); }

/* Investor Relations ----------------------------------- */
.ir { background: var(--forest-deep); color: var(--paper); }
.ir .section-head__title { color: var(--paper); }
.ir .section-label { color: var(--gold-soft); }
.ir .section-head__right { color: var(--paper-warm); }
.ir__layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}
.ir__docs {
  list-style: none;
  margin: 0;
  padding: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  overflow: hidden;
}
.ir-doc {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.3rem 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ir-doc:last-child { border-bottom: 0; }
.ir-doc__year {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--gold-soft);
}
.ir-doc__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.2rem;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.ir-doc__desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--paper-warm);
  opacity: 0.85;
}
.ir-doc__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(223,199,138,0.4);
  border-radius: 50px;
  transition: background 0.3s, color 0.3s;
}
.ir-doc__cta:hover { background: var(--gold-soft); color: var(--forest-deep); }
.ir-doc__cta svg { width: 12px; height: 12px; }
.ir__contact {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  padding: 1.8rem 1.8rem;
  position: sticky;
  top: 6rem;
}
.ir__contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.6rem;
}
.ir__contact-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 1rem;
  color: var(--paper);
}
.ir__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-soft);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.3s;
}
.ir__contact-link:hover { color: var(--paper); }
.ir__contact-link svg { width: 16px; height: 16px; }

/* ABOUT — Responsive */
@media (max-width: 1100px) {
  .about-hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-hero__visual { max-width: 540px; margin: 0 auto; aspect-ratio: 4/3; }
  .about-hero__stats { grid-template-columns: repeat(2, 1fr); }
  .about-hero__stat:nth-child(2n) { border-right: 0; }
  .about-hero__stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .about-story__grid { grid-template-columns: 1fr; }
  .about-story__visual { position: static; }
  .leaders__grid,
  .leaders__grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
  .leader-card,
  .leaders__grid--cols-4 .leader-card,
  .leaders__grid--last-1 .leader-card:last-child,
  .leaders__grid--last-2 .leader-card:nth-last-child(-n+2),
  .leaders__grid--cols-4.leaders__grid--last-1 .leader-card:last-child,
  .leaders__grid--cols-4.leaders__grid--last-2 .leader-card:nth-last-child(-n+2),
  .leaders__grid--cols-4.leaders__grid--last-3 .leader-card:nth-last-child(-n+3) { grid-column: span 1; }
  .leaders__grid--last-1 .leader-card:last-child,
  .leaders__grid--cols-4.leaders__grid--last-1 .leader-card:last-child { grid-column: span 2; }
  .about-certs__grid { grid-template-columns: repeat(2, 1fr); }
  .csr__grid { grid-template-columns: 1fr; }
  .about-blog__grid { grid-template-columns: 1fr 1fr; }
  .about-blog__card--lead { grid-column: span 2; }
  .ir__layout { grid-template-columns: 1fr; }
  .ir__contact { position: static; }
}

@media (max-width: 768px) {
  .about-hero { padding: 3rem 0 2.5rem; }
  .about-hero__stats { grid-template-columns: 1fr; }
  .about-hero__stat { border-right: 0 !important; border-bottom: 1px solid var(--rule) !important; }
  .about-hero__stat:last-child { border-bottom: 0 !important; }
  .leaders__grid,
  .leaders__grid--cols-4 { grid-template-columns: 1fr; }
  .leader-card,
  .leaders__grid--cols-4 .leader-card,
  .leaders__grid--last-1 .leader-card:last-child,
  .leaders__grid--cols-4.leaders__grid--last-1 .leader-card:last-child,
  .leaders__grid--cols-4.leaders__grid--last-2 .leader-card:nth-last-child(-n+2),
  .leaders__grid--cols-4.leaders__grid--last-3 .leader-card:nth-last-child(-n+3) { grid-column: 1; }
  .board__grid { grid-template-columns: 1fr; }
  .board-card { grid-template-columns: 60px 1fr; gap: 1rem; padding: 1.2rem; }
  .board-card__avatar { width: 60px; height: 60px; }
  .about-certs__grid { grid-template-columns: 1fr; }
  .recognition {
    grid-template-columns: 1fr auto;
    grid-template-areas: "year star" "title star" "body star";
    padding: 1.2rem 1.4rem;
  }
  .recognition__year { grid-area: year; }
  .recognition__title { grid-area: title; }
  .recognition__body { grid-area: body; }
  .recognition svg { grid-area: star; align-self: start; }
  .news-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .about-blog__grid { grid-template-columns: 1fr; }
  .about-blog__card--lead { grid-column: 1; }
  .career-row { grid-template-columns: 1fr; gap: 1rem; padding: 1.2rem 1.4rem; }
  .career-row__cta { width: 100%; }
  .career-row__cta .btn { width: 100%; justify-content: center; }
  .ir-doc { grid-template-columns: 60px 1fr; padding: 1.2rem 1.4rem; }
  .ir-doc__cta { grid-column: span 2; justify-self: start; }
}

/* =========================================================
   ASTRA — Scroll to top button overrides
   ========================================================= */
#ast-scroll-top {
    background-color: var(--ast-global-color-0);
    font-size: 15px;
    bottom: 15px;
    padding: 12px 0px 0px 4px;
    margin: 0px 6px 0px 0px;
}

#ast-scroll-top .ast-icon.icon-arrow svg {
    margin-left: 1px;
    vertical-align: middle;
    transform: translate(0, -20%) rotate(180deg);
    width: 1.6em;
    margin-top: 2px;
}
