/*
Theme Name: Caspian Portal
Theme URI: https://caspian.moscow
Author: Caspian
Description: SEO-портал ресторана Каспиан на Арбате. Гид по Арбату, блог, рестораны, маршруты, музеи.
Version: 1.0.0
License: Proprietary
Text Domain: caspian-portal
*/

:root {
  --ink: #1d1e2b;
  --muted: #7b8193;
  --soft: #f4f6fb;
  --paper: #ffffff;
  --line: #e8ebf2;
  --deep: #20202e;
  --deep-2: #2d2d3c;
  --lime: #cfff35;
  --lime-2: #e9ffd0;
  --blue: #dff2ff;
  --pink: #fff0f7;
  --yellow: #fff4c7;
  --green-soft: #edf8dd;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 7% 16%, rgba(207, 255, 53, .24), transparent 24rem),
    linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
  color: var(--ink);
  font-family: Inter, Manrope, "SF Pro Display", "Segoe UI", Arial, sans-serif;
}

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

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

.portal {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: visible;
}

.portal::before,
.portal::after {
  position: fixed;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.portal::before {
  inset: 0;
  background:
    linear-gradient(106deg, transparent 0 16%, rgba(207, 255, 53, .16) 16% 22%, transparent 22% 100%),
    linear-gradient(106deg, transparent 0 63%, rgba(255, 255, 255, .76) 63% 70%, transparent 70% 100%);
}

.portal::after {
  display: none;
}

.shell {
  width: min(1190px, calc(100% - 34px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .72));
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(225, 230, 239, .92);
  border-radius: 28px;
  padding: 9px 10px 9px 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 20px 60px rgba(38, 44, 60, .08);
}

.brand {
  display: grid;
  gap: 1px;
  color: #161824;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -.02em;
}

.brand span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5f6474;
  font-size: 13px;
  font-weight: 750;
}

.navlinks > a:not(.btn) {
  border-radius: 999px;
  padding: 10px 12px;
  transition: background .2s ease, color .2s ease;
}

.navlinks > a:not(.btn):hover {
  background: #f1f4f8;
  color: var(--ink);
}

.btn,
.ghost-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 16px;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn {
  border: 1px solid var(--lime);
  background: var(--lime);
  color: #171823;
  box-shadow: 0 18px 34px rgba(175, 225, 35, .28);
}

.ghost-btn {
  border: 1px solid rgba(222, 226, 235, .96);
  background: rgba(255, 255, 255, .82);
  color: #1e2130;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(340px, 520px);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
  padding: 52px 0 36px;
}

.hero > div:first-child {
  position: relative;
  border: 1px solid rgba(230, 234, 242, .9);
  border-radius: 44px;
  padding: clamp(28px, 5vw, 56px);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 28px 90px rgba(35, 40, 55, .08);
}

.hero > div:first-child::before {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 24px;
  margin-bottom: 30px;
  background: var(--lime);
  color: #11131d;
  content: "AR";
  font-weight: 950;
  box-shadow: 0 16px 28px rgba(188, 238, 42, .35);
}

.kicker {
  margin: 0 0 14px;
  color: #8fb511;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Inter, Manrope, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  letter-spacing: -.035em;
}

h1,
.display {
  max-width: 760px;
  font-size: clamp(42px, 6.7vw, 84px);
  font-weight: 950;
  line-height: .95;
}

h2 {
  font-size: clamp(31px, 4.4vw, 58px);
  font-weight: 950;
  line-height: 1;
}

h3 {
  font-size: 21px;
  font-weight: 920;
  line-height: 1.22;
}

p {
  color: #555b6e;
  line-height: 1.68;
}

.lead {
  margin: 22px 0 0;
  max-width: 680px;
  color: #6c7284;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.55;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-card {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 14px solid rgba(255, 255, 255, .96);
  border-radius: 54px;
  background: #fff;
  box-shadow:
    0 46px 100px rgba(32, 32, 46, .18),
    inset 0 0 0 1px rgba(235, 238, 245, .9);
  transform: rotate(5deg);
}

.hero-card::before {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 3;
  width: 88px;
  height: 8px;
  border-radius: 999px;
  background: rgba(18, 20, 31, .12);
  content: "";
  transform: translateX(-50%);
}

.hero-card img,
.photo-card img,
.place-card img,
.wide-photo img,
.restaurant-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card::after,
.photo-card::after {
  position: absolute;
  inset: auto 18px 18px;
  height: auto;
  border-radius: 28px;
  background: rgba(32, 32, 46, .92);
  content: "";
}

.image-caption {
  position: absolute;
  right: 26px;
  bottom: 28px;
  left: 26px;
  z-index: 2;
  border-radius: 24px;
  padding: 15px 16px;
  background: rgba(32, 32, 46, .93);
  color: white;
  font-size: 12px;
  line-height: 1.45;
}

.image-caption span {
  color: rgba(207, 255, 53, .92);
}

.section {
  padding: 58px 0;
}

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

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.quick-card,
.info-card,
.route-card,
.fact,
.faq-item {
  border: 1px solid rgba(229, 234, 242, .96);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 20px 54px rgba(35, 40, 55, .08);
}

.quick-card {
  display: grid;
  min-height: 148px;
  align-content: space-between;
  border-radius: 30px;
  padding: 18px;
}

.quick-card:nth-child(3n + 1) { background: var(--blue); }
.quick-card:nth-child(3n + 2) { background: var(--green-soft); }
.quick-card:nth-child(3n)     { background: var(--pink); }

.quick-card strong {
  display: block;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -.035em;
}

.quick-card span,
.meta,
.caption-muted {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.info-card {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: clamp(24px, 4vw, 46px);
}

.info-card::after {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: var(--lime);
  opacity: .26;
  content: "";
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  list-style: none;
  border: 1.5px solid rgba(21, 23, 33, .07);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .72);
  transition: border-color .18s, background .18s;
}

.timeline li:hover {
  border-color: rgba(207, 255, 53, .55);
  background: #fff;
}

.timeline strong {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 50px;
  max-width: 108px;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 11px;
  background: var(--deep);
  color: var(--lime);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.3;
  letter-spacing: .01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.timeline li > div {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 38px;
}

.timeline p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.54;
  color: rgba(21, 23, 33, .76);
}

.history-timeline-section {
  padding-top: 34px;
}

.history-panel {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(229, 234, 242, .96);
  border-radius: 36px;
  padding: clamp(22px, 3.2vw, 38px);
  background:
    linear-gradient(110deg, rgba(233, 255, 208, .78), rgba(255, 255, 255, .94) 26%, #fff 100%),
    #fff;
  box-shadow: none;
}

.history-panel-head {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(300px, 1fr);
  gap: clamp(18px, 4vw, 72px);
  align-items: end;
}

.history-panel-head .kicker {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.history-panel-head h2 {
  max-width: 620px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: .94;
}

.history-panel-head p:not(.kicker) {
  max-width: 610px;
  margin: 0 0 6px;
  color: #697184;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.45;
}

.history-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-flow li {
  display: grid;
  align-content: space-between;
  min-height: 154px;
  border: 1px solid rgba(32, 32, 46, .07);
  border-radius: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, .8);
}

.history-flow span {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--deep);
  color: var(--lime);
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.history-flow p {
  margin: 18px 0 0;
  color: #5f6677;
  font-size: 14px;
  line-height: 1.4;
}

.history-addresses {
  display: grid;
  gap: 16px;
  border-radius: 28px;
  padding: clamp(16px, 2.3vw, 24px);
  background: #20202e;
  color: #fff;
}

.history-addresses-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.history-addresses-head .kicker {
  margin: 0;
  color: var(--lime);
}

.history-addresses-head h3 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1;
  text-align: right;
}

.history-address-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-address-grid li {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 164px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255, 255, 255, .07);
}

.history-address-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: #171823;
  font-size: 13px;
  font-weight: 950;
}

.history-address-grid strong {
  display: block;
  color: #fff;
  font-size: 17px;
  line-height: 1.16;
}

.history-address-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.32;
}

.route-day-layout {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(14px, 1.8vw, 20px);
  align-items: stretch;
  border: 1px solid rgba(229, 234, 242, .86);
  border-radius: 46px;
  padding: clamp(12px, 1.8vw, 18px);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .92), rgba(242, 245, 251, .86)),
    radial-gradient(circle at 76% 18%, rgba(123, 145, 255, .18), transparent 20rem);
  box-shadow: 0 36px 100px rgba(35, 40, 55, .12);
}

.route-day-card {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border: 1px solid rgba(228, 232, 240, .96);
  border-radius: 36px;
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(circle at 82% 18%, rgba(207, 255, 53, .35), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(248, 250, 255, .96));
  box-shadow: 0 24px 70px rgba(35, 40, 55, .08);
}

.route-day-card::after {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 112px;
  height: 112px;
  border-radius: 34px;
  background: var(--lime);
  opacity: .24;
  content: "";
}

.route-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.route-label-row .kicker { margin: 0; }

.route-label-row span {
  border: 1px solid rgba(32, 32, 46, .12);
  border-radius: 999px;
  padding: 8px 12px;
  color: #8d93a2;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
}

.route-day-card h2 {
  max-width: 610px;
  font-size: clamp(52px, 6.9vw, 96px);
  line-height: .86;
}

.route-day-card .lead {
  max-width: 560px;
  color: #6c7284;
  font-size: clamp(18px, 1.8vw, 22px);
}

.route-day-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.route-day-meta span {
  display: grid;
  min-height: 118px;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(228, 232, 240, .95);
  border-radius: 24px;
  padding: 17px;
  background: #fff;
  color: #7b8193;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(35, 40, 55, .08);
}

.route-day-meta strong {
  color: #171823;
  font-size: 34px;
  line-height: 1;
}

.route-day-pills {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.route-day-pills span {
  border: 1px solid rgba(32, 32, 46, .12);
  border-radius: 999px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, .72);
  color: #5f6474;
  font-size: 13px;
  font-weight: 900;
}

.route-bento-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: min(100%, 360px);
  margin-top: 34px;
}

.route-bento-actions .btn,
.route-bento-actions .ghost-btn {
  width: 100%;
  min-height: 58px;
  border-radius: 20px;
}

.ticket-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: 210px 174px 190px;
  gap: 12px;
  align-content: stretch;
  min-height: 620px;
  padding: 0;
  border: 1px solid rgba(229, 234, 242, .9);
  border-radius: 36px;
  background:
    radial-gradient(circle at 14% 18%, rgba(207, 255, 53, .2), transparent 13rem),
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(252, 254, 248, .72));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
}

.route-stack-photo,
.arbat-photo-card {
  position: relative;
  overflow: hidden;
  border: 12px solid rgba(255, 255, 255, .88);
  border-radius: 42px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(35, 40, 55, .14);
}

.route-stack-photo {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
  order: 0;
  min-height: 0;
  height: auto;
  border-width: 9px;
  border-radius: 34px;
}

.arbat-photo-card {
  min-height: 620px;
  margin: 0;
}

.route-stack-photo img,
.arbat-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-stack-photo::after,
.arbat-photo-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(6, 9, 35, .54));
  content: "";
}

.route-stack-photo figcaption,
.arbat-photo-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, .86);
  font-size: 12px;
  line-height: 1.35;
}

.route-stack-photo figcaption {
  display: grid;
  gap: 6px;
  color: white;
  font-size: 19px;
  font-weight: 950;
}

.route-stack-photo figcaption span {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .9);
  color: #171823;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ticket-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(228, 232, 240, .9);
  border-radius: 28px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 58px rgba(35, 40, 55, .13);
}

.ticket-card:nth-of-type(1) { z-index: 3; grid-column: 5 / 7; grid-row: 1 / 2; width: 100%; margin-left: 0; }
.ticket-card:nth-of-type(2) { z-index: 4; grid-column: 5 / 7; grid-row: 2 / 3; width: 100%; margin-left: 0; }
.ticket-card:nth-of-type(3) { z-index: 5; grid-column: 1 / 7; grid-row: 3 / 4; width: 100%; margin-left: 0; }

.ticket-top {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  color: #171823;
  font-size: 16px;
  font-weight: 950;
}

.ticket-blue .ticket-top { background: #7b91ff; color: white; }
.ticket-lime .ticket-top { background: #ecff5a; }
.ticket-pink .ticket-top { background: #f7a9de; }

.ticket-body { padding: 17px; }
.ticket-body small { color: #8d93a2; font-size: 12px; }
.ticket-body h3 { margin-top: 5px; font-size: clamp(20px, 2.1vw, 26px); }

.ticket-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  border-top: 1px dashed rgba(32, 32, 46, .11);
  padding-top: 14px;
}

.ticket-footer strong { color: #171823; font-size: clamp(20px, 2.2vw, 27px); font-weight: 950; }

.ticket-footer a {
  border-radius: 999px;
  padding: 10px 18px;
  background: #060923;
  color: white;
  font-size: 13px;
  font-weight: 850;
}

.route-showcase {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: none;
  box-shadow: none;
}

.route-showcase-head {
  display: grid;
  grid-template-columns: minmax(310px, .72fr) minmax(340px, 1fr);
  gap: clamp(18px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(18px, 2.4vw, 30px);
}

.route-showcase-head .kicker { grid-column: 1 / -1; margin: 0 0 -4px; }
.route-showcase-head h2 { max-width: 690px; font-size: clamp(56px, 7.4vw, 108px); line-height: .86; }
.route-showcase-head p { max-width: 670px; margin: 0; color: #6f7587; font-size: clamp(18px, 1.65vw, 24px); line-height: 1.5; }

.route-showcase-track {
  display: flex;
  gap: 12px;
  align-items: stretch;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 0;
  background: none !important;
  box-shadow: none !important;
  scrollbar-width: none;
  padding-bottom: 0;
}

.route-showcase-track::-webkit-scrollbar { display: none; }

.route-stage-card {
  position: relative;
  display: grid;
  flex: 0 0 300px;
  min-height: 430px;
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, .88);
  border-radius: 32px;
  background: #20202e;
  box-shadow: none;
  transition:
    flex-basis .42s cubic-bezier(.2, .8, .2, 1),
    transform .42s cubic-bezier(.2, .8, .2, 1),
    box-shadow .42s cubic-bezier(.2, .8, .2, 1);
}

.route-stage-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.route-stage-card img { display: none; }

.route-stage-card::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 18, .12), rgba(8, 10, 18, .72)),
    radial-gradient(circle at 78% 22%, rgba(207, 255, 53, .26), transparent 12rem);
  content: "";
}

.route-stage-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  align-self: start;
  padding: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: .04em;
}

.route-stage-top span {
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
}

.route-stage-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-self: end;
  gap: 10px;
  padding: 22px;
  color: #fff;
}

.route-stage-copy > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lime);
  color: #171823;
  font-size: 18px;
  font-weight: 950;
}

.route-stage-copy h3 { max-width: 420px; color: #fff; font-size: clamp(28px, 3.2vw, 46px); line-height: .98; }
.route-stage-copy p { max-width: 430px; margin: 0; color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.45; }

.route-stage-copy a {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  color: #171823;
  font-size: 13px;
  font-weight: 950;
}

.route-stage-wide { flex-basis: 460px; min-height: 460px; }
.route-stage-tall, .route-stage-slim { flex-basis: 270px; min-height: 460px; }

.route-stage-tall .route-stage-copy h3,
.route-stage-slim .route-stage-copy h3 {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  max-height: 260px;
  font-size: clamp(30px, 3.4vw, 48px);
}

.route-stage-tall .route-stage-copy p,
.route-stage-slim .route-stage-copy p { display: none; }

.route-stage-blue::after {
  background:
    linear-gradient(180deg, rgba(8, 10, 18, .04), rgba(8, 10, 18, .58)),
    linear-gradient(135deg, rgba(70, 108, 255, .54), rgba(27, 214, 235, .18));
}

.route-stage-final { flex-basis: 430px; background-color: #fff; }

.route-stage-final::after {
  background:
    linear-gradient(180deg, rgba(8, 10, 18, .08), rgba(8, 10, 18, .8)),
    radial-gradient(circle at 18% 18%, rgba(247, 169, 222, .44), transparent 14rem);
}

.route-stage-final .route-stage-top span:first-child { background: #f7a9de; color: #171823; }
.route-stage-final .route-stage-copy a { background: var(--lime); }

@media (hover: hover) and (pointer: fine) {
  .route-stage-card:hover { flex-basis: 500px; transform: translateY(-6px); box-shadow: none; }
  .route-stage-tall:hover .route-stage-copy h3,
  .route-stage-slim:hover .route-stage-copy h3 { max-height: none; transform: none; writing-mode: initial; }
  .route-stage-tall:hover .route-stage-copy p,
  .route-stage-slim:hover .route-stage-copy p { display: block; }
}

.photo-card,
.wide-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 12px solid rgba(255, 255, 255, .86);
  border-radius: 42px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(35, 40, 55, .12);
}

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

.place-card {
  overflow: hidden;
  border: 1px solid rgba(228, 232, 240, .94);
  border-radius: 36px;
  padding-top: 14px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 60px rgba(35, 40, 55, .09);
}

.place-card::before {
  display: block;
  height: 8px;
  margin: 0 18px 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime), #dff3ff 44%, #e5d9ff);
  content: "";
}

.place-card figure { position: relative; height: 224px; margin: 12px; overflow: hidden; border-radius: 28px; background: #fff; }
.place-card figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; }
.place-body { display: grid; gap: 11px; padding: 10px 22px 24px; }

.tag {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--lime-2);
  color: #6c8f00;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.featured-restaurant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, .88fr);
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(32, 32, 46, .1);
  border-radius: 42px;
  padding: 14px;
  background:
    radial-gradient(circle at 86% 12%, rgba(207, 255, 53, .24), transparent 18rem),
    var(--deep);
  box-shadow: 0 34px 90px rgba(32, 32, 46, .2);
}

.featured-restaurant .tag { background: var(--lime); color: #171823; }
.featured-restaurant h2, .featured-restaurant h3, .featured-restaurant .display { color: #fff; }
.featured-restaurant p, .featured-restaurant .lead, .featured-restaurant .caption-muted { color: rgba(255, 255, 255, .72); }
.featured-restaurant .ghost-btn { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .08); color: white; }

.restaurant-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.restaurant-media figure { min-height: 224px; margin: 0; overflow: hidden; border-radius: 30px; background: #fff; }
.restaurant-copy { padding: clamp(18px, 3vw, 34px); }

.restaurant-gallery-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 320px) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(16px, 3vw, 28px);
  margin-top: 10px;
  background: none !important;
  box-shadow: none !important;
}

.restaurant-gallery-intro {
  display: grid;
  align-content: center;
  min-height: 330px;
  border: 1px solid rgba(229, 234, 242, .95);
  border-radius: 34px;
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, .82);
  box-shadow: none;
}

.restaurant-gallery-intro h3 { font-size: clamp(31px, 3.6vw, 46px); line-height: 1; }
.restaurant-gallery-intro p:not(.kicker) { margin: 17px 0 0; color: var(--muted); font-size: 16px; }

.gallery-scroll-actions { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.gallery-scroll-actions span { color: #8d93a2; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.gallery-scroll-actions button,
.gallery-scroll-nudge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(32, 32, 46, .08);
  border-radius: 50%;
  background: #fff;
  color: #171823;
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(35, 40, 55, .12);
}

.gallery-scroll-nudge {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: -4px;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: var(--lime);
  box-shadow: 0 22px 42px rgba(175, 225, 35, .3);
}

.restaurant-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 430px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  border: 0;
  background: none !important;
  box-shadow: none !important;
  padding: 4px 4px 0;
  scrollbar-width: none;
}

.restaurant-gallery-track::-webkit-scrollbar { display: none; }

.restaurant-gallery-slide {
  position: relative;
  scroll-snap-align: start;
  min-height: 430px;
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, .9);
  border-radius: 34px;
  background: #fff;
  box-shadow: none;
}

.restaurant-gallery-slide img { width: 100%; height: 100%; object-fit: cover; }

.restaurant-gallery-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(10, 12, 20, .02) 28%, rgba(10, 12, 20, .74) 100%);
}

.restaurant-gallery-overlay {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  left: 18px;
  color: #fff;
}

.restaurant-gallery-overlay span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  margin-bottom: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .88);
  color: #171823;
  font-size: 11px;
  font-weight: 950;
}

.restaurant-gallery-overlay h3 { color: #fff; font-size: clamp(32px, 4vw, 54px); }
.restaurant-gallery-overlay p { max-width: 330px; margin: 8px 0 16px; color: rgba(255, 255, 255, .78); line-height: 1.45; }

.restaurant-gallery-overlay a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--lime);
  color: #171823;
  font-size: 13px;
  font-weight: 950;
}

.restaurant-gallery-plain {
  display: grid;
  align-content: end;
  padding: 26px;
  background:
    radial-gradient(circle at 84% 10%, rgba(207, 255, 53, .28), transparent 14rem),
    var(--deep);
  color: #fff;
}

.restaurant-gallery-plain::after { display: none; }
.restaurant-gallery-plain h3 { color: #fff; overflow-wrap: anywhere; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.04; }
.restaurant-gallery-plain p { color: rgba(255, 255, 255, .72); font-size: 17px; }
.restaurant-gallery-plain .ghost-btn { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .08); color: white; }

.restaurant-gallery-plain .action-row,
.cta-gallery-dark .action-row { display: flex; flex-wrap: nowrap; gap: 10px; }

.restaurant-gallery-plain .btn,
.restaurant-gallery-plain .ghost-btn,
.cta-gallery-dark .btn,
.cta-gallery-dark .ghost-btn {
  width: auto;
  min-height: 46px;
  flex: 1 1 0;
  padding-inline: 14px;
  text-align: center;
  white-space: normal;
}

.cta-gallery-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .38fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  background: none !important;
  box-shadow: none !important;
}

.cta-gallery-intro {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: clamp(22px, 3vw, 34px);
}

.round-arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff;
  color: #171823;
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(35, 40, 55, .1);
}

.cta-gallery-intro h2 { max-width: 360px; font-size: clamp(34px, 4vw, 58px); }
.cta-gallery-intro p:not(.kicker) { max-width: 380px; margin: 18px 0 0; color: var(--muted); font-size: 16px; }

.cta-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 380px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  border: 0;
  background: none !important;
  box-shadow: none !important;
  padding: 10px 4px 0;
  scrollbar-width: none;
}

.cta-gallery-track::-webkit-scrollbar { display: none; }

.cta-gallery-card {
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: 280px 1fr;
  min-height: 470px;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, .9);
  border-radius: 34px;
  background: #fff;
  box-shadow: none;
}

.cta-gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.cta-gallery-card > div { display: grid; align-content: start; gap: 8px; padding: 22px; }

.cta-gallery-card span:not(.tag) {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--lime-2);
  color: #6c8f00;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cta-gallery-card h3 { font-size: 25px; }
.cta-gallery-card p { margin: 0; color: var(--muted); line-height: 1.52; }

.cta-gallery-dark {
  grid-template-rows: auto;
  align-content: end;
  gap: 16px;
  padding: 28px;
  background:
    radial-gradient(circle at 78% 12%, rgba(207, 255, 53, .26), transparent 15rem),
    var(--deep);
  color: #fff;
}

.cta-gallery-dark h3 { color: #fff; overflow-wrap: anywhere; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.04; }
.cta-gallery-dark p { max-width: 330px; color: rgba(255, 255, 255, .72); font-size: 17px; }
.cta-gallery-dark .ghost-btn { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .08); color: #fff; }
.cta-gallery-dark .action-row { flex-direction: column; align-items: stretch; width: min(100%, 330px); margin-top: 4px; }
.cta-gallery-dark .cta-actions-stack { display: grid; grid-template-columns: 1fr; gap: 10px; width: min(100%, 320px); }
.cta-gallery-dark .btn, .cta-gallery-dark .ghost-btn { width: 100%; flex: none; }

.restaurant-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }

.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }

.service-card {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 220px;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, .86);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(35, 40, 55, .1);
}

.service-card > div { min-height: 154px; border-radius: 12px; padding: 22px; }
.service-card.blue > div  { background: #dff3ff; }
.service-card.peach > div { background: #ffe2cc; }
.service-card.mint > div  { background: #d8f7ee; }
.service-card.violet > div{ background: #e5d9ff; }
.service-card h3 { max-width: 360px; font-size: 25px; }
.service-card p { max-width: 370px; margin: 8px 0 0; color: rgba(29, 30, 43, .72); font-size: 14px; line-height: 1.45; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.service-tags span { border-radius: 999px; padding: 7px 10px; background: rgba(255, 255, 255, .42); color: rgba(29, 30, 43, .74); font-size: 12px; font-weight: 850; }

.service-card > a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #171823;
  font-size: 24px;
  font-weight: 950;
}

.service-card > a::before { content: "Открыть"; font-size: 16px; }

.restaurant-directory { display: grid; gap: 16px; max-width: 760px; margin: 34px auto 0; }

.directory-card {
  position: relative;
  display: grid;
  min-height: 176px;
  align-items: stretch;
  border: 7px solid rgba(255, 255, 255, .86);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 46px rgba(35, 40, 55, .1);
}

.directory-card::before { display: block; min-height: 46px; background: linear-gradient(90deg, #7b91ff, #cff5df); content: ""; }
.directory-main { min-width: 0; padding: 18px 20px 20px; }
.directory-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.directory-top h3 { font-size: 20px; }
.directory-top span { flex: 0 0 auto; border-radius: 999px; padding: 6px 10px; background: #eef6ff; color: #6a8ad9; font-size: 12px; font-weight: 900; }
.directory-main p { display: -webkit-box; overflow: hidden; margin: 5px 0 0; color: #6d7282; font-size: 13px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.directory-main strong { display: block; margin-top: 8px; color: #4166c5; font-size: 18px; line-height: 1.1; }
.directory-main small { display: block; margin-top: 4px; color: #8b91a2; font-size: 12px; }
.directory-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.directory-tags span { border-radius: 999px; padding: 5px 8px; background: #f2f5fb; color: #71788b; font-size: 11px; font-weight: 800; }

.route-card { display: grid; min-height: 282px; align-content: start; border-radius: 34px; padding: 22px; }
.route-card:nth-child(even) { background: #f7ffe6; }
.route-card:nth-child(3n)   { background: #eef6ff; }

.route-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.route-points span { border-radius: 999px; background: #f0f3f9; padding: 7px 10px; color: #61687a; font-size: 12px; font-weight: 750; }

.map-panel { overflow: hidden; border: 1px solid rgba(229, 234, 242, .96); border-radius: 42px; background: rgba(255, 255, 255, .88); box-shadow: 0 28px 80px rgba(35, 40, 55, .1); }
.map-grid { display: grid; grid-template-columns: 1fr 360px; }

.map-visual {
  position: relative;
  min-height: 470px;
  background:
    linear-gradient(42deg, transparent 46%, rgba(32, 32, 46, .86) 47%, rgba(32, 32, 46, .86) 52%, transparent 53%),
    linear-gradient(142deg, transparent 43%, rgba(207, 255, 53, .86) 44%, rgba(207, 255, 53, .86) 48%, transparent 49%),
    radial-gradient(circle at 30% 34%, #e4f2ff 0 12%, transparent 12%),
    #f4f7fc;
}

.pin {
  position: absolute;
  display: grid;
  min-width: 126px;
  transform: translate(-50%, -50%);
  gap: 4px;
  border: 1px solid rgba(222, 226, 235, .96);
  border-radius: 22px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 36px rgba(35, 40, 55, .12);
  font-size: 12px;
  font-weight: 800;
}

.pin strong { color: #8fb511; }
.map-list { padding: 28px; }
.map-list ol { display: grid; gap: 12px; margin: 18px 0 0; padding-left: 20px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.fact { border-radius: 30px; padding: 20px; }
.fact:nth-child(4n + 1) { background: var(--lime-2); }
.fact:nth-child(4n + 2) { background: var(--blue); }
.fact:nth-child(4n + 3) { background: var(--pink); }
.fact:nth-child(4n)     { background: var(--yellow); }

.history-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }

.history-chip {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 158px;
  border: 1px solid rgba(229, 234, 242, .9);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 18px 46px rgba(35, 40, 55, .08);
}

.history-chip.lime   { background: var(--lime-2); }
.history-chip.blue   { background: var(--blue); }
.history-chip.pink   { background: var(--pink); }
.history-chip.yellow { background: var(--yellow); }

.history-chip > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 16px; background: rgba(255, 255, 255, .58); color: #171823; font-size: 13px; font-weight: 950; }
.history-chip strong { display: block; color: #171823; font-size: 21px; line-height: 1.1; }
.history-chip p { margin: 8px 0 0; color: #5f6677; font-size: 14px; line-height: 1.45; }

.faq { display: grid; gap: 12px; }
.faq-item { border-radius: 28px; padding: 22px; }

.seo-text { border-top: 1px solid rgba(228, 232, 240, .9); color: #5b6274; }

.seo-article {
  border: 1px solid rgba(228, 232, 240, .9);
  border-radius: 42px;
  padding: clamp(24px, 4vw, 48px);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 28px 90px rgba(35, 40, 55, .07);
}

.seo-article .section-head { align-items: start; }
.seo-article h2 { max-width: 920px; }

.seo-query-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0 30px; }

.seo-query-grid article {
  display: grid;
  gap: 10px;
  min-height: 210px;
  border: 1px solid rgba(228, 232, 240, .9);
  border-radius: 28px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(35, 40, 55, .06);
}

.seo-query-grid article:nth-child(1) { background: var(--blue); }
.seo-query-grid article:nth-child(2) { background: var(--lime-2); }
.seo-query-grid article:nth-child(3) { background: var(--pink); }

.seo-query-grid span { width: fit-content; border-radius: 999px; padding: 7px 10px; background: rgba(255, 255, 255, .52); color: rgba(29, 30, 43, .68); font-size: 11px; font-weight: 950; }
.seo-query-grid strong { color: #171823; font-size: clamp(22px, 2vw, 30px); line-height: 1.05; letter-spacing: -.045em; }
.seo-query-grid p { margin: 0; color: #5f6677; font-size: 14px; line-height: 1.48; }

.seo-story { display: grid; gap: 16px; max-width: 980px; }
.seo-story h3 { margin-top: 18px; color: #171823; font-size: clamp(25px, 3vw, 42px); line-height: 1.05; letter-spacing: -.055em; }
.seo-story p { margin: 0; color: #596174; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.72; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 26px; color: var(--muted); font-size: 13px; font-weight: 750; }

.page-hero { padding: 54px 0 34px; }
.page-hero h1 { max-width: 960px; }

.page-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }

.side-nav { position: sticky; top: 98px; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 28px; padding: 16px; background: rgba(255, 255, 255, .86); }
.side-nav a { border-radius: 16px; padding: 10px 12px; color: #61687a; }
.side-nav a:hover { background: #f1f4f8; }

.notice { max-width: 860px; border: 1px solid rgba(207, 255, 53, .52); border-radius: 24px; margin-top: 20px; padding: 16px 18px; background: rgba(247, 255, 230, .72); color: #555b6e; line-height: 1.62; }

.footer {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
  padding: clamp(28px, 5vw, 58px) 0 24px;
  background:
    radial-gradient(circle at 8% 18%, rgba(207, 255, 53, .22), transparent 22rem),
    linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
  color: var(--ink);
}

.footer::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(106deg, transparent 0 18%, rgba(207, 255, 53, .16) 18% 24%, transparent 24% 100%),
    linear-gradient(106deg, transparent 0 66%, rgba(255, 255, 255, .72) 66% 72%, transparent 72% 100%);
  content: "";
  pointer-events: none;
}

.footer-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 520px);
  gap: clamp(20px, 4vw, 44px);
  align-items: stretch;
  border: 1px solid rgba(225, 230, 239, .96);
  border-radius: 42px;
  padding: clamp(22px, 3.2vw, 34px);
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 30px 90px rgba(35, 40, 55, .12);
  backdrop-filter: blur(16px);
}

.footer-orb { position: absolute; right: 30px; bottom: 26px; width: 84px; height: 84px; border-radius: 28px; background: var(--lime); opacity: .18; filter: blur(.2px); }
.footer-main, .footer-panel { position: relative; z-index: 1; }
.footer-main { display: grid; align-content: space-between; gap: clamp(28px, 5vw, 76px); }
.footer-brand { display: flex; align-items: center; gap: 14px; }

.footer-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(32, 32, 46, .08);
  border-radius: 18px;
  background: var(--deep);
  color: var(--lime);
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(35, 40, 55, .14);
}

.footer-brand strong { display: block; color: #171823; font-size: 27px; letter-spacing: -.04em; }
.footer-brand span:last-child { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.footer-copy { max-width: 640px; }
.footer h2 { color: #171823; font-size: clamp(40px, 5.2vw, 78px); line-height: .94; letter-spacing: -.055em; }
.footer-main p { max-width: 580px; margin: 22px 0 0; color: #636a7c; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.55; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px; max-width: 620px; }
.footer-meta span { border: 1px solid rgba(32, 32, 46, .08); border-radius: 999px; padding: 9px 12px; background: #fff; color: #697184; font-size: 12px; font-weight: 900; box-shadow: 0 10px 24px rgba(35, 40, 55, .05); }
.footer-panel { display: grid; align-content: start; gap: 16px; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 1px solid rgba(229, 234, 242, .96);
  border-radius: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 42px rgba(35, 40, 55, .07);
}

.footer-panel-title { display: block; color: #8d93a2; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-links > .footer-panel-title { grid-column: 1 / -1; }

.footer-links a {
  min-height: 48px;
  border-radius: 16px;
  padding: 13px 16px;
  background: #f4f6fb;
  color: #555c70;
  font-size: 14px;
  font-weight: 850;
  transition: transform .2s ease, background .2s ease;
}

.footer-links a:hover { transform: translateY(-2px); background: var(--lime-2); color: #171823; }

.footer-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(229, 234, 242, .96);
  border-radius: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 42px rgba(35, 40, 55, .07);
}

.footer-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; align-items: start; gap: 10px; }
.footer-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.footer-stat, .footer-event, .footer-action { border: 1px solid rgba(222, 226, 235, .95); box-shadow: 0 14px 38px rgba(35, 40, 55, .07); }

.footer-stat { display: grid; min-height: 104px; place-items: center; border-radius: 20px; padding: 15px 10px; background: rgba(255, 255, 255, .9); text-align: center; }
.footer-stat strong { color: #171823; font-size: clamp(21px, 2vw, 27px); font-weight: 950; letter-spacing: -.04em; line-height: 1; }
.footer-stat span { color: #788091; font-size: 13px; font-weight: 850; }
.footer-stat::after { width: 42px; height: 5px; border-radius: 999px; content: ""; }
.footer-stat.stat-blue::after { background: #2f8df5; }
.footer-stat.stat-red::after  { background: #ff3755; }
.footer-stat.stat-gold::after { background: #f5b400; }

.footer-event {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-color: rgba(207, 255, 53, .7);
  border-radius: 22px;
  padding: 20px;
  background: var(--lime);
  color: #171823;
}

.footer-event strong { max-width: 290px; font-size: clamp(28px, 3vw, 42px); font-weight: 950; letter-spacing: -.05em; line-height: .98; }
.footer-event span { flex: 0 0 auto; border-radius: 999px; padding: 10px 16px; background: var(--deep); color: #fff; font-size: 14px; font-weight: 950; white-space: nowrap; }

.footer-action {
  display: flex;
  width: 100%;
  height: 54px;
  min-height: 0;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  padding: 12px 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 950;
  letter-spacing: -.02em;
  line-height: 1.08;
}

.footer-action.primary { background: var(--deep); color: #fff; }
.footer-action.primary { grid-column: 1 / -1; height: 58px; font-size: 17px; }
.footer-action.secondary, .footer-action.footer-phone { background: #fff; color: #171823; }
.footer-action.footer-phone { font-size: 15px; }

.footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; color: #858c9e; font-size: 12px; font-weight: 800; }

/* ── App Hero / Phone mockups ── */
.app-hero { position: relative; min-height: calc(100vh - 92px); padding: clamp(28px, 4vw, 54px) 0 30px; overflow: hidden; }

.phone-row {
  display: flex;
  gap: clamp(30px, 4.6vw, 58px);
  align-items: center;
  justify-content: flex-start;
  width: min(1640px, 100%);
  margin: 0 auto;
  padding: 4px max(7vw, 24px) 34px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-padding-inline: max(7vw, 24px);
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.phone-row::-webkit-scrollbar { display: none; }

.phone {
  position: relative;
  flex: 0 0 clamp(330px, 27vw, 430px);
  min-height: clamp(690px, 76vh, 840px);
  overflow: hidden;
  scroll-snap-align: center;
  border: 11px solid rgba(255, 255, 255, .88);
  border-radius: 48px;
  background: #fff;
  box-shadow: 0 38px 94px rgba(35, 40, 55, .14), inset 0 0 0 1px rgba(232, 235, 242, .92);
}

.phone-intro { padding: 22px 28px 32px; transform: translateY(36px) scale(.96); }
.phone-dashboard { flex-basis: clamp(350px, 28.5vw, 450px); z-index: 3; padding: 22px 24px 26px; transform: translateY(-10px) scale(1.02); box-shadow: 0 46px 110px rgba(35, 40, 55, .18), inset 0 0 0 1px rgba(232, 235, 242, .92); }
.phone-detail { padding: 22px 24px 26px; background: #fff; transform: translateY(28px) scale(.98); }

.hero-slider-dots { display: flex; justify-content: center; gap: 9px; margin: -2px auto 0; }
.hero-slider-dots span { width: 10px; height: 10px; border-radius: 999px; background: #dfe4ec; }
.hero-slider-dots .active { width: 34px; background: var(--deep); }

.phone-detail::before { position: absolute; inset: 0 0 auto; height: 386px; border-radius: 0 0 34px 34px; background: var(--deep); content: ""; }

.phone-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 28px; color: #102348; font-size: 15px; font-weight: 900; }
.phone-top.dark { color: #fff; }
.phone-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; color: var(--ink); font-size: 16px; font-weight: 900; }
.phone-nav a { color: #1f2030; font-size: 14px; }

.hero-illustration { position: relative; display: grid; place-items: center; height: 284px; margin: 26px auto 30px; overflow: visible; }
.hero-illustration strong { display: grid; width: 172px; height: 172px; place-items: center; border: 14px solid #171823; border-radius: 44px; background: var(--lime); color: #171823; font-size: 54px; font-weight: 950; letter-spacing: 0; box-shadow: 0 24px 70px rgba(35, 40, 55, .14); }
.hero-illustration::after { position: absolute; inset: 24px 42px; z-index: -1; border-radius: 50%; background: rgba(207, 255, 53, .26); content: ""; }

.bubble { position: absolute; z-index: 2; display: grid; place-items: center; border: 2px solid #171823; border-radius: 999px; background: var(--lime); color: #171823; font-size: 12px; font-weight: 950; box-shadow: 0 8px 18px rgba(35, 40, 55, .12); }
.bubble-time { top: 12px; left: 34px; width: 70px; height: 70px; }
.bubble-walk { right: 18px; top: 108px; width: 62px; height: 62px; }
.bubble-food { right: 40px; bottom: 24px; width: 76px; height: 76px; }

.phone-intro h1 { max-width: 300px; margin: 0 auto; text-align: center; font-size: 31px; line-height: 1.07; }
.phone-intro p { max-width: 290px; margin: 14px auto 0; text-align: center; color: var(--muted); font-size: 15px; line-height: 1.45; }

.phone-dots { display: flex; justify-content: center; gap: 7px; margin: 32px 0; }
.phone-dots span { width: 9px; height: 9px; border-radius: 999px; background: #e7eaf0; }
.phone-dots span:first-child { width: 28px; background: var(--deep); }

.phone-primary, .phone-secondary, .dark-button, .light-button {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 950;
}

.phone-primary { background: var(--lime); color: #171823; }
.phone-secondary, .light-button { border: 1px solid #e4e7ee; margin-top: 12px; background: #f7f8fb; color: #171823; }

.guide-user { display: grid; grid-template-columns: 46px 1fr 34px; gap: 12px; align-items: center; margin-top: 12px; padding-bottom: 18px; border-bottom: 8px solid rgba(255, 255, 255, .72); }

.avatar, .mini-logo { display: grid; place-items: center; border-radius: 999px; background: var(--lime); color: #171823; font-weight: 950; }
.avatar { width: 42px; height: 42px; font-size: 13px; }

.guide-user strong { display: block; font-size: 18px; }
.guide-user span { color: var(--muted); font-size: 12px; line-height: 1.25; }
.bell { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #eef1f6; border-radius: 999px; color: var(--ink) !important; }

.screen-title { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 12px; }
.screen-title.compact { margin-top: 16px; }
.screen-title h2 { font-size: 23px; line-height: 1; }
.screen-title a { color: var(--muted); font-size: 13px; font-weight: 850; }

.dark-widget { border-radius: 13px; padding: 22px 16px 16px; background: var(--deep); color: #fff; }
.widget-head { display: grid; grid-template-columns: 48px 1fr 54px; gap: 12px; align-items: center; }
.mini-logo { width: 42px; height: 42px; background: rgba(255, 255, 255, .12); color: var(--lime); }
.widget-head strong { display: block; font-size: 23px; font-weight: 900; }
.widget-head span { color: var(--lime); font-size: 14px; }
.ring { display: grid; width: 50px; height: 50px; place-items: center; border: 2px solid rgba(207, 255, 53, .8); border-radius: 999px; background: rgba(207, 255, 53, .12); color: #fff !important; font-size: 13px !important; font-weight: 950; }

.progress, .detail-progress { height: 14px; border-radius: 999px; margin: 24px 0; background: rgba(255, 255, 255, .13); }
.progress span, .detail-progress span { display: block; width: 68%; height: 100%; border-radius: inherit; background: var(--lime); }

.widget-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.widget-stats span { display: block; border-radius: 12px; padding: 12px; background: #fff; color: var(--muted); font-size: 12px; }
.widget-stats strong { display: block; color: var(--ink); font-size: 24px; line-height: 1; }

.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: 18px; border-bottom: 8px solid rgba(255, 255, 255, .72); }
.goal-card { min-height: 112px; overflow: hidden; border-radius: 12px; padding: 18px 12px; }
.goal-card strong { display: block; font-size: 18px; }
.goal-card span { display: block; margin-top: 34px; color: rgba(29, 30, 43, .68); font-size: 13px; font-weight: 850; }
.goal-card.water { background: var(--blue); }
.goal-card.lime  { background: var(--green-soft); }
.goal-card.pink  { background: var(--pink); }

.workout-list { padding-bottom: 10px; }

.place-row { display: grid; grid-template-columns: 52px 1fr 48px; gap: 12px; align-items: center; margin-top: 12px; }
.place-row > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 13px; background: #f4f6fa; color: #a7ed1b; font-weight: 950; }
.place-row strong, .place-row small { display: block; }
.place-row small { color: #a0a5b5; font-size: 13px; }
.place-row b { display: grid; min-width: 54px; height: 34px; place-items: center; border: 1px solid rgba(207, 255, 53, .7); border-radius: 999px; background: var(--lime-2); color: #5f7f00; font-size: 11px; font-weight: 950; }

.detail-top { position: relative; z-index: 2; display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; margin-top: 16px; color: #fff; text-align: center; }
.detail-top span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 999px; background: rgba(255, 255, 255, .1); }

.caspian-badge { position: relative; z-index: 2; width: 88px; height: 88px; margin: 34px auto 18px; overflow: hidden; border: 3px solid rgba(255, 255, 255, .18); border-radius: 999px; background: #343443; }
.caspian-badge img { width: 100%; height: 100%; object-fit: cover; }

.phone-detail h2, .phone-detail > p, .detail-progress { position: relative; z-index: 2; }
.phone-detail h2 { color: #fff; text-align: center; font-size: 34px; }
.phone-detail > p { margin: 10px 0 0; color: rgba(255, 255, 255, .58); text-align: center; font-size: 16px; }
.detail-progress { margin: 34px 0 44px; }

.macro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.macro-grid div { min-height: 94px; border: 1px solid #e5e8ef; border-radius: 12px; padding: 14px 10px; background: #fff; text-align: center; }
.macro-grid strong, .macro-grid span { display: block; }
.macro-grid strong { font-size: 16px; }
.macro-grid span { min-height: 34px; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.2; }
.macro-grid i { display: block; width: 42px; height: 5px; border-radius: 999px; margin: 10px auto 0; background: #2f92ff; }
.macro-grid div:nth-child(2) i { background: #ff3145; }
.macro-grid div:nth-child(3) i { background: #f4b400; }

.lime-panel { min-height: 96px; border-radius: 12px; margin: 18px 0 56px; padding: 18px; background: var(--lime); }
.lime-panel strong, .lime-panel span { display: block; }
.lime-panel strong { font-size: 22px; }
.lime-panel span { width: fit-content; border-radius: 10px; margin-top: 10px; padding: 8px 11px; background: var(--deep); color: #fff; font-weight: 900; }
.dark-button { background: var(--deep); color: #fff; }

/* ── Blog ── */
.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 62px;
  background-color: #151721;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.blog-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(17, 18, 28, .68), rgba(17, 18, 28, .9));
  content: "";
  pointer-events: none;
}

.blog-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 12% 16%, rgba(207, 255, 53, .22), transparent 24rem),
    linear-gradient(110deg, transparent 0 35%, rgba(255, 255, 255, .08) 35% 42%, transparent 42% 100%);
  content: "";
  pointer-events: none;
}

.blog-hero .shell { position: relative; z-index: 2; }

.blog-category-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 54px; }
.blog-category-bar a { border: none; border-radius: 999px; padding: 12px 20px; background: #1d1f2e; color: rgba(255, 255, 255, .88); font-weight: 900; }
.blog-category-bar a.active { background: var(--lime); color: #151721; }

.blog-hero-copy { max-width: 940px; margin-bottom: 34px; }
.blog-hero-copy h1 { color: #fff; }
.blog-hero-copy p { max-width: 860px; color: rgba(255, 255, 255, .76); font-size: clamp(18px, 2vw, 23px); }

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

.blog-card { overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); border-radius: 34px; background: rgba(13, 14, 21, .92); box-shadow: 0 28px 80px rgba(0, 0, 0, .28); }

.blog-card-top { display: flex; min-height: 230px; align-items: end; padding: 22px; background: radial-gradient(circle at 20% 24%, rgba(207, 255, 53, .28), transparent 12rem), linear-gradient(135deg, #202231, #10121d); }
.blog-card:nth-child(2) .blog-card-top { background: radial-gradient(circle at 76% 20%, rgba(223, 242, 255, .32), transparent 13rem), linear-gradient(135deg, #202231, #12141f); }
.blog-card:nth-child(3) .blog-card-top { background: radial-gradient(circle at 82% 22%, rgba(255, 240, 247, .28), transparent 13rem), linear-gradient(135deg, #202231, #11131e); }

.blog-card-top span { width: fit-content; border: 1px solid rgba(207, 255, 53, .36); border-radius: 999px; padding: 9px 13px; background: rgba(8, 10, 16, .78); color: var(--lime); font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }

.blog-card-body { display: grid; gap: 16px; padding: 24px; }

.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-tags span { width: fit-content; border: 1px solid rgba(32, 32, 46, .08); border-radius: 999px; padding: 7px 10px; background: rgba(207, 255, 53, .12); color: #758f11; font-size: 11px; font-weight: 950; }
.blog-card .blog-tags span { border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .66); }

.blog-card h2 { color: #fff; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.04; }
.blog-card p { margin: 0; color: rgba(255, 255, 255, .68); }

.blog-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .09); margin-top: 10px; padding-top: 18px; }
.blog-card-foot span { color: rgba(255, 255, 255, .48); font-size: 12px; font-weight: 850; }
.blog-card-foot a { border: 1px solid rgba(207, 255, 53, .36); border-radius: 999px; padding: 9px 14px; color: var(--lime); font-size: 13px; font-weight: 950; }

.blog-topic-grid { display: grid; gap: 20px; }

.blog-topic {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 18px;
  border: 1px solid rgba(229, 234, 242, .96);
  border-radius: 36px;
  padding: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 22px 70px rgba(35, 40, 55, .08);
  animation: topicFadeIn .22s ease both;
}

@keyframes topicFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.blog-topic > div:first-child { border-radius: 28px; padding: 24px; background: var(--blue); }
.blog-topic:nth-child(3n + 2) > div:first-child { background: var(--green-soft); }
.blog-topic:nth-child(3n)     > div:first-child { background: var(--pink); }
.blog-topic h3 { font-size: clamp(26px, 3vw, 42px); }
.blog-topic p { margin-bottom: 0; }

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

.blog-row { display: grid; gap: 7px; border: 1px solid rgba(228, 232, 240, .9); border-radius: 22px; padding: 16px; background: #fff; }
.blog-row span { color: #8fb511; font-size: 11px; font-weight: 950; text-transform: uppercase; }
.blog-row strong { color: #171823; font-size: 17px; line-height: 1.16; }
.blog-row small { color: var(--muted); font-size: 12px; }

/* ── Article ── */
.article-hero { padding: 54px 0 28px; }
.article-hero .blog-tags { margin-top: 24px; }

.article-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; align-items: start; }

.article-side { position: sticky; top: 104px; display: grid; gap: 12px; border: 1px solid rgba(228, 232, 240, .96); border-radius: 28px; padding: 16px; background: rgba(255, 255, 255, .86); box-shadow: 0 20px 60px rgba(35, 40, 55, .08); }
.article-side span, .article-side > a:not(.btn) { border-radius: 16px; padding: 11px 12px; background: #f4f6fb; color: #62697b; font-size: 13px; font-weight: 850; }

.article-content { border: 1px solid rgba(228, 232, 240, .94); border-radius: 42px; padding: clamp(24px, 4vw, 52px); background: rgba(255, 255, 255, .9); box-shadow: 0 28px 90px rgba(35, 40, 55, .08); }

.article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 { margin-top: 32px; margin-bottom: 12px; color: #171823; }
.article-content h2 { font-size: clamp(30px, 4vw, 54px); }
.article-content h3 { font-size: clamp(25px, 3vw, 38px); }
.article-content h4, .article-content h5, .article-content h6 { font-size: clamp(20px, 2vw, 27px); }
.article-content p, .article-content li { color: #596174; font-size: 17px; line-height: 1.72; }
.article-content ul { display: grid; gap: 10px; padding-left: 22px; }

.ai-answer { border: 1px solid rgba(207, 255, 53, .62); border-radius: 30px; padding: 24px; background: linear-gradient(135deg, rgba(207, 255, 53, .24), rgba(255, 255, 255, .92)); }
.ai-answer span { color: #78960c; font-size: 12px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.ai-answer p { margin-bottom: 0; color: #272a38; font-size: 20px; line-height: 1.48; }

.article-content table { width: 100%; overflow: hidden; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 24px; }
.article-content th, .article-content td { border-bottom: 1px solid var(--line); padding: 16px; text-align: left; vertical-align: top; }
.article-content tr:last-child th, .article-content tr:last-child td { border-bottom: 0; }
.article-content th { width: 34%; background: #f6f8fc; color: #171823; font-weight: 950; }

.article-faq { display: grid; gap: 12px; margin-top: 34px; }

.article-cta { overflow: hidden; border-radius: 34px; margin-top: 36px; padding: clamp(24px, 4vw, 42px); background: radial-gradient(circle at 86% 20%, rgba(207, 255, 53, .34), transparent 14rem), var(--deep); }
.article-cta h2 { margin-top: 0; color: #fff; }
.article-cta p { color: rgba(255, 255, 255, .72); }
.article-cta .ghost-btn { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: #fff; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .app-hero { min-height: 0; }
  .phone-row { width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - 430px) / 2)); gap: 22px; }
  .phone, .phone-intro, .phone-dashboard, .phone-detail { flex-basis: min(430px, calc(100vw - 48px)); transform: none; }
  .phone-dashboard, .phone-detail { min-height: 760px; }
  .nav { align-items: start; flex-direction: column; padding: 14px; }
  .navlinks { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .hero, .split, .route-day-layout, .featured-restaurant, .restaurant-gallery-feature, .cta-gallery-section, .map-grid, .page-grid, .blog-topic, .article-layout { grid-template-columns: 1fr; }
  .hero-card { min-height: 500px; transform: rotate(0); }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket-stack { min-height: 0; }
  .route-day-card { border-radius: 34px; min-height: auto; }
  .route-day-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ticket-card { width: 100%; }
  .ticket-card:nth-of-type(1) { width: 100%; margin-left: 0; }
  .ticket-card:nth-of-type(2) { width: calc(100% - 24px); margin-left: 24px; }
  .ticket-card:nth-of-type(3) { width: calc(100% - 48px); margin-left: 48px; }
  .cards, .restaurant-list, .service-grid, .facts, .seo-query-grid, .history-grid, .blog-featured, .blog-list { grid-template-columns: 1fr 1fr; }
  .side-nav, .article-side { position: static; }
  .route-showcase { border-radius: 0; padding: 0; }
  .route-showcase-head { grid-template-columns: 1fr; gap: 14px; }
  .route-showcase-head h2 { font-size: clamp(46px, 12vw, 76px); }
  .route-showcase-track { gap: 10px; }
  .route-stage-card, .route-stage-wide, .route-stage-tall, .route-stage-slim { flex-basis: min(72vw, 420px); min-height: 420px; }
  .route-stage-tall .route-stage-copy h3, .route-stage-slim .route-stage-copy h3 { max-height: none; transform: none; writing-mode: initial; }
  .route-stage-tall .route-stage-copy p, .route-stage-slim .route-stage-copy p { display: block; }
}

@media (max-width: 760px) {
  body { background: radial-gradient(circle at 10% 4%, rgba(207, 255, 53, .2), transparent 17rem), #fff; }
  .portal { overflow-x: hidden; overflow-y: visible; }
  .shell { width: min(100% - 18px, 1190px); }
  .topbar { padding-top: 8px; }
  .nav { gap: 10px; border-radius: 22px; padding: 12px; }
  .brand { display: grid; width: 100%; grid-template-columns: 1fr; gap: 0; font-size: 22px; }
  .brand span { font-size: 10px; }
  .navlinks { display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; padding-bottom: 2px; }
  .navlinks > a:not(.btn), .navlinks .btn { min-height: 38px; border-radius: 999px; padding: 9px 12px; font-size: 12px; white-space: nowrap; text-align: center; }
  .navlinks .btn { grid-column: 1 / -1; }
  .app-hero { min-height: 0; padding: 18px 0 24px; }
  .phone-row { width: 100%; gap: 14px; align-items: stretch; padding: 4px 12px 22px; scroll-padding-inline: 12px; }
  .phone, .phone-intro, .phone-dashboard, .phone-detail { flex: 0 0 min(342px, calc(100vw - 24px)); min-height: auto; border-width: 7px; border-radius: 34px; transform: none; }
  .phone-intro, .phone-dashboard, .phone-detail { padding: 16px; }
  .phone-dashboard { min-height: 648px; }
  .phone-detail { min-height: 640px; }
  .phone-detail::before { height: 322px; border-radius: 0 0 28px 28px; }
  .phone-top { min-height: 24px; font-size: 13px; }
  .phone-nav { margin-top: 14px; font-size: 14px; }
  .hero-illustration { height: 212px; margin: 18px auto 22px; }
  .hero-illustration strong { width: 132px; height: 132px; border-width: 10px; border-radius: 34px; font-size: 40px; }
  .bubble-time { left: 26px; top: 6px; width: 60px; height: 60px; }
  .bubble-walk { right: 20px; top: 82px; width: 56px; height: 56px; }
  .bubble-food { right: 28px; bottom: 6px; width: 64px; height: 64px; }
  .phone-intro h1 { font-size: 28px; }
  .phone-intro p { font-size: 14px; }
  .phone-dots { margin: 22px 0; }
  .phone-primary, .phone-secondary, .dark-button, .light-button { min-height: 50px; border-radius: 16px; font-size: 14px; }
  .guide-user { grid-template-columns: 38px 1fr 30px; gap: 9px; margin-top: 8px; padding-bottom: 13px; border-bottom-width: 6px; }
  .avatar { width: 36px; height: 36px; font-size: 12px; }
  .guide-user strong { font-size: 15px; }
  .guide-user span { font-size: 11px; }
  .screen-title { margin: 14px 0 10px; }
  .screen-title h2 { font-size: 25px; }
  .dark-widget { border-radius: 22px; padding: 16px; }
  .widget-head strong { font-size: 22px; }
  .widget-stats { grid-template-columns: 1fr 1fr; }
  .widget-stats span { min-height: 64px; padding: 12px; }
  .goal-grid, .macro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .goal-card { min-height: 96px; border-radius: 16px; padding: 12px; }
  .goal-card strong { font-size: 18px; }
  .place-row { grid-template-columns: 42px 1fr auto; gap: 10px; }
  .place-row > span { width: 42px; height: 42px; border-radius: 13px; }
  .detail-top, .caspian-badge, .phone-detail h2, .phone-detail p, .detail-progress, .macro-grid, .lime-panel, .dark-button, .light-button { position: relative; z-index: 1; }
  .detail-top { margin-top: 18px; }
  .caspian-badge { width: 78px; height: 78px; margin-top: 46px; }
  .phone-detail h2 { margin-top: 22px; font-size: 36px; }
  .macro-grid div { min-height: 82px; padding: 12px 8px; border-radius: 16px; }
  .macro-grid strong { font-size: 18px; }
  .lime-panel { margin-top: 18px; border-radius: 18px; padding: 18px; }
  .lime-panel strong { font-size: 22px; }
  .section { padding: 38px 0; }
  .section-head { gap: 12px; margin-bottom: 18px; }
  .section-head h2 { font-size: clamp(30px, 10vw, 44px); line-height: .98; }
  .section-head p { font-size: 15px; }
  .service-grid, .cards, .restaurant-list, .history-grid, .seo-query-grid, .facts, .blog-featured, .blog-list { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 180px; border-width: 6px; border-radius: 20px; }
  .service-card > div { min-height: 132px; padding: 18px; }
  .service-card h3 { font-size: 25px; }
  .service-card p { font-size: 14px; }
  .place-card, .info-card, .map-panel, .seo-article { border-radius: 28px; }
  .place-body { padding: 10px 18px 20px; }
  .split, .featured-restaurant, .restaurant-gallery-feature, .cta-gallery-section, .map-grid, .restaurant-media { grid-template-columns: 1fr; }
  .arbat-photo-card, .wide-photo, .photo-card { min-height: 330px; border-width: 8px; border-radius: 30px; }
  .info-card { padding: 24px; }
  .info-card h2 { font-size: 34px; }
  .lead { font-size: 16px; }
  .route-showcase { width: min(100%, calc(100vw - 18px)); border-radius: 0; padding: 0; }
  .route-showcase-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 16px; }
  .route-showcase-head h2 { max-width: 360px; font-size: clamp(48px, 17vw, 74px); }
  .route-showcase-head p { font-size: 15px; line-height: 1.55; }
  .route-showcase-track { gap: 10px; padding-bottom: 0; }
  .route-stage-card, .route-stage-wide, .route-stage-tall, .route-stage-slim, .route-stage-final { flex-basis: min(82vw, 330px); min-height: 430px; border-width: 7px; border-radius: 28px; }
  .route-stage-tall .route-stage-copy h3, .route-stage-slim .route-stage-copy h3 { max-height: none; transform: none; writing-mode: initial; }
  .route-stage-tall .route-stage-copy p, .route-stage-slim .route-stage-copy p { display: block; }
  .route-stage-copy { padding: 18px; }
  .route-stage-copy h3 { font-size: 32px; }
  .route-stage-copy p { font-size: 14px; }
  .restaurant-gallery-feature, .cta-gallery-section { gap: 14px; }
  .restaurant-gallery-intro, .cta-gallery-intro { min-height: auto; border-radius: 26px; padding: 20px; }
  .restaurant-gallery-intro h3, .cta-gallery-intro h2 { font-size: 34px; }
  .restaurant-gallery-track, .cta-gallery-track { grid-auto-columns: minmax(280px, calc(100vw - 42px)); gap: 10px; margin-right: -9px; padding: 2px 78px 0 0; }
  .restaurant-gallery-slide, .cta-gallery-card { min-height: 430px; border-width: 7px; border-radius: 28px; }
  .cta-gallery-card { grid-template-rows: 220px 1fr; }
  .restaurant-gallery-overlay h3 { font-size: 36px; }
  .restaurant-gallery-plain, .cta-gallery-dark { padding: 22px; }
  .restaurant-gallery-plain .action-row, .cta-gallery-dark .action-row, .cta-gallery-dark .cta-actions-stack { display: grid; grid-template-columns: 1fr; width: 100%; gap: 9px; }
  .restaurant-gallery-plain .btn, .restaurant-gallery-plain .ghost-btn, .cta-gallery-dark .btn, .cta-gallery-dark .ghost-btn { width: 100%; min-height: 50px; flex: none; }
  .gallery-scroll-actions { flex-wrap: wrap; margin-top: 18px; }
  .gallery-scroll-actions span { width: 100%; }
  .gallery-scroll-nudge { top: auto; right: 14px; bottom: 16px; width: 50px; height: 50px; transform: none; }
  .map-visual { min-height: 390px; border-radius: 28px; }
  .pin { max-width: 172px; font-size: 11px; }
  .seo-query-grid article, .seo-story { border-radius: 24px; padding: 18px; }
  .seo-story h3 { font-size: 24px; }
  .seo-story p { font-size: 15px; }
  .footer { margin-top: 34px; padding: 34px 0 20px; }
  .footer-shell { grid-template-columns: 1fr; gap: 18px; border-radius: 30px; padding: 18px; }
  .footer-main { align-content: start; gap: 28px; }
  .footer-brand { gap: 12px; }
  .footer-mark { width: 46px; height: 46px; border-radius: 16px; }
  .footer-brand strong { font-size: 25px; }
  .footer h2 { font-size: clamp(40px, 13vw, 58px); line-height: .94; }
  .footer-main p { font-size: 16px; }
  .footer-meta { gap: 8px; margin-top: 22px; }
  .footer-meta span { padding: 8px 10px; font-size: 11px; }
  .footer-panel { gap: 12px; }
  .footer-links { grid-template-columns: 1fr 1fr; border-radius: 24px; padding: 14px; }
  .footer-links a { min-height: 46px; border-radius: 15px; padding: 12px; font-size: 13px; }
  .footer-card { border-radius: 24px; padding: 14px; }
  .footer-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .footer-stat { min-height: 92px; border-radius: 18px; padding: 12px 8px; }
  .footer-stat strong { font-size: 20px; }
  .footer-stat span { font-size: 12px; }
  .footer-stat::after { width: 42px; height: 5px; }
  .footer-event { min-height: auto; gap: 10px; border-radius: 20px; padding: 18px; }
  .footer-event strong { font-size: 26px; }
  .footer-event span { padding: 9px 12px; font-size: 13px; }
  .footer-actions { grid-template-columns: 1fr; gap: 9px; }
  .footer-action, .footer-action.primary, .footer-action.secondary, .footer-action.footer-phone { width: 100%; height: auto; min-height: 50px; max-height: none; border-radius: 17px; padding: 12px 16px; font-size: 15px; }
  .footer-action.primary { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 14px; }
  .blog-hero { padding-top: 34px; }
  .blog-category-bar { gap: 7px; margin-bottom: 34px; }
  .blog-category-bar a { padding: 9px 12px; font-size: 13px; }
  .cta-gallery-dark { min-height: 430px; align-content: end; padding: 26px 22px; }
  .cta-gallery-dark h3 { max-width: 100%; font-size: clamp(32px, 9vw, 44px); line-height: 1.02; }
  .cta-gallery-dark p { max-width: 100%; padding-right: 0; font-size: 15px; line-height: 1.55; }
  .cta-gallery-dark .action-row { flex-direction: column; gap: 10px; width: 100%; margin-top: 8px; }
  .cta-gallery-dark .btn, .cta-gallery-dark .ghost-btn { width: 100%; min-height: 52px; flex: none; border-radius: 18px; font-size: 14px; }
  .blog-topic, .article-content { border-radius: 30px; }
  .article-content th, .article-content td { display: block; width: 100%; }
  .history-chip { min-height: auto; }
  .directory-card { border-width: 5px; }
  .directory-card::before { min-height: 38px; }
  .directory-main { padding: 15px 15px 17px; }
  .directory-top { align-items: start; }
  .directory-top h3 { font-size: 17px; }
  .directory-top span { padding: 5px 8px; font-size: 10px; }
  .directory-main strong { font-size: 15px; }
  .directory-tags { display: none; }
  .timeline li { gap: 10px; padding: 10px 12px; }
  .timeline strong { max-width: 92px; font-size: 10.5px; min-height: 34px; }
  .map-visual { min-height: 430px; }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .btn, .ghost-btn { width: 100%; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 22px, 1190px); }
  .topbar { padding-top: 10px; }
  .nav { min-height: auto; border-radius: 24px; padding: 12px; }
  .brand { width: 100%; grid-template-columns: auto 1fr; align-items: end; gap: 8px; font-size: 21px; }
  .brand span { padding-bottom: 2px; font-size: 10px; }
  .navlinks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; }
  .navlinks > a:not(.btn) { padding: 8px 6px; text-align: center; font-size: 11px; }
  .navlinks .btn { grid-column: 1 / -1; min-height: 42px; border-radius: 14px; padding: 10px 12px; }
  .phone-row { width: 100%; padding-inline: 14px; gap: 22px; }
  .phone, .phone-intro, .phone-dashboard, .phone-detail { flex-basis: min(374px, calc(100vw - 28px)); }
  .phone { border-width: 8px; border-radius: 38px; }
  .phone-intro { padding: 18px 18px 24px; }
  .phone-dashboard, .phone-detail { min-height: 720px; }
  .hero-illustration { height: 246px; margin-bottom: 26px; }
  .hero-illustration strong { width: 150px; height: 150px; font-size: 46px; }
  .ticket-stack { min-height: auto; display: grid; gap: 14px; grid-template-columns: 1fr; grid-template-rows: none; padding: 10px; }
  .ticket-card, .route-stack-photo, .ticket-card:nth-of-type(1), .ticket-card:nth-of-type(2), .ticket-card:nth-of-type(3) { position: relative; grid-column: auto; grid-row: auto; inset: auto; width: 100%; margin-left: 0; }
  .route-stack-photo { height: 320px; }
  .footer-links, .footer-stats, .footer-actions { grid-template-columns: 1fr; }
  .footer-stat { min-height: 104px; }
  .footer-event, .footer-action { border-radius: 22px; }
  .footer-event { display: grid; justify-content: stretch; justify-items: start; padding: 20px; }
  .footer-event strong { font-size: 27px; }
  .footer-action { height: 48px; flex-basis: 100%; }
  .footer-action.footer-phone { width: 100%; max-width: 100%; }
  .bubble-time { left: 26px; }
  .bubble-walk { right: 20px; }
  .bubble-food { right: 30px; bottom: 12px; }
  .phone-intro h1 { font-size: 29px; }
  .goal-grid, .macro-grid { gap: 8px; }
  .hero { padding-top: 28px; }
  .hero > div:first-child { border-radius: 34px; padding: 26px; }
  .hero-card { min-height: 420px; border-width: 10px; border-radius: 40px; }
  .section { padding: 46px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .quick-grid, .cards, .restaurant-list, .service-grid, .facts, .seo-query-grid, .history-grid, .route-day-meta, .restaurant-media, .restaurant-gallery-feature, .cta-gallery-section, .blog-featured, .blog-list { grid-template-columns: 1fr; }
  .cta-gallery-intro { min-height: auto; padding: 6px 0 0; }
  .cta-gallery-track { grid-auto-columns: minmax(286px, calc(100vw - 42px)); margin-right: -11px; padding-right: 86px; padding-bottom: 0; }
  .cta-gallery-card { min-height: 430px; grid-template-rows: 230px 1fr; border-width: 8px; border-radius: 28px; }
  .restaurant-gallery-intro { min-height: auto; }
  .restaurant-gallery-track { grid-auto-columns: minmax(262px, 84vw); margin-right: -17px; padding-right: 17px; }
  .gallery-scroll-actions { margin-top: 18px; }
  .gallery-scroll-nudge { top: auto; right: 20px; bottom: 16px; width: 48px; height: 48px; transform: none; }
  .restaurant-gallery-slide { min-height: 390px; border-width: 8px; border-radius: 28px; }
  .route-showcase { width: min(100% - 18px, 100%); border-radius: 0; }
  .route-showcase-head h2 { font-size: clamp(42px, 16vw, 62px); }
  .route-showcase-head p { font-size: 16px; }
  .route-stage-card, .route-stage-wide, .route-stage-tall, .route-stage-slim { flex-basis: 84vw; min-height: 390px; border-width: 7px; border-radius: 26px; }
  .route-stage-copy { padding: 18px; }
  .route-stage-copy h3 { font-size: 30px; }
}

@media (max-width: 420px) {
  .phone, .phone-intro, .phone-dashboard, .phone-detail { flex-basis: calc(100vw - 20px); }
  .phone-dashboard, .phone-detail { min-height: 620px; }
  .goal-grid, .macro-grid { grid-template-columns: 1fr; }
  .goal-card, .macro-grid div { min-height: 72px; }
  .route-stage-card, .route-stage-wide, .route-stage-tall, .route-stage-slim, .route-stage-final { flex-basis: calc(100vw - 44px); }
  .footer-links, .footer-stats { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .history-panel-head { grid-template-columns: 1fr; gap: 12px; }
  .history-panel-head .kicker { margin-bottom: 0; }
  .history-panel-head p:not(.kicker) { max-width: 720px; }
  .history-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-flow li:last-child { grid-column: 1 / -1; min-height: 128px; }
  .history-addresses-head { display: grid; justify-content: start; }
  .history-addresses-head h3 { text-align: left; }
  .history-address-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-address-grid li:last-child { grid-column: 1 / -1; min-height: 126px; }
}

@media (max-width: 760px) {
  .history-timeline-section {
    padding-top: 24px;
  }

  .history-panel {
    border-radius: 28px;
    padding: 14px;
  }

  .history-panel-head h2 {
    font-size: clamp(34px, 12vw, 50px);
  }

  .history-panel-head p:not(.kicker) {
    font-size: 15px;
  }

  .history-flow {
    grid-template-columns: 1fr;
  }

  .history-flow li,
  .history-flow li:last-child {
    grid-column: auto;
    min-height: 118px;
  }

  .history-addresses {
    border-radius: 24px;
    padding: 16px;
  }

  .history-addresses-head h3 {
    font-size: 28px;
  }

  .history-address-grid {
    grid-template-columns: 1fr;
  }

  .history-address-grid li,
  .history-address-grid li:last-child {
    grid-column: auto;
    grid-template-columns: 42px 1fr;
    align-items: start;
    min-height: 0;
  }

  .history-address-grid p {
    font-size: 12px;
  }
}
