/**
 * Prime Manpower Solution — Main Stylesheet
 */
@import url("tokens.css");

/* ===================== 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(--fs-body);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--surface);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Deep links (e.g. /industries#automotive) must clear the sticky header. */
[id] { scroll-margin-top: calc(var(--header-h) + var(--space-4)); }
::selection { background: var(--blue-100); color: var(--navy-900); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-strong);
  margin: 0 0 var(--space-4);
  font-weight: var(--fw-bold);
  letter-spacing: var(--track-heading);
  line-height: var(--lh-snug);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--track-display); }
h2 { font-size: var(--fs-h2); line-height: 1.15; letter-spacing: var(--track-display); }
h3 { font-size: var(--fs-h3); margin-bottom: var(--space-3); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-semibold); margin-bottom: var(--space-2); }
p { margin: 0 0 var(--space-3); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text-strong); font-weight: var(--fw-semibold); }

a { color: var(--text-link); text-decoration: none; transition: color var(--t-fast) var(--ease-std); }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: -9999px;
}
.skip-link:focus {
  left: var(--space-4); top: var(--space-4); z-index: 999;
  padding: var(--space-3) var(--space-5); background: var(--navy-900); color: #fff;
  border-radius: var(--r-md);
}

/* ===================== Layout ===================== */
.container {
  width: 100%; max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--max-w-wide); }
.container--text { max-width: var(--max-w-text); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-tight); }
.section--subtle { background: var(--surface-subtle); }
.section--accent { background: var(--surface-accent); }

/**
 * Band seams — when two neighbouring sections sit on the same surface there is no
 * colour change to justify two full bands of padding, so the seam collapses to one.
 * Sections on different surfaces keep both bands: the colour break needs the breathing room.
 */
.section:not(.section--subtle):not(.section--accent):not(.section--dark)
  + .section:not(.section--subtle):not(.section--accent):not(.section--dark),
.section--subtle + .section--subtle,
.section--accent + .section--accent,
.section--dark + .section--dark {
  padding-top: 0;
}
.section--dark {
  background: var(--navy-900);
  color: var(--text-inverse-soft);
  position: relative;
  overflow: hidden;
}
/* A dark band running straight into the dark footer needs no full closing band. */
.section--dark:last-child { padding-bottom: var(--section-y-tight); }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(27, 154, 224, 0.16), transparent 65%),
    radial-gradient(ellipse 40% 40% at 5% 100%, rgba(245, 137, 31, 0.08), transparent 60%);
}
.section--dark > * { position: relative; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--text-inverse-soft); }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ===================== Type utilities ===================== */
.eyebrow {
  display: flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-body); font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold); letter-spacing: var(--track-eyebrow);
  text-transform: uppercase; color: var(--blue-600);
  margin: 0 0 var(--space-4);
}
.eyebrow::before {
  content: ""; width: 1.75rem; height: 2px; flex: none;
  background: var(--orange-400); border-radius: 2px;
}
.eyebrow--center { justify-content: center; }
.section--dark .eyebrow { color: var(--blue-500); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-body); }
.section--dark .lead { color: var(--text-inverse-soft); }
.answer-first {
  font-size: var(--fs-lead); line-height: 1.58; color: var(--text-body);
  max-width: 58ch;
}
.section-head { max-width: 42rem; margin-bottom: var(--block-y); }
.section-head--narrow { max-width: 38rem; }
.section-head h2 { margin-bottom: var(--space-3); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .answer-first { margin-inline: auto; }
.section-head p:last-child { margin-bottom: 0; }

.text-center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.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;
}

/* ===================== Brand lockup ===================== */
.brand {
  display: inline-flex; align-items: center;
  color: inherit; text-decoration: none; flex: none;
  line-height: 0;
}
.brand:hover { color: inherit; opacity: 0.92; }
.brand__img {
  display: block;
  height: 3.25rem;
  width: auto;
  max-width: min(52vw, 13.5rem);
  object-fit: contain;
  object-position: left center;
}
.site-header .brand__img {
  height: 3.75rem;
  max-width: min(58vw, 15.5rem);
}
@media (min-width: 960px) {
  .site-header .brand__img {
    height: 4.25rem;
    max-width: 17.5rem;
  }
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: var(--fs-sm); font-weight: var(--fw-semibold);
  line-height: 1; padding: 0.9375rem 1.375rem; border-radius: var(--r-md);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--t-base) var(--ease-std), color var(--t-base) var(--ease-std),
              border-color var(--t-base) var(--ease-std), box-shadow var(--t-base) var(--ease-std),
              transform var(--t-fast) var(--ease-out);
}
.btn svg { width: 1.0625rem; height: 1.0625rem; flex: none; transition: transform var(--t-base) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--lg { padding: 1.0625rem 1.75rem; font-size: var(--fs-body); }
.btn--sm { padding: 0.625rem 1rem; font-size: var(--fs-xs); }
.btn--block { width: 100%; }

.btn:active { transform: translateY(0) scale(0.99); }
.btn--primary { background: var(--orange-600); color: #fff; box-shadow: var(--e2); }
.btn--primary:hover { background: var(--orange-700); color: #fff; transform: translateY(-1px); box-shadow: var(--e3); }

.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); }

.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--gray-300); }
.btn--outline:hover { background: var(--gray-50); color: var(--navy-900); border-color: var(--navy-900); }

/* Light-on-dark outline: used on hero and dark sections */
.btn--ghost {
  background: rgba(255, 255, 255, 0.06); color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.btn-row--center { justify-content: center; }

/* Narrow screens: let long CTA labels wrap instead of forcing overflow */
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; }
  .btn-row .btn, .cta__actions .btn { width: 100%; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--blue-600);
}
.link-arrow svg { width: 1rem; height: 1rem; transition: transform var(--t-base) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ===================== Header ===================== */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base), background var(--t-base);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 2px rgba(8, 27, 51, 0.05), 0 8px 24px -16px rgba(8, 27, 51, 0.25);
  background: rgba(255, 255, 255, 0.94);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--space-6);
  height: var(--header-h);
}
.nav { display: none; align-items: center; gap: 0.125rem; margin-left: auto; }
.nav__item { position: relative; }
/* Invisible bridge so the pointer can cross the gap into the mega panel without it closing. */
.nav__item::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 0.75rem;
}
.nav__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.8125rem; border-radius: var(--r-md);
  font-size: var(--fs-sm); font-weight: var(--fw-medium); color: var(--gray-700);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: var(--navy-900); background: var(--gray-50); }
.nav__link.is-active { color: var(--navy-900); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 0.8125rem; right: 0.8125rem; bottom: -0.15rem;
  height: 2px; background: var(--orange-400); border-radius: 2px;
}
.nav__caret { width: 0.75rem; height: 0.75rem; opacity: 0.5; transition: transform var(--t-base); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 0.625rem); left: -0.5rem;
  width: 30rem; padding: var(--space-3);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.125rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--e4);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), visibility var(--t-base);
}
.nav__item:hover > .mega, .nav__item:focus-within > .mega {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega__link {
  display: flex; gap: 0.625rem; padding: 0.6875rem 0.75rem;
  border-radius: var(--r-md); color: var(--gray-700);
}
.mega__link:hover { background: var(--blue-50); color: var(--navy-900); }
.mega__icon { flex: none; width: 1.75rem; height: 1.75rem; color: var(--blue-600); }
.mega__icon svg { width: 1.125rem; height: 1.125rem; margin: 0.3rem; }
.mega__label { font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--navy-900); display: block; line-height: 1.35; }
.mega__desc { font-size: 0.75rem; color: var(--text-muted); display: block; margin-top: 0.15rem; line-height: 1.4; }

.header-actions { display: none; align-items: center; gap: var(--space-4); }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--fs-sm); font-weight: var(--fw-semibold); color: var(--navy-900);
}
.header-phone svg { width: 1rem; height: 1rem; color: var(--blue-600); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  margin-left: auto; width: 2.75rem; height: 2.75rem; padding: 0 0.7rem;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--navy-900); border-radius: 2px; transition: transform var(--t-base), opacity var(--t-base); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0; z-index: var(--z-overlay);
  background: #fff; overflow-y: auto; padding: var(--space-4) var(--gutter) var(--space-10);
  display: none;
}
.mobile-nav.is-open { display: block; }
.mobile-nav__link {
  display: block; padding: 0.8125rem 0; font-size: 1.0625rem;
  font-weight: var(--fw-semibold); color: var(--navy-900);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav__sub { padding: 0.25rem 0 0.75rem; }
.mobile-nav__sub a {
  display: block; padding: 0.5rem 0 0.5rem 0.875rem; font-size: var(--fs-sm);
  color: var(--text-body); border-left: 2px solid var(--line);
}
.mobile-nav .btn { margin-top: var(--space-6); }
.mobile-nav__contact { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--line); font-size: var(--fs-sm); }

@media (min-width: 1080px) {
  .nav, .header-actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ===================== Hero ===================== */
.hero {
  position: relative; isolation: isolate;
  min-height: min(38rem, 78vh);
  display: flex; align-items: flex-end;
  padding-top: clamp(2.5rem, 5.5vw, 4rem);
  background: var(--navy-950);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 72% 30%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(4, 16, 31, 0.96) 0%, rgba(4, 16, 31, 0.88) 34%, rgba(4, 16, 31, 0.5) 62%, rgba(4, 16, 31, 0.32) 100%),
    linear-gradient(to top, rgba(4, 16, 31, 0.85) 0%, transparent 45%);
}
.hero__inner { width: 100%; padding-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.hero__content { max-width: 38rem; }
.hero h1 {
  font-size: var(--fs-display); color: #fff;
  letter-spacing: var(--track-display); line-height: 1.04;
  margin-bottom: var(--space-5);
}
.hero h1 em {
  font-style: normal; color: #fff; position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em;
  height: 0.085em; background: var(--orange-400); border-radius: 2px;
}
.hero__lead {
  font-size: var(--fs-lead); line-height: 1.55; color: rgba(255, 255, 255, 0.82);
  max-width: 33rem; margin-bottom: var(--space-6);
}
.hero .eyebrow { color: rgba(255, 255, 255, 0.7); }

/* Overlapping metric bar */
.hero-metrics {
  position: relative; z-index: 2;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-xl);
  backdrop-filter: blur(14px);
  display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .hero-metrics { grid-template-columns: repeat(4, 1fr); }
}
.hero-metric {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-metric:nth-child(1), .hero-metric:nth-child(2) { border-top: 0; }
.hero-metric:nth-child(odd) { border-left: 0; }
@media (min-width: 900px) {
  .hero-metric { border-top: 0; }
  .hero-metric:first-child { border-left: 0; }
  .hero-metric:nth-child(odd) { border-left: 1px solid rgba(255, 255, 255, 0.1); }
  .hero-metric:first-child { border-left: 0; }
}
.hero-metric__value {
  font-family: var(--font-display); font-weight: var(--fw-extrabold);
  font-size: clamp(1.5rem, 2.2vw, 2rem); color: #fff; line-height: 1;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.hero-metric__label {
  font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.6);
  margin-top: 0.4rem; line-height: 1.35;
}

/* ===================== Sector spotlight slider ===================== */
.spotlight { position: relative; }
.spotlight__viewport {
  overflow: hidden;
  border-radius: var(--r-2xl);
  box-shadow: var(--e4);
  background: var(--navy-950);
}
.spotlight__track {
  display: flex;
  transition: transform var(--t-slow) var(--ease-out);
  will-change: transform;
}
.spotlight-slide {
  position: relative; isolation: isolate;
  flex: 0 0 100%; width: 100%;
  min-height: clamp(25rem, 46vw, 34rem);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.spotlight-slide__media { position: absolute; inset: 0; z-index: -2; }
.spotlight-slide__media picture, .spotlight-slide__media img { width: 100%; height: 100%; }
.spotlight-slide__media img { object-fit: cover; object-position: center; }
.spotlight-slide__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(4, 16, 31, 0.95) 0%, rgba(4, 16, 31, 0.86) 34%, rgba(4, 16, 31, 0.52) 66%, rgba(4, 16, 31, 0.28) 100%),
    linear-gradient(to top, rgba(4, 16, 31, 0.8) 0%, transparent 55%);
}
.spotlight-slide__body {
  padding: clamp(1.75rem, 4vw, 3.25rem);
  max-width: 42rem;
}
.spotlight-slide__tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: var(--fw-semibold);
  letter-spacing: var(--track-eyebrow); text-transform: uppercase;
  color: var(--orange-400); margin-bottom: var(--space-3);
}
.spotlight-slide--blue .spotlight-slide__tag { color: var(--blue-500); }
.spotlight-slide__tag-icon { display: inline-flex; }
.spotlight-slide__tag-icon svg { width: 1.05rem; height: 1.05rem; }
.spotlight-slide__title {
  font-family: var(--font-display); font-weight: var(--fw-extrabold);
  font-size: clamp(1.6rem, 2.8vw, 2.375rem); line-height: 1.1;
  letter-spacing: var(--track-display); color: #fff; margin-bottom: var(--space-4);
}
.spotlight-slide__text {
  font-size: var(--fs-lead); line-height: 1.55;
  color: rgba(255, 255, 255, 0.84); margin-bottom: var(--space-5); max-width: 34rem;
}
.spotlight-slide__points {
  list-style: none; margin: 0 0 var(--space-6); padding: 0;
  display: grid; gap: 0.5rem;
}
.spotlight-slide__points li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.9);
}
.spotlight-slide__points svg {
  width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.1rem;
  color: var(--orange-400);
}
.spotlight-slide--blue .spotlight-slide__points svg { color: var(--blue-500); }
@media (min-width: 620px) {
  .spotlight-slide__points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1.5rem; }
}

/* Arrows */
.spotlight__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 2.75rem; height: 2.75rem;
  display: none; align-items: center; justify-content: center;
  border-radius: var(--r-pill); cursor: pointer;
  color: #fff; background: rgba(4, 16, 31, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-fast);
}
.spotlight__arrow:hover { background: rgba(4, 16, 31, 0.7); border-color: rgba(255, 255, 255, 0.55); }
.spotlight__arrow:active { transform: translateY(-50%) scale(0.94); }
.spotlight__arrow svg { width: 1.4rem; height: 1.4rem; }
.spotlight__arrow--prev { left: clamp(0.5rem, 1.5vw, 1rem); }
.spotlight__arrow--next { right: clamp(0.5rem, 1.5vw, 1rem); }
@media (min-width: 760px) { .spotlight__arrow { display: inline-flex; } }

/* Dots */
.spotlight__dots {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: var(--space-5);
}
.spotlight__dot {
  width: 0.6rem; height: 0.6rem; padding: 0; cursor: pointer;
  border-radius: var(--r-pill); border: 0;
  background: var(--gray-300);
  transition: background var(--t-base), width var(--t-base), transform var(--t-fast);
}
.spotlight__dot:hover { background: var(--gray-500); }
.spotlight__dot[aria-selected="true"] { width: 1.6rem; background: var(--orange-500); }

@media (prefers-reduced-motion: reduce) {
  .spotlight__track { transition: none; }
}

/* Interior page hero */
.page-hero {
  position: relative; isolation: isolate;
  background: var(--navy-900);
  padding: clamp(2rem, 3.6vw, 3.25rem) 0 clamp(2.25rem, 3.8vw, 3.5rem);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(8, 27, 51, 0.97) 0%, rgba(8, 27, 51, 0.9) 42%, rgba(8, 27, 51, 0.6) 100%);
}
.page-hero__inner { max-width: 42rem; }
.page-hero h1 { color: #fff; margin-bottom: var(--space-4); }
.page-hero .lead { color: rgba(255, 255, 255, 0.8); }
.page-hero .eyebrow { color: var(--blue-500); }

.breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-4);
}
.breadcrumbs a { color: rgba(255, 255, 255, 0.72); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current="page"] { color: #fff; }
.breadcrumbs__sep { opacity: 0.4; }

/* ===================== Credentials strip ===================== */
.credentials {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--gray-25);
}
.credentials__inner {
  display: grid; gap: 0;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .credentials__inner { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .credentials__inner { grid-template-columns: repeat(6, 1fr); } }
.credential {
  display: flex; align-items: center; gap: 0.625rem;
  padding: var(--space-4) var(--space-4);
  border-left: 1px solid var(--line-soft);
  font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--gray-700);
  line-height: 1.3;
}
.credential:first-child { border-left: 0; }
.credential svg { width: 1.125rem; height: 1.125rem; flex: none; color: var(--blue-600); }
@media (max-width: 1079px) {
  .credential:nth-child(odd) { border-left: 0; }
}
@media (min-width: 720px) and (max-width: 1079px) {
  .credential { border-left: 1px solid var(--line-soft); }
  .credential:nth-child(3n+1) { border-left: 0; }
  .credential:nth-child(odd) { border-left: 1px solid var(--line-soft); }
  .credential:nth-child(3n+1) { border-left: 0; }
}

/* ===================== Client logos ===================== */
.clients-section {
  position: relative;
  padding: var(--section-y-tight) 0 var(--section-y);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(27, 154, 224, 0.07), transparent 55%),
    linear-gradient(180deg, var(--gray-25) 0%, #fff 100%);
  overflow: hidden;
}
.clients-section__head {
  max-width: 40rem;
  margin: 0 auto var(--space-7);
  text-align: center;
}
.clients-section__lead {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--text-muted);
}
.clients-section__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-2) 0;
}
.clients-section__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2.5rem, 8vw, 7rem);
  z-index: 2;
  pointer-events: none;
}
.clients-section__fade--left {
  left: 0;
  background: linear-gradient(90deg, #fff 8%, rgba(255, 255, 255, 0));
}
.clients-section__fade--right {
  right: 0;
  background: linear-gradient(270deg, #fff 8%, rgba(255, 255, 255, 0));
}
.clients-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.clients-marquee__track {
  display: flex;
  width: max-content;
  gap: var(--space-4);
  padding: 0.25rem 0;
  animation: clients-scroll 48s linear infinite;
  will-change: transform;
}
.clients-marquee__track--reverse {
  animation-name: clients-scroll-reverse;
  animation-duration: 56s;
}
.clients-section__stage:hover .clients-marquee__track {
  animation-play-state: paused;
}
.clients-logo {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(9.5rem, 16vw, 12.5rem);
  height: 5.25rem;
  padding: 0.85rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-xl);
  box-shadow: var(--e1);
  transition:
    border-color var(--t-base) var(--ease-std),
    box-shadow var(--t-base) var(--ease-out),
    transform var(--t-base) var(--ease-out);
}
.clients-logo img {
  max-width: 100%;
  max-height: 2.75rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(0.92) opacity(0.72);
  transition:
    filter var(--t-base) var(--ease-std),
    transform var(--t-base) var(--ease-out);
}
.clients-logo:hover {
  border-color: var(--gray-300);
  box-shadow: var(--e3);
  transform: translateY(-3px);
}
.clients-logo:hover img {
  filter: none;
  transform: scale(1.04);
}
.clients-grid {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
}
.clients-grid .clients-logo {
  width: 100%;
}
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes clients-scroll-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-section__stage { display: none; }
  .clients-grid { display: grid; }
  .clients-logo img { filter: none; }
}

/* ===================== Cards ===================== */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: var(--space-5);
  height: 100%; box-shadow: var(--e1);
  transition: border-color var(--t-base) var(--ease-std),
              box-shadow var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out);
}
.card:hover { border-color: var(--gray-300); box-shadow: var(--e3); transform: translateY(-2px); }
.card__icon {
  width: 2.625rem; height: 2.625rem; border-radius: var(--r-lg);
  background: var(--blue-50); color: var(--blue-600);
  display: grid; place-items: center; margin-bottom: var(--space-4);
  transition: background var(--t-base), color var(--t-base);
}
.card__icon svg { width: 1.3125rem; height: 1.3125rem; }
.card:hover .card__icon { background: var(--navy-900); color: #fff; }
.card h3 { margin-bottom: 0.4375rem; }
.card p { font-size: var(--fs-sm); }
.card .link-arrow { margin-top: auto; padding-top: var(--space-4); }

/* Service card with numbered index */
.card--service .card__index {
  position: absolute; top: var(--space-5); right: var(--space-5);
  font-family: var(--font-display); font-size: var(--fs-xs);
  font-weight: var(--fw-bold); color: var(--gray-300);
  font-variant-numeric: tabular-nums;
}

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ===================== Problem / challenge blocks ===================== */
.problems { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .problems { grid-template-columns: repeat(2, 1fr); } }
.problem {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--line);
  display: flex; gap: var(--space-4);
}
@media (min-width: 860px) {
  .problem { padding: var(--space-6) var(--space-8) var(--space-6) 0; }
  .problem:nth-child(even) { padding-left: var(--space-8); border-left: 1px solid var(--line); }
}
.problem__icon {
  flex: none; width: 2.75rem; height: 2.75rem; border-radius: var(--r-lg);
  background: var(--orange-50); color: var(--orange-600);
  display: grid; place-items: center;
}
.problem__icon svg { width: 1.3125rem; height: 1.3125rem; }
.problem h3 { font-size: 1.0625rem; margin-bottom: 0.375rem; }
.problem p { font-size: var(--fs-sm); margin-bottom: var(--space-3); }
.problem__solution {
  font-size: var(--fs-sm); color: var(--text-body);
  padding-top: var(--space-3); border-top: 1px dashed var(--line);
}
.problem__solution strong { color: var(--blue-700); }

/* ===================== Feature split (image + text) ===================== */
.split { display: grid; gap: clamp(2rem, 3.4vw, 3.25rem); align-items: center; }
.split--start { align-items: start; }
.split--center { align-items: center; }
.split--loose { gap: clamp(2rem, 4vw, 4rem); }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__media { order: 2; }
}
.split__media { position: relative; }
.figure {
  position: relative; overflow: hidden; border-radius: var(--r-2xl);
  background: var(--gray-100); box-shadow: var(--e4);
}
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.figure--tall img { aspect-ratio: 3 / 4; }
.figure--wide img { aspect-ratio: 16 / 9; }
.figure__tint {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(200deg, rgba(8, 27, 51, 0) 45%, rgba(8, 27, 51, 0.45) 100%);
}
.figure__caption {
  position: absolute; left: var(--space-5); right: var(--space-5); bottom: var(--space-5);
  font-size: var(--fs-xs); color: #fff; font-weight: var(--fw-medium);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Floating stat badge over imagery */
.figure-badge {
  position: absolute; bottom: 1.5rem; left: -1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--e5); padding: var(--space-5);
  max-width: 14rem;
}
@media (max-width: 720px) {
  .figure-badge { position: static; margin-top: var(--space-4); max-width: none; }
}
.figure-badge__value {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: var(--fw-extrabold);
  color: var(--navy-900); line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.figure-badge__label { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 0.35rem; line-height: 1.35; }

/* ===================== Check list ===================== */
.check-list { display: grid; gap: var(--space-3); }
.check-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--text-body);
}
.check-list svg {
  flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem;
  color: var(--blue-600);
}
.section--dark .check-list li { color: var(--text-inverse-soft); }
.section--dark .check-list svg { color: var(--blue-500); }

/* ===================== Stats band ===================== */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: var(--space-5) var(--space-5);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.stat:nth-child(1), .stat:nth-child(2) { border-top: 0; }
.stat:nth-child(odd) { border-left: 0; }
@media (min-width: 860px) {
  .stat { border-top: 0; border-left: 1px solid var(--line-dark); padding-block: 0; }
  .stat:first-child { border-left: 0; }
  .stat:nth-child(odd) { border-left: 1px solid var(--line-dark); }
  .stat:first-child { border-left: 0; }
}
.stat__value {
  font-family: var(--font-display); font-size: var(--fs-stat);
  font-weight: var(--fw-extrabold); color: #fff; line-height: 1;
  letter-spacing: -0.035em; font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem; line-height: 1.4;
}
.stats--light .stat { border-color: var(--line); }
.stats--light .stat__value { color: var(--navy-900); }
.stats--light .stat__label { color: var(--text-muted); }

/* ===================== Vision band (About + dark sections) ===================== */
.vision-band__panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-2xl);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.vision-band__quote-wrap {
  padding: clamp(1.75rem, 3.4vw, 2.5rem) clamp(1.5rem, 4vw, 2.75rem);
  text-align: center;
}
.vision-band__quote {
  margin: 0 auto;
  max-width: 40rem;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.58;
  letter-spacing: -0.016em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: var(--fw-medium);
}
.vision-band__mark {
  display: block;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--orange-400);
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
  font-weight: var(--fw-extrabold);
}
.vision-band__stats {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
  padding: clamp(1rem, 2vw, 1.5rem) clamp(0.75rem, 2.5vw, 1.5rem);
}
.vision-band .stats { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .vision-band .stats { grid-template-columns: repeat(4, 1fr); } }
.vision-band .stat {
  padding: var(--space-4) var(--space-3);
  text-align: center;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.vision-band .stat:nth-child(1),
.vision-band .stat:nth-child(2) { border-top: 0; }
.vision-band .stat:nth-child(odd) { border-left: 0; }
@media (min-width: 720px) {
  .vision-band .stat {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: var(--space-3);
  }
  .vision-band .stat:first-child { border-left: 0; }
  .vision-band .stat:nth-child(odd) { border-left: 1px solid rgba(255, 255, 255, 0.1); }
  .vision-band .stat:first-child { border-left: 0; }
}
.vision-band .stat__value { font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
.vision-band .stat__label { margin-top: 0.375rem; font-size: 0.8125rem; }
.vision-band--spaced { margin-top: var(--space-10); }

/* ===================== Feature grid (why-us blocks) ===================== */
.feature-grid { display: grid; gap: var(--space-6); }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-item h3 {
  font-size: 1rem; display: flex; gap: 0.5rem; align-items: center;
  margin-bottom: var(--space-2);
}
.feature-item__icon {
  width: 1.25rem; height: 1.25rem; color: var(--blue-600); flex: none;
}
.feature-item p { font-size: var(--fs-xs); margin: 0; }
.dark-highlight h3 {
  color: #fff; font-size: 1.5rem; margin-bottom: var(--space-3);
}

/* ===================== Process timeline ===================== */
.process { position: relative; display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(6, 1fr); gap: var(--space-4); } }
.process__step { position: relative; padding-top: var(--space-6); }
.process__step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--line);
}
.process__step::after {
  content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gray-300);
  transition: background var(--t-base), transform var(--t-base);
}
.process__step.is-visible::after { background: var(--orange-400); }
.process__num {
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: var(--fw-bold);
  color: var(--blue-600); letter-spacing: 0.06em; display: block; margin-bottom: 0.5rem;
}
.process__step h3 { font-size: 1.0625rem; margin-bottom: 0.4rem; }
.process__step p { font-size: var(--fs-xs); line-height: 1.55; }
.section--dark .process__step::before { background: var(--line-dark); }
.section--dark .process__step h3 { color: #fff; }
.section--dark .process__num { color: var(--blue-500); }

/* ===================== Industry tiles ===================== */
.industry-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .industry-grid { grid-template-columns: repeat(4, 1fr); } }
.industry {
  position: relative; display: flex; flex-direction: column; gap: 0.625rem;
  padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; color: inherit; overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base) var(--ease-out);
}
.industry::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--orange-400); transform: scaleY(0); transform-origin: top;
  transition: transform var(--t-base) var(--ease-out);
}
.industry:hover { border-color: var(--gray-300); box-shadow: var(--e3); transform: translateY(-2px); color: inherit; }
.industry:hover::after { transform: scaleY(1); }
.industry__icon { width: 1.75rem; height: 1.75rem; color: var(--blue-600); }
.industry__icon svg { width: 100%; height: 100%; }
.industry h3 { font-size: var(--fs-h4); margin: 0; }
.industry p { font-size: 0.8125rem; margin: 0; line-height: 1.5; }

/* Industry detail rows */
.industry-row {
  display: grid; gap: var(--space-4); padding-block: var(--space-6);
  border-top: 1px solid var(--line); align-items: start;
}
.industry-row:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 860px) { .industry-row { grid-template-columns: 1fr 1.6fr; gap: var(--space-10); } }
.industry-row__head { display: flex; gap: var(--space-4); align-items: flex-start; }
.industry-row__icon {
  flex: none; width: 2.75rem; height: 2.75rem; border-radius: var(--r-lg);
  background: var(--navy-900); color: #fff; display: grid; place-items: center;
}
.industry-row__icon svg { width: 1.3125rem; height: 1.3125rem; }
.industry-row h2 { font-size: 1.375rem; margin-bottom: 0.3rem; }
.industry-row__desc { font-size: var(--fs-xs); margin: 0; }
.industry-row__body { font-size: var(--fs-body); margin-bottom: var(--space-5); }

/* ===================== Tags ===================== */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  display: inline-flex; align-items: center; padding: 0.375rem 0.75rem;
  border-radius: var(--r-pill); background: var(--gray-50);
  border: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: var(--fw-medium); color: var(--gray-700);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
a.tag:hover { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }

/* ===================== FAQ ===================== */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); padding: var(--space-4) 0; background: none; border: 0;
  text-align: left; cursor: pointer;
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: var(--fw-bold);
  color: var(--navy-900); letter-spacing: -0.015em;
}
.faq__q:hover { color: var(--blue-700); }
.faq__mark {
  flex: none; position: relative; width: 1.5rem; height: 1.5rem;
  border: 1px solid var(--line); border-radius: 50%;
  transition: background var(--t-base), border-color var(--t-base);
}
.faq__mark::before, .faq__mark::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--navy-900);
  transform: translate(-50%, -50%); transition: transform var(--t-base), background var(--t-base);
}
.faq__mark::before { width: 9px; height: 1.5px; }
.faq__mark::after { width: 1.5px; height: 9px; }
.faq__item.is-open .faq__mark { background: var(--navy-900); border-color: var(--navy-900); }
.faq__item.is-open .faq__mark::before { background: #fff; }
.faq__item.is-open .faq__mark::after { transform: translate(-50%, -50%) scaleY(0); background: #fff; }
.faq__a { overflow: hidden; height: 0; }
.faq__a-inner { padding-bottom: var(--space-5); font-size: var(--fs-sm); max-width: 60ch; }
.faq__item.is-open .faq__a { height: auto; }

/* ===================== Testimonials ===================== */
.quotes { display: grid; gap: var(--space-5); }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  display: flex; flex-direction: column;
  padding: var(--space-5); border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
}
.quote__mark { width: 1.5rem; height: 1.5rem; color: var(--blue-500); opacity: 0.8; margin-bottom: var(--space-3); }
.quote__text {
  font-size: var(--fs-sm); line-height: 1.65; color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-5);
}
.quote__foot { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid rgba(255, 255, 255, 0.1); }
.quote__name { font-weight: var(--fw-semibold); color: #fff; font-size: var(--fs-sm); }
.quote__meta { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.55); margin-top: 0.15rem; }

/* ===================== CTA ===================== */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-2xl); background: var(--navy-900);
  padding: clamp(1.75rem, 3.4vw, 3rem);
  display: grid; gap: var(--space-6); align-items: center;
}
.cta > * { min-width: 0; }
@media (min-width: 900px) { .cta { grid-template-columns: 1.5fr auto; } }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 50% 90% at 88% 50%, rgba(27, 154, 224, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 70% at 10% 110%, rgba(245, 137, 31, 0.16), transparent 70%);
}
.cta h2 { color: #fff; margin-bottom: var(--space-3); }
.cta p { color: rgba(255, 255, 255, 0.72); margin: 0; max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.cta__trust {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  margin-top: var(--space-5); padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.6);
}
.cta__trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.cta__trust svg { width: 0.9375rem; height: 0.9375rem; color: var(--blue-500); }

/* ===================== Forms ===================== */
.form { display: grid; gap: var(--space-4); }
.form-row { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block; font-size: var(--fs-xs); font-weight: var(--fw-semibold);
  color: var(--navy-900); margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8125rem 0.9375rem;
  font-family: var(--font-body); font-size: var(--fs-sm); color: var(--text-strong);
  background: #fff; border: 1px solid var(--gray-300); border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: var(--e-focus);
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field__error { color: var(--error); font-size: var(--fs-xs); margin-top: 0.375rem; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: var(--fs-xs); color: var(--text-muted); }
.alert { padding: var(--space-4) var(--space-5); border-radius: var(--r-md); font-size: var(--fs-sm); }
.alert--error { background: #FEF3F2; border: 1px solid #FDA29B; color: #912018; }
.alert--success { background: #ECFDF3; border: 1px solid #A6F4C5; color: #05603A; }

.form-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-2xl);
  padding: clamp(1.375rem, 2.4vw, 2rem); box-shadow: var(--e3);
}
.form-panel__title { font-size: 1.5rem; margin-bottom: var(--space-3); }
.form-panel__note { font-size: var(--fs-sm); margin-bottom: var(--space-6); color: var(--text-muted); }

/* ===================== Contact ===================== */
.contact-grid { display: grid; gap: clamp(2rem, 3.4vw, 3.25rem); align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.contact-items { display: grid; gap: var(--space-5); margin-top: var(--space-6); }
.contact-item { display: flex; gap: var(--space-4); }
.contact-item__icon {
  flex: none; width: 2.5rem; height: 2.5rem; border-radius: var(--r-lg);
  background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center;
}
.contact-item__icon svg { width: 1.1875rem; height: 1.1875rem; }
.contact-item h3 { font-size: var(--fs-h4); margin-bottom: 0.35rem; }
.contact-item a, .contact-item p { font-size: var(--fs-sm); color: var(--text-body); display: block; margin: 0; }
.contact-item a:hover { color: var(--blue-700); }

/* ===================== Footer ===================== */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.62); }
.footer-top { padding-block: clamp(2.25rem, 3.6vw, 3.25rem); }
.footer-grid { display: grid; gap: var(--space-8); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1.1fr; } }
.footer-about {
  display: flex;
  align-items: flex-start;
}
.footer-about .brand {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 0.625rem 0.875rem;
  box-shadow: var(--e2);
}
.footer-about .brand:hover {
  opacity: 1;
  box-shadow: var(--e3);
}
.footer-about .brand__img {
  height: 3rem;
  max-width: 12.5rem;
}
.footer-col h4 {
  font-family: var(--font-body); font-size: var(--fs-eyebrow); color: #fff;
  letter-spacing: var(--track-eyebrow); text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.footer-col a {
  display: block; padding: 0.25rem 0; font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.62);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--space-5);
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  justify-content: space-between; align-items: center;
  font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.42);
}

/* ===================== Floating actions ===================== */
.float {
  position: fixed; right: clamp(1rem, 2vw, 1.5rem); bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: var(--z-float); display: flex; flex-direction: column; gap: 0.625rem;
}
.float__btn {
  width: 3rem; height: 3rem; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--e4);
  transition: transform var(--t-base) var(--ease-out), background var(--t-base);
}
.float__btn svg { width: 1.1875rem; height: 1.1875rem; }
.float__btn--call { background: var(--navy-900); }
.float__btn--call:hover { background: var(--navy-800); color: #fff; transform: translateY(-2px) scale(1.04); }
.float__btn--mail { background: var(--orange-600); }
.float__btn--mail:hover { background: var(--orange-700); color: #fff; transform: translateY(-2px) scale(1.04); }

/* ===================== Prose / interior content ===================== */
.prose { max-width: 46rem; }
.prose h2 { margin-top: var(--space-10); }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: var(--space-4); }
.prose li { margin-bottom: 0.5rem; }

/* ===================== Status page (thank-you, 404) ===================== */
.status-page { text-align: center; max-width: 36rem; margin-inline: auto; }
.status-page__icon {
  width: 3.5rem; height: 3.5rem; margin-inline: auto;
  border-radius: var(--r-xl); background: var(--surface-accent); color: var(--blue-600);
  display: grid; place-items: center; margin-bottom: var(--space-6);
}
.status-page__icon svg { width: 1.5rem; height: 1.5rem; }
.status-page__code {
  font-family: var(--font-display); font-size: clamp(4rem, 10vw, 7rem);
  font-weight: var(--fw-extrabold); line-height: 1; color: var(--gray-200);
  letter-spacing: -0.05em; margin-bottom: var(--space-4);
}

/* ===================== Error page ===================== */
.error-page { padding-block: clamp(3rem, 6vw, 5rem); text-align: center; }
.error-page__code {
  font-family: var(--font-display); font-size: clamp(4rem, 10vw, 7rem);
  font-weight: var(--fw-extrabold); line-height: 1; color: var(--gray-200);
  letter-spacing: -0.05em; margin-bottom: var(--space-4);
}

/* ===================== Reveal animation ===================== */
[data-reveal] {
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--t-slower) var(--ease-out), transform var(--t-slower) var(--ease-out);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}
