/* ==========================================================================
   Nifesskinszltd — shared stylesheet
   Built On Trust. Delivered With Excellence.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --blue-800: #062B8C;
  --blue-700: #0B36A8;
  --blue-600: #1447D9;   /* primary */
  --blue-500: #2563EB;
  --blue-100: #DCE6FF;
  --blue-50:  #EEF3FF;

  --ink-900: #0B1B33;    /* headings */
  --ink-700: #23334D;
  --ink-600: #4B5A72;    /* body */
  --ink-400: #7C8AA0;

  --line: #E3E9F2;
  --line-soft: #EFF3F9;

  --bg: #FFFFFF;
  --bg-soft: #F7FAFF;
  --navy-a: #0A2472;
  --navy-b: #061A5B;

  --ok: #16A34A;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .05);
  --shadow-md: 0 4px 20px rgba(11, 27, 51, .07);
  --shadow-lg: 0 12px 40px rgba(11, 27, 51, .10);

  --wrap: 1200px;
  --gutter: 24px;

  --header-h: 78px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

/* 2. Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-600);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* 3. Typography ------------------------------------------------------------ */
h1, h2, h3, h4 {
  color: var(--ink-900);
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -.022em;
  font-weight: 800;
}

h1 { font-size: clamp(2.1rem, 1.3rem + 2.9vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.5vw, 2.1rem); }
h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.012em; }
h4 { font-size: .95rem; font-weight: 700; }

p { margin: 0 0 1rem; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .75rem;
}

.accent { color: var(--blue-600); }

.lead { font-size: 1rem; color: var(--ink-600); max-width: 52ch; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { margin-inline: auto; }
.section-head h2 { margin-bottom: .35rem; }

/* 4. Layout ---------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 6vw, 76px); }
.section--tight { padding-block: clamp(32px, 4vw, 48px); }
.section--soft { background: var(--bg-soft); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* 5. Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: .78em 1.4em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn svg { flex: none; }

.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: var(--blue-700); }

.btn--outline {
  background: #fff;
  color: var(--blue-600);
  border-color: var(--blue-100);
}
.btn--outline:hover { border-color: var(--blue-600); background: var(--blue-50); }

.btn--ghost-light {
  background: #fff;
  color: var(--blue-600);
  border-color: transparent;
}
.btn--ghost-light:hover { background: var(--blue-50); }

.btn--block { width: 100%; justify-content: center; padding-block: .95em; }
.btn--lg { padding: .95em 1.6em; font-size: .9375rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--blue-600);
}
.link-arrow:hover { color: var(--blue-800); }
.link-arrow svg { transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* 6. Header / navigation --------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { width: 34px; height: 40px; flex: none; }
.logo__text { line-height: 1; }
.logo__rc {
  display: block;
  font-size: .5rem;
  font-weight: 600;
  color: var(--ink-400);
  letter-spacing: .04em;
  margin-bottom: 2px;
}
.logo__name {
  display: block;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -.03em;
}
.logo__tag {
  display: block;
  font-size: .4375rem;
  font-weight: 600;
  color: var(--ink-600);
  letter-spacing: .015em;
  margin-top: 2px;
}

/* Primary nav */
.nav { display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__link:hover { color: var(--blue-600); }

.nav__item.is-current > .nav__link { color: var(--blue-600); }
.nav__item.is-current > .nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue-600);
}

.nav__item { position: relative; }
.nav__caret { transition: transform .18s ease; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 232px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }

.nav__menu a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-700);
}
.nav__menu a:hover { background: var(--blue-50); color: var(--blue-600); }

.header__cta { flex: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* 7. Hero patterns --------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__copy { padding-block: clamp(40px, 5vw, 68px); }
.hero__copy h1 { margin-bottom: 1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }

/* Home hero: laptop + orbiting service chips */
.hero--home { background: #fff; }

.hero-badge {
  display: inline-block;
  padding: .4em .85em;
  border-radius: 4px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}
.assurance { display: flex; gap: 10px; align-items: flex-start; }
.assurance svg { color: var(--blue-600); margin-top: 2px; flex: none; }
.assurance strong {
  display: block;
  font-size: .8125rem;
  color: var(--ink-900);
  font-weight: 700;
}
.assurance span { font-size: .75rem; color: var(--ink-400); }

.stage { position: relative; padding: 20px 0; }
.stage__map { width: 100%; height: auto; }
.stage__device {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 62%;
  transform: translate(-50%, -50%);
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.25;
  white-space: nowrap;
}
.chip svg { color: var(--blue-600); flex: none; }
.chip--1 { top: 4%;  left: 34%; }
.chip--2 { top: 16%; right: 0; }
.chip--3 { top: 33%; left: -4%; }
.chip--4 { top: 44%; right: -2%; }
.chip--5 { top: 66%; right: 4%; }

/* Interior hero: copy left, media bleeding right */
.hero--split .hero__grid { gap: 40px; align-items: stretch; }
.hero--split .hero__media {
  position: relative;
  min-height: 340px;
  border-radius: 0 0 0 var(--radius-lg);
  overflow: hidden;
}
.hero--split .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--tint { background: linear-gradient(105deg, #F4F8FF 0%, #FFFFFF 62%); }

.hero-points { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 2rem; }
.hero-point { display: flex; gap: 11px; max-width: 200px; }
.hero-point__icon {
  width: 34px; height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
}
.hero-point strong { display: block; font-size: .8125rem; color: var(--ink-900); }
.hero-point span { font-size: .75rem; color: var(--ink-400); line-height: 1.45; }

/* 8. Cards ----------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.card p { font-size: .8125rem; margin-bottom: 1rem; }
.card h3 { margin-bottom: .4rem; }

.card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-600);
  margin-bottom: 1rem;
}

/* Flat panel (mission / vision / values / promise) */
.panel {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.panel svg { color: var(--blue-600); margin-bottom: .85rem; }
.panel h3 { margin-bottom: .35rem; }
.panel p, .panel ul { font-size: .78rem; color: var(--ink-600); }
.panel ul { margin: 0; padding-left: 1.1em; }

.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: .78rem;
}
.values-list li::before { content: "• "; color: var(--ink-900); }

/* Project cards */
.project {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.project:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.project__media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__tag {
  position: absolute;
  top: 10px; left: 10px;
  padding: .3em .6em;
  border-radius: 4px;
  background: var(--blue-600);
  color: #fff;
  font-size: .625rem;
  font-weight: 700;
}
.project__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.project__body h3 { font-size: .9375rem; margin-bottom: .35rem; }
.project__body p { font-size: .78rem; margin-bottom: .9rem; }
.project__body .link-arrow { margin-top: auto; align-self: flex-start; }

/* Team cards */
.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}
.person__photo { aspect-ratio: 1 / 1; background: var(--bg-soft); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__body { padding: 13px 15px 15px; }
.person__body h3 { font-size: .875rem; margin-bottom: .1rem; }
.person__role { font-size: .75rem; color: var(--ink-400); }
.person__social { display: flex; gap: 6px; margin-top: .7rem; }
.person__social a {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--blue-50);
  color: var(--blue-600);
}
.person__social a:hover { background: var(--blue-600); color: #fff; }

/* 9. Stats ----------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.stats--4 { grid-template-columns: repeat(4, 1fr); }

.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 14px;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: 0; }
.stat svg { color: var(--blue-600); flex: none; }
.stat b {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.stat span { font-size: .75rem; color: var(--ink-400); }

/* Dark variant */
.stats--dark {
  background: linear-gradient(100deg, var(--navy-a), var(--navy-b));
  border: 0;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.stats--dark .stat { flex-direction: column; gap: 4px; border-right-color: rgba(255,255,255,.12); padding-block: 26px; }
.stats--dark .stat svg { color: #fff; opacity: .9; }
.stats--dark .stat b { color: #fff; font-size: 1.55rem; }
.stats--dark .stat span { color: rgba(255,255,255,.72); }

/* 10. Process steps -------------------------------------------------------- */
/* Vertical (About) */
.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 14px; }
.step__num {
  width: 26px; height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
}
.step h3 { font-size: .875rem; margin-bottom: .1rem; }
.step p { font-size: .78rem; }

/* Horizontal (Services) */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
}
.flow::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line);
}
.flow__item { text-align: center; position: relative; padding-inline: 8px; }
.flow__num {
  width: 26px; height: 26px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px #fff;
}
.flow__item svg { margin: 0 auto .75rem; color: var(--blue-600); }
.flow__item h3 { font-size: .875rem; margin-bottom: .25rem; }
.flow__item p { font-size: .75rem; margin: 0 auto; max-width: 22ch; }

/* 11. Feature strips ------------------------------------------------------- */
.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.strip__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 18px;
  border-right: 1px solid var(--line);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.35;
}
.strip__item:last-child { border-right: 0; }
.strip__item svg { color: var(--blue-600); flex: none; }

.partner-band {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 34px 20px;
  text-align: center;
}
.partner-band h2 { margin-bottom: 1.75rem; }

/* Client logo rail */
.rail {
  background: var(--bg-soft);
  border-block: 1px solid var(--line-soft);
  padding-block: 22px;
}
.rail__label {
  text-align: center;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin-bottom: 16px;
}
.rail__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 0;
}
.rail__logos img {
  height: 26px;
  width: auto;
  margin-inline: auto;
  opacity: .82;
}
.rail__logos > * { border-right: 1px solid var(--line); padding-inline: 10px; }
.rail__logos > *:last-child { border-right: 0; }

/* Carousel (Projects page) */
.carousel { display: flex; align-items: center; gap: 14px; }
.carousel__track {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 0;
  overflow: hidden;
}
.carousel__track > * {
  border-right: 1px solid var(--line);
  padding-inline: 14px;
  display: grid;
  place-items: center;
}
.carousel__track > *:last-child { border-right: 0; }
.carousel__track img { height: 30px; width: auto; opacity: .85; }
.carousel__btn {
  width: 34px; height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-600);
  cursor: pointer;
}
.carousel__btn:hover { border-color: var(--blue-600); color: var(--blue-600); }

/* 12. Filters -------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter {
  padding: .58em 1.15em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.filter:hover { border-color: var(--blue-600); color: var(--blue-600); }
.filter.is-active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

.is-hidden { display: none !important; }

/* 13. Media / video -------------------------------------------------------- */
.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px; height: 62px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--blue-600);
  cursor: pointer;
  transition: transform .18s ease;
}
.play:hover { transform: scale(1.06); }

.media-frame__caption {
  position: absolute;
  left: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--blue-600);
  color: #fff;
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 78%;
}

/* Checklist */
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 1.5rem; }
.check { display: flex; gap: 9px; font-size: .8125rem; color: var(--ink-700); }
.check svg { color: var(--blue-600); flex: none; margin-top: 2px; }

/* 14. Forms ---------------------------------------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
}

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.input {
  width: 100%;
  padding: .82em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .8125rem;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.input::placeholder { color: var(--ink-400); }
.input:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(20, 71, 217, .12);
}
textarea.input { min-height: 132px; resize: vertical; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .75rem;
  color: var(--ink-600);
  margin: 4px 0 18px;
}
.consent input { margin-top: 3px; accent-color: var(--blue-600); }

.form-note {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #15803D;
  font-size: .78rem;
}
.form-error { border-color: #FCA5A5 !important; }
.error-text { color: #B91C1C; font-size: .72rem; margin-top: 5px; }

/* Contact channels */
.channel { display: flex; gap: 14px; margin-bottom: 22px; }
.channel__icon {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
}
.channel h3 { font-size: .875rem; margin-bottom: .2rem; }
.channel p { font-size: .8125rem; margin: 0; }
.channel .muted { color: var(--ink-400); font-size: .75rem; }

.support-box {
  background: var(--blue-50);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 14px;
}
.support-box svg { color: var(--blue-600); flex: none; }
.support-box h3 { font-size: .9375rem; margin-bottom: .3rem; }
.support-box p { font-size: .8125rem; margin-bottom: .9rem; }

/* Map */
.map {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  background: #EAF0F6;
}
.map img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.map__card {
  position: relative;
  margin: 26px;
  max-width: 268px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}
.map__card h3 { font-size: .9375rem; margin-bottom: .3rem; }
.map__card p { font-size: .78rem; margin-bottom: 1rem; }
.map__pin {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  margin-bottom: 14px;
}

/* 15. CTA bands ------------------------------------------------------------ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--blue-700), var(--blue-600) 60%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  align-items: center;
}
.cta-band__copy { padding: clamp(26px, 3.4vw, 40px); }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .86); font-size: .875rem; margin-bottom: 1.5rem; max-width: 46ch; }
.cta-band__media { align-self: stretch; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .btn--ghost-light { color: var(--blue-700); }

.cta-soft {
  background: var(--bg-soft);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.6fr auto 1fr;
  align-items: center;
  gap: 24px;
  overflow: hidden;
}
.cta-soft__copy { padding: 28px clamp(20px, 3vw, 36px); }
.cta-soft h2 { font-size: 1.4rem; margin-bottom: .3rem; }
.cta-soft p { font-size: .8125rem; margin: 0; }
.cta-soft__media { align-self: stretch; min-height: 128px; }
.cta-soft__media img { width: 100%; height: 100%; object-fit: cover; }

/* 16. Footer --------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line-soft); padding-top: clamp(40px, 5vw, 56px); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 36px;
  padding-bottom: 34px;
}
.footer__about p { font-size: .8125rem; margin: 18px 0 0; max-width: 34ch; }

.footer h4 {
  font-size: .9375rem;
  color: var(--ink-900);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul li { font-size: .8125rem; color: var(--ink-600); }
.footer ul a:hover { color: var(--blue-600); }
.footer ul a.is-current { color: var(--blue-600); font-weight: 600; }

.footer__contact li { display: flex; gap: 11px; align-items: flex-start; }
.footer__contact svg { color: var(--blue-600); flex: none; margin-top: 3px; }

.socials { display: flex; gap: 9px; margin-top: 20px; }
.socials a {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-600);
}
.socials a:hover { border-color: var(--blue-600); color: var(--blue-600); background: var(--blue-50); }

/* Newsletter */
.newsletter {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.newsletter__icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue-50);
  color: var(--blue-600);
}
.newsletter h4 { margin-bottom: .15rem; }
.newsletter p { font-size: .78rem; margin: 0; }
.newsletter form { display: flex; gap: 10px; }
.newsletter .input { min-width: 250px; }

.footer__legal {
  border-top: 1px solid var(--line-soft);
  padding-block: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .75rem;
  color: var(--ink-400);
}
.footer__legal nav { display: flex; align-items: center; gap: 10px; }
.footer__legal a { color: var(--ink-400); }
.footer__legal a:hover { color: var(--blue-600); }

/* 17. Utilities ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue-600);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 600;
}
.skip-link:focus { left: 8px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 18. Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats, .stats--4 { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .strip { grid-template-columns: repeat(3, 1fr); gap: 18px 0; }
  .strip__item:nth-child(3n) { border-right: 0; }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 26px 8px; }
  .flow::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gutter) 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }

  .nav__link { width: 100%; justify-content: space-between; padding: 12px 4px; font-size: .9375rem; }
  .nav__item.is-current > .nav__link::after { display: none; }

  .nav__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    padding: 0 0 6px 12px;
    margin-bottom: 6px;
    min-width: 0;
    display: none;
  }
  .nav__item.is-open .nav__menu { display: block; }

  .header__cta { display: none; }

  .hero__grid,
  .hero--split .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero--split .hero__media { min-height: 260px; border-radius: var(--radius); }
  .hero__copy { padding-block: 40px 0; }

  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__media { min-height: 180px; }
  .cta-soft { grid-template-columns: 1fr; }
  .cta-soft__copy { padding-bottom: 0; }
  .cta-soft .btn { margin: 0 clamp(20px, 3vw, 36px); }
  .cta-soft__media { display: none; }

  .newsletter { grid-template-columns: 1fr; gap: 12px; }
  .newsletter form { flex-wrap: wrap; }
  .newsletter .input { min-width: 0; flex: 1; }
}

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .stats, .stats--4 { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line-soft); }
  .stats--dark .stat:nth-child(odd) { border-right-color: rgba(255,255,255,.12); }
  .stats--dark .stat { border-bottom-color: rgba(255,255,255,.12); }

  .strip { grid-template-columns: 1fr; }
  .strip__item { border-right: 0; padding-inline: 0; }
  .flow { grid-template-columns: 1fr; gap: 22px; text-align: left; }
  .flow__item { display: grid; grid-template-columns: 26px 1fr; gap: 4px 14px; text-align: left; }
  .flow__num { margin: 0; grid-row: span 3; }
  .flow__item svg { margin: 0 0 .3rem; }
  .flow__item p { margin: 0; max-width: none; }

  .field-row { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .rail__logos { grid-template-columns: repeat(3, 1fr); gap: 18px 0; }
  .rail__logos > *:nth-child(3n) { border-right: 0; }
  .carousel__track { grid-template-columns: repeat(2, 1fr); }
  .map__card { margin: 16px; max-width: none; }
  .hero-assurances { gap: 20px; }
  .footer__legal { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .logo__name { font-size: 1.1rem; }
  .hero__actions .btn { flex: 1; justify-content: center; }
}

/* 19. Desktop dropdown reveal --------------------------------------------- */
@media (min-width: 961px) {
  .nav__item:hover > .nav__menu,
  .nav__item:focus-within > .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__item:hover > .nav__link > .nav__caret,
  .nav__item:focus-within > .nav__link > .nav__caret { transform: rotate(180deg); }
}

/* 20. Refinements ---------------------------------------------------------- */
.nav { list-style: none; margin: 0; padding: 0; }

/* Interior hero media reaches the container edge */
@media (min-width: 961px) {
  .hero--split .hero__media {
    margin-right: calc(var(--gutter) * -1);
    border-radius: var(--radius) 0 0 var(--radius);
  }
}

/* Keep the home-hero chips inside the stage on narrower screens */
@media (max-width: 1080px) {
  .chip { font-size: .6875rem; padding: 7px 10px; }
  .chip--2, .chip--4 { right: 0; }
  .chip--3 { left: 0; }
  .chip--5 { right: 2%; }
}
@media (max-width: 560px) {
  .chip--3, .chip--5 { display: none; }
  .chip--1 { left: 24%; }
}

/* Breathing room for the services CTA button on wide screens */
@media (min-width: 961px) {
  .cta-soft .btn { margin-block: 20px; }
}

/* 21. Honeypot + error page ------------------------------------------------ */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notfound { text-align: center; padding-block: clamp(60px, 9vw, 120px); }
.notfound__code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--blue-600);
  margin-bottom: .5rem;
}
.notfound p { margin-inline: auto; }
.notfound .hero__actions { justify-content: center; }

/* Error state for the form status message */
.form-note--bad {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #B91C1C;
}
.btn[disabled] { opacity: .65; cursor: progress; }
