:root {
  --container: 1200px;
  --px: 32px;
  --section-y: 88px;
  --radius: 14px;

  /* Öâåòà */
  --bg-900: #0c1a24;
  --bg-800: #0e2330;
  --card: #0f1e2a;
  --glass: rgba(6, 13, 20, .65);
  --stroke: rgba(255, 255, 255, .06);

  --text: #e9eef2;
  --muted: #fff;
  --cream: #f1e5c8;
  --accent: #c62828;
  --accent-700: #a71f1f;
}

*, *::before, *::after { box-sizing: border-box }
html, body { height: 100% }
body {
  margin: 0;
  background: var(--bg-900);
  color: var(--text);
  font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  line-height: 1.55;
}

/* ===== Background gradients ===== */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 255, 255, .05), transparent 60%),
    radial-gradient(900px 420px at 10% 0%, rgba(98, 226, 185, .06), transparent 55%),
    linear-gradient(180deg, #0e2433 0%, #0b1822 40%, #0a141c 100%);
}
body::after {
  filter: blur(0.0001px);
}

/* ===== Layout ===== */
.container {
  max-width: var(--container);
  padding: 0 var(--px);
  margin-inline: auto;
}
.section { padding: var(--section-y) 0 }
h1, h2 { font-family: "Pridi", serif; margin: 0 }
h2 {
  font-size: clamp(28px, 3.2vw, 56px);
  font-weight: 600;
  line-height: 110%;
  color: #fef0d5;
}
h3 {
  font-family: "Roboto", serif;
  font-size: clamp(18px, 2.2vw, 20px);
  font-weight: 500;
  line-height: 120%;
  text-transform: capitalize;
  color: #fff;
}
p { margin: 0 0 12px; color: var(--muted) }
a { text-decoration: none; color: inherit }

/* ===== Header ===== */
.header { position: absolute; left: 0; right: 0; top: 0; z-index: 20 }
.header__bar {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.logo { display: flex; align-items: center; }
.logo__img { height: 45px }
.nav { margin-left: auto; display: flex; gap: 28px }
.nav a { font-weight: 500; letter-spacing: .02em; opacity: .95 }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  letter-spacing: .03em;
}
.cta:hover { background: var(--accent-700) }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 44px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12, 26, 36, .55), rgb(8 22 32 / 65%)), url(../img/bg.png) center / cover no-repeat;
}
.hero__wrap { display: grid; grid-template-columns: 2.1fr .9fr; align-items: end }
.hero__title {
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.1;
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.hero__title .red { color: var(--accent) }
.hero__subtitle { font-size: 18px; max-width: 700px; margin: 30px 0; }
.hero__btns { margin-top: 22px }

/* services row */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.service {
  flex: 1;
  background: rgba(0, 0, 0, 0.25);
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}
.service img { height: 40px }
.service p {
  font-family: "Roboto", serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 120%;
  color: #fff;
}

/* ===== Coverage ===== */
.coverage { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: inherit }
.coverage__map { max-width: 400px }
.list { padding: 0; margin: 14px 0 0; display: grid; gap: 8px }
.list li {
  list-style: none;
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}
.list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
  color: #cdd7e0;
  opacity: .6;
}
#coverage {
	/*
	background: linear-gradient(121deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
              linear-gradient(170deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
              #172c3cf2;
	*/
  background: linear-gradient(121deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), linear-gradient(170deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%), #183245;
}
.coverqoute {
  font-weight: 500;
  font-size: 24px;
  line-height: 110%;
  color: #fef0d5;
  padding: 15px 0;
}

/* ===== How it works ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 16px }
.step {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.1) 100%), rgba(8,20,33,0.5);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 22px;
}
.step__num {
  letter-spacing: .06em;
  margin-bottom: 6px;
  font-family: 'Pridi'; 
  font-weight: 400;
  font-size: 36px;
  line-height: 120%;
  color: #fff;
}
.step h3 { color: #fff }

#how {
  background: linear-gradient(180deg, rgb(8 20 33 / 39%) 0%, #0c1723 100%), #182833;
}

/* ===== Contact / CTA ===== */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start }
.contact h2 { margin-bottom: 8px }
.hr {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
  margin: 18px 0;
}
.kv { display: grid; gap: 10px; margin: 12px 0 0 }
.kv__row { display: flex; gap: 10px; align-items: center; color: var(--muted) }
.kv__ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  display: grid;
  place-items: center;
}

/* contact form */
.contact-form-container {
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  padding: 1.5rem;
}
.contact-form { display: grid; grid-template-columns: 1fr; gap: 1rem }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0.75rem }
.form-input {
  width: 100%;
  border-radius: 0.5rem;
  border: 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 1rem;
  color: white;
  margin-bottom: 0.75rem;
}
.form-input::placeholder { color: rgba(255, 255, 255, 0.6) }
.form-input:focus { outline: none; box-shadow: 0 0 0 2px #ef4444 }
.form-textarea { min-height: 120px; resize: vertical }
.contact-button {
  border-radius: 1rem;
  background: #dc2626;
  padding: 0.75rem 1.25rem;
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: 'Pridi';
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  color: #fff;
}
.contact-button:hover { background: #ef4444 }

/* ===== Footer ===== */
.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #aeb8c4;
  font-size: 14px;
}
.footer__grid { display: flex; justify-content: space-between; align-items: center; gap: 20px }
.footer__logo { display: flex; align-items: center; gap: 10px }
.footer__right {
  text-align: right;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.footer__link { text-decoration: underline; margin-bottom: 0.5rem }

/* ==== Burger button ==== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  margin-left: auto;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform .3s ease, opacity .2s ease;
}

.burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero__wrap,
  .coverage,
  .contact { grid-template-columns: 1fr }
  .hero__wrap { gap: 24px }
}
@media (max-width: 920px) {
  .services { grid-template-columns: 1fr 1fr }
  .steps { grid-template-columns: 1fr }
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 78vw;
    max-width: 360px;
    transform: translateX(100%);
    margin-left: 0;
    background: rgba(6, 13, 20, 0.96);
    backdrop-filter: blur(6px);
    box-shadow: -8px 0 24px rgba(0,0,0,.35);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 24px 24px;
    gap: 18px;

    transition: transform .3s ease;
    z-index: 1000;
  }
  .nav.show { transform: translateX(0); }

  .nav a {
    font-size: 18px;
    color: #fff;
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .footer__grid {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer__logo img {
    max-width: 160px; /* ÷òîáû íå ïåðåòßãèâàë */
  }

  .footer__right {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}
@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr }
}
@media (max-width: 560px) {
  :root { --px: 18px }
  .services { grid-template-columns: 1fr }
}
