:root {
  --ink: #0f172a; /* dark navy used for headings/text in mockup */
  --muted: #94a3b8; /* muted cool gray from mockup */
  --line: #e2e8f0;
  --paper: #ffffff;
  --white: #ffffff;
  --brand: #1a56db; /* primary blue from mockup */
  --brand-dark: #1241b5; /* deeper blue used in gradient */
  --brand-light: #e8f0fe;
  --secondary: #0f172a;
  --secondary-dark: #0b1220;
  --secondary-light: #cbd5e1;
  --field: #f1f5f9;
  --accent: #e02424; /* red accent from mockup */
  --success: #10b981;
  --shadow: 0 22px 60px rgba(26, 26, 46, 0.14);
  --radius: 8px;
  --container: min(1160px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Top contact bar */
.top-contact { background: transparent; padding: 6px 0; border-bottom: 1px solid rgba(35, 59, 116, 0.03); }
.top-contact a { color: var(--muted); text-decoration: none; }
.top-contact a:hover { color: var(--brand); }

/* Typography scale */
h1, .hero h1 { font-size: 2rem; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { font-size: 0.95rem; color: var(--muted); }

/* Enterprise buttons */
.button.primary, .nav-cta {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(26, 86, 219, 0.12);
  font-weight: 700;
  text-transform: none;
}
.button.secondary {
  background: transparent;
  border: 1px solid rgba(16,24,40,0.06);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
}

/* Cards */
.svc-card, .testi-card, .partner-card {
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.svc-card:hover, .testi-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(15, 23, 42, 0.09); }

/* Hero refinement */
.hero { min-height: 520px; padding: 64px 0 46px; display: flex; align-items: center; }
.hc { max-width: 56%; }
.hero h1 { font-size: 36px; }
.hero-desc { font-size: 1rem; color: var(--muted); max-width: 520px; }

/* Footer polish */
.site-footer {
  background: linear-gradient(180deg, rgba(15,23,42,1) 0%, rgba(11,18,32,1) 100%);
  color: rgba(255,255,255,0.9);
  margin-top: 80px;
  padding-top: 28px;
}
.footer-main { padding: 48px 0 36px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.column-title { color: rgba(255,255,255,0.92); }
.column-links a { color: rgba(255,255,255,0.75); }
.column-links a:hover { color: var(--brand); }

/* Header tweaks for visibility */
.site-header { background: rgba(255,255,255,0.98); }
.site-header .nav-links a { color: var(--ink); }
.site-header .brand span { color: var(--ink); text-shadow: none; }

/* Utility */
.muted { color: var(--muted); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 14px 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.06);
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 252, 248, 0.94);
  box-shadow: 0 8px 28px rgba(31, 37, 32, 0.1);
  backdrop-filter: blur(14px);
  padding: 10px 0;
}

.nav-shell {
  width: var(--container);
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.nav-actions { display:flex; align-items:center; gap:12px; }
.nav-links { justify-content:flex-end }
.nav-links a { padding: 8px 12px; margin:0 4px; }

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img, .brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--white);
  border-radius: 8px;
  padding: 6px;
}
.brand span { line-height: 1; }
.brand strong { font-size: 1.05rem; display:block }
.brand small { font-size: 0.72rem; color: var(--muted); }

.brand span {
  display: grid;
  line-height: 1.1;
  color: var(--ink);
}

.site-header.is-scrolled .brand span {
  color: var(--ink);
  text-shadow: none;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-header.is-scrolled .brand small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 10px 14px;
  transition: background 180ms ease, color 180ms ease;
}

.site-header.is-scrolled .nav-links a {
  color: var(--ink);
}

.site-header.is-scrolled .nav-links a.active {
  background: var(--field);
  color: var(--brand);
  font-weight: 900;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: var(--field);
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a:focus-visible {
  background: var(--field);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  padding: 8px 16px;
  box-shadow: 0 10px 30px rgba(26, 86, 219, 0.12);
}
.nav-cta:focus { outline: 3px solid rgba(26,86,219,0.14); }

.button {
  padding: 0 22px;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(185, 32, 43, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 150px 0 76px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 23, 18, 0.92) 0%, rgba(17, 23, 18, 0.74) 43%, rgba(17, 23, 18, 0.28) 100%),
    linear-gradient(0deg, rgba(17, 23, 18, 0.7), rgba(17, 23, 18, 0.05) 48%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: end;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #0284c7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-lede {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.hero-panel div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.metric {
  display: block;
  margin-bottom: 4px;
  color: #0284c7;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}

.trust-band {
  background: var(--ink);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.trust-grid span {
  min-height: 90px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 108px 0;
}

.split-layout,
.proof-grid,
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 56px;
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1fr);
}

.section-copy p,
.section-heading p,
.proof-copy p,
.quote-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.image-stack {
  position: relative;
  min-height: 560px;
}

.image-main,
.image-small,
.image-frame img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-main {
  height: 520px;
}

.image-small {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: 48%;
  height: 250px;
  border: 10px solid var(--paper);
}

.services-section {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.process-step,
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-card {
  min-height: 250px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 32, 43, 0.35);
  box-shadow: 0 18px 40px rgba(31, 37, 32, 0.1);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--field);
  color: var(--brand);
  font-weight: 900;
}

.service-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card p,
.process-step p {
  color: var(--muted);
  margin-bottom: 0;
}

.proof-section {
  background: #f3f6f2;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.12em;
  color: var(--success);
  content: "✓";
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.project-gallery img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
}

.project-gallery img:first-child {
  grid-row: span 2;
  height: 474px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  min-height: 260px;
  padding: 24px;
}

.process-step span {
  display: block;
  margin-bottom: 54px;
  color: #2563eb;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.training-section {
  background: var(--ink);
  color: var(--white);
}

.training-section .section-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.image-frame img {
  height: 440px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tag-cloud span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 700;
}

.partners-section {
  padding: 108px 0;
  background: var(--white);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.logo-grid img {
  width: 100%;
  height: 128px;
  object-fit: contain;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 180ms ease, opacity 180ms ease;
}

.logo-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.quote-section {
  padding: 108px 0;
  background: #f3f6f2;
}

.quote-copy .contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.quote-copy h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.contact-lines a {
  width: fit-content;
  color: var(--brand);
  font-weight: 900;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--field);
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quote-form textarea {
  resize: vertical;
  min-height: 140px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(185, 32, 43, 0.1);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.6fr;
  gap: 48px;
  padding: 60px 0;
}

.footer-brand {
  color: var(--white);
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-grid h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.64);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15,23,42,0.12);
    border-radius: 8px;
    background: var(--field);
    cursor: pointer;
    gap: 4px;
    z-index: 99;
  }

  .site-header.is-scrolled .nav-toggle {
    border-color: var(--line);
    background: var(--white);
  }

  .nav-toggle span:not(.sr-only) {
    width: 16px;
    height: 2px;
    background: var(--ink);
    transition: transform 200ms ease, opacity 200ms ease;
  }

  .site-header.is-scrolled .nav-toggle span:not(.sr-only) {
    background: var(--ink);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 98;
  }

  .nav-links.is-open {
    position: fixed;
    top: 140px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    padding: 16px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
    z-index: 99;
    animation: slideDown 200ms ease;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-links.is-open a {
    color: var(--ink);
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 180ms ease;
  }

  .nav-links.is-open a:hover,
  .nav-links.is-open a.active {
    background: var(--field);
    color: var(--brand);
  }

  .nav-actions.is-open {
    display: flex;
    gap: 8px;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 99;
  }

  .nav-actions.is-open .nav-cta {
    flex: 1;
    width: 100%;
  }

  .hero-grid,
  .split-layout,
  .reverse,
  .testimonial-header-grid,
  .proof-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 720px;
    grid-template-columns: repeat(3, 1fr);
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 1160px);
  }

  .brand span {
    max-width: 190px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .hero {
    min-height: 820px;
    padding-top: 120px;
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-panel,
  .trust-grid,
  .service-grid,
  .process-grid,
  .testimonial-grid,
  .logo-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-result-count {
    width: 100%;
    margin-left: 0;
  }

  .hero-panel div,
  .trust-grid span,
  .service-card,
  .process-step {
    min-height: auto;
  }

  .section,
  .partners-section,
  .quote-section {
    padding: 72px 0;
  }

  .image-stack {
    min-height: auto;
  }

  .image-main {
    height: 390px;
  }

  .image-small {
    position: relative;
    right: auto;
    bottom: auto;
    width: 72%;
    height: 190px;
    margin: -80px 0 0 auto;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-gallery img,
  .project-gallery img:first-child,
  .image-frame img {
    height: 280px;
  }

  .process-step span {
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Active navigation state */
.site-header.is-scrolled .nav-links a.active {
  background: var(--field);
  color: var(--brand);
  font-weight: 900;
}

/* Form enhancements */
.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--success);
  font-weight: 800;
  padding: 10px;
  border-radius: var(--radius);
  margin-top: 12px;
}

.form-note.success {
  color: var(--success);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success);
}

.form-note.error {
  color: #d9534f;
  background: rgba(217, 83, 79, 0.1);
  border: 1px solid #d9534f;
}

/* Phone links */
.phone-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease;
}

.phone-link:hover,
.phone-link:focus-visible {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 20px 0;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--brand);
  text-decoration: none;
  transition: color 180ms ease;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* ============================================ */
/* PARTNERS PAGE STYLES */
/* ============================================ */

.partners-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--brand) 100%);
  color: var(--white);
  padding: 80px 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-hero .hero-content {
  text-align: center;
  max-width: 800px;
}

.partners-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.partners-hero .eyebrow {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.partners-hero .hero-lede {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin: 0;
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.partner-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.15);
}

.partner-logo-wrapper {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--field) 0%, #f0f4f8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.partner-logo-wrapper img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(26, 26, 46, 0.08));
}

.partner-info {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.partner-info h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.partner-category {
  margin: 0 0 12px 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partner-desc {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  flex-grow: 1;
}

/* Partnership Benefits */
.partnership-benefits {
  background: linear-gradient(180deg, #fafbfc 0%, var(--paper) 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.06);
  transition: all 0.3s ease;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.12);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--brand) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 16px;
}

.benefit-card h3 {
  margin: 0 0 12px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--ink) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  padding: 80px 0;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.cta-text p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px 0;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .button {
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.cta-actions .button.primary {
  background: var(--brand);
  color: var(--white);
}

.cta-actions .button.primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.cta-actions .button.secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta-actions .button.secondary:hover {
  background: var(--white);
  color: var(--secondary);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .partners-hero h1 {
    font-size: 2rem;
  }

  .partners-hero .hero-lede {
    font-size: 1rem;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .partner-logo-wrapper {
    height: 160px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cta-text h2 {
    font-size: 1.8rem;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .partners-hero {
    padding: 60px 0;
  }

  .partners-hero h1 {
    font-size: 1.6rem;
  }

  .partner-info {
    padding: 20px;
  }

  .benefit-card {
    padding: 24px;
  }

  .cta-section {
    padding: 60px 0;
  }
}


/* ============================================ */
/* ENHANCED LOGO GRID STYLING */
/* ============================================ */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
  margin-top: 40px;
  padding: 40px 0;
}

.logo-grid img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(26, 26, 46, 0.08));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  object-fit: contain;
  max-height: 100px;
}

.logo-grid img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 20px rgba(26, 26, 46, 0.15));
}

.partners-section {
  background: linear-gradient(180deg, #fafbfc 0%, #f3f6fa 100%);
}

.partners-cta {
  margin-top: 40px;
}

@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    padding: 30px 0;
  }

  .logo-grid img {
    max-height: 80px;
  }
}

@media (max-width: 480px) {
  .logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 16px;
    padding: 20px 0;
  }

  .logo-grid img {
    max-height: 70px;
  }
}


/* ============================================ */

/* ============================================ */

/* ============================================ */
/* INDEPENDENT PARTNER GRID */
/* ============================================ */

.modern-partners {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f0f4f8 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.modern-partners::before {
  content: '';
  position: absolute;
  top: -400px;
  right: -400px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.modern-partners::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -300px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Partners Header */
.partners-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.partners-intro .eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand);
  margin-bottom: 12px;
  display: block;
}

.partners-intro h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.partners-intro p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Partners Grid - Clean Independent Cards */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

/* Individual Partner Card */
.partner-card {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  cursor: pointer;
}

.partner-card:hover {
  border-color: var(--secondary);
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
  transform: translateY(-6px);
}

.partner-card img {
  max-width: 85%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(26, 26, 46, 0.06));
  transition: all 0.3s ease;
}

.partner-card:hover img {
  filter: drop-shadow(0 4px 10px rgba(26, 26, 46, 0.12));
  transform: scale(1.1);
}

/* Partners Footer */
.partners-footer {
  text-align: center;
  position: relative;
  z-index: 2;
}

.partners-footer p {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 24px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.partners-footer .button {
  display: inline-block;
  padding: 14px 36px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 22px;
  }
}

@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
  }

  .partner-card {
    padding: 18px;
  }
}

@media (max-width: 768px) {
  .modern-partners {
    padding: 60px 0;
  }

  .partners-header {
    margin-bottom: 48px;
  }

  .partners-intro h2 {
    font-size: 2rem;
  }

  .partners-intro p {
    font-size: 1rem;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
    margin-bottom: 48px;
  }

  .partner-card {
    padding: 16px;
  }

  .partner-card img {
    max-width: 80%;
    max-height: 75%;
  }

  .partners-footer p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .modern-partners {
    padding: 48px 0;
  }

  .partners-header {
    margin-bottom: 40px;
  }

  .partners-intro h2 {
    font-size: 1.8rem;
  }

  .partners-intro p {
    font-size: 0.95rem;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
  }

  .partner-card {
    aspect-ratio: 16 / 9;
    padding: 14px;
    border-radius: 10px;
  }

  .partner-card img {
    max-width: 80%;
    max-height: 75%;
  }

  .partners-footer p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .modern-partners {
    padding: 40px 0;
  }

  .partners-header {
    margin-bottom: 32px;
  }

  .partners-intro h2 {
    font-size: 1.5rem;
  }

  .partners-intro p {
    font-size: 0.9rem;
  }

  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
  }

  .partner-card {
    padding: 12px;
  }

  .partner-card img {
    max-width: 75%;
    max-height: 70%;
  }

  .partner-card:hover {
    transform: translateY(-4px);
  }
}


/* ============================================ */

/* ============================================ */

/* ============================================ */

/* ============================================ */
/* MODERN PROFESSIONAL FOOTER */
/* ============================================ */

.site-footer {
  background: #1f2937;
  color: #e5e7eb;
  margin-top: 80px;
}

/* Social Bar */
.footer-social-bar {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.social-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.social-text {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Trust badges */
.trust-badges { display:flex;gap:10px;align-items:center;justify-content:center;padding:18px 14px;flex-wrap:wrap }
.badge-item { display:flex;align-items:center;justify-content:center;padding:12px 16px;background:rgba(255,255,255,0.03);border-radius:8px;border:1px solid rgba(255,255,255,0.06) }
.badge-logo { width:80px;height:40px }
.cert-badges { display:flex; gap:12px; margin-top:10px; flex-wrap:wrap }
.cert-badge-icon { width:50px;height:50px;flex-shrink:0 }
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: var(--white);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Main Footer */
.footer-main {
  padding: 50px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Footer Column */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.column-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin: 0;
}

.column-description {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d1d5db;
  margin: 0;
}

/* Column Links */
.column-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.column-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.column-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #d1d5db;
}

.contact-icon {
  font-size: 1rem;
  min-width: 20px;
  display: block;
}

.contact-item a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--white);
}

/* Copyright Bar */
.footer-copyright {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-copyright p {
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-copyright strong {
  color: var(--white);
  font-weight: 600;
}

/* Responsive Footer */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 40px 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .social-bar-content {
    flex-direction: column;
    text-align: center;
  }

  .social-icons-top {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .footer-main {
    padding: 32px 0 24px;
  }

  .footer-grid {
    gap: 20px;
  }

  .column-title {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  .column-description,
  .column-links a,
  .contact-item {
    font-size: 0.8rem;
  }

  .social-text {
    font-size: 0.9rem;
  }

  .social-icons-top {
    gap: 10px;
  }

  .social-link {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .footer-copyright {
    padding: 16px 0;
  }

  .footer-copyright p {
    font-size: 0.8rem;
  }
}

/* ============================================ */
/* 2026 PROFESSIONAL REFRESH */
/* ============================================ */

:root {
  --ink: #10233f;
  --muted: #64748b;
  --line: #e5e7eb;
  --paper: #f8fafc;
  --white: #ffffff;
  --brand: #0f4ea8;
  --brand-dark: #07306c;
  --brand-soft: #eaf3ff;
  --accent: #d71920;
  --accent-dark: #a80f16;
  --accent-soft: #fff0f1;
  --success: #0f8b6f;
  --field: #f3f6fb;
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

body {
  background: var(--paper);
  color: var(--ink);
}

.container {
  padding-left: 0;
  padding-right: 0;
}

.site-header {
  padding: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.1);
}

.top-contact {
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: rgba(255, 255, 255, 0.82);
  padding: 0;
}

.top-contact-inner {
  min-height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  font-weight: 700;
}

.top-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.top-contact a {
  color: rgba(255, 255, 255, 0.9);
}

.top-contact a:hover,
.top-contact a:focus-visible {
  color: var(--white);
}

.top-contact-note {
  color: rgba(255, 255, 255, 0.68);
  text-align: right;
}

.nav-shell {
  min-height: 78px;
}

.brand img,
.brand-logo {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--accent);
  font-size: 0.7rem;
}

.nav-links a {
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: linear-gradient(180deg, var(--brand-soft), var(--accent-soft));
  color: var(--brand);
}

.nav-cta,
.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.button.secondary.on-light,
.quote-section .button.secondary,
.footer-cta .button.secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

main > .section:first-child {
  padding-top: 178px;
}

.hero {
  min-height: 740px;
  padding: 160px 0 72px;
  align-items: end;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 48, 108, 0.94) 0%, rgba(15, 78, 168, 0.76) 46%, rgba(15, 78, 168, 0.26) 100%),
    linear-gradient(0deg, rgba(8, 22, 48, 0.72), rgba(8, 22, 48, 0.06) 50%);
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.hero h1,
h1 {
  max-width: 860px;
  font-size: clamp(3rem, 6.7vw, 5.7rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.04;
}

.hero .eyebrow,
.eyebrow {
  color: var(--accent);
  letter-spacing: 0.04em;
}

.hero-lede {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-panel {
  border-color: rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.metric {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(215, 25, 32, 0.34);
}

.trust-band {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

.trust-grid span {
  min-height: 82px;
  color: rgba(255, 255, 255, 0.9);
}

.operations-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.operation-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 24px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.operation-kicker,
.rating-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  background: var(--white);
}

.proof-section,
.quote-section,
.testimonials-section {
  background: #f4f7fb;
}

.training-section {
  background: #f4f7fb;
  color: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.training-section .split-layout {
  align-items: center;
}

.training-section .image-frame {
  min-height: 420px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.1);
}

.training-section .image-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.training-section .section-copy {
  max-width: 620px;
}

.training-section .section-copy .eyebrow {
  background: rgba(227, 30, 36, 0.08);
  color: var(--accent);
}

.training-section .section-copy h2 {
  color: var(--ink);
}

.training-section .section-copy p {
  color: var(--muted);
}

.training-section .tag-cloud span {
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.js .training-section .reveal {
  opacity: 1;
  transform: none;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.process-step,
.quote-form,
.testimonial-card,
.advantage-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 292px;
}

.service-card:hover,
.testimonial-card:hover,
.advantage-card:hover {
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.service-icon,
.advantage-icon {
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft));
  color: var(--brand);
}

.service-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 900;
}

.check-list li::before {
  color: var(--success);
  content: "";
  top: 0.4em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
}

.testimonial-grid,
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.52fr);
  gap: 36px;
  align-items: start;
  margin-bottom: 28px;
}

.testimonial-feature {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.testimonial-feature span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.testimonial-feature p {
  color: var(--ink);
  font-size: 1.02rem;
  font-style: italic;
}

.testimonial-feature strong,
.testimonial-feature small {
  display: block;
}

.testimonial-feature small {
  color: var(--muted);
}

.testimonial-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.testimonial-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.testimonial-filter-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 9px 13px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.testimonial-filter-button:hover,
.testimonial-filter-button:focus-visible,
.testimonial-filter-button.is-active {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.testimonial-result-count {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.testimonial-grid.no-results::before {
  content: "No testimonials match this filter.";
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px 24px;
  color: var(--muted);
}

.testimonial-card,
.advantage-card {
  padding: 26px;
}

.testimonial-card {
  display: grid;
  gap: 16px;
}

.testimonial-card-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  margin-bottom: 18px;
  border: 1px solid rgba(31, 78, 180, 0.12);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #f59e0b;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.testimonial-stars svg.is-filled {
  fill: #f59e0b;
}

.testimonial-card p {
  margin: 0;
  color: var(--ink);
  font-style: italic;
}

.testimonial-card strong,
.testimonial-card small {
  display: block;
}

.testimonial-card small {
  color: var(--muted);
}

.advantage-section {
  background: var(--white);
}

.advantage-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  font-weight: 900;
}

.modern-partners {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.modern-partners::before,
.modern-partners::after {
  display: none;
}

.modern-partners .partner-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  background: #f8fafc;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  box-shadow: 0 0 0 4px rgba(25, 87, 194, 0.12);
}

.site-footer {
  margin-top: 0;
  background: var(--brand-dark);
  color: rgba(255, 255, 255, 0.78);
}

.footer-cta {
  background:
    linear-gradient(135deg, rgba(15, 78, 168, 0.96), rgba(7, 48, 108, 0.98) 62%, rgba(168, 15, 22, 0.9)),
    var(--brand-dark);
  color: var(--white);
  padding: 54px 0;
}

.footer-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.footer-cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.footer-cta p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-cta .eyebrow {
  color: #ffd7da;
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-main {
  padding: 50px 0;
}

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  padding: 0;
}

.footer-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-proof-list span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-icon {
  min-width: 44px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .nav-links.is-open {
    top: 128px;
  }

  .operations-grid,
  .service-grid,
  .process-grid,
  .testimonial-grid,
  .advantage-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cta-inner {
    grid-template-columns: 1fr;
  }

  .footer-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .top-contact-inner {
    min-height: auto;
    padding: 8px 0;
    display: grid;
    gap: 4px;
  }

  .top-contact-note {
    text-align: left;
  }

  .nav-shell {
    min-height: 70px;
  }

  .brand img,
  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand span {
    max-width: 180px;
  }

  .hero {
    min-height: 760px;
    padding-top: 150px;
  }

  .hero h1,
  h1 {
    font-size: clamp(2.4rem, 13vw, 3.75rem);
  }

  .hero-panel,
  .operations-grid,
  .trust-grid,
  .service-grid,
  .process-grid,
  .testimonial-grid,
  .advantage-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  main > .section:first-child {
    padding-top: 154px;
  }

  .section,
  .partners-section,
  .quote-section {
    padding: 68px 0;
  }

  .footer-cta {
    padding: 42px 0;
  }
}

/* ============================================ */
/* SERVICES PAGE */
/* ============================================ */

.services-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 165px 0 70px;
}

.services-hero-media,
.services-hero-overlay {
  position: absolute;
  inset: 0;
}

.services-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.78) 48%, rgba(15, 23, 42, 0.34) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.62), rgba(15, 23, 42, 0.08) 52%);
}

.services-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 46px;
  align-items: end;
}

.services-hero-copy {
  max-width: 820px;
}

.services-hero-copy h1 {
  max-width: 780px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.75rem, 5vw, 4.65rem);
  line-height: 1.02;
}

.services-hero-copy p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.services-hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.services-hero-panel div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.services-hero-panel strong {
  display: block;
  margin-bottom: 5px;
  color: #ffd7da;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.services-hero-panel span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.services-overview {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.overview-card {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.overview-card span,
.service-category {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.overview-card p {
  margin-bottom: 0;
}

.services-decision-band {
  background: var(--brand-dark);
  color: var(--white);
  padding: 26px 0;
}

.services-decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.decision-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 20px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.decision-card:hover,
.decision-card:focus-visible,
.decision-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(141, 198, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.decision-card span {
  width: fit-content;
  border-radius: 999px;
  background: rgba(141, 198, 255, 0.16);
  color: #ffd7da;
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.decision-card strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.35;
  margin-top: 18px;
}

.decision-card small {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  font-weight: 750;
  line-height: 1.45;
}

.services-assurance-section {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.services-assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-assurance-card {
  min-height: 154px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 24px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.services-assurance-card h3 {
  margin-bottom: 10px;
}

.services-assurance-card p {
  margin: 0;
}

.service-catalog {
  background: #f4f7fb;
}

.service-group + .service-group {
  margin-top: 34px;
}

.service-group-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.service-group-heading h3 {
  margin: 0;
  font-size: 1.08rem;
}

.service-group-heading span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-catalog-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  gap: 14px 18px;
  align-items: center;
  margin-bottom: 28px;
}

.service-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-filter-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.service-filter-button:hover,
.service-filter-button:focus-visible,
.service-filter-button.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.service-search-field {
  width: 100%;
}

.service-search-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 16px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.service-search-field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.12);
}

.service-result-count {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-highlights {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.service-highlights li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-left: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-highlights li::before {
  content: "\2022";
  color: var(--brand);
  line-height: 1.2;
}

.service-group.hidden {
  display: none;
}

.services-list.hidden {
  display: none;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.service-empty-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
}

.service-empty-state strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.service-empty-state p {
  margin: 0;
}

.service-detail-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  align-items: stretch;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-detail-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}

.service-detail-image {
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.04);
}

.service-detail-image span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.86);
  color: var(--white);
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 900;
}

.service-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-detail-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 24px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 900;
}

.service-detail-content {
  display: grid;
  gap: 14px;
  padding: 0 24px;
}

.service-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-detail-meta .service-detail-icon {
  flex: 0 0 auto;
  margin: 0;
}

.service-detail-meta .service-category {
  margin: 0;
}

.service-detail-content h3 {
  margin-bottom: 0;
}

.service-detail-content p {
  margin: 0;
  color: var(--ink);
}

.service-outcome {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  color: var(--ink);
  font-size: 0.92rem;
  margin-top: 8px;
}

.service-ideal {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.9);
  color: var(--muted);
  padding: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-ideal strong {
  color: var(--ink);
}

.service-highlights {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-highlights li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-highlights li::before {
  content: "\2022";
  color: var(--brand);
  font-size: 1.25rem;
  line-height: 1;
  margin-top: 2px;
}

.service-detail-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 24px 24px;
}

.service-detail-actions .button {
  min-width: 100px;
  padding: 0 18px;
}

.service-outcome strong {
  color: var(--brand);
}

.service-detail-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.service-detail-actions .button {
  min-width: 92px;
  padding: 0 16px;
}

.service-process-section {
  background: var(--white);
}

.service-process-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 22px;
}

.process-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
}

.process-list h3 {
  margin-bottom: 6px;
}

.process-list p {
  margin-bottom: 0;
}

.service-readiness-section {
  background: #f8fafc;
  border-top: 1px solid var(--line);
}

.service-readiness-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: start;
}

.service-readiness-list {
  display: grid;
  gap: 12px;
}

.service-readiness-list div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.service-readiness-list span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.service-readiness-list strong {
  color: var(--ink);
  line-height: 1.35;
}

.service-cta {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(25, 87, 194, 0.92)),
    #111827;
  color: var(--white);
  padding: 78px 0;
}

.service-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.service-cta h2 {
  max-width: 760px;
  color: var(--white);
}

.service-cta p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
}

.service-cta .eyebrow {
  color: #ffd7da;
}

.service-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.service-cta .button.secondary {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

@media (max-width: 1040px) {
  .services-hero-grid,
  .service-process-grid,
  .service-readiness-grid,
  .service-cta-inner {
    grid-template-columns: 1fr;
  }

  .services-decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-hero-panel {
    max-width: 760px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-detail-card {
    grid-template-columns: 220px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    padding: 0;
  }

  .service-detail-image {
    grid-row: 1 / span 3;
  }

  .service-detail-image img {
    height: 100%;
  }

  .service-detail-icon {
    margin: 22px 22px 0;
  }

  .service-detail-content {
    padding: 0 22px;
  }

  .service-detail-actions {
    grid-column: 2;
    padding: 0 22px 22px;
    justify-content: flex-start;
  }

  .service-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .services-hero {
    min-height: 720px;
    padding: 150px 0 54px;
  }

  .services-decision-grid,
  .service-catalog-controls {
    grid-template-columns: 1fr;
  }

  .services-overview-grid,
  .services-hero-panel {
    grid-template-columns: 1fr;
  }

  .service-group-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .service-detail-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-detail-image {
    grid-row: auto;
  }

  .service-detail-image img {
    height: auto;
  }

  .service-detail-icon {
    margin: 0 20px;
  }

  .service-detail-content {
    padding: 0 20px;
  }

  .service-detail-actions {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0 20px 20px;
  }

  .service-detail-actions .button,
  .service-cta-actions .button {
    width: 100%;
  }

  .process-list div {
    grid-template-columns: 1fr;
  }

  .process-list span {
    grid-row: auto;
    margin-bottom: 14px;
  }

  .service-cta {
    padding: 62px 0;
  }
}

/* ============================================ */
/* PROJECTS PAGE */
/* ============================================ */

.projects-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 165px 0 70px;
}

.projects-hero-media,
.projects-hero-overlay {
  position: absolute;
  inset: 0;
}

.projects-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.76) 48%, rgba(15, 23, 42, 0.28) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.66), rgba(15, 23, 42, 0.08) 54%);
}

.projects-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 46px;
  align-items: end;
}

.projects-hero-copy {
  max-width: 820px;
}

.projects-hero-copy h1 {
  max-width: 790px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.75rem, 5vw, 4.65rem);
  line-height: 1.02;
}

.projects-hero-copy p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.projects-hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.projects-hero-panel div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.projects-hero-panel strong {
  display: block;
  margin-bottom: 5px;
  color: #ffd7da;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.projects-hero-panel span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.projects-showcase {
  background: var(--white);
  padding: 92px 0;
}

.projects-showcase-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.projects-showcase-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.project-showcase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.project-showcase-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 900;
}

.projects-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.projects-gallery figure {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--brand-dark);
  cursor: pointer;
  outline: 0;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.projects-gallery figure.is-active {
  box-shadow: 0 0 0 3px rgba(141, 198, 255, 0.7), 0 18px 50px rgba(15, 23, 42, 0.18);
}

.projects-gallery figure:first-child {
  grid-row: span 2;
  min-height: 454px;
}

.projects-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.projects-gallery figure:hover img {
  transform: scale(1.04);
}

.projects-gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  color: var(--white);
  padding: 7px 11px;
  font-size: 0.78rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.featured-projects-section {
  background: #f4f7fb;
}

.project-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
}

.project-filter-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.project-filter-button:hover,
.project-filter-button:focus-visible,
.project-filter-button.is-active {
  transform: translateY(-1px);
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.project-result-count {
  margin: 0 0 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.featured-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.featured-project-grid.no-results::before {
  content: "No projects match this filter.";
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px 24px;
  color: var(--muted);
}

.featured-project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.featured-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.featured-project-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--brand-dark);
}

.featured-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.featured-project-card:hover .featured-project-image img {
  transform: scale(1.04);
}

.featured-project-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.featured-project-body > span {
  width: fit-content;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-project-body h3,
.featured-project-body p {
  margin: 0;
}

.project-categories-section {
  background: #f4f7fb;
}

.project-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-category-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.project-category-card.is-active {
  border-color: rgba(25, 87, 194, 0.46);
  box-shadow: 0 0 0 3px rgba(25, 87, 194, 0.12), 0 20px 44px rgba(15, 23, 42, 0.11);
}

.project-card-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.project-card-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.project-chip-row span {
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--ink);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.project-delivery-section {
  background: var(--white);
}

.project-delivery-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
}

.project-delivery-list {
  display: grid;
  gap: 14px;
}

.project-delivery-list div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 22px;
}

.project-delivery-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
}

.project-delivery-list h3 {
  margin-bottom: 6px;
}

.project-delivery-list p {
  margin-bottom: 0;
}

.project-proof-band {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(25, 87, 194, 0.9)),
    #111827;
  color: var(--white);
  padding: 84px 0;
}

.project-proof-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.4fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.project-proof-copy h2 {
  color: var(--white);
}

.project-proof-copy .eyebrow {
  color: #ffd7da;
}

.project-proof-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-proof-points div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
}

.project-proof-points h3 {
  color: var(--white);
}

.project-proof-points p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1040px) {
  .projects-hero-grid,
  .projects-showcase-grid,
  .project-delivery-grid,
  .project-proof-grid {
    grid-template-columns: 1fr;
  }

  .projects-hero-panel {
    max-width: 760px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-category-grid,
  .featured-project-grid,
  .project-proof-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .projects-hero {
    min-height: 720px;
    padding: 150px 0 54px;
  }

  .projects-hero-panel,
  .projects-gallery,
  .featured-project-grid,
  .project-category-grid,
  .project-proof-points {
    grid-template-columns: 1fr;
  }

  .project-result-count {
    width: 100%;
    margin-left: 0;
  }

  .projects-showcase {
    padding: 68px 0;
  }

  .projects-gallery figure,
  .projects-gallery figure:first-child {
    min-height: 260px;
  }

  .project-category-card {
    min-height: auto;
  }

  .project-delivery-list div {
    grid-template-columns: 1fr;
  }

  .project-delivery-list span {
    grid-row: auto;
    margin-bottom: 14px;
  }

  .project-proof-band {
    padding: 64px 0;
  }
}

/* ============================================ */
/* ABOUT PAGE */
/* ============================================ */

.about-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 165px 0 76px;
}

.about-hero-media,
.about-hero-overlay {
  position: absolute;
  inset: 0;
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.76) 52%, rgba(15, 23, 42, 0.34) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.66), rgba(15, 23, 42, 0.08) 54%);
}

.about-hero-grid {
  position: relative;
  z-index: 2;
}

.about-hero-copy {
  max-width: 860px;
}

.about-hero-copy h1 {
  max-width: 820px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.75rem, 5vw, 4.65rem);
  line-height: 1.02;
}

.about-hero-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.about-metrics {
  background: var(--brand-dark);
  color: var(--white);
}

.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.about-metric-card {
  min-height: 118px;
  display: grid;
  place-content: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.about-metric-card strong {
  color: #ffd7da;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-metric-card span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.about-story-section {
  background: var(--white);
}

.about-capabilities-section {
  background: #f4f7fb;
}

.about-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.about-capability-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.about-capability-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.about-timeline-section {
  background: var(--white);
}

.about-timeline-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
}

.about-timeline-list {
  display: grid;
  gap: 14px;
}

.about-timeline-list article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 22px;
}

.about-timeline-list span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
}

.about-timeline-list h3 {
  margin-bottom: 6px;
}

.about-timeline-list p {
  margin-bottom: 0;
}

.about-story-grid,
.about-training-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 56px;
  align-items: center;
}

.about-image-panel {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--brand-dark);
  box-shadow: var(--shadow);
}

.about-image-panel img,
.about-training-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-panel > div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.76);
  padding: 20px;
  color: var(--white);
  backdrop-filter: blur(12px);
}

.about-image-panel strong,
.about-image-panel span {
  display: block;
}

.about-image-panel span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.about-focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.about-focus-list span {
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 900;
}

.about-values-section,
.about-vision-mission-section {
  background: #f4f7fb;
}

.about-vision-mission-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.about-vision-mission-intro .section-heading {
  margin-bottom: 0;
}

.about-vision-mission-intro > p {
  margin: 0 0 4px;
  color: #475569;
  font-size: 1rem;
}

.about-vision-mission-grid,
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-value-card {
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.about-value-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.about-vm-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.about-vm-card::after {
  content: "";
  position: absolute;
  inset: auto 26px 0 26px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0.9;
}

.about-vm-card h3 {
  margin: 0 0 12px;
}

.about-vm-card p {
  margin: 0 0 22px;
  color: #475569;
}

.about-vm-card ul {
  display: grid;
  gap: 10px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.about-vm-card li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

.about-vm-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
  box-shadow: 0 0 0 5px rgba(211, 50, 42, 0.1);
}

.about-team-section {
  background: var(--white);
}

.about-team-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.about-team-intro .section-heading {
  margin-bottom: 0;
}

.about-team-intro > p {
  margin: 0 0 4px;
  color: #475569;
  font-size: 1rem;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-team-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-team-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.about-team-card-head {
  display: block;
  margin-bottom: 22px;
}

.about-team-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(25, 87, 194, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 240, 254, 0.96), rgba(255, 235, 236, 0.92)),
    #f8fafc;
}

.about-team-photo::before {
  content: "";
  position: absolute;
  width: 78px;
  height: 78px;
  top: 38px;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.12);
}

.about-team-photo::after {
  content: "";
  position: absolute;
  width: 142px;
  height: 74px;
  bottom: 32px;
  border-radius: 999px 999px 16px 16px;
  background: rgba(26, 86, 219, 0.12);
}

.about-team-photo img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team-photo span {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(26, 86, 219, 0.18);
}

.about-team-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.about-team-card-head strong {
  display: block;
  color: var(--brand);
  font-size: 0.86rem;
  line-height: 1.35;
}

.about-team-card p {
  color: #475569;
}

.about-team-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}

.about-team-focus small {
  border: 1px solid rgba(25, 87, 194, 0.14);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.about-gallery-section {
  background: #f4f7fb;
}

.about-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.about-gallery-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
}

.about-gallery-card.is-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 556px;
}

.about-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.about-gallery-card:hover img {
  transform: scale(1.04);
}

.about-gallery-card figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.78);
  color: var(--white);
  padding: 14px;
  backdrop-filter: blur(12px);
}

.about-gallery-card strong,
.about-gallery-card span {
  display: block;
}

.about-gallery-card strong {
  color: var(--white);
  line-height: 1.25;
}

.about-gallery-card span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  line-height: 1.4;
}

.about-training-section {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(25, 87, 194, 0.9)),
    #111827;
  color: var(--white);
}

.about-training-section .section-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.about-training-image {
  height: 460px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-partners-section {
  background: var(--white);
}

.about-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-partner-grid div {
  display: grid;
  place-items: center;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.about-partner-grid img {
  width: 100%;
  max-width: 160px;
  max-height: 78px;
  object-fit: contain;
}

@media (max-width: 1040px) {
  .about-story-grid,
  .about-timeline-grid,
  .about-training-grid,
  .about-vision-mission-intro,
  .about-team-intro {
    grid-template-columns: 1fr;
  }

  .about-metrics-grid,
  .about-capabilities-grid,
  .about-values-grid,
  .about-vision-mission-grid,
  .about-team-grid,
  .about-partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .about-hero {
    min-height: 720px;
    padding: 150px 0 54px;
  }

  .about-metrics-grid,
  .about-capabilities-grid,
  .about-values-grid,
  .about-vision-mission-grid,
  .about-team-grid,
  .about-gallery-grid,
  .about-partner-grid {
    grid-template-columns: 1fr;
  }

  .about-timeline-list article {
    grid-template-columns: 1fr;
  }

  .about-image-panel,
  .about-training-image {
    min-height: auto;
    height: 360px;
  }

  .about-value-card {
    min-height: auto;
  }

  .about-team-card {
    min-height: auto;
  }

  .about-gallery-card,
  .about-gallery-card.is-featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }
}

/* ============================================ */
/* CONTACT PAGE */
/* ============================================ */

.contact-hero {
  position: relative;
  min-height: 600px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 165px 0 76px;
}

.contact-hero-media,
.contact-hero-overlay {
  position: absolute;
  inset: 0;
}

.contact-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.78) 50%, rgba(15, 23, 42, 0.32) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.66), rgba(15, 23, 42, 0.08) 54%);
}

.contact-hero-grid {
  position: relative;
  z-index: 2;
}

.contact-hero-copy {
  max-width: 850px;
}

.contact-hero-copy h1 {
  max-width: 800px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.75rem, 5vw, 4.65rem);
  line-height: 1.02;
}

.contact-hero-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.contact-methods {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-method-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-method-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.contact-method-card span {
  width: fit-content;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-method-card strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.3;
}

.contact-method-card p {
  margin: 12px 0 0;
}

.contact-topic-section {
  background: var(--brand-dark);
  color: var(--white);
  padding: 58px 0;
}

.contact-topic-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.contact-topic-heading h2 {
  color: var(--white);
}

.contact-topic-heading .eyebrow {
  color: #ffd7da;
}

.contact-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-topic-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.contact-topic-card:hover,
.contact-topic-card:focus-visible,
.contact-topic-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(141, 198, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
}

.contact-topic-card span {
  width: fit-content;
  border-radius: 999px;
  background: rgba(141, 198, 255, 0.16);
  color: #ffd7da;
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-topic-card strong {
  font-size: 0.98rem;
  line-height: 1.45;
}

.contact-main-section {
  background: #f4f7fb;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.78fr);
  gap: 56px;
  align-items: start;
}

.contact-info-panel {
  display: grid;
  gap: 24px;
}

.contact-info-panel h2 {
  margin-bottom: 0;
}

.contact-office-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.contact-office-card h3 {
  margin-bottom: 8px;
}

.contact-office-card p {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 700;
}

.contact-response-list {
  display: grid;
  gap: 14px;
}

.contact-response-list > div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px;
}

.contact-response-list span,
.contact-support-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.contact-response-list h3 {
  margin-bottom: 4px;
}

.contact-response-list p {
  margin-bottom: 0;
}

.contact-form-card {
  position: sticky;
  top: 134px;
}

.contact-form-card h3 {
  margin-bottom: 6px;
}

.contact-support-section {
  background: var(--white);
}

.contact-location-section {
  background: var(--white);
}

.contact-location-frame {
  width: 100%;
  height: clamp(360px, 48vw, 540px);
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--brand-soft);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.contact-location-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-location-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.contact-location-meta strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.contact-location-meta p {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.contact-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.contact-support-card {
  min-height: 292px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.contact-support-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.contact-support-card span {
  margin-bottom: 22px;
}

@media (max-width: 1040px) {
  .contact-method-grid,
  .contact-topic-grid,
  .contact-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .contact-hero {
    min-height: 720px;
    padding: 150px 0 54px;
  }

  .contact-method-grid,
  .contact-topic-grid,
  .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-response-list > div {
    grid-template-columns: 1fr;
  }

  .contact-location-frame {
    height: 360px;
  }

  .contact-location-meta {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 18px;
  }

  .contact-location-meta .button {
    width: 100%;
  }

  .contact-support-card {
    min-height: auto;
  }
}

/* ============================================ */
/* PARTNERS PAGE REFRESH */
/* ============================================ */

.partners-page-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 165px 0 76px;
}

.partners-page-hero-media,
.partners-page-hero-overlay {
  position: absolute;
  inset: 0;
}

.partners-page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partners-page-hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.78) 48%, rgba(15, 23, 42, 0.32) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.08) 54%);
}

.partners-page-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 46px;
  align-items: end;
}

.partners-page-hero-copy {
  max-width: 850px;
}

.partners-page-hero-copy h1 {
  max-width: 800px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.75rem, 5vw, 4.65rem);
  line-height: 1.02;
}

.partners-page-hero-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.partners-page-hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.partners-page-hero-panel div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.partners-page-hero-panel strong {
  display: block;
  margin-bottom: 5px;
  color: #ffd7da;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.partners-page-hero-panel span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.partners-network-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.partners-network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.partners-network-card {
  min-height: 154px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.partners-network-card:hover,
.partners-network-card:focus-visible,
.partners-network-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(25, 87, 194, 0.32);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.partners-network-card span,
.partners-directory-info p {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.partners-network-card h3 {
  margin-bottom: 8px;
}

.partners-network-card p {
  margin-bottom: 0;
}

.partner-spotlight-section {
  background: var(--white);
}

.partner-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 56px;
  align-items: start;
}

.partner-spotlight-panel {
  display: grid;
  gap: 14px;
}

.partner-spotlight-panel div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.partner-spotlight-panel span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-spotlight-panel strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.45;
}

.partners-directory-section {
  background: #f4f7fb;
}

.partners-directory-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 380px);
  gap: 14px 18px;
  align-items: center;
  margin-bottom: 28px;
}

.partner-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-filter-button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.partner-filter-button:hover,
.partner-filter-button:focus-visible,
.partner-filter-button.is-active {
  transform: translateY(-1px);
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.partner-search-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.partner-search-field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.12);
}

.partner-result-count {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.partners-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.partners-directory-grid.no-results::before {
  content: "No partners match your search or filter.";
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 20px 24px;
  color: var(--muted);
}

.partners-directory-card {
  display: grid;
  grid-template-rows: 160px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.partners-directory-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.partners-directory-logo {
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  padding: 24px;
}

.partners-directory-logo img {
  max-width: 185px;
  max-height: 96px;
  object-fit: contain;
}

.partners-directory-info {
  padding: 24px;
}

.partners-directory-info h3 {
  margin-bottom: 8px;
}

.partners-directory-info span {
  display: block;
  color: var(--muted);
  line-height: 1.65;
}

.partners-benefit-section {
  background: var(--white);
}

.partners-benefit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
}

.partners-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.partners-benefit-card {
  min-height: 238px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 24px;
}

.partners-benefit-card span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
}

.partners-proof-band {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(25, 87, 194, 0.9)),
    #111827;
  color: var(--white);
  padding: 84px 0;
}

.partners-proof-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.4fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.partners-proof-copy h2 {
  color: var(--white);
}

.partners-proof-copy .eyebrow {
  color: #ffd7da;
}

.partners-proof-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.partners-proof-points div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
}

.partners-proof-points h3 {
  color: var(--white);
}

.partners-proof-points p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 1040px) {
  .partners-page-hero-grid,
  .partner-spotlight-grid,
  .partners-benefit-grid,
  .partners-proof-grid {
    grid-template-columns: 1fr;
  }

  .partners-page-hero-panel {
    max-width: 760px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partners-directory-grid,
  .partners-proof-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .partners-page-hero {
    min-height: 720px;
    padding: 150px 0 54px;
  }

  .partners-page-hero-panel,
  .partners-network-grid,
  .partners-directory-tools,
  .partners-directory-grid,
  .partners-benefit-list,
  .partners-proof-points {
    grid-template-columns: 1fr;
  }

  .partners-directory-card {
    grid-template-rows: 145px minmax(0, 1fr);
  }

  .partners-proof-band {
    padding: 64px 0;
  }
}

/* ============================================ */
/* SERVICE DETAIL PAGES */
/* ============================================ */

.service-detail-hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 165px 0 76px;
}

.service-detail-hero-media,
.service-detail-hero-overlay {
  position: absolute;
  inset: 0;
}

.service-detail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 24, 0.96) 0%, rgba(15, 23, 42, 0.78) 48%, rgba(15, 23, 42, 0.26) 100%),
    linear-gradient(0deg, rgba(8, 13, 24, 0.72), rgba(8, 13, 24, 0.08) 58%);
}

.service-detail-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 44px;
  align-items: end;
}

.service-detail-hero-copy {
  max-width: 850px;
}

.service-detail-breadcrumbs {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-detail-breadcrumbs a:hover {
  color: var(--white);
}

.service-detail-hero h1 {
  max-width: 830px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(2.75rem, 5vw, 4.8rem);
  line-height: 1.02;
}

.service-detail-hero-copy > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.service-detail-stats {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.service-detail-stats div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.service-detail-stats strong {
  display: block;
  margin-bottom: 5px;
  color: #ffd7da;
  font-size: 2.15rem;
  font-weight: 900;
  line-height: 1;
}

.service-detail-stats span {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.service-detail-main {
  background: #f4f7fb;
}

.service-detail-main-grid,
.service-detail-faq-grid,
.service-detail-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: 44px;
  align-items: start;
}

.service-detail-content-panel,
.service-detail-quick-card,
.service-info-card,
.service-detail-process-step,
.service-proof-card,
.service-faq-list details,
.related-service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.service-detail-content-panel,
.service-detail-quick-card {
  padding: 28px;
}

.service-detail-content-panel h2 {
  max-width: 780px;
}

.detail-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.detail-check-list li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px 14px 14px 38px;
  color: var(--ink);
  font-weight: 750;
}

.detail-check-list li::before {
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--success);
  content: "+";
  font-weight: 900;
}

.service-detail-quick-card {
  position: sticky;
  top: 130px;
}

.service-detail-quick-card span,
.service-info-card span,
.related-service-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 6px 10px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-detail-info-section {
  background: var(--white);
}

.service-detail-info-grid,
.service-detail-card-grid,
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-info-card,
.service-proof-card {
  min-height: 230px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-info-card:hover,
.service-proof-card:hover,
.related-service-card:hover,
.related-service-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
}

.service-info-card p,
.service-proof-card p {
  margin-bottom: 0;
}

.service-detail-process-section {
  background: #f4f7fb;
}

.service-detail-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-process-step {
  min-height: 260px;
  padding: 24px;
}

.service-detail-process-step span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 34px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
}

.service-detail-proof-band {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(25, 87, 194, 0.9)),
    #111827;
  color: var(--white);
  padding: 86px 0;
}

.service-detail-proof-band h2,
.service-detail-proof-band h3 {
  color: var(--white);
}

.service-detail-proof-band .eyebrow {
  color: #ffd7da;
}

.service-proof-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.service-proof-card p {
  color: rgba(255, 255, 255, 0.76);
}

.service-detail-faq-section,
.related-services-section {
  background: var(--white);
}

.service-faq-list {
  display: grid;
  gap: 12px;
}

.service-faq-list details {
  overflow: hidden;
}

.service-faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
}

.service-faq-list details p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0 20px 20px;
}

.service-detail-cta {
  background: var(--brand-dark);
  color: var(--white);
  padding: 78px 0;
}

.service-detail-cta-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.service-detail-cta h2 {
  max-width: 760px;
  color: var(--white);
}

.service-detail-cta p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
}

.service-detail-cta .eyebrow {
  color: #ffd7da;
}

.service-detail-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.service-detail-cta .button.secondary {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.related-service-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.related-service-card strong {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

@media (max-width: 1040px) {
  .service-detail-hero-grid,
  .service-detail-main-grid,
  .service-detail-faq-grid,
  .service-detail-cta-inner {
    grid-template-columns: 1fr;
  }

  .service-detail-stats {
    max-width: 760px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-detail-quick-card {
    position: static;
  }

  .service-detail-info-grid,
  .service-detail-card-grid,
  .related-services-grid,
  .service-detail-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .service-detail-hero {
    min-height: 720px;
    padding: 150px 0 54px;
  }

  .service-detail-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.45rem);
  }

  .service-detail-stats,
  .detail-check-list,
  .service-detail-info-grid,
  .service-detail-card-grid,
  .related-services-grid,
  .service-detail-process-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-content-panel,
  .service-detail-quick-card,
  .service-info-card,
  .service-detail-process-step,
  .service-proof-card {
    min-height: auto;
  }

  .service-detail-cta-actions .button {
    width: 100%;
  }
}

/* ============================================ */
/* INTERACTIVE HOME PAGE */
/* ============================================ */

.hero-slider {
  isolation: isolate;
  min-height: 660px;
  padding: 138px 0 60px;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--brand-dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: none;
  transition: opacity 720ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: none;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider .hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.04) 56%);
}

.hero-slider .hero-grid {
  z-index: 2;
}

.hero-slider h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.02;
}

.hero-slider .hero-lede {
  max-width: 620px;
  font-size: 1.06rem;
}

.hero-slider .hero-panel div {
  padding: 18px;
}

.hero-slider .metric {
  font-size: 2rem;
}

.hero-copy [data-hero-eyebrow],
.hero-copy [data-hero-title],
.hero-copy [data-hero-lede] {
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-copy.is-changing [data-hero-eyebrow],
.hero-copy.is-changing [data-hero-title],
.hero-copy.is-changing [data-hero-lede] {
  opacity: 0;
  transform: translateY(10px);
}

.hero-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.hero-dot,
.service-filter-chips button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hero-dot {
  width: 38px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
}

.hero-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
}

.hero-dot.is-active {
  width: 58px;
  border-color: var(--accent);
  background: var(--accent);
}

.hero-dot:hover,
.hero-dot:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.2);
}

.home-service-tools {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: -12px 0 28px;
}

.service-filter input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  padding: 0 16px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-filter input:focus {
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.12);
}

.service-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.service-filter-chips button {
  min-height: 40px;
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0 13px;
  font-weight: 800;
}

.service-filter-chips button:hover,
.service-filter-chips button:focus-visible,
.service-filter-chips button.is-active {
  border-color: rgba(26, 86, 219, 0.28);
  background: var(--brand-light);
  color: var(--brand);
}

.service-card.is-hidden {
  display: none;
}

@media (max-width: 1040px) {
  .home-service-tools {
    grid-template-columns: 1fr;
  }

  .service-filter-chips {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .hero-slider {
    min-height: auto;
    padding: 124px 0 44px;
  }

  .hero-slider .hero-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .hero-slider h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.04;
  }

  .hero-slider .hero-lede {
    font-size: 1rem;
  }

  .hero-slider .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-slider .hero-panel div {
    padding: 14px 10px;
  }

  .hero-slider .metric {
    font-size: 1.6rem;
  }

  .hero-slider .hero-panel span:not(.metric) {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .hero-controls {
    gap: 8px;
  }

  .hero-dot {
    width: 28px;
  }

  .hero-dot.is-active {
    width: 42px;
  }

}

/* ============================================ */
/* FINAL FOOTER REFRESH */
/* ============================================ */

.site-footer {
  margin-top: 72px;
  background: #051d44;
  color: rgba(255, 255, 255, 0.78);
  border-top: 6px solid var(--accent);
}

.footer-cta {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
  color: var(--ink);
  padding: 54px 0;
}

.footer-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.footer-cta h2 {
  max-width: 780px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.footer-cta p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
}

.footer-cta .eyebrow {
  color: var(--accent);
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer-cta .button.secondary {
  background: var(--brand-soft);
  border-color: rgba(15, 78, 168, 0.16);
  color: var(--brand);
}

.footer-main {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) minmax(180px, 0.8fr) minmax(160px, 0.7fr) minmax(260px, 1fr);
  gap: 36px;
  padding: 0;
}

.footer-column {
  min-width: 0;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--white);
}

.footer-brand-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
  padding: 6px;
}

.footer-brand-mark span {
  display: grid;
  line-height: 1.15;
}

.footer-brand-mark strong {
  color: var(--white);
  font-size: 1.04rem;
}

.footer-brand-mark small {
  margin-top: 4px;
  color: #ffd7da;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.column-title {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.column-description {
  max-width: 420px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-proof-list span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.84);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.column-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.column-links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 750;
  line-height: 1.35;
}

.column-links a:hover,
.column-links a:focus-visible,
.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
}

.contact-info {
  display: grid;
  gap: 12px;
}

.contact-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.contact-item span,
.contact-item a {
  min-width: 0;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(141, 198, 255, 0.2);
  border-radius: 8px;
  background: rgba(141, 198, 255, 0.14);
  color: #ffd7da;
}

.contact-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.82);
  overflow-wrap: anywhere;
}

.footer-contact-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.footer-action {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 9px 12px;
  font-size: 0.84rem;
  font-weight: 900;
}

.footer-action:hover,
.footer-action:focus-visible {
  border-color: rgba(141, 198, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  background: rgba(0, 0, 0, 0.22);
  padding: 18px 0;
}

.footer-copyright-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer-copyright p {
  grid-column: 2;
}

.footer-copyright p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.footer-copyright strong {
  color: var(--white);
}

.footer-copyright a {
  grid-column: 3;
  justify-self: end;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 900;
}

.footer-copyright a:hover,
.footer-copyright a:focus-visible {
  color: var(--white);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  padding: 10px 16px 10px 10px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.24);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  background: #1fb85a;
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.28);
}

.whatsapp-float-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
}

.whatsapp-float-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.whatsapp-float-text {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.whatsapp-float-text strong {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 900;
}

.whatsapp-float-text small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 54px;
    padding: 8px;
  }

  .whatsapp-float-text {
    display: none;
  }

  .whatsapp-float-icon {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 1040px) {
  .footer-cta-inner {
    grid-template-columns: 1fr;
  }

  .footer-cta-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================ */
/* HOME CONTACT AREA REFRESH */
/* ============================================ */

.quote-section {
  background:
    linear-gradient(180deg, #f4f7fb 0%, #ffffff 100%);
}

.quote-copy {
  align-self: start;
}

.home-contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.home-contact-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-contact-card:hover,
.home-contact-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(25, 87, 194, 0.28);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.home-contact-card > span:not(.home-contact-card-text) {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
}

.home-contact-card svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-contact-card-text {
  display: grid;
  gap: 3px;
  min-width: 0;
  align-content: start;
  padding-top: 1px;
}

.home-contact-card-text strong,
.home-contact-card-text small {
  display: block;
  min-width: 0;
}

.home-contact-card-text strong {
  color: var(--ink);
  line-height: 1.25;
}

.home-contact-card-text small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.home-request-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 18px;
}

.home-request-panel h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.home-request-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-request-chips button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.home-request-chips button:hover,
.home-request-chips button:focus-visible,
.home-request-chips button.is-active {
  transform: translateY(-1px);
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.home-response-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.home-response-steps div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px;
}

.home-response-steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-weight: 900;
}

.home-response-steps strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.35;
}

.quote-form-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: -4px -4px 2px;
  border: 1px solid rgba(25, 87, 194, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 240, 254, 0.98), rgba(255, 255, 255, 0.96)),
    var(--white);
  padding: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.support-heading-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(26, 86, 219, 0.22);
}

.support-heading-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.quote-form-heading span {
  width: fit-content;
  border-radius: 999px;
  background: var(--white);
  color: var(--brand);
  padding: 6px 10px;
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-form-heading h3 {
  margin-bottom: 0;
  font-size: 1.3rem;
}

.quote-form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-form-assurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quote-form-assurance span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  padding: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.quote-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-message-field {
  margin-top: 2px;
}

.quote-form-submit {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.quote-form-submit p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.quote-submit-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.quote-call-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--brand);
  padding: 0 14px;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quote-call-link:hover,
.quote-call-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(25, 87, 194, 0.28);
  background: var(--brand-light);
}

@media (max-width: 720px) {
  .home-contact-methods,
  .home-response-steps,
  .quote-form-fields,
  .quote-form-assurance,
  .quote-submit-actions {
    grid-template-columns: 1fr;
  }

  .quote-form-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-footer {
    margin-top: 44px;
  }

  .footer-cta,
  .footer-main {
    padding: 42px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-cta-actions .button,
  .footer-action {
    width: 100%;
  }

  .contact-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-copyright-inner {
    grid-template-columns: 1fr;
  }

  .footer-copyright p,
  .footer-copyright a {
    grid-column: 1;
    justify-self: center;
  }
}

/* Header refresh */
.site-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.11);
}

.top-contact {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  border-bottom: 2px solid var(--accent);
  color: rgba(255, 255, 255, 0.84);
}

.top-contact-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.82rem;
  font-weight: 780;
}

.top-contact-links,
.top-contact-note,
.top-contact a {
  display: inline-flex;
  align-items: center;
}

.top-contact-links {
  flex-wrap: wrap;
  gap: 10px;
}

.top-contact a {
  gap: 7px;
  min-height: 28px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  padding: 0 2px;
  transition: color 180ms ease, background 180ms ease;
}

.top-contact a:hover,
.top-contact a:focus-visible {
  color: var(--white);
}

.top-contact a span,
.top-contact-note span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.top-contact svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.top-contact-note {
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  text-align: right;
  white-space: nowrap;
}

.nav-shell {
  min-height: 76px;
  gap: 18px;
}

.brand {
  min-width: 0;
}

.brand img,
.brand-logo {
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.brand strong {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.15;
}

.brand small {
  width: fit-content;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 4px 8px;
  font-size: 0.66rem;
  font-weight: 900;
}

.nav-links {
  gap: 2px;
}

.mobile-nav-action {
  display: none;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #243044;
  padding: 8px 11px;
  font-size: 0.88rem;
  font-weight: 850;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  border-color: rgba(215, 25, 32, 0.18);
  background: linear-gradient(180deg, var(--brand-soft), var(--accent-soft));
  color: var(--brand);
}

.nav-actions {
  gap: 10px;
}

.nav-phone,
.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.nav-phone {
  width: 42px;
  border: 1px solid rgba(215, 25, 32, 0.2);
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.08);
}

.nav-phone span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.nav-phone svg,
.nav-cta svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav-cta {
  padding: 0 15px 0 17px;
}

.nav-phone:hover,
.nav-phone:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
}

@media (max-width: 1120px) {
  .nav-shell {
    gap: 12px;
  }

  .nav-links a {
    padding-inline: 9px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1040px) {
  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-toggle {
    background: var(--white);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .nav-links.is-open {
    top: 128px;
    gap: 6px;
    border-radius: 8px;
    padding: 12px;
  }

  .nav-links.is-open a {
    width: 100%;
    justify-content: space-between;
    min-height: 44px;
    padding: 12px 14px;
  }

  .nav-actions.is-open {
    align-items: stretch;
  }

  .nav-actions.is-open .nav-phone {
    width: 52px;
    min-width: 52px;
  }

  .nav-actions.is-open .nav-cta {
    flex: 1;
  }
}

@media (max-width: 720px) {
  .top-contact-inner {
    min-height: auto;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 0;
  }

  .top-contact-links {
    gap: 6px 10px;
  }

  .top-contact a,
  .top-contact-note {
    font-size: 0.76rem;
  }

  .top-contact-note {
    white-space: normal;
    text-align: left;
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand img,
  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links.is-open {
    top: 132px;
  }
}

/* ============================================ */
/* FINAL RESPONSIVE AND QUALITY HARDENING */
/* ============================================ */

:root {
  --header-height: 118px;
}

html {
  overflow-x: hidden;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  overflow-x: clip;
}

:focus-visible {
  outline: 3px solid rgba(26, 86, 219, 0.32);
  outline-offset: 3px;
}

.button:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
}

.check-list li::before {
  top: 0.38em;
  width: 11px;
  height: 6px;
  border-bottom: 2px solid var(--success);
  border-left: 2px solid var(--success);
  color: transparent;
  content: "";
  transform: rotate(-45deg);
}

.hero-slide img,
.hero-media img,
.image-main,
.image-small,
.image-frame img,
.project-gallery img,
.contact-hero-media img {
  background: #eaf0f8;
}

iframe,
table,
pre,
code {
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1040px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    padding: 0;
  }

  .nav-shell {
    width: min(100% - 28px, 1160px);
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-links.is-open {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 14px;
    right: 14px;
    z-index: 120;
    display: flex;
    max-height: calc(100dvh - var(--header-height) - 106px);
    overflow-y: auto;
    border-radius: 8px;
  }

  .nav-actions.is-open {
    display: none;
  }

  .nav-links.is-open .mobile-nav-action {
    display: inline-flex;
    justify-content: center;
    border-color: rgba(26, 86, 219, 0.18);
    background: var(--brand-light);
    color: var(--brand);
    font-weight: 900;
  }

  .nav-links.is-open .mobile-nav-quote {
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: var(--white);
  }

  body.menu-open::before {
    z-index: 110;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1160px);
  }

  .container {
    padding-left: 0;
    padding-right: 0;
  }

  .top-contact-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .top-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .top-contact a,
  .top-contact-note {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .top-contact a {
    gap: 5px;
    font-size: 0.68rem;
  }

  .top-contact a span {
    width: 18px;
    height: 18px;
  }

  .top-contact-note {
    display: none;
  }

  .brand {
    gap: 10px;
    max-width: calc(100vw - 88px);
  }

  .brand span {
    min-width: 0;
    max-width: none;
  }

  .brand strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  h1,
  .hero-slider h1,
  .contact-hero h1,
  .page-hero h1,
  .service-detail-hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.35rem);
    line-height: 1.08;
  }

  .hero,
  .hero-slider,
  .contact-hero,
  .page-hero,
  .service-detail-hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 38px);
  }

  .hero-actions,
  .footer-cta-actions,
  .quote-submit-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .footer-cta-actions .button,
  .quote-submit-actions .button,
  .quote-call-link {
    width: 100%;
  }

  .hero-slider .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-slider .hero-panel div {
    min-height: 0;
  }

  .service-grid,
  .process-grid,
  .operations-grid,
  .partners-grid,
  .testimonial-grid,
  .advantage-grid,
  .contact-method-grid,
  .contact-support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .section-copy,
  .proof-copy,
  .quote-copy {
    min-width: 0;
  }

  .footer-brand-mark,
  .footer-action,
  .column-links a {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand strong {
    font-size: 0.82rem;
  }

  .brand small {
    display: none;
  }

  .hero-slider h1,
  h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.35rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.75rem, 10vw, 2.45rem);
  }
}

/* ============================================ */
/* ORGANIZED HEADER LAYOUT */
/* ============================================ */

.site-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.top-contact {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.top-contact-inner {
  min-height: 32px;
  font-size: 0.76rem;
}

.top-contact-links {
  gap: 18px;
}

.top-contact a,
.top-contact-note {
  min-height: 24px;
}

.top-contact a span,
.top-contact-note span {
  width: 18px;
  height: 18px;
}

.top-contact svg {
  width: 11px;
  height: 11px;
}

.nav-shell {
  min-height: 66px;
  width: min(1180px, calc(100vw - 48px));
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, auto) auto;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  gap: 10px;
  min-width: 0;
}

.brand img,
.brand-logo {
  width: 46px;
  height: 46px;
  padding: 5px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

.brand span {
  min-width: 0;
  max-width: 220px;
}

.brand strong {
  max-width: 220px;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.14;
}

.brand small {
  width: fit-content;
  margin-top: 4px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.64rem;
  letter-spacing: 0;
}

.nav-links {
  justify-self: center;
  display: inline-flex;
  gap: 2px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #f8fafc;
  padding: 4px;
}

.nav-links a {
  min-height: 34px;
  margin: 0;
  border-radius: 6px;
  padding: 7px 9px;
  color: #243044;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  border-color: transparent;
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.nav-links .mobile-nav-action {
  display: none;
}

.nav-actions {
  justify-self: end;
  gap: 8px;
}

.nav-actions .nav-phone {
  display: none;
}

.nav-phone,
.nav-cta {
  min-height: 38px;
}

.nav-phone {
  width: 38px;
}

.nav-cta {
  padding: 0 13px;
  font-size: 0.82rem;
}

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: minmax(190px, 0.72fr) minmax(0, auto) auto;
    gap: 14px;
    width: min(100% - 32px, 1180px);
  }

  .brand strong {
    max-width: 180px;
    font-size: 0.8rem;
  }

  .nav-links a {
    padding-inline: 8px;
    font-size: 0.78rem;
  }

  .nav-cta span {
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 1040px) {
  .top-contact-inner {
    min-height: 30px;
  }

  .top-contact-note {
    display: none;
  }

  .nav-shell {
    min-height: 62px;
    width: min(100% - 28px, 1180px);
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-links:not(.is-open),
  .nav-actions:not(.is-open) {
    display: none;
  }

  .brand img,
  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand strong {
    max-width: min(280px, calc(100vw - 118px));
    font-size: 0.82rem;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .nav-links {
    border-radius: 8px;
  }

  .nav-links.is-open {
    display: flex;
    top: calc(var(--header-height) + 8px);
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
  }

  .nav-links.is-open a {
    min-height: 44px;
    justify-content: space-between;
    padding: 12px 14px;
    box-shadow: none;
  }
}

@media (max-width: 720px) {
  .top-contact-inner {
    min-height: 30px;
    display: flex;
    padding: 4px 0;
  }

  .top-contact-links {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .top-contact a {
    min-height: 22px;
    font-size: 0.66rem;
  }

  .top-contact a span {
    display: none;
  }

  .nav-shell {
    min-height: 58px;
  }

  .brand {
    gap: 8px;
  }

  .brand img,
  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand strong {
    max-width: calc(100vw - 104px);
    font-size: 0.76rem;
    line-height: 1.12;
    -webkit-line-clamp: 2;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero,
  .hero-slider,
  .contact-hero,
  .page-hero,
  .service-detail-hero {
    padding-top: calc(var(--header-height) + 28px);
  }
}

@media (max-width: 420px) {
  .top-contact-links a[href^="mailto:"] {
    display: none;
  }

  .top-contact-links {
    justify-content: flex-start;
  }

  .brand strong {
    font-size: 0.72rem;
  }
}

/* VU-inspired homepage sections */
.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin-top: 28px;
}

.hero-proof-row div {
  min-height: 134px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 18px;
  backdrop-filter: blur(14px);
}

.hero-proof-row span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-proof-row strong {
  display: block;
  margin: 4px 0;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 950;
  line-height: 1;
}

.hero-proof-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.45;
}

.path-section {
  padding: 96px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.path-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.path-copy {
  position: sticky;
  top: calc(var(--header-height) + 22px);
}

.path-copy .button {
  margin-top: 12px;
}

.path-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.path-card {
  min-height: 236px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.path-card:hover,
.path-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(26, 86, 219, 0.26);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.11);
}

.path-card-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--brand-light);
  color: var(--brand);
}

.path-card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.path-card-kicker {
  width: fit-content;
  border-radius: 999px;
  background: rgba(227, 30, 36, 0.08);
  color: var(--accent);
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.path-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.18;
}

.path-card small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.path-card em {
  margin-top: auto;
  color: var(--brand);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 900;
}

.updates-section {
  background: #f8fafc;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.update-card {
  min-height: 310px;
  display: grid;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.update-card span {
  width: fit-content;
  margin-bottom: 42px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.update-card h3 {
  font-size: 1.24rem;
}

.update-card p {
  margin-bottom: 20px;
}

.update-card a {
  margin-top: auto;
  color: var(--brand);
  font-weight: 900;
}

.info-cta-section {
  padding: 82px 0;
  background: var(--ink);
  color: var(--white);
}

.info-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.info-cta-section h2 {
  max-width: 820px;
  margin-bottom: 12px;
  color: var(--white);
}

.info-cta-section p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.info-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.info-cta-actions .button.secondary.on-light {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

@media (max-width: 1040px) {
  .path-grid,
  .info-cta-grid {
    grid-template-columns: 1fr;
  }

  .path-copy {
    position: static;
  }

  .updates-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .hero-proof-row,
  .path-card-grid,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .path-section {
    padding: 66px 0;
  }

  .hero-proof-row div,
  .path-card,
  .update-card {
    min-height: auto;
  }

  .info-cta-actions .button {
    width: 100%;
  }
}

/* VU-style fixed header behavior, keeping the blue contact strip */
.site-header {
  padding: 0;
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  color: var(--white);
}

.site-header.is-scrolled {
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header .top-contact {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.site-header .nav-shell {
  width: 100%;
  min-height: 69px;
  grid-template-columns: minmax(230px, 0.78fr) minmax(0, auto) auto;
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled .nav-shell {
  background: rgba(0, 0, 0, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
}

.site-header.is-past-hero .nav-shell {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.1);
}

.site-header .brand img,
.site-header .brand-logo {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.site-header .brand strong,
.site-header.is-scrolled .brand strong,
.site-header .brand span,
.site-header.is-scrolled .brand span {
  color: var(--white);
}

.site-header.is-past-hero .brand strong,
.site-header.is-past-hero .brand span {
  color: var(--ink);
}

.site-header .brand small,
.site-header.is-scrolled .brand small {
  color: rgba(255, 255, 255, 0.76);
}

.site-header.is-past-hero .brand small {
  color: var(--muted);
}

.site-header .nav-links {
  border: 0;
  background: transparent;
  padding: 0;
  align-items: stretch;
  overflow: visible;
}

.site-header .nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.site-header .nav-links a,
.site-header.is-scrolled .nav-links a {
  position: relative;
  min-height: 69px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  padding: 0 12px;
}

.site-header.is-past-hero .nav-links a {
  color: #243044;
}

.site-header .nav-item > a {
  display: inline-flex;
  align-items: center;
}

.site-header .has-dropdown > a::after {
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.82;
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible,
.site-header .nav-links a.active,
.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a:focus-visible,
.site-header.is-scrolled .nav-links a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: none;
}

.site-header.is-past-hero .nav-links a:hover,
.site-header.is-past-hero .nav-links a:focus-visible,
.site-header.is-past-hero .nav-links a.active,
.site-header.is-past-hero .nav-item:hover > a,
.site-header.is-past-hero .nav-item:focus-within > a {
  background: rgba(26, 86, 219, 0.08);
  color: var(--brand);
}

.site-header .nav-links > a::before,
.site-header .nav-item > a::before {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header .nav-links > a:hover::before,
.site-header .nav-links > a:focus-visible::before,
.site-header .nav-links > a.active::before,
.site-header .nav-item:hover > a::before,
.site-header .nav-item:focus-within > a::before,
.site-header .nav-item > a.active::before {
  opacity: 1;
  transform: scaleX(1);
}

.site-header .nav-cta {
  background: var(--accent);
  color: var(--white);
  box-shadow: none;
}

.site-header .nav-cta:hover,
.site-header .nav-cta:focus-visible {
  background: #c81f1f;
}

.site-header .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 130;
  width: min(560px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.88);
  padding: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header.is-past-hero .nav-dropdown {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.14);
}

.site-header .nav-dropdown.compact {
  width: min(280px, calc(100vw - 48px));
  grid-template-columns: 1fr;
}

.site-header .has-dropdown:hover .nav-dropdown,
.site-header .has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-header .nav-dropdown a,
.site-header.is-scrolled .nav-dropdown a {
  min-height: 46px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 12px;
  font-size: 0.86rem;
  line-height: 1.25;
}

.site-header.is-past-hero .nav-dropdown a {
  color: #334155;
}

.site-header .nav-dropdown a:hover,
.site-header .nav-dropdown a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.site-header.is-past-hero .nav-dropdown a:hover,
.site-header.is-past-hero .nav-dropdown a:focus-visible {
  background: var(--brand-light);
  color: var(--brand);
}

@media (max-width: 1040px) {
  .site-header .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 64px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header .nav-toggle {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .site-header .nav-toggle span:not(.sr-only),
  .site-header.is-scrolled .nav-toggle span:not(.sr-only) {
    background: var(--white);
  }

  .site-header.is-past-hero .nav-toggle {
    border-color: rgba(15, 23, 42, 0.12);
    background: var(--white);
  }

  .site-header.is-past-hero .nav-toggle span:not(.sr-only) {
    background: var(--ink);
  }

  .site-header.is-past-hero .brand strong,
  .site-header.is-past-hero .brand span {
    color: var(--ink);
  }

  .site-header .nav-links.is-open {
    top: calc(var(--header-height) + 8px);
    border: 1px solid var(--line);
    background: var(--white);
  }

  .site-header .nav-links.is-open a {
    min-height: 44px;
    border-radius: 8px;
    color: var(--ink);
  }

  .site-header .nav-links.is-open .nav-item {
    display: grid;
    gap: 6px;
  }

  .site-header .nav-links.is-open .has-dropdown > a::after {
    display: none;
  }

  .site-header .nav-links.is-open .nav-dropdown {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    border: 0;
    background: #f8fafc;
    box-shadow: none;
    opacity: 1;
    padding: 8px;
    pointer-events: auto;
    transform: none;
  }

  .site-header .nav-links.is-open .nav-dropdown a,
  .site-header.is-scrolled .nav-links.is-open .nav-dropdown a {
    min-height: 40px;
    color: #475569;
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .site-header .nav-links.is-open a:hover,
  .site-header .nav-links.is-open a:focus-visible,
  .site-header .nav-links.is-open a.active {
    background: var(--brand-light);
    color: var(--brand);
  }

  .site-header .nav-links.is-open .mobile-nav-quote {
    background: var(--accent);
    color: var(--white);
  }
}

@media (max-width: 720px) {
  .site-header .nav-shell {
    min-height: 60px;
  }

  .site-header .brand img,
  .site-header .brand-logo {
    width: 40px;
    height: 40px;
  }
}

/* Final mobile correction for the VU-style header menu */
@media (max-width: 1040px) {
  .site-header .nav-links.is-open {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    left: 14px !important;
    right: 14px !important;
    width: calc(100vw - 28px) !important;
    max-width: none !important;
    min-width: 0 !important;
    transform: none !important;
    justify-self: stretch !important;
    align-items: stretch;
    justify-content: stretch !important;
  }

  .site-header .nav-links.is-open > a,
  .site-header .nav-links.is-open .nav-item,
  .site-header .nav-links.is-open .nav-item > a,
  .site-header .nav-links.is-open .mobile-nav-action {
    width: 100%;
  }

  .site-header .nav-links.is-open .nav-dropdown {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    transform: none !important;
  }
}

/* Logo-only brand treatment */
.site-header .nav-shell {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.site-header .brand,
.brand {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  gap: 0;
}

.site-header .brand img,
.site-header .brand-logo,
.brand img,
.brand-logo {
  width: 72px;
  height: 72px;
  padding: 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  object-fit: contain;
}

.footer-brand-mark {
  margin-bottom: 20px;
}

.footer-brand-mark img {
  width: 92px;
  height: 92px;
  padding: 6px;
  border-radius: 50%;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

@media (max-width: 1040px) {
  .site-header .nav-shell {
    grid-template-columns: auto auto;
  }

  .site-header .brand img,
  .site-header .brand-logo,
  .brand img,
  .brand-logo {
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 720px) {
  .site-header .nav-shell {
    min-height: 70px;
  }

  .site-header .brand img,
  .site-header .brand-logo,
  .brand img,
  .brand-logo {
    width: 56px;
    height: 56px;
  }
}

/* VU-inspired site-wide visual system */
:root {
  --ink: #1a1a2e;
  --muted: #5f6f85;
  --line: #e7edf4;
  --paper: #f6f8fb;
  --white: #ffffff;
  --brand: #0a1f3d;
  --brand-dark: #06162c;
  --brand-light: #edf4ff;
  --secondary: #0a1f3d;
  --secondary-dark: #06162c;
  --secondary-light: #d9e5f5;
  --field: #f4f7fb;
  --accent: #e31e24;
  --success: #10b981;
  --shadow: 0 18px 48px rgba(10, 31, 61, 0.12);
  --radius: 8px;
  --container: min(1200px, calc(100vw - 40px));
}

body {
  background: var(--paper);
  color: #212529;
  font-family: "Euclid Circular B", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero h1,
.contact-hero h1,
.projects-hero-copy h1,
.page-hero h1,
.service-detail-hero-copy h1 {
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.site-header {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.site-header .top-contact {
  background: rgba(6, 22, 44, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .top-contact a,
.site-header .top-contact-note {
  color: rgba(255, 255, 255, 0.82);
}

.site-header .top-contact a:hover,
.site-header .top-contact a:focus-visible {
  color: var(--white);
}

.site-header .nav-shell,
.site-header.is-scrolled .nav-shell {
  min-height: 74px;
  width: 100%;
  max-width: none;
  padding: 0 max(24px, calc((100vw - 1200px) / 2));
  background: rgba(10, 31, 61, 0.78);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.site-header.is-past-hero .nav-shell {
  background: var(--white);
  border-bottom: 1px solid rgba(10, 31, 61, 0.08);
  box-shadow: 0 10px 30px rgba(10, 31, 61, 0.1);
}

.site-header .nav-links {
  gap: 2px;
  background: transparent;
  border: 0;
  padding: 0;
}

.site-header .nav-links a,
.site-header.is-scrolled .nav-links a {
  min-height: 74px;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0 13px;
}

.site-header.is-past-hero .nav-links a {
  color: var(--ink);
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus-visible,
.site-header .nav-links a.active,
.site-header .nav-item:hover > a,
.site-header .nav-item:focus-within > a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.site-header.is-past-hero .nav-links a:hover,
.site-header.is-past-hero .nav-links a:focus-visible,
.site-header.is-past-hero .nav-links a.active,
.site-header.is-past-hero .nav-item:hover > a,
.site-header.is-past-hero .nav-item:focus-within > a {
  background: rgba(227, 30, 36, 0.08);
  color: var(--accent);
}

.site-header .nav-links > a::before,
.site-header .nav-item > a::before {
  background: var(--accent);
  height: 4px;
}

.site-header .nav-dropdown {
  border: 0;
  border-radius: 0 0 8px 8px;
  background: var(--white);
  box-shadow: 0 24px 54px rgba(10, 31, 61, 0.18);
}

.site-header .nav-dropdown a,
.site-header.is-scrolled .nav-dropdown a {
  min-height: 42px;
  border-radius: 6px;
  color: var(--ink);
}

.site-header .nav-dropdown a:hover,
.site-header .nav-dropdown a:focus-visible {
  background: var(--brand-light);
  color: var(--accent);
}

.nav-cta,
.button.primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(227, 30, 36, 0.22);
  font-weight: 800;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button.primary:hover,
.button.primary:focus-visible {
  background: #c5161c;
  border-color: #c5161c;
  color: var(--white);
  transform: translateY(-1px);
}

.button.secondary,
.button.secondary.on-light {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand);
  font-weight: 800;
  box-shadow: none;
}

.button.secondary:hover,
.button.secondary:focus-visible,
.button.secondary.on-light:hover,
.button.secondary.on-light:focus-visible {
  background: var(--brand-light);
  border-color: #cfe0f6;
  color: var(--brand);
}

.hero,
.hero-slider,
.projects-hero,
.contact-hero,
.page-hero,
.service-detail-hero {
  background: var(--brand);
}

.hero,
.hero-slider {
  min-height: 720px;
  padding-top: 154px;
}

.hero-overlay,
.projects-hero-overlay,
.contact-hero-overlay {
  background: linear-gradient(90deg, rgba(6, 22, 44, 0.9) 0%, rgba(10, 31, 61, 0.68) 50%, rgba(10, 31, 61, 0.18) 100%);
}

.hero h1,
.hero-slider h1,
.about-hero-copy h1,
.services-hero-copy h1,
.projects-hero-copy h1,
.partners-page-hero-copy h1,
.contact-hero-copy h1,
.page-hero h1,
.service-detail-hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  line-height: 1.05;
}

.hero-lede,
.hero-copy p,
.about-hero-copy > p:not(.eyebrow),
.services-hero-copy > p:not(.eyebrow),
.projects-hero-copy p,
.partners-page-hero-copy > p:not(.eyebrow),
.contact-hero-copy p,
.page-hero p,
.service-detail-hero-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
}

.eyebrow,
.hero .eyebrow,
.section-heading .eyebrow,
.section-copy .eyebrow,
.quote-copy .eyebrow,
.projects-hero-copy .eyebrow,
.contact-hero-copy .eyebrow,
.service-detail-hero-copy .eyebrow {
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(227, 30, 36, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  padding: 7px 12px;
  text-transform: uppercase;
}

.hero .eyebrow,
.projects-hero-copy .eyebrow,
.contact-hero-copy .eyebrow,
.page-hero .eyebrow,
.service-detail-hero-copy .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.hero-proof-row,
.hero-panel,
.projects-hero-panel,
.contact-method-card,
.service-card,
.operation-card,
.path-card,
.quote-form,
.contact-form-card,
.contact-info-panel,
.contact-office-card,
.contact-topic-card,
.contact-support-card,
.project-category-card,
.project-delivery-list div,
.partner-card,
.partners-directory-card,
.service-detail-card,
.service-detail-sidebar,
.service-detail-list-card,
.service-detail-step,
.featured-project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(10, 31, 61, 0.08);
}

.hero-panel,
.projects-hero-panel {
  background: rgba(255, 255, 255, 0.94);
}

.hero-panel .metric,
.projects-hero-panel strong,
.hero-proof-row strong {
  color: var(--accent);
}

.section,
.quote-section,
.project-categories-section,
.project-delivery-section,
.contact-main-section,
.contact-topic-section,
.contact-support-section,
.partners-directory-section,
.service-detail-main,
.path-section,
.operations-strip {
  background: var(--paper);
}

.section-heading h2,
.section-copy h2,
.proof-copy h2,
.quote-copy h2,
.contact-topic-heading h2,
.contact-info-panel h2,
.projects-showcase-copy h2,
.project-proof-copy h2,
.path-copy h2 {
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}

.service-card:hover,
.operation-card:hover,
.path-card:hover,
.contact-method-card:hover,
.contact-topic-card:hover,
.contact-support-card:hover,
.project-category-card:hover,
.partner-card:hover {
  border-color: rgba(227, 30, 36, 0.22);
  box-shadow: 0 20px 48px rgba(10, 31, 61, 0.13);
  transform: translateY(-4px);
}

.service-icon,
.contact-method-card span,
.contact-topic-card span,
.contact-support-card span,
.project-card-number,
.operation-kicker,
.path-card span {
  background: var(--brand-light);
  color: var(--accent);
}

.service-link,
.column-links a:hover,
.footer-grid a:hover,
.footer-grid a:focus-visible,
.contact-item a:hover,
.contact-item a:focus-visible {
  color: var(--accent);
}

.quote-form input,
.quote-form select,
.quote-form textarea,
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.12);
}

.site-footer {
  margin-top: 0;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.82);
}

.footer-cta {
  background: #06162c;
}

.footer-cta h2,
.column-title,
.footer-copyright strong {
  color: var(--white);
}

.footer-cta p,
.column-description,
.contact-item span,
.contact-item a,
.footer-copyright p,
.footer-copyright a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-proof-list span,
.footer-action,
.contact-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

@media (max-width: 1040px) {
  .site-header .nav-shell,
  .site-header.is-scrolled .nav-shell {
    grid-template-columns: auto auto;
    min-height: 74px;
    padding: 0 14px;
  }

  .site-header .nav-links.is-open {
    top: calc(var(--header-height) + 10px);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 24px 54px rgba(10, 31, 61, 0.18);
  }

  .site-header .nav-links.is-open a,
  .site-header.is-scrolled .nav-links.is-open a {
    min-height: 44px;
    border-radius: 8px;
    color: var(--ink);
  }

  .site-header .nav-links.is-open a:hover,
  .site-header .nav-links.is-open a:focus-visible,
  .site-header .nav-links.is-open a.active {
    background: var(--brand-light);
    color: var(--accent);
  }
}

@media (max-width: 720px) {
  .hero,
  .hero-slider {
    min-height: 640px;
    padding-top: 132px;
  }

  .hero h1,
  .hero-slider h1,
  .projects-hero-copy h1,
  .contact-hero-copy h1,
  .page-hero h1,
  .service-detail-hero-copy h1 {
    font-size: clamp(2.05rem, 10vw, 3rem);
  }
}

/* Final deployment mobile-nav guard */
@media (max-width: 1040px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 1000;
  }

  .site-header .nav-shell,
  .site-header.is-scrolled .nav-shell {
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 12px;
  }

  .site-header .nav-actions {
    display: none;
  }

  .site-header .nav-toggle {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .site-header .nav-links {
    display: none;
  }

  .site-header .nav-links.is-open {
    position: fixed !important;
    top: calc(var(--header-height, 74px) + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: calc(100vh - var(--header-height, 74px) - 72px);
    overflow-y: auto;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 14px !important;
    border-radius: 12px;
  }

  .site-header .nav-links.is-open > a,
  .site-header .nav-links.is-open .nav-item > a,
  .site-header .nav-links.is-open .mobile-nav-action {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 12px;
    white-space: normal;
  }

  .site-header .nav-links.is-open .nav-dropdown {
    max-height: none;
  }
}

@media (max-width: 420px) {
  .site-header .brand img,
  .site-header .brand-logo,
  .brand img,
  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .site-header .nav-links.is-open {
    left: 8px !important;
    right: 8px !important;
  }
}

/* VU-style hero refinement */
.hero,
.hero-slider,
.projects-hero,
.contact-hero,
.page-hero,
.service-detail-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
}

.hero,
.hero-slider {
  padding-top: 148px;
  padding-bottom: 96px;
}

.projects-hero,
.contact-hero,
.page-hero,
.service-detail-hero {
  padding-top: 156px;
  padding-bottom: 84px;
}

.hero-grid,
.projects-hero-grid,
.contact-hero-grid,
.service-detail-hero-grid {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, 680px);
  align-items: center;
}

.hero-copy,
.projects-hero-copy,
.contact-hero-copy,
.page-hero .hero-content,
.service-detail-hero-copy {
  max-width: 680px;
}

.hero h1,
.hero-slider h1,
.about-hero-copy h1,
.services-hero-copy h1,
.projects-hero-copy h1,
.partners-page-hero-copy h1,
.contact-hero-copy h1,
.page-hero h1,
.service-detail-hero-copy h1 {
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-lede,
.hero-copy p,
.about-hero-copy > p:not(.eyebrow),
.services-hero-copy > p:not(.eyebrow),
.projects-hero-copy p,
.partners-page-hero-copy > p:not(.eyebrow),
.contact-hero-copy p,
.page-hero p,
.service-detail-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.7;
}

.hero .eyebrow,
.projects-hero-copy .eyebrow,
.contact-hero-copy .eyebrow,
.page-hero .eyebrow,
.service-detail-hero-copy .eyebrow {
  margin-bottom: 16px;
  background: transparent;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0;
}

.hero-actions,
.service-detail-actions,
.projects-hero-actions,
.contact-hero-actions {
  gap: 12px;
  margin-top: 26px;
}

.hero-panel,
.projects-hero-panel,
.contact-methods {
  display: none;
}

.hero-proof-row {
  display: none;
}

.hero-controls {
  margin-top: 28px;
}

.hero-dot {
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
}

.hero-dot.is-active {
  width: 54px;
  background: var(--accent);
}

@media (max-width: 1040px) {
  .hero,
  .hero-slider,
  .projects-hero,
  .contact-hero,
  .page-hero,
  .service-detail-hero {
    min-height: 650px;
  }

  .hero h1,
  .hero-slider h1,
  .projects-hero-copy h1,
  .contact-hero-copy h1,
  .page-hero h1,
  .service-detail-hero-copy h1 {
    font-size: 40px;
  }
}

@media (max-width: 720px) {
  .hero,
  .hero-slider,
  .projects-hero,
  .contact-hero,
  .page-hero,
  .service-detail-hero {
    min-height: 620px;
    padding-top: 124px;
    padding-bottom: 48px;
  }

  .hero-grid,
  .projects-hero-grid,
  .contact-hero-grid,
  .service-detail-hero-grid {
    min-height: 360px;
  }

  .hero h1,
  .hero-slider h1,
  .projects-hero-copy h1,
  .contact-hero-copy h1,
  .page-hero h1,
  .service-detail-hero-copy h1 {
    font-size: 32px;
    line-height: 1.18;
  }

}

/* Home page final polish */
.hero-slider h1 {
  max-width: 720px;
  font-size: clamp(2.35rem, 4.2vw, 3.35rem);
  line-height: 1.12;
}

.section-heading h2,
.section-copy h2,
.proof-copy h2,
.quote-copy h2,
.path-copy h2,
.info-cta-section h2 {
  font-size: clamp(2rem, 2.55vw, 2.7rem);
  line-height: 1.14;
  font-weight: 800;
}

.section-heading p,
.section-copy p,
.proof-copy p,
.quote-copy p,
.path-copy p,
.update-card p,
.operation-card p,
.advantage-card p,
.service-card p,
.process-step p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.trust-grid {
  align-items: stretch;
}

.trust-grid span {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.path-section,
.operations-strip,
.section,
.quote-section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.path-grid,
.split-layout,
.proof-grid,
.quote-grid {
  gap: 38px;
}

.path-card,
.operation-card,
.service-card,
.process-step,
.advantage-card,
.update-card,
.testimonial-card {
  border-radius: 8px;
}

.path-card {
  min-height: 220px;
  padding: 22px;
}

.path-card strong,
.update-card h3,
.operation-card h3,
.service-card h3,
.process-step h3,
.advantage-card h3 {
  font-size: 1.14rem;
  line-height: 1.24;
  font-weight: 800;
}

.path-card-icon {
  width: 42px;
  height: 42px;
}

.operation-card,
.advantage-card {
  min-height: 214px;
  padding: 24px;
}

.service-card {
  min-height: 274px;
  padding: 24px;
}

.process-step {
  min-height: 238px;
}

.update-card {
  min-height: 286px;
  padding: 24px;
}

.update-card span {
  margin-bottom: 30px;
}

.modern-partners {
  padding-top: 78px;
  padding-bottom: 78px;
}

.partners-header,
.section-heading {
  margin-bottom: 34px;
}

.modern-partners .partners-grid {
  gap: 14px;
}

.modern-partners .partner-card {
  min-height: 112px;
  padding: 18px;
}

.info-cta-section {
  padding: 70px 0;
}

.info-cta-section h2 {
  max-width: 760px;
}

.quote-form-heading h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}

@media (max-width: 1040px) {
  .service-grid,
  .process-grid,
  .testimonial-grid,
  .advantage-grid,
  .updates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-grid,
  .split-layout,
  .proof-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hero,
  .hero-slider {
    min-height: 580px;
    padding-top: 118px;
    padding-bottom: 42px;
  }

  .hero-slider h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.14;
  }

  .hero-lede,
  .hero-copy p {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .trust-grid,
  .path-card-grid,
  .service-grid,
  .process-grid,
  .testimonial-grid,
  .advantage-grid,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    gap: 8px;
  }

  .trust-grid span {
    min-height: 44px;
    justify-content: flex-start;
    padding: 11px 14px;
    text-align: left;
  }

  .path-section,
  .operations-strip,
  .section,
  .quote-section,
  .modern-partners {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section-heading,
  .partners-header {
    margin-bottom: 24px;
  }

  .section-heading h2,
  .section-copy h2,
  .proof-copy h2,
  .quote-copy h2,
  .path-copy h2,
  .info-cta-section h2 {
    font-size: clamp(1.75rem, 7.8vw, 2.18rem);
    line-height: 1.16;
  }

  .path-card,
  .operation-card,
  .service-card,
  .process-step,
  .advantage-card,
  .update-card,
  .testimonial-card {
    min-height: auto;
    padding: 20px;
  }

  .path-card {
    gap: 10px;
  }

  .image-stack {
    min-height: 430px;
  }

  .modern-partners .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modern-partners .partner-card {
    min-height: 96px;
    padding: 14px;
  }

  .modern-partners .partner-card img {
    max-height: 54px;
  }

  .info-cta-section {
    padding: 54px 0;
  }

  .quote-form-fields,
  .quote-form-assurance {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero-actions .button,
  .quote-submit-actions .button,
  .quote-call-link {
    width: 100%;
  }
}

.partners-intro h2 {
  font-size: clamp(2rem, 2.55vw, 2.7rem);
  line-height: 1.14;
}

@media (max-width: 720px) {
  .partners-intro h2 {
    font-size: clamp(1.75rem, 7.8vw, 2.18rem);
  }

  .partners-section.modern-partners .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .partners-section.modern-partners .partner-card {
    min-height: 92px;
    height: 92px;
    padding: 12px;
  }

  .partners-section.modern-partners .partner-card img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
  }
}

/* VU typography alignment */
body,
button,
input,
select,
textarea {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.hero h1,
.hero-slider h1,
.projects-hero-copy h1,
.contact-hero-copy h1,
.page-hero h1,
.service-detail-hero-copy h1 {
  max-width: 680px;
  margin: 0 0 1rem;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-lede,
.hero-copy p,
.projects-hero-copy p,
.contact-hero-copy p,
.page-hero p,
.service-detail-hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: left;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.section-heading h2,
.section-copy h2,
.proof-copy h2,
.quote-copy h2,
.path-copy h2,
.partners-intro h2,
.info-cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
}

.section-heading p,
.section-copy p,
.proof-copy p,
.quote-copy p,
.path-copy p {
  font-size: 1.05rem;
  line-height: 1.65;
}

.path-card strong,
.update-card h3,
.operation-card h3,
.service-card h3,
.process-step h3,
.advantage-card h3,
.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Site-wide readability polish */
h1,
h2,
h3,
p,
li,
a,
button,
label,
span,
small,
strong {
  overflow-wrap: break-word;
  word-break: normal;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.button,
.nav-cta,
.nav-phone,
.mobile-nav-action,
.quote-call-link {
  min-width: 0;
  text-align: center;
  white-space: normal;
}

.hero-actions,
.service-detail-actions,
.projects-hero-actions,
.contact-hero-actions,
.service-detail-cta-actions,
.info-cta-actions,
.cta-actions {
  align-items: center;
}

.about-hero,
.services-hero,
.partners-page-hero {
  min-height: 640px;
  padding-top: 148px;
  padding-bottom: 84px;
}

.about-hero-copy,
.services-hero-copy,
.partners-page-hero-copy {
  max-width: 680px;
}

.services-hero-grid,
.partners-page-hero-grid {
  align-items: center;
}

.quote-copy h1 {
  max-width: 680px;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.quote-copy p,
.quote-copy li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

@media (max-width: 720px) {
  .hero h1,
  .hero-slider h1,
  .about-hero-copy h1,
  .services-hero-copy h1,
  .projects-hero-copy h1,
  .partners-page-hero-copy h1,
  .contact-hero-copy h1,
  .page-hero h1,
  .service-detail-hero-copy h1 {
    font-size: 2.25rem;
  }

  .section-heading h2,
  .section-copy h2,
  .proof-copy h2,
  .quote-copy h2,
  .path-copy h2,
  .partners-intro h2,
  .info-cta-section h2 {
    font-size: 1.85rem;
  }

  .about-hero,
  .services-hero,
  .partners-page-hero {
    min-height: 580px;
    padding-top: 118px;
    padding-bottom: 42px;
  }

  .about-hero-copy > p:not(.eyebrow),
  .services-hero-copy > p:not(.eyebrow),
  .partners-page-hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.62;
  }

  .quote-copy h1 {
    font-size: 2.25rem;
    line-height: 1.15;
  }

  .hero-actions,
  .service-detail-actions,
  .projects-hero-actions,
  .contact-hero-actions,
  .service-detail-cta-actions,
  .info-cta-actions,
  .cta-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .service-detail-actions .button,
  .projects-hero-actions .button,
  .contact-hero-actions .button,
  .service-detail-cta-actions .button,
  .info-cta-actions .button,
  .cta-actions .button {
    justify-content: center;
  }
}

/* Final mobile header, menu, and footer polish */
@media (max-width: 1040px) {
  .site-header {
    padding: 0;
  }

  .site-header .top-contact {
    display: block;
  }

  .site-header .top-contact-inner {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 0;
  }

  .site-header .top-contact-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .site-header .top-contact-note {
    width: 100%;
    display: inline-flex !important;
    justify-content: center;
    min-height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.92);
    padding: 5px 8px;
    text-align: center;
    white-space: normal;
  }

  .site-header .top-contact a {
    display: inline-flex !important;
    min-width: 0;
    min-height: 32px;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 5px 8px;
    font-size: 0.72rem;
    line-height: 1.2;
    text-align: center;
  }

  .site-header .top-contact a span,
  .site-header .top-contact-note span {
    display: inline-grid;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
  }

  .site-header .nav-shell,
  .site-header.is-scrolled .nav-shell {
    width: min(100% - 24px, 1180px);
    min-height: 66px;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 12px;
    padding: 0;
  }

  .site-header .nav-toggle {
    position: relative;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    gap: 0;
  }

  .site-header .nav-toggle::before {
    position: absolute;
    inset: 8px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(15, 78, 168, 0.12), rgba(215, 25, 32, 0.08));
    content: "";
  }

  .site-header .nav-toggle span:not(.sr-only),
  .site-header.is-scrolled .nav-toggle span:not(.sr-only),
  .site-header.is-past-hero .nav-toggle span:not(.sr-only) {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 180ms ease, width 180ms ease;
  }

  .site-header .nav-toggle span:not(.sr-only):nth-child(1) {
    transform: translateY(-4px);
  }

  .site-header .nav-toggle span:not(.sr-only):nth-child(2) {
    width: 13px;
    transform: translateY(4px);
  }

  .site-header .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(1) {
    width: 18px;
    transform: rotate(45deg);
  }

  .site-header .nav-toggle[aria-expanded="true"] span:not(.sr-only):nth-child(2) {
    width: 18px;
    opacity: 1;
    transform: rotate(-45deg);
  }

  .site-header .nav-links.is-open {
    top: calc(var(--header-height, 112px) + 10px) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-height: calc(100vh - var(--header-height, 112px) - 28px);
    gap: 8px !important;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    padding: 14px !important;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  }

  .site-header .nav-links.is-open > a,
  .site-header .nav-links.is-open .nav-item > a,
  .site-header .nav-links.is-open .mobile-nav-action {
    min-height: 46px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 10px;
    background: #f8fafc;
    color: var(--ink);
    font-weight: 850;
  }

  .site-header .nav-links.is-open .mobile-nav-action {
    justify-content: center;
    background: var(--brand-light);
    color: var(--brand);
  }

  .site-header .nav-links.is-open .mobile-nav-quote {
    background: var(--accent);
    color: #ffffff;
  }
}

@media (max-width: 640px) {
  .site-header .top-contact-inner {
    width: min(100% - 18px, 1180px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px 0;
  }

  .site-header .top-contact-links {
    display: contents;
  }

  .site-header .top-contact a,
  .site-header .top-contact-note {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    justify-content: flex-start;
    align-items: center;
    gap: 7px;
    border-radius: 10px;
    padding: 7px 8px;
    font-size: 0.68rem;
    line-height: 1.22;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .site-header .top-contact a span,
  .site-header .top-contact-note span {
    display: inline-grid;
    width: 18px;
    height: 18px;
  }

  .site-header .nav-shell,
  .site-header.is-scrolled .nav-shell {
    width: min(100% - 18px, 1180px);
  }

  .site-footer {
    margin-top: 46px;
  }

  .footer-cta {
    padding: 34px 0;
  }

  .footer-cta-inner {
    gap: 20px;
  }

  .footer-cta h2 {
    font-size: 1.55rem;
    line-height: 1.18;
  }

  .footer-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-main {
    padding: 34px 0 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .footer-column {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 18px;
  }

  .footer-company {
    gap: 14px;
  }

  .footer-brand-mark img {
    max-width: 138px;
  }

  .column-title {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 0.82rem;
  }

  .column-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .column-links a {
    min-height: 38px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 10px;
  }

  .contact-info {
    gap: 9px;
  }

  .contact-item {
    align-items: flex-start;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    font-size: 0.86rem;
  }

  .footer-contact-actions {
    grid-template-columns: 1fr;
  }

  .footer-copyright-inner,
  .footer-copyright {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }

  .footer-copyright a {
    grid-column: auto;
    justify-self: center;
  }
}

/* Services page mobile organization and loading fallback */
@media (max-width: 1040px) {
  .js .services-hero .reveal,
  .js .services-overview .reveal,
  .js .services-decision-band .reveal,
  .js .services-assurance-section .reveal,
  .js .service-catalog .reveal,
  .js .service-process-section .reveal,
  .js .service-readiness-section .reveal,
  .js .service-cta .reveal {
    opacity: 1;
    transform: none;
  }

  .services-hero {
    min-height: auto;
    align-items: end;
    padding-top: calc(var(--header-height, 132px) + 42px);
    padding-bottom: 44px;
  }

  .services-hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 22, 44, 0.88) 0%, rgba(6, 22, 44, 0.72) 62%, rgba(6, 22, 44, 0.9) 100%);
  }

  .services-hero-grid,
  .service-process-grid,
  .service-readiness-grid,
  .service-cta-inner {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .services-hero-copy {
    max-width: 760px;
  }

  .services-hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2rem, 7vw, 3rem);
    line-height: 1.12;
  }

  .services-hero-copy p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .services-hero-panel {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .services-hero-panel div {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
  }

  .services-overview,
  .services-assurance-section {
    padding: 22px 0;
  }

  .services-overview-grid,
  .services-assurance-grid,
  .services-decision-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .overview-card,
  .services-assurance-card,
  .decision-card {
    min-height: 0;
    padding: 18px;
  }

  .decision-card strong {
    margin-top: 12px;
  }

  .decision-card small {
    margin-top: 8px;
    padding-top: 0;
  }

  .service-catalog {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .service-catalog .section-heading {
    margin-bottom: 22px;
  }

  .service-catalog-controls {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-bottom: 18px;
  }

  .service-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .service-filter-button {
    width: 100%;
    min-height: 42px;
    padding: 9px 10px;
    text-align: center;
    white-space: normal;
  }

  .service-search-field input {
    min-height: 46px;
  }

  .service-result-count {
    border-radius: 8px;
    background: #ffffff;
    padding: 10px 12px;
  }

  .services-list {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .service-detail-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto auto !important;
    min-height: 0;
    gap: 0;
    border-radius: 12px;
  }

  .service-detail-image {
    grid-row: auto !important;
    min-height: 0;
  }

  .service-detail-image img {
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .service-detail-image span {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    white-space: normal;
  }

  .service-detail-icon {
    width: 46px;
    height: 46px;
    margin: 16px 16px 0;
    font-size: 0.95rem;
  }

  .service-detail-content {
    padding: 12px 16px 0;
    gap: 10px;
  }

  .service-detail-content h3 {
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .service-highlights {
    gap: 6px;
    margin-top: 8px;
  }

  .service-highlights li {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .service-outcome,
  .service-ideal {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .service-detail-actions {
    grid-column: auto !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 16px;
  }

  .service-detail-actions .button {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    padding-inline: 10px;
  }
}

@media (max-width: 640px) {
  .services-hero {
    padding-top: calc(var(--header-height, 154px) + 28px);
    padding-bottom: 34px;
  }

  .services-hero-copy h1 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .services-hero-panel {
    grid-template-columns: 1fr;
  }

  .services-hero-panel div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    align-items: center;
  }

  .services-hero-panel strong {
    margin: 0;
    font-size: 1.7rem;
  }

  .services-hero-panel span {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .service-filters {
    grid-template-columns: 1fr;
  }

  .service-detail-content {
    padding-inline: 14px;
  }

  .service-detail-actions {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .service-process-section,
  .service-readiness-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .process-list div,
  .service-readiness-list div {
    grid-template-columns: 1fr !important;
    gap: 8px;
    padding: 16px;
  }

  .service-cta {
    padding: 44px 0;
  }

  .service-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Keep mobile hero content clear of the fixed header/contact strip */
@media (max-width: 720px) {
  .hero,
  .hero-slider,
  .about-hero,
  .services-hero,
  .projects-hero,
  .partners-page-hero,
  .contact-hero,
  .page-hero,
  .service-detail-hero {
    min-height: auto;
    padding-top: calc(var(--header-height, 168px) + 44px) !important;
  }

  .hero-grid,
  .hero-slider .hero-grid,
  .about-hero-grid,
  .services-hero-grid,
  .projects-hero-grid,
  .partners-page-hero-grid,
  .contact-hero-grid,
  .page-hero .container,
  .service-detail-hero-grid {
    align-items: start;
  }
}

@media (max-width: 420px) {
  .hero,
  .hero-slider,
  .about-hero,
  .services-hero,
  .projects-hero,
  .partners-page-hero,
  .contact-hero,
  .page-hero,
  .service-detail-hero {
    padding-top: calc(var(--header-height, 178px) + 52px) !important;
  }
}

/* Home slider: keep mobile slides static, sharp, and full-bleed. */
@media (max-width: 720px) {
  .hero-slider {
    min-height: max(640px, 100svh);
  }

  .hero-slider .hero-slides {
    background: #051d44;
  }

  .hero-slider .hero-slide {
    transform: none;
  }

  .hero-slider .hero-slide.is-active {
    transform: none;
  }

  .hero-slider .hero-slide img {
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  .hero-slider .hero-slide.is-active img {
    animation: none;
  }

  .hero-slider .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.38) 44%, rgba(0, 0, 0, 0.72) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.16));
  }
}

/* Mobile header width and contact text fit */
@media (max-width: 1040px) {
  .site-header .nav-shell,
  .site-header.is-scrolled .nav-shell,
  .site-header.is-past-hero .nav-shell {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    padding-inline: 12px !important;
  }
}

@media (max-width: 640px) {
  .site-header .nav-shell,
  .site-header.is-scrolled .nav-shell,
  .site-header.is-past-hero .nav-shell {
    padding-inline: 9px !important;
  }

  .site-header .top-contact a[href^="mailto:"] {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 360px) {
  .site-header .top-contact a[href^="mailto:"] {
    font-size: 0.68rem;
    padding-inline: 6px;
  }
}

/* Header contact strip after moving hours to the footer */
.site-header .top-contact-inner {
  justify-content: center;
}

.site-header .top-contact-links {
  width: 100%;
  justify-content: center;
}

.footer-hours strong {
  display: block;
  margin-bottom: 2px;
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .site-header .top-contact-inner {
    grid-template-columns: 1fr !important;
    padding-block: 6px !important;
  }

  .site-header .top-contact-links {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .site-header .top-contact-inner {
    width: min(100% - 18px, 1180px);
  }
}

/* Final header alignment */
.site-header {
  width: 100%;
}

.site-header .top-contact-inner {
  width: min(1200px, calc(100vw - 40px));
  margin-inline: auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 0;
}

.site-header .top-contact-links {
  display: flex;
  width: auto;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.site-header .top-contact a {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}

.site-header .top-contact a span {
  flex: 0 0 auto;
}

.site-header .nav-shell,
.site-header.is-scrolled .nav-shell,
.site-header.is-past-hero .nav-shell {
  width: 100% !important;
  max-width: none !important;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-inline: max(24px, calc((100vw - 1200px) / 2)) !important;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.site-header .brand-logo {
  flex: 0 0 auto;
}

.site-header .nav-links {
  min-width: 0;
  justify-self: center;
  align-items: center;
  justify-content: center;
}

.site-header .nav-actions {
  justify-self: end;
  align-items: center;
}

@media (max-width: 1040px) {
  .site-header .top-contact-inner {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    padding-block: 6px !important;
  }

  .site-header .top-contact-links {
    display: grid !important;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .site-header .top-contact a {
    min-height: 32px;
    padding-inline: 8px;
    white-space: normal;
  }

  .site-header .nav-shell,
  .site-header.is-scrolled .nav-shell,
  .site-header.is-past-hero .nav-shell {
    min-height: 66px;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 12px;
    padding-inline: 12px !important;
  }

  .site-header .brand {
    min-width: 0;
  }

  .site-header .nav-toggle {
    justify-self: end;
  }

  .site-header .nav-links:not(.is-open),
  .site-header .nav-actions {
    display: none;
  }

  .site-header .nav-links.is-open {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
  }
}

@media (max-width: 640px) {
  .site-header .top-contact-inner {
    width: min(100% - 18px, 1180px);
  }

  .site-header .top-contact-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header .top-contact a {
    min-height: 40px;
    justify-content: flex-start;
    gap: 7px;
    padding: 7px 8px;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .site-header .top-contact a[href^="mailto:"] {
    grid-column: 1 / -1;
    justify-content: center;
    text-align: center;
  }

  .site-header .nav-shell,
  .site-header.is-scrolled .nav-shell,
  .site-header.is-past-hero .nav-shell {
    padding-inline: 9px !important;
  }
}

