/* ==========================================================================
   Prime Medical Inc. — site stylesheet
   Mobile-first. Palette: Primary red #A0010B, primary blue #1253A4, white.
   Layout, spacing and motion follow the reference design approach.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --red: #a0010b;
  --red-dark: #7a0008;
  --red-tint: #fbeced;
  --blue: #1253a4;
  --blue-dark: #0b3a78;
  --blue-deep: #08244d;
  --blue-tint: #eaf1fb;
  --white: #ffffff;

  /* Text + surfaces (tints/shades of the brand blue) */
  --ink: #0a1d38;
  --ink-2: #3c5170;
  --ink-3: #6a7f9c;
  --rule: #e3eaf3;
  --bg: #ffffff;
  --bg-2: #f7f9fc;
  --bg-3: #eff4fa;

  --f: "Plus Jakarta Sans", system-ui, sans-serif;
  --gutter: 16px;
  --nav-h: 64px;
  --radius: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 8px 32px rgba(10, 29, 56, 0.08);
  --shadow-lg: 0 16px 48px rgba(10, 29, 56, 0.12);
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--f);
  font-size: 16px;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
:focus-visible {
  outline: 3px solid rgba(18, 83, 164, 0.45);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 999;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
}
.skip-link:focus {
  left: 8px;
}

/* ---------- 3. Layout helpers ---------- */
.section {
  padding: 72px var(--gutter);
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
}
.bg-2 {
  background: var(--bg-2);
}
.bg-3 {
  background: var(--bg-3);
}
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}
.split.top {
  align-items: start;
}
.mt-l {
  margin-top: 56px;
}

/* ---------- 4. Typography ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
}
.label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}
.h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.h2 strong {
  color: var(--blue);
}
.body-text {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.85;
  margin-top: 16px;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.prose {
  max-width: 780px;
}
.prose h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
  color: var(--blue);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 28px 0 8px;
}
.prose p {
  color: var(--ink-2);
  line-height: 1.85;
  margin-bottom: 14px;
}
.prose ul,
.prose ol {
  margin: 0 0 16px 20px;
  color: var(--ink-2);
  line-height: 1.8;
}
.prose li + li {
  margin-top: 4px;
}
.prose a {
  color: var(--blue);
  font-weight: 600;
}
.prose img {
  border-radius: 12px;
  margin: 24px 0;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 26px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 24px rgba(160, 1, 11, 0.28);
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(160, 1, 11, 0.32);
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 24px rgba(18, 83, 164, 0.28);
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}
.btn-line {
  background: #fff;
  color: var(--ink);
  border-color: var(--rule);
}
.btn-line:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-white {
  background: #fff;
  color: var(--red);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}
.btn-ghost-w {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost-w:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.68rem;
}

/* ---------- 6. Header / navigation ---------- */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#nav.stuck {
  border-color: var(--rule);
  box-shadow: 0 1px 30px rgba(10, 29, 56, 0.07);
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 26px;
}
.nav-links > li {
  position: relative;
}
.nav-links a,
.nav-links .nav-parent {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-links > li > a,
.nav-links > li > .nav-parent {
  padding: 22px 0;
}
/* "About" opens a menu but is not a page: a button styled like the links */
.nav-parent {
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-links a svg,
.nav-links .nav-parent svg {
  width: 10px;
  height: 10px;
  transition: transform 0.2s;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links li:hover > a,
.nav-links .nav-parent.active,
.nav-links li:hover > .nav-parent,
.nav-links li:focus-within > .nav-parent {
  color: var(--blue);
}
.nav-links > li > a.active::after,
.nav-links > li > .nav-parent.active::after {
  content: "";
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}
.nav-links li:hover > a svg,
.nav-links li:focus-within > a svg,
.nav-links li:hover > .nav-parent svg,
.nav-links li:focus-within > .nav-parent svg {
  transform: rotate(180deg);
}
.dropdown {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 230px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
}
.nav-links li:hover > .dropdown,
.nav-links li:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown a {
  display: flex;
  padding: 10px 12px;
  border-radius: 6px;
  letter-spacing: 0.06em;
}
.dropdown a:hover,
.dropdown a.active {
  background: var(--blue-tint);
}
.nav-right {
  display: none;
  align-items: center;
  gap: 14px;
}
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.socials a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.socials svg {
  width: 14px;
  height: 14px;
}
/* --- Hamburger: three bars that morph into an X --- */
.nav-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.15s;
}
.nav-burger:hover {
  border-color: var(--blue);
}
.nav-burger:active {
  transform: scale(0.94);
}
.burger-bars {
  position: relative;
  width: 20px;
  height: 14px;
}
.burger-bars span {
  position: absolute;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s, width 0.3s var(--ease), background 0.25s, top 0.35s var(--ease);
}
.burger-bars span:nth-child(1) { top: 0; width: 100%; }
.burger-bars span:nth-child(2) { top: 6px; width: 70%; }
.burger-bars span:nth-child(3) { top: 12px; width: 100%; }
.nav-burger:hover .burger-bars span:nth-child(2) { width: 100%; }
.nav-burger[aria-expanded="true"] {
  background: var(--red);
  border-color: var(--red);
}
.nav-burger[aria-expanded="true"] .burger-bars span {
  background: #fff;
}
.nav-burger[aria-expanded="true"] .burger-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.nav-burger[aria-expanded="true"] .burger-bars span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}
.nav-burger[aria-expanded="true"] .burger-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}
#nav.menu-on {
  background: #fff;
  border-color: var(--rule);
}

/* --- Mobile menu panel --- */
.mob-menu {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 199;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.45s var(--ease);
}
.mob-menu.open {
  clip-path: inset(0 0 0 0);
}
.mob-menu[hidden] {
  display: none;
}
.mob-list {
  padding: 8px var(--gutter) 0;
}
.mob-item {
  border-bottom: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mob-menu.open .mob-item {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.08s + var(--i) * 0.045s);
}
.mob-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mob-link {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.25s var(--ease);
}
/* mobile "About" row is a button (no page behind it) */
button.mob-link {
  background: none;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.mob-link:hover,
.mob-link:focus-visible {
  color: var(--blue);
  padding-left: 4px;
}
.mob-link.active {
  color: var(--red);
}
.mob-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  min-width: 18px;
}
.mob-link.active .mob-num {
  color: var(--red);
}
.mob-toggle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.mob-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s var(--ease);
}
.mob-item.expanded .mob-toggle {
  background: var(--blue-tint);
  border-color: rgba(18, 83, 164, 0.25);
  color: var(--blue);
}
.mob-item.expanded .mob-toggle svg {
  transform: rotate(180deg);
}
/* accordion: animate height via grid rows */
.mob-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.mob-item.expanded .mob-sub {
  grid-template-rows: 1fr;
}
.mob-sub > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0.35s;
}
.mob-item.expanded .mob-sub > div {
  visibility: visible;
}
.mob-sub a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 32px;
  padding: 11px 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.2s;
}
.mob-sub a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rule);
  transition: background 0.2s;
}
.mob-sub a:hover,
.mob-sub a.active {
  color: var(--blue);
}
.mob-sub a:hover::before,
.mob-sub a.active::before {
  background: var(--red);
}
.mob-sub > div > a:last-child {
  margin-bottom: 10px;
}
.mob-foot {
  margin-top: auto;
  padding: 28px var(--gutter) 36px;
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  opacity: 0;
  transition: opacity 0.4s var(--ease) 0.3s;
}
.mob-menu.open .mob-foot {
  opacity: 1;
}
.mob-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mob-ctas .btn {
  padding: 13px 12px;
}
.mob-label {
  margin-top: 24px;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.mob-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  word-break: break-word;
}
.mob-contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--red);
}
.mob-foot .socials {
  margin-top: 20px;
}
.mob-foot .socials a {
  width: 40px;
  height: 40px;
  background: #fff;
}
body.menu-open {
  overflow: hidden;
}
@media (max-width: 359px) {
  .mob-ctas { grid-template-columns: 1fr; }
}

/* ---------- 7. Home hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 56px;
  display: grid;
  gap: 48px;
  overflow: hidden;
}
.hero-h1 {
  font-size: clamp(3.2rem, 2rem + 6vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
}
.hero-h1 span {
  color: var(--red);
}
.hero-rule {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin: 28px 0;
  border-radius: 2px;
}
.hero-desc {
  font-size: 1.02rem;
  color: var(--ink-2);
  line-height: 1.8;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero-meta-num {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
}
.hero-meta-lbl {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.hero-left > * {
  animation: fadeUp 0.7s var(--ease) both;
}
.hero-left > :nth-child(2) { animation-delay: 0.08s; }
.hero-left > :nth-child(3) { animation-delay: 0.14s; }
.hero-left > :nth-child(4) { animation-delay: 0.2s; }
.hero-left > :nth-child(5) { animation-delay: 0.26s; }
.hero-left > :nth-child(6) { animation-delay: 0.32s; }

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  animation: fadeUp 0.9s var(--ease) 0.2s both;
}
.hv-main,
.hv-second {
  position: absolute;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 26px 60px rgba(10, 29, 56, 0.2);
}
.hv-main {
  top: 6%;
  left: 6%;
  width: 64%;
  height: 86%;
  animation: hv-float 9s ease-in-out infinite;
}
.hv-second {
  right: 0;
  top: 22%;
  width: 40%;
  height: 58%;
  border: 6px solid #fff;
  animation: hv-float 7s ease-in-out infinite 1s;
}
.hv-shape-1,
.hv-shape-2,
.hv-shape-3 {
  position: absolute;
  pointer-events: none;
}
.hv-shape-1 {
  top: 0;
  right: 10%;
  width: 80px;
  height: 80px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  opacity: 0.2;
  animation: hv-float 6s ease-in-out infinite;
}
.hv-shape-2 {
  bottom: 2%;
  right: 22%;
  width: 40px;
  height: 40px;
  background: var(--red);
  opacity: 0.14;
  border-radius: 4px;
  animation: hv-float-r 8s ease-in-out infinite 1s;
}
.hv-shape-3 {
  top: 12%;
  right: 3%;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.45;
  animation: hv-float 5s ease-in-out infinite 0.5s;
}
.hv-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  z-index: 4;
  animation: hv-card-float 5s ease-in-out infinite;
}
.hv-card-1 {
  top: 0;
  left: 0;
}
.hv-card-2 {
  bottom: 4%;
  left: 2%;
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  animation-delay: 1.5s;
}
.hv-card-3 {
  bottom: 12%;
  right: 0;
  animation-delay: 0.8s;
}
.hv-lbl {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.hv-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}
.hv-card-2 .hv-lbl {
  color: rgba(255, 255, 255, 0.65);
}
.hv-card-2 .hv-val {
  color: #fff;
}
.hv-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hv-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--red);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.hv-icon svg {
  width: 18px;
  height: 18px;
}
.hv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- 8. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--nav-h) + 56px) var(--gutter) 60px;
  background: var(--blue-deep);
  color: #fff;
  overflow: hidden;
}
.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(8, 36, 77, 0.95) 0%, rgba(8, 36, 77, 0.82) 50%, rgba(18, 83, 164, 0.45) 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  animation: fadeUp 0.6s var(--ease) both;
}
.crumbs a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.crumbs a:hover {
  color: #fff;
  text-decoration: underline;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 8px;
  opacity: 0.5;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 1.5rem + 3.6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 900px;
  animation: fadeUp 0.7s var(--ease) 0.05s both;
}
.page-hero p {
  margin-top: 18px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  animation: fadeUp 0.7s var(--ease) 0.12s both;
}
.page-hero .bar {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-top: 24px;
  border-radius: 2px;
}

/* ---------- 9. Ticker ---------- */
.ticker {
  background: var(--blue);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 36s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
}
.ticker-item::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.4;
}

/* ---------- 10. Cards ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 83, 164, 0.2);
}
.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-3);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.card:hover .card-media img {
  transform: scale(1.05);
}
.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 8px;
}
.card-title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.card-title a {
  text-decoration: none;
}
.card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.card:hover .card-title a {
  color: var(--blue);
}
.card-text {
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.7;
  margin-top: 10px;
  flex: 1;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.card-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s;
}
.card:hover .card-link svg {
  transform: translateX(4px);
}

/* service tiles */
.service {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  color: #fff;
}
.service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.7s var(--ease);
}
.service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 36, 77, 0.05) 30%, rgba(8, 36, 77, 0.92) 100%);
  transition: opacity 0.3s;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(160, 1, 11, 0.1) 20%, rgba(122, 0, 8, 0.92) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service:hover::before {
  opacity: 1;
}
.service:hover img {
  transform: scale(1.06);
}
.service-body {
  padding: 26px;
}
.service-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.service-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

/* stat tiles */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.stat {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  padding: 28px 20px;
  transition: background 0.3s, border-color 0.3s;
}
.stat:hover {
  background: var(--blue-tint);
  border-color: rgba(18, 83, 164, 0.18);
}
.stat:nth-child(1) { border-radius: 12px 0 0 0; }
.stat:nth-child(2) { border-radius: 0 12px 0 0; }
.stat:nth-child(3) { border-radius: 0 0 0 12px; }
.stat:nth-child(4) { border-radius: 0 0 12px 0; }
.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat:nth-child(1) .stat-num,
.stat:nth-child(4) .stat-num {
  color: var(--red);
}
.stat-lbl {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-top: 8px;
  line-height: 1.5;
}

/* pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule);
  border-radius: 99px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  background: #fff;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
a.pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-tint);
}

/* ---------- 11. Photo band ---------- */
.photo-band {
  position: relative;
  isolation: isolate;
  min-height: 480px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.photo-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(8, 36, 77, 0.94) 0%, rgba(8, 36, 77, 0.8) 50%, rgba(8, 36, 77, 0.25) 100%);
}
.photo-band-inner {
  padding: 72px var(--gutter);
  max-width: 760px;
  color: #fff;
}
.photo-band .label {
  color: #ffc2c6;
}
.photo-band h2 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.photo-band p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
  margin-top: 18px;
}
.photo-band .btn {
  margin-top: 28px;
}

/* ---------- 12. Products ---------- */
.filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.f-btn {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 9px 16px;
  border: 1px solid var(--rule);
  border-radius: 99px;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.2s;
}
.f-btn:hover,
.f-btn.on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.prod-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.pcard {
  position: relative;
  background: #fff;
  padding: 22px 20px;
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s var(--ease);
}
.pcard:hover {
  z-index: 2;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pcard[hidden] {
  display: none;
}
.pcard-img {
  height: 200px;
  border-radius: 10px;
  background: var(--bg-3);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 18px;
  transition: background 0.2s;
}
.pcard:hover .pcard-img {
  background: var(--blue-tint);
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.4s var(--ease);
}
.pcard:hover .pcard-img img {
  transform: scale(1.06);
}
.pcard-cat {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 6px;
}
.pcard-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
}
.pcard-name a {
  text-decoration: none;
}
.pcard-name a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.pcard-sub {
  font-size: 0.8rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-top: 6px;
  flex: 1;
}
.pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.pcard-cta {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 4px;
  padding: 6px 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.pcard:hover .pcard-cta {
  background: var(--blue);
  color: #fff;
}
.pcard .pcard-cta.shop {
  position: relative;
  z-index: 2;
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.pcard .pcard-cta.shop:hover {
  background: var(--red-dark);
}
.badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  border-radius: 4px;
  padding: 3px 8px;
}
.pcard .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
}
.count-note {
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 16px;
}

/* region selector */
.region {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  min-height: 240px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  text-decoration: none;
  background: var(--blue);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.region img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s var(--ease);
}
.region::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 36, 77, 0.15), rgba(8, 36, 77, 0.9));
}
.region::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(160, 1, 11, 0.15), rgba(122, 0, 8, 0.92));
  opacity: 0;
  transition: opacity 0.4s;
}
.region:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.region:hover::before {
  opacity: 1;
}
.region:hover img {
  transform: scale(1.06);
}
.region-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.region-go {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 6px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.region-go svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s;
}
.region:hover .region-go svg {
  transform: translateX(4px);
}

/* product detail */
.pd {
  display: grid;
  gap: 40px;
  align-items: start;
}
.pd-media {
  background: var(--bg-3);
  border-radius: 16px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.pd-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.pd h1 {
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pd-sub {
  font-size: 1.05rem;
  color: var(--ink-2);
  margin-top: 10px;
  line-height: 1.6;
}
.pd-intro {
  margin-top: 18px;
  color: var(--ink-2);
  line-height: 1.85;
}
.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.checklist {
  list-style: none;
  margin-top: 24px;
  border-top: 1px solid var(--rule);
}
.checklist li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.65;
  transition: padding-left 0.2s;
}
.checklist li:hover {
  padding-left: 6px;
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--red-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A0010B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.checklist strong {
  color: var(--ink);
}
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
  align-items: center;
}
.opt {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--blue);
  background: var(--blue-tint);
  border: 1px solid rgba(18, 83, 164, 0.16);
  border-radius: 99px;
  padding: 4px 10px;
}
.opt-lbl {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-right: 4px;
}

/* ---------- 13. Numbered feature list ---------- */
.wf-list {
  margin-top: 32px;
}
.wf {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left 0.2s;
}
.wf:first-child {
  border-top: 1px solid var(--rule);
}
.wf:hover {
  padding-left: 8px;
}
.wf-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.06em;
  min-width: 26px;
  padding-top: 3px;
}
.wf-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.wf-desc {
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.75;
}
.wf-desc p + p {
  margin-top: 8px;
}

/* dark box */
.dark-box {
  background: var(--blue-deep);
  border-radius: 16px;
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.dark-box::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(160, 1, 11, 0.3);
}
.dark-box::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(18, 83, 164, 0.35);
}
.dark-box > * {
  position: relative;
  z-index: 1;
}
.dark-box .q {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: #ff5a63;
}
.dark-box .t {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 12px;
}
.dark-box .s {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 18px;
  line-height: 1.75;
}
.dark-box a {
  color: #fff;
  font-weight: 700;
}
.dark-box .btn {
  margin-top: 24px;
}

/* ---------- 14. Team ---------- */
.team-grid {
  display: grid;
  gap: 24px;
}
.member {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.member-photo {
  aspect-ratio: 1;
  background: var(--bg-3);
  overflow: hidden;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(30%);
  transition: filter 0.4s, transform 0.6s var(--ease);
}
.member:hover .member-photo img {
  filter: none;
  transform: scale(1.04);
}
.member-body {
  padding: 22px 22px 26px;
}
.member-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.member-role {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-top: 4px;
}
.member-bio {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--ink-2);
  line-height: 1.75;
}
.member-bio p + p {
  margin-top: 10px;
}

/* ---------- 15. Gallery / downloads ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.gallery figure {
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery figure:hover img {
  transform: scale(1.05);
}
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dl-item {
  display: block;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.dl-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.dl-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(8, 36, 77, 0.94);
  display: grid;
  place-items: center;
  padding: 64px 16px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-height: 84vh;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.lightbox-close,
.lightbox-open {
  position: absolute;
  top: 14px;
  height: 40px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lightbox-close {
  right: 14px;
  width: 40px;
  font-size: 1.3rem;
}
.lightbox-open {
  right: 64px;
  padding: 0 16px;
}

/* ---------- 16. Videos ---------- */
.video-card .card-media {
  position: relative;
  aspect-ratio: 16 / 9;
}
.video-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 36, 77, 0.28);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  z-index: 2;
  transition: background 0.3s;
}
.play span {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.22);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.play svg {
  width: 22px;
  height: 22px;
  color: #fff;
  margin-left: 3px;
}
.video-card:hover .play {
  background: rgba(8, 36, 77, 0.1);
}
.video-card:hover .play span {
  transform: scale(1.1);
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.28);
}
.duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  background: rgba(8, 36, 77, 0.88);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.video-card .card-text a {
  color: var(--blue);
  word-break: break-all;
  position: relative;
  z-index: 3;
}

/* ---------- 17. Logos ---------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
}
.logos img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}
.logos a:hover img,
.logos img:hover {
  filter: none;
  opacity: 1;
  transform: translateY(-3px);
}

/* ---------- 18. CTA band ---------- */
.cta-band {
  background: var(--red);
  padding: 64px var(--gutter);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.cta-band::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: 30%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  align-items: center;
}
.cta-title {
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.cta-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 10px;
  max-width: 580px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- 19. Contact ---------- */
.offices {
  display: grid;
  gap: 18px;
}
.office {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px 24px 26px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.office::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  transition: background 0.3s;
}
.office:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.office:hover::before {
  background: var(--red);
}
.office-tag {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
}
.office-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 4px;
}
.ci-row {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-2);
  line-height: 1.6;
}
.ci-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--blue-tint);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.ci-icon svg {
  width: 15px;
  height: 15px;
}
.ci-row a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  word-break: break-word;
}
.ci-row a:hover {
  text-decoration: underline;
}
.form-card {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 32px 20px;
  position: relative;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  border-radius: 0 0 3px 3px;
}
.form-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.form-card > p {
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 8px 0 24px;
}
.form-row {
  display: grid;
  gap: 0 14px;
}
.fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.fl {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}
.fl .req {
  color: var(--red);
}
.fi {
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fi:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 83, 164, 0.12);
}
.fi[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(160, 1, 11, 0.1);
}
textarea.fi {
  resize: vertical;
  min-height: 120px;
}
.form-submit {
  width: 100%;
}
.form-msg {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.4em;
}
.form-msg.ok {
  color: var(--blue);
}
.form-msg.err {
  color: var(--red);
}

/* ---------- 20. Footer ---------- */
.site-footer {
  background: var(--blue-deep);
  color: #fff;
  padding: 64px var(--gutter) 28px;
}
.footer-top {
  display: grid;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-logo {
  display: inline-block;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
}
.footer-logo img {
  height: 32px;
  width: auto;
}
.footer-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-top: 18px;
  max-width: 340px;
}
.site-footer .socials {
  margin-top: 22px;
}
.site-footer .socials a {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
}
.site-footer .socials a:hover {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}
.f-col-h {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.f-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.f-links a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}
.f-links a:hover {
  color: #fff;
  padding-left: 4px;
}
.f-col-h + .f-links + .f-col-h {
  margin-top: 28px;
}
.f-office {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-style: normal;
}
.f-office + .f-office {
  margin-top: 16px;
}
.f-office strong {
  color: #fff;
  display: block;
  font-size: 0.84rem;
}
.f-office a {
  color: rgba(255, 255, 255, 0.92);
}
/* Certification badges: equal slots so logos of different shapes read as one row.
   Badge files are white artwork meant for the dark footer. */
.footer-badges {
  display: grid;
  gap: 18px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.badges-head {
  margin: 0;
}
.badge-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.badge {
  height: 84px;
  padding: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}
.badge img {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.25s;
}
.badge:hover img {
  opacity: 1;
}
.badge-wide img { max-height: 34px; }
.badge-mark img { max-height: 36px; }
.badge-seal img { max-height: 56px; }
@media (min-width: 640px) {
  .badge-list { grid-template-columns: repeat(6, 1fr); }
}
/* keep the floating back-to-top button from covering the footer link */
@media (max-width: 1023px) {
  .footer-bottom { padding-right: 52px; }
}
@media (min-width: 1024px) {
  .footer-badges {
    grid-template-columns: 150px 1fr;
    align-items: center;
    gap: 32px;
  }
  .badge { height: 96px; }
  .badge-wide img { max-height: 40px; }
  .badge-mark img { max-height: 42px; }
  .badge-seal img { max-height: 64px; }
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #fff;
}

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(160, 1, 11, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top svg {
  width: 18px;
  height: 18px;
}

/* labelled placeholder for content with no source image */
.ph {
  display: grid;
  place-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 160px;
  padding: 16px;
  background: repeating-linear-gradient(45deg, var(--bg-3), var(--bg-3) 10px, #e4ebf5 10px, #e4ebf5 20px);
  color: var(--ink-3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- 21. Motion ---------- */
.r {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.r.v {
  opacity: 1;
  transform: none;
}
.r-d1 { transition-delay: 0.08s; }
.r-d2 { transition-delay: 0.16s; }
.r-d3 { transition-delay: 0.24s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes hv-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes hv-float-r {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(-10px); }
}
@keyframes hv-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .r {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 22. Breakpoints (mobile-first) ---------- */
@media (min-width: 560px) {
  .prod-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .team-grid,
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .dl-grid,
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .form-card { padding: 40px 32px; }
  .hv-card { padding: 16px 18px; }
  .hv-val { font-size: 1.05rem; }
}
@media (min-width: 768px) {
  :root { --gutter: 6vw; }
  .section { padding: 96px var(--gutter); }
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .section-head > :first-child { max-width: 680px; }
  .grid-3,
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .dl-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr auto; }
  .offices { grid-template-columns: repeat(3, 1fr); }
  .pd { grid-template-columns: 1fr 1fr; gap: 56px; }
  .dark-box { padding: 48px 40px; }
}
@media (min-width: 1024px) {
  .nav-links,
  .nav-right { display: flex; }
  .nav-burger,
  .mob-menu { display: none; }
  .hero {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 52%;
    background: var(--bg-2);
    z-index: -1;
  }
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .grid-4,
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .dl-grid { grid-template-columns: repeat(5, 1fr); }
  .photo-band-inner { padding: 96px var(--gutter); }
  .contact-split { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .offices.stack { grid-template-columns: 1fr; }
  .sticky { position: sticky; top: calc(var(--nav-h) + 24px); }
}
/* header socials only when there is room for them beside the menu */
.nav-right .socials { display: none; }
#nav > nav { margin: 0 24px; }
@media (min-width: 1280px) {
  .nav-links { gap: 34px; }
  .nav-right .socials { display: flex; }
}

/* ---------- 23. Client feedback 2026-11-04: readability ----------
   Most visitors are older, so the logo, menu and running text are larger and
   the menu is bolder. Kept as one block so the sizes are easy to tune. */
:root {
  --nav-h: 80px;
}

/* header: bigger logo, bigger + bolder menu */
.nav-logo img {
  height: 52px;
}
.nav-links a,
.nav-links .nav-parent {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.nav-links > li > a,
.nav-links > li > .nav-parent {
  padding: 28px 0;
}
.nav-links > li > a.active::after,
.nav-links > li > .nav-parent.active::after {
  bottom: 20px;
  height: 3px;
}
.nav-links a svg,
.nav-links .nav-parent svg {
  width: 12px;
  height: 12px;
}
.dropdown {
  min-width: 260px;
}
.dropdown a {
  padding: 12px 14px;
  font-size: 0.9rem;
}
.nav-right .btn-sm {
  padding: 12px 20px;
  font-size: 0.82rem;
}
.mob-sub a {
  font-size: 1.02rem;
}

/* running text */
.label { font-size: 0.8rem; }
.hero-desc { font-size: 1.15rem; }
.body-text,
.prose p,
.prose li { font-size: 1.08rem; }
.page-hero p { font-size: 1.1rem; }
.crumbs { font-size: 0.78rem; }
.card-text,
.member-bio,
.wf-desc { font-size: 0.98rem; }
.checklist li { font-size: 1rem; }
.pcard-name { font-size: 1.08rem; }
.pcard-sub { font-size: 0.92rem; }
.pcard-cat,
.card-kicker,
.office-tag,
.member-role { font-size: 0.72rem; }
.ci-row { font-size: 0.96rem; }
.stat-lbl,
.hero-meta-lbl,
.region-go { font-size: 0.78rem; }
.fl { font-size: 0.74rem; }
.pill { font-size: 0.88rem; }
.fi { font-size: 1rem; }
.footer-desc { font-size: 0.95rem; }
.f-links a { font-size: 0.98rem; }
.f-office { font-size: 0.92rem; }

/* Meet the Team: compact cards with a small round photo next to name + role
   and a one-paragraph bio */
.member {
  display: grid;
  grid-template-columns: 88px 1fr;
  column-gap: 18px;
  align-items: center;
  padding: 24px;
}
.member-body {
  display: contents;
}
.member-photo {
  grid-row: 1 / span 2;
  width: 88px;
  height: 88px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rule);
}
.member:hover .member-photo {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red);
}
.member-name {
  grid-column: 2;
  align-self: end;
  font-size: 1.15rem;
}
.member-role {
  grid-column: 2;
  align-self: start;
}
.member-bio {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
@media (min-width: 1024px) {
  body[data-page="about"] .team-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

/* location pages: gallery beside the text uses 2 columns so photos stay large */
.split .gallery {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.split .gallery figure {
  border-radius: 14px;
}
/* Korea / India / Philippines: the photo column gets more width than the text */
@media (min-width: 1024px) {
  body[data-page="about"] .split {
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
  }
}

@media (min-width: 1024px) {
  .nav-links { gap: 30px; }
}
@media (min-width: 1280px) {
  .nav-links { gap: 40px; }
}
