:root {
  --bg: #f6f8ff;
  --white: #ffffff;
  --ink: #10143e;
  --muted: #5b6685;
  --line: #dfe6f7;
  --soft: #eef2ff;
  --gold: #251392;
  --gold-soft: #eef2ff;
  --gold-border: #c9d4f6;
  --dark: #0d0b3d;
  --dark-soft: #120b5f;
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --shadow-lg: 0 24px 70px rgba(18, 11, 95, 0.13);
  --shadow-md: 0 18px 44px rgba(18, 11, 95, 0.11);
  --shadow-sm: 0 10px 26px rgba(18, 11, 95, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223, 230, 247, 0.92);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-link,
.footer-logo-link {
  line-height: 0;
}

.brand-logo {
  width: clamp(178px, 16vw, 218px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(24, 0, 128, 0.18);
}

.footer-logo {
  width: clamp(210px, 19vw, 252px);
  height: auto;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--dark-soft);
  color: #b8cfee;
  font-size: 1.55rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-text strong {
  font-size: 1.22rem;
  letter-spacing: 0.01em;
}

.brand-text small {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.68rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #52617f;
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a,
.footer-copy span,
.footer-copy small {
  transition: color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  text-align: right;
}

.header-phone a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.header-phone .icon {
  color: var(--gold);
}

.header-phone small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

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

.button-small {
  min-height: 48px;
  padding-inline: 18px;
  font-size: 0.88rem;
}

.button-primary {
  background: var(--dark-soft);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.button-primary:hover {
  background: #231390;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: #b8cfee;
  background: #f3f6ff;
}

.button-gold {
  background: #b8cfee;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(78, 108, 191, 0.20);
}

.button-gold:hover {
  background: #cbdcf4;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-right {
  width: 650px;
  height: 650px;
  top: -40px;
  right: -80px;
  background: rgba(184, 207, 238, 0.52);
}

.hero-glow-left {
  width: 430px;
  height: 430px;
  left: -80px;
  top: 180px;
  background: rgba(225, 233, 250, 0.95);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding-top: 70px;
  padding-bottom: 96px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #251392;
  border: 1px solid #d9e6fb;
  background: #f3f6ff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 24px 0 0;
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(3rem, 5vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  color: var(--gold);
}

.hero-description {
  max-width: 650px;
  margin: 24px 0 0;
  color: #52617f;
  font-size: 1.14rem;
  line-height: 1.8;
}

.hero-offer {
  max-width: 710px;
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid #d9e6fb;
  border-radius: 28px;
  background: #f3f6ff;
}

.hero-offer strong {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-offer span {
  color: #52617f;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.panel-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 28px;
  background: linear-gradient(135deg, #f5f7ff, #ffffff);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.16);
}

.panel-core {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 32px;
  color: var(--white);
  background: linear-gradient(135deg, #100850, #180080);
}

.panel-glow {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(184, 207, 238, 0.20);
  filter: blur(20px);
}

.panel-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.panel-heading span {
  color: #d9e6fb;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 900;
}

.panel-heading h2 {
  max-width: 430px;
  margin: 16px 0 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.panel-heading strong {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #b8cfee;
  border-radius: 24px;
  color: #d9e6fb;
  font-size: 2.2rem;
}

.benefits-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.mini-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.10);
}

.mini-card .accent {
  color: #d9e6fb;
}

.mini-card h3 {
  margin: 16px 0 0;
  font-size: 1rem;
}

.mini-card p {
  margin: 10px 0 0;
  color: #dbe5fb;
  font-size: 0.88rem;
  line-height: 1.65;
}



.about-wrap {
  position: relative;
  z-index: 2;
  margin-top: -40px;
  padding-bottom: 28px;
}

.about-card {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 34px;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lg);
}

.about-card h2 {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.section {
  padding-top: 84px;
  padding-bottom: 84px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.section-head h2,
.work-heading h2,
.consultation-card h2,
.faq-heading h2,
.contacts-intro h2,
.documents-head h2 {
  margin: 16px 0 0;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 820px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-image {
  position: relative;
  height: 225px;
  overflow: hidden;
  background: #e8eefc;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-image span {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.service-body {
  padding: 24px;
}

.service-body h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.service-body p {
  min-height: 52px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-body a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-weight: 900;
  transition: color 0.25s ease;
}

.service-body a:hover {
  color: var(--gold);
}

.work-section {
  padding: 84px 0;
  color: var(--white);
  background: linear-gradient(135deg, #100850, #180080);
}

.section-kicker-dark {
  border-color: rgba(201, 212, 246, 0.34);
  color: #d9e6fb;
  background: rgba(184, 207, 238, 0.14);
}

.work-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

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

.step-card {
  min-height: 290px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.10);
}

.step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--ink);
  background: #b8cfee;
  font-size: 1rem;
  font-weight: 900;
}

.step-icon {
  width: 28px;
  height: 28px;
  margin-top: 30px;
  color: #d9e6fb;
}

.step-card h3 {
  margin: 18px 0 0;
  font-size: 1.3rem;
}

.step-card p {
  margin: 12px 0 0;
  color: #dbe5fb;
  font-size: 0.95rem;
  line-height: 1.75;
}

.consultation-card {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 36px;
  border-radius: 40px;
  padding: 44px;
  color: var(--white);
  background: linear-gradient(110deg, #100850, #180080);
  box-shadow: var(--shadow-lg);
}

.consultation-card h2 {
  margin-top: 0;
}

.consultation-card p {
  margin: 16px 0 0;
  color: #dbe5fb;
  line-height: 1.8;
}

.consultation-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.callout {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: #eaf0ff;
  background: rgba(255, 255, 255, 0.10);
  font-weight: 700;
}

.faq-section {
  padding: 84px 0;
  background: var(--white);
}

.faq-container {
  max-width: 900px;
}

.faq-heading {
  text-align: center;
  margin-bottom: 40px;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px 26px;
  background: #f6f8ff;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 28px;
  font-size: 1.08rem;
  font-weight: 900;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: -2px;
  right: 0;
  font-size: 1.6rem;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 18px 0 0;
  color: #52617f;
  line-height: 1.85;
}

.contacts-card,
.documents-card {
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 40px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.contacts-card {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: center;
}

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

.contact-tile,
.document-card {
  border-radius: 28px;
  padding: 24px;
  background: #f6f8ff;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.contact-tile:hover,
.document-card:hover {
  transform: translateY(-4px);
  background: #f3f6ff;
}

.contact-tile .icon {
  color: var(--gold);
}

.contact-tile strong,
.document-card strong {
  display: block;
  margin-top: 18px;
  font-size: 1rem;
}

.contact-tile span,
.document-card p {
  display: block;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.documents-section {
  padding: 0 0 84px;
}

.documents-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.documents-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.document-card {
  border: 1px solid var(--line);
}

.document-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.doc-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.document-top em {
  font-style: normal;
  padding: 6px 12px;
  border-radius: 999px;
  color: #52617f;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 0.76rem;
  font-weight: 900;
}

.download-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 900;
  transition: color 0.25s ease;
}

.document-card:hover .download-line {
  color: var(--gold);
}

.site-footer {
  padding: 48px 0;
  color: var(--white);
  background: linear-gradient(135deg, #100850, #180080);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-brand .brand-text small {
  color: #b8cfee;
}

.footer-mark {
  background: var(--white);
  color: var(--ink);
}

.footer-copy {
  display: grid;
  gap: 4px;
  color: #dbe5fb;
}

.footer-copy strong {
  color: var(--white);
  font-size: 1rem;
}

.footer-copy small {
  color: #b8c7e4;
  line-height: 1.6;
}

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

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

.reveal-delay {
  transition-delay: 0.12s;
}

@media (max-width: 1180px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav.is-open {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
  }

  .main-nav.is-open a {
    padding: 14px 16px;
    border-radius: 16px;
  }

  .main-nav.is-open a:hover {
    background: #f6f8ff;
  }


  .about-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-grid,
  .consultation-card,
  .contacts-card {
    grid-template-columns: 1fr;
  }

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

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

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

  .consultation-actions {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 1280px);
  }


  .about-wrap {
    margin-top: -20px;
    padding-bottom: 12px;
  }

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

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 72px;
  }

  .brand-logo {
    width: 168px;
  }

  .footer-logo {
    width: 214px;
  }


  .eyebrow {
    align-items: flex-start;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 10vw, 4rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-offer {
    padding: 20px;
  }

  .hero-buttons,
  .section-head,
  .documents-head {
    align-items: stretch;
    flex-direction: column;
  }

  .panel-shell {
    padding: 16px;
    border-radius: 30px;
  }

  .panel-core {
    padding: 24px;
    border-radius: 26px;
  }

  .panel-heading {
    flex-direction: column;
  }

  .panel-heading strong {
    width: 64px;
    height: 64px;
    font-size: 1.7rem;
  }

  .benefits-grid,
  .accepted-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }


  .section,
  .work-section,
  .faq-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .consultation-card,
  .contacts-card,
  .documents-card {
    padding: 26px;
    border-radius: 30px;
  }

  .faq-item {
    padding: 22px;
  }

  .documents-section {
    padding-bottom: 68px;
  }

  .button {
    width: 100%;
  }

  .site-footer .button {
    width: auto;
  }
}

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

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.download-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid #d7e0f3;
  border-radius: 14px;
  background: #ffffff;
  color: #10143e;
  font-size: 0.88rem;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.download-button:hover {
  transform: translateY(-2px);
  border-color: #aebfe9;
  background: #eef2ff;
  color: #251392;
}

.download-button .icon {
  width: 1.05rem;
  height: 1.05rem;
}

@media (max-width: 1180px) {
  .documents-grid-four {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .download-button {
    width: 100%;
  }
}
