/* Base layout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --navy: #2e394a;
  --navy-2: #3a4658;
  --text-on-navy: rgba(255, 255, 255, 0.86);
  --muted-on-navy: rgba(255, 255, 255, 0.45);
  --ink: #14161b;
  --paper: #ffffff;
  --text-strong: #0f172a;
  --text-body: #334155;
  --text-muted: #475569;
  --accent-red: #c11f26;
  /* Light surfaces that harmonise with navy (cool blue-greys, same family) */
  --tone-surface-a: #f7f8fb;
  --tone-surface-b: #eef1f6;
  --tone-surface-c: #e4e9f1;
  --tone-surface-d: #dbe1eb;
  --tone-surface-e: #d3dbe6;
  --tone-heading-on-light: #243044;
  --tone-link: #2f4a63;
}

/* Local fonts (uploaded to assets/) */
@font-face {
  font-family: "SHRCHeaders";
  src: url("assets/Headers.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SHRCOther";
  src: url("assets/other.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: "SHRCOther", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: var(--tone-surface-a);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
  background-color: var(--paper);
}

.section-dark {
  background-color: var(--navy);
  color: var(--text-on-navy);
}

/* Light section palettes — distinct steps, all in the navy / cool-slate family */
.tone-hero {
  background: linear-gradient(180deg, #fbfcfe 0%, var(--tone-surface-b) 100%);
  color: var(--text-strong);
}

.tone-ribbon {
  background-image: linear-gradient(
      rgba(237, 241, 247, 0.88),
      rgba(237, 241, 247, 0.88)
    ),
    url("assets/why us 2.png");
  background-color: var(--tone-surface-c);
}

.tone-services {
  background: linear-gradient(180deg, var(--tone-surface-b) 0%, var(--tone-surface-d) 100%);
  color: var(--text-strong);
}

/* Services page photo + spotlight */
.services-photo {
  margin: 0 0 28px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.55);
}

.services-photo img {
  width: 100%;
  height: min(260px, 30vw);
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02);
}

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

.service-card-wide {
  grid-column: span 2;
}

.service-card {
  scroll-margin-top: 140px; /* accounts for top bar + sticky header */
}

.service-card {
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 12px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(193, 31, 38, 0.95), rgba(193, 31, 38, 0.25));
  opacity: 0.9;
}

.service-card h3 {
  margin-top: 10px;
  font-size: 1.15rem;
  color: var(--tone-heading-on-light);
}

.service-lede {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-body);
  font-weight: 600;
}

.service-body {
  margin: 0 0 10px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-body);
}

.service-foot {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 600;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.11);
  border-color: rgba(193, 31, 38, 0.35);
}

@keyframes serviceSpotlight {
  0% {
    transform: translateY(0);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border-color: rgba(148, 163, 184, 0.25);
  }
  35% {
    transform: translateY(-2px);
    box-shadow:
      0 18px 46px rgba(15, 23, 42, 0.14),
      0 0 0 10px rgba(193, 31, 38, 0.10);
    border-color: rgba(193, 31, 38, 0.55);
  }
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border-color: rgba(148, 163, 184, 0.25);
  }
}

.service-card.service-spotlight {
  animation: serviceSpotlight 1.4s ease-in-out 1;
}

@media (prefers-reduced-motion: reduce) {
  .service-card.service-spotlight {
    animation: none;
    outline: 3px solid rgba(193, 31, 38, 0.35);
    outline-offset: 4px;
  }
}

.tone-about {
  background: linear-gradient(145deg, #fafbfd 0%, var(--tone-surface-c) 50%, var(--tone-surface-d) 100%);
  color: var(--text-strong);
}

.tone-why {
  background: linear-gradient(180deg, var(--tone-surface-c) 0%, var(--tone-surface-e) 100%);
  color: var(--text-strong);
}

.tone-values {
  background: var(--tone-surface-a);
  color: var(--text-strong);
}

.tone-contact {
  background: linear-gradient(180deg, var(--tone-surface-b) 0%, #dde5f0 100%);
  color: var(--text-strong);
}

.tone-contact .section-title {
  color: var(--navy);
}

.tone-why .section-header h2 {
  font-family: "SHRCHeaders", Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 2.2vw, 2.1rem);
  color: var(--navy);
  margin: 0 0 12px;
}

.tone-why h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-2);
  margin: 0 0 10px;
}

/* Align right-column "Outsourcing models" with left checklist bullets */
@media (min-width: 768px) {
  .tone-why .outsourcing-models {
    padding-top: 44px; /* matches left header spacing before the checklist */
  }
}

.tone-why .checklist,
.tone-why .bullet-list {
  color: var(--text-body);
  font-weight: 500;
}

.tone-why .checklist strong,
.tone-why .bullet-list strong {
  color: var(--tone-heading-on-light);
}

.hero-ribbon.section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.grid {
  display: grid;
  gap: 32px;
}

.two-col {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}

/* About page: swap only "Our Story" (logo left, story text right). Keep "About Founder" normal. */
.about-story-split {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
}

@media (max-width: 860px) {
  .about-story-split {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.about-story-row,
.about-founder-row {
  min-width: 0;
}

.about-story-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-story-row-text {
  justify-content: flex-end;
}

.about-story-text {
  text-align: right;
}

.about-founder-row-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-founder-photo {
  width: min(520px, 100%);
  height: auto;
  display: block;
  border-radius: 26px;
  box-shadow: 0 18px 46px rgba(20, 22, 27, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header.align-left {
  text-align: left;
}

.section-header.align-right {
  text-align: right;
}

.section-title,
.section-header h2 {
  font-family: "SHRCHeaders", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(1.9rem, 2.5vw, 2.35rem);
  margin: 0;
}

.section-header p {
  margin: 0;
  color: #4b4b57;
}

/* Top bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #c11f26;
  color: #ffffff;
}

.top-bar-inner {
  /* Split bar into two equal halves so text/buttons sit more centrally
     over the logo area (left) and nav area (right) */
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}

.top-bar-text {
  font-size: 0.95rem;
  font-weight: 500;
  justify-self: center; /* center over the logo area */
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: center; /* center over the nav area */
}

/* Match header alignment: full-width, same left padding as nav/logo */
.top-bar .container {
  max-width: none;
  padding-left: 24px;
  padding-right: 40px;
}

.top-bar-text {
  font-size: 0.95rem;
  font-weight: 500;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-solid {
  background-color: #2f3238;
  color: #ffffff;
}

.btn-solid:hover {
  background-color: #111318;
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background-color: transparent;
  color: #2f3238;
  border-color: rgba(47, 50, 56, 0.2);
}

.btn-ghost:hover {
  background-color: rgba(47, 50, 56, 0.06);
  text-decoration: none;
}

/* Header & navigation (navy — matches logo artwork) */
.site-header {
  position: sticky;
  top: 52px; /* top bar height + extra buffer */
  z-index: 900;
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

/* Nudge header content closer to the left edge without affecting other sections */
.site-header .container {
  max-width: none;      /* let header stretch full width */
  padding-left: 24px;   /* small offset from absolute left edge */
  padding-right: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  height: 96px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.75);
  transition: width 0.15s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.85);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.nav-toggle-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Pills (Squarespace-like buttons) */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.pill-light {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.92);
}

.pill-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.88);
}

.tone-hero .pill-outline {
  background-color: rgba(255, 255, 255, 0.82);
  border-color: var(--navy);
  color: var(--navy);
  font-weight: 600;
}

.tone-hero .pill-outline:hover {
  background-color: #ffffff;
}

.pill-outline-dark {
  background-color: transparent;
  border-color: rgba(0, 0, 0, 0.26);
  color: rgba(0, 0, 0, 0.7);
}

.pill-muted {
  background-color: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.pill:hover,
.pill:focus-visible {
  text-decoration: none;
  filter: brightness(1.04);
}

.nav-cta {
  margin-left: 10px;
}

/* Slightly smaller type for navbar "Get in touch" button */
.nav-cta .pill {
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  padding: 10px 18px;
}

/* Hero */
.section-hero {
  padding-top: 140px;
  padding-bottom: 90px;
}

.hero-ribbon {
  background-image: linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.28)),
    url("assets/why us 2.png");
  background-size: cover;
  background-position: center;
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 0 16px;
}

.hero-ribbon p {
  margin: 0;
  font-weight: 700;
  text-align: center;
  font-size: 0.95rem;
  color: var(--tone-heading-on-light);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.hero-centered {
  max-width: 980px;
  text-align: center;
}

.hero-title {
  font-family: "SHRCHeaders", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  margin: 0 0 10px;
  color: var(--tone-heading-on-light);
}

.tone-hero .hero-title {
  color: var(--tone-heading-on-light);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.hero-subtitle {
  margin: 0 auto;
  max-width: 720px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.hero-links {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-link {
  color: var(--tone-link);
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-link:hover {
  text-decoration: underline;
}

/* Cards & panels */
.card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 20px 20px 22px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: #4b4b57;
}

.panel {
  background-color: #111827;
  color: #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.panel h3 {
  margin-top: 0;
}

.panel p {
  color: #e5e7eb;
}

/* Services carousel (dark) */
.services-carousel {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  gap: 18px;
}

.services-viewport {
  overflow: hidden;
}

.services-track {
  display: flex;
  gap: 34px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.services-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.services-arrow:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.service-tile {
  text-align: center;
  flex: 0 0 calc((100% - 56px) / 3);
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-icon {
  width: 142px;
  height: 142px;
  margin: 0 auto 20px;
  object-fit: contain;
  display: block;
  /* White line-art PNGs → readable on light backgrounds */
  filter: brightness(0) saturate(100%);
  opacity: 0.82;
}

.service-tile h3 {
  font-family: "SHRCHeaders", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-size: clamp(2rem, 2vw, 2.35rem);
  line-height: 0.95;
  color: var(--navy);
}

.service-tile p {
  margin: 0 auto 18px;
  max-width: 22rem;
  min-height: 2.9em;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.service-tile .pill {
  margin-top: auto;
}

.tone-services .section-title {
  color: var(--navy);
}

.tone-services .pill-muted {
  background-color: var(--navy);
  border-color: #1e293b;
  color: #ffffff;
  font-weight: 600;
}

.tone-services .pill-muted:hover {
  filter: brightness(1.08);
}

/* About split section */
.section-split {
  padding: 78px 0;
}

.section-split.tone-about {
  color: var(--text-strong);
}

.split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.split-title {
  font-family: "SHRCHeaders", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 2rem;
  margin: 0 0 10px;
}

.split-kicker {
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: var(--navy-2);
  font-weight: 600;
}

.split-body {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 46rem;
}

.tone-about .split-title {
  color: var(--tone-heading-on-light);
}

.about-logo {
  width: min(660px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Values strip with big icon */
.values-strip {
  padding: 0;
}

.values-strip.tone-values {
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.values-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.values-graphic {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 24px;
  /* No fill — keeps transparent pixels in trust.png visually clear */
  background: transparent;
}

.values-graphic img {
  width: min(480px, 100%);
  height: auto;
  object-fit: contain;
}

.values-copy {
  padding: 70px 22px 70px 34px;
}

.values-title {
  font-family: "SHRCHeaders", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-size: 2.1rem;
  color: var(--navy);
}

.values-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-body);
  line-height: 1.8;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Lists */
.checklist,
.bullet-list,
.steps-list,
.contact-list {
  margin: 0;
  padding-left: 1.1rem;
  color: #4b4b57;
}

.checklist li,
.bullet-list li,
.steps-list li {
  margin-bottom: 8px;
}

.contact-list li {
  margin-bottom: 6px;
}

/* Contact form (light) */
.contact-section .section-header {
  margin-bottom: 22px;
}

.contact-form {
  max-width: 880px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 6px;
}

.label {
  font-size: 0.78rem;
  color: #475569;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--text-strong);
  padding: 12px 16px;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

textarea {
  border-radius: 18px;
  resize: vertical;
  padding: 14px 16px;
}

select {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--text-strong);
  padding: 12px 16px;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  appearance: none;
}

select:focus {
  border-color: var(--navy-2);
  box-shadow: 0 0 0 3px rgba(46, 57, 74, 0.18);
}

input[type="file"] {
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
  background: transparent;
  padding: 10px 12px;
  box-shadow: none;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
textarea:focus {
  border-color: var(--navy-2);
  box-shadow: 0 0 0 3px rgba(46, 57, 74, 0.18);
}

.fieldset {
  border: none;
  padding: 8px 0 0;
  margin: 0 0 14px;
}

.fieldset legend {
  font-size: 0.8rem;
  color: #334155;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #334155;
  font-weight: 600;
}

.check input {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  padding: 0;
}

.form-actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.form-actions .pill {
  cursor: pointer;
}

.form-status {
  margin: 8px 0 0;
  min-height: 1.3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.form-status-success {
  color: #047857;
  font-weight: 600;
}

.form-status-error {
  color: #b91c1c;
  font-weight: 600;
}

.tone-contact .form-actions .pill-muted {
  background-color: var(--navy);
  border-color: #1e293b;
  color: #ffffff;
}

/* Footer (navy — matches logo artwork) */
.site-footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 52px;
  font-size: 0.82rem;
  align-items: flex-end;
}

/* Let footer content sit closer to screen edges */
.site-footer .container {
  max-width: none;
  padding-left: 14px;
  padding-right: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-logo {
  height: 80px;
  width: auto;
  display: block;
}

.footer-name {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.footer-contact-copy {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.footer-contact-title {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.nexterra-logo {
  width: 190px;
  max-width: 100%;
  height: auto;
  opacity: 0.95;
}

@media (max-width: 480px) {
  .site-footer {
    padding: 28px 0 34px;
  }

  .footer-inner {
    gap: 22px;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    height: 56px;
  }

  .footer-links {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .nexterra-link {
    align-self: center;
  }
}

/* Responsive */
@media (max-width: 900px) {
  /* Footer — tablets & phones */
  .site-footer {
    padding: 36px 0 40px;
  }

  .site-footer .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 28px;
  }

  .footer-brand {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
  }

  .footer-logo {
    height: 68px;
    flex-shrink: 0;
  }

  .footer-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    width: 100%;
    min-width: 0;
  }

  .footer-contact-copy {
    justify-items: start;
    width: 100%;
  }

  .footer-contact a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .nexterra-link {
    align-self: flex-start;
    max-width: 100%;
  }

  .nexterra-logo {
    width: min(180px, 72vw);
  }

  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-card-wide {
    grid-column: auto;
  }

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

  .service-tile {
    flex-basis: calc((100% - 28px) / 2);
    min-height: 410px;
  }

  .split-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .values-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .values-copy {
    padding: 54px 20px;
  }
}

@media (max-width: 1024px) {
  .top-bar-text {
    font-size: 0.9rem;
  }

  .btn {
    padding: 7px 14px;
    font-size: 0.82rem;
  }

  .brand-logo {
    height: 82px;
  }

  .nav-list {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    position: static; /* avoid covering header on small screens */
  }

  .top-bar-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
  }

  .top-bar-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .site-header {
    top: 0;
  }

  .header-inner {
    padding: 10px 0;
  }

  .nav-list {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 100%;
    margin-top: 8px;
    flex-direction: column;
    background-color: var(--navy);
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .nav-list-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

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

  .section-hero {
    padding-top: 110px;
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .section-dark,
  .section-split {
    padding: 60px 0;
  }

  .section-hero {
    padding-top: 92px;
    padding-bottom: 72px;
  }

  .services-carousel {
    grid-template-columns: 42px 1fr 42px;
    gap: 8px;
  }

  .service-tile {
    flex-basis: 100%;
    min-height: 390px;
  }

  .service-icon {
    width: 132px;
    height: 132px;
  }
}

/* Policy / legal pages */
.policy-page {
  padding: 80px 0 88px;
}

.policy-page .container {
  max-width: 760px;
}

.policy-page h1 {
  font-family: "SHRCHeaders", "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--tone-heading-on-light);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.policy-meta {
  margin: 0 0 28px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.policy-intro {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0 0 32px;
}

.policy-body h2 {
  font-family: "SHRCHeaders", "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--tone-heading-on-light);
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.02em;
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body p {
  margin: 0 0 0.85rem;
  line-height: 1.65;
  color: var(--text-body);
}

.policy-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-body);
  line-height: 1.65;
}

.policy-body li {
  margin-bottom: 0.35rem;
}

.policy-body .policy-sublist {
  list-style: disc;
  margin-top: 0.5rem;
}

