:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eef2f7;
  --text: #101828;
  --muted: #526075;
  --line: rgba(16, 24, 40, 0.08);
  --line-strong: rgba(16, 24, 40, 0.14);
  --dark: #121826;
  --dark-soft: #1d2637;
  --accent: #f59e0b;
  --accent-soft: #fff3dd;
  --success: #0f766e;
  --container: 1180px;
  --radius: 24px;
  --shadow: 0 22px 55px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: radial-gradient(circle at top left, #ffffff 0%, #f5f8fc 35%, #eef3f8 100%);
  color: var(--text);
}

h1, h2, h3, h4,
.hero__label,
.hero__price-pill,
.header__phone,
.btn,
label {
  font-family: "Manrope", Arial, sans-serif;
}

h1, h2, h3 {
  letter-spacing: -0.02em;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

input,
select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus {
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

label {
  display: grid;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 24, 40, 0.06);
}

.header__inner,
.footer__inner,
.hero__grid,
.proof-strip__grid,
.offer-grid,
.benefits-grid,
.works-grid,
.steps-grid,
.cta-banner {
  display: grid;
  gap: 24px;
}

.header__inner {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 82px;
  gap: 22px;
}

.header__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__logo,
.footer__logo {
  height: 64px;
  width: auto;
}

.header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.header__nav a,
.footer__meta a {
  text-decoration: none;
  color: var(--dark);
}

.header__nav a {
  font-weight: 700;
  white-space: nowrap;
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.header__phone {
  text-decoration: none;
  color: var(--dark);
  font-weight: 800;
  white-space: nowrap;
}

.messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.messenger--tg {
  background: #229ed9;
}

.messenger--vb {
  background: #7360f2;
}

.messenger--ig {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 48%, #8134af 100%);
}

.social-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 0;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn--accent {
  background: var(--accent);
  color: #1f1400;
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.22);
}

.btn--dark {
  background: var(--dark);
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.btn--light {
  background: #fff;
  color: var(--dark);
}

.btn--large {
  min-height: 58px;
  padding: 0 26px;
}

.btn--block {
  width: 100%;
}

.btn--icon {
  width: 58px;
  padding: 0;
}

.hero {
  position: relative;
  padding: 86px 0 40px;
  background: url('assets/hero-bg.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 15, 24, 0.82) 0%, rgba(10, 15, 24, 0.74) 40%, rgba(10, 15, 24, 0.56) 100%),
    linear-gradient(180deg, rgba(10, 15, 24, 0.18) 0%, rgba(10, 15, 24, 0.5) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  grid-template-columns: 1.12fr 0.78fr;
  align-items: center;
}

.hero__label,
.form-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__label,
.form-badge,
.eyebrow {
  background: var(--accent-soft);
  color: #9a5a00;
}

.eyebrow--dark {
  background: rgba(154, 90, 0, 0.12);
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.16);
  color: #ffe8bb;
}

.hero h1,
.section-head h2,
.cta-banner h2 {
  margin: 18px 0 0;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  max-width: 860px;
  color: #fff;
}

.hero__text,
.section-head p,
.cta-banner p,
.footer__copy,
.hero-form__top p,
.hero-form__note,
.price-notes p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero__text {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.92);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__trust span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 24, 40, 0.07);
  font-weight: 700;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.fact-card {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.fact-card strong,
.proof-item strong,
.hero-form__top h2,
.offer-card h3,
.benefit-card h3,
.work-card h3,
.step-card h3,
.modal__content h3 {
  display: block;
  margin: 0;
}

.fact-card strong {
  color: #fff;
}

.fact-card span,
.proof-item span,
.offer-card p,
.benefit-card p,
.work-card p,
.step-card p,
.calc-result__meta,
.calc-result__label,
.hero-form__note {
  color: var(--muted);
}

.fact-card span {
  color: rgba(255, 255, 255, 0.82);
}

.hero-form {
  padding: 26px;
}

.hero-form__top h2 {
  margin-top: 16px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.08;
}

.lead-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.proof-strip {
  padding: 0 0 22px;
  margin-top: -18px;
  position: relative;
  z-index: 2;
}

.proof-strip__grid,
.offer-grid,
.benefits-grid,
.works-grid,
.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-item,
.offer-card,
.benefit-card,
.step-card {
  padding: 22px;
}

.proof-item {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 24, 40, 0.06);
  box-shadow: var(--shadow);
}

.section {
  padding: 86px 0;
}

.section--light {
  background: rgba(255, 255, 255, 0.72);
}

.section--accent {
  background: linear-gradient(180deg, #fff7e9 0%, #fff0cf 100%);
}

.section--dark {
  background: linear-gradient(135deg, #121826 0%, #1a2233 100%);
  color: #fff;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head h2,
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.benefit-card__num,
.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.15);
  color: #9a5a00;
  font-weight: 900;
  margin-bottom: 16px;
}

.calc-grid {
  grid-template-columns: 1.05fr 0.85fr;
  align-items: start;
}

.calc-form,
.calc-result {
  padding: 24px;
}

.calc-result {
  position: sticky;
  top: 105px;
}

.calc-result__label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calc-result__total {
  margin-top: 16px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.calc-result__meta {
  margin-top: 8px;
  font-size: 1.05rem;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.14);
}

.work-card {
  overflow: hidden;
}

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

.work-slider {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f2f5fa 0%, #e7edf4 100%);
}

.work-slider__viewport {
  overflow: hidden;
}

.work-slider__track {
  display: flex;
  transition: transform 0.28s ease;
}

.work-slide {
  flex: 0 0 100%;
  width: 100%;
}

.work-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: transparent;
}

.work-slider__control {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(16, 24, 40, 0.6);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.work-slider__control--prev {
  left: 12px;
}

.work-slider__control--next {
  right: 12px;
}

.work-slider__control:disabled {
  opacity: 0.42;
  cursor: default;
}

.work-card__body {
  padding: 22px;
}

.faq-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

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

.faq-item {
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 14px 0 0;
}

.cta-banner {
  grid-template-columns: 1.3fr auto;
  align-items: center;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer {
  padding: 28px 0 110px;
  background: #0f1624;
  color: rgba(255, 255, 255, 0.75);
}

.footer__inner {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer__copy {
  max-width: 640px;
}

.footer__years {
  margin-top: 18px;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer__meta {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.footer__meta a {
  color: #fff;
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 15, 24, 0.88);
  backdrop-filter: blur(16px);
}

.mobile-bar__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 16px;
  background: #fff;
  color: var(--dark);
  text-decoration: none;
  font-weight: 800;
}

.mobile-bar__item--accent {
  background: var(--accent);
}

.modal {
  border: 0;
  border-radius: 24px;
  padding: 0;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 24px 80px rgba(16, 24, 40, 0.3);
}

.modal::backdrop {
  background: rgba(16, 24, 40, 0.45);
}

.modal__content {
  padding: 28px;
}

.modal__content p {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .header__inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "top actions"
      "nav nav";
    padding: 14px 0;
  }

  .header__top {
    grid-area: top;
  }

  .header__actions {
    grid-area: actions;
  }

  .header__nav {
    grid-area: nav;
    justify-content: flex-start;
    padding-top: 4px;
  }
}

@media (max-width: 1080px) {
  .hero__grid,
  .calc-grid,
  .faq-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .proof-strip__grid,
  .offer-grid,
  .benefits-grid,
  .works-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calc-result {
    position: static;
  }

  .hero {
    padding-top: 66px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header__inner {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 12px;
    padding: 12px 0;
  }

  .header__top,
  .header__nav,
  .header__actions {
    grid-area: auto;
  }

  .header__top {
    justify-content: space-between;
  }

  .header__nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0 2px;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__actions {
    display: grid;
    grid-template-columns: repeat(3, 44px);
    width: 100%;
    justify-content: flex-start;
    align-items: center;
  }

  .header__phone {
    grid-column: 1 / -1;
  }

  .hero {
    padding-top: 54px;
  }
}

@media (max-width: 760px) {
  .hero {
    background-position: center;
  }

  .hero__facts,
  .proof-strip__grid,
  .offer-grid,
  .benefits-grid,
  .works-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero__cta-row,
  .cta-banner__actions {
    flex-direction: column;
  }

  .hero__cta-row .btn,
  .cta-banner__actions .btn,
  .messenger {
    width: 100%;
  }

  .header__actions {
    display: grid;
    grid-template-columns: repeat(3, 44px);
    justify-content: flex-start;
  }

  .header__phone {
    grid-column: 1 / -1;
    width: 100%;
  }

  .header__actions .messenger {
    width: 44px;
  }

  .cta-banner__actions .btn--icon {
    width: 58px;
  }

  .section {
    padding: 70px 0;
  }

  .mobile-bar {
    display: grid;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer__meta {
    justify-items: start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand__logo,
  .footer__logo {
    height: 48px;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero__text,
  .section-head p,
  .calc-copy,
  .faq-grid p,
  .cta-banner p,
  .footer__copy,
  .hero-form__top p,
  .hero-form__note {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero__trust span {
    width: 100%;
  }

  .hero-form,
  .calc-form,
  .calc-result,
  .proof-item,
  .offer-card,
  .benefit-card,
  .step-card,
  .work-card__body,
  .faq-item,
  .modal__content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .mobile-bar {
    grid-template-columns: 1fr 1fr;
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.form-status--info {
  color: var(--dark);
}

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

.form-status--error {
  color: #b42318;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}


.brand__logo,
.footer__logo {
  display: block;
  object-fit: contain;
  max-width: 100%;
}

.footer__logo {
  margin-bottom: 12px;
}


.hero__price-pill {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.96), rgba(251, 191, 36, 0.92));
  color: #1f1400;
  box-shadow: 0 18px 34px rgba(245, 158, 11, 0.26);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section--price {
  background: linear-gradient(180deg, #fffaf1 0%, #fff4de 100%);
}

.price-table-wrap {
  overflow: hidden;
}

.price-table-scroll {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  table-layout: fixed;
}

.price-table th,
.price-table td {
  border: 3px solid #ffffff;
  padding: 28px 18px;
  text-align: center;
  vertical-align: middle;
}

.price-table thead th {
  background: #4d4142;
  color: #fff;
  font-weight: 800;
}

.price-table thead tr:first-child th {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.price-table thead tr:last-child th {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
}

.price-table__side {
  width: 20%;
}

.price-table__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: #fff;
  font-size: 2rem;
}

.price-table tbody th,
.price-table tbody td {
  background: #f3f4f4;
  color: #12210e;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}

.price-table tbody th {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

.price-table__accent {
  color: #0e260a;
}

.price-notes {
  padding: 22px 24px 26px;
  background: #fff;
}

.price-notes p {
  margin: 8px 0 0;
  color: var(--text);
  font-style: italic;
}

.price-notes p:nth-child(2),
.price-notes p:nth-child(3) {
  font-style: normal;
}

@media (max-width: 1080px) {
  .cta-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .price-table th,
  .price-table td {
    padding: 22px 14px;
  }
}

@media (max-width: 520px) {
  .hero__price-pill {
    margin-top: 16px;
    font-size: 0.92em;
    line-height: 1.2;
  }

  .price-table {
    min-width: 760px;
  }

  .price-notes {
    padding-left: 18px;
    padding-right: 18px;
  }
}
