:root {
  --ink: #101010;
  --muted: #606060;
  --line: #dedede;
  --soft: #f6f6f6;
  --accent: #f45a0a;
  --accent-dark: #d94700;
  --green: #20b15a;
  --red: #d9473f;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  gap: 5px;
  align-items: baseline;
  font-weight: 860;
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;
}

.brand strong {
  color: var(--accent);
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 42px;
  font-weight: 720;
  font-size: 15px;
}

.site-nav a {
  padding: 28px 0;
}

.site-nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.language-switch button {
  appearance: none;
  border: 0;
  min-width: 38px;
  height: 32px;
  padding: 0 9px;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 820;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--ink);
  color: #fff;
}

.header-cta,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: 0 10px 26px rgba(244, 90, 10, 0.18);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.primary-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(244, 90, 10, 0.24);
}

.wa-icon {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.wa-icon::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 10px;
  left: 5px;
  top: 3px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-32deg);
  border-radius: 0 0 0 5px;
}

.wa-icon::after {
  content: "";
  position: absolute;
  left: 1px;
  bottom: -4px;
  border-width: 5px 5px 0 0;
  border-style: solid;
  border-color: currentColor transparent transparent transparent;
  transform: rotate(-18deg);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 28px;
  padding: 54px max(28px, calc((100vw - var(--max)) / 2)) 42px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 640px;
  margin: 0 0 24px;
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 34px 0 14px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 850;
}

.contact-strip {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, auto));
  gap: 16px;
  max-width: 100%;
  margin: 6px 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.contact-strip div {
  min-width: 0;
}

.contact-strip span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.contact-strip strong,
.contact-strip a {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.response-note {
  font-size: 15px !important;
  color: #7a7a7a !important;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 620px;
  margin-top: 64px;
}

.trust-row div {
  display: grid;
  gap: 12px;
  justify-items: start;
  color: #313131;
  font-size: 14px;
  line-height: 1.35;
}

.trust-row svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-media {
  position: relative;
  min-height: 560px;
  margin-right: min(-80px, -4vw);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -24%;
  width: 40%;
  z-index: 1;
  background: linear-gradient(90deg, #fff 12%, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 28px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.section-heading p,
.price-main p,
.final-cta p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

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

.service-grid article,
.steps article,
.rule-list article,
.category-column,
.payment-panel,
.price-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
}

.service-grid article {
  padding: 28px 22px;
  min-height: 190px;
}

.service-grid h3,
.steps h3,
.rule-list h3 {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.2;
}

.service-grid p,
.steps p,
.rule-list p,
.category-column li,
.payment-panel li,
.price-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.process {
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(#fff, var(--soft));
}

.process .section-heading,
.process .steps {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  padding: 0 28px;
}

.steps article {
  min-height: 238px;
  padding: 28px 22px;
  position: relative;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 850;
}

.price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
}

.price-main {
  display: grid;
  gap: 32px;
}

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

.price-card {
  min-height: 210px;
  padding: 30px;
}

.price-card.emphasis {
  border-color: rgba(244, 90, 10, 0.32);
  background: linear-gradient(135deg, #fff7f2, #fff);
}

.price-card span {
  display: block;
  font-size: 16px;
  font-weight: 850;
  text-transform: uppercase;
}

.price-card strong {
  display: block;
  margin: 18px 0 12px;
  color: var(--accent);
  font-size: clamp(54px, 7vw, 82px);
  line-height: 0.9;
}

.payment-panel {
  padding: 30px;
  background: var(--soft);
}

.payment-panel h3 {
  margin: 0 0 22px;
  font-size: 28px;
}

.payment-panel ul,
.category-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.payment-panel li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: 36px;
}

.category-column {
  padding: 34px;
}

.category-column.allowed {
  background: #f7fff9;
  border-color: #d5eddc;
}

.category-column.blocked {
  background: #fff8f7;
  border-color: #f0d3d0;
}

.category-column h2 {
  margin-bottom: 24px;
  font-size: 31px;
}

.category-column li {
  position: relative;
  padding: 10px 0 10px 32px;
}

.category-column li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--green);
}

.blocked li::before {
  border-color: var(--red);
}

.blocked li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 21px;
  width: 11px;
  height: 2px;
  background: var(--red);
  transform: rotate(45deg);
}

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

.rule-list article {
  padding: 28px 24px;
  min-height: 170px;
}

.final-cta {
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.86);
}

.primary-button.white {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  min-width: 244px;
}

.site-footer {
  margin-top: 48px;
  min-height: 92px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  background: #111;
  color: #fff;
}

.site-footer .brand {
  font-size: 24px;
}

.site-footer p,
.site-footer a:not(.brand) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-contact {
  display: grid;
  gap: 6px;
  justify-items: end;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    gap: 12px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .menu-button {
    display: block;
    grid-column: 3;
    grid-row: 1;
  }

  .site-nav {
    display: none;
  }

  .header-actions {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .header-actions .header-cta {
    display: none;
  }

  .site-header.open .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 86px;
    display: grid;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
  }

  .site-header.open .header-actions {
    display: flex;
  }

  .site-header.open .language-switch {
    height: 44px;
  }

  .site-header.open .language-switch button {
    height: 36px;
  }

  .site-header.open .site-nav a {
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-media {
    min-height: 360px;
    margin-right: 0;
  }

  .hero-media::before {
    display: none;
  }

  .hero-media img {
    min-height: 360px;
    border-radius: 8px;
  }

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

  .price,
  .categories,
  .final-cta,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
    gap: 8px;
  }

  .brand {
    font-size: 21px;
  }

  .language-switch {
    height: 36px;
  }

  .language-switch button {
    min-width: 34px;
    height: 28px;
    padding: 0 7px;
    font-size: 12px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .hero {
    padding: 34px 18px 28px;
  }

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

  .hero p {
    font-size: 18px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button {
    width: 100%;
  }

  .phone-link {
    font-size: 23px;
  }

  .contact-strip {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .trust-row,
  .service-grid,
  .steps,
  .price-cards,
  .categories,
  .rule-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 18px;
  }

  .steps {
    padding: 0 18px;
  }

  .price-card strong {
    font-size: 60px;
  }

  .final-cta {
    margin-left: 18px;
    margin-right: 18px;
    padding: 28px 22px;
  }

  .site-footer {
    padding: 26px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
