:root {
  --bg: #f7f6f2;
  --paper: #fffdfa;
  --ink: #111817;
  --muted: #6d7470;
  --line: #dedbd2;
  --line-dark: rgba(255, 255, 255, 0.18);
  --teal: #005b60;
  --teal-dark: #073638;
  --amber: #c9842f;
  --amber-soft: #f4e1c5;
  --mist: #edf2ef;
  --shadow: 0 24px 70px rgba(19, 32, 30, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

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

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 48px), var(--max));
  padding: 12px 14px 12px 22px;
  background: rgba(255, 253, 250, 0.9);
  border: 1px solid rgba(222, 219, 210, 0.8);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(17, 24, 23, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
}

.brand span {
  color: var(--teal);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #35413f;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  color: #314240;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.header-cta,
.button.primary {
  color: white;
  background: var(--teal);
}

.button.ghost {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.46);
}

.button.secondary {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.button.primary:hover,
.header-cta:hover {
  background: var(--amber);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 112px);
  padding: 128px 24px 34px;
  overflow: hidden;
  color: white;
  background: var(--teal-dark);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 21, 22, 0.9) 0%, rgba(4, 21, 22, 0.67) 42%, rgba(4, 21, 22, 0.18) 100%),
    linear-gradient(180deg, rgba(4, 21, 22, 0.2), rgba(4, 21, 22, 0.72));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--max));
  max-width: var(--max);
  margin: 0 auto;
  align-self: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 68px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 580px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

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

.hero-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 48px), var(--max));
  max-width: var(--max);
  margin: 44px auto 0;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  min-height: 128px;
  padding: 24px;
}

.hero-metrics div + div {
  border-left: 1px solid var(--line-dark);
}

.hero-metrics span,
.system-number,
.benefit-grid span,
.process-list span {
  display: inline-flex;
  color: var(--amber);
  font-weight: 800;
}

.hero-metrics strong {
  display: block;
  margin-top: 20px;
  font-size: 16px;
}

.hero-metrics p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 72px;
  align-items: start;
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: 0;
}

.intro > p,
.section-head > p,
.system-content p,
.benefit-grid p,
.application-grid p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

.intro > p {
  max-width: 590px;
  font-size: 18px;
}

.systems,
.applications,
.process,
.quote-contact {
  padding: 96px 0;
  scroll-margin-top: 120px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.55fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -38px;
}

.section-head > p:not(.eyebrow) {
  font-size: 16px;
}

.section-head.center {
  display: block;
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  margin-bottom: 12px;
}

.section-head.center p:not(.eyebrow) {
  margin-top: 14px;
}

.system-showcase {
  display: grid;
  gap: 28px;
}

.system-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  min-height: 560px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.system-card.reverse {
  grid-template-columns: minmax(380px, 0.92fr) minmax(0, 1.08fr);
}

.system-card.reverse .system-media {
  order: 2;
}

.system-card.reverse .system-content {
  order: 1;
}

.system-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.system-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.system-card:hover .system-media img {
  transform: scale(1.03);
}

.video-link {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  color: white;
  background: rgba(7, 54, 56, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.system-content {
  display: grid;
  align-content: center;
  padding: 52px;
}

.system-number {
  margin-bottom: 28px;
}

.system-content h3 {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
}

.system-content p {
  margin-top: 18px;
  font-size: 16px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 30px 0 0;
}

.spec-list div {
  padding: 16px;
  background: var(--mist);
  border: 1px solid rgba(0, 91, 96, 0.1);
  border-radius: 7px;
}

.spec-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 800;
}

.benefits {
  padding: 96px 0;
  color: white;
  background:
    linear-gradient(135deg, rgba(201, 132, 47, 0.18), rgba(201, 132, 47, 0) 42%),
    var(--teal-dark);
  scroll-margin-top: 120px;
}

.benefits-inner {
  display: grid;
  gap: 44px;
}

.section-head.light h2,
.section-head.light > p:not(.eyebrow) {
  color: white;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--line-dark);
}

.benefit-grid article {
  min-height: 282px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.06);
}

.benefit-grid h3 {
  margin: 72px 0 12px;
  font-size: 22px;
  line-height: 1.12;
}

.benefit-grid p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

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

.application-grid article {
  position: relative;
  min-height: 246px;
  overflow: hidden;
  padding: 26px;
  background:
    linear-gradient(140deg, rgba(0, 91, 96, 0.08), rgba(255, 253, 250, 0) 48%),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(19, 32, 30, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.application-grid article::after {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 96px;
  height: 96px;
  border: 18px solid rgba(0, 91, 96, 0.06);
  border-radius: 50%;
  content: "";
}

.application-grid article:hover {
  border-color: rgba(0, 91, 96, 0.22);
  box-shadow: 0 24px 60px rgba(19, 32, 30, 0.14);
  transform: translateY(-4px);
}

.application-grid img {
  width: 58px;
  height: 58px;
  padding: 12px;
  object-fit: contain;
  background: white;
  border: 1px solid rgba(0, 91, 96, 0.1);
  border-radius: 7px;
  box-shadow: 0 12px 28px rgba(0, 91, 96, 0.1);
}

.application-grid h3 {
  margin: 28px 0 10px;
  font-size: 20px;
  line-height: 1.12;
}

.application-grid p {
  position: relative;
  z-index: 1;
  font-size: 14px;
}

.process {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 198px;
  padding: 24px 14px;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-list span {
  justify-content: center;
  width: 100%;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.process-list strong {
  display: block;
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.16;
}

.process-list p {
  margin-top: 10px;
  font-size: 13px;
}

.quote-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 28px;
}

.quote-form,
.contact-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
  padding: 34px;
}

.quote-form .eyebrow,
.quote-form h2,
.full,
.form-status {
  grid-column: 1 / -1;
}

.quote-form h2,
.contact-info h2 {
  font-size: 32px;
}

.quote-form label {
  display: grid;
  gap: 8px;
}

.quote-form label span,
.contact-info span {
  color: #53605d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
}

.quote-form input::file-selector-button {
  min-height: 36px;
  margin-right: 12px;
  padding: 0 14px;
  color: white;
  background: var(--teal);
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--teal);
}

.quote-form textarea {
  resize: vertical;
}

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

.contact-card {
  display: grid;
  grid-template-rows: 280px 1fr;
}

.contact-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.04) contrast(1.08) saturate(0.96);
}

.contact-info {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 34px;
}

.contact-info h2 {
  margin-bottom: 4px;
}

.contact-info a,
.contact-info div {
  display: grid;
  gap: 4px;
}

.contact-info strong {
  font-size: 16px;
  line-height: 1.25;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--max));
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 0 38px;
  color: var(--muted);
  font-size: 14px;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: white;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0, 91, 96, 0.24);
  font-size: 20px;
  font-weight: 800;
}

.back-top:hover {
  background: var(--amber);
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: grid;
    gap: 6px;
    justify-self: end;
    width: 42px;
    height: 42px;
    place-content: center;
    background: white;
    border: 1px solid var(--line);
    border-radius: 7px;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .site-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
  }

  .site-header.is-open .site-nav a {
    padding: 13px 0;
    border-top: 1px solid var(--line);
  }

  .site-header.is-open .header-actions {
    display: grid;
    grid-column: 1 / -1;
    gap: 10px;
    padding-top: 8px;
  }

  .intro,
  .section-head,
  .system-card,
  .system-card.reverse,
  .quote-contact {
    grid-template-columns: 1fr;
  }

  .section-head .eyebrow {
    margin-bottom: 0;
  }

  .system-card.reverse .system-media,
  .system-card.reverse .system-content {
    order: initial;
  }

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

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

@media (max-width: 720px) {
  .section,
  .site-header,
  .hero-inner,
  .hero-metrics,
  .site-footer {
    width: calc(100% - 28px);
  }

  .site-header {
    top: 12px;
    padding: 12px 14px;
  }

  .brand {
    font-size: 22px;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 28px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .hero-actions .button,
  .header-cta {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .hero-metrics div + div {
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }

  .intro,
  .systems,
  .applications,
  .process,
  .quote-contact,
  .benefits {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  h2 {
    font-size: 32px;
  }

  .system-media {
    min-height: 320px;
  }

  .system-content,
  .quote-form,
  .contact-info {
    padding: 24px;
  }

  .spec-list,
  .quote-form,
  .benefit-grid,
  .application-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .benefit-grid article {
    min-height: 220px;
  }

  .benefit-grid h3 {
    margin-top: 44px;
  }

  .application-grid article {
    min-height: 210px;
  }

  .contact-card {
    grid-template-rows: 220px 1fr;
  }

  .site-footer {
    display: grid;
    gap: 10px;
  }
}
