:root {
  --bg: #f3f0e8;
  --paper: rgba(255, 252, 246, 0.88);
  --paper-strong: #fffdf7;
  --line: rgba(23, 52, 77, 0.14);
  --ink: #183046;
  --muted: #5b6e7e;
  --accent: #235f72;
  --accent-strong: #17495b;
  --accent-soft: #d6e6ea;
  --gold: #b08945;
  --pine: #335f59;
  --rose: #87555f;
  --shadow: 0 18px 48px rgba(17, 34, 51, 0.11);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --content-width: min(1200px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Candara", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(186, 156, 96, 0.19), transparent 26%),
    radial-gradient(circle at bottom right, rgba(35, 95, 114, 0.18), transparent 30%),
    linear-gradient(180deg, #f8f4ea 0%, #eef1f2 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(24, 48, 70, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 48, 70, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, black, transparent 78%);
}

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

button,
input {
  font: inherit;
}

.site-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 20px 0 48px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  background: rgba(248, 245, 238, 0.86);
  box-shadow: 0 14px 30px rgba(24, 48, 70, 0.08);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--accent-strong);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(214, 230, 234, 0.72));
  box-shadow: inset 0 0 0 1px rgba(35, 95, 114, 0.14);
}

.brand-mark svg {
  width: 40px;
  height: 40px;
}

.eyebrow,
.section-kicker,
.panel-card__eyebrow,
.process-card__step {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.eyebrow {
  color: var(--accent);
}

.topbar__title {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 700;
}

.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.topbar__nav a {
  position: relative;
  padding-bottom: 3px;
}

.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.topbar__nav a:hover::after,
.topbar__nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 26px;
  margin-top: 28px;
  padding: 40px;
  border-radius: 40px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(18, 52, 75, 0.96), rgba(33, 80, 97, 0.92)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
}

.hero {
  position: relative;
}

.hero::before {
  width: 360px;
  height: 360px;
  right: -70px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 200, 139, 0.42), transparent 68%);
}

.hero::after {
  left: 46%;
  bottom: -110px;
  width: 420px;
  height: 220px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.18), transparent 58%);
  clip-path: ellipse(55% 50% at 50% 50%);
}

.hero__content,
.hero__panel,
.hero__gallery {
  position: relative;
  z-index: 1;
}

.hero__gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-bottom: 6px;
}

.hero-gallery__frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(8, 18, 28, 0.24);
}

.hero-gallery__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(10, 22, 33, 0.18), rgba(10, 22, 33, 0.7)),
    linear-gradient(90deg, rgba(14, 34, 49, 0.64), rgba(14, 34, 49, 0.1));
}

.hero-gallery__copy {
  display: grid;
  gap: 12px;
  max-width: 62%;
}

.hero-gallery__eyebrow {
  margin: 0;
  color: rgba(237, 199, 121, 0.96);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-gallery__title {
  margin: 0;
  color: #fff;
  font-family: "PT Serif", "Cambria", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.hero-gallery__description {
  margin: 0;
  color: rgba(245, 248, 251, 0.9);
  line-height: 1.65;
}

.hero-gallery__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-gallery__chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-gallery__arrow {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.hero-gallery__arrow:hover,
.hero-gallery__arrow:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.hero-gallery__rail {
  display: grid;
  gap: 12px;
}

.hero-gallery__thumb {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: rgba(245, 248, 251, 0.92);
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.hero-gallery__thumb:hover,
.hero-gallery__thumb:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.hero-gallery__thumb[aria-pressed="true"] {
  border-color: rgba(237, 199, 121, 0.4);
  background: rgba(255, 255, 255, 0.16);
}

.hero-gallery__thumb-region {
  color: rgba(237, 199, 121, 0.96);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 700;
}

.hero-gallery__thumb-title {
  font-family: "PT Serif", "Cambria", serif;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-gallery__thumb-text {
  color: rgba(245, 248, 251, 0.78);
  line-height: 1.5;
}

.section-kicker,
.panel-card__eyebrow,
.process-card__step {
  color: var(--gold);
}

.hero h1,
.section h2,
.modal h2,
.tour-card h3,
.process-card h3,
.criteria-card h3,
.support-card h3 {
  margin: 0;
  font-family: "PT Serif", "Cambria", serif;
}

.hero h1 {
  margin-top: 14px;
  max-width: 15ch;
  color: #f9faf7;
  font-size: clamp(2.5rem, 5vw, 4.35rem);
  line-height: 1.06;
}

.hero__lead {
  max-width: 60ch;
  margin: 22px 0 0;
  color: rgba(245, 248, 251, 0.84);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #d4b16f, #b18847);
  box-shadow: 0 10px 24px rgba(176, 137, 69, 0.28);
}

.btn--secondary {
  color: #f3f6f8;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.hero__bullets {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  color: rgba(245, 248, 251, 0.86);
  list-style: none;
}

.hero__bullets li {
  position: relative;
  padding-left: 26px;
  line-height: 1.55;
}

.hero__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(180deg, #e1c481, #b18847);
  box-shadow: 0 0 0 6px rgba(225, 196, 129, 0.12);
}

.panel-card {
  height: 100%;
  padding: 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 253, 247, 0.96);
  box-shadow: inset 0 0 0 1px rgba(35, 95, 114, 0.12);
}

.hero__steps {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding-left: 20px;
  line-height: 1.55;
}

.panel-card__note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(24, 48, 70, 0.12);
  color: var(--muted);
  line-height: 1.6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.stat-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 28px rgba(24, 48, 70, 0.07);
}

.stat-card__value {
  margin: 0;
  color: var(--accent-strong);
  font-family: "PT Serif", "Cambria", serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
}

.stat-card__label {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.section {
  margin-top: 34px;
  padding: 34px;
  border-radius: 34px;
  background: rgba(255, 252, 246, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(24, 48, 70, 0.08);
}

.section--paper {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(251, 247, 237, 0.95));
}

.section--accent {
  background:
    linear-gradient(180deg, rgba(231, 239, 242, 0.92), rgba(249, 245, 236, 0.92));
}

.section--split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
}

.section__heading {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.section__heading--left {
  margin-bottom: 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.14;
}

.section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.criteria-grid,
.process-grid,
.catalog-grid,
.support-layout {
  display: grid;
  gap: 18px;
}

.criteria-grid {
  grid-template-columns: repeat(2, 1fr);
}

.criteria-card,
.process-card,
.support-card {
  padding: 24px;
  border-radius: 24px;
  background: var(--paper-strong);
  border: 1px solid rgba(23, 52, 77, 0.1);
}

.criteria-card h3,
.process-card h3,
.support-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

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

.process-card {
  position: relative;
  overflow: hidden;
}

.process-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 95, 114, 0.1), transparent 68%);
}

.process-card__step {
  display: inline-block;
  margin-bottom: 12px;
}

.toolbar {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 1px solid rgba(24, 48, 70, 0.12);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}

.filter-chip[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  border-color: transparent;
}

.search-field {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.search-field span {
  font-size: 0.95rem;
}

.search-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(24, 48, 70, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.search-field input:focus-visible {
  outline: 2px solid rgba(35, 95, 114, 0.25);
  border-color: rgba(35, 95, 114, 0.45);
}

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

.tour-card {
  display: grid;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(23, 52, 77, 0.12);
  background: var(--paper-strong);
  box-shadow: 0 16px 36px rgba(24, 48, 70, 0.08);
}

.tour-card__visual {
  position: relative;
  min-height: 172px;
  padding: 20px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    var(--banner);
}

.tour-card__visual::before,
.tour-card__visual::after {
  content: "";
  position: absolute;
  inset: auto;
}

.tour-card__visual::before {
  left: -24px;
  bottom: -38px;
  width: 160px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.tour-card__visual::after {
  right: -28px;
  bottom: -30px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.12);
  clip-path: polygon(0 60%, 28% 18%, 52% 48%, 72% 24%, 100% 64%, 100% 100%, 0 100%);
}

.tour-card__badge,
.modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-size: 0.86rem;
  font-weight: 700;
}

.tour-card__region {
  position: absolute;
  left: 20px;
  bottom: 18px;
  max-width: 65%;
  font-family: "PT Serif", "Cambria", serif;
  font-size: 1.4rem;
  line-height: 1.15;
}

.tour-card__body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.tour-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.tour-card__meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(35, 95, 114, 0.08);
}

.tour-card h3 {
  font-size: 1.65rem;
  line-height: 1.18;
}

.tour-card__summary {
  color: var(--muted);
  line-height: 1.7;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.tour-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
}

.tour-card__price-label {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.tour-card__price {
  display: block;
  margin-top: 6px;
  font-family: "PT Serif", "Cambria", serif;
  font-size: 1.75rem;
}

.tour-card__subprice {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.tour-card__button {
  min-height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 22px rgba(23, 73, 91, 0.2);
  cursor: pointer;
}

.tour-card__button:hover,
.tour-card__button:focus-visible {
  transform: translateY(-2px);
}

.empty-state {
  padding: 36px 24px;
  border-radius: 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1px dashed rgba(24, 48, 70, 0.18);
  color: var(--muted);
}

.support-layout {
  grid-template-columns: 1fr 1fr 1.1fr;
}

.support-card--faq details {
  padding: 14px 0;
  border-top: 1px solid rgba(24, 48, 70, 0.1);
}

.support-card--faq details:first-of-type {
  border-top: none;
  padding-top: 2px;
}

.support-card--faq summary {
  cursor: pointer;
  font-weight: 700;
  line-height: 1.4;
}

.support-card--faq p {
  margin-top: 10px;
}

.section--video {
  background:
    linear-gradient(180deg, rgba(243, 248, 250, 0.94), rgba(255, 249, 239, 0.94));
}

.video-showcase {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
}

.video-player-card,
.video-playlist {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 52, 77, 0.1);
}

.video-frame {
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #17344d, #235f72);
  box-shadow: 0 18px 34px rgba(24, 48, 70, 0.14);
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-player__body {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.video-player__source {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.video-player-card h3,
.video-playlist h3 {
  margin: 0;
  font-family: "PT Serif", "Cambria", serif;
  font-size: 1.8rem;
  line-height: 1.18;
}

.video-player__region {
  margin: 0;
  color: var(--accent-strong);
  font-weight: 700;
}

.video-player__description {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.video-player__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 22px rgba(23, 73, 91, 0.18);
}

.video-playlist {
  display: grid;
  gap: 18px;
}

.video-playlist__header {
  display: grid;
  gap: 8px;
}

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

.video-playlist__list {
  display: grid;
  gap: 12px;
}

.video-item {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(23, 52, 77, 0.1);
  border-radius: 20px;
  text-align: left;
  color: var(--ink);
  background: rgba(244, 248, 249, 0.9);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.video-item:hover,
.video-item:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(24, 48, 70, 0.08);
}

.video-item[aria-pressed="true"] {
  border-color: rgba(35, 95, 114, 0.34);
  background: linear-gradient(180deg, rgba(214, 230, 234, 0.95), rgba(255, 252, 246, 0.95));
}

.video-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.video-item__meta span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(35, 95, 114, 0.08);
}

.video-item__title {
  font-family: "PT Serif", "Cambria", serif;
  font-size: 1.2rem;
  line-height: 1.25;
}

.video-item__text {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 34px;
  padding: 28px 32px;
  border-radius: 28px;
  color: rgba(245, 248, 251, 0.86);
  background: linear-gradient(135deg, #17344d, #235f72);
  box-shadow: var(--shadow);
}

.site-footer__title {
  margin: 0 0 10px;
  color: #fff;
  font-family: "PT Serif", "Cambria", serif;
  font-size: 1.55rem;
}

.site-footer__meta {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer p {
  margin: 0;
  line-height: 1.7;
}

.site-footer__meta p + p {
  margin-top: 10px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 29, 43, 0.58);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  width: min(1040px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  margin: 20px auto;
  overflow: auto;
  border-radius: 30px;
  background: linear-gradient(180deg, #fffdf8 0%, #f4f1e9 100%);
  box-shadow: 0 30px 70px rgba(8, 18, 28, 0.3);
}

.modal__close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  margin: 18px 18px 0 0;
  padding: 10px 16px;
  border: 1px solid rgba(24, 48, 70, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.modal__content {
  padding: 28px 28px 32px;
}

.modal__hero {
  position: relative;
  padding: 26px;
  border-radius: 28px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.28), transparent 28%),
    var(--banner);
}

.modal__hero::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -24px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

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

.modal__eyebrow {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.modal__hero h2 {
  margin-top: 10px;
  max-width: 16ch;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.modal__summary {
  max-width: 60ch;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.modal__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.modal__metric {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.modal__metric span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.modal__metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.45;
}

.modal__sections {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.modal__panel {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(24, 48, 70, 0.1);
}

.modal__panel h3 {
  margin: 0 0 12px;
  font-family: "PT Serif", "Cambria", serif;
  font-size: 1.5rem;
}

.modal__panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.modal__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(35, 95, 114, 0.06);
  border: 1px solid rgba(35, 95, 114, 0.08);
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.timeline span {
  color: var(--muted);
  line-height: 1.6;
}

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

.modal__note {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  color: var(--accent-strong);
  background: rgba(214, 230, 234, 0.72);
}

.tone-ladoga {
  --banner: linear-gradient(135deg, #2e5d72, #6d9dad);
}

.tone-kavkaz {
  --banner: linear-gradient(135deg, #3f5a46, #93ab71);
}

.tone-sever {
  --banner: linear-gradient(135deg, #3d536f, #8fa4bb);
}

.tone-volga {
  --banner: linear-gradient(135deg, #7b4f46, #c08964);
}

.tone-baikal {
  --banner: linear-gradient(135deg, #1d4f73, #5fa9c7);
}

.tone-altai {
  --banner: linear-gradient(135deg, #395e49, #9cb47c);
}

.tone-sochi {
  --banner: linear-gradient(135deg, #266377, #63a7a2);
}

.tone-baltic {
  --banner: linear-gradient(135deg, #42586d, #a0b89b);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .hero,
  .hero__gallery,
  .section--split,
  .support-layout,
  .video-showcase,
  .site-footer,
  .modal__grid {
    grid-template-columns: 1fr;
  }

  .stats,
  .process-grid,
  .catalog-grid,
  .modal__metrics,
  .modal__columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .section__heading--left {
    margin-bottom: 8px;
  }

  .site-footer__meta {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 16px;
  }
}

@media (max-width: 780px) {
  .site-shell {
    width: min(100vw - 24px, 1200px);
    padding-top: 12px;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-gallery__copy {
    max-width: none;
  }

  .hero,
  .section,
  .site-footer,
  .modal__content {
    padding: 24px;
  }

  .stats,
  .criteria-grid,
  .process-grid,
  .catalog-grid,
  .support-layout,
  .modal__metrics,
  .modal__columns {
    grid-template-columns: 1fr;
  }

  .hero-gallery__frame {
    min-height: 360px;
  }

  .hero-gallery__overlay {
    padding: 18px;
  }

  .hero-gallery__controls {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .tour-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .tour-card__button {
    width: 100%;
  }

  .modal__dialog {
    width: min(100vw - 16px, 1040px);
    margin: 8px auto;
    max-height: calc(100vh - 16px);
  }

  .modal__hero h2 {
    max-width: none;
  }
}

