.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--on-navy);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--duration-state) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

.scroll-sentinel {
  position: absolute;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

/* Header */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--duration-state) ease, border-color var(--duration-state) ease;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(253 254 255 / 92%);
  backdrop-filter: saturate(160%) blur(14px);
  content: "";
}

body.menu-open .site-header::before {
  background: var(--surface);
}

.site-header.scrolled {
  border-bottom-color: transparent;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  height: 100%;
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.logo img {
  width: 176px;
  height: auto;
}

.main-nav {
  display: none;
}

.main-nav > a {
  position: relative;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: color var(--duration-state) ease;
}

.main-nav > a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-state) var(--ease-out);
}

.main-nav > a.active {
  color: var(--navy);
}

.main-nav > a.active::after {
  transform: scaleX(1);
}

.nav-mobile-contacts {
  display: none;
}

.header-actions {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-left: auto;
}

.header-actions > .button,
.header-phone {
  display: none;
}

.header-phone {
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.header-messengers {
  display: flex;
  gap: 2px;
}

.icon-link {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  transition: background-color var(--duration-state) ease;
}

.icon-link svg {
  width: 17px;
}

.burger {
  position: relative;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  color: var(--navy);
}

.burger span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--duration-state) var(--ease-out), opacity var(--duration-state) ease;
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav.open {
  position: fixed;
  z-index: 1;
  inset: var(--header-height) 0 0;
  display: flex;
  flex-direction: column;
  padding: 16px var(--gutter) 28px;
  overflow: auto;
  background: var(--surface);
  opacity: 1;
  transform: none;
  transition: opacity var(--duration-state) var(--ease-out), transform var(--duration-state) var(--ease-out);
}

@starting-style {
  .main-nav.open {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.main-nav.open > a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 20px;
  font-weight: 600;
}

.main-nav.open > a::after {
  display: none;
}

.main-nav.open > a.active {
  color: var(--red);
}

.main-nav.open .nav-mobile-contacts {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 28px;
}

.nav-mobile-phone {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
}

/* Hero */

.hero-frame {
  position: relative;
  display: flex;
  min-height: clamp(520px, calc(100dvh - var(--header-height) - 180px), 640px);
  overflow: hidden;
  align-items: flex-end;
  background: var(--navy);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero-media picture {
  display: block;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgb(8 31 69 / 88%) 0%, rgb(8 31 69 / 55%) 38%, rgb(8 31 69 / 0%) 70%),
    linear-gradient(90deg, rgb(8 31 69 / 45%) 0%, rgb(8 31 69 / 0%) 60%);
  content: "";
}

.hero-content {
  padding-block: clamp(32px, 4vw, 48px);
}

.hero h1 {
  max-width: 15em;
  color: var(--on-navy);
  font-size: clamp(2.25rem, 4.6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.hero-lead {
  max-width: 34em;
  margin-top: 18px;
  color: #dfe7f3;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.5;
}

/* Proof and guarantees */

.proof {
  padding-top: 16px;
}

.proof-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.proof-item {
  display: flex;
  gap: 14px;
  min-height: 96px;
  padding: 18px 20px;
  align-items: center;
}

.proof-item:nth-child(-n + 2) {
  border-bottom: 1px solid var(--line);
}

.proof-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.proof-item strong {
  color: var(--navy);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.proof-item > span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.proof-item b {
  display: block;
  color: var(--navy);
  font-weight: 600;
}

a.proof-item {
  transition: background-color var(--duration-state) ease;
}

.proof-stars {
  display: flex;
  gap: 1px;
  margin-bottom: 4px;
  color: var(--red);
}

.proof-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke-width: 0;
}

.proof-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--tint);
  color: var(--navy);
}

.proof-icon svg {
  width: 22px;
}

/* Sections */

.section {
  padding-block: var(--section-space);
}

.section-compact {
  padding-block: clamp(24px, 3vw, 40px);
}

.section-tint {
  background: var(--tint);
}

.section-heading {
  margin-bottom: clamp(20px, 2vw, 28px);
}

.section-heading h2,
.lead-copy h2,
.faq-intro h2 {
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.section-heading > p,
.lead-copy > p,
.faq-intro > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.tours-grid {
  display: grid;
  gap: 20px;
}

.resorts-grid {
  display: grid;
  gap: 16px;
}

/* Benefits */

.why-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-bottom: clamp(20px, 2vw, 28px);
  align-items: flex-end;
  justify-content: space-between;
}

.why-head .section-heading {
  flex: 1 1 480px;
  margin-bottom: 0;
}

.why-grid {
  display: grid;
  gap: 16px;
}

.why-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.why-tile h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.why-tile h3 svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--navy-soft);
}

.why-tile p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.why-tile-cabinet {
  display: grid;
  gap: 24px;
  align-content: space-between;
  background: var(--navy);
  color: var(--on-navy);
}

.why-tile-cabinet h3 {
  color: var(--on-navy);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
}

.why-tile-cabinet h3 svg {
  flex-basis: 28px;
  width: 28px;
  height: 28px;
  color: var(--on-navy);
}

.why-tile-cabinet .why-tile-copy p {
  max-width: 40ch;
  color: var(--on-navy-muted);
  font-size: 16px;
}

.why-tile-support {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px clamp(20px, 2.4vw, 32px);
  align-items: center;
}

.why-tile .why-figure {
  color: var(--navy);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.why-tile-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.why-docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.why-docs li {
  display: flex;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  align-items: center;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.why-docs svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--navy-soft);
}

.why-tile-cabinet .why-docs li {
  min-height: 48px;
  background: rgb(255 255 255 / 8%);
  color: var(--on-navy);
  font-size: 15px;
}

.why-tile-cabinet .why-docs svg {
  color: var(--on-navy-muted);
}

.why-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.why-pills li {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--tint);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.why-gifts {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.why-gifts li {
  display: flex;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}

.why-gifts svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--navy-soft);
}

.why-tile-registry {
  flex-flow: row wrap;
  gap: 8px 28px;
  padding-block: 16px;
  align-items: center;
  border: 1px solid var(--line-strong);
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: 14px;
}

.registry-title {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--navy);
  font-weight: 600;
}

.registry-title svg {
  width: 20px;
  color: var(--navy-soft);
}

.registry-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--duration-state) ease;
}

.why-tile-registry .registry-link {
  color: var(--navy);
}
/* Lead */

.lead-layout {
  display: grid;
  gap: 36px;
  align-items: start;
}

.lead-copy ul {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.lead-copy li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-weight: 500;
}

.lead-copy li svg {
  flex: 0 0 20px;
  width: 20px;
  color: var(--success);
}

.lead-hours {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  align-items: center;
  color: var(--muted);
  font-size: 15px;
}

.lead-hours svg {
  flex: 0 0 20px;
  width: 20px;
  color: var(--navy);
}

/* FAQ */

.faq-layout {
  display: grid;
  gap: 32px;
  align-items: start;
}

.faq-intro .button {
  margin-top: 24px;
}

/* Footer */

.site-footer {
  padding-block: 48px 32px;
  background: var(--navy-deep);
  color: var(--on-navy-muted);
}

.footer-main {
  display: grid;
  gap: 28px;
}

.site-footer .logo {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.footer-slogan {
  max-width: 280px;
  margin-top: 18px;
  color: var(--on-navy);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.footer-col h2 {
  margin-bottom: 12px;
  color: var(--on-navy);
  font-size: 15px;
  font-weight: 600;
}

.footer-col > a {
  display: block;
  width: fit-content;
  margin-top: 6px;
  transition: color var(--duration-state) ease;
}

.footer-legal {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgb(242 246 252 / 14%);
  font-size: 13px;
  line-height: 1.55;
}

.footer-legal > a {
  width: fit-content;
  color: var(--on-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Motion */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--duration-enter) var(--ease-out),
    transform var(--duration-enter) var(--ease-out);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img {
    animation: hero-settle 1400ms var(--ease-out) both;
  }

  .hero-content > * {
    animation: hero-in 700ms var(--ease-out) both;
  }

  .hero-content > :nth-child(2) {
    animation-delay: 90ms;
  }

  .hero-content > :nth-child(3) {
    animation-delay: 180ms;
  }
}

@keyframes hero-settle {
  from { transform: scale(1.06); }
  to { transform: none; }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
