:root {
  color-scheme: light;
  --bg: #fbf4ea;
  --surface: rgba(255, 252, 246, 0.9);
  --surface-solid: #fffaf4;
  --ink: #211d1b;
  --muted: #726a64;
  --line: rgba(24, 33, 39, 0.14);
  --accent: #e58a3c;
  --accent-2: #2f6f8f;
  --green: #687346;
  --clay: #c36e4a;
  --blue-soft: #dce6ef;
  --sage-soft: #dfe4cf;
  --apricot-soft: #ffe0b7;
  --shadow: 0 24px 70px rgba(48, 39, 30, 0.14);
  --radius: 20px;
  --display-font: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body-font: "Inter", "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #151615;
  --surface: rgba(30, 29, 26, 0.9);
  --surface-solid: #1f1e1b;
  --ink: #f3efe8;
  --muted: #b8b0a5;
  --line: rgba(243, 239, 232, 0.16);
  --accent: #e19a68;
  --accent-2: #69c3d3;
  --green: #78d3a9;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  background:
    radial-gradient(circle at 12% 0%, rgba(229, 138, 60, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg), #000 3%));
  color: var(--ink);
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 92svh;
  padding: 34px clamp(18px, 4vw, 70px) 58px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(20, 21, 22, 0.64), rgba(20, 21, 22, 0.16) 52%, rgba(20, 21, 22, 0.18)),
    linear-gradient(0deg, rgba(17, 15, 13, 0.52), transparent 44%),
    url("assets/hero-zaira-yerevan.png");
  background-size: cover;
  background-position: center;
  color: #fffaf1;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 58px);
  font-size: 0.95rem;
}

.nav-links a {
  color: rgba(255, 250, 241, 0.9);
  text-decoration: none;
  padding-bottom: 9px;
  border-bottom: 2px solid transparent;
}

.nav-links a.is-current,
.nav-links a:hover {
  border-color: #f0a25a;
}

.controls,
.hero-actions,
.action-strip,
.dialog-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  border-radius: 999px;
}

.seg-btn,
.icon-btn {
  border: 0;
  cursor: pointer;
}

.seg-btn {
  min-width: 44px;
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-weight: 800;
}

.seg-btn.is-active {
  background: #fffaf1;
  color: #172126;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(18px);
  font-size: 20px;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  margin-top: auto;
  padding: 20svh 0 4svh;
}

.eyebrow,
.section-kicker,
.label {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: #ffc290;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(4.2rem, 8vw, 8.2rem);
  line-height: 0.82;
  letter-spacing: 0;
  font-family: var(--display-font);
  font-weight: 500;
}

.hero-content p:not(.eyebrow) {
  max-width: 500px;
  margin: 22px 0;
  font-family: var(--display-font);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-style: italic;
  line-height: 1.15;
  color: #ffc778;
}

.date-pill {
  width: fit-content;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 250, 241, 0.7);
  background: rgba(255, 250, 241, 0.16);
  backdrop-filter: blur(14px);
  font-weight: 650;
}

.hero-stats {
  position: absolute;
  right: clamp(18px, 4vw, 70px);
  bottom: 52px;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.hero-stats article {
  min-width: 150px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 250, 241, 0.18);
  border: 1px solid rgba(255, 250, 241, 0.26);
  backdrop-filter: blur(18px);
}

.hero-stats article:first-child,
.hero-stats [data-currency-trigger] {
  cursor: pointer;
}

.hero-stats span,
.hero-stats small {
  display: block;
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.76rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero-stats strong {
  display: block;
  margin: 4px 0;
  font-family: var(--body-font);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: #fffaf4;
  text-decoration: none;
  font-size: 3rem;
  line-height: 1;
}

.button,
.tiny-link {
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--surface-solid);
  font-weight: 820;
  cursor: pointer;
}

.button.primary,
.button:not(.ghost) {
  background: var(--accent);
  border-color: color-mix(in srgb, var(--accent), #000 8%);
  color: #fffaf1;
}

.button.ghost,
.tiny-link {
  background: color-mix(in srgb, var(--surface-solid), transparent 12%);
}

.hero .button.ghost {
  color: #fffaf1;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.button.small,
.tiny-link {
  min-height: 36px;
  padding: 0 13px;
  font-size: 0.88rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 44px auto;
}

.overview-cards {
  margin-top: 32px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.overview-card {
  padding: 26px 24px 20px;
  border-radius: 20px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.overview-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 78px rgba(48, 39, 30, 0.18);
}

.overview-card h2 {
  margin: 0 0 8px;
  font-family: var(--display-font);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 0.95;
  font-weight: 600;
}

.overview-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 14px;
}

.overview-route {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.overview-media {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
}

.overview-media.one img {
  height: 250px;
}

.overview-media.grid {
  grid-template-columns: 1fr 1fr;
}

.overview-media img {
  width: 100%;
  height: 116px;
  object-fit: cover;
  border-radius: 14px;
}

.overview-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.overview-icons span {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: min(9rem, 45%);
  white-space: normal;
}

.action-dock,
.quick-grid {
  width: min(1180px, calc(100% - 32px));
  position: relative;
  z-index: 4;
}

.action-dock {
  position: fixed;
  right: 34px;
  top: 48%;
  transform: translateY(-50%);
  width: auto;
  margin: 0;
  display: grid;
  gap: 14px;
  z-index: 20;
}

.dock-btn {
  width: 110px;
  height: 94px;
  border-radius: 14px;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  background: var(--apricot-soft);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.dock-btn .mini-icon {
  color: #5b4631;
}

.dock-btn.tint-home,
.dock-btn.tint-flight,
.dock-btn.tint-plan { background: var(--blue-soft); }
.dock-btn.tint-wish { background: var(--sage-soft); }
.dock-btn.tint-weather { background: #ffedc5; }
.dock-btn.tint-pack { background: #eadfd2; }

.dock-btn.is-active {
  background: linear-gradient(135deg, var(--accent), #f3ad68);
  border-color: rgba(255, 250, 244, 0.5);
  box-shadow: 0 16px 38px rgba(229, 138, 60, 0.32);
}

.dock-btn.is-active strong,
.dock-btn.is-active .mini-icon {
  color: #fffaf4;
}

.dock-btn strong {
  color: #26303a;
  font-size: 0.95rem;
  width: 100%;
  text-align: center;
  line-height: 1.1;
  overflow-wrap: normal;
}

[data-theme="dark"] .dock-btn {
  background: rgba(255, 250, 244, 0.08);
  border-color: rgba(255, 250, 244, 0.14);
}

[data-theme="dark"] .dock-btn .mini-icon,
[data-theme="dark"] .dock-btn strong {
  color: rgba(255, 250, 244, 0.86);
}

[data-theme="dark"] .dock-btn.is-active {
  background: linear-gradient(135deg, var(--accent), #c87342);
}

.mini-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.glass-card,
.panel,
.day-summary,
.timeline,
.route-visual,
.place-card,
.packing-item {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  border-radius: var(--radius);
}

.glass-card {
  padding: 18px;
}

.flight-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 12px;
}

.quick-card-art {
  grid-column: 1 / -1;
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 8px;
  border: 1px solid var(--line);
}

.progress-card {
  display: grid;
}

.flight-card h2,
.weather-card strong,
.progress-card strong {
  display: block;
  margin: 0 0 4px;
  font-size: 1.45rem;
}

.flight-card p,
.weather-row span,
.info-list span,
.footer {
  color: var(--muted);
}

.weather-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.weather-row:last-child {
  border-bottom: 0;
}

.weather-row span {
  display: grid;
  gap: 2px;
}

.weather-row em,
.weather-row small {
  color: var(--muted);
  font-style: normal;
  font-size: 0.9rem;
}

.weather-card {
  cursor: pointer;
}

.weather-condition {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weather-condition .mini-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.flight-card:first-child .label,
.flight-card:first-child .tiny-link {
  color: var(--green);
}

.flight-card:nth-child(2) .label,
.flight-card:nth-child(2) .tiny-link {
  color: var(--accent);
}

.meter {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted), transparent 78%);
  overflow: hidden;
  margin-top: 12px;
}

.meter span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--green);
  transition: width 0.25s ease;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 44px auto;
}

.intro-band,
.section-heading,
.split-section {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-end;
}

.heading-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.heading-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #5b4631;
  background: var(--apricot-soft);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(48, 39, 30, 0.08);
}

.heading-icon svg {
  width: 27px;
  height: 27px;
}

.panel-heading {
  margin-bottom: 18px;
}

.intro-band {
  align-items: center;
  padding: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2,
.panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0;
  font-family: var(--display-font);
  font-weight: 500;
}

.intro-band p:not(.section-kicker),
.section-heading p {
  color: var(--muted);
  margin: 12px 0 0;
  max-width: 670px;
}

.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.tab {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: transparent;
  color: var(--muted);
  font-weight: 820;
  cursor: pointer;
}

.tab.is-active {
  background: var(--ink);
  color: var(--bg);
}

.day-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: 14px;
}

.day-summary {
  min-height: 430px;
  padding: 22px;
  overflow: hidden;
  position: sticky;
  top: 16px;
}

.day-summary img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 18px;
}

.day-summary h3 {
  margin: 0 0 10px;
  font-size: 1.75rem;
}

.day-summary p {
  color: var(--muted);
  line-height: 1.55;
}

.timeline {
  padding: 8px;
  display: grid;
  gap: 8px;
}

.timeline-item {
  width: 100%;
  text-align: left;
  display: grid;
  grid-template-columns: auto 72px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.timeline-item:hover,
.timeline-item:focus-visible {
  border-color: var(--line);
  background: color-mix(in srgb, var(--surface-solid), transparent 40%);
}

.check {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid color-mix(in srgb, var(--muted), transparent 30%);
  display: grid;
  place-items: center;
  color: var(--surface-solid);
}

.timeline-item.is-done .check {
  border-color: var(--green);
  background: var(--green);
}

.thumb {
  width: 72px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
}

.time {
  color: var(--accent);
  font-weight: 850;
  font-size: 0.88rem;
}

.timeline-copy strong {
  display: block;
  margin-bottom: 4px;
}

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

.open-dot {
  color: var(--muted);
  font-size: 1.5rem;
}

.map-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.route-visual {
  min-height: 500px;
  padding: 18px;
  display: grid;
  grid-template-rows: minmax(310px, 1fr) auto;
  gap: 12px;
}

.route-board {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.08), rgba(255, 250, 244, 0.01)),
    url("assets/places/armenia-route-map.png");
  background-size: 100% 100%;
  background-position: center;
  isolation: isolate;
}

.route-board::before {
  content: "OpenStreetMap";
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  z-index: 5;
  background: rgba(255, 250, 244, 0.82);
  padding: 4px 8px;
  border-radius: 999px;
}

.route-board::after {
  content: "";
}

[data-theme="dark"] .route-board {
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.10), rgba(255, 250, 244, 0.02)),
    url("assets/places/armenia-route-map.png");
  background-size: 100% 100%;
  background-position: center;
  filter: brightness(1.08) contrast(1.02) saturate(0.95);
}

.route-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  display: none;
}

.route-overlay polyline {
  fill: none;
  stroke: #ed8f46;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2.4 2.2;
  filter: drop-shadow(0 2px 2px rgba(255, 250, 244, 0.95));
}

#mapPins {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  justify-items: center;
  gap: 4px;
  z-index: 5;
  pointer-events: auto;
}

.map-pin-dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fffaf4;
  border: 3px solid var(--surface-solid);
  box-shadow: 0 12px 26px rgba(48, 39, 30, 0.24);
  font-weight: 850;
  font-size: 0.82rem;
}

.map-pin.is-active .map-pin-dot,
.map-pin:hover .map-pin-dot {
  background: var(--green);
  transform: scale(1.12);
}

.map-pin-label {
  max-width: 110px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.92);
  color: #211d1b;
  box-shadow: 0 8px 18px rgba(35, 29, 22, 0.16);
  text-shadow: none;
  border: 1px solid rgba(35, 29, 22, 0.12);
  font-size: 0.75rem;
  font-weight: 750;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
}

.map-pin.is-active .map-pin-label,
.map-pin:hover .map-pin-label,
.map-pin:focus-visible .map-pin-label {
  opacity: 1;
  transform: translateY(0);
}

.map-detail {
  min-height: 118px;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 14px;
  padding: 12px;
  background: color-mix(in srgb, var(--surface-solid), transparent 14%);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.map-detail img {
  width: 128px;
  height: 94px;
  object-fit: cover;
  border-radius: 6px;
}

.map-detail h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.map-detail p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.4;
}

.map-detail a {
  color: var(--accent);
  font-weight: 820;
  text-decoration: none;
}

.place-grid {
  display: grid;
  gap: 10px;
}

.place-card {
  padding: 12px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  cursor: pointer;
  border: 1px solid var(--line);
  color: inherit;
  text-align: left;
}

.place-card img {
  width: 90px;
  height: 76px;
  object-fit: cover;
  border-radius: 6px;
}

.place-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.place-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.dance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.dance-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dance-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.dance-card div {
  padding: 16px;
}

.dance-card h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.dance-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.45;
}

.dance-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 820;
}

.split-section {
  align-items: stretch;
  flex-wrap: wrap;
}

.panel {
  flex: 1 1 310px;
  padding: 24px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.info-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.wish-form {
  display: flex;
  gap: 8px;
  margin: 18px 0 14px;
}

.wish-form input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 16px;
  background: var(--surface-solid);
  color: var(--ink);
}

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

.wish-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.wish-list button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
}

.packing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.packing-item {
  min-height: 76px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.packing-item.is-done {
  color: var(--muted);
}

.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 50px auto 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.9rem;
}

.detail-dialog {
  width: min(760px, calc(100% - 24px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-solid);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-dialog::backdrop {
  background: rgba(7, 11, 13, 0.58);
  backdrop-filter: blur(6px);
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
}

.dialog-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.dialog-body {
  padding: 24px;
}

.dialog-body h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
}

.dialog-body p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.6;
}

.currency-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0;
}

.currency-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.currency-form input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: var(--surface-solid);
  color: var(--ink);
}

@media (max-width: 980px) {
  body {
    padding-top: 0;
  }

  .hero {
    min-height: 78svh;
    background-position: 62% center;
  }

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

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

  .action-dock {
    position: fixed;
    top: 10px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(680px, calc(100% - 20px));
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    overflow: hidden;
    padding: 8px;
    border-radius: 22px;
    background: rgba(255, 250, 244, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(24px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    translate: 0 -14px;
    transition: opacity 0.22s ease, translate 0.22s ease;
  }

  [data-theme="dark"] .action-dock {
    background: rgba(22, 22, 20, 0.7);
    border-color: rgba(255, 250, 244, 0.16);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  }

  body.dock-visible .action-dock {
    opacity: 1;
    pointer-events: auto;
    translate: 0 0;
  }

  .dock-btn {
    width: 100%;
    height: 54px;
    min-width: 0;
    padding: 0 8px;
    flex-direction: row;
    border-radius: 16px;
    background: rgba(255, 250, 244, 0.72);
    gap: 8px;
  }

  .dock-btn.is-active {
    background: linear-gradient(135deg, var(--accent), #f3ad68);
  }

  .dock-btn.is-active strong,
  .dock-btn.is-active .mini-icon {
    color: #fffaf4;
  }

  .day-layout,
  .map-grid {
    grid-template-columns: 1fr;
  }

  .day-summary {
    position: relative;
    top: auto;
    min-height: auto;
  }

  .day-summary img {
    height: 260px;
  }

  .split-section,
  .intro-band,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .tabs {
    width: 100%;
    overflow-x: auto;
  }

  .tab {
    flex: 1;
  }

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

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 540px;
    height: auto;
    padding: 14px 14px 26px;
    background-position: 67% center;
  }

  .nav-links {
    display: none;
  }

  h1 {
    font-size: clamp(2.75rem, 12.5vw, 3.85rem);
    line-height: 0.88;
  }

  .hero-content {
    padding-top: 18svh;
    padding-bottom: 0;
  }

  .hero-content p:not(.eyebrow) {
    display: block;
    max-width: 92%;
    margin: 12px 0 14px;
    font-size: 1.02rem;
    line-height: 1.22;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .hero-stats article {
    min-width: 0;
    padding: 10px 11px;
    border-radius: 14px;
  }

  .hero-stats span,
  .hero-stats small {
    font-size: 0.62rem;
    line-height: 1.15;
  }

  .hero-stats strong {
    font-size: 1.16rem;
  }

  .date-pill {
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.95rem;
  }

  html[lang="ru"] h1 {
    font-size: clamp(2.45rem, 11.2vw, 3.35rem);
  }

  html[lang="ru"] .hero-content p:not(.eyebrow) {
    font-size: 0.94rem;
    line-height: 1.18;
  }

  html[lang="ru"] .date-pill {
    font-size: 0.86rem;
  }

  .action-dock {
    width: min(360px, calc(100% - 42px));
    top: 8px;
    right: auto;
    border-radius: 999px;
    padding: 6px;
  }

  .dock-btn {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 4px;
    gap: 4px;
    flex-direction: column;
    border-radius: 999px;
  }

  .dock-btn .mini-icon svg {
    width: 20px;
    height: 20px;
  }

  .dock-btn strong {
    display: none;
  }

  .quick-grid {
    width: calc(100% - 20px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    gap: 10px;
    padding-bottom: 0;
  }

  .quick-grid .glass-card {
    min-width: 0;
    padding: 12px;
    border-radius: 16px;
  }

  .flight-card {
    gap: 8px;
  }

  .flight-card h2,
  .weather-card strong,
  .progress-card strong {
    font-size: 1.25rem;
  }

  .flight-card p,
  .weather-row em,
  .weather-row small {
    font-size: 0.78rem;
  }

  .quick-card-art {
    height: 54px;
    border-radius: 11px;
    margin-top: 4px;
  }

  .tiny-link {
    min-height: 30px;
    padding: 0 9px;
    font-size: 0.75rem;
  }

  .weather-row {
    align-items: flex-start;
    gap: 6px;
    padding: 6px 0;
  }

  .section {
    width: calc(100% - 20px);
    margin: 32px auto;
  }

  .intro-band {
    padding: 18px 0;
  }

  .timeline-item {
    grid-template-columns: auto 50px minmax(0, 1fr);
    gap: 9px;
    padding: 9px;
    align-items: start;
  }

  .thumb {
    width: 50px;
    height: 50px;
  }

  .open-dot {
    display: none;
  }

  .timeline-copy span {
    display: block;
  }

  .timeline-copy .time {
    font-size: 0.74rem;
    margin-bottom: 2px;
  }

  .timeline-copy strong {
    margin-bottom: 2px;
    font-size: 0.92rem;
    line-height: 1.12;
  }

  .timeline-copy span:not(.time) {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .route-visual,
  .route-board {
    min-height: 280px;
  }

  .map-pin-label {
    display: none;
  }

  .map-pin-dot {
    width: 36px;
    height: 36px;
  }

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

  .overview-icons span {
    min-width: 0;
  }

  .map-detail {
    grid-template-columns: 1fr;
  }

  .map-detail img {
    width: 100%;
    height: 150px;
  }

  .place-card {
    grid-template-columns: 78px 1fr;
  }

  .place-card img {
    width: 78px;
    height: 70px;
  }

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

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

  .wish-form {
    flex-direction: column;
  }

  .footer {
    width: calc(100% - 20px);
    flex-direction: column;
  }

  .detail-dialog {
    width: 100%;
    max-width: none;
    margin: auto 0 0;
    border-radius: 14px 14px 0 0;
  }

  .dialog-media img {
    height: 220px;
  }
}
