:root {
  --ink: #17202a;
  --muted: #52606f;
  --line: #d7dee7;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --navy: #19324a;
  --green: #4d7d68;
  --gold: #c58a2b;
  --red: #a5483f;
  --shadow: 0 18px 45px rgba(23, 32, 42, 0.14);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 20;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--paper);
  background: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(215, 222, 231, 0.86);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  height: 75px;
  margin: -15px -15px -15px -40px;
}


.brand-wordmark {
  width: 118px;
  height: auto;
}

.brand span {
  max-width: 15rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  padding: 0.6rem 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: calc(100svh - 148px);
  overflow: hidden;
  color: var(--paper);
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 28, 42, 0.9) 0%, rgba(15, 28, 42, 0.72) 42%, rgba(15, 28, 42, 0.24) 100%),
    url("images/Home_Bottom_Slider_1D.jpg") center / cover;
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.8rem, 11vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
}

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

.hero .eyebrow {
  color: #f0bf62;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.5rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 700px;
  margin: 1.25rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.1rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
}

.button-primary {
  color: var(--paper);
  background: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #8e342d;
}

.button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.75);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.quick-contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.quick-contact a {
  min-height: 68px;
  padding: 1rem;
  color: var(--navy);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.quick-contact a:last-child {
  border-right: 0;
}

.quick-contact a:hover,
.quick-contact a:focus-visible {
  color: var(--paper);
  background: var(--green);
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

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

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.08);
}

.service-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 1rem;
}

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

.service-card a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.service-card a:hover,
.service-card a:focus-visible {
  text-decoration: underline;
}

.split-section,
.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.split-section p:not(.eyebrow),
.about-section p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.split-image,
.about-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-section {
  width: 100%;
  padding: 0;
}

.detail-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  background: var(--soft);
}

.detail-block-reverse .detail-media {
  order: 2;
}

.detail-media img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.detail-copy {
  max-width: 580px;
  padding: clamp(2rem, 6vw, 5rem);
}

.detail-copy p:not(.eyebrow) {
  color: var(--muted);
}

.capabilities {
  width: 100%;
  max-width: none;
  padding-right: max(1rem, calc((100% - var(--max)) / 2));
  padding-left: max(1rem, calc((100% - var(--max)) / 2));
  background: var(--navy);
  color: var(--paper);
}

.capabilities .eyebrow {
  color: #f0bf62;
}

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

.capability-list article {
  min-height: 250px;
  padding: 1.4rem;
  background: var(--navy);
}

.capability-list p {
  color: rgba(255, 255, 255, 0.76);
}

.checked-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.checked-list li {
  position: relative;
  padding-left: 1.7rem;
}

.checked-list li::before {
  position: absolute;
  top: 0.45rem;
  left: 0;
  width: 0.75rem;
  height: 0.4rem;
  border-bottom: 3px solid var(--green);
  border-left: 3px solid var(--green);
  content: "";
  transform: rotate(-45deg);
}

.contact-section {
  align-items: start;
}

.contact-panel {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

address {
  font-style: normal;
}

dl {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  font-weight: 800;
}

.contact-panel .button {
  width: 100%;
  margin-bottom: 0.9rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem clamp(1rem, 4vw, 3rem);
  color: rgba(255, 255, 255, 0.82);
  background: #101820;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .brand span {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.55rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .primary-nav a {
    border-bottom: 0;
    border-radius: var(--radius);
  }

  .primary-nav a:hover,
  .primary-nav a:focus-visible,
  .primary-nav a.is-active {
    background: var(--soft);
  }

  .quick-contact,
  .feature-grid,
  .split-section,
  .about-section,
  .contact-section,
  .detail-block,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .quick-contact a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-contact a:last-child {
    border-bottom: 0;
  }

  .detail-block-reverse .detail-media {
    order: 0;
  }

  .detail-media img {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-wordmark {
    width: 96px;
  }

  .hero {
    min-height: calc(100svh - 138px);
  }

  .hero-content {
    padding-top: 4rem;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
