@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('./assets/fonts/Manrope-Variable-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url('./assets/fonts/Manrope-Variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0E2F28;
  --accent: #F1CB6B;
  --accent-dark: #e0b600;
  --text: #0C2B22;
  --text-dark: #0C2B22;
}

.icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.icon use {
  pointer-events: none;
}

html {
  min-height: 100%;
  background-color: #0F342B;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0F342B;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100svh;
  --space-block: clamp(24px, 8vh, 80px);
  --space-inline: clamp(16px, 5vw, 32px);
  padding-top: calc(var(--space-block) + env(safe-area-inset-top, 0px));
  padding-bottom: calc(var(--space-block) + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--space-inline), env(safe-area-inset-left, 0px));
  padding-right: max(var(--space-inline), env(safe-area-inset-right, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

@supports (-webkit-touch-callout: none) {
  body {
    min-height: -webkit-fill-available;
  }
}

@supports (min-height: 100dvh) {
  body {
    min-height: 100dvh;
  }
}

@supports (height: 100svh) {
  body {
    min-height: 100svh;
    --space-block: clamp(24px, 8svh, 80px);
  }
}

@supports (height: 100dvh) {
  body {
    min-height: 100dvh;
    --space-block: clamp(24px, 8dvh, 80px);
  }
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0F342B 0%, #0B2721 100%);
  pointer-events: none;
  z-index: -1;
}

body > .card {
  margin-inline: auto;
  margin-block: 0;
}

body.home-page {
  background: #0F342B;
  color: #0C2B22;
}

body.home-page::before {
  background: radial-gradient(120% 160% at 50% -20%, rgba(46, 120, 102, 0.6) 0%, rgba(18, 66, 55, 0.94) 55%, rgba(8, 35, 27, 1) 100%);
}

body.home-page .card {
  max-width: 720px;
  background: rgba(255, 248, 235, 0.95);
  border: 1.5px solid rgba(224, 201, 158, 0.6);
  color: #0C2B22;
  box-shadow:
    0 24px 40px rgba(178, 145, 91, 0.18),
    0 6px 12px rgba(166, 125, 64, 0.08);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

.home-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.home-card__hero {
  gap: 14px;
  align-items: stretch;
}

.home-card__title {
  margin: 0;
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #0C2B22;
}

.home-card__subtitle {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(12, 43, 34, 0.7);
  max-width: 520px;
}

.home-card__section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 26px;
  border: 1.5px solid rgba(224, 201, 158, 0.35);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.05),
    0 12px 24px rgba(166, 125, 64, 0.08);
}

.home-card__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(12, 43, 34, 0.68);
}

.card {
  width: 100%;
  max-width: 600px;
  background: linear-gradient(
      145deg,
      rgba(39, 183, 150, 0.32),
      rgba(15, 73, 59, 0.18)
    );
  border-radius: 18px;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  border: none;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.34);
  margin: auto;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  position: relative;
}

.card > .hero {
  margin-bottom: -12px;
}

.home-page .card > .hero {
  margin-bottom: 0;
}

.hero__logo {
  display: block;
  width: clamp(160px, 40vw, 220px);
  height: auto;
  filter: none;
  margin: 0 auto 12px;
}

.link {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  column-gap: 12px;
  background: var(--accent);
  color: var(--text-dark);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.25px;
  border-radius: 18px;
  padding: 0 16px;
  height: 58px;
  border: 1.6px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.05),
    0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.link::after {
  content: '';
  display: block;
  width: 40px;
  height: 0;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 6px 16px rgba(0, 0, 0, 0.1);
  outline: none;
}

.link:active {
  transform: translateY(0);
  background: var(--accent-dark);
  box-shadow:
    inset 0 3px 6px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

.link__icon {
  width: 24px;
  height: 24px;
  color: #0C2B22;
  display: block;
  flex-shrink: 0;
}

.link__label {
  justify-self: center;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 520px) {
  body {
    padding: 24px 12px 60px;
  }

  .card {
    padding: 36px 18px 32px;
    border-radius: 28px;
    gap: 32px;
  }

  .link {
    border-radius: 18px;
    padding: 16px 18px;
    font-size: 17px;
  }

  .home-card {
    gap: 28px;
  }

  .home-card__section {
    padding: 18px;
  }

  .home-card__subtitle,
  .home-card__lead {
    font-size: 14px;
  }
}

.gateway-page::before {
  background: radial-gradient(130% 170% at 15% -10%, rgba(241, 203, 107, 0.4) 0%, rgba(17, 64, 53, 0.94) 54%, rgba(8, 35, 27, 1) 100%);
}

.gateway-card {
  max-width: 780px;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

.gateway-card::before {
  content: '';
  position: absolute;
  inset: -220px -120px auto;
  height: 380px;
  background:
    radial-gradient(circle at 20% 30%, rgba(241, 203, 107, 0.24), transparent 60%),
    radial-gradient(circle at 85% 20%, rgba(58, 150, 128, 0.2), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.gateway-card > * {
  position: relative;
  z-index: 1;
}

.gateway-hero .home-card__title,
.gateway-hero .home-card__subtitle {
  max-width: 640px;
}

.gateway-hero .location-card__quick-nav {
  justify-content: center;
  margin-top: 14px;
}

.gateway-locations__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.gateway-location {
  border-radius: 22px;
  border: 1.5px solid rgba(12, 43, 34, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.05),
    0 14px 30px rgba(0, 0, 0, 0.09);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gateway-location--featured {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 227, 0.96));
  border-color: rgba(166, 125, 64, 0.35);
}

.gateway-location__eyebrow {
  margin: 0;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(12, 43, 34, 0.58);
  font-weight: 700;
}

.gateway-location__title {
  margin: 0;
  font-size: 22px;
  color: #0C2B22;
}

.gateway-location__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(12, 43, 34, 0.74);
}

.gateway-location__meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.gateway-location__meta li {
  font-size: 14px;
  color: rgba(12, 43, 34, 0.78);
  line-height: 1.5;
}

.gateway-location__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}

.gateway-location__actions .link {
  min-height: 56px;
  height: auto;
  grid-template-columns: 40px 1fr 0;
  padding: 14px 18px;
  font-size: 16px;
}

.gateway-location__actions .link::after {
  display: none;
}

.gateway-location--coming-soon {
  background: linear-gradient(160deg, rgba(248, 248, 248, 0.95), rgba(241, 243, 242, 0.95));
  border-color: rgba(12, 43, 34, 0.16);
}

.gateway-location--coming-soon .gateway-location__title,
.gateway-location--coming-soon .gateway-location__body,
.gateway-location--coming-soon .gateway-location__meta li {
  color: rgba(12, 43, 34, 0.68);
}

.link.link--disabled,
.link.link--disabled:hover,
.link.link--disabled:focus-visible,
.link.link--disabled:active {
  background: linear-gradient(180deg, #dedede 0%, #cfcfcf 100%);
  color: rgba(12, 43, 34, 0.62);
  border-color: rgba(12, 43, 34, 0.16);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
  pointer-events: none;
}

.link.link--disabled .link__icon {
  color: rgba(12, 43, 34, 0.48);
}

.gateway-location__notice {
  margin: 2px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(168, 123, 58, 0.45);
  background: linear-gradient(180deg, rgba(241, 203, 107, 0.26), rgba(241, 203, 107, 0.16));
  box-shadow: 0 6px 14px rgba(12, 43, 34, 0.08);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #0C2B22;
}

.gateway-location__notice-link {
  color: #0B3A2F;
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.gateway-location__notice-link:hover,
.gateway-location__notice-link:focus-visible {
  color: #11473A;
}

.gateway-location__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gateway-sitemap {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gateway-sitemap .location-quick-link {
  min-height: 48px;
  justify-content: center;
  text-align: center;
  border-color: rgba(12, 43, 34, 0.14);
  box-shadow: 0 8px 16px rgba(12, 43, 34, 0.08);
}

.gateway-contact .location-action__text {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.gateway-contact__meta {
  font-size: 13px;
  color: rgba(12, 43, 34, 0.68);
  line-height: 1.45;
}

.gateway-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gateway-faq__item {
  border-radius: 18px;
  border: 1.4px solid rgba(12, 43, 34, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px rgba(12, 43, 34, 0.07);
  overflow: hidden;
}

.gateway-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  font-size: 15px;
  font-weight: 600;
  color: #0C2B22;
  position: relative;
}

.gateway-faq__item summary::-webkit-details-marker {
  display: none;
}

.gateway-faq__item summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(12, 43, 34, 0.55);
  border-bottom: 2px solid rgba(12, 43, 34, 0.55);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.gateway-faq__item[open] summary::after {
  transform: translateY(-32%) rotate(-135deg);
}

.gateway-faq__item p {
  margin: 0;
  padding: 0 16px 16px;
  color: rgba(12, 43, 34, 0.74);
  font-size: 14px;
  line-height: 1.62;
}

@media (prefers-reduced-motion: no-preference) {
  .gateway-card > section {
    animation: gateway-rise 0.55s ease both;
  }

  .gateway-card > section:nth-of-type(1) {
    animation-delay: 0.05s;
  }

  .gateway-card > section:nth-of-type(2) {
    animation-delay: 0.1s;
  }

  .gateway-card > section:nth-of-type(3) {
    animation-delay: 0.15s;
  }

  .gateway-card > section:nth-of-type(4) {
    animation-delay: 0.2s;
  }

  .gateway-card > section:nth-of-type(5) {
    animation-delay: 0.25s;
  }
}

@keyframes gateway-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .gateway-sitemap {
    grid-template-columns: 1fr 1fr;
  }

  .gateway-location__title {
    font-size: 20px;
  }

  .gateway-location__actions .link {
    font-size: 15px;
  }
}
