:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: #1f2c45;
  background:
    radial-gradient(circle at 7% 2%, rgba(147, 215, 255, 0.58), transparent 36%),
    radial-gradient(circle at 92% 3%, rgba(255, 197, 157, 0.42), transparent 32%),
    linear-gradient(180deg, #eef5ff 0%, #e8f0fc 45%, #f4f8ff 100%);
}

.skip-link {
  position: absolute;
  left: 0.85rem;
  top: -3rem;
  z-index: 999;
  border-radius: 0.65rem;
  padding: 0.66rem 0.96rem;
  background: #1c2f53;
  color: #f6f9ff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 0.85rem;
  outline: 2px solid #67beff;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(93, 118, 168, 0.22);
  background: rgba(246, 251, 255, 0.78);
  backdrop-filter: blur(12px);
}

.site-top .navbar {
  background: transparent;
}

.brand-mark {
  gap: 0.55rem;
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1b3156;
}

.brand-mark i {
  color: #2f8ee8;
}

.site-top .navbar-item,
.site-top .navbar-burger {
  color: #324768;
}

.site-top .navbar-item:hover,
.site-top .navbar-item:focus-visible,
.site-top .navbar-burger:hover,
.site-top .navbar-burger:focus-visible {
  color: #1f78d0;
  background: transparent;
}

.site-top .navbar-burger span {
  background-color: #324768;
}

.hero-surface {
  position: relative;
  overflow: clip;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
}

.hero-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(112deg, rgba(6, 14, 28, 0.92) 8%, rgba(8, 17, 33, 0.72) 53%, rgba(6, 12, 24, 0.9) 100%),
    radial-gradient(circle at 78% 16%, rgba(6, 12, 24, 0.55), rgba(6, 12, 24, 0));
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: heroDrift 18s linear infinite alternate;
}

.hero-glow {
  position: absolute;
  inset: auto -8% -20% -8%;
  z-index: 2;
  height: 18rem;
  background: radial-gradient(circle at 50% 2%, rgba(109, 224, 255, 0.55), rgba(109, 224, 255, 0));
  pointer-events: none;
}

.hero-roadline {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  height: 3.2rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(247, 214, 114, 0.8) 38%, rgba(247, 214, 114, 0.8) 62%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.42;
  filter: blur(2px);
}

.hero-surface .hero-body {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  padding: clamp(5rem, 10vh, 7rem) 0 clamp(1.2rem, 3.5vh, 2.4rem);
}

.hero-panel {
  background: linear-gradient(160deg, rgba(8, 18, 36, 0.88) 0%, rgba(14, 29, 52, 0.8) 100%);
  border: 1px solid rgba(174, 224, 255, 0.48);
  border-radius: 1rem;
  box-shadow: 0 24px 70px rgba(9, 17, 31, 0.45);
  backdrop-filter: blur(4px);
  padding: clamp(1.3rem, 2.8vw, 2.1rem);
}

.city-tag {
  background: rgba(127, 213, 255, 0.22);
  border: 1px solid rgba(164, 227, 255, 0.58);
  color: #edf8ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  margin-top: 0.9rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.3vw, 3.45rem);
  line-height: 1.12;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.55);
}

.hero-subtitle {
  color: rgba(236, 243, 255, 0.96);
  max-width: 47rem;
  line-height: 1.72;
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.38);
}

.hero-subtitle.extra-copy {
  margin-top: 0.85rem;
  color: rgba(222, 236, 255, 0.9);
}

.hero-facts {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.hero-fact {
  border: 1px solid rgba(166, 223, 255, 0.35);
  background: rgba(9, 18, 34, 0.44);
  border-radius: 0.7rem;
  padding: 0.6rem 0.65rem;
}

.hero-fact-label {
  display: block;
  color: rgba(199, 226, 255, 0.84);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-fact-value {
  display: block;
  margin-top: 0.2rem;
  color: #f6fbff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}

.action-primary {
  background: linear-gradient(90deg, #5ec9ff 0%, #9cf0cc 100%);
  border-color: transparent;
  color: #0c2741;
  font-weight: 700;
}

.action-primary:hover,
.action-primary:focus-visible {
  color: #0c2741;
  filter: brightness(1.05);
}

.action-secondary {
  border-color: rgba(175, 227, 255, 0.7);
  color: #ebf7ff;
  background: rgba(18, 35, 60, 0.35);
}

.action-secondary:hover,
.action-secondary:focus-visible {
  border-color: rgba(175, 227, 255, 0.95);
  color: #ffffff;
  background: rgba(18, 35, 60, 0.52);
}

.search-section {
  margin-top: -2.5rem;
  padding-top: 0;
  padding-bottom: 1.8rem;
}

.search-box {
  border: 1px solid rgba(137, 162, 212, 0.28);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.89), rgba(240, 247, 255, 0.92));
  box-shadow: 0 16px 44px rgba(26, 47, 82, 0.15);
}

.search-box .title,
.search-box p {
  color: #233857;
}

.search-input,
.form-input {
  border-color: rgba(129, 150, 193, 0.45);
  background: rgba(255, 255, 255, 0.94);
  color: #1f2d47;
}

.search-input::placeholder,
.form-input::placeholder {
  color: rgba(71, 95, 143, 0.72);
}

.search-input:focus,
.form-input:focus,
.form-input:focus-visible {
  border-color: #4baef8;
  box-shadow: 0 0 0 0.125em rgba(75, 174, 248, 0.21);
}

.search-results {
  margin-top: 0.8rem;
  border: 1px solid rgba(141, 169, 220, 0.28);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.search-results .result-list {
  margin: 0;
  padding: 0;
}

.search-results .result-item {
  border-top: 1px solid rgba(141, 169, 220, 0.2);
}

.search-results .result-item:first-child {
  border-top: 0;
}

.search-results .result-link {
  display: block;
  padding: 0.75rem 0.92rem;
  text-decoration: none;
  color: #324b71;
}

.search-results .result-link:hover,
.search-results .result-link:focus-visible {
  background: rgba(106, 192, 255, 0.14);
  color: #203657;
}

.search-results .result-title {
  display: block;
  font-weight: 700;
  color: #20385b;
}

.search-results .result-snippet {
  display: block;
  margin-top: 0.25rem;
  line-height: 1.5;
  font-size: 0.92rem;
}

.search-results .result-empty {
  margin: 0;
  padding: 0.85rem 0.92rem;
  color: rgba(42, 65, 103, 0.92);
}

.section {
  padding-top: 3.4rem;
  padding-bottom: 3.4rem;
}

.surface-alt {
  background: linear-gradient(180deg, rgba(226, 238, 255, 0.55), rgba(245, 250, 255, 0.82));
  border-top: 1px solid rgba(146, 171, 216, 0.22);
  border-bottom: 1px solid rgba(146, 171, 216, 0.22);
}

.title {
  color: #20395c;
  font-family: "Sora", "Manrope", sans-serif;
}

.content-text {
  color: rgba(37, 58, 91, 0.9);
  line-height: 1.75;
  font-size: 1.04rem;
}

.info-panel,
.step-box,
.skyline-box,
.form-box {
  border: 1px solid rgba(145, 170, 216, 0.26);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(41, 65, 106, 0.11);
}

.list-style {
  list-style: disc;
  padding-left: 1.25rem;
  color: rgba(44, 66, 103, 0.94);
  line-height: 1.72;
}

.step-box {
  border-top: 3px solid rgba(81, 172, 244, 0.55);
}

.step-index {
  margin-bottom: 0.45rem;
  color: #2d8fe7;
  font-size: 0.84rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.step-box p {
  color: rgba(44, 65, 101, 0.92);
  line-height: 1.62;
}

.skyline-box {
  padding: 0.75rem;
  overflow: hidden;
}

.skyline-box img {
  width: 100%;
  height: auto;
}

.city-photo {
  display: block;
  width: 100%;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  border-radius: 0.75rem;
  filter: saturate(1.08) contrast(1.02);
}

.contacts-section {
  background: linear-gradient(180deg, rgba(255, 247, 236, 0.74), rgba(248, 252, 255, 0.86));
  border-top: 1px solid rgba(196, 177, 144, 0.28);
  border-bottom: 1px solid rgba(145, 170, 216, 0.22);
}

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

.contact-card {
  border: 1px solid rgba(156, 182, 226, 0.34);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(247, 252, 255, 0.82));
  box-shadow: 0 10px 26px rgba(41, 65, 106, 0.1);
  margin: 0;
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-label {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f6f9f;
}

.contact-value {
  margin: 0.32rem 0 0;
  color: #1f3558;
  font-weight: 600;
  line-height: 1.55;
}

.contacts-link {
  color: #287fd2;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.app-button {
  font-weight: 700;
}

.form-box .label,
.form-box .checkbox {
  color: #243959;
}

.consent-line a {
  color: #2a85da;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.notification {
  border: 1px solid transparent;
}

.notification.is-success {
  border-color: rgba(95, 174, 116, 0.45);
}

.notification.is-danger {
  border-color: rgba(217, 102, 91, 0.45);
}

.search-hit {
  position: relative;
}

.search-hit::after {
  content: "";
  position: absolute;
  inset: -0.6rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(59, 151, 226, 0.65);
  pointer-events: none;
}

.site-footer {
  background: linear-gradient(180deg, #102037 0%, #0b1729 100%);
  border-top: 1px solid rgba(126, 155, 206, 0.28);
  padding-top: 1.65rem;
  padding-bottom: 1.65rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.4rem;
  color: rgba(220, 235, 255, 0.94);
}

.footer-inner a {
  color: #89d8ff;
}

:focus-visible {
  outline: 2px solid #5ca9ef;
  outline-offset: 2px;
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translateX(-0.8%);
  }

  to {
    transform: scale(1.06) translateX(0.8%);
  }
}

@media (max-width: 1023px) {
  .site-top .navbar-menu {
    background: rgba(249, 252, 255, 0.98);
    border: 1px solid rgba(149, 175, 219, 0.34);
    border-radius: 0.9rem;
    margin-top: 0.3rem;
    padding: 0.3rem;
  }

  .site-top .navbar-item {
    border-radius: 0.55rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .section {
    padding-top: 2.65rem;
    padding-bottom: 2.65rem;
  }

  .hero-surface .hero-body {
    padding-top: 4rem;
    padding-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(1.78rem, 6vw, 2.45rem);
  }

  .search-section {
    margin-top: -1.4rem;
  }

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

@media (max-height: 900px) {
  .hero-surface .hero-body {
    padding-top: 4.4rem;
    padding-bottom: 0.9rem;
  }

  .hero-panel {
    padding: 1rem 1.1rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 3.8vw, 2.7rem);
    margin-bottom: 0.65rem;
  }

  .hero-subtitle {
    line-height: 1.55;
  }

  .hero-subtitle.extra-copy {
    display: none;
  }

  .hero-facts {
    margin-top: 0.75rem;
    gap: 0.5rem;
  }
}

@media (max-height: 760px) {
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-fact {
    padding: 0.48rem 0.55rem;
  }
}
