:root {
  --green: #50970e;
  --green-dark: #2f6f08;
  --green-soft: #e8f4e3;
  --ink: #202426;
  --muted: #667076;
  --line: #dfe6e1;
  --paper: #ffffff;
  --wash: #f4f7f5;
  --sky: #dcecf7;
  --blue: #255f8f;
  --shadow: 0 16px 42px rgba(22, 35, 30, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 230, 225, 0.9);
  backdrop-filter: blur(12px);
}

.topbar {
  background: #35413b;
  color: #eef5ef;
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  min-height: 34px;
  align-items: center;
}

.topbar a {
  color: #fff;
  font-weight: 700;
}

.topbar__contacts {
  display: inline-flex;
  gap: 18px;
  align-items: center;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand__mark {
  width: 58px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.brand__mark img {
  width: 100%;
  height: auto;
  display: block;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
  letter-spacing: 0;
}

.brand strong {
  font-size: 20px;
  font-weight: 900;
}

.brand small {
  margin-top: 5px;
  color: var(--green-dark);
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #39413d;
  font-size: 15px;
  font-weight: 700;
}

.nav__links a {
  padding: 8px 0;
}

.nav__links a:hover {
  color: var(--green-dark);
}

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

.language-switcher {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.lang-button {
  min-width: 40px;
  min-height: 36px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #35413b;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.lang-button:last-child {
  border-right: 0;
}

.lang-button.is-active {
  background: var(--green);
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(80, 151, 14, 0.22);
}

.button:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button--small {
  min-height: 38px;
  padding-inline: 16px;
  font-size: 14px;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.button--outline {
  background: #fff;
  color: var(--green-dark);
  border-color: var(--line);
  box-shadow: none;
}

.button--outline:hover {
  color: #fff;
  border-color: var(--green-dark);
}

.hero {
  position: relative;
  min-height: 585px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #4b6574 url("/assets/sky-bg.jpg") center / cover no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 25, 29, 0.42);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(48vw, 620px);
  height: min(50vw, 520px);
  background: url("/assets/hero-uzbekistan.jpg") center / cover no-repeat;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.64;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 74px 0 58px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #c7f29a;
}

.hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero__lead {
  width: min(660px, 100%);
  margin: 22px 0 0;
  font-size: 20px;
  color: #f1f5f2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 170px));
  gap: 12px;
  margin-top: 42px;
}

.hero__facts span {
  display: block;
  min-height: 82px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.hero__facts strong,
.hero__facts em {
  display: block;
  font-style: normal;
}

.hero__facts strong {
  font-size: 30px;
  line-height: 1;
}

.hero__facts em {
  margin-top: 8px;
  color: #ecf2ef;
  font-size: 13px;
  font-weight: 700;
}

.request-section {
  background: var(--wash);
  padding: 58px 0;
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(420px, 1.25fr);
  gap: 38px;
  align-items: start;
}

.request-copy h2,
.section-heading h2,
.service-layout h2,
.faq-layout h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.request-copy p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
}

.contact-strip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
  padding: 18px;
  background: #fff;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(21, 34, 30, 0.06);
}

.contact-strip span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-strip a {
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.quote-form {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.form-grid__wide {
  grid-column: 1 / -1;
}

label span {
  display: block;
  margin-bottom: 7px;
  color: #39413d;
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #ccd8d0;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input {
  min-height: 44px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  min-height: 112px;
  padding: 12px;
}

input:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(80, 151, 14, 0.14);
}

.quote-form__submit {
  width: 100%;
  margin-top: 18px;
}

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

.form-status.is-error {
  color: #b43528;
}

.form-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.stats-band {
  background: #35413b url("/assets/green-pattern.png") center / cover no-repeat;
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}

.stats div {
  min-height: 126px;
  padding: 28px 24px;
  background: rgba(36, 48, 43, 0.76);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  font-size: 40px;
  line-height: 1;
}

.stats span {
  margin-top: 10px;
  color: #eaf3eb;
  font-weight: 700;
}

.section {
  padding: 78px 0;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 20px;
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: 6px;
  font-weight: 900;
}

.feature-card h3,
.service-list h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

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

.section--image {
  position: relative;
  color: #fff;
  background: #263b48 url("/assets/hero-uzbekistan.jpg") center / cover no-repeat;
}

.section--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 33, 38, 0.68);
}

.service-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
  gap: 42px;
}

.service-layout .section-kicker {
  color: #c7f29a;
}

.service-layout__lead {
  margin: 18px 0 0;
  color: #e9f1ee;
  font-size: 18px;
}

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

.service-list article {
  min-height: 156px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.service-list p {
  color: #edf4ef;
}

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

.steps li {
  position: relative;
  min-height: 190px;
  padding: 24px 22px 24px 24px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.steps span {
  color: var(--muted);
}

.section--faq {
  background: var(--wash);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 42px;
}

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

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contacts-section {
  background: #fff;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.contacts-intro p:not(.section-kicker) {
  color: var(--muted);
  font-size: 18px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.details-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.details-card h3 {
  margin: 0 0 18px;
  font-size: 21px;
}

.details-list {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.details-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.details-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer {
  background: #202426;
  color: #f7faf7;
  padding: 48px 0 22px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.7fr;
  gap: 32px;
}

.brand--footer .brand__mark {
  padding: 2px;
  background: #fff;
  border-radius: 6px;
}

.brand--footer small {
  color: #c7f29a;
}

.footer p {
  width: min(420px, 100%);
  color: #d8e0db;
}

.footer h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.footer a,
.footer span {
  display: block;
  color: #eaf3eb;
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #b8c6bd;
  font-size: 14px;
}

@media (max-width: 980px) {
  .nav {
    min-height: 64px;
  }

  .nav__links {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .hero::after {
    opacity: 0.34;
    width: 72vw;
  }

  .request-grid,
  .service-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .advantage-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0;
  }

  .nav {
    gap: 12px;
  }

  .brand__mark {
    width: 48px;
    height: 36px;
  }

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

  .brand small {
    font-size: 11px;
  }

  .nav__actions {
    gap: 8px;
  }

  .nav__actions .button {
    display: none;
  }

  .language-switcher {
    border-radius: 6px;
  }

  .lang-button {
    min-width: 34px;
    min-height: 34px;
    font-size: 12px;
  }

  .hero {
    min-height: 0;
  }

  .hero__content {
    padding: 42px 0 34px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    margin-top: 24px;
  }

  .hero__facts span {
    min-height: 86px;
    padding: 12px 10px;
  }

  .hero__facts strong {
    font-size: 25px;
  }

  .hero__facts em {
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.25;
  }

  .request-section,
  .section {
    padding: 48px 0;
  }

  .quote-form {
    padding: 18px;
  }

  .form-grid,
  .service-list,
  .stats,
  .advantage-grid,
  .steps,
  .contacts-layout,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .stats div {
    min-height: 106px;
  }

  .feature-card,
  .steps li {
    min-height: 0;
  }

  .footer__bottom {
    flex-direction: column;
  }
}
