@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SONGER Condensed";
  src: local("SONGER Condensed Regular"), local("SONGERCondensed-Regular"), local("SONGER Condensed");
  font-weight: 400;
  font-style: normal;
}

:root {
  --ink: #19194d;
  --ink-2: #293388;
  --paper: #efeeec;
  --muted-blue: #d4deea;
  --purple: #6f49d4;
  --lavender: #d5b4fb;
  --lime: #dae83d;
  --line: rgba(25, 25, 77, 0.45);
  --container: 1280px;
  --radius: 8px;
  font-family: "Onest", Mulish, Muller, "Atlas Inter", Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--paper);
  overflow-x: hidden;
}

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

button,
select {
  font: inherit;
}

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

.site-header,
main,
.site-footer {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 20;
  min-height: 48px;
  margin-top: 10px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.brand {
  display: grid;
  grid-template-columns: 30px 73px 103px;
  column-gap: 8px;
  align-items: start;
  height: 42px;
  min-width: 222px;
}

.brand__mark {
  width: 30px;
  height: 30px;
  margin-top: 7px;
}

.brand__name,
.footer-brand strong {
  font-family: "SONGER Condensed", "Bahnschrift Condensed", "Arial Narrow", Muller, "Atlas Inter", Inter, Arial, sans-serif;
  font-size: 33px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand__name {
  display: block;
  width: 87px;
  height: 42px;
  margin-top: 3px;
  line-height: 42px;
  transform: scaleX(0.84);
  transform-origin: left center;
}

.brand__tagline {
  display: block;
  width: 103px;
  height: 28px;
  margin-top: 6px;
  font-size: 13.36px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.6;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

.main-nav a,
.footer-nav a,
.section-head a {
  transition: color 0.18s ease, opacity 0.18s ease;
}

.main-nav a.has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-nav a.has-dropdown::after {
  content: "";
  width: 6px;
  height: 6px;
  background: url("assets/nav-chevron.svg") center / contain no-repeat;
  flex: 0 0 6px;
}

.main-nav a:hover,
.footer-nav a:hover {
  color: var(--lime);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.header-contacts > div {
  min-width: 142px;
  margin-right: 3px;
}

.phone {
  display: block;
  color: var(--lime);
  font-weight: 700;
}

.header-contacts .phone {
  font-size: 18px;
  letter-spacing: 0.01em;
}

.header-contacts span {
  display: block;
  margin-top: 1px;
  font-size: 12px;
  line-height: 16px;
  opacity: 0.5;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.menu-toggle {
  width: 36px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 36px;
  height: 3px;
  background: var(--lavender);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle span + span {
  margin-top: 7px;
}

.mobile-menu {
  color: var(--paper);
}

.round-link {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  overflow: hidden;
}

.round-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

main {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 10px 0 60px;
}

.hero {
  position: relative;
  min-height: 538px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--ink);
  color: var(--paper);
}

.hero__media,
.hero__media::after {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  content: "";
  background: linear-gradient(90deg, var(--ink) 0%, rgba(25, 25, 77, 0.92) 28%, rgba(58, 58, 179, 0) 70%);
  z-index: 3;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

.hero__figure {
  position: absolute;
  right: -13px;
  bottom: -134.909px;
  width: 562px;
  height: 696.909px;
  pointer-events: none;
}

.hero__person {
  position: absolute;
  z-index: 4;
  left: 0;
  right: auto;
  top: 0;
  bottom: auto;
  width: 562px;
  height: 562px;
  object-fit: contain;
}

.hero__shape {
  position: absolute;
  z-index: 1;
  max-width: none;
  pointer-events: none;
}

.hero__shape--one {
  z-index: 2;
  left: 63px;
  top: 212px;
  right: auto;
  bottom: auto;
  width: 458.266px;
  height: 422.555px;
  transform: rotate(-75.907deg);
  transform-origin: 50% 50%;
}

.hero__shape--two {
  z-index: 2;
  left: 82.5px;
  right: auto;
  top: 189px;
  bottom: auto;
  width: 447.544px;
  height: 460.348px;
}

.hero__shape--three {
  z-index: 2;
  left: -23px;
  top: 65px;
  width: 658.5px;
  height: 664.121px;
}

.hero__content {
  position: relative;
  z-index: 5;
  width: 740px;
  padding: 62px 40px 32px;
}

.hero__copy {
  display: grid;
  gap: 14px;
}

.hero h1 {
  margin: 0;
  font-size: 38px;
  line-height: 48px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.hero h1 mark {
  padding: 0;
  background: transparent;
  color: var(--lime);
}

.hero__copy p {
  width: 450px;
  margin: 0;
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0;
  margin: 40px 0;
  list-style: none;
}

.hero-stats li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-stats img {
  width: 40px;
  height: 40px;
}

.destination-card {
  width: 640px;
  padding: 20px;
  display: grid;
  gap: 16px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.destination-card label {
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.destination-card__row {
  display: flex;
  gap: 12px;
}

.destination-card__actions {
  flex: 0 0 388px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.select-shell {
  position: relative;
  flex: 1 1 auto;
}

.select-shell::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: url("assets/select-chevron.svg") center / contain no-repeat;
  opacity: 0.6;
  pointer-events: none;
}

.select-shell select,
.select-shell--combobox input {
  width: 100%;
  height: 48px;
  padding: 0 56px 0 16px;
  appearance: none;
  border: 0;
  border-radius: 4px;
  background: var(--muted-blue);
  color: rgba(41, 51, 136, 0.6);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.select-shell--combobox {
  z-index: 20;
}

.select-shell--combobox::after {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(41, 51, 136, 0.62);
  border-radius: 50%;
  background: none;
  opacity: 1;
}

.select-shell--combobox::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 31px;
  z-index: 2;
  width: 10px;
  height: 3px;
  border-radius: 3px;
  background: rgba(41, 51, 136, 0.62);
  transform: rotate(45deg);
  pointer-events: none;
}

.destination-combobox__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 236px;
  padding: 6px;
  overflow-y: auto;
  border: 1px solid rgba(25, 25, 77, 0.26);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 38px rgba(25, 25, 77, 0.18);
}

.select-shell--combobox:not(.is-open) .destination-combobox__list {
  display: none;
}

.destination-combobox__list button {
  width: 100%;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
}

.destination-combobox__list button:hover,
.destination-combobox__list button.is-active {
  background: var(--muted-blue);
}

.destination-combobox__empty {
  margin: 0;
  padding: 10px;
  color: rgba(25, 25, 77, 0.58);
  font-size: 13px;
  line-height: 18px;
}

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

.destination-card__contacts input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: var(--muted-blue);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.destination-card__contacts input::placeholder {
  color: rgba(41, 51, 136, 0.6);
}

.destination-card__field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.destination-card .input-shell {
  position: relative;
  display: block;
  height: 48px;
}

.destination-card .input-shell::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.72;
  pointer-events: none;
}

.destination-card .input-shell--user::after {
  background-image: url("assets/figma/form-user.svg");
}

.destination-card .input-shell--phone::after {
  background-image: url("assets/figma/form-phone.svg");
}

.destination-card .input-shell input {
  height: 100%;
  padding-right: 52px;
}

.destination-card .destination-card__field {
  font-size: 14px;
  line-height: 20px;
}

.destination-card__status,
.destination-card__note {
  margin: -4px 0 0;
  color: rgba(41, 51, 136, 0.72);
  font-size: 12px;
  line-height: 16px;
}

.destination-card__status.is-ok {
  color: #28724a;
}

.destination-card__status.is-error {
  color: #b23838;
}

.lead-form__status,
.apec-form__status {
  margin: 0;
  color: rgba(41, 51, 136, 0.72);
  font-size: 12px;
  line-height: 16px;
}

.lead-form__status:empty,
.apec-form__status:empty {
  display: none;
}

.lead-form__status.is-ok,
.apec-form__status.is-ok {
  color: #28724a;
}

.lead-form__status.is-error,
.apec-form__status.is-error {
  color: #b23838;
}

.destination-card button,
.telegram-banner a {
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.destination-card__actions > button {
  min-height: 48px;
  min-width: 0;
  padding: 0 18px;
  background: linear-gradient(135deg, #d8b5ff 0%, #b986f0 100%);
  color: var(--ink-2);
  box-shadow: 0 8px 18px rgba(117, 72, 222, 0.16);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.destination-card__actions > button[value="tour"] {
  background: var(--ink-2);
  color: var(--paper);
  box-shadow: 0 8px 18px rgba(25, 25, 77, 0.18);
}

.destination-card__actions > button:hover,
.destination-card__actions > button:focus-visible {
  box-shadow: 0 12px 24px rgba(25, 25, 77, 0.2);
}

.destination-card__actions > button:focus-visible {
  outline: 3px solid rgba(117, 72, 222, 0.28);
  outline-offset: 3px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  opacity: 0.6;
}

.chips button {
  min-height: 28px;
  padding: 4px 8px;
  border: 1px solid var(--ink-2);
  border-radius: 4px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.benefits {
  margin-top: -60px;
  padding: 20px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--muted-blue);
}

.benefits article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
}

.benefits h2,
.service-card h2,
.section-head h2,
.reviews-card h2,
.partners-card h2 {
  margin: 0;
  text-transform: uppercase;
}

.benefits h2 {
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.01em;
}

.benefits p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

.service-card {
  position: relative;
  min-height: 306px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(117, 72, 222, 0.45);
  background: #fff;
  box-shadow: 0 18px 38px rgba(25, 25, 77, 0.12);
}

.service-card:focus-visible {
  outline: 3px solid rgba(117, 72, 222, 0.22);
  outline-offset: 4px;
}

.service-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.service-card h2 {
  margin: auto 0 16px;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: 0.04em;
}

.service-card p {
  margin: 0;
  color: rgba(25, 25, 77, 0.5);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.telegram-banner {
  position: relative;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--purple);
  color: var(--paper);
}

.telegram-banner::after {
  content: "";
  position: absolute;
  left: 471px;
  top: -91px;
  width: 524px;
  height: 516px;
  background: url("assets/banner-palms.svg") center / contain no-repeat;
  pointer-events: none;
}

.telegram-banner div {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.telegram-banner img {
  width: 70px;
  height: 70px;
}

.telegram-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.telegram-banner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.telegram-banner a {
  position: relative;
  z-index: 1;
  min-width: 206px;
  padding: 13px 24px;
  border-radius: 4px;
  background: var(--lime);
  color: var(--ink-2);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.section-head h2,
.reviews-card h2,
.partners-card h2 {
  font-size: 28px;
  line-height: 34px;
  letter-spacing: 0.04em;
}

.section-head a {
  color: var(--purple);
  font-size: 18px;
  line-height: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.slider-shell {
  position: relative;
}

.slider-shell[data-destination-carousel] {
  --destination-gap: 20px;
  --destination-gap-total: 80px;
  --destination-visible: 5;
}

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

.slider-shell[data-destination-carousel] .destination-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--destination-gap-total)) / var(--destination-visible));
  grid-template-columns: none;
  gap: var(--destination-gap);
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 1px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.slider-shell[data-destination-carousel] .destination-grid::-webkit-scrollbar {
  display: none;
}

.destination-tile,
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.news-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.news-card:hover h3,
.blog-card:hover h2 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-empty,
.blog-empty {
  min-height: 180px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.news-empty {
  grid-column: 1 / -1;
}

.news-empty h3,
.blog-empty h2 {
  margin: 0 0 10px;
}

.news-empty p,
.blog-empty p {
  margin: 0;
  color: var(--muted);
}

.destination-tile {
  height: 378px;
  min-height: 378px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  scroll-snap-align: start;
  text-decoration: none;
}

.destination-tile:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.destination-tile img {
  width: 100%;
  height: 220px;
  flex: 0 0 220px;
  border-radius: var(--radius) var(--radius) 0 0;
  object-fit: cover;
}

.destination-tile div,
.news-card div {
  padding: 20px;
}

.destination-tile div {
  height: 158px;
  min-height: 158px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--paper);
}

.destination-tile h3 {
  position: relative;
  min-height: 32px;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.01em;
}

.destination-flag {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(25, 25, 77, 0.06);
  font-size: 28px;
  line-height: 1;
}

.destination-tile p {
  margin: 0 0 12px;
  color: rgba(25, 25, 77, 0.55);
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.destination-tile strong {
  display: block;
  margin-top: auto;
  padding-top: 4px;
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.01em;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid #c8d2df;
  border-radius: 50%;
  background: #f9f9fb url("assets/slider-arrow-icon.svg") center / 18px 18px no-repeat;
  color: transparent;
  font-size: 0;
  transform: translateY(-50%);
}

.slider-arrow--left {
  left: -60px;
  transform: translateY(-50%) rotate(180deg);
}

.slider-arrow--right {
  right: -60px;
}

.social-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 10px;
}

.reviews-card,
.partners-card {
  height: 400px;
  min-width: 0;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--muted-blue);
  text-align: center;
}

.reviews-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background:
    radial-gradient(circle at 92% 8%, rgba(222, 245, 37, 0.32), transparent 28%),
    linear-gradient(135deg, #dbe7f4 0%, #edf4fb 58%, #f7f2ff 100%);
}

.reviews-card--widget {
  height: auto;
  min-height: 520px;
  overflow-x: hidden;
  overflow-y: visible;
}

.reviews-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.reviews-card__eyebrow,
.reviews-card__count {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  color: var(--purple);
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.reviews-card__count {
  padding: 4px 10px;
  border: 1px solid rgba(114, 71, 217, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink-2);
  white-space: nowrap;
}

.reviews-carousel {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.reviews-widget {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
  min-height: 400px;
  flex: 0 0 auto;
  overflow: visible;
}

.reviews-widget .sw-app {
  width: 100%;
  min-height: 400px;
}

.reviews-carousel__viewport {
  min-width: 0;
  overflow: hidden;
  padding: 2px;
}

.reviews-carousel__track {
  display: flex;
  gap: 16px;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.review {
  width: auto;
  min-width: 0;
  flex: 0 0 calc(100% - 72px);
  min-height: 224px;
  margin: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.05), transparent 40%),
    var(--ink);
  box-shadow: 0 18px 40px rgba(25, 25, 77, 0.16);
  color: var(--paper);
  text-align: left;
}

.review__top {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
}

.avatar-dot {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.review strong {
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.01em;
}

.review__author {
  min-width: 0;
}

.review-stars {
  color: var(--lime);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 2px;
  white-space: nowrap;
}

.review blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.review small {
  display: block;
  margin-top: 5px;
  color: rgba(248, 247, 243, 0.72);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}

.review__source {
  align-self: flex-start;
  margin-top: 16px;
  color: var(--lime);
  font-size: 13px;
  line-height: 18px;
  font-weight: 800;
}

.review--empty {
  justify-content: center;
}

.reviews-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.reviews-carousel__arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(25, 25, 77, 0.12);
  border-radius: 50%;
  background: #f9f9fb url("assets/slider-arrow-icon.svg") center / 18px 18px no-repeat;
  box-shadow: 0 8px 20px rgba(25, 25, 77, 0.08);
  cursor: pointer;
  transform: rotate(180deg);
}

.reviews-carousel__arrow--next {
  transform: none;
}

.reviews-carousel__arrow:hover,
.reviews-carousel__arrow:focus-visible {
  background-color: var(--lime);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pagination button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(25, 25, 77, 0.24);
  cursor: pointer;
}

.pagination button.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--ink);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.partners-grid img {
  grid-column: span 2;
  width: 100%;
  height: 81px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--paper);
  object-fit: contain;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background-color 0.18s ease;
  will-change: transform;
}

.partners-grid img:nth-child(4),
.partners-grid img:nth-child(5) {
  grid-column: span 3;
}

.partners-grid img:hover,
.partners-grid img:focus-visible {
  transform: translateY(-4px);
  filter: brightness(1.03);
  box-shadow: 0 10px 22px rgba(25, 25, 77, 0.14);
  background-color: #fff;
}

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

.news-card img {
  width: 100%;
  aspect-ratio: 305 / 220;
  object-fit: cover;
}

.news-card time {
  display: block;
  margin-bottom: 8px;
  color: rgba(25, 25, 77, 0.5);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.news-card h3 {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.newsletter-signup {
  position: relative;
  width: min(var(--container), calc(100% - 32px));
  min-height: 310px;
  margin: 64px auto 10px;
  padding: 48px 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: 72px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 7% 114%, rgba(213, 180, 251, 0.24), transparent 31%),
    radial-gradient(circle at 93% -12%, rgba(111, 73, 212, 0.4), transparent 35%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.newsletter-signup__decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.newsletter-signup__decor span {
  position: absolute;
  display: block;
  border: 1px solid rgba(218, 232, 61, 0.3);
  border-radius: 50%;
}

.newsletter-signup__decor span:nth-child(1) {
  width: 180px;
  height: 180px;
  top: -108px;
  left: 39%;
}

.newsletter-signup__decor span:nth-child(2) {
  width: 82px;
  height: 82px;
  right: 31px;
  bottom: -46px;
}

.newsletter-signup__decor span:nth-child(3) {
  width: 18px;
  height: 18px;
  top: 33px;
  right: 43%;
  background: var(--lime);
  border: 0;
}

.newsletter-signup__copy {
  max-width: 530px;
}

.newsletter-signup__eyebrow {
  margin: 0 0 14px;
  color: var(--lime);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-signup h2 {
  margin: 0;
  max-width: 520px;
  color: var(--paper);
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.newsletter-signup__copy > p:last-child {
  max-width: 500px;
  margin: 20px 0 0;
  color: rgba(239, 238, 236, 0.72);
  font-size: 16px;
  line-height: 24px;
}

.newsletter-form {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.newsletter-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-form__email {
  display: block;
  min-width: 0;
}

.newsletter-form__email input {
  width: 100%;
  height: 58px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  outline: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  box-shadow: 0 0 0 0 rgba(218, 232, 61, 0);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.newsletter-form__email input::placeholder {
  color: rgba(25, 25, 77, 0.48);
}

.newsletter-form__email input:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(218, 232, 61, 0.2);
}

.newsletter-form__email input[aria-invalid="true"] {
  border-color: #ff9a9a;
  box-shadow: 0 0 0 3px rgba(255, 154, 154, 0.16);
}

.newsletter-form button {
  min-width: 180px;
  height: 58px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 9px;
  background: var(--lime);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.newsletter-form button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.newsletter-form button:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 3px;
}

.newsletter-form button:disabled {
  opacity: 0.66;
  cursor: wait;
  transform: none;
}

.newsletter-form button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.newsletter-form__consent {
  position: relative;
  margin-top: 15px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: rgba(239, 238, 236, 0.62);
  font-size: 12px;
  line-height: 17px;
  cursor: pointer;
}

.newsletter-form__consent input {
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
}

.newsletter-form__checkbox {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 238, 236, 0.55);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.newsletter-form__checkbox svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}

.newsletter-form__consent input:checked + .newsletter-form__checkbox {
  border-color: var(--lime);
  background: var(--lime);
}

.newsletter-form__consent input:checked + .newsletter-form__checkbox svg {
  opacity: 1;
}

.newsletter-form__consent input:focus-visible + .newsletter-form__checkbox {
  box-shadow: 0 0 0 3px rgba(213, 180, 251, 0.3);
}

.newsletter-form__consent input[aria-invalid="true"] + .newsletter-form__checkbox {
  border-color: #ff9a9a;
  box-shadow: 0 0 0 3px rgba(255, 154, 154, 0.13);
}

.newsletter-form__consent a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(218, 232, 61, 0.55);
  text-underline-offset: 2px;
}

.newsletter-form__consent a:hover {
  color: var(--lime);
}

.newsletter-form__status {
  min-height: 20px;
  margin: 12px 0 0;
  color: rgba(239, 238, 236, 0.78);
  font-size: 13px;
  line-height: 20px;
}

.newsletter-form__status.is-error {
  color: #ffb6b6;
}

.newsletter-form__status.is-success {
  color: var(--lime);
  font-weight: 700;
}

.newsletter-form.is-success .newsletter-form__row,
.newsletter-form.is-success .newsletter-form__consent {
  opacity: 0.7;
}

.ticket-page .newsletter-signup {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}

.newsletter-confirmation-page {
  min-height: min(660px, calc(100vh - 110px));
  display: grid;
  place-items: center;
  padding: 64px 0;
}

.newsletter-confirmation-card {
  width: min(680px, 100%);
  padding: 52px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(111, 73, 212, 0.42), transparent 38%),
    var(--ink);
  color: var(--paper);
  text-align: center;
  box-shadow: 0 24px 60px rgba(25, 25, 77, 0.16);
}

.newsletter-confirmation-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-size: 34px;
  font-weight: 800;
}

.newsletter-confirmation-card h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.newsletter-confirmation-card > p:not(.newsletter-signup__eyebrow) {
  max-width: 510px;
  margin: 20px auto 0;
  color: rgba(239, 238, 236, 0.72);
  font-size: 16px;
  line-height: 24px;
}

.newsletter-confirmation-card form {
  margin-top: 30px;
}

.newsletter-confirmation-card button,
.newsletter-confirmation-card__link {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  background: var(--lime);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.newsletter-confirmation-card__link {
  margin-top: 30px;
}

.newsletter-confirmation-card button:hover,
.newsletter-confirmation-card__link:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.site-footer {
  display: grid;
  grid-template-columns: 205px 635px 420px;
  gap: 10px;
  padding-bottom: 40px;
  color: var(--paper);
}

.footer-brand,
.footer-nav,
.footer-contact {
  height: 400px;
  border-radius: var(--radius);
  background: var(--ink);
}

.footer-brand {
  position: relative;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  overflow: hidden;
}

.footer-brand::after {
  content: "";
  position: absolute;
  left: -9px;
  bottom: 96px;
  width: 222px;
  height: 18px;
  background: radial-gradient(circle, var(--paper) 0 8.5px, transparent 9px) -8px 50% / 34px 18px repeat-x;
}

.footer-brand img {
  width: 104px;
  height: 104px;
  margin-inline: auto;
}

.footer-brand strong {
  display: block;
  margin-top: 6px;
  font-size: 53px;
  line-height: 1;
  transform: scaleX(0.82);
  transform-origin: center;
}

.footer-brand span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.6;
}

.footer-brand p {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  opacity: 0.5;
}

.footer-nav {
  padding: 20px 33px 20px 20px;
  display: grid;
  grid-template-columns: 185px 205px 171px;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-nav div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 360px;
}

.footer-nav span {
  flex: 1 1 auto;
  min-height: 0;
}

.footer-nav .muted {
  width: 171px;
  line-height: 18px;
  opacity: 0.5;
  white-space: nowrap;
}

.footer-nav__all {
  margin-top: 2px;
  color: var(--lime);
}

.footer-contact {
  padding: 23px 20px;
  display: flex;
  justify-content: space-between;
  gap: 58px;
}

.footer-contact__text {
  width: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-contact h2 {
  margin: 0;
  font-size: 18px;
  line-height: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-contact p {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  opacity: 0.5;
}

.footer-contact a:not(.phone),
.footer-contact strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-contact .phone {
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.01em;
}

.footer-contact a:not(.phone) {
  color: var(--lavender);
  line-height: 14px;
  word-break: normal;
  white-space: nowrap;
}

.footer-contact small {
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  opacity: 0.5;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.footer-socials img,
.footer-socials a {
  width: 52px;
  height: 52px;
}

.destination-card button:hover,
.telegram-banner a:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

@media (max-width: 1400px) {
  .slider-arrow {
    display: none;
  }

  .slider-shell[data-destination-carousel] .slider-arrow {
    display: block;
  }

  .slider-shell[data-destination-carousel] .slider-arrow--left {
    left: 10px;
  }

  .slider-shell[data-destination-carousel] .slider-arrow--right {
    right: 10px;
  }

  .slider-shell[data-destination-carousel].is-static .slider-arrow {
    display: none;
  }
}

@media (max-width: 1320px) {
  .site-header,
  main,
  .site-footer {
    width: min(var(--container), calc(100% - 48px));
  }

  .main-nav {
    gap: 22px;
  }

  .site-footer {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1180px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero__content,
  .destination-card {
    width: min(680px, 100%);
  }

  .hero__figure {
    right: -120px;
  }

  .benefits,
  .service-grid,
  .destination-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slider-shell[data-destination-carousel] {
    --destination-gap: 12px;
    --destination-gap-total: 24px;
    --destination-visible: 3;
  }

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

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .site-header {
    min-height: 82px;
    padding: 8px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "brand nav contacts"
      "brand nav contacts";
    align-items: center;
    gap: 4px 22px;
  }

  .brand {
    grid-area: brand;
  }

  .main-nav {
    grid-area: nav;
    order: initial;
    width: auto;
    justify-content: center;
    gap: 14px;
  }

  .header-contacts {
    grid-area: contacts;
    width: 160px;
    display: grid;
    grid-template-columns: repeat(2, 34px);
    grid-template-rows: auto 34px;
    justify-content: end;
    justify-items: end;
    align-items: center;
    gap: 6px 8px;
  }

  .header-contacts > div {
    grid-column: 1 / -1;
    min-width: 160px;
    margin-right: 0;
    text-align: right;
  }
}

@media (max-width: 820px) {
  .site-header,
  main,
  .site-footer,
  .newsletter-signup {
    width: min(100% - 20px, var(--container));
  }

  .site-header {
    position: static;
  }

  .brand {
    min-width: 222px;
  }

  .main-nav {
    gap: 14px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-contacts {
    width: 100%;
    justify-content: space-between;
  }

  main {
    gap: 36px;
  }

  .hero {
    min-height: 760px;
  }

  .hero__media::after {
    background: linear-gradient(180deg, rgba(25, 25, 77, 0.92), rgba(25, 25, 77, 0.76));
  }

  .hero__figure {
    position: relative;
    right: auto;
    top: 12px;
    width: 72%;
    height: auto;
    aspect-ratio: 1;
    margin-left: auto;
    opacity: 0.9;
  }

  .hero__person {
    width: 100%;
    height: 100%;
  }

  .hero__content {
    padding: 32px 20px 24px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .hero__copy p {
    width: min(356px, 100%);
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 28px 0;
  }

  .destination-card__row,
  .destination-card__contacts,
  .telegram-banner,
  .telegram-banner div,
  .section-head,
  .footer-contact {
    flex-direction: column;
    align-items: stretch;
  }

  .destination-card__actions {
    flex-basis: auto;
    width: 100%;
  }

  .destination-card__actions > button {
    min-height: 48px;
  }

  .benefits {
    margin-top: -36px;
    padding: 20px;
  }

  .benefits,
  .service-grid,
  .destination-grid,
  .social-proof,
  .news-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .reviews-card,
  .partners-card,
  .footer-brand,
  .footer-nav,
  .footer-contact {
    min-height: auto;
  }

  .partners-card {
    height: auto;
  }

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

  .footer-contact__text {
    width: 100%;
    gap: 22px;
  }

  .footer-socials {
    flex-direction: row;
  }

  .newsletter-signup {
    min-height: 0;
    margin-top: 36px;
    padding: 34px 28px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .newsletter-signup__decor span:nth-child(1) {
    left: 57%;
  }

  .newsletter-signup__decor span:nth-child(3) {
    right: 22px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .site-header {
    min-height: 56px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .site-header::after {
    content: "";
    width: 36px;
    height: 13px;
    margin-left: auto;
    flex: 0 0 36px;
    background:
      linear-gradient(var(--lavender), var(--lavender)) 0 0 / 36px 3px no-repeat,
      linear-gradient(var(--lavender), var(--lavender)) 0 10px / 36px 3px no-repeat;
  }

  .main-nav,
  .header-contacts {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero__copy p {
    width: min(420px, 100%);
  }

  .destination-card {
    width: min(640px, 100%);
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
  }

  .benefits h2 {
    white-space: normal;
  }

  .site-footer {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    min-height: auto;
    height: auto;
    padding: 40px clamp(32px, 7vw, 56px);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
  }

  .footer-nav {
    display: none;
  }

  .footer-contact {
    order: 1;
    width: 100%;
    height: auto;
    padding: 0;
    display: block;
    background: transparent;
    border-radius: 0;
  }

  .footer-contact__text {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: min(520px, 100%);
  }

  .footer-contact h2 {
    grid-column: auto;
  }

  .footer-contact small {
    align-self: flex-start;
  }

  .footer-contact a:not(.phone),
  .footer-contact strong {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  .footer-socials {
    margin-top: 28px;
    flex-direction: row;
    justify-content: flex-start;
    line-height: 0;
  }

  .footer-socials a {
    display: block;
    flex: 0 0 52px;
  }

  .footer-brand {
    order: 2;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 58px 0 0;
    gap: 12px;
    align-items: flex-start;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  .footer-brand::after {
    left: calc(-1 * clamp(32px, 7vw, 56px));
    top: 0;
    bottom: auto;
    width: calc(100% + (2 * clamp(32px, 7vw, 56px)));
    background: radial-gradient(circle, var(--paper) 0 8.5px, transparent 9px) -19.5px 50% / 35px 18px repeat-x;
  }

  .footer-brand > div {
    width: 282px;
    height: 52px;
    display: grid;
    grid-template-columns: 40px 102px 125px;
    column-gap: 7px;
    align-items: start;
  }

  .footer-brand img {
    width: 36.6px;
    height: 36.6px;
    margin-top: 8.5px;
  }

  .footer-brand strong {
    max-width: 100%;
    margin-top: 0;
    font-size: 37.4px;
    line-height: 52px;
    transform: none;
  }

  .footer-brand span {
    margin-top: 8.5px;
    font-size: 15.1px;
    line-height: 15.9px;
    white-space: normal;
  }

  .footer-brand p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .newsletter-signup {
    padding: 30px 20px;
    border-radius: 14px;
  }

  .newsletter-signup h2 {
    font-size: 29px;
    line-height: 1.08;
  }

  .newsletter-signup__copy > p:last-child {
    margin-top: 15px;
    font-size: 14px;
    line-height: 21px;
  }

  .newsletter-form__row {
    grid-template-columns: 1fr;
  }

  .newsletter-form button {
    width: 100%;
  }

  .newsletter-confirmation-page {
    padding: 36px 0;
  }

  .newsletter-confirmation-card {
    padding: 38px 20px;
  }

  .site-header {
    position: static;
    width: 100%;
    min-height: 40px;
    height: 40px;
    margin-top: 0;
    padding: 4px 12px;
    border-radius: 0;
    flex-wrap: nowrap;
  }

  .site-header::after {
    content: "";
    width: 36px;
    height: 13px;
    margin-left: auto;
    background:
      linear-gradient(var(--lavender), var(--lavender)) 0 0 / 36px 3px no-repeat,
      linear-gradient(var(--lavender), var(--lavender)) 0 10px / 36px 3px no-repeat;
  }

  .main-nav,
  .header-contacts {
    display: none;
  }

  .brand {
    grid-template-columns: 23px 56px 125px;
    column-gap: 6px;
    align-items: start;
    width: 216px;
    height: 32px;
    min-width: 216px;
  }

  .brand__mark {
    width: 23px;
    height: 23px;
    margin-top: 5px;
  }

  .brand__name {
    width: 66px;
    height: 32px;
    margin-top: 0;
    font-size: 25.27px;
    line-height: 32px;
    transform: scaleX(0.86);
  }

  .brand__tagline {
    display: block;
    width: 125px;
    height: 22px;
    margin-top: 5px;
    font-size: 10.23px;
    line-height: 10.72px;
    letter-spacing: 0.02em;
  }

  main {
    width: calc(100% - 8px);
    max-width: none;
    gap: 56px;
    padding: 8px 0;
  }

  .hero {
    min-height: 760px;
    border-radius: var(--radius);
  }

  .hero__media {
    background: var(--ink);
  }

  .hero__bg {
    opacity: 0.7;
  }

  .hero__media::after {
    background: linear-gradient(180deg, rgba(25, 25, 77, 1) 0%, rgba(58, 58, 179, 0) 100%);
  }

  .hero__figure,
  .hero__person,
  .hero__shape {
    display: none;
  }

  .hero__content {
    padding: 20px 16px;
  }

  .hero__copy {
    gap: 12px;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 34px;
  }

  .hero__copy p {
    width: min(312px, 100%);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.02em;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 28px 0 0;
  }

  .hero-stats img {
    width: 40px;
    height: 40px;
  }

  .hero-stats span {
    font-size: 14px;
    line-height: 20px;
  }

  .destination-card {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 338px;
    width: auto;
    padding: 20px;
    gap: 0;
    border-radius: var(--radius);
  }

  .destination-card label {
    font-size: 18px;
    line-height: 22px;
  }

  .destination-card__row {
    flex-direction: column;
    margin-top: 10px;
    gap: 12px;
  }

  .destination-card__contacts {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 10px;
  }

  .select-shell select {
    height: 48px;
    font-size: 12px;
  }

  .destination-card__actions {
    flex-basis: auto;
    width: 100%;
  }

  .destination-card__actions > button {
    min-height: 48px;
    font-size: 14px;
  }

  .chips {
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 20px;
    max-width: 100%;
    max-height: none;
    padding-right: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-padding-right: 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chips button {
    flex: 0 0 auto;
    height: 28px;
    min-height: 0;
    padding: 3px 10px;
    font-size: 14px;
    line-height: 20px;
    scroll-snap-align: start;
  }

  .benefits {
    min-height: 276px;
    margin-top: -48px;
    padding: 20px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    border-radius: var(--radius);
  }

  .benefits article {
    flex-direction: column;
    gap: 10px;
    min-width: 0;
  }

  .benefits h2 {
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0;
    white-space: nowrap;
    text-transform: none;
  }

  .benefits p {
    font-size: 12px;
    line-height: 16px;
    overflow-wrap: anywhere;
  }

  .benefits h2 {
    overflow-wrap: normal;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
  }

  .service-card {
    min-height: 86px;
    padding: 8px;
    display: grid;
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 8px 20px;
  }

  .service-icon {
    width: 40px;
    height: 40px;
    grid-row: 1 / 3;
  }

  .service-card h2 {
    grid-column: 2;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 20px;
    text-transform: none;
  }

  .service-card p {
    grid-column: 2;
    font-size: 12px;
    line-height: 16px;
  }

  .service-card br {
    display: none;
  }

  .telegram-banner {
    min-height: 274px;
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }

  .telegram-banner::after {
    left: 16px;
    top: -45px;
    width: calc(100% - 32px);
    height: 325px;
  }

  .telegram-banner div {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .telegram-banner img {
    width: 70px;
    height: 70px;
  }

  .telegram-banner strong {
    font-size: 14px;
    line-height: 20px;
  }

  .telegram-banner p {
    white-space: normal;
    font-size: 10px;
    line-height: 14px;
  }

  .telegram-banner a {
    min-width: 158px;
    padding: 13px 18px;
    font-size: 14px;
    line-height: 20px;
  }

  .section-head {
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 16px;
  }

  .catalog-section,
  .news-section {
    min-height: 361px;
  }

  .section-head h2,
  .reviews-card h2,
  .partners-card h2 {
    font-size: 18px;
    line-height: 24px;
  }

  .section-head a {
    font-size: 14px;
    line-height: 20px;
  }

  .destination-grid,
  .news-grid {
    display: flex;
    gap: 8px;
    width: 100%;
    overflow: hidden;
  }

  .slider-shell[data-destination-carousel] {
    --destination-gap: 10px;
    --destination-gap-total: 10px;
    --destination-visible: 2;
  }

  .slider-shell[data-destination-carousel] .destination-grid {
    display: grid;
    gap: var(--destination-gap);
    overflow-x: auto;
  }

  .slider-shell[data-destination-carousel] .destination-tile:nth-child(n + 3) {
    display: flex;
  }

  .news-card:nth-child(n + 3) {
    display: none;
  }

  .destination-tile,
  .news-card {
    flex: 0 0 calc((100% - 8px) / 2);
    min-width: 0;
    min-height: 297px;
  }

  .destination-tile {
    height: 310px;
    min-height: 310px;
    overflow: hidden;
  }

  .news-card {
    height: 297px;
    overflow: hidden;
  }

  .destination-tile img,
  .news-card img {
    width: 100%;
    height: 165px;
    flex: 0 0 165px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .destination-tile div,
  .news-card div {
    min-width: 0;
    padding: 12px;
  }

  .destination-tile div {
    height: 145px;
    min-height: 145px;
    padding: 12px 12px 18px;
  }

  .news-card div {
    height: 132px;
  }

  .destination-tile h3 {
    font-size: 12px;
    line-height: 16px;
  }

  .destination-tile p,
  .destination-tile strong,
  .news-card time,
  .news-card h3 {
    font-size: 12px;
    line-height: 16px;
  }

  .destination-tile h3 {
    font-size: 14px;
    line-height: 20px;
  }

  .destination-tile p {
    margin-bottom: 10px;
    font-weight: 400;
    -webkit-line-clamp: 2;
  }

  .destination-tile strong {
    padding-top: 6px;
    font-size: 14px;
    line-height: 20px;
  }

  .slider-shell[data-destination-carousel] .slider-arrow {
    display: none;
  }

  .news-card div {
    position: relative;
  }

  .social-proof {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reviews-card {
    position: relative;
    min-height: 340px;
    padding: 18px 12px;
  }

  .reviews-card__head {
    align-items: flex-start;
    padding: 0 4px;
  }

  .review {
    flex-basis: 100%;
    min-height: 230px;
    padding: 18px;
  }

  .review__top {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .avatar-dot {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .review-stars {
    grid-column: 1 / -1;
    width: auto;
    height: auto;
    justify-self: start;
    margin-top: 0;
    font-size: 16px;
  }

  .review strong {
    font-size: 14px;
    line-height: 20px;
  }

  .review blockquote {
    font-size: 14px;
    line-height: 21px;
  }

  .reviews-carousel__arrow {
    width: 38px;
    height: 38px;
  }

  .partners-card {
    min-height: 0;
    height: auto;
    padding: 20px 16px 16px;
  }

  .partners-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 18px;
  }

  .partners-grid img {
    height: 72px;
    padding: 14px;
  }

  .site-footer {
    width: calc(100% - 14px);
    max-width: none;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 56px;
    min-height: 724px;
    height: auto;
    padding: 40px clamp(16px, 10vw, 38px);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
  }

  .footer-nav {
    display: none;
  }

  .footer-contact {
    order: 1;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 0;
    gap: 20px;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
  }

  .footer-contact__text {
    width: 100%;
    min-width: 0;
    height: 354px;
    justify-content: space-between;
    gap: 0;
  }

  .footer-socials {
    flex-direction: row;
    justify-content: flex-start;
    line-height: 0;
  }

  .footer-socials a {
    display: block;
    flex: 0 0 52px;
  }

  .footer-brand {
    order: 2;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 58px 0 0;
    gap: 10px;
    justify-content: flex-start;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  .footer-brand::after {
    left: calc(-1 * clamp(16px, 10vw, 38px));
    top: 0;
    width: calc(100% + (2 * clamp(16px, 10vw, 38px)));
    background: radial-gradient(circle, var(--paper) 0 8.5px, transparent 9px) -19.5px 50% / 35px 18px repeat-x;
  }

  .footer-brand > div {
    width: 282px;
    height: 52px;
    display: grid;
    grid-template-columns: 40px 102px 125px;
    column-gap: 7px;
    align-items: start;
  }

  .footer-brand img {
    width: 36.6px;
    height: 36.6px;
    margin-top: 8.5px;
  }

  .footer-brand strong {
    max-width: 100%;
    margin-top: 0;
    font-size: 37.4px;
    line-height: 52px;
    transform: none;
  }

  .footer-brand span {
    margin-top: 8.5px;
    font-size: 15.1px;
    line-height: 15.9px;
    white-space: normal;
  }

  .footer-contact a:not(.phone),
  .footer-contact strong {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-contact a[href^="mailto"] {
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (min-width: 601px) and (max-width: 700px) {
  .site-footer {
    padding-inline: clamp(32px, 8vw, 48px);
  }

  .footer-contact__text {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact h2 {
    grid-column: auto;
  }

  .footer-brand::after {
    left: calc(-1 * clamp(32px, 8vw, 48px));
    width: calc(100% + (2 * clamp(32px, 8vw, 48px)));
  }
}

@media (min-width: 821px) and (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero__media::after {
    background: linear-gradient(90deg, rgba(25, 25, 77, 0.98) 0%, rgba(25, 25, 77, 0.9) 54%, rgba(25, 25, 77, 0.34) 100%);
  }

  .hero__figure {
    right: -130px;
    opacity: 0.72;
  }

  .hero__shape {
    opacity: 0.78;
  }

  .hero__content {
    width: min(680px, 100%);
  }

  .hero-stats {
    width: min(430px, 100%);
    flex-wrap: wrap;
    gap: 16px 28px;
  }
}

@media (min-width: 521px) and (max-width: 600px) {
  .site-header {
    position: static;
    width: 100%;
    min-height: 40px;
    height: 40px;
    margin-top: 0;
    padding: 4px 12px;
    border-radius: 0;
    flex-wrap: nowrap;
  }

  .site-header::after {
    content: "";
    width: 36px;
    height: 13px;
    margin-left: auto;
    background:
      linear-gradient(var(--lavender), var(--lavender)) 0 0 / 36px 3px no-repeat,
      linear-gradient(var(--lavender), var(--lavender)) 0 10px / 36px 3px no-repeat;
  }

  .main-nav,
  .header-contacts {
    display: none;
  }

  .brand {
    grid-template-columns: 23px 56px 125px;
    column-gap: 6px;
    align-items: start;
    width: 216px;
    height: 32px;
    min-width: 216px;
  }

  .brand__mark {
    width: 23px;
    height: 23px;
    margin-top: 5px;
  }

  .brand__name {
    width: 66px;
    height: 32px;
    margin-top: 0;
    font-size: 25.27px;
    line-height: 32px;
    transform: scaleX(0.86);
  }

  .brand__tagline {
    display: block;
    width: 125px;
    height: 22px;
    margin-top: 5px;
    font-size: 10.23px;
    line-height: 10.72px;
    letter-spacing: 0.02em;
  }

  .site-footer {
    width: calc(100% - 20px);
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    min-height: auto;
    height: auto;
    padding: 40px clamp(24px, 8vw, 42px);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
  }

  .footer-nav {
    display: none;
  }

  .footer-contact {
    order: 1;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 0;
    gap: 20px;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
  }

  .footer-contact__text {
    width: 100%;
    min-width: 0;
    height: 354px;
    justify-content: space-between;
    gap: 0;
  }

  .footer-socials {
    flex-direction: row;
    justify-content: flex-start;
    line-height: 0;
  }

  .footer-socials a {
    display: block;
    flex: 0 0 52px;
  }

  .footer-brand {
    order: 2;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 58px 0 0;
    gap: 10px;
    justify-content: flex-start;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  .footer-brand::after {
    left: calc(-1 * clamp(24px, 8vw, 42px));
    top: 0;
    width: calc(100% + (2 * clamp(24px, 8vw, 42px)));
    background: radial-gradient(circle, var(--paper) 0 8.5px, transparent 9px) -19.5px 50% / 35px 18px repeat-x;
  }

  .footer-brand > div {
    width: 282px;
    height: 52px;
    display: grid;
    grid-template-columns: 40px 102px 125px;
    column-gap: 7px;
    align-items: start;
  }

  .footer-brand img {
    width: 36.6px;
    height: 36.6px;
    margin-top: 8.5px;
  }

  .footer-brand strong {
    max-width: 100%;
    margin-top: 0;
    font-size: 37.4px;
    line-height: 52px;
    transform: none;
  }

  .footer-brand span {
    margin-top: 8.5px;
    font-size: 15.1px;
    line-height: 15.9px;
    white-space: normal;
  }

  .footer-contact a:not(.phone),
  .footer-contact strong {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-contact a[href^="mailto"] {
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (max-width: 340px) {
  .brand {
    grid-template-columns: 23px 50px minmax(0, 1fr);
    width: 190px;
    min-width: 190px;
  }

  .brand__name {
    width: 58px;
    font-size: 22px;
  }

  .brand__tagline {
    width: auto;
    font-size: 8.5px;
    line-height: 9px;
  }

  .hero h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .hero {
    min-height: 780px;
  }

  .benefits {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .footer-brand > div {
    width: 100%;
    grid-template-columns: 32px 82px minmax(0, 1fr);
    column-gap: 6px;
  }

  .footer-brand img {
    width: 30px;
    height: 30px;
    margin-top: 9px;
  }

  .footer-brand strong {
    font-size: 30px;
  }

  .footer-brand span {
    font-size: 11.5px;
    line-height: 12px;
  }
}

@media (max-width: 370px) {
  .page-tours .hero-action {
    font-size: 13px;
    letter-spacing: 0;
  }

  .select-shell select {
    padding-right: 44px;
    font-size: 10.5px;
  }

  .select-shell::after {
    right: 12px;
  }

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

  .benefits h2 {
    font-size: 12.5px;
  }
}

@media (max-width: 900px) and (max-height: 520px) {
  .site-header {
    position: static;
    width: calc(100% - 24px);
    max-width: 820px;
    min-height: 48px;
    height: 48px;
    margin-top: 8px;
    padding: 4px 12px;
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .site-header::after {
    content: "";
    width: 36px;
    height: 13px;
    margin-left: auto;
    flex: 0 0 36px;
    background:
      linear-gradient(var(--lavender), var(--lavender)) 0 0 / 36px 3px no-repeat,
      linear-gradient(var(--lavender), var(--lavender)) 0 10px / 36px 3px no-repeat;
  }

  .main-nav,
  .header-contacts {
    display: none;
  }

  .brand {
    grid-template-columns: 30px 73px minmax(0, 130px);
    width: 230px;
    min-width: 0;
    height: 42px;
  }

  .brand__tagline {
    width: auto;
  }

  main,
  .site-footer {
    width: calc(100% - 24px);
    max-width: 820px;
  }

  main {
    gap: 36px;
    padding: 8px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__media::after {
    background: linear-gradient(90deg, rgba(25, 25, 77, 0.96), rgba(25, 25, 77, 0.78));
  }

  .hero__figure,
  .hero__person,
  .hero__shape {
    display: none;
  }

  .hero__content {
    width: 100%;
    max-width: 760px;
    padding: 48px 40px 32px;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-stats li {
    white-space: normal;
  }

  .destination-card {
    width: min(640px, 100%);
  }

  .site-footer {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    min-height: auto;
    height: auto;
    padding: 32px clamp(20px, 6vw, 48px);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
  }

  .footer-nav {
    display: none;
  }

  .footer-contact {
    order: 1;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 0;
    gap: 20px;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
  }

  .footer-contact__text {
    width: 100%;
    min-width: 0;
    height: 354px;
    justify-content: space-between;
    gap: 0;
  }

  .footer-contact a:not(.phone),
  .footer-contact strong {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-socials {
    flex-direction: row;
    justify-content: flex-start;
    line-height: 0;
  }

  .footer-socials a {
    display: block;
    flex: 0 0 52px;
  }

  .footer-brand {
    order: 2;
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 58px 0 0;
    gap: 10px;
    justify-content: flex-start;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  .footer-brand::after {
    left: calc(-1 * clamp(20px, 6vw, 48px));
    top: 0;
    width: calc(100% + (2 * clamp(20px, 6vw, 48px)));
    background: radial-gradient(circle, var(--paper) 0 8.5px, transparent 9px) -19.5px 50% / 35px 18px repeat-x;
  }

  .footer-brand > div {
    width: 282px;
    height: 52px;
    display: grid;
    grid-template-columns: 40px 102px 125px;
    column-gap: 7px;
    align-items: start;
  }

  .footer-brand img {
    width: 36.6px;
    height: 36.6px;
    margin-top: 8.5px;
  }

  .footer-brand strong {
    margin-top: 0;
    font-size: 37.4px;
    line-height: 52px;
    transform: none;
  }

  .footer-brand span {
    margin-top: 8.5px;
    font-size: 15.1px;
    line-height: 15.9px;
    white-space: normal;
  }
}

.subpage-main {
  padding-top: 10px;
}

.subpage-hero {
  position: relative;
  min-height: 430px;
  padding: 56px 40px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.subpage-hero::before,
.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.subpage-hero::before {
  background: url("assets/hero-bg.jpg.webp") center / cover no-repeat;
  opacity: 0.66;
}

.subpage-hero::after {
  background: linear-gradient(90deg, rgba(25, 25, 77, 0.98), rgba(25, 25, 77, 0.7) 44%, rgba(25, 25, 77, 0.1));
}

.subpage-hero__person {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: -56px;
  width: 520px;
}

.subpage-hero__content {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
}

.subpage-hero h1 {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.subpage-hero h1 span {
  color: var(--lime);
}

.subpage-hero p {
  width: 380px;
  max-width: 100%;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

.hero-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--purple);
  color: var(--paper);
  font-weight: 800;
}

.quick-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.quick-benefits article {
  min-height: 86px;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--muted-blue);
}

.quick-benefits article:nth-child(1) {
  background: var(--lavender);
}

.quick-benefits article:nth-child(2) {
  background: var(--lime);
}

.quick-benefits h2 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 22px;
}

.quick-benefits p {
  margin: 0;
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
}

.tour-search,
.lead-form-section {
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
}

.tour-search {
  display: grid;
  gap: 20px;
  border-top: 52px solid var(--ink-2);
}

.tourvisor-search {
  min-height: 112px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(25, 25, 77, 0.16);
  overflow: hidden;
}

.tourvisor-search .tv-search-form {
  min-height: 80px;
}

.search-fields,
.filter-row {
  display: grid;
  gap: 20px;
}

.search-fields {
  grid-template-columns: 1.25fr 1.25fr 1fr 0.8fr 1.2fr;
}

.filter-row {
  grid-template-columns: 1fr 1.4fr 1fr 0.8fr 1.2fr;
}

.field {
  min-height: 52px;
  padding: 10px 16px;
  border: 1px solid rgba(25, 25, 77, 0.25);
  border-radius: 4px;
  background: var(--paper);
}

.field span {
  display: block;
  margin-bottom: 4px;
  color: rgba(25, 25, 77, 0.45);
  font-size: 11px;
  text-transform: uppercase;
}

.field strong {
  font-size: 18px;
}

.search-button,
.lead-form button {
  min-height: 52px;
  border: 0;
  border-radius: 4px;
  background: #c62430;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.country-pill {
  min-height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  background: var(--muted-blue);
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.country-pill:hover {
  color: var(--purple);
}

.country-pill__flag {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
  font-size: 22px;
}

.country-flag {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(90deg, #00732f 0 33%, #fff 33% 66%, #ce1126 66%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.lead-form-section {
  min-height: 520px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(25, 25, 77, 0.86), rgba(25, 25, 77, 0.2)),
    url("assets/hero-bg.jpg.webp") center / cover no-repeat;
  color: var(--paper);
}

.lead-form-section h2 {
  margin: 0 0 20px;
  font-size: 42px;
  line-height: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lead-form-section p {
  margin: 0;
  max-width: 420px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
}

.lead-form {
  padding: 24px;
  display: grid;
  gap: 14px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.lead-form h3 {
  margin: 0 0 4px;
  font-size: 28px;
  line-height: 34px;
}

.lead-form input,
.lead-form select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(25, 25, 77, 0.3);
  border-radius: 4px;
  background: #fff;
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
}

.lead-form small {
  color: var(--ink-2);
  font-size: 11px;
  line-height: 14px;
}

.visa-partners .partners-grid {
  grid-template-columns: repeat(3, 1fr);
}

.visa-logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.visa-logo {
  grid-column: span 2;
  min-height: 98px;
  padding: 16px 22px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
}

.visa-logo:nth-child(4),
.visa-logo:nth-child(5) {
  grid-column: span 3;
}

.visa-logo img {
  width: 100%;
  max-width: 165px;
  max-height: 64px;
  object-fit: contain;
}

.visa-logo:nth-child(3) img {
  filter: brightness(0) saturate(100%) invert(10%) sepia(35%) saturate(2740%) hue-rotate(220deg) brightness(92%) contrast(102%);
}

.lead-features {
  display: flex;
  gap: 28px;
  margin-top: 72px;
}

.lead-features article {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 170px;
}

.lead-features p {
  margin: 0;
  font-size: 13px;
  line-height: 17px;
}

@media (max-width: 900px) {
  .subpage-hero,
  .lead-form-section {
    padding: 28px 20px;
  }

  .subpage-hero__person {
    right: -140px;
    opacity: 0.65;
  }

  .subpage-hero h1,
  .lead-form-section h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .quick-benefits,
  .search-fields,
  .filter-row,
  .country-grid,
  .lead-form-section,
  .visa-logo-grid {
    grid-template-columns: 1fr;
  }

  .lead-features {
    flex-direction: column;
    margin-top: 32px;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .tour-search {
    gap: 16px;
    border-top-width: 40px;
  }

  .search-fields,
  .filter-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .field {
    min-height: 50px;
  }

  .search-button {
    grid-column: 1 / -1;
  }

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

  .country-pill {
    min-height: 48px;
  }
}

@media (min-width: 760px) and (max-width: 900px) {
  .lead-form-section {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: 28px;
    align-items: start;
  }

  .lead-form-section h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .lead-form-section p {
    font-size: 16px;
    line-height: 22px;
  }

  .lead-features {
    gap: 18px;
  }

  .lead-features article {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .subpage-hero {
    min-height: 430px;
  }

  .tour-search {
    gap: 14px;
    padding: 16px;
    border-top-width: 40px;
  }

  .search-fields,
  .filter-row {
    gap: 12px;
  }

  .field {
    min-height: 48px;
    padding: 9px 12px;
  }

  .field strong {
    font-size: 16px;
  }

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

  .country-pill {
    min-height: 46px;
    padding: 0 12px;
  }
}

@media (max-width: 340px) {
  .subpage-hero h1 {
    font-size: 27px;
    line-height: 34px;
  }

  .hero-action {
    width: 100%;
    padding-inline: 14px;
    text-align: center;
  }
}

/* Figma-aligned inner pages */
.page-tours .subpage-main,
.page-visas .subpage-main {
  gap: 60px;
}

.page-tours .subpage-hero,
.page-visas .subpage-hero {
  min-height: 538px;
  padding: 0;
}

.page-visas:not(.page-residence) .subpage-hero {
  background: var(--paper);
  height: 494px;
  max-height: 494px;
  min-height: 494px;
}

.page-tours .subpage-hero {
  min-height: 538px;
  padding: 40px;
  border-radius: var(--radius);
}

.page-tours .subpage-hero::before {
  background-image: url("assets/figma/tour-hero-bg.png.webp");
  background-position: center;
  opacity: 0.76;
}

.page-visas .subpage-hero::before {
  background-image: url("assets/figma/visa-hero-bg.png.webp");
  background-position: center;
  opacity: 0.7;
}

.page-visas:not(.page-residence) .subpage-hero::before,
.page-visas:not(.page-residence) .subpage-hero::after {
  inset: 10px 0 0;
  height: 528px;
  border-radius: var(--radius);
}

.page-tours .subpage-hero::after,
.page-visas .subpage-hero::after {
  background: linear-gradient(90deg, #19194d 0%, rgba(25, 25, 77, 0.88) 32%, rgba(58, 58, 179, 0) 72%);
}

.page-visas:not(.page-residence) .subpage-hero::after {
  background:
    linear-gradient(90deg, rgba(25, 25, 77, 0.98) 0%, rgba(25, 25, 77, 0.94) 38%, rgba(25, 25, 77, 0.58) 68%, rgba(25, 25, 77, 0.18) 100%),
    linear-gradient(180deg, rgba(25, 25, 77, 0.18) 0%, rgba(25, 25, 77, 0.56) 100%);
  z-index: 1;
}

.page-visas .subpage-hero__content {
  position: absolute;
  left: 40px;
  top: calc(50% - 2px);
  z-index: 5;
  width: min(627px, 100%);
  transform: translateY(-50%);
}

.page-tours .subpage-hero h1,
.page-visas .subpage-hero h1 {
  margin-bottom: 20px;
  font-size: 38px;
  line-height: 48px;
  letter-spacing: 1.52px;
}

.page-tours .subpage-hero h1 {
  color: var(--lavender);
}

.page-tours .subpage-hero h1 span {
  color: var(--lime);
}

.page-visas .subpage-hero h1 {
  color: var(--lavender);
}

.page-visas .subpage-hero h1 span {
  color: var(--lime);
}

.page-tours .subpage-hero p,
.page-visas .subpage-hero p {
  width: 356px;
  margin-bottom: 0;
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.18px;
}

.subpage-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0;
  margin: 40px 0;
  list-style: none;
}

.subpage-stats li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.subpage-stats li span {
  display: block;
}

.subpage-stats img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.page-tours .subpage-hero__person {
  right: clamp(-117px, -8vw, -60px);
  top: -67px;
  bottom: auto;
  width: min(72vw, 926px);
  max-height: none;
  object-fit: contain;
  object-position: right bottom;
}

.page-visas .subpage-hero__person {
  left: 756px;
  top: -33px;
  right: auto;
  bottom: auto;
  width: 575px;
  height: 562px;
  max-height: none;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

.page-visas:not(.page-residence) .subpage-hero__person-frame {
  overflow: hidden;
}

.page-visas:not(.page-residence) .subpage-hero__person-frame > img {
  position: absolute;
  left: -25.29%;
  top: 0;
  width: 131.03%;
  height: 100%;
  max-width: none;
  object-fit: fill;
}

.subpage-hero__shape {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.page-visas .subpage-hero__shape--one {
  left: max(740px, 58%);
  top: 126px;
  right: auto;
  bottom: auto;
  width: 458px;
  height: 423px;
  transform: rotate(-75.91deg);
}

.page-visas .subpage-hero__shape--two {
  left: max(790px, 62%);
  top: 165px;
  right: auto;
  bottom: auto;
  width: 448px;
  height: 460px;
}

.page-visas .subpage-hero__shape--three {
  left: max(680px, 53%);
  top: 29px;
  right: auto;
  bottom: auto;
  width: 658px;
  height: 664px;
}

.page-visas:not(.page-residence) .subpage-hero__shape {
  display: none;
}

.page-tours .quick-benefits {
  margin-top: -160px;
  position: relative;
  z-index: 3;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}

.page-tours .quick-benefits article {
  height: 100px;
  min-height: 100px;
  padding: 15px 20px;
}

.page-tours .quick-benefits article:nth-child(1) {
  background: var(--lavender);
  border-bottom-left-radius: var(--radius);
}

.page-tours .quick-benefits article:nth-child(2) {
  background: var(--lime);
}

.page-tours .quick-benefits article:nth-child(3) {
  background: var(--muted-blue);
  border-bottom-right-radius: var(--radius);
}

.page-tours .hero-action {
  width: 327px;
  min-width: 0;
  padding: 0 20px;
  background: var(--paper);
  color: var(--ink-2);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.18px;
  white-space: nowrap;
}

.page-tours .quick-benefits h2 {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.18px;
}

.page-visas:not(.page-residence) .hero-action {
  width: 281px;
  min-width: 0;
  padding-inline: 20px;
}

.page-tours .quick-benefits p {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.tour-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: -20px -20px 0;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--ink-2);
}

.tour-tabs button {
  min-height: 52px;
  border: 0;
  background: var(--ink-2);
  color: rgba(239, 238, 236, 0.7);
  font-weight: 700;
  cursor: pointer;
}

.tour-tabs button.is-active {
  background: var(--paper);
  color: var(--ink);
}

.tour-search--complex {
  gap: 0;
  padding: 20px;
  border: 0;
  box-shadow: 0 0 0 1px rgba(25, 25, 77, 0.16);
}

.page-tours .tour-search--complex {
  margin-top: -20px;
}

.tour-search--complex .search-fields {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  background: var(--ink-2);
  gap: 1px;
}

.tour-search--complex .filter-row,
.tour-search__bottom {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.tour-search__bottom {
  grid-template-columns: 1fr 1fr 220px;
}

.tour-search--complex .field {
  min-height: 58px;
  background: var(--paper);
}

.tour-search__body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  margin-top: 16px;
}

.tour-search__panel {
  min-height: 170px;
  padding: 18px;
  border: 1px solid rgba(25, 25, 77, 0.18);
  border-radius: 8px;
  background: #f7f7f8;
}

.tour-search__panel h2 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 22px;
}

.tour-search__panel label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
}

.hotel-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(25, 25, 77, 0.25);
  border-radius: 4px;
  background: var(--paper);
  font: inherit;
}

.hotel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hotel-tags button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(41, 51, 136, 0.45);
  border-radius: 4px;
  background: transparent;
  color: rgba(41, 51, 136, 0.72);
  font-weight: 500;
}

.page-visas .lead-form-section {
  min-height: 638px;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 40px;
  padding: 40px;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(25, 25, 77, 0.75) 0%, rgba(25, 25, 77, 0) 67%),
    url("assets/figma/visa-calculation-form-bg.png.webp") center / cover no-repeat;
}

.page-tours .lead-form-section {
  min-height: 638px;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 40px;
  padding: 40px;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(25, 25, 77, 0.75) 0%, rgba(25, 25, 77, 0) 66.758%),
    url("assets/figma/tour-form-bg-figma.png.webp") center -176px / 100% 133.75% no-repeat;
}

.page-visas .lead-form-section > div,
.page-tours .lead-form-section > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-visas .lead-copy__top,
.page-tours .lead-copy__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.page-visas .lead-eyebrow,
.page-tours .lead-eyebrow {
  width: auto;
  max-width: none;
  color: var(--lime);
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.18px;
}

.page-visas .lead-form-section h2,
.page-tours .lead-form-section h2 {
  margin: 0;
  color: var(--paper);
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 1.52px;
}

.page-visas .lead-description,
.page-tours .lead-description {
  width: 329px;
  max-width: 100%;
  color: var(--paper);
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.18px;
}

.page-visas .lead-features,
.page-tours .lead-features {
  gap: 40px;
  margin-top: 0;
}

.page-visas .lead-features article,
.page-tours .lead-features article {
  max-width: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.page-visas .lead-features p,
.page-tours .lead-features p {
  width: max-content;
  max-width: 150px;
  color: var(--paper);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.page-visas .lead-form,
.page-tours .lead-form {
  width: 410px;
  align-self: center;
  padding: 20px;
  border-radius: 9px;
  background: var(--paper);
}

.page-visas .lead-form h3,
.page-tours .lead-form h3 {
  margin: 0;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: 1.12px;
}

.page-visas .lead-form,
.page-tours .lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-visas .lead-form__fields,
.page-tours .lead-form__fields {
  display: grid;
  gap: 12px;
  width: 100%;
}

.page-visas .lead-form label,
.page-tours .lead-form label {
  gap: 4px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.page-visas .input-shell,
.page-tours .input-shell,
.page-apec .input-shell {
  position: relative;
  display: block;
  width: 100%;
  height: 51px;
  border: 1px solid rgba(25, 25, 77, 0.5);
  border-radius: 8px;
  background: var(--paper);
}

.page-visas .input-shell::after,
.page-tours .input-shell::after,
.page-apec .input-shell::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  background: center / contain no-repeat;
  pointer-events: none;
}

.page-visas .input-shell--user::after,
.page-tours .input-shell--user::after,
.page-apec .input-shell--user::after {
  background-image: url("assets/figma/form-user.svg");
}

.page-visas .input-shell--phone::after,
.page-tours .input-shell--phone::after,
.page-apec .input-shell--phone::after {
  background-image: url("assets/figma/form-phone.svg");
}

.page-visas .input-shell--location::after,
.page-tours .input-shell--location::after,
.page-apec .input-shell--location::after {
  background-image: url("assets/figma/form-location.svg");
}

.page-tours .input-shell--date::after {
  background-image: url("assets/figma/form-calendar.svg");
}

.page-visas .input-shell--select::after,
.page-apec .input-shell--select::after {
  background-image: url("assets/figma/form-chevron.svg");
  transform: translateY(-50%) rotate(90deg);
}

.page-visas .lead-form input,
.page-visas .lead-form select,
.page-tours .lead-form input,
.page-tours .lead-form select {
  height: 51px;
  background: var(--paper);
  border-color: rgba(25, 25, 77, 0.5);
  border-radius: 8px;
}

.page-visas .lead-form .input-shell input,
.page-visas .lead-form .input-shell select,
.page-tours .lead-form .input-shell input,
.page-apec .apec-form .input-shell input,
.page-apec .apec-form .input-shell select {
  width: 100%;
  height: 100%;
  padding: 0 56px 0 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
  outline: none;
}

.page-visas .lead-form .input-shell select,
.page-apec .apec-form .input-shell select {
  appearance: none;
}

.page-visas .lead-form .input-shell input::placeholder,
.page-tours .lead-form .input-shell input::placeholder,
.page-apec .apec-form .input-shell input::placeholder {
  color: rgba(25, 25, 77, 0.5);
  opacity: 1;
}

.page-visas .lead-form__accept,
.page-tours .lead-form__accept {
  display: flex;
  grid-template-columns: none;
  gap: 16px;
  align-items: flex-start;
}

.page-visas .lead-form__accept input,
.page-tours .lead-form__accept input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  appearance: none;
  padding: 0;
  border: 1px solid rgba(25, 25, 77, 0.5);
  border-radius: 3px;
  background: var(--paper);
}

.page-visas .lead-form__accept span,
.page-tours .lead-form__accept span {
  color: var(--ink-2);
}

.page-visas .lead-form__accept a,
.page-tours .lead-form__accept a {
  color: var(--purple);
}

.lead-form .lead-form__accept {
  display: flex;
  grid-template-columns: none;
  gap: 16px;
  align-items: flex-start;
}

.lead-form .lead-form__accept input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  flex: 0 0 20px;
  margin: 1px 0 0;
  padding: 0;
  appearance: auto;
  accent-color: var(--green);
}

.lead-form .lead-form__accept span {
  color: var(--ink-2);
}

.lead-form .lead-form__accept a {
  color: var(--purple);
}

.page-visas .lead-form button,
.page-tours .lead-form button {
  min-height: 48px;
  background: var(--ink-2);
  border-radius: 4px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.18px;
}

@media (max-width: 1180px) {
  .page-tours .subpage-hero__person,
  .page-visas .subpage-hero__person {
    right: -120px;
    opacity: 0.82;
  }

  .subpage-stats {
    flex-wrap: wrap;
    gap: 16px 28px;
    max-width: 480px;
  }

  .subpage-stats li {
    white-space: normal;
  }

  .tour-search--complex .search-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .page-tours .subpage-main,
  .page-visas .subpage-main {
    gap: 36px;
  }

  .page-tours .subpage-hero,
  .page-visas .subpage-hero {
    min-height: 633px;
    padding: 28px 20px;
  }

  .page-visas:not(.page-residence) .subpage-hero {
    height: auto;
    max-height: none;
  }

  .page-tours .subpage-hero::after,
  .page-visas .subpage-hero::after {
    background: linear-gradient(180deg, rgba(25, 25, 77, 0.9) 0%, rgba(25, 25, 77, 0.62) 100%);
  }

  .page-tours .subpage-hero h1,
  .page-visas .subpage-hero h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .page-visas .subpage-hero__content {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }

  .page-residence .subpage-hero__content {
    width: 100%;
  }

  .page-residence .subpage-stats {
    width: 100%;
  }

  .page-residence .hero-action {
    width: 100%;
    max-width: 309px;
  }

  .page-tours .subpage-hero h1 {
    color: var(--paper);
  }

  .page-tours .subpage-hero p,
  .page-visas .subpage-hero p {
    width: 100%;
    max-width: 330px;
  }

  .subpage-stats {
    display: grid;
    gap: 12px;
    margin: 34px 0;
  }

  .page-tours .subpage-hero__person,
  .page-visas .subpage-hero__person,
  .page-residence .subpage-hero__person-frame,
  .page-visas .subpage-hero__shape {
    display: none;
  }

  .page-tours .quick-benefits {
    margin-top: -36px;
  }

  .page-tours .quick-benefits article {
    height: auto;
    min-height: 86px;
    padding: 18px 22px;
  }

  .tour-search__body,
  .tour-search--complex .filter-row,
  .tour-search__bottom {
    grid-template-columns: 1fr;
  }

  .page-visas .lead-form-section,
  .page-tours .lead-form-section {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
  }

  .page-visas .lead-form,
  .page-tours .lead-form {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .page-tours .subpage-hero,
  .page-visas .subpage-hero {
    min-height: 433px;
    padding: 32px 20px 22px;
  }

  .page-tours .subpage-hero h1,
  .page-visas .subpage-hero h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .page-tours .subpage-hero p,
  .page-visas .subpage-hero p {
    font-size: 14px;
    line-height: 20px;
  }

  .subpage-stats {
    margin: 26px 0;
  }

  .subpage-stats li {
    font-size: 13px;
  }

  .hero-action {
    min-height: 48px;
  }

  .page-tours .hero-action {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
  }

  .page-tours .tour-search--complex {
    margin-top: 0;
    min-height: 0;
    aspect-ratio: 346 / 390;
    padding: 0;
    overflow: hidden;
    background: url("assets/figma/tour-search.png.webp") center / 100% 100% no-repeat;
    box-shadow: none;
  }

  .page-tours .tour-search--complex > * {
    display: none;
  }

  .page-visas .lead-form-section,
  .page-tours .lead-form-section {
    padding: 28px 20px;
    background-position: center;
  }
}

@media (max-width: 900px) {
  .page-tours .lead-form-section,
  .page-visas .lead-form-section {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
  }

  .page-tours .lead-form,
  .page-visas .lead-form {
    width: 100%;
    max-width: 430px;
    justify-self: start;
  }

  .page-tours .lead-copy,
  .page-tours .lead-copy__top,
  .page-tours .lead-description,
  .page-tours .lead-features,
  .page-tours .lead-features article {
    width: 100%;
    min-width: 0;
  }

  .page-tours .lead-form-section {
    background-position: center;
    background-size: cover;
  }

  .page-tours .lead-form-section h2,
  .page-visas .lead-form-section h2 {
    max-width: 560px;
  }
}

@media (max-width: 600px) {
  .page-tours .lead-form-section h2 {
    font-size: 30px;
    line-height: 38px;
    letter-spacing: 1.2px;
  }

  .page-tours .lead-eyebrow,
  .page-tours .lead-description {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.28px;
  }

  .page-tours .lead-form {
    max-width: none;
  }
}

@media (max-width: 370px) {
  .page-tours .hero-action {
    font-size: 13px;
    letter-spacing: 0;
  }
}

.page-visas .visa-logo-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.page-residence {
  overflow-x: clip;
}

.page-residence .subpage-main {
  overflow-x: clip;
}

.page-residence .subpage-hero {
  height: 494px;
  min-height: 494px;
  max-height: 494px;
  overflow: visible;
  clip-path: inset(-12px 0 0 0 round 8px);
}

.page-residence .subpage-hero::before {
  background-image: url("assets/figma/residence-hero-relocation.png.webp");
  background-position: center;
  inset: 10px 0 0;
  height: 528px;
  border-radius: var(--radius);
  opacity: 0.7;
}

.page-residence .subpage-hero::after {
  inset: 10px 0 0;
  height: 528px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #19194d 0%, rgba(25, 25, 77, 0.88) 32%, rgba(58, 58, 179, 0) 72%);
}

.page-residence .subpage-hero h1 {
  color: var(--lavender);
}

.page-residence .subpage-hero h1 span {
  color: var(--lime);
}

.page-residence .subpage-hero__person-frame {
  display: none;
}

.page-residence .subpage-hero__person-frame .subpage-hero__person {
  position: absolute;
  left: -23.2%;
  top: 0;
  right: auto;
  bottom: auto;
  width: 123.2%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: fill;
  object-position: center;
}

.page-residence .subpage-hero__shape--one {
  display: none;
}

.page-residence .subpage-hero__shape--two {
  display: none;
}

.page-residence .subpage-hero__shape--three {
  display: none;
}

.page-residence .subpage-hero__content {
  width: min(847px, calc(100% - 80px));
}

.page-residence .subpage-hero p {
  width: 416px;
  max-width: 100%;
}

.page-residence .subpage-stats {
  width: 847px;
  max-width: 100%;
}

.page-residence .hero-action {
  width: 309px;
  min-width: 0;
  padding-inline: 20px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.16px;
  white-space: nowrap;
}

.page-residence .lead-form-section {
  background:
    linear-gradient(90deg, rgba(25, 25, 77, 0.75) 0%, rgba(25, 25, 77, 0) 66.758%),
    url("assets/figma/residence-hero-relocation.png.webp") center / cover no-repeat;
}

.page-residence .lead-form-section h2 {
  width: 443px;
  max-width: 100%;
}

.page-residence .residence-partners-grid {
  grid-template-columns: repeat(6, 1fr);
}

.page-residence .residence-partners-grid img {
  grid-column: span 2;
}

.page-residence .residence-partners-grid img:nth-child(4),
.page-residence .residence-partners-grid img:nth-child(5) {
  grid-column: span 3;
}

.page-residence .residence-country-section {
  display: grid;
  gap: 30px;
}

.page-residence .residence-country-section .section-head {
  align-items: flex-end;
  margin-bottom: 0;
}

.page-residence .section-description {
  width: 424px;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
  text-align: right;
}

.page-residence .country-grid {
  gap: 10px;
}

.page-residence .country-pill {
  min-height: 56px;
  padding: 12px 16px;
  gap: 17px;
  border-radius: 8px;
  background: #d4deea;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.28px;
}

.page-residence .country-flag {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  background: url("assets/figma/residence-country-flag.png") center / cover no-repeat;
  -webkit-mask: url("assets/figma/residence-country-flag-mask.svg") center / contain no-repeat;
  mask: url("assets/figma/residence-country-flag-mask.svg") center / contain no-repeat;
  box-shadow: none;
}

.page-residence .country-more {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 8px;
  background: #d4deea;
  color: var(--ink-2);
  font: inherit;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  cursor: pointer;
}

@media (max-width: 820px) {
  .page-residence .subpage-hero__content,
  .page-residence .subpage-stats {
    width: 100%;
  }

  .page-residence .hero-action {
    width: 100%;
    max-width: 309px;
  }

  .page-residence .residence-country-section .section-head {
    align-items: stretch;
  }

  .page-residence .section-description {
    width: 100%;
    text-align: left;
  }

  .page-residence .country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-residence .subpage-hero__person-frame,
  .page-residence .subpage-hero__shape {
    display: none;
  }
}

@media (max-width: 370px) {
  .page-residence .hero-action {
    font-size: 14px;
    letter-spacing: 0;
  }
}

.page-visas .visa-logo {
  grid-column: span 2;
  min-height: 98px;
  padding: 16px 22px;
  border-radius: 8px;
}

.page-visas .visa-logo:nth-child(4),
.page-visas .visa-logo:nth-child(5) {
  grid-column: span 3;
}

.page-visas .lead-form__accept span {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

@media (max-width: 1180px) {
  .page-visas .section-head {
    align-items: flex-start;
  }

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

@media (max-width: 900px) {
  .page-visas .subpage-main {
    gap: 32px;
  }

  .page-visas .destination-grid,
  .page-visas .news-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .page-visas .destination-grid::-webkit-scrollbar,
  .page-visas .news-grid::-webkit-scrollbar {
    display: none;
  }

  .page-visas .destination-tile,
  .page-visas .news-card {
    flex: 0 0 180px;
    width: 180px;
    min-width: 180px;
    scroll-snap-align: start;
  }

  .page-visas .destination-tile:nth-child(n + 3),
  .page-visas .news-card:nth-child(n + 3) {
    display: flex;
  }

  .page-visas .social-proof {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-visas .reviews-card,
  .page-visas .partners-card {
    height: auto;
    min-height: 0;
    padding: 16px 8px;
  }

  .page-visas .partners-card {
    padding: 24px 18px 26px;
  }

  .page-visas .visa-logo-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .page-visas .visa-logo {
    min-height: 82px;
    padding: 12px 14px;
  }

  .page-visas .lead-form-section {
    gap: 40px;
    padding: 16px;
    background:
      linear-gradient(162deg, rgba(25, 25, 77, 0.95) 5%, rgba(25, 25, 77, 0) 100%),
      url("assets/figma/visa-calculation-form-bg.png.webp") center / cover no-repeat;
  }

  .page-visas .lead-copy__top {
    gap: 12px;
  }

  .page-visas .lead-form-section h2 {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 1.12px;
  }

  .page-visas .lead-eyebrow,
  .page-visas .lead-description {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.28px;
  }

  .page-visas .lead-features {
    flex-direction: column;
    gap: 20px;
  }

  .page-visas .lead-features article {
    flex-direction: row;
    align-items: center;
    width: 100%;
  }

  .page-visas .lead-features p {
    width: auto;
    max-width: none;
  }

  .page-visas .lead-form {
    max-width: none;
  }

  .page-residence .subpage-hero__person,
  .page-residence .subpage-hero__shape {
    display: none;
  }

  .page-residence .lead-form-section {
    background:
      linear-gradient(162deg, rgba(25, 25, 77, 0.95) 5%, rgba(25, 25, 77, 0) 100%),
      url("assets/figma/residence-hero-relocation.png.webp") center / cover no-repeat;
  }
}

@media (max-width: 600px) {
  .page-visas .subpage-main {
    gap: 32px;
  }

  .page-visas section:not(.subpage-hero):not(.lead-form-section) {
    width: 100%;
    min-width: 0;
  }

  .page-visas .section-head {
    width: 100%;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
  }

  .page-visas .country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-visas .country-pill {
    min-width: 0;
  }

  .page-visas .lead-form-section {
    padding: 4px;
  }

  .page-visas .lead-copy {
    width: 100%;
    min-width: 0;
    padding: 12px 12px 0;
  }

  .page-visas .lead-copy__top,
  .page-visas .lead-description,
  .page-visas .lead-features,
  .page-visas .lead-features article {
    width: 100%;
    min-width: 0;
  }

  .page-visas .lead-form {
    width: 100%;
    padding: 20px;
  }

  .page-visas .lead-form h3 {
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0.18px;
  }

  .page-visas .lead-form__accept span {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
  }

  .page-visas .telegram-banner {
    min-height: 0;
  }
}

@media (max-width: 1180px) {
  body {
    padding-top: 78px;
  }

  body.menu-open {
    overflow: hidden;
  }

  main,
  .subpage-main {
    padding-top: 0;
  }

  .site-header {
    position: fixed;
    top: 10px;
    left: 50%;
    z-index: 100;
    width: min(100% - 20px, var(--container));
    min-height: 58px;
    margin-top: 0;
    display: flex;
    transform: translateX(-50%);
    overflow: visible;
  }

  .site-header::after {
    content: none;
  }

  .main-nav,
  .header-contacts {
    display: none;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    flex: 0 0 36px;
  }

  .site-header.menu-open .menu-toggle span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    display: grid;
    width: min(calc(100vw - 20px), 430px);
    max-height: calc(100vh - 88px);
    padding: 20px;
    gap: 20px;
    border-radius: var(--radius);
    background: var(--ink);
    box-shadow: 0 18px 40px rgba(25, 25, 77, 0.25);
    transform: translate(-50%, -8px);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .site-header.menu-open .mobile-menu {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu__nav {
    display: grid;
    gap: 12px;
  }

  .mobile-menu__nav a {
    min-height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(239, 238, 236, 0.16);
    color: var(--paper);
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    letter-spacing: 0.18px;
  }

  .mobile-menu__contacts {
    display: grid;
    gap: 8px;
    padding-top: 4px;
    color: rgba(239, 238, 236, 0.65);
    font-size: 14px;
    line-height: 20px;
  }

  .mobile-menu__contacts .phone {
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 0.18px;
  }

  .mobile-menu__contacts a:not(.phone) {
    color: var(--lavender);
    overflow-wrap: anywhere;
  }

  .mobile-menu__socials {
    display: flex;
    gap: 8px;
    padding-top: 8px;
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 48px;
  }

  main {
    padding-top: 0;
  }

  .site-header {
    top: 0;
    width: 100%;
    height: 40px;
    min-height: 40px;
    border-radius: 0;
  }

  .mobile-menu {
    top: calc(100% + 8px);
    width: calc(100% - 14px);
    max-height: calc(100vh - 56px);
  }
}

.content-page {
  gap: 50px;
}

.page-extra .site-header + .content-page {
  padding-top: 10px;
}

.eyebrow,
.lead-eyebrow {
  color: var(--lime);
  font-size: 14px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-title-card,
.simple-hero,
.legal-document,
.article-page,
.contact-panel,
.map-card {
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.page-title-card {
  min-height: 258px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.page-title-card h1,
.simple-hero h1,
.legal-document h1,
.article-page h1 {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: clamp(34px, 4.1vw, 62px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.page-title-card p,
.simple-hero p {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: rgba(239, 238, 236, 0.78);
}

.page-title-card--split {
  min-height: 300px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.simple-hero {
  min-height: 494px;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: minmax(0, 610px) minmax(280px, 1fr);
  align-items: center;
  gap: 36px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(25, 25, 77, 0.98), rgba(25, 25, 77, 0.66)),
    url("assets/figma/visa-hero-bg.png.webp") center / cover no-repeat;
}

.simple-hero > img {
  justify-self: end;
  max-height: 440px;
  object-fit: contain;
}

.service-grid,
.benefits-grid--page,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-grid article,
.benefits-grid--page article,
.blog-card {
  min-width: 0;
  border: 1px solid rgba(25, 25, 77, 0.45);
  border-radius: var(--radius);
  background: var(--paper);
}

.service-grid article,
.benefits-grid--page article {
  min-height: 220px;
  padding: 28px;
}

.service-grid img,
.benefits-grid--page img {
  width: 72px;
  height: 72px;
  margin-bottom: 32px;
}

.service-grid h2,
.benefits-grid--page h2,
.service-grid h3 {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 32px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.service-grid p,
.benefits-grid--page p {
  margin: 0;
  color: rgba(25, 25, 77, 0.58);
  font-size: 18px;
  line-height: 25px;
  font-weight: 700;
}

.about-leader,
.contacts-layout,
.country-article {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 20px;
}

.about-leader {
  align-items: stretch;
}

.about-leader img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-leader > div,
.country-article {
  padding: 40px;
  border-radius: var(--radius);
  background: var(--muted-blue);
}

.about-leader h2,
.country-article h2,
.contact-panel h2,
.map-card h2 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 38px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.about-leader p,
.country-article p {
  margin: 18px 0;
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}

.about-leader blockquote {
  margin: 30px 0 0;
  color: var(--purple);
  font-size: 24px;
  line-height: 32px;
  font-weight: 800;
}

.contacts-layout {
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
}

.contact-panel,
.map-card {
  padding: 40px;
}

.contact-panel {
  display: grid;
  gap: 18px;
}

.contact-panel .phone {
  font-size: 28px;
  line-height: 34px;
}

.contact-panel p,
.contact-panel small,
.map-card p {
  margin: 0;
  color: rgba(239, 238, 236, 0.62);
  font-size: 16px;
  line-height: 22px;
}

.contact-panel a:not(.phone) {
  color: var(--lavender);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-panel strong {
  font-size: 20px;
  line-height: 27px;
}

.contact-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-socials a {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--lime);
  display: grid;
  place-items: center;
}

.contact-socials img {
  width: 52px;
  height: 52px;
}

.map-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(25, 25, 77, 0.24), rgba(25, 25, 77, 0.94)),
    url("assets/destination-image.jpg.webp") center / cover no-repeat;
}

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

.blog-card {
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(25, 25, 77, 0.18);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.blog-card time,
.blog-card h2 {
  display: block;
  margin-inline: 20px;
}

.blog-card time {
  margin-top: 18px;
  color: rgba(25, 25, 77, 0.58);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.blog-card h2 {
  margin-top: 10px;
  margin-bottom: 24px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 800;
}

.article-page,
.legal-document {
  width: min(100%, 960px);
  margin-inline: auto;
  padding: 56px 64px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(25, 25, 77, 0.35);
}

.article-page time {
  color: var(--purple);
  font-weight: 800;
}

.article-page img {
  width: 100%;
  max-height: 420px;
  margin: 32px 0;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-page p,
.legal-document p {
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
}

.article-page h2,
.legal-document h2 {
  margin-top: 34px;
  font-size: 30px;
  line-height: 36px;
}

.legal-document {
  width: min(100%, 1100px);
}

.country-article {
  grid-template-columns: 1fr;
}

.country-article .service-grid {
  margin-top: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-residence-spain .subpage-main {
  gap: 100px;
}

.spain-top-stack {
  display: grid;
  gap: 10px;
}

.page-residence-spain .subpage-hero {
  height: 484px;
  min-height: 484px;
  max-height: 484px;
  overflow: hidden;
  clip-path: none;
}

.page-residence-spain .subpage-hero::before {
  inset: 0;
  height: 484px;
  border-radius: var(--radius);
  background-image: url("assets/figma/spain-hero-bg.png.webp");
  background-position: center 22%;
  background-size: 100% 176.31%;
  opacity: 0.7;
}

.page-residence-spain .subpage-hero::after {
  inset: 0;
  height: 484px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #19194d 0%, rgba(25, 25, 77, 0.88) 33%, rgba(58, 58, 179, 0) 69.258%);
}

.page-residence-spain .subpage-hero__content {
  position: absolute;
  left: 40px;
  top: calc(50% - 7px);
  width: min(847px, calc(100% - 80px));
  transform: translateY(-50%);
}

.page-residence-spain .subpage-hero h1 span {
  color: var(--lime);
}

.page-residence-spain .subpage-hero p {
  width: 438px;
}

.page-residence-spain .subpage-stats {
  width: 847px;
}

.page-residence-spain .spain-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  min-height: 400px;
}

.spain-intro__media,
.spain-intro__copy {
  min-width: 0;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
}

.spain-intro__media {
  position: relative;
  background: #d4deea;
}

.spain-intro__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spain-intro__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px 75px;
  background: #d4deea;
}

.spain-intro__copy p {
  width: 555px;
  max-width: 100%;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.18px;
}

.spain-intro__copy p:last-child {
  margin-bottom: 0;
}

.page-residence-spain .lead-form-section {
  background:
    linear-gradient(90deg, rgba(25, 25, 77, 0.75) 0%, rgba(25, 25, 77, 0) 66.758%),
    url("assets/figma/spain-form-bg.png.webp") center -186px / 100% 133.86% no-repeat;
}

@media (max-width: 900px) {
  .page-residence-spain .subpage-main {
    gap: 32px;
  }

  .page-residence-spain .subpage-hero {
    height: auto;
    min-height: 430px;
    max-height: none;
    padding: 28px 20px;
  }

  .page-residence-spain .subpage-hero::before,
  .page-residence-spain .subpage-hero::after {
    height: 100%;
  }

  .page-residence-spain .subpage-hero::before {
    background-size: cover;
    background-position: center;
  }

  .page-residence-spain .subpage-hero__content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
  }

  .page-residence-spain .subpage-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .page-residence-spain .spain-intro {
    grid-template-columns: 1fr;
  }

  .spain-intro__media {
    height: 260px;
  }

  .spain-intro__copy {
    height: auto;
    padding: 24px;
  }

  .spain-intro__copy p {
    font-size: 16px;
    line-height: 22px;
  }

  .page-residence-spain .lead-form-section {
    background:
      linear-gradient(162deg, rgba(25, 25, 77, 0.95) 5%, rgba(25, 25, 77, 0) 100%),
      url("assets/figma/spain-form-bg.png.webp") center / cover no-repeat;
  }
}

@media (max-width: 600px) {
  .page-residence-spain .subpage-hero h1 {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 1.12px;
  }

  .page-residence-spain .subpage-hero p {
    width: 100%;
    font-size: 16px;
    line-height: 22px;
  }

  .spain-intro__media {
    height: 210px;
  }

  .spain-intro__copy {
    padding: 20px;
  }
}

.page-about .content-page {
  gap: 60px;
}

.about-hero-stack {
  display: grid;
}

.about-hero {
  position: relative;
  height: 485px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--lime);
}

.about-hero__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-about .about-hero::before {
  content: none;
}

.page-about .about-hero::after {
  content: none;
}

.about-hero__decor {
  position: absolute;
  pointer-events: none;
}

.about-hero__decor--one {
  left: 824px;
  top: 82px;
  width: 170px;
  height: 166px;
}

.about-hero__decor--two {
  left: -101px;
  top: 388px;
  width: 368px;
  height: 327px;
}

.about-hero__decor--three {
  left: 1020px;
  top: 292px;
  width: 278px;
  height: 301px;
}

.about-hero__decor--four {
  left: -78px;
  top: -90px;
  width: 228px;
  height: 227px;
}

.about-hero__decor--five {
  left: 319px;
  top: 98px;
  width: 171px;
  height: 147px;
}

.about-hero__decor--six {
  left: 1159px;
  top: -40px;
  width: 174px;
  height: 202px;
}

.about-hero__logo {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 40px;
  width: 300px;
  display: grid;
  justify-items: center;
  transform: translateX(-50%);
  color: var(--ink);
  text-align: center;
  text-transform: uppercase;
}

.about-hero__logo img {
  width: 139px;
  height: 139px;
}

.about-hero__logo strong {
  margin-top: 8px;
  font-family: "SONGER Condensed", "Bahnschrift Condensed", "Arial Narrow", Muller, sans-serif;
  font-size: 71px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 1.42px;
  transform: scaleX(0.835);
  transform-origin: center;
}

.about-hero__logo span {
  margin-top: 2px;
  font-size: 16px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.96px;
  opacity: 1;
}

.about-hero h1 {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 61px;
  width: 488px;
  max-width: calc(100% - 40px);
  margin: 0;
  color: var(--ink-2);
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 1.52px;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.about-benefit-strip {
  min-height: 106px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--muted-blue);
}

.about-benefit-strip article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
}

.about-benefit-strip img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
}

.about-benefit-strip h2 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.18px;
}

.about-benefit-strip p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.page-about .about-leader {
  grid-template-columns: minmax(0, 635px) minmax(0, 636px);
  gap: 10px;
}

.page-about .about-leader > div {
  min-height: 636px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  border-radius: var(--radius);
  background: var(--muted-blue);
}

.page-about .about-leader h2 {
  margin: 0 0 10px;
  color: var(--ink-2);
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 1.52px;
  text-transform: uppercase;
}

.page-about .about-leader header > strong {
  display: inline-flex;
  padding: 4px 8px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.page-about .about-leader__intro {
  display: grid;
  gap: 14px;
}

.page-about .about-leader p {
  width: 555px;
  max-width: 100%;
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.page-about .about-leader__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-about .about-leader__facts li {
  min-height: 106px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(41, 51, 136, 0.22);
  border-radius: var(--radius);
  background: rgba(239, 238, 236, 0.48);
}

.page-about .about-leader__facts strong {
  color: var(--ink-2);
  font-size: 24px;
  line-height: 28px;
  font-weight: 800;
}

.page-about .about-leader__facts span {
  color: rgba(25, 25, 77, 0.68);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.page-about .about-leader footer {
  display: grid;
  gap: 14px;
}

.page-about .about-leader blockquote {
  display: inline-flex;
  max-width: 100%;
  margin: 0;
  padding: 4px 8px;
  background: var(--lavender);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.28px;
}

.page-about .about-leader img {
  width: 100%;
  height: 636px;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

.page-about .service-grid article,
.page-about .service-grid .service-card {
  height: 306px;
  min-height: 306px;
  padding: 20px;
}

.page-about .service-grid img {
  width: 70px;
  height: 70px;
  margin-bottom: 0;
}

.page-about .service-grid article,
.page-about .service-grid .service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about .service-grid h2 {
  margin-bottom: 16px;
  font-size: 28px;
  line-height: 34px;
  letter-spacing: 1.12px;
}

.page-about .service-grid p {
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.56px;
}

.about-goal {
  display: grid;
  gap: 40px;
}

.about-goal > header {
  width: min(687px, 100%);
  margin-inline: auto;
  text-align: center;
}

.about-goal > header p {
  margin: 0 0 20px;
  color: var(--purple);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.about-goal h2 {
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 1.52px;
  text-transform: uppercase;
}

.about-goal__grid {
  display: grid;
  grid-template-columns: minmax(0, 635px) repeat(2, minmax(0, 313px));
  grid-template-rows: repeat(2, 212px);
  gap: 10px;
}

.about-goal__photo {
  grid-row: 1 / span 2;
  width: 100%;
  height: 434px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-goal article {
  min-width: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  background: var(--muted-blue);
}

.about-goal article img {
  width: 60px;
  height: 60px;
}

.about-goal h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.18px;
}

.about-goal article p {
  margin: 0;
  color: rgba(25, 25, 77, 0.6);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

@media (max-width: 1180px) {
  .about-hero__decor {
    opacity: 0.75;
  }

  .about-benefit-strip {
    flex-wrap: wrap;
  }

  .about-benefit-strip article {
    flex: 1 1 42%;
  }

  .page-about .about-leader,
  .about-goal__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-goal__photo {
    grid-row: auto;
    height: 320px;
  }
}

@media (max-width: 700px) {
  .page-about .content-page {
    gap: 32px;
  }

  .about-hero {
    height: 300px;
  }

  .about-hero__image {
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .page-about .about-hero::before {
    top: 28px;
    width: min(230px, calc(100% - 44px));
    height: 190px;
  }

  .page-about .about-hero::after {
    bottom: 30px;
    width: min(300px, calc(100% - 16px));
    height: 62px;
  }

  .about-hero__decor {
    opacity: 0.45;
  }

  .about-hero__logo {
    top: 34px;
    transform: translateX(-50%) scale(0.62);
    transform-origin: top center;
  }

  .about-hero h1 {
    bottom: 38px;
    font-size: 26px;
    line-height: 32px;
    letter-spacing: 1.04px;
  }

  .about-benefit-strip,
  .page-about .about-leader,
  .about-goal__grid {
    grid-template-columns: 1fr;
  }

  .about-benefit-strip {
    display: grid;
    padding: 20px;
    gap: 18px;
  }

  .about-benefit-strip article {
    flex: none;
  }

  .page-about .about-leader > div,
  .page-about .about-leader img {
    min-height: 0;
    height: auto;
  }

  .page-about .about-leader > div {
    padding: 24px;
    gap: 20px;
  }

  .page-about .about-leader__facts {
    grid-template-columns: 1fr;
  }

  .page-about .about-leader img {
    aspect-ratio: 1;
  }

  .page-about .about-leader h2,
  .about-goal h2 {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 1.12px;
  }

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

  .page-about .service-grid article,
  .page-about .service-grid .service-card {
    height: auto;
    min-height: 240px;
  }

  .about-goal__photo {
    height: 260px;
  }

  .about-goal__grid {
    grid-template-rows: auto;
  }

  .about-goal article {
    min-height: 190px;
  }
}

.page-apec .site-header {
  z-index: 40;
}

.page-apec .apec-main {
  width: 100%;
  margin-inline: 0;
  padding: 10px 0 0;
}

.apec-stage {
  position: relative;
  min-height: 957px;
  overflow: hidden;
}

.apec-backdrop {
  width: min(var(--container), calc(100% - 160px));
  margin-inline: auto;
  display: grid;
  gap: 10px;
}

.apec-backdrop__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.apec-backdrop__hero > div,
.apec-backdrop__hero > img {
  height: 680px;
  border-radius: 8px 8px 40px 8px;
  overflow: hidden;
}

.apec-backdrop__hero > div {
  padding: 106px 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: var(--paper);
  text-align: center;
  background:
    url("assets/figma/apec-backdrop-left.svg") center / cover no-repeat,
    var(--ink);
}

.apec-backdrop__hero h2 {
  margin: 0;
  color: var(--paper);
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apec-backdrop__hero h2 span:first-of-type,
.apec-backdrop__hero h2 span:last-of-type {
  color: var(--lime);
}

.apec-backdrop__hero p {
  max-width: 393px;
  margin: 20px auto 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.apec-backdrop__hero button {
  width: 595px;
  max-width: 100%;
  height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--muted-blue);
  color: var(--ink);
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  cursor: default;
}

.apec-backdrop__hero small {
  display: block;
  margin-top: 20px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.apec-backdrop__hero > img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px 8px 8px 40px;
}

.apec-backdrop__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.apec-backdrop__cards article {
  height: 306px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 8px;
  background: var(--muted-blue);
  color: var(--ink);
}

.apec-backdrop__cards article:first-child,
.apec-backdrop__cards article:last-child {
  background: var(--ink);
  color: var(--paper);
}

.apec-backdrop__cards article:nth-child(2) {
  border-top-right-radius: 40px;
  background: var(--lavender);
}

.apec-backdrop__cards article:nth-child(3) {
  border-top-left-radius: 40px;
}

.apec-backdrop__cards img {
  width: 70px;
  height: 70px;
}

.apec-backdrop__cards h3 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apec-backdrop__cards p {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.apec-dim {
  position: absolute;
  z-index: 4;
  inset: -68px 0 0;
  background: rgba(25, 25, 77, 0.9);
}

.apec-close {
  position: absolute;
  z-index: 8;
  top: 86px;
  right: calc(50% - 460px);
  width: 43px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--lime);
}

.apec-close::before,
.apec-close::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 18px;
  width: 21px;
  height: 2px;
  border-radius: 1px;
  background: #0e111b;
}

.apec-close::before {
  transform: rotate(45deg);
}

.apec-close::after {
  transform: rotate(-45deg);
}

.apec-modal {
  position: absolute;
  z-index: 7;
  top: 135px;
  left: 50%;
  width: 919px;
  min-height: 638px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--paper);
  transform: translateX(-50%);
  background: url("assets/figma/apec-business-hero-bg.png.webp") center / cover no-repeat;
}

.apec-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(25, 25, 77, 0.75) 0%, rgba(25, 25, 77, 0) 66.76%);
}

.apec-modal__copy,
.apec-form {
  position: relative;
  z-index: 1;
}

.apec-modal__copy {
  width: 390px;
  min-height: 558px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.apec-modal__copy span {
  display: block;
  color: var(--lime);
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.apec-modal__copy h1 {
  margin: 20px 0;
  color: var(--paper);
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apec-modal__copy p {
  width: 329px;
  max-width: 100%;
  margin: 0;
  color: var(--paper);
  font-size: 18px;
  line-height: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.apec-modal__features {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
  list-style: none;
}

.apec-modal__features li {
  display: grid;
  gap: 12px;
  color: var(--paper);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.apec-modal__features img {
  width: 40px;
  height: 40px;
}

.apec-form {
  width: 410px;
  min-height: 558px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 9px;
  background: var(--paper);
  color: var(--ink);
}

.apec-form h2 {
  margin: 0;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.apec-form__fields {
  display: grid;
  gap: 12px;
}

.apec-form label {
  display: grid;
  gap: 4px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.apec-form .input-shell {
  height: 51px;
  background: var(--paper);
}

.apec-form__accept {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 16px !important;
}

.apec-form__accept input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 20px;
  appearance: none;
  border: 1px solid rgba(25, 25, 77, 0.5);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.apec-form__accept input[type="checkbox"]:checked {
  border-color: var(--ink-2);
  background:
    var(--ink-2)
    url("data:image/svg+xml,%3Csvg width='14' height='11' viewBox='0 0 14 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.2 5.4L5.1 9.2L12.8 1.3' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px 11px no-repeat;
}

.apec-form__accept input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(41, 51, 136, 0.28);
  outline-offset: 2px;
}

.apec-form__accept span {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.apec-form__accept a {
  color: var(--purple);
}

.apec-form button {
  width: 100%;
  height: 48px;
  margin-top: auto;
  border: 0;
  border-radius: 4px;
  background: var(--ink-2);
  color: var(--paper);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.destination-card button:disabled,
.lead-form button:disabled,
.apec-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

body.apec-popup-open {
  overflow: hidden;
}

.apec-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  overflow-y: auto;
  padding: 72px 16px;
}

.apec-popup.is-open {
  display: block;
}

.apec-popup__overlay {
  position: fixed;
  inset: 0;
  background: rgba(25, 25, 77, 0.9);
}

.apec-popup .apec-stage {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.apec-popup .apec-close {
  position: fixed;
  top: max(20px, calc(50% - 384px));
  right: max(24px, calc(50% - 522px));
}

.apec-popup .apec-modal {
  position: relative;
  top: auto;
  left: auto;
  width: min(919px, 100%);
  transform: none;
}

@media (max-width: 1180px) {
  .apec-backdrop {
    width: min(var(--container), calc(100% - 32px));
  }

  .apec-backdrop__hero {
    grid-template-columns: 1fr;
  }

  .apec-backdrop__hero > div,
  .apec-backdrop__hero > img {
    height: 430px;
  }

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

  .apec-close {
    top: 68px;
    right: max(16px, calc(50% - 459px));
  }

  .apec-modal {
    top: 118px;
    width: calc(100% - 32px);
    max-width: 919px;
  }

  .apec-popup {
    padding: 68px 16px 28px;
  }

  .apec-popup .apec-close {
    top: 24px;
    right: 24px;
  }

  .apec-popup .apec-modal {
    top: auto;
    width: min(919px, 100%);
  }
}

@media (max-width: 760px) {
  .page-apec .apec-main {
    padding-top: 0;
  }

  .apec-stage {
    min-height: 1180px;
  }

  .apec-backdrop {
    width: calc(100% - 14px);
  }

  .apec-backdrop__hero > div,
  .apec-backdrop__hero > img {
    height: 300px;
  }

  .apec-backdrop__hero > div {
    padding: 28px 18px;
  }

  .apec-backdrop__hero h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .apec-backdrop__cards {
    grid-template-columns: 1fr;
  }

  .apec-backdrop__cards article {
    height: auto;
    min-height: 220px;
  }

  .apec-dim {
    inset: -48px 0 0;
  }

  .apec-close {
    top: 18px;
    right: 18px;
  }

  .apec-modal {
    top: 68px;
    width: calc(100% - 14px);
    min-height: 0;
    padding: 20px;
    flex-direction: column;
    gap: 24px;
  }

  .apec-popup {
    padding: 68px 7px 24px;
  }

  .apec-popup .apec-stage {
    align-items: flex-start;
    min-height: auto;
  }

  .apec-popup .apec-modal {
    top: auto;
    width: 100%;
  }

  .apec-modal__copy,
  .apec-form {
    width: 100%;
    min-height: 0;
  }

  .apec-modal__copy {
    gap: 32px;
  }

  .apec-modal__copy h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .apec-modal__copy p {
    font-size: 16px;
    line-height: 22px;
  }

  .apec-modal__features {
    gap: 20px;
    justify-content: space-between;
  }

  .apec-form {
    padding: 18px;
  }

  .apec-form h2 {
    font-size: 24px;
    line-height: 30px;
  }
}

@media (max-width: 370px) {
  .apec-modal {
    padding: 16px;
  }

  .apec-modal__features {
    gap: 12px;
  }

  .apec-modal__features li {
    font-size: 12px;
    line-height: 17px;
  }

  .apec-form {
    padding: 14px;
  }
}

@media (max-width: 1180px) {
  .content-page {
    gap: 36px;
  }

  .simple-hero,
  .about-leader,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .simple-hero {
    min-height: 0;
  }

  .simple-hero > img {
    justify-self: center;
    max-height: 330px;
  }

  .service-grid,
  .benefits-grid--page,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 700px) {
  .content-page {
    padding-bottom: 40px;
  }

  .page-title-card,
  .simple-hero,
  .contact-panel,
  .map-card,
  .about-leader > div,
  .country-article,
  .article-page,
  .legal-document {
    padding: 28px 20px;
  }

  .page-title-card--split {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-title-card h1,
  .simple-hero h1,
  .legal-document h1,
  .article-page h1 {
    font-size: 32px;
    line-height: 38px;
  }

  .page-title-card p,
  .simple-hero p,
  .about-leader p,
  .country-article p,
  .article-page p,
  .legal-document p {
    font-size: 16px;
    line-height: 24px;
  }

  .service-grid,
  .benefits-grid--page,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .service-grid article,
  .benefits-grid--page article {
    min-height: 0;
    padding: 22px;
  }

  .service-grid img,
  .benefits-grid--page img {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
  }

  .service-grid h2,
  .benefits-grid--page h2,
  .service-grid h3,
  .about-leader h2,
  .country-article h2,
  .contact-panel h2,
  .map-card h2,
  .article-page h2,
  .legal-document h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .service-grid p,
  .benefits-grid--page p {
    font-size: 16px;
    line-height: 22px;
  }

  .about-leader {
    gap: 12px;
  }

  .about-leader img {
    min-height: 280px;
  }

  .about-leader blockquote {
    font-size: 19px;
    line-height: 26px;
  }

  .contact-panel .phone {
    font-size: 24px;
    line-height: 30px;
  }

  .map-card {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .page-about .about-hero {
    overflow: hidden;
  }

  .page-about .about-hero__decor--one,
  .page-about .about-hero__decor--five {
    display: none;
  }

  .page-about .about-leader,
  .page-about .about-goal__grid {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .page-about .about-leader > div,
  .page-about .about-leader header,
  .page-about .about-leader footer,
  .page-about .about-leader h2,
  .page-about .about-leader p,
  .page-about .about-leader blockquote,
  .page-about .about-leader img,
  .page-about .about-goal__photo,
  .page-about .about-goal article {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .page-about .about-leader > div {
    padding: 24px;
  }

  .page-about .about-leader h2,
  .page-about .about-goal h2 {
    overflow-wrap: anywhere;
  }
}

.page-contacts .content-page {
  gap: 0;
}

.contacts-hero {
  background: var(--lavender);
}

.contacts-hero .about-hero__decor {
  object-fit: fill;
}

.contacts-hero .about-hero__decor--one {
  width: 170px;
  height: 166px;
}

.contacts-hero .about-hero__decor--two {
  left: -101px;
  top: 388px;
  width: 368px;
  height: 327px;
}

.contacts-hero .about-hero__decor--three {
  left: 1020.5px;
  right: auto;
  top: 292px;
  bottom: auto;
  width: 278px;
  height: 301px;
}

.contacts-hero .about-hero__decor--four {
  width: 228px;
  height: 227px;
}

.contacts-hero .about-hero__decor--five {
  width: 171px;
  height: 147px;
}

.contacts-hero .about-hero__decor--six {
  left: 1063.5px;
  right: auto;
  top: -40px;
  width: 174px;
  height: 202px;
}

.contacts-hero .about-hero__logo span,
.contacts-hero h1 {
  color: #9162c8;
}

.contacts-hero .about-hero__logo {
  top: 40px;
  width: 300px;
}

.contacts-hero h1 {
  bottom: 61px;
}

.contacts-layout--figma {
  grid-template-columns: minmax(0, 635px) minmax(0, 636px);
  gap: 10px;
}

.contacts-hero + .contacts-layout--figma {
  margin-top: 10px;
}

.contacts-layout--figma + .social-proof,
.page-contacts .social-proof + .telegram-banner {
  margin-top: 60px;
}

.contacts-layout--figma .contact-panel {
  position: relative;
  min-height: 624px;
  padding: 40px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.contact-panel__mark {
  position: absolute;
  left: 374px;
  top: 52px;
  width: 522px;
  height: 522px;
  opacity: 0.1;
  background: var(--lavender);
  pointer-events: none;
  -webkit-mask: url("assets/figma/about-logo-mark.svg") center / contain no-repeat;
  mask: url("assets/figma/about-logo-mark.svg") center / contain no-repeat;
}

.contact-panel__inner {
  position: relative;
  z-index: 1;
  width: 226px;
  min-height: 544px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contacts-layout--figma .contact-panel .phone {
  color: var(--lime);
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: 1.12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.contacts-layout--figma .contact-panel p,
.contacts-layout--figma .contact-panel small {
  margin: 0;
  color: rgba(239, 238, 236, 0.5);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.contacts-layout--figma .contact-panel a:not(.phone) {
  color: var(--lavender);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.18px;
  overflow-wrap: anywhere;
}

.contacts-layout--figma .contact-panel strong {
  display: block;
  width: 270px;
  max-width: calc(100vw - 88px);
  color: var(--paper);
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: 0.18px;
}

.contact-mini-socials {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.contact-mini-socials a,
.contacts-layout--figma .contact-socials a {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  line-height: 0;
}

.contacts-layout--figma .contact-socials {
  gap: 8px;
}

.contacts-layout--figma .contact-socials a {
  background: var(--lime);
}

.contact-mini-socials img,
.contacts-layout--figma .contact-socials img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.contact-map-links a {
  position: relative;
  background: var(--paper);
}

.contact-map-links .contact-map-links__icon {
  position: absolute;
  object-fit: cover;
  pointer-events: none;
}

.contact-map-links .contact-map-links__icon--google,
.contact-map-links .contact-map-links__icon--red {
  left: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
}

.contact-map-links .contact-map-links__icon--google-large {
  left: 8px;
  top: 8px;
  width: 36px;
  height: 36px;
}

.map-card--figma {
  min-height: 624px;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--muted-blue);
  color: #000;
  overflow: hidden;
}

.map-card--figma iframe {
  display: block;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  border: 0;
}

.map-card__links {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border-top: 1px solid rgba(22, 22, 69, 0.12);
}

.map-card__links a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .contacts-layout--figma {
    grid-template-columns: 1fr;
  }

  .contacts-layout--figma .contact-panel,
  .map-card--figma {
    min-height: 0;
  }

  .map-card--figma {
    height: 320px;
  }

  .map-card__links {
    padding: 10px 12px;
  }
}

@media (max-width: 700px) {
  .page-contacts .content-page {
    gap: 0;
  }

  .contacts-hero + .contacts-layout--figma,
  .contacts-layout--figma + .social-proof,
  .page-contacts .social-proof + .telegram-banner {
    margin-top: 32px;
  }

  .page-contacts .about-hero {
    height: 360px;
    overflow: hidden;
  }

  .page-contacts .about-hero__decor--one,
  .page-contacts .about-hero__decor--five {
    display: none;
  }

  .contacts-layout--figma,
  .contacts-layout--figma .contact-panel,
  .contact-panel__inner,
  .contacts-layout--figma .contact-panel strong,
  .map-card--figma {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .contacts-layout--figma .contact-panel {
    padding: 28px 20px;
  }

  .contacts-layout--figma .contact-panel .phone {
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.44px;
  }
}

.page-blog .content-page,
.page-article .content-page,
.page-legal .content-page {
  gap: 60px;
}

.blog-hero {
  height: 485px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink) url("assets/figma/blog-hero-bg.svg") center / 100% 100% no-repeat;
}

.blog-hero__content {
  width: 488px;
  max-width: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.blog-hero h1 {
  margin: 0;
  color: var(--paper);
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 1.52px;
  text-transform: uppercase;
}

.blog-hero p {
  width: 423px;
  max-width: 100%;
  margin: 0;
  color: var(--lime);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.blog-hero__socials {
  display: flex;
  gap: 8px;
}

.destination-page {
  gap: 80px;
}

.destination-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.98fr) minmax(420px, 1fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 64px);
  min-height: 460px;
  padding: 24px;
  border: 1px solid rgba(25, 25, 77, 0.12);
  background: #fff;
  color: var(--ink);
}

.destination-hero::before,
.destination-hero::after {
  display: none;
}

.destination-hero__image {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
}

.destination-hero__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.destination-hero .subpage-hero__content {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 36px clamp(16px, 2vw, 32px);
}

.destination-hero h1 {
  max-width: 760px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}

.destination-hero p {
  width: auto;
  max-width: 660px;
  color: rgba(25, 25, 77, 0.72);
}

.destination-hero .subpage-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, max-content));
  gap: 18px clamp(20px, 3vw, 42px);
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 12px 0 32px;
}

.destination-hero .subpage-stats li {
  min-width: 0;
  color: var(--ink);
  white-space: normal;
}

.destination-hero .subpage-stats img {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

.destination-hero .subpage-stats li:nth-child(3) {
  grid-column: 1 / -1;
}

.destination-content {
  width: 100%;
  max-width: 1240px;
}

.destination-content article {
  display: grid;
  gap: 18px;
}

.destination-content h2 {
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 46px;
}

.destination-content p {
  margin: 0;
  color: rgba(25, 25, 77, 0.72);
  font-size: 18px;
  line-height: 30px;
}

.destination-content h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 32px;
}

.destination-content ul,
.destination-content ol {
  margin: 0;
  padding-left: 22px;
  color: rgba(25, 25, 77, 0.72);
  font-size: 17px;
  line-height: 28px;
}

.destination-content li + li {
  margin-top: 8px;
}

.destination-seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0 10px;
}

.destination-seo-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(25, 25, 77, 0.16);
  border-radius: var(--radius);
  background: #fff;
}

.destination-steps {
  position: relative;
  counter-reset: destination-step;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 16px;
  margin: 8px 0 12px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(25, 25, 77, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(145, 98, 200, 0.11), rgba(224, 249, 31, 0.14)),
    #fff;
  list-style: none;
}

.destination-steps::before {
  content: "";
  position: absolute;
  left: 44px;
  right: 44px;
  top: 54px;
  height: 2px;
  background: linear-gradient(90deg, rgba(115, 71, 218, 0), rgba(115, 71, 218, 0.4), rgba(224, 249, 31, 0));
}

.destination-steps li {
  position: relative;
  z-index: 1;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(25, 25, 77, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(25, 25, 77, 0.08);
  color: rgba(25, 25, 77, 0.78);
  font-size: 16px;
  line-height: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.destination-steps li::before {
  counter-increment: destination-step;
  content: counter(destination-step, decimal-leading-zero);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink-2);
  color: var(--paper);
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 8px rgba(115, 71, 218, 0.12);
}

.destination-steps li:nth-child(2n)::before {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 8px rgba(224, 249, 31, 0.22);
}

.destination-steps li:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(25, 25, 77, 0.12);
}

.destination-faq {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding: 22px;
  border: 1px solid rgba(25, 25, 77, 0.12);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 12%, rgba(224, 249, 31, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(115, 71, 218, 0.1), rgba(255, 255, 255, 0.94)),
    #fff;
}

.destination-faq h3 {
  font-size: 20px;
  line-height: 28px;
}

.destination-faq > section {
  padding: 20px;
  border: 1px solid rgba(25, 25, 77, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(25, 25, 77, 0.07);
}

.destination-faq > section > h3 {
  margin: 0 0 10px;
}

.destination-faq > section > p {
  font-size: 16px;
  line-height: 26px;
}

.destination-faq.is-enhanced {
  gap: 10px;
}

.destination-faq.is-enhanced > section {
  padding: 0;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.destination-faq.is-enhanced > section.is-open {
  border-color: rgba(115, 71, 218, 0.38);
  box-shadow: 0 16px 40px rgba(25, 25, 77, 0.11);
}

.destination-faq.is-enhanced > section > h3 {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
}

.destination-faq__question {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.destination-faq__question:hover {
  background: rgba(115, 71, 218, 0.06);
}

.destination-faq__question:focus-visible {
  outline: 3px solid rgba(115, 71, 218, 0.28);
  outline-offset: -3px;
}

.destination-faq__icon {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(25, 25, 77, 0.08);
}

.destination-faq__icon::before,
.destination-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.destination-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.destination-faq__question[aria-expanded="true"] .destination-faq__icon {
  background: var(--ink-2);
}

.destination-faq__question[aria-expanded="true"] .destination-faq__icon::before,
.destination-faq__question[aria-expanded="true"] .destination-faq__icon::after {
  background: var(--paper);
}

.destination-faq__question[aria-expanded="true"] .destination-faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.destination-faq__answer {
  padding: 0 20px 18px;
  color: rgba(25, 25, 77, 0.74);
}

.destination-faq__answer p {
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.blog-hero__socials a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--lime);
}

.blog-hero__socials img {
  width: 32px;
  height: 32px;
}

.blog-grid--figma {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 10px;
}

.page-blog .blog-card {
  border-color: rgba(25, 25, 77, 0.5);
}

.page-blog .blog-card img {
  height: 220px;
  aspect-ratio: auto;
  object-fit: cover;
}

.page-blog .blog-card time,
.page-blog .blog-card h2 {
  margin-inline: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.page-blog .blog-card time {
  margin-top: 20px;
  color: rgba(25, 25, 77, 0.5);
  font-size: 14px;
  line-height: 20px;
}

.page-blog .blog-card h2 {
  margin-top: 8px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}

.article-page--figma {
  width: min(100%, 600px);
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.article-page__head {
  width: 824px;
  max-width: calc(100vw - 32px);
  margin-left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.article-page--figma time {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.article-page--figma h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 1.52px;
  text-transform: uppercase;
}

.article-page--figma .article-page__image {
  width: 100%;
  max-height: none;
  margin: 40px 0 0;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-page__image--hero {
  aspect-ratio: 600 / 432.7;
}

.article-page--figma section {
  margin-top: 60px;
}

.article-page--figma h2 {
  margin: 0 0 40px;
  color: var(--ink);
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
  letter-spacing: 1.12px;
  text-transform: uppercase;
}

.article-page--figma p,
.article-toc {
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.28px;
}

.article-page--figma p {
  margin: 0 0 20px;
}

.article-page__back {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  text-decoration: none;
}

.article-page__back:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-page__lead {
  max-width: 680px;
}

.article-page__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-page__content ul,
.article-page__content ol {
  margin: 0 0 24px;
  padding-left: 22px;
  color: var(--ink);
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
}

.article-page__content li + li {
  margin-top: 8px;
}

.article-page__content a {
  color: var(--ink-2);
  font-weight: 700;
}

.article-toc {
  margin-top: 60px;
  font-weight: 700;
}

.article-toc p {
  margin-bottom: 0;
}

.article-toc ol {
  margin: 20px 0 0;
  padding-left: 22px;
}

.article-toc a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.news-section--article {
  width: 100%;
}

.news-section--article .section-head {
  justify-content: center;
}

.news-section--article .news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  overflow: visible;
}

.news-section--article .news-card {
  display: block;
  height: auto;
  flex: none;
}

.news-section--article .news-card:nth-child(n + 3) {
  display: block;
}

.news-section--article .news-card img {
  content: normal;
}

.news-section--article .news-card time,
.news-section--article .news-card h3 {
  display: block;
}

.news-section--article .news-card div::before,
.news-section--article .news-card div::after {
  content: none;
}

.legal-hero {
  height: 485px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--lime);
}

.legal-hero--personal {
  background: var(--lavender);
}

.legal-hero__brand {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 160px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--ink);
}

.legal-hero__brand img {
  width: 139px;
  height: 139px;
  object-fit: contain;
}

.legal-hero__brand strong {
  margin-top: 8px;
  font-family: "SONGER Condensed", Muller, Arial, sans-serif;
  font-size: 71px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 1.42px;
  text-transform: uppercase;
}

.legal-hero__brand span {
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.96px;
}

.legal-hero--personal .legal-hero__brand span {
  color: #9162c8;
}

.legal-hero h1 {
  position: absolute;
  left: 50%;
  top: 346px;
  width: min(100%, 661px);
  margin: 0;
  transform: translateX(-50%);
  color: var(--ink-2);
  font-size: 38px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: 1.52px;
  text-align: center;
  text-transform: uppercase;
}

.legal-hero--personal h1 {
  color: #9162c8;
}

.legal-hero__decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.2;
}

.legal-hero__decor--sun {
  width: 228px;
  left: -78px;
  top: -90px;
}

.legal-hero__decor--camera {
  width: 224px;
  left: -100px;
  top: 240px;
  transform: rotate(-28deg);
}

.legal-hero__decor--ticket {
  width: 176px;
  left: 286px;
  top: 98px;
  transform: rotate(16deg);
}

.legal-hero__decor--bag {
  width: 171px;
  right: 214px;
  top: 82px;
  transform: rotate(14deg);
}

.legal-hero__decor--globe {
  width: 185px;
  right: -38px;
  top: -40px;
  transform: rotate(32deg);
}

.legal-document--figma {
  width: min(100%, 850px);
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.legal-document--figma h1 {
  display: none;
}

.legal-document--figma h2,
.legal-document--figma p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 22px;
  letter-spacing: 0.18px;
}

.legal-document--figma h2 {
  margin-top: 22px;
  font-weight: 700;
}

.legal-document--figma h2:first-child {
  margin-top: 0;
}

.legal-document--figma p {
  font-weight: 500;
}

@media (max-width: 1180px) {
  .destination-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .destination-hero__image {
    min-height: 360px;
  }

  .destination-hero .subpage-hero__content {
    padding: 28px 12px 10px;
  }

  .destination-hero .subpage-stats {
    grid-template-columns: repeat(2, minmax(180px, max-content));
  }

  .destination-seo-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 700px) {
  .destination-page {
    gap: 48px;
  }

  .destination-hero {
    min-height: 0;
    padding: 14px;
  }

  .destination-hero__image {
    min-height: 240px;
  }

  .destination-hero h1 {
    font-size: 30px;
    line-height: 38px;
  }

  .destination-hero .subpage-stats {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 14px;
  }

  .destination-hero .subpage-stats li:nth-child(3) {
    grid-column: auto;
  }

  .destination-hero .hero-action {
    width: 100%;
  }

  .destination-content h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .destination-content h3 {
    font-size: 21px;
    line-height: 28px;
  }

  .destination-steps {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .destination-steps::before {
    display: none;
  }

  .destination-steps li {
    min-height: 0;
    padding: 18px;
    font-size: 15px;
    line-height: 23px;
  }

  .destination-faq {
    padding: 14px;
  }

  .destination-faq > section {
    padding: 16px;
  }

  .destination-faq.is-enhanced > section {
    padding: 0;
  }

  .destination-faq__question {
    min-height: 62px;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 12px;
    padding: 15px 16px;
  }

  .destination-faq__icon {
    width: 36px;
    height: 36px;
  }

  .destination-faq__answer {
    padding: 0 16px 18px;
  }

  .destination-faq__answer p {
    font-size: 15px;
    line-height: 24px;
  }

  .destination-seo-card {
    padding: 18px;
  }

  .page-blog .content-page,
  .page-article .content-page,
  .page-legal .content-page {
    gap: 36px;
  }

  .blog-hero {
    height: 360px;
    background-size: auto 100%;
  }

  .blog-hero__content {
    width: calc(100% - 40px);
    max-width: none;
  }

  .blog-hero h1 {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 1.12px;
  }

  .blog-hero p {
    width: 100%;
    font-size: 13px;
    line-height: 18px;
  }

  .blog-hero__socials a {
    width: 48px;
    height: 48px;
  }

  .blog-grid--figma {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-blog .blog-card img {
    height: 190px;
  }

  .article-page__head {
    width: 100%;
  }

  .article-page--figma h1 {
    font-size: 28px;
    line-height: 34px;
    letter-spacing: 1.12px;
  }

  .article-page--figma .article-page__image,
  .article-page--figma section,
  .article-toc {
    margin-top: 32px;
  }

  .article-page--figma h2 {
    margin-bottom: 24px;
    font-size: 22px;
    line-height: 28px;
  }

  .news-section--article .news-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .legal-hero {
    height: 360px;
  }

  .legal-hero__brand {
    top: 36px;
    width: 120px;
  }

  .legal-hero__brand img {
    width: 96px;
    height: 96px;
  }

  .legal-hero__brand strong {
    font-size: 50px;
  }

  .legal-hero__brand span {
    font-size: 12px;
    line-height: 14px;
  }

  .legal-hero h1 {
    top: 232px;
    width: calc(100% - 16px);
    font-size: 22px;
    line-height: 28px;
    letter-spacing: 0.88px;
  }

  .legal-hero__decor--sun,
  .legal-hero__decor--globe {
    width: 140px;
  }

  .legal-hero__decor--camera,
  .legal-hero__decor--ticket,
  .legal-hero__decor--bag {
    width: 120px;
  }

  .legal-document--figma h2,
  .legal-document--figma p {
    font-size: 15px;
    line-height: 21px;
  }
}

/* Ticket #30: keep mobile header/footer text from overlapping on the /test-main build. */
@media (max-width: 600px) {
  body {
    padding-top: 56px;
  }

  .site-header {
    height: auto;
    min-height: 56px;
    padding: 8px 12px;
    align-items: center;
  }

  .site-header .brand {
    grid-template-columns: 24px minmax(56px, auto) minmax(0, 1fr);
    width: min(260px, calc(100% - 54px));
    min-width: 0;
    height: auto;
    column-gap: 7px;
    align-items: center;
  }

  .site-header .brand__mark,
  .site-header .brand__name,
  .site-header .brand__tagline {
    margin-top: 0;
  }

  .site-header .brand__name {
    width: auto;
    height: auto;
    line-height: 1;
  }

  .site-header .brand__tagline {
    width: auto;
    height: auto;
    line-height: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-header .menu-toggle {
    align-self: center;
  }

  .site-header .mobile-menu {
    max-height: calc(100vh - 72px);
  }

  .site-footer {
    min-height: 0;
    gap: 32px;
    overflow: visible;
  }

  .footer-contact__text {
    height: auto;
    gap: 20px;
    justify-content: flex-start;
  }

  .footer-contact a:not(.phone),
  .footer-contact strong,
  .footer-contact a[href^="mailto"] {
    max-width: 100%;
    line-height: 18px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-brand {
    gap: 14px;
  }

  .footer-brand > div {
    width: min(100%, 282px);
    height: auto;
    grid-template-columns: 40px minmax(86px, auto) minmax(0, 1fr);
    align-items: center;
  }

  .footer-brand img,
  .footer-brand strong,
  .footer-brand span {
    margin-top: 0;
  }

  .footer-brand strong {
    line-height: 1;
  }

  .footer-brand span {
    font-size: 13px;
    line-height: 14px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 370px) {
  .site-header .brand {
    grid-template-columns: 22px minmax(50px, auto) minmax(0, 1fr);
    width: min(242px, calc(100% - 52px));
    column-gap: 6px;
  }

  .site-header .brand__name {
    font-size: 22px;
  }

  .site-header .brand__tagline {
    font-size: 9.5px;
    line-height: 11px;
  }

  .footer-brand > div {
    grid-template-columns: 34px minmax(78px, auto) minmax(0, 1fr);
    column-gap: 7px;
  }

  .footer-brand img {
    width: 34px;
    height: 34px;
  }

  .footer-brand strong {
    font-size: 32px;
  }
}

/* Ticket #30: mobile phones in landscape need the same safe text flow as portrait. */
@media (max-width: 950px) and (max-height: 500px) {
  body {
    padding-top: 64px;
  }

  .site-header {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 56px;
    padding: 8px 12px;
    border-radius: 0;
    transform: none;
    align-items: center;
    overflow: visible;
  }

  .site-header .brand {
    grid-template-columns: 24px minmax(56px, auto) minmax(0, 1fr);
    width: min(260px, calc(100% - 54px));
    min-width: 0;
    height: auto;
    column-gap: 7px;
    align-items: center;
  }

  .site-header .brand__mark,
  .site-header .brand__name,
  .site-header .brand__tagline {
    margin-top: 0;
  }

  .site-header .brand__mark {
    width: 24px;
    height: 24px;
  }

  .site-header .brand__name {
    width: auto;
    height: auto;
    font-size: 25px;
    line-height: 1;
  }

  .site-header .brand__tagline {
    width: auto;
    height: auto;
    font-size: 10px;
    line-height: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-header .menu-toggle {
    align-self: center;
  }

  .site-header .mobile-menu {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .site-footer {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 32px;
    overflow: visible;
  }

  .footer-contact__text {
    width: min(100%, 520px);
    height: auto;
    gap: 20px;
    justify-content: flex-start;
  }

  .footer-contact a:not(.phone),
  .footer-contact strong,
  .footer-contact a[href^="mailto"] {
    max-width: 100%;
    line-height: 18px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .footer-brand {
    width: min(100%, 520px);
    height: auto;
    gap: 14px;
    overflow: visible;
  }

  .footer-brand > div {
    width: min(100%, 282px);
    height: auto;
    display: grid;
    grid-template-columns: 40px minmax(86px, auto) minmax(0, 1fr);
    align-items: center;
  }

  .footer-brand img,
  .footer-brand strong,
  .footer-brand span {
    margin-top: 0;
  }

  .footer-brand strong {
    line-height: 1;
  }

  .footer-brand span {
    font-size: 13px;
    line-height: 14px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Ticket #30: keep mobile logo text crisp and SVG icons undistorted. */
@media (max-width: 950px) {
  .brand__name {
    transform: none;
  }

  .footer-brand strong,
  .about-hero__logo strong {
    transform: none;
  }

  .brand {
    grid-template-columns: 23px 66px minmax(0, 1fr);
  }

  .brand__mark,
  .hero-stats img,
  .subpage-stats img,
  .benefit-icon,
  .service-icon,
  .service-grid img,
  .benefits-grid--page img,
  .about-benefit-strip img,
  .page-about .service-grid img,
  .apec-backdrop__cards img,
  .apec-modal__features img,
  .footer-brand img,
  .footer-socials img,
  .contact-socials img,
  .contact-mini-socials img,
  .contacts-layout--figma .contact-socials img,
  .blog-hero__socials img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .service-icon {
    width: 40px;
    height: 40px;
    min-height: 40px;
    align-self: start;
    justify-self: start;
  }

  .service-card .service-icon,
  .page-apec .service-card .service-icon {
    width: 40px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
  }

  .footer-socials a,
  .footer-socials img,
  .contact-socials a,
  .contact-socials img,
  .contact-mini-socials a,
  .contact-mini-socials img,
  .contacts-layout--figma .contact-socials a,
  .contacts-layout--figma .contact-socials img {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
  }

  .contact-map-links .contact-map-links__icon {
    object-fit: contain;
  }
}

@media (max-width: 520px) {
  .slider-shell[data-destination-carousel] .destination-grid {
    grid-auto-columns: min(280px, 82vw);
  }

  .slider-shell[data-destination-carousel] .destination-tile {
    height: 314px;
    min-height: 314px;
  }

  .brand {
    grid-template-columns: 23px 68px minmax(0, 1fr);
    width: min(246px, calc(100% - 52px));
    min-width: 0;
  }

  .brand__name {
    width: 68px;
  }

  .brand__tagline {
    min-width: 0;
    white-space: normal;
  }
}
