:root {
  color-scheme: dark;
  --ink: #f4f2ec;
  --muted: #b7c1bb;
  --soft: #d8dfd7;
  --bg: #071514;
  --bg-2: #10201d;
  --panel: #142724;
  --line: rgba(225, 236, 228, 0.18);
  --line-strong: rgba(225, 236, 228, 0.34);
  --teal: #56c7b6;
  --gold: #d99a43;
  --gold-2: #f0bd6f;
  --rust: #9d533b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  background: rgba(86, 199, 182, 0.34);
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 21, 20, 0.74);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(7, 21, 20, 0.92);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(86, 199, 182, 0.42);
  border-radius: var(--radius);
  background: rgba(86, 199, 182, 0.14);
  color: var(--teal);
  font-weight: 900;
}

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

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

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

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.desktop-nav a {
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: rgba(86, 199, 182, 0.12);
  color: var(--white);
}

.header-call {
  justify-self: end;
  padding: 10px 13px;
  border: 1px solid rgba(240, 189, 111, 0.5);
  border-radius: var(--radius);
  color: var(--gold-2);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero picture,
.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 21, 20, 0.95) 0%, rgba(7, 21, 20, 0.74) 38%, rgba(7, 21, 20, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 21, 20, 0.96) 0%, rgba(7, 21, 20, 0.25) 44%, rgba(7, 21, 20, 0.62) 100%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 72px;
  line-height: 0.95;
}

.hero-copy {
  max-width: 720px;
  color: var(--soft);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #211407;
  box-shadow: 0 18px 34px rgba(217, 154, 67, 0.22);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

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

.section-pad {
  padding: 78px 0;
}

.section-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.intro {
  background: #0b1917;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

h2 {
  margin-bottom: 16px;
  font-size: 42px;
  line-height: 1.05;
}

.intro p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
}

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

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

.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-card {
  min-height: 100%;
}

.image-card picture {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div,
.text-card {
  padding: 24px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.15;
}

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

.text-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-top: 4px solid rgba(86, 199, 182, 0.82);
}

.service-number {
  margin-bottom: auto;
  color: rgba(240, 189, 111, 0.72);
  font-size: 18px;
  font-weight: 900;
}

.dark-band {
  background:
    linear-gradient(90deg, rgba(86, 199, 182, 0.11), transparent 38%),
    #0d1f1c;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: start;
}

.facility-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.facility-list span {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: var(--soft);
  font-weight: 850;
}

.maintenance-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
}

.process-grid {
  display: grid;
  gap: 16px;
}

.process-grid article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  align-items: start;
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(86, 199, 182, 0.16);
  color: var(--teal);
  font-weight: 950;
  grid-row: 1 / span 2;
}

.process-grid h3 {
  margin-bottom: 5px;
  font-size: 22px;
  grid-column: 2;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--muted);
  grid-column: 2;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(7, 21, 20, 0), rgba(86, 199, 182, 0.08)),
    var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 42px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 98px;
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: var(--soft);
  font-weight: 800;
}

.contact-methods a {
  color: var(--gold-2);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  background: rgba(2, 8, 8, 0.7);
  color: var(--ink);
  outline: none;
  padding: 12px 13px;
}

textarea {
  resize: vertical;
  min-height: 134px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(86, 199, 182, 0.9);
  box-shadow: 0 0 0 3px rgba(86, 199, 182, 0.16);
}

select option {
  color: #071514;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--gold-2);
  font-weight: 800;
}

.form-status.error {
  color: #ffb4a8;
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #04100f;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-grid strong,
.footer-grid span,
.footer-grid a {
  display: block;
}

.footer-grid a {
  color: var(--soft);
  font-weight: 800;
  text-align: right;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 66px;
    padding: 12px 18px;
  }

  .desktop-nav {
    display: none;
  }

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

  .header-call {
    padding: 9px 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 84svh;
  }

  .hero-content,
  .section-shell {
    width: min(100% - 32px, 1120px);
  }

  .hero-content {
    padding: 118px 0 46px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section-pad {
    padding: 58px 0;
  }

  .intro-grid,
  .split,
  .maintenance-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-copy {
    position: static;
  }

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

@media (max-width: 620px) {
  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 21, 20, 0.96), rgba(7, 21, 20, 0.7)),
      linear-gradient(0deg, rgba(7, 21, 20, 0.97), rgba(7, 21, 20, 0.22));
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .facility-list,
  .form-row,
  .process-grid article {
    grid-template-columns: 1fr;
  }

  .process-grid span,
  .process-grid h3,
  .process-grid p {
    grid-column: auto;
    grid-row: auto;
  }

  .lead-form {
    padding: 18px;
  }

  .footer-grid {
    display: grid;
  }

  .footer-grid a {
    text-align: left;
  }
}
