:root {
  --bg: #fbfcff;
  --bg-soft: #f3f7ff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --text: #17324d;
  --text-soft: #5d748e;
  --border: rgba(115, 151, 196, 0.18);
  --primary: #4468ff;
  --primary-soft: #eef2ff;
  --accent: #ff8f6b;
  --accent-soft: #fff1ec;
  --mint: #7de0cf;
  --shadow: 0 18px 60px rgba(72, 108, 153, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(68, 104, 255, 0.10), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(255, 143, 107, 0.12), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 50%, #f7faff 100%);
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.section {
  position: relative;
  padding: 110px 0;
}

.section--compact {
  padding: 0 0 24px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(89, 127, 173, 0.08);
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

h1,
h2,
h3,
strong.logo-title {
  margin: 0;
  font-family: 'Unbounded', sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.4rem, 4.4vw, 4.3rem);
  line-height: 1.08;
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.16;
  max-width: 16ch;
}

h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.3;
}

p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-glow {
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

.glow-1 {
  top: -110px;
  left: -90px;
  background: rgba(68, 104, 255, 0.22);
}

.glow-2 {
  top: 30%;
  right: -120px;
  background: rgba(125, 224, 207, 0.30);
}

.glow-3 {
  bottom: -150px;
  left: 35%;
  background: rgba(255, 143, 107, 0.18);
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 0;
  backdrop-filter: blur(16px);
  background: rgba(251, 252, 255, 0.70);
  border-bottom: 1px solid rgba(115, 151, 196, 0.10);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__mark {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 24px rgba(68, 104, 255, 0.28);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__text strong {
  font-size: 1rem;
}

.logo__text small {
  font-size: 0.76rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.nav a {
  position: relative;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-soft);
  transition: color 0.25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.header__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(89, 127, 173, 0.10);
  font-weight: 800;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  padding-top: 56px;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
}

.hero__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 40px;
  align-items: center;
}

.hero__text {
  max-width: 61ch;
  margin-top: 22px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 22px;
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #6681ff 70%, var(--accent));
  box-shadow: 0 16px 34px rgba(68, 104, 255, 0.28);
}

.btn--secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  box-shadow: 0 12px 28px rgba(89, 127, 173, 0.12);
}

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

.hero__bullets {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero__bullets li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
}

.hero__bullets li::before {
  content: '✦';
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-soft);
}

.hero__visual {
  position: relative;
  min-height: 560px;
}

.hero-card,
.floating-card,
.about-badge,
.feature-card,
.case-card,
.process-card,
.price-card,
.form-card,
.faq-item,
.trust-strip__inner {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card--main {
  position: absolute;
  right: 22px;
  top: 10px;
  width: min(100%, 500px);
  border-radius: 32px;
  overflow: hidden;
}

.hero-card--main img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.hero-card__info {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(58, 97, 144, 0.14);
}

.hero-card__info strong,
.floating-card strong,
.trust-item strong,
.about-badge strong,
.price,
.contact-info strong {
  display: block;
  font-family: 'Unbounded', sans-serif;
  color: var(--text);
}

.hero-card__info strong {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.hero-card__info span,
.floating-card span,
.about-badge span,
.trust-item span,
.contact-info span,
.contact-info a {
  color: var(--text-soft);
  line-height: 1.55;
}

.floating-card {
  position: absolute;
  padding: 20px;
  border-radius: 24px;
  width: 230px;
}

.floating-card--top {
  top: 46px;
  left: 0;
}

.floating-card--bottom {
  left: 56px;
  bottom: 28px;
}

.floating-card strong {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 26px;
  border-radius: 28px;
}

.trust-item strong {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 30px;
  align-items: stretch;
}

.about__panel {
  display: grid;
  gap: 18px;
}

.feature-card {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: 26px;
}

.feature-card__icon,
.process-card__number,
.price-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
}

.feature-card__icon {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(68, 104, 255, 0.14), rgba(125, 224, 207, 0.22));
}

.feature-card p,
.process-card p,
.case-card p,
.price-card p,
.faq-answer p,
.footer__links span,
.footer__links a,
small {
  font-size: 0.98rem;
}

.about__image {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 100%;
}

.about__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 32px;
}

.about-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px;
  border-radius: 24px;
}

.about-badge strong {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.cards-grid--cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.case-card {
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover,
.price-card:hover,
.process-card:hover,
.feature-card:hover,
.form-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(72, 108, 153, 0.18);
}

.case-card__image {
  overflow: hidden;
}

.case-card__image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.case-card:hover .case-card__image img {
  transform: scale(1.06);
}

.case-card__body {
  padding: 22px;
}

.case-card__body h3 {
  margin-bottom: 12px;
}

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

.process-card {
  padding: 28px;
  border-radius: 28px;
}

.process-card__number {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 26px rgba(68, 104, 255, 0.24);
}

.process-card h3,
.price-card h3 {
  margin-bottom: 12px;
}

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

.price-card {
  position: relative;
  padding: 28px;
  border-radius: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card--featured {
  background: linear-gradient(180deg, rgba(68, 104, 255, 0.12), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(68, 104, 255, 0.18);
}

.price-card__tag {
  min-height: 34px;
  padding: 8px 12px;
  margin-bottom: 18px;
  width: fit-content;
  color: var(--primary);
  background: rgba(68, 104, 255, 0.10);
}

.price {
  font-size: 1.85rem;
  margin: 22px 0 18px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
}

.price-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

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

.faq-item {
  border-radius: 24px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 800;
  text-align: left;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 26px;
}

.faq-item.active .faq-answer {
  max-height: 180px;
  padding: 0 26px 24px;
}

.faq-item.active .faq-icon::after {
  opacity: 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 30px;
  align-items: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.contact-info > div {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(89, 127, 173, 0.10);
}

.contact-info strong {
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-card {
  padding: 30px;
  border-radius: 30px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(115, 151, 196, 0.20);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(68, 104, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(68, 104, 255, 0.10);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-message {
  min-height: 22px;
  font-size: 0.95rem;
  font-weight: 700;
}

.form-message.success {
  color: #178b63;
}

.form-message.error {
  color: #d84848;
}

.footer {
  padding: 30px 0 40px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(89, 127, 173, 0.10);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.footer__links a {
  color: var(--primary);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1150px) {
  .nav {
    gap: 18px;
  }

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

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

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

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .header__inner {
    flex-wrap: wrap;
  }

  .burger {
    display: inline-flex;
    margin-left: auto;
  }

  .nav {
    order: 10;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    margin-top: 8px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(89, 127, 173, 0.12);
  }

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

  .header__phone {
    display: none;
  }

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

  .hero {
    min-height: auto;
    padding-top: 32px;
  }

  .hero__visual {
    min-height: 500px;
  }

  .hero-card--main {
    position: relative;
    right: auto;
    top: auto;
    margin-left: auto;
  }

  .floating-card--top {
    top: 24px;
  }

  .floating-card--bottom {
    left: 24px;
    bottom: 16px;
  }

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

@media (max-width: 760px) {
  .section {
    padding: 82px 0;
  }

  h1 {
    font-size: clamp(2rem, 8.6vw, 2.9rem);
    max-width: 100%;
  }

  h2 {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
    max-width: 100%;
  }

  .hero__visual {
    min-height: 430px;
  }

  .hero-card--main img {
    height: 430px;
  }

  .floating-card {
    width: 200px;
    padding: 16px;
  }

  .cards-grid--cases,
  .process-grid,
  .trust-strip__inner {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .process-card,
  .price-card,
  .form-card,
  .case-card__body,
  .faq-question,
  .faq-item.active .faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__links {
    justify-content: flex-start;
  }
}

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

  .header {
    padding: 12px 0;
  }

  .logo__text {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero__visual {
    min-height: 380px;
  }

  .hero-card--main img {
    height: 380px;
  }

  .hero-card__info,
  .about-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .floating-card {
    position: absolute;
    width: 170px;
    border-radius: 20px;
  }

  .floating-card--top {
    left: 10px;
    top: 10px;
  }

  .floating-card--bottom {
    left: 10px;
    bottom: 10px;
  }
}
