:root {
  --bg: #f4f6f8;
  --bg-soft: #ffffff;
  --text: #16202a;
  --muted: #5f6b76;
  --line: rgba(22, 32, 42, 0.1);
  --red: #ff5a4f;
  --blue: #2f80ed;
  --green: #25c281;
  --yellow: #ffb020;
  --cyan: #22b8cf;
  --shadow: 0 18px 46px rgba(22, 32, 42, 0.08);
  --shadow-strong: 0 20px 42px rgba(47, 128, 237, 0.18);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(47, 128, 237, 0.08), transparent 24%),
    radial-gradient(circle at right top, rgba(37, 194, 129, 0.08), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #f2f5f8 100%);
  line-height: 1.55;
}

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

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

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

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(244, 246, 248, 0.84);
  border-bottom: 1px solid rgba(22, 32, 42, 0.06);
}

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

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding-left: 18px;
}

.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--green), var(--red));
  box-shadow: 0 10px 24px rgba(47, 128, 237, 0.18);
}

.brand__name {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.brand__role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--blue);
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: 0.2s ease;
}

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

.nav .nav-cta {
  color: var(--muted);
  font-weight: inherit;
  background: transparent;
  box-shadow: none;
  padding: 0;
  min-height: auto;
  border-radius: 0;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

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

.btn--primary {
  color: white;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  box-shadow: var(--shadow-strong);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 32, 42, 0.08);
}

.btn--small {
  min-height: 52px;
  padding: 0 18px;
  font-size: 0.95rem;
  min-width: 130px;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* hero */

.hero {
  padding: 82px 0 54px;
}

.hero__content {
  padding: 58px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240,248,255,0.96));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 70px rgba(22, 32, 42, 0.09);
  border-radius: var(--radius-xl);
  animation: fadeUp 0.7s ease both;
}

.hero__content::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 42px;
  transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(47,128,237,0.16), rgba(34,184,207,0.06));
  pointer-events: none;
}

.hero__content::after {
  content: "";
  position: absolute;
  left: -50px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border-radius: 36px;
  transform: rotate(-18deg);
  background: linear-gradient(135deg, rgba(37,194,129,0.12), rgba(255,176,32,0.1));
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.1);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 760px;
}

.hero__lead {
  margin: 0;
  font-size: 1.1rem;
  color: #48535e;
  max-width: 780px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 30px 0 26px;
}

.hero__actions .btn {
  min-width: 240px;
}

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

.stat {
  padding: 18px 18px 16px;
  border-radius: 22px;
  color: white;
  box-shadow: 0 12px 28px rgba(22, 32, 42, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: fadeUp 0.8s ease both;
}

.stat:hover,
.card:hover,
.service-card:hover,
.audience-card:hover,
.benefit-card:hover,
.step-card:hover,
.result-card:hover,
.contact-panel:hover,
.form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 38px rgba(22, 32, 42, 0.12);
}

.hero__stats .stat:nth-child(1) {
  background: linear-gradient(135deg, var(--blue), #5aa7ff);
}

.hero__stats .stat:nth-child(2) {
  background: linear-gradient(135deg, var(--green), #45d99a);
}

.hero__stats .stat:nth-child(3) {
  background: linear-gradient(135deg, var(--red), #ff8d63);
}

.stat__value {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.stat__label {
  display: block;
  color: rgba(255,255,255,0.92);
  font-size: 0.93rem;
  line-height: 1.35;
}

/* sections */

section {
  padding: 38px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: 640px;
}

.about__grid,
.services__grid,
.audience__grid,
.steps__grid,
.benefits__grid,
.results__grid,
.contact__grid {
  display: grid;
  gap: 18px;
}

.about__grid,
.contact__grid {
  grid-template-columns: 1fr 1fr;
}

.card,
.service-card,
.audience-card,
.benefit-card,
.step-card,
.result-card,
.contact-panel,
.form-card,
.quote {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 32, 42, 0.08);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card {
  border-radius: 26px;
  padding: 28px;
  animation: fadeUp 0.7s ease both;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.card p,
.card li {
  color: #55606e;
  font-size: 0.98rem;
}

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

.clean-list li {
  position: relative;
  padding-left: 20px;
}

.clean-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  position: absolute;
  left: 0;
  top: 0.58em;
}

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

.service-card {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,249,255,0.88));
  animation: fadeUp 0.75s ease both;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.service-card__badge {
  min-width: 52px;
  height: 52px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  box-shadow: 0 10px 24px rgba(22, 32, 42, 0.18);
}

.services__grid .service-card:nth-child(1) .service-card__badge { background: linear-gradient(135deg, var(--blue), #5aa7ff); }
.services__grid .service-card:nth-child(2) .service-card__badge { background: linear-gradient(135deg, var(--green), #45d99a); }
.services__grid .service-card:nth-child(3) .service-card__badge { background: linear-gradient(135deg, var(--red), #ff8d63); }
.services__grid .service-card:nth-child(4) .service-card__badge { background: linear-gradient(135deg, var(--yellow), #ffc95a); }

.service-card h3 {
  margin: 0;
  font-size: 1.24rem;
}

.service-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.08);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.audience__grid,
.benefits__grid,
.steps__grid,
.results__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-card,
.benefit-card,
.step-card,
.result-card,
.contact-panel {
  border-radius: 24px;
  padding: 24px;
  animation: fadeUp 0.8s ease both;
}

.audience-card strong,
.benefit-card strong,
.step-card strong,
.result-card strong,
.contact-panel h3,
.form-card h3 {
  display: block;
  font-size: 1.08rem;
  margin: 0 0 10px;
}

.audience-card p,
.benefit-card p,
.step-card p,
.result-card p,
.contact-panel p,
.contact-panel li,
.form-note {
  margin: 0;
  color: var(--muted);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 24px rgba(47, 128, 237, 0.18);
}

.quote {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(47,128,237,0.14), rgba(37,194,129,0.12), rgba(255,255,255,0.86));
  text-align: center;
}

.quote p {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* contact */

.contact {
  padding-bottom: 74px;
}

.contact-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(240,248,255,0.9));
}

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

.contact-list li {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(47,128,237,0.08);
  border: 1px solid rgba(47,128,237,0.1);
}

.contact-list small {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 6px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.contact-note {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 176, 32, 0.08);
  border: 1px solid rgba(255, 176, 32, 0.16);
}

.contact-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: #b76e00;
}

.contact-note p {
  margin: 0;
  color: var(--muted);
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.contact-badge {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: white;
}

.contact-badges .contact-badge:nth-child(1) { background: linear-gradient(135deg, var(--blue), #5aa7ff); }
.contact-badges .contact-badge:nth-child(2) { background: linear-gradient(135deg, var(--green), #45d99a); }
.contact-badges .contact-badge:nth-child(3) { background: linear-gradient(135deg, var(--red), #ff8d63); }

/* form */

.hidden-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-card {
  border-radius: 30px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,253,0.92));
  animation: fadeUp 0.85s ease both;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(22, 32, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(47, 128, 237, 0.45);
  box-shadow: 0 0 0 4px rgba(47, 128, 237, 0.1);
  background: white;
}

textarea {
  min-height: 110px;
  max-height: 110px;
  resize: none;

  overflow-y: auto;
  overflow-x: hidden;

  border-radius: 16px;
  background-clip: padding-box;

  padding-right: 18px;
}

textarea::-webkit-scrollbar {
  width: 8px;
}

textarea::-webkit-scrollbar-track {
  background: transparent;
}

textarea::-webkit-scrollbar-thumb {
  background: rgba(95, 107, 118, 0.25);
  border-radius: 999px;
}

/* captcha */

.captcha-inline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
}

.captcha-box {
  height: 52px;
  min-width: 150px;
  max-width: 150px;
  flex: 0 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 16px;
  border: 1px solid rgba(22, 32, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
  overflow: hidden;
}

.captcha-box svg {
  display: block;
  width: 100%;
  height: auto;
}

#captcha {
  height: 52px;
  min-width: 120px;
  max-width: 120px;
  flex: 0 0 120px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  padding-left: 10px;
  padding-right: 10px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 18px;
}

/* footer */

.site-footer {
  border-top: 1px solid rgba(22, 32, 42, 0.08);
  padding: 28px 0 36px;
  color: var(--muted);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  backdrop-filter: blur(4px);
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__dialog {
  width: min(100%, 460px);
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,247,251,0.96));
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.28s ease;
  text-align: center;
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 14px 30px rgba(47, 128, 237, 0.24);
}

.modal__title {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 900;
}

.modal__text {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.modal--error .modal__icon {
  background: linear-gradient(135deg, var(--red), #ff8d63);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .about__grid,
  .services__grid,
  .hero__stats,
  .audience__grid,
  .benefits__grid,
  .steps__grid,
  .results__grid,
  .contact__grid,
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__content,
  .card,
  .service-card,
  .contact-panel,
  .form-card {
    padding: 28px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .site-header__inner {
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    gap: 14px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero__content,
  .form-card,
  .contact-panel {
    padding: 24px;
  }

  .hero__stats,
  .about__grid,
  .services__grid,
  .audience__grid,
  .benefits__grid,
  .steps__grid,
  .results__grid,
  .contact__grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .captcha-inline {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .captcha-box,
  #captcha,
  .btn--small {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero__actions,
  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .btn {
    width: 100%;
  }
}