:root {
  --ink: #102033;
  --muted: #667085;
  --line: #d8e0ea;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --navy: #0d3157;
  --teal: #0f766e;
  --gold: #c9962f;
  --rose: #b34d5a;
  --shadow: 0 20px 60px rgba(16, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

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

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

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  color: #344054;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 8px;
  color: white !important;
  background: var(--navy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0b2238;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 25, 42, 0.9) 0%, rgba(8, 25, 42, 0.75) 42%, rgba(8, 25, 42, 0.18) 100%),
    url("../images/hero-office.png") center/cover;
}

.hero-content {
  position: relative;
  color: white;
  padding: 90px 0 120px;
}

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
  margin: 0 0 12px;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: 0;
}

.hero-text,
.page-hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
}

.hero-actions,
.hero-stats,
.cta-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal);
  color: white;
}

.btn-secondary,
.btn-light {
  background: white;
  color: var(--navy);
}

.hero-stats {
  margin-top: 42px;
}

.hero-stats span {
  min-width: 150px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
  display: block;
  font-size: 24px;
}

.section {
  padding: 86px 0;
}

.intro-band,
.soft-section {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.16;
  margin: 0 0 18px;
}

h3 {
  margin: 0 0 10px;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.service-heading {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.service-heading h2 {
  max-width: 760px;
  font-size: clamp(42px, 5.4vw, 70px);
  margin-bottom: 0;
}

.text-link {
  min-width: max-content;
  color: var(--teal);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
}

.service-grid,
.testimonial-grid,
.values-grid,
.industry-grid,
.team-grid,
.blog-grid,
.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card,
.testimonial-grid blockquote,
.value-panel,
.values-grid article,
.industry-grid article,
.team-card,
.blog-grid article,
.service-list article,
.contact-form,
.contact-info {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 26px;
  box-shadow: 0 10px 34px rgba(16, 32, 51, 0.06);
}

.service-card {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at top right, rgba(201, 150, 47, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(13, 49, 87, 0.02));
  transition: opacity 0.25s ease;
}

.service-card > * {
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 26px 70px rgba(16, 32, 51, 0.16);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3 {
  font-size: 24px;
  line-height: 1.2;
  margin-top: 14px;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 17px;
  margin: 0 0 22px;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-icon,
.avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  margin-bottom: 18px;
  background: #e9f6f4;
  color: var(--teal);
  font-weight: 800;
}

.service-card .card-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 0;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22);
}

.service-number {
  color: rgba(13, 49, 87, 0.12);
  font-size: 46px;
  line-height: 1;
  font-weight: 800;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.service-tags span {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--navy);
  background: #f0f6f5;
  font-size: 13px;
  font-weight: 800;
}

.card-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--teal);
  font-weight: 800;
}

.card-link::after {
  content: ">";
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.service-card:hover .card-link::after {
  transform: translateX(4px);
}

.highlight-section,
.cta-strip {
  color: white;
  background: linear-gradient(135deg, var(--navy), #173f40);
}

.highlight-section p,
.cta-strip p {
  color: rgba(255, 255, 255, 0.78);
}

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

.check-list span {
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

blockquote {
  margin: 0;
}

cite {
  display: block;
  color: var(--rose);
  font-style: normal;
  font-weight: 800;
  margin-top: 18px;
}

.cta-strip {
  padding: 54px 0;
}

.cta-inner {
  justify-content: space-between;
}

.cta-inner h2 {
  max-width: 760px;
  margin-bottom: 6px;
}

.site-footer {
  background: #08192a;
  color: white;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 40px;
  padding-bottom: 42px;
}

.site-footer p,
.site-footer a,
.footer-brand small {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 92px;
  background:
    linear-gradient(135deg, rgba(8, 25, 42, 0.94), rgba(15, 118, 110, 0.86)),
    url("../images/hero-office.png") center/cover;
  color: white;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: max(20px, calc((100vw - 1120px) / 2));
  bottom: -78px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-actions,
.page-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-pills {
  margin-top: 26px;
}

.page-pills span {
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 800;
  font-size: 13px;
}

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

.service-list article,
.industry-grid article,
.team-card,
.blog-grid article {
  position: relative;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-list article::before,
.industry-grid article::before,
.team-card::before,
.blog-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(201, 150, 47, 0.1));
  transition: opacity 0.24s ease;
}

.service-list article > *,
.industry-grid article > *,
.team-card > *,
.blog-grid article > * {
  position: relative;
}

.service-list article:hover,
.industry-grid article:hover,
.team-card:hover,
.blog-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: 0 24px 60px rgba(16, 32, 51, 0.13);
}

.service-list article:hover::before,
.industry-grid article:hover::before,
.team-card:hover::before,
.blog-grid article:hover::before {
  opacity: 1;
}

.mini-icon {
  display: inline-grid;
  place-items: center;
  min-width: 50px;
  height: 50px;
  padding: 0 12px;
  border-radius: 8px;
  margin-bottom: 18px;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.22);
}

.service-list h2,
.industry-grid h2,
.team-grid h2,
.blog-grid h2 {
  font-size: clamp(22px, 2.3vw, 30px);
}

.service-list ul,
.value-panel ul {
  padding-left: 20px;
  color: var(--muted);
}

.industry-grid,
.blog-grid,
.team-grid,
.values-grid {
  grid-template-columns: repeat(3, 1fr);
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.compact-values {
  grid-template-columns: 1fr;
}

.team-card span,
.blog-grid span {
  color: var(--teal);
  font-weight: 800;
}

.team-card .avatar {
  width: 82px;
  height: 82px;
  color: white;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  box-shadow: 0 16px 34px rgba(13, 49, 87, 0.2);
}

.blog-grid article {
  display: flex;
  min-height: 300px;
  flex-direction: column;
}

.blog-grid .card-link {
  margin-top: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfcfe;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--teal);
}

.map-box {
  min-height: 190px;
  margin-top: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-weight: 800;
  background:
    linear-gradient(135deg, rgba(201, 150, 47, 0.18), rgba(15, 118, 110, 0.16)),
    repeating-linear-gradient(45deg, #eef3f8 0 12px, #e4ebf3 12px 24px);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

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

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    display: block;
    padding: 12px;
  }

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

  .service-grid,
  .testimonial-grid,
  .industry-grid,
  .blog-grid,
  .team-grid,
  .values-grid,
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

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

  .brand small {
    font-size: 11px;
  }

  .hero {
    min-height: 640px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero-content {
    padding: 68px 0 88px;
  }

  .section,
  .page-hero {
    padding: 62px 0;
  }

  .service-grid,
  .testimonial-grid,
  .industry-grid,
  .blog-grid,
  .team-grid,
  .values-grid,
  .service-list {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .cta-inner .btn,
  .page-hero-actions .btn {
    width: 100%;
  }
}
