:root {
  --bg: #f6fbff;
  --text: #102033;
  --muted: #4d6278;
  --surface: #ffffff;
  --brand: #0b84d8;
  --brand-2: #00b7b3;
  --line: #d8e4f0;
  --shadow: 0 20px 50px rgba(16, 32, 51, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #e8f7ff 0%, var(--bg) 36%, #f7fbfd 100%);
  line-height: 1.55;
  padding-top: 72px;
}

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(246, 251, 255, 0.86);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, min-height 0.25s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 8px 0;
  transition: min-height 0.25s ease;
}

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

.logo img {
  display: block;
  width: auto;
  height: 42px;
  transition: height 0.25s ease;
}

.logo--footer img {
  height: 46px;
}

.site-header.is-compact {
  background: rgba(246, 251, 255, 0.95);
}

.site-header.is-compact .site-header__inner {
  min-height: 58px;
  padding: 6px 0;
}

.site-header.is-compact .logo img {
  height: 34px;
}

.main-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.93rem;
  align-items: center;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  min-height: 36px;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
}

.nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(130deg, var(--brand), var(--brand-2));
  border: 1px solid transparent;
}

.section {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 82px 0;
}

.section--tint {
  background-color: #eff7fc;
}

.section > .container {
  position: relative;
  z-index: 2;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 25, 42, 0.72), rgba(7, 25, 42, 0.35));
  z-index: 1;
}

.overlay--light {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(246, 251, 255, 0.86));
}

.section-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  min-height: 80vh;
  display: grid;
  align-items: center;
}

.hero__content {
  color: #ffffff;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  padding: 0.42rem 0.8rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

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

#about h2 {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.lead {
  font-size: 1.2rem;
  max-width: 760px;
}

.tagline {
  font-size: 0.95rem;
  opacity: 0.9;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0;
}

.pixora-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

.pixora-btn--accent {
  background: linear-gradient(130deg, var(--brand), var(--brand-2));
  color: #fff;
}

.pixora-btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.section-sub {
  color: var(--muted);
  margin: 0.7rem 0 1.5rem;
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
}

#about .section-sub {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}

#about strong {
  color: var(--brand);
  font-weight: 800;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.two-col--center {
  align-items: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(16, 32, 51, 0.16);
}

.benefits-grid {
  align-items: start;
  margin-top: 1.35rem;
}

#benefits .benefits-grid + .section-media-grid {
  margin-top: 2.2rem;
}

.benefit-card {
  position: relative;
  overflow: hidden;
  padding-top: 2.45rem;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
  padding-bottom: 1.1rem;
  border: 1px solid rgba(11, 132, 216, 0.22);
}

.benefit-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 4px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
}

.benefit-card__icon {
  position: absolute;
  top: 0.65rem;
  left: 0.9rem;
  width: 42px;
  height: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 4px;
}

.benefit-card__icon i {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 6px 14px rgba(11, 132, 216, 0.22);
}

.benefit-card__icon--0 i:nth-child(1) {
  height: 9px;
}

.benefit-card__icon--0 i:nth-child(2) {
  height: 18px;
}

.benefit-card__icon--0 i:nth-child(3) {
  height: 13px;
}

.benefit-card__icon--1 i:nth-child(1) {
  height: 14px;
}

.benefit-card__icon--1 i:nth-child(2) {
  height: 10px;
}

.benefit-card__icon--1 i:nth-child(3) {
  height: 19px;
}

.benefit-card__icon--2 i:nth-child(1) {
  height: 12px;
}

.benefit-card__icon--2 i:nth-child(2) {
  height: 15px;
}

.benefit-card__icon--2 i:nth-child(3) {
  height: 12px;
}

.benefits-grid .benefit-card:nth-child(2n) {
  transform: translateY(18px);
}

.benefits-grid .benefit-card:nth-child(2n):hover {
  transform: translateY(16px);
}

.card--bg {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card--bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 32, 0.2), rgba(8, 20, 32, 0.86));
}

.card--bg h3,
.card--bg p {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.timeline li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  gap: 0.35rem;
}

.process {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0.8rem;
}

.process::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(11, 132, 216, 0.15), rgba(0, 183, 179, 0.35), rgba(11, 132, 216, 0.15));
  transform: translateY(-50%);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
  justify-items: center;
  text-align: center;
  box-shadow: var(--shadow);
  flex: 1 1 0;
  min-width: 0;
}

.process-step__num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-2));
}

.process-step__body h3 {
  margin: 0 0 0.35rem;
}

.process-step__body p {
  margin: 0;
  color: var(--muted);
}

.info-center {
  text-align: center;
}

.info-center > p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.process-arrow {
  position: relative;
  z-index: 1;
  align-self: center;
  justify-self: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}

.section-media-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.section-media-grid figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.section-media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-media-grid--1 {
  grid-template-columns: minmax(0, 1fr);
}

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

.cta {
  color: #fff;
}

.pixora-form {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  padding: 1rem;
}

.pixora-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.pixora-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.pixora-form input,
.pixora-form select,
.pixora-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.68rem 0.74rem;
}

.pixora-span-2 {
  grid-column: span 2;
}

.pixora-form label.pixora-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.pixora-form .pixora-consent input[type="checkbox"] {
  width: auto;
  min-width: 16px;
  max-width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: #13a7e0;
}

.pixora-form-message {
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.8rem;
}

.pixora-form-message--ok {
  background: #d4f7e9;
  color: #095c38;
}

.pixora-form-message--error {
  background: #ffdede;
  color: #7f1826;
}

.site-footer {
  background: #06172b;
  color: #c6d7e8;
  padding: 48px 0;
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__links {
  display: grid;
  gap: 0.5rem;
}

.site-footer__bottom {
  margin-top: 1rem;
  border-top: 1px solid rgba(198, 215, 232, 0.25);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.quick-contacts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  gap: 0.55rem;
}

.quick-contacts__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(6, 23, 43, 0.25);
}

.quick-contacts__btn--tg {
  background: #2aabee;
}

.quick-contacts__btn--wa {
  background: #25d366;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1rem;
  font-weight: 700;
  position: relative;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand);
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__body {
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.mobile-sticky-cta {
  display: none;
}

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

.prose {
  padding: 64px 0;
}

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

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

@media (max-width: 980px) {
  .two-col,
  .card-grid,
  .card-grid--3,
  .card-grid--4,
  .section-media-grid,
  .pixora-form-grid {
    grid-template-columns: 1fr;
  }

  .pixora-span-2 {
    grid-column: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: rgba(246, 251, 255, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.25rem 1rem;
    gap: 0.75rem;
  }

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

  .nav-login {
    width: fit-content;
  }

  .mobile-sticky-cta {
    display: inline-flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 45;
    justify-content: center;
    align-items: center;
    padding: 0.78rem 1rem;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(130deg, var(--brand), var(--brand-2));
    box-shadow: 0 14px 32px rgba(11, 132, 216, 0.3);
  }

  .quick-contacts {
    right: 12px;
    bottom: 68px;
  }

  .quick-contacts__btn {
    min-width: 96px;
    padding: 0.52rem 0.62rem;
    font-size: 0.86rem;
  }

  .benefits-grid .benefit-card:nth-child(2n) {
    transform: none;
  }

  .benefits-grid .benefit-card:nth-child(2n):hover {
    transform: translateY(-2px);
  }

  .process {
    flex-direction: column;
    gap: 0.7rem;
  }

  .process::before {
    display: none;
  }

  .process-arrow {
    transform: rotate(90deg);
  }
}
