:root {
  --navy: #173f5f;
  --teal: #0f5a60;
  --teal-dark: #0a3f43;
  --gold: #d4af37;
  --sage: #87a987;
  --cream: #fdfbf7;
  --mist: #eef4f2;
  --ink: #17252f;
  --muted: #5d6b73;
  --white: #ffffff;
  --border: #d9e5e1;
  --shadow: 0 18px 45px rgba(14, 55, 67, 0.14);
  --radius: 8px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

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

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.94);
  border-bottom: 1px solid rgba(217, 229, 225, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: var(--header-height);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: var(--gold);
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: 0 10px 22px rgba(15, 90, 96, 0.22);
}

.brand strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.2;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  color: #26434c;
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  background: var(--mist);
  color: var(--teal-dark);
}

.phone-link {
  color: var(--teal-dark);
  font-weight: 800;
  min-width: max-content;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.15;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(15, 90, 96, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-dark);
  border-color: rgba(255, 255, 255, 0.78);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  padding: 0.65rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--teal-dark);
  border-radius: 999px;
}

.section {
  position: relative;
}

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

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--teal-dark);
}

.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(10, 63, 67, 0.88) 0%, rgba(10, 63, 67, 0.68) 42%, rgba(10, 63, 67, 0.12) 100%),
    linear-gradient(0deg, rgba(10, 63, 67, 0.24), rgba(10, 63, 67, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 4.5rem 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--teal-dark);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 1rem 0 0.6rem;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--teal-dark);
}

.hero-copy {
  max-width: 610px;
  margin: 1.15rem 0 0;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.about,
.services,
.careers,
.contact {
  padding: 6rem 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 4rem;
  align-items: start;
}

.section-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-copy p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-inline: auto;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 304px;
  padding: 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(23, 63, 95, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.75);
  box-shadow: var(--shadow);
  outline: none;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.icon-badge {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #edf6f2;
  color: var(--teal);
}

.icon-badge svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.trust {
  padding: 5rem 0;
  background: var(--teal-dark);
  color: var(--white);
}

.trust h2 {
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.trust-item {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding: 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-dark);
  font-weight: 900;
}

.careers {
  background: linear-gradient(180deg, var(--cream), #f2f7f5);
}

.form-panel,
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-panel {
  padding: 1.5rem;
}

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

.form-row {
  margin-bottom: 1rem;
}

label {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--teal-dark);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd9d5;
  border-radius: var(--radius);
  background: #fbfefd;
  color: var(--ink);
  min-height: 48px;
  padding: 0.78rem 0.85rem;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 90, 96, 0.13);
}

.field-error {
  display: block;
  min-height: 1.25rem;
  margin-top: 0.25rem;
  color: #a53925;
  font-size: 0.86rem;
  font-weight: 700;
}

.is-invalid {
  border-color: #b6422e;
  background: #fff8f6;
}

.form-status {
  margin: 1rem 0 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-card {
  margin-top: 1.5rem;
  padding: 1.25rem;
}

.contact-card address,
.site-footer address {
  margin: 0.4rem 0;
  font-style: normal;
  color: var(--muted);
}

.site-footer {
  background: #112d35;
  color: rgba(255, 255, 255, 0.84);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 2rem;
}

.footer-brand strong {
  color: var(--white);
}

.site-footer strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.site-footer a {
  display: block;
  width: fit-content;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.45rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

.footer-bottom {
  width: min(1120px, calc(100% - 32px));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  :root {
    --header-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .nav-panel.open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links {
    display: grid;
    gap: 0.25rem;
  }

  .nav-link,
  .phone-link,
  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 63, 67, 0.94) 0%, rgba(10, 63, 67, 0.72) 72%, rgba(10, 63, 67, 0.28) 100%);
  }

  .split,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .hero {
    min-height: 660px;
  }

  .hero-content {
    padding: 3.5rem 0;
  }

  .hero-actions,
  .hero-actions .button,
  .form-panel .button {
    width: 100%;
  }

  .about,
  .services,
  .careers,
  .contact {
    padding: 4rem 0;
  }

  .service-grid,
  .trust-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }
}
