:root {
  --navy: #0b2545;
  --navy-dark: #07182e;
  --green: #159447;
  --green-dark: #0f7837;
  --text: #10233f;
  --muted: #66758a;
  --line: #e4ebf3;
  --bg: #f7fafc;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 48px rgba(11, 37, 69, 0.12);
  --shadow-hover: 0 24px 58px rgba(11, 37, 69, 0.16);
  --container: 1720px;
  --section-x: 2.08vw;
  --gap: 1.04vw;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img,
svg {
  display: block;
}

.container {
  width: min(var(--container), calc(100% - (var(--section-x) * 2)));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
  backdrop-filter: blur(14px);
}

.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 34px;
  position: relative;
}

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

.brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: var(--radius-sm);
  background: var(--green);
  font-size: 17px;
  font-weight: 900;
}

.brand__text {
  display: grid;
  gap: 1px;
}

.brand__text strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.1;
}

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

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex: 1;
  color: #35465f;
  font-size: 15px;
  font-weight: 800;
}

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

.menu-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  margin-left: auto;
  border: 1px solid rgba(11, 37, 69, 0.18);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0 22px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn--primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 24px rgba(21, 148, 71, 0.24);
}

.btn--primary:hover {
  background: var(--green-dark);
}

.btn--ghost {
  color: var(--green-dark);
  background: var(--white);
  border-color: rgba(21, 148, 71, 0.32);
}

.hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.92) 55%, rgba(236, 245, 250, 0.9) 100%);
}

.hero__inner {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 96px);
  padding: 72px 0;
}

.hero__photo {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(7, 24, 46, 0.58) 100%);
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 12px 16px;
  color: var(--white);
  border-radius: var(--radius-sm);
  background: var(--green);
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.16);
}

.hero__content {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
}

.hero h1 {
  margin: 16px 0 18px;
  max-width: 880px;
  color: var(--navy);
  font-size: clamp(42px, 4.7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero__lead {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
}

.hero p:not(.hero__lead) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.hero__speed {
  margin-top: 14px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
}

.section {
  width: calc(100% - (var(--section-x) * 2));
  margin: 0 auto;
  padding: 76px 0;
}

.section:nth-of-type(even) {
  background:
    linear-gradient(180deg, #f9fbfd 0%, var(--bg) 100%);
}

.section__head {
  max-width: 850px;
  margin: 0 auto 36px;
  text-align: center;
}

.section__head .eyebrow {
  justify-content: center;
}

h2 {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--navy);
}

p {
  color: var(--muted);
}

.about__grid {
  max-width: 1160px;
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 48px;
}

.section__icon {
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-radius: 50%;
  background: #eef8f1;
  box-shadow: inset 0 0 0 1px rgba(21, 148, 71, 0.08), 0 16px 34px rgba(21, 148, 71, 0.1);
}

.section__icon svg,
.card svg,
.principle svg,
.contact-card svg {
  width: 60px;
  height: 60px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  color: #35465f;
  font-size: 18px;
}

.fact-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px var(--white);
  border: 2px solid var(--green);
}

.fact-list a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.fact-list a:hover {
  color: var(--green);
}

.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
  padding: 34px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.service-feature h3 {
  margin: 12px 0 12px;
  color: var(--white);
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1.15;
}

.service-feature p {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.74);
}

.service-feature strong {
  display: block;
  margin-top: 18px;
  color: var(--white);
  font-size: 20px;
}

.service-price {
  display: grid;
  align-content: center;
  padding: 26px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
}

.service-price span {
  color: var(--green);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.service-price p {
  margin-bottom: 0;
}

.cards,
.principles__grid,
.contacts__grid {
  display: grid;
  gap: var(--gap);
}

.services__grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.principle,
.contact-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(11, 37, 69, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover,
.principle:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 148, 71, 0.22);
  box-shadow: var(--shadow-hover);
}

.card {
  min-height: 230px;
  padding: 28px;
}

.card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--green);
  border-radius: var(--radius-sm);
  background: #eef8f1;
}

.card__icon svg {
  width: 34px;
  height: 34px;
}

.card h3,
.principle h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.card p,
.principle p {
  margin: 0;
}

.principles__grid {
  grid-template-columns: repeat(4, 1fr);
}

.principle {
  min-height: 245px;
  padding: 34px 28px 30px;
  text-align: center;
}

.principle svg {
  width: 50px;
  height: 50px;
  margin: 0 auto 22px;
  color: var(--green);
  overflow: visible;
}

.cta {
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(11, 37, 69, 0.96), rgba(7, 24, 46, 0.98)),
    radial-gradient(circle at 82% 20%, rgba(21, 148, 71, 0.28), transparent 32%);
}

.cta__box {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: stretch;
  gap: 34px;
  padding: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

.cta__box::before {
  content: "";
  position: absolute;
  top: 42px;
  bottom: 42px;
  left: 0;
  width: 6px;
  border-radius: 0 999px 999px 0;
  background: var(--green);
}

.cta h2 {
  max-width: 820px;
  color: var(--white);
}

.cta p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.cta__list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.cta__list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.cta__list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.9);
}

.cta__side {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.cta__side p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.cta__label {
  color: var(--navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
}

.contacts__grid {
  grid-template-columns: repeat(4, 1fr);
}

.contact-card {
  display: block;
  min-height: 170px;
  padding: 24px;
}

.contact-card svg {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--green);
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-card strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.45;
}

.contacts__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--navy-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 56px;
  padding: 42px 0;
}

.brand--footer .brand__text strong,
.brand--footer .brand__text small {
  color: var(--white);
}

.footer p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.7);
}

.footer h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 18px;
}

.footer a,
.footer span {
  display: block;
  margin: 8px 0;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

@media (max-width: 1024px) {
  :root {
    --section-x: 2.6vw;
    --gap: 15px;
  }

  .header__inner {
    min-height: 70px;
    gap: 16px;
  }

  .menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    color: var(--white);
    border-radius: var(--radius);
    background: var(--navy-dark);
    box-shadow: 0 18px 36px rgba(7, 24, 46, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .menu a {
    display: block;
    padding: 14px 12px;
    border-radius: var(--radius-sm);
  }

  .menu a:hover {
    color: var(--white);
    background: rgba(21, 148, 71, 0.25);
  }

  .burger {
    display: flex;
  }

  .menu-toggle:checked ~ .burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle:checked ~ .burger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu-toggle:checked ~ .menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header__cta {
    display: none;
  }

  .hero__inner {
    grid-template-columns: 0.85fr 1fr;
    min-height: auto;
    gap: 32px;
    padding: 56px 0;
  }

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

  .hero__lead {
    font-size: 19px;
  }

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

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

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

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

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

@media (max-width: 767px) {
  :root {
    --section-x: 5.56vw;
    --gap: 12px;
  }

  .container {
    width: calc(100% - (var(--section-x) * 2));
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

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

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

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 36px 0 44px;
  }

  .hero__photo,
  .hero__photo img {
    min-height: 340px;
  }

  .hero__badge {
    left: 16px;
    bottom: 16px;
    padding: 10px 12px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 33px;
    line-height: 1.14;
    overflow-wrap: anywhere;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero p:not(.hero__lead) {
    font-size: 16px;
  }

  .hero__actions,
  .contacts__actions,
  .cta__box {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn {
    width: 100%;
    min-width: 0;
    padding-right: 16px;
    padding-left: 16px;
    white-space: normal;
  }

  .section {
    padding: 52px 0;
  }

  h2 {
    font-size: 28px;
  }

  .about__grid,
  .services__grid,
  .principles__grid,
  .contacts__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .about__grid {
    gap: 24px;
  }

  .section__icon {
    width: 108px;
    height: 108px;
  }

  .fact-list li {
    font-size: 16px;
  }

  .service-feature {
    padding: 24px;
  }

  .cta__box {
    padding: 28px 22px;
    gap: 24px;
  }

  .cta__box::before {
    top: 28px;
    bottom: 28px;
  }

  .cta__label {
    font-size: 24px;
  }

  .service-price span {
    font-size: 34px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}
