.topbar {
  box-shadow: 0 8px 30px rgba(5, 47, 105, .06);
}

.topbar nav a {
  position: relative;
  padding: 8px 0;
  transition: color .25s ease;
}

.topbar nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue2), #54a5ff);
  content: "";
  opacity: 0;
  transform: scaleX(.25);
  transition: opacity .25s ease, transform .25s ease;
}

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

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

.hero {
  min-height: 82vh;
  padding-top: 112px;
  padding-bottom: 56px;
  gap: 44px;
  background:
    radial-gradient(circle at 82% 14%, rgba(52, 139, 255, .3), transparent 30%),
    radial-gradient(circle at 12% 88%, rgba(23, 102, 196, .25), transparent 30%),
    linear-gradient(145deg, #020d20 0%, #052a5c 52%, #083e80 100%);
}

.hero-content {
  max-width: 690px;
}

.hero h1 {
  max-width: 680px;
  margin: .22em 0;
  color: #fff;
  font-size: clamp(46px, 5vw, 70px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero .lead {
  max-width: 680px;
  color: rgba(232, 242, 255, .86);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.42;
}

.hero-content .lead + .lead {
  color: rgba(213, 231, 252, .72);
  font-size: clamp(16px, 1.3vw, 19px);
}

.hero .actions {
  margin-top: 26px;
}

.hero .primary {
  background: #fff;
  color: #063a78;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .22);
}

.hero .secondary {
  border: 1px solid rgba(255, 255, 255, .24);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  backdrop-filter: blur(14px);
}

.hero-device {
  max-width: 540px;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 35px 80px rgba(0, 8, 25, .34);
}

.hero::before {
  position: absolute;
  top: 12%;
  right: 4%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, .025), 0 0 0 140px rgba(255, 255, 255, .018);
  content: "";
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(7, 94, 198, .13);
  border-radius: 999px;
  background: rgba(238, 247, 255, .8);
}

.hero-content .eyebrow {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #75b8ff;
}

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

.section-head {
  margin-bottom: 42px;
}

.section h2 {
  font-size: clamp(34px, 4.2vw, 58px);
}

.button,
.card,
.service-item,
.document-card,
.price-list,
.config-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

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

.card:hover,
.service-item:hover {
  border-color: rgba(7, 94, 198, .22);
  box-shadow: 0 26px 65px rgba(8, 45, 96, .13);
  transform: translateY(-5px);
}

.card.featured:hover {
  transform: translateY(-17px);
}

.service-item {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(241, 248, 255, .9));
}

.service-item::before {
  display: block;
  width: 44px;
  height: 4px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue2), #62b0ff);
  content: "";
}

.document-card,
.config-card,
.price-list {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}

.documents {
  background:
    radial-gradient(circle at 10% 30%, rgba(80, 162, 255, .12), transparent 28%),
    linear-gradient(180deg, #fff, #edf6ff);
}

.gallery img {
  border: 1px solid rgba(7, 94, 198, .12);
  transition: transform .35s ease, box-shadow .35s ease;
}

.gallery img:hover {
  box-shadow: 0 32px 80px rgba(8, 45, 96, .2);
  transform: translateY(-5px) scale(1.01);
}

.footer {
  background: radial-gradient(circle at 85% 0, #0b4b91, transparent 30%), linear-gradient(135deg, #04152e, #072d5e);
}

::selection {
  background: #cce6ff;
  color: #031b3c;
}

.consulting {
  background: #f6f9ff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1220px;
  margin: auto;
}

.service-item {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(8, 45, 96, .07);
}

.service-item h3 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -.025em;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.documents {
  background: linear-gradient(180deg, #fff, #f3f8ff);
}

.document-card {
  max-width: 1050px;
  margin: auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(5, 48, 105, .1);
}

.document-list {
  columns: 2;
  column-gap: 50px;
  margin: 0;
  padding-left: 24px;
}

.document-list li {
  break-inside: avoid;
  margin: 0 0 14px;
  padding-left: 4px;
  line-height: 1.5;
}

.document-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 15px;
}

.document-note {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-radius: 20px;
  background: #edf5ff;
  color: #173d6b;
  font-weight: 700;
  line-height: 1.55;
}

.gallery {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.showcase-pricing {
  color: #fff;
  background:
    radial-gradient(circle at 10% 15%, rgba(48, 133, 238, .25), transparent 28%),
    radial-gradient(circle at 90% 85%, rgba(36, 111, 205, .2), transparent 30%),
    linear-gradient(145deg, #020d20, #05285a 55%, #073c78);
}

.showcase-pricing .compact-head {
  max-width: 760px;
}

.showcase-pricing .compact-head h2 {
  color: #fff;
  font-size: clamp(34px, 4vw, 54px);
}

.showcase-pricing .eyebrow {
  border-color: rgba(117, 184, 255, .25);
  background: rgba(255, 255, 255, .06);
  color: #75b8ff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 24px;
  max-width: 1160px;
  margin: auto;
  align-items: stretch;
}

.showcase-card,
.pricing-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px;
  background: rgba(255, 255, 255, .075);
  box-shadow: 0 25px 60px rgba(0, 8, 24, .28);
  backdrop-filter: blur(18px);
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(170px, .75fr) minmax(240px, 1.25fr);
  gap: 24px;
  align-items: center;
}

.showcase-card h3,
.pricing-card h3 {
  margin: 14px 0 12px;
  color: #fff;
  font-size: 28px;
  letter-spacing: -.035em;
}

.showcase-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(226, 239, 255, .76);
  line-height: 1.55;
}

.showcase-card img {
  width: 100%;
  max-height: 330px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 20px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(0, 8, 24, .28);
}

.compact-price-list {
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  backdrop-filter: none;
}

.compact-price-list div {
  padding: 14px 16px;
  border-color: rgba(255, 255, 255, .11);
  font-size: 15px;
}

.compact-price-list span {
  color: #8ec5ff;
  white-space: nowrap;
}

.pricing-card .tax-note {
  margin: 16px 2px 0;
  color: rgba(213, 231, 252, .65);
  font-size: 13px;
  text-align: left;
}

.configurator {
  background:
    radial-gradient(circle at 90% 10%, rgba(43, 132, 235, .16), transparent 30%),
    linear-gradient(180deg, #f7fbff, #edf5ff);
}

.request-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.request-head h2 {
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 650;
  letter-spacing: -.045em;
}

.request-head p:last-child {
  max-width: 650px;
  margin-right: auto;
  margin-left: auto;
}

.config-card {
  max-width: 980px;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
}

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

.config-card label,
.config-card legend {
  color: #183654;
  font-size: 14px;
  font-weight: 700;
}

.config-card input[type="text"],
.config-card input[type="email"],
.config-card input[type="tel"],
.config-card select,
.config-card textarea {
  width: 100%;
  margin-top: 7px;
  margin-right: 0;
  padding: 12px 14px;
  border: 1px solid #cbdcf0;
  border-radius: 14px;
  outline: none;
  background: #f8fbff;
  color: var(--ink);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.config-card input[type="text"]:focus,
.config-card input[type="email"]:focus,
.config-card input[type="tel"]:focus,
.config-card select:focus,
.config-card textarea:focus {
  border-color: #559de9;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(7, 94, 198, .1);
}

.service-choice {
  padding: 16px;
  border-radius: 18px;
}

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

.choice-grid label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 7px 8px;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1.35;
}

.choice-grid label:hover {
  background: #edf5ff;
}

.choice-grid input {
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--blue2);
}

.service-list label {
  padding: 10px;
  border: 1px solid #e0ebf7;
  background: #fbfdff;
}

.service-list label:hover {
  border-color: #bdd7f2;
}

.service-list span,
.service-list strong,
.service-list small {
  display: block;
}

.service-list strong {
  color: #173b62;
  font-size: 13px;
}

.service-list small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.message-field textarea {
  resize: vertical;
}

.form-action {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.form-action p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-action .button {
  white-space: nowrap;
}

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

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 104px 22px 54px;
    gap: 34px;
  }

  .hero h1 {
    margin: 16px 0 20px;
    font-size: clamp(34px, 9.8vw, 39px);
    line-height: .99;
  }

  .hero .lead {
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.42;
  }

  .hero-content .lead + .lead {
    font-size: 15px;
    line-height: 1.45;
  }

  .hero .actions {
    margin-top: 24px;
  }

  .hero .button {
    padding: 13px 19px;
    font-size: 14px;
  }

  .hero-device {
    display: none;
  }

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

  .section-head {
    margin-bottom: 34px;
  }

  .section h2 {
    font-size: 36px;
    line-height: 1.02;
  }

  .card,
  .service-item {
    padding: 26px;
    border-radius: 26px;
  }

  .glass {
    padding: 26px;
    border-radius: 26px;
    font-size: 17px;
    line-height: 1.55;
  }

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

  .showcase-grid,
  .showcase-card {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .pricing-card {
    padding: 22px;
    border-radius: 24px;
  }

  .showcase-card img {
    max-height: 260px;
  }

  .showcase-pricing .compact-head h2 {
    font-size: 34px;
  }

  .compact-price-list div {
    flex-direction: row;
    align-items: center;
    padding: 13px 14px;
    font-size: 14px;
  }

  .request-head h2 {
    font-size: 30px;
  }

  .config-card {
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
  }

  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .form-action {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .document-list {
    columns: 1;
  }

  .document-card {
    padding: 26px;
  }

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

  .hero::before {
    display: none;
  }

  .card.featured:hover {
    transform: translateY(-5px);
  }
}
