/* ==========================================================================
   Tutu Travel Calendar — общие стили
   Шрифт: Helvetica Neue Cyr как визуальная замена Tutu Sans/PT Cooper
   (файлов фирменных шрифтов Tutu в загруженных ассетах нет, см. data/README.md)
   ========================================================================== */

@font-face {
  font-family: "Tutu Sans Sub";
  src: url("../fonts/HelveticaNeueCyr-Roman.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Tutu Sans Sub";
  src: url("../fonts/HelveticaNeueCyr-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Tutu Sans Sub";
  src: url("../fonts/HelveticaNeueCyr-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "PT Cooper Sub";
  src: url("../fonts/HelveticaNeueCyr-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

:root {
  /* Tutu — основная палитра */
  --tutu-deep-blue: #0D0B68;
  --tutu-berry-purple: #7D71FF;
  --tutu-cloud-white: #EDEFFF;

  /* Tutu — дополнительная палитра */
  --tutu-green: #00C95E;
  --tutu-lilac: #BA61FF;
  --tutu-orange: #FF872E;
  --tutu-blue: #5F94FF;
  --tutu-magenta: #FF45E3;

  --ink: #17163A;
  --ink-soft: #55547A;
  --line: #DCDBF5;
  --bg: #FBFBFF;
  --surface: #FFFFFF;

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --shadow-card: 0 8px 24px rgba(13, 11, 104, 0.08);
  --shadow-pop: 0 16px 40px rgba(13, 11, 104, 0.16);

  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Tutu Sans Sub", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.em {
  font-family: "PT Cooper Sub", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-weight: 300;
}

/* ---------- Layout shell ---------- */

.page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ---------- Header (на каждой странице) ---------- */

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.home-button,
.back-button,
.wishlist-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: inherit;
}

.home-button {
  background: var(--tutu-deep-blue);
  color: #fff;
}

.back-button,
.wishlist-button {
  background: var(--surface);
  color: var(--tutu-deep-blue);
  box-shadow: 0 0 0 1px var(--line) inset;
}

.wishlist-button {
  color: var(--tutu-magenta);
}

.home-button:hover,
.back-button:hover,
.wishlist-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.back-button:hover,
.wishlist-button:hover {
  box-shadow: var(--shadow-card), 0 0 0 1px var(--line) inset;
}

.home-button svg,
.back-button svg,
.wishlist-button svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.wishlist-count {
  background: var(--tutu-magenta);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.brand-mark {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--tutu-deep-blue);
}

/* ---------- Hero / intro ---------- */

.hero {
  padding: 12px 0 36px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--tutu-deep-blue);
  font-weight: 700;
}

.hero p {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 640px;
}

.saved-filter-banner,
.search-query-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--tutu-cloud-white);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--tutu-deep-blue);
}

.saved-filter-banner:empty,
.search-query-banner:empty { display: none; }

.saved-filter-banner svg,
.search-query-banner svg {
  width: 18px;
  height: 18px;
  color: var(--tutu-magenta);
  flex: none;
}

.search-query-banner strong { font-weight: 700; }

.saved-filter-banner a {
  margin-left: auto;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Calendar (Gantt) ---------- */

.calendar {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 8px;
  overflow-x: auto;
}

.calendar-grid {
  display: grid;
  grid-template-columns: 220px repeat(4, 1fr);
  min-width: 760px;
}

.calendar-grid .month-head {
  position: sticky;
  top: 0;
  background: var(--surface);
  padding: 16px 12px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  color: var(--tutu-deep-blue);
  border-bottom: 2px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.calendar-grid .month-head.corner {
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

.theme-row {
  display: contents;
}

.theme-label {
  display: flex;
  align-items: center;
  padding: 14px 12px;
  font-weight: 500;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.theme-track {
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 10px 6px;
  display: flex;
  align-items: stretch;
}

.theme-bar {
  width: 100%;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #fff;
  font-family: inherit;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-bar:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.theme-bar .t-title {
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-bar .t-sub {
  font-size: 12.5px;
  opacity: 0.9;
}

.theme-bar .chevron {
  margin-left: auto;
  transition: transform 0.2s ease;
  flex: none;
}

.theme-bar .chevron svg {
  width: 16px;
  height: 16px;
  display: block;
}

.theme-bar[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.theme-track.is-empty { opacity: 0.25; }

/* ---------- Ideas panel (accordion) ---------- */

.ideas-panel {
  grid-column: 1 / -1;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.ideas-panel.is-open {
  max-height: 3000px;
}

.ideas-panel-inner {
  padding: 24px;
  border-radius: var(--radius-md);
  margin: 0 4px 16px;
}

.ideas-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--tutu-deep-blue);
}

.ideas-panel-head h3 {
  margin: 0;
  font-size: 20px;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.idea-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  padding: 0;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: none;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.ic-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--tutu-cloud-white);
  flex: none;
  overflow: hidden;
}

.ic-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ic-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ic-image-placeholder svg {
  width: 34px;
  height: 34px;
  color: rgba(13, 11, 104, 0.35);
}

.ic-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
}

.save-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease;
  z-index: 2;
}

.save-heart svg {
  width: 16px;
  height: 16px;
}

.save-heart:hover {
  transform: scale(1.1);
  background: #fff;
}

.save-heart.is-saved {
  color: var(--tutu-magenta);
}

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

.idea-hero .save-heart {
  position: static;
  background: var(--tutu-cloud-white);
}

.idea-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-pop);
}

.idea-card .i-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
}

.idea-card .i-hook {
  font-family: "PT Cooper Sub", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin: 0;
}

.i-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  font-size: 12.5px;
  margin-top: 4px;
}

.i-meta .k {
  display: block;
  color: var(--ink-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.i-meta .v {
  font-weight: 500;
}

.idea-card .i-cta {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.idea-card .i-cta svg {
  width: 14px;
  height: 14px;
  flex: none;
}

/* ---------- Idea detail page ---------- */

.idea-cover {
  display: block;
  width: 100%;
  height: 360px;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: var(--shadow-card);
  background: var(--tutu-cloud-white);
}

.idea-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.idea-cover:hover img {
  transform: scale(1.02);
}

@media (max-width: 640px) {
  .idea-cover { height: 220px; }
}

.idea-hero {
  padding: 24px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

.idea-hero .theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.idea-hero h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin: 0 0 10px;
  color: var(--tutu-deep-blue);
  line-height: 1.15;
}

.idea-hero .hook {
  font-family: "PT Cooper Sub", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 20px;
}

.idea-meta-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-card);
}

.idea-meta-strip .cell .k {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.idea-meta-strip .cell .v {
  font-weight: 700;
  font-size: 14.5px;
}

.why-now {
  margin-top: 18px;
  background: var(--tutu-cloud-white);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  font-size: 14.5px;
}

.why-now b { color: var(--tutu-deep-blue); }

/* ---------- Bundle savings banner (слайд 13: "связка дешевле, чем по частям") ---------- */

.bundle-banner {
  margin-top: 24px;
  background: linear-gradient(135deg, var(--tutu-deep-blue), var(--tutu-berry-purple));
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.bundle-banner .bb-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.85;
  margin-bottom: 8px;
}

.bundle-banner .bb-label svg {
  width: 16px;
  height: 16px;
}

.bundle-banner h3 {
  margin: 0 0 4px;
  font-size: 19px;
  line-height: 1.3;
}

.bundle-banner .bb-prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.bundle-banner .bb-separate {
  font-size: 15px;
  text-decoration: line-through;
  opacity: 0.65;
}

.bundle-banner .bb-together {
  font-size: 26px;
  font-weight: 700;
}

.bundle-banner .bb-savings-badge {
  flex: none;
  background: var(--tutu-green);
  color: #0D0B68;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.bundle-banner .bb-note {
  flex-basis: 100%;
  font-size: 12px;
  opacity: 0.75;
  margin-top: 4px;
}

/* ---------- Ancillary chips (слайд 12: выбор места, багаж, страховка) ---------- */

.ancillary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ancillary-chips .chip {
  font-size: 11.5px;
  color: var(--ink-soft);
  background: var(--tutu-cloud-white);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------- Proactive care note (слайд 12: проактивное сопровождение) ---------- */

.care-note {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--tutu-cloud-white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.care-note .icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tutu-berry-purple);
}

.care-note .icon svg {
  width: 17px;
  height: 17px;
}

.care-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
}

.care-note b { color: var(--tutu-deep-blue); }

/* Two equal blocks: commercial + value */

.split-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}

@media (max-width: 860px) {
  .split-blocks { grid-template-columns: 1fr; }
  .idea-meta-strip { grid-template-columns: repeat(2, 1fr); }
  .calendar-grid { grid-template-columns: 160px repeat(4, minmax(160px, 1fr)); }
}

.block-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

.block-panel h2 {
  margin: 0 0 4px;
  font-size: 20px;
  color: var(--tutu-deep-blue);
}

.block-panel .block-sub {
  margin: 0 0 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.commercial-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.commercial-item:last-child { margin-bottom: 0; }

a.commercial-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
  border-color: var(--tutu-berry-purple);
}

.commercial-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--tutu-cloud-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.commercial-item .icon svg {
  width: 22px;
  height: 22px;
  color: var(--tutu-berry-purple);
}

.commercial-item .body {
  flex: 1 1 auto;
  min-width: 0;
}

.commercial-item .ci-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  margin-bottom: 3px;
}

.commercial-item .ci-route {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--tutu-deep-blue);
  line-height: 1.25;
}

.commercial-item .ci-price {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--tutu-berry-purple);
  padding: 2px 10px;
  border-radius: 999px;
}

.commercial-item .ci-arrow {
  flex: none;
  color: var(--tutu-berry-purple);
  font-size: 18px;
  transition: transform 0.15s ease;
}

a.commercial-item:hover .ci-arrow {
  transform: translateX(3px);
}

.commercial-item .placeholder-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--tutu-berry-purple);
  background: var(--tutu-cloud-white);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ---------- Photos ---------- */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.photo-thumb {
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--tutu-cloud-white);
  position: relative;
}

.photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.photo-thumb:hover img {
  transform: scale(1.05);
}

.photo-thumb .expand-hint {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(13, 11, 104, 0.65);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
}

@media (max-width: 640px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 11, 104, 0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox[hidden] { display: none; }

.lightbox-frame {
  width: 80vw;
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(80vh - 40px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
}

.lightbox-caption {
  color: #fff;
  font-size: 13px;
  opacity: 0.85;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }

/* ---------- Map ---------- */

.map-panel {
  margin-top: 28px;
}

.map-panel h2 {
  margin: 0 0 4px;
  font-size: 20px;
  color: var(--tutu-deep-blue);
}

.map-panel .block-sub {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.map-frame {
  width: 100%;
  height: 360px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: block;
}

.idea-description {
  margin: 0 0 18px;
}

.idea-description p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.idea-description p:last-child { margin-bottom: 0; }

.widgets-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.widgets-row > * {
  flex: 1 1 220px;
  margin-bottom: 0 !important;
}

.weather-widget,
.localtime-widget {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, var(--tutu-cloud-white), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.weather-widget .ww-icon,
.localtime-widget .lt-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tutu-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.localtime-widget .lt-icon {
  background: var(--tutu-lilac);
}

.weather-widget .ww-icon svg,
.localtime-widget .lt-icon svg {
  width: 22px;
  height: 22px;
}

.weather-widget .ww-body,
.localtime-widget .lt-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.weather-widget .ww-label,
.localtime-widget .lt-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.weather-widget .ww-when {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.weather-widget .ww-temp,
.localtime-widget .lt-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--tutu-deep-blue);
}

.localtime-widget .lt-example {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.3;
}

/* ---------- Save info (QR) ---------- */

.save-info-panel h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.save-info-panel h2 svg {
  width: 20px;
  height: 20px;
  color: var(--tutu-berry-purple);
}

.save-info-body {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--tutu-cloud-white);
  border-radius: var(--radius-md);
  padding: 18px;
}

.save-info-qr {
  flex: none;
  width: 120px;
  height: 120px;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  box-shadow: var(--shadow-card);
}

.save-info-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.save-info-text .si-label {
  font-weight: 700;
  font-size: 15px;
  color: var(--tutu-deep-blue);
}

.save-info-text a {
  font-size: 13px;
  color: var(--tutu-berry-purple);
  word-break: break-all;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.save-info-text a svg {
  width: 13px;
  height: 13px;
  flex: none;
}

.advice-sub {
  margin-top: 4px !important;
}

.value-groups {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.value-group {
  --vg-accent: var(--tutu-berry-purple);
}

.value-group[data-category="weather"] { --vg-accent: var(--tutu-blue); }
.value-group[data-category="documents"] { --vg-accent: var(--tutu-orange); }
.value-group[data-category="mustsee"] { --vg-accent: var(--tutu-magenta); }
.value-group[data-category="practical"] { --vg-accent: var(--tutu-berry-purple); }

.vg-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--vg-accent);
}

.vg-title svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: value-counter;
}

.value-list li {
  counter-increment: value-counter;
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.45;
}

.value-list li:last-child { border-bottom: none; }

.value-list li::before {
  content: counter(value-counter);
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--vg-accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-style: italic;
  padding: 8px 0;
}

/* ---------- Footer ---------- */

.site-footer {
  max-width: 1240px;
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12.5px;
}

/* ---------- Landing (страница 0) ---------- */

.landing-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-header .brand-mark {
  font-weight: 700;
  color: var(--tutu-deep-blue);
  letter-spacing: 0.2px;
}

.landing-skip {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tutu-berry-purple);
}

.landing-skip:hover { text-decoration: underline; }

.landing-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

.landing-intro { max-width: 720px; margin-bottom: 32px; }

.landing-intro h1 {
  font-size: 30px;
  color: var(--tutu-deep-blue);
  margin: 0 0 10px;
}

.landing-intro p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.landing-flow {
  display: flex;
  align-items: center;
  gap: 20px;
}

.landing-block-1 { flex: 0 0 340px; }
.landing-block-2 { flex: 1 1 auto; min-width: 0; }

.landing-arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: var(--tutu-berry-purple);
  opacity: 0.6;
}

.landing-arrow::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M5 12h14M13 6l6 6-6 6" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M5 12h14M13 6l6 6-6 6" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
}

/* ---- Блок 1: телефон со скидкой на связку ---- */

.phone-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  background: var(--surface);
}

.phone-header {
  background: linear-gradient(160deg, var(--tutu-deep-blue), #1a1660);
  color: #fff;
  padding: 24px 22px 34px;
}

.ph-label {
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.phone-header h3 { margin: 6px 0 2px; font-size: 22px; }
.phone-header p { margin: 0; font-size: 13.5px; opacity: 0.75; }

.phone-body {
  background: var(--surface);
  border-radius: 22px 22px 0 0;
  margin-top: -18px;
  padding: 20px 20px 22px;
  position: relative;
}

.phone-title {
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--tutu-deep-blue);
  font-size: 15px;
}

.phone-savings {
  background: linear-gradient(135deg, var(--tutu-berry-purple), var(--tutu-lilac));
  border-radius: var(--radius-md);
  padding: 16px;
  color: #fff;
  margin-bottom: 16px;
}

.ps-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
}

.ps-badge svg { width: 14px; height: 14px; }

.phone-savings p { margin: 10px 0 8px; font-size: 13.5px; line-height: 1.4; }

.ps-prices { display: flex; align-items: baseline; gap: 10px; }

.ps-old { font-size: 13px; opacity: 0.75; text-decoration: line-through; }
.ps-new { font-size: 19px; font-weight: 700; }

.phone-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  background: var(--tutu-cloud-white);
  color: var(--ink);
}

.phone-row .pr-icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--tutu-deep-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-row .pr-icon svg { width: 16px; height: 16px; }

.phone-row .pr-body { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.pr-label { font-size: 13px; font-weight: 600; }
.pr-price { font-size: 12px; color: var(--ink-soft); }

.pr-cta {
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tutu-berry-purple);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
}

.phone-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tutu-deep-blue);
  color: #fff;
  border-radius: 999px;
  padding: 12px;
  font-weight: 700;
  font-size: 14px;
}

.phone-cta svg { width: 16px; height: 16px; }

/* ---- Блок 2: витрина-хедер ---- */

.hero-panel {
  background: linear-gradient(135deg, var(--tutu-berry-purple), var(--tutu-lilac));
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  color: #fff;
  box-shadow: var(--shadow-pop);
}

.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }

.hero-badge {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
}

.hero-title { margin: 0 0 8px; font-size: 30px; }

.hero-sub {
  margin: 0 0 20px;
  font-size: 14.5px;
  opacity: 0.9;
  max-width: 520px;
  line-height: 1.5;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  margin-bottom: 14px;
}

.hs-icon { flex: none; width: 18px; height: 18px; color: var(--ink-soft); }
.hs-icon svg { width: 100%; height: 100%; }

.hero-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  padding: 10px 0;
  background: transparent;
}

.hero-search button {
  flex: none;
  border: none;
  border-radius: 999px;
  background: var(--tutu-deep-blue);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 18px;
  cursor: pointer;
  font-family: inherit;
}

.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 7px 14px 7px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-chip:hover { background: rgba(255, 255, 255, 0.2); }

.hc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.hero-picks-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.hero-picks-head h3 { margin: 0; font-size: 16px; }
.hero-picks-head span { font-size: 12.5px; opacity: 0.8; }

.hero-picks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.pick-card {
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.15s ease;
}

.pick-card:hover { transform: translateY(-2px); }

.pick-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--tutu-cloud-white);
  overflow: hidden;
}

.pick-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pick-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; }
.pick-where { font-size: 11px; font-weight: 700; color: var(--tutu-berry-purple); text-transform: uppercase; letter-spacing: 0.3px; }
.pick-title { font-size: 12.5px; line-height: 1.3; }

@media (max-width: 900px) {
  .landing-flow { flex-direction: column; }
  .landing-block-1 { flex: 1 1 auto; width: 100%; max-width: 400px; }
  .landing-arrow { transform: rotate(90deg); }
  .hero-picks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-panel { padding: 24px 20px; }
  .hero-search { flex-wrap: wrap; padding: 14px; }
  .hero-search input { flex: 1 1 100%; order: -1; padding: 4px 0 10px; }
}
