:root {
  --ink: #eef6f7;
  --muted: #9db0b8;
  --line: rgba(168, 188, 196, 0.22);
  --paper: #0d151a;
  --white: #ffffff;
  --panel: #121f26;
  --panel-strong: #172a33;
  --blue: #44a3d6;
  --blue-dark: #8dd4f2;
  --red: #e4483f;
  --yellow: #f6bd2b;
  --green: #52bd86;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(68, 163, 214, 0.16), transparent 34%),
    linear-gradient(180deg, #0a1116 0%, var(--paper) 42%, #091014 100%);
  font-family: Montserrat, Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(9, 16, 20, 0.88);
  border-bottom: 1px solid rgba(168, 188, 196, 0.18);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: linear-gradient(135deg, #11313d, #1b5b47);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.pipe {
  position: absolute;
  display: block;
  background: var(--yellow);
}

.pipe-main {
  left: 11px;
  top: 18px;
  width: 23px;
  height: 6px;
  border-radius: 999px;
}

.pipe-branch {
  left: 20px;
  top: 11px;
  width: 6px;
  height: 21px;
  border-radius: 999px;
}

.pipe-dot {
  left: 16px;
  top: 14px;
  width: 14px;
  height: 14px;
  border: 3px solid #0b1519;
  border-radius: 50%;
}

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

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

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 22px;
  color: #bfd2d9;
  font-size: 15px;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(168, 188, 196, 0.2);
  border-radius: 8px;
}

.lang-btn {
  min-width: 38px;
  height: 32px;
  color: #bfd2d9;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.lang-btn.active {
  color: #081014;
  background: var(--yellow);
}

.main-nav a:hover,
.header-call:hover,
.contact-lines a:hover {
  color: var(--blue);
}

.header-call {
  margin-left: auto;
  color: var(--blue-dark);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 118px clamp(18px, 4vw, 54px) 54px;
  overflow: hidden;
}

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

.hero-bg {
  background-image: url("assets/gasification-hero-v2.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 16, 20, 0.98) 0%, rgba(9, 16, 20, 0.86) 40%, rgba(9, 16, 20, 0.38) 76%),
    linear-gradient(0deg, rgba(9, 16, 20, 0.28), rgba(9, 16, 20, 0.28));
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(260px, 360px);
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  max-width: 1180px;
  min-height: calc(92vh - 172px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 700;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 700;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.lead {
  max-width: 620px;
  color: #c3d2d8;
  font-size: clamp(18px, 2vw, 22px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(200, 59, 53, 0.28);
}

.btn-primary:hover {
  background: #b3302b;
}

.btn-ghost {
  color: var(--ink);
  background: rgba(18, 31, 38, 0.78);
  border-color: rgba(246, 189, 43, 0.38);
}

.hero-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  background: rgba(18, 31, 38, 0.88);
  border: 1px solid rgba(168, 188, 196, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.metric {
  display: block;
  color: var(--yellow);
  font-size: 30px;
  font-weight: 800;
}

.hero-panel p,
.service-card p,
.steps p,
.section-heading p,
.contact-copy p {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 4vw, 54px);
}

.section-light {
  background: transparent;
}

.section-band {
  color: var(--white);
  background: linear-gradient(135deg, #122a35, #17352a);
  border-block: 1px solid rgba(168, 188, 196, 0.18);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

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

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

.service-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(28, 50, 61, 0.07);
}

.service-card h3 {
  min-height: 52px;
  margin-bottom: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.service-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: auto 0 0;
  color: #cfdde1;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--yellow);
  border-radius: 50%;
  content: "";
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.section-band .eyebrow,
.section-band h2 {
  color: var(--white);
}

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

.benefits div {
  min-height: 58px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-weight: 700;
}

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

.steps li {
  position: relative;
  min-height: 220px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  color: #081014;
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 24px 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-item h3 {
  margin-bottom: 10px;
}

.faq-item p {
  max-width: 880px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  background: #0a1217;
  border-top: 1px solid rgba(168, 188, 196, 0.18);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: 46px;
  align-items: start;
}

.contact-copy {
  padding-top: 12px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  color: var(--yellow);
  font-weight: 700;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: 46px;
  align-items: start;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-card {
  min-height: 190px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(28, 50, 61, 0.07);
}

.contact-card h3 {
  margin-bottom: 18px;
}

.contact-card a {
  display: block;
  margin-top: 10px;
  color: var(--yellow);
  font-weight: 700;
}

.contact-card a:first-of-type {
  color: var(--ink);
  font-size: 22px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #d8e5e9;
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(168, 188, 196, 0.3);
  border-radius: 8px;
  padding: 14px 14px;
  color: var(--ink);
  background: #0d171d;
  font: inherit;
  font-weight: 500;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(21, 95, 140, 0.15);
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.form-status.error {
  color: var(--red);
}

.site-footer {
  padding: 24px clamp(18px, 4vw, 54px);
  color: #d8e6ec;
  background: #070d11;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 920px) {
  .main-nav {
    display: none;
    position: static;
    transform: none;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 16, 20, 0.98) 0%, rgba(9, 16, 20, 0.9) 58%, rgba(9, 16, 20, 0.76) 100%),
      linear-gradient(0deg, rgba(9, 16, 20, 0.12), rgba(9, 16, 20, 0.12));
  }

  .hero-inner,
  .split,
  .contact-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  .site-header {
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .pipe-main {
    left: 9px;
    top: 16px;
    width: 20px;
    height: 5px;
  }

  .pipe-branch {
    left: 17px;
    top: 10px;
    width: 5px;
    height: 18px;
  }

  .pipe-dot {
    left: 13px;
    top: 12px;
    width: 13px;
    height: 13px;
  }

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

  .brand small {
    display: none;
  }

  .header-call {
    display: none;
    font-size: 14px;
  }

  .language-switch {
    flex: 0 0 auto;
    margin-left: auto;
  }

  .lang-btn {
    min-width: 34px;
    height: 30px;
  }

  .hero {
    padding: 92px 16px 44px;
  }

  .hero-bg {
    background-position: 63% center;
  }

  .hero-inner {
    min-height: auto;
    gap: 22px;
  }

  h1 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.14;
  }

  h2 {
    font-size: 27px;
    line-height: 1.16;
  }

  h3 {
    font-size: 18px;
  }

  .lead {
    max-width: 100%;
    font-size: 16px;
  }

  .lead br,
  .section-heading br {
    display: none;
  }

  .hero-actions,
  .footer-inner {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-panel {
    margin-top: 18px;
    padding: 16px;
  }

  .metric {
    font-size: 24px;
  }

  .section {
    padding: 52px 16px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .service-grid,
  .steps,
  .benefits,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .steps li {
    min-height: auto;
  }

  .service-card {
    padding: 22px;
  }

  .service-card h3 {
    min-height: 0;
    padding-bottom: 14px;
  }

  .service-card ul {
    margin-top: 18px;
  }

  .benefits div,
  .steps li,
  .faq-item,
  .contact-card,
  .lead-form {
    padding: 20px;
  }

  .contact-copy {
    padding-top: 0;
  }

  input,
  textarea {
    font-size: 16px;
  }

  .contact-card a:first-of-type {
    font-size: 19px;
  }
}

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

  .lang-btn {
    min-width: 31px;
    font-size: 12px;
  }

  h1 {
    font-size: 25px;
  }
}
