:root {
  --ink: #0f1f2e;
  --ink-soft: #405365;
  --muted: #647487;
  --line: #dce4ea;
  --surface: #ffffff;
  --surface-alt: #f3f6f8;
  --teal: #007c89;
  --teal-dark: #07515a;
  --green: #168a4a;
  --amber: #d9861f;
  --navy: #07192b;
  --shadow: 0 20px 45px rgba(15, 31, 46, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Inter", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand {
  max-width: 360px;
}

.brand strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 62px !important;
  height: 62px !important;
  max-width: 62px !important;
  max-height: 62px !important;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 6px;
}

.brand-logo {
  display: block;
  width: 62px !important;
  height: 62px !important;
  max-width: 62px !important;
  max-height: 62px !important;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  color: #25394b;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.portal-link {
  color: var(--teal-dark);
  background: #eaf5f6;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(0, 124, 137, 0.22);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  color: var(--ink);
  background: #eef3f6;
  border: 1px solid var(--line);
}

.btn-light {
  color: var(--teal-dark);
  background: #fff;
}

.btn-outline-light {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.52);
}

.btn svg,
.header-cta svg,
.text-link svg,
.floating-actions svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero {
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  padding: clamp(92px, 14vh, 142px) clamp(18px, 5vw, 72px) 58px;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.hero-home {
  background-image:
    linear-gradient(90deg, rgba(7, 25, 43, 0.88), rgba(7, 25, 43, 0.38)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=80");
}

.hero-content,
.page-hero > div,
.service-hero > div {
  width: min(820px, 100%);
}

.hero h1,
.page-hero h1,
.service-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

.hero p,
.page-hero p,
.service-hero p {
  width: min(760px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions.centered {
  justify-content: center;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  min-height: 132px;
  padding: 28px clamp(18px, 4vw, 40px);
  background: #fff;
}

.proof-strip strong {
  display: block;
  color: var(--teal-dark);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.proof-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.section {
  padding: clamp(58px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.muted-section {
  background: var(--surface-alt);
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section h2,
.section-heading h2,
.split-layout h2,
.contact-details h2,
.contact-panel h2,
.usecase-grid h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p,
.split-layout p,
.content-copy p,
.contact-panel p,
.usecase-grid p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 190px 1fr;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(15, 31, 46, 0.08);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 22px;
}

.service-card svg,
.values-grid svg,
.industry-grid svg,
.outcome-grid svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
}

.service-card h3,
.values-grid h3,
.process-list h3,
.industry-grid h3,
.outcome-grid h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.service-card p,
.values-grid p,
.process-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.process-list div,
.values-grid article,
.industry-grid article,
.outcome-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 14px;
  font-weight: 800;
}

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

.values-grid article {
  display: grid;
  gap: 14px;
}

.content-copy {
  font-size: 17px;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.capability-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  min-height: 150px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability-list span {
  grid-column: 1 / -1;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.capability-list strong {
  align-self: end;
  font-size: 20px;
  line-height: 1.25;
}

.capability-list svg {
  align-self: end;
  color: var(--teal);
}

.page-hero,
.service-hero {
  display: flex;
  align-items: flex-end;
  min-height: 56vh;
  padding: clamp(92px, 14vh, 138px) clamp(18px, 5vw, 72px) 58px;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.page-hero h1,
.service-hero h1 {
  font-size: clamp(38px, 6vw, 66px);
}

.page-hero-about {
  background-image:
    linear-gradient(90deg, rgba(7, 25, 43, 0.86), rgba(7, 25, 43, 0.34)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80");
}

.page-hero-services {
  background-image:
    linear-gradient(90deg, rgba(7, 25, 43, 0.86), rgba(7, 25, 43, 0.34)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1800&q=80");
}

.page-hero-industries {
  background-image:
    linear-gradient(90deg, rgba(7, 25, 43, 0.86), rgba(7, 25, 43, 0.34)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80");
}

.page-hero-contact {
  background-image:
    linear-gradient(90deg, rgba(7, 25, 43, 0.86), rgba(7, 25, 43, 0.34)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80");
}

.service-directory {
  display: grid;
  gap: 26px;
}

.directory-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.directory-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.directory-row img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.directory-row h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
}

.directory-row p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.check-list,
.feature-panel {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
  padding: 0;
}

.check-list li,
.feature-panel li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.check-list svg,
.feature-panel svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--green);
}

.feature-panel {
  margin: 0;
  padding: 28px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.outcome-grid,
.industry-grid,
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.outcome-grid article {
  display: grid;
  gap: 20px;
  min-height: 150px;
}

.industry-grid {
  grid-template-columns: repeat(4, 1fr);
}

.industry-grid article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 108px;
}

.usecase-grid article {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-details {
  position: sticky;
  top: 104px;
}

.contact-method,
.contact-note {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-method svg,
.contact-note svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--teal);
}

.contact-method strong,
.contact-method a {
  display: block;
  line-height: 1.7;
}

.contact-method a {
  color: var(--teal-dark);
  overflow-wrap: anywhere;
}

.contact-note p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.form-shell {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.compact-form {
  box-shadow: none;
}

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

.field-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.form-shell label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.form-shell input,
.form-shell select,
.form-shell textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8fafb;
  border: 1px solid #cfd9e1;
  border-radius: 8px;
  outline: none;
}

.form-shell textarea {
  min-height: 130px;
  resize: vertical;
}

.form-shell input:focus,
.form-shell select:focus,
.form-shell textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 124, 137, 0.12);
}

.field-error {
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
}

.contact-preview {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(24px, 5vw, 46px);
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.contact-panel h2,
.contact-panel p {
  color: #fff;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(42px, 6vw, 72px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(110deg, rgba(7, 81, 90, 0.98), rgba(22, 138, 74, 0.92)),
    url("https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
  background-size: cover;
}

.cta-band h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.13;
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  padding: 48px clamp(18px, 5vw, 72px);
  color: #d8e5ed;
  background: #061522;
}

.site-footer h3,
.footer-brand {
  margin: 0 0 14px;
  color: #fff;
  font-weight: 800;
}

.site-footer .brand-logo-wrap {
  width: 78px !important;
  height: 78px !important;
  max-width: 78px !important;
  max-height: 78px !important;
  background: transparent;
  border: 0;
}

.site-footer .brand-logo {
  width: 78px !important;
  height: 78px !important;
  max-width: 78px !important;
  max-height: 78px !important;
}

.site-footer p {
  margin: 0 0 12px;
  line-height: 1.7;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: #d8e5ed;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.footer-gap {
  margin-top: 18px !important;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  gap: 10px;
}

.floating-actions a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(15, 31, 46, 0.22);
}

.floating-actions a:last-child {
  background: var(--green);
}

.message-stack {
  position: fixed;
  top: 92px;
  right: 20px;
  z-index: 120;
  width: min(420px, calc(100vw - 40px));
}

.message {
  padding: 14px 16px;
  background: #eaf8ef;
  border: 1px solid #bde8cb;
  border-radius: 8px;
  color: #14532d;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.success-section {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: clamp(90px, 12vw, 140px) clamp(18px, 5vw, 72px);
  background: var(--surface-alt);
}

.success-panel {
  width: min(760px, 100%);
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.success-panel > svg {
  width: 54px;
  height: 54px;
  color: var(--green);
}

.success-panel h1 {
  margin: 12px 0 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
}

.success-panel p {
  color: var(--ink-soft);
  line-height: 1.7;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 18px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 14px;
  }

  .service-grid,
  .capability-list,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout,
  .contact-section,
  .contact-preview,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .contact-details {
    position: static;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    gap: 12px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand {
    max-width: 220px;
  }

  .brand-logo-wrap,
  .brand-logo {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
  }

  .hero,
  .page-hero,
  .service-hero {
    min-height: 64vh;
    padding-top: 92px;
  }

  .proof-strip,
  .service-grid,
  .process-list,
  .values-grid,
  .capability-list,
  .directory-row,
  .outcome-grid,
  .industry-grid,
  .usecase-grid,
  .field-grid,
  .field-grid.two,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: auto;
  }

  .service-card {
    grid-template-rows: 180px 1fr;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }
}
