:root {
  --ink: #17211f;
  --muted: #66726e;
  --line: #dce4df;
  --panel: #ffffff;
  --mist: #eef4f1;
  --sage: #577268;
  --teal: #0f766e;
  --gold: #c79b43;
  --charcoal: #25302d;
  --shadow: 0 18px 50px rgba(23, 33, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #fbfcfb;
}

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

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

.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);
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  min-height: 76px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.brand-logo {
  width: clamp(170px, 20vw, 260px);
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

.footer-brand .brand-logo {
  width: clamp(150px, 18vw, 225px);
  max-height: 58px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #33413d;
  font-weight: 650;
  font-size: 0.94rem;
}

.nav-links a {
  white-space: nowrap;
}

.nav-cta,
.button {
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
}

.nav-cta {
  padding: 10px 15px;
  color: #fff;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 112px);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 23, 21, 0.82), rgba(10, 23, 21, 0.42)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, rgba(11, 17, 16, 0.82), transparent);
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1180px;
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  padding: 36px 24px 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 13px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 999px;
  color: var(--teal);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(238, 244, 241, 0.86));
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.11);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(199, 155, 67, 0.16);
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.94;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-copy {
  max-width: 820px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 18px;
  font-size: 0.95rem;
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.button.full {
  width: 100%;
}

.consult-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.consult-card h2 {
  margin: 0;
  font-size: 1.45rem;
}

.consult-modal {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.consult-modal::backdrop {
  background: rgba(12, 20, 18, 0.68);
  backdrop-filter: blur(4px);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.modal-close {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--mist);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

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

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #34413d;
  font-weight: 700;
  font-size: 0.9rem;
}

label small {
  color: var(--muted);
  font-weight: 600;
}

.service-options {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.service-options legend {
  margin-bottom: 8px;
  color: #34413d;
  font-weight: 700;
  font-size: 0.9rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 190px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #cfd8d3;
  border-radius: 6px;
  background: #fff;
}

.checkbox-grid label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin: 0;
  color: #34413d;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.3;
}

.checkbox-grid input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd8d3;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.phone-input-row {
  display: grid;
  grid-template-columns: minmax(116px, 0.45fr) minmax(0, 1fr);
  gap: 8px;
}

.country-code-select {
  min-width: 0;
  padding-right: 8px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 24px;
}

.split,
.section-heading,
.insights {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  margin: 14px 0 0;
  color: var(--muted);
}

.about-grid,
.service-grid,
.steps,
.office-grid {
  display: grid;
  gap: 16px;
}

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

.about-grid article,
.service-grid article,
.steps article,
.office-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.about-grid article {
  padding: 24px;
}

.services,
.methodology {
  max-width: none;
  background: var(--mist);
}

.services > *,
.methodology > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

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

.services-motion {
  position: relative;
  min-height: 176px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(15, 118, 110, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(238, 244, 241, 0.74));
  overflow: hidden;
}

.services-motion::before,
.services-motion::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.56), transparent);
  animation: serviceScan 4.4s ease-in-out infinite;
}

.services-motion::after {
  top: 50%;
  animation-delay: -2.2s;
}

.service-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  box-shadow: 0 14px 34px rgba(15, 118, 110, 0.28);
  transform: translate(-50%, -50%);
}

.service-core span {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.service-orbit {
  position: absolute;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  min-width: 74px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 8px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(23, 33, 31, 0.1);
  font-size: 0.8rem;
  font-weight: 850;
  animation: serviceFloat 3.8s ease-in-out infinite;
}

.service-orbit-one {
  top: 22px;
  left: 14%;
}

.service-orbit-two {
  top: 28px;
  right: 14%;
  animation-delay: -0.8s;
}

.service-orbit-three {
  bottom: 24px;
  left: 18%;
  animation-delay: -1.5s;
}

.service-orbit-four {
  right: 12%;
  bottom: 26px;
  animation-delay: -2.2s;
}

@keyframes serviceScan {
  0%,
  100% {
    top: 26px;
    opacity: 0.35;
  }

  50% {
    top: calc(100% - 28px);
    opacity: 0.9;
  }
}

@keyframes serviceFloat {
  50% {
    transform: translateY(-8px);
  }
}

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

.service-grid article {
  min-height: 232px;
  padding: 25px;
}

.service-grid span,
.steps span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.insights {
  align-items: center;
}

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

.insight-image img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.insight-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.insight-list article {
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

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

.steps article {
  padding: 24px;
}

.offices h2 {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.office-grid article {
  padding: 26px;
}

.office-grid a {
  display: block;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.directions-link {
  display: inline-flex;
  width: fit-content;
  padding: 9px 12px;
  border: 1px solid rgba(15, 118, 110, 0.24);
  border-radius: 6px;
  background: rgba(15, 118, 110, 0.08);
}

.map-frame {
  overflow: hidden;
  width: 100%;
  height: 220px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  padding: 54px 24px 28px;
  color: #d9e3df;
  background: var(--charcoal);
}

.footer > div {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: #fff;
}

.footer p {
  max-width: 560px;
  color: #b6c5bf;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 32px 0;
  color: #eff5f2;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #b6c5bf;
  font-size: 0.92rem;
}

.footer-contact {
  color: #fff;
  font-weight: 850;
}

.footer-contact:hover {
  color: var(--gold);
}

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

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

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

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

  .hero-inner,
  .split,
  .section-heading,
  .insights {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

@media (max-width: 640px) {
  .topbar {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 0.82rem;
  }

  .navbar {
    min-height: 68px;
  }

  .brand-logo {
    width: 168px;
    max-height: 54px;
  }

  .footer-brand .brand-logo {
    width: 148px;
    max-height: 46px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 28px;
    padding-bottom: 58px;
  }

  .hero-actions {
    display: grid;
  }

  .consult-modal {
    width: min(100% - 20px, 560px);
  }

  .consult-card {
    padding: 22px;
  }

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

  .section {
    padding: 64px 20px;
  }

  .about-grid,
  .service-grid,
  .steps,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }

  .insight-image img {
    height: 360px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
