:root {
  --bg: #ffffff;
  --ink: #151515;
  --muted: #5f6468;
  --line: #dfe3e7;
  --soft: #f4f7f5;
  --dark: #101516;
  --dark-2: #1b2425;
  --accent: #79b653;
  --accent-2: #2b6472;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
textarea {
  font: 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 {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  clip: auto;
  border-radius: 4px;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 18vw, 235px);
  min-height: 48px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header.is-scrolled .site-nav,
.site-header.is-open .site-nav {
  color: var(--ink);
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.site-header.is-scrolled .menu-button,
.site-header.is-open .menu-button {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 10, 11, 0.92) 0%, rgba(9, 10, 11, 0.72) 52%, rgba(9, 10, 11, 0.42) 100%),
    linear-gradient(0deg, rgba(9, 10, 11, 0.4) 0%, rgba(9, 10, 11, 0.05) 48%, rgba(9, 10, 11, 0.34) 100%),
    url("assets/images/hero.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 180px 0 76px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 5.2vw, 4.5rem);
  line-height: 1.06;
}

.hero-text {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-cta-wrap {
  margin-top: 30px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border: 1px solid rgba(121, 182, 83, 0.55);
  border-radius: 6px;
  background: rgba(16, 21, 22, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.hero-cta-label {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-cta strong {
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1;
}

.hero-cta-note {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 0;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 36px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
}

.intro-item {
  padding: 26px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item strong {
  display: block;
  color: var(--accent-2);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.intro-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

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

.section-heading h2,
.contact-section h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.section-heading p:not(.eyebrow),
.contact-section p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-item span {
  display: block;
  margin: 0 0 7px;
  color: var(--accent-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-item h3 {
  margin: 0;
}

.section-dark {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  background: var(--dark);
  color: #fff;
}

.section-dark .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.service-item {
  min-height: 265px;
  padding: clamp(22px, 4vw, 40px);
  background: var(--dark-2);
}

.service-item h3 {
  font-size: 1.55rem;
}

.service-item p {
  color: rgba(255, 255, 255, 0.74);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(32px, 8vw, 96px);
  align-items: start;
}

.copy-block {
  color: #33383b;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
}

.copy-block p {
  margin: 0 0 18px;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100% - var(--max)) / 2));
  padding-left: max(18px, calc((100% - var(--max)) / 2));
  background: var(--soft);
}

.reference-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding: 0;
  max-width: 920px;
  margin: 30px auto 0;
  list-style: none;
}

.reference-list + .reference-list {
  margin-top: 14px;
}

.reference-list li {
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
}

.reference-list li:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.reference-list li.featured {
  font-size: 1.15rem;
  padding: 14px 28px;
  border-color: var(--accent-2);
  color: var(--accent-2);
  background: rgba(43, 100, 114, 0.04);
}

.reference-list li.featured:hover {
  background: var(--accent-2);
  color: #fff;
  border-color: var(--accent-2);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 8vw, 94px) 0;
}

.phone-card {
  display: grid;
  gap: 4px;
  min-width: min(100%, 310px);
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--dark);
  color: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}

.phone-card span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-card strong {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 24px clamp(18px, 4vw, 54px);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .intro-band,
  .service-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-item:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 560px) {
  .site-header {
    padding: 12px 18px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    width: min(var(--max), calc(100% - 32px));
    padding-bottom: 52px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-cta {
    width: 100%;
    justify-content: space-between;
  }
}
