/* ==============================================================
   СТИЛЬ: Т-БАНК ЛЕНДИНГ
   Тёмная тема как база, жёлтый акцент, строгая сетка, карточки
   ============================================================== */

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Т-Банк палитра */
  --t-yellow: #ffdd2d;
  --t-yellow-hover: #f5d000;
  --t-yellow-active: #e6c400;
  --t-yellow-dim: rgba(255, 221, 45, 0.12);
  --t-yellow-dim-hover: rgba(255, 221, 45, 0.18);

  --t-bg: #f6f7f8;
  --t-bg-alt: #ffffff;
  --t-surface: #ffffff;
  --t-surface-hover: #f6f7f8;
  --t-border: rgba(0, 16, 36, 0.12);
  --t-border-light: rgba(0, 16, 36, 0.06);

  --t-text: #001024;
  --t-text-secondary: #5f6870;
  --t-text-muted: #8a929a;
  --t-text-inverse: #ffffff;

  --t-blue: #126df7;
  --t-blue-hover: #0a5ad9;
  --t-blue-bg: rgba(18, 109, 247, 0.08);
  --t-blue-text: #126df7;

  --t-green-bg: rgba(16, 185, 129, 0.08);
  --t-green-border: rgba(16, 185, 129, 0.5);
  --t-green-text: #0d9e6b;

  --t-red: #e84142;
  --t-red-bg: rgba(232, 65, 66, 0.08);

  --t-dark: #292929;
  --t-dark-border: rgba(255, 255, 255, 0.15);
  --t-dark-surface: #333333;

  --shadow-sm: 0 2px 8px rgba(0, 16, 36, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 16, 36, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 16, 36, 0.08);
  --shadow-yellow: 0 8px 30px rgba(255, 221, 45, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

/* Тёмная тема (дефолт, как у Т-Банка) */
[data-theme="dark"],
:root {
  --t-bg: #0a0d14;
  --t-bg-alt: #111827;
  --t-surface: rgba(17, 24, 39, 0.85);
  --t-surface-hover: rgba(255, 255, 255, 0.06);
  --t-border: rgba(255, 255, 255, 0.08);
  --t-border-light: rgba(255, 255, 255, 0.04);

  --t-text: #f8fafc;
  --t-text-secondary: #94a3b8;
  --t-text-muted: #64748b;
  --t-text-inverse: #000000;

  --t-blue-bg: rgba(56, 189, 248, 0.12);
  --t-blue-text: #38bdf8;

  --t-green-bg: rgba(52, 211, 153, 0.08);
  --t-green-border: rgba(52, 211, 153, 0.4);
  --t-green-text: #34d399;

  --t-dark: #1e293b;
  --t-dark-border: rgba(255, 255, 255, 0.08);
  --t-dark-surface: #1e293b;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-yellow: 0 8px 32px rgba(255, 221, 45, 0.15);
}

/* Светлая тема */
[data-theme="light"] {
  --t-bg: #f6f7f8;
  --t-bg-alt: #ffffff;
  --t-surface: rgba(255, 255, 255, 0.85);
  --t-surface-hover: #f6f7f8;
  --t-border: rgba(0, 16, 36, 0.12);
  --t-border-light: rgba(0, 16, 36, 0.06);

  --t-text: #001024;
  --t-text-secondary: #5f6870;
  --t-text-muted: #8a929a;
  --t-text-inverse: #ffffff;

  --t-blue-bg: rgba(18, 109, 247, 0.08);
  --t-blue-text: #126df7;

  --t-green-bg: rgba(16, 185, 129, 0.08);
  --t-green-border: rgba(16, 185, 129, 0.5);
  --t-green-text: #0d9e6b;

  --t-dark: #292929;
  --t-dark-border: rgba(255, 255, 255, 0.15);
  --t-dark-surface: #333333;

  --shadow-sm: 0 2px 8px rgba(0, 16, 36, 0.04);
  --shadow-md: 0 8px 30px rgba(0, 16, 36, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 16, 36, 0.08);
  --shadow-yellow: 0 8px 30px rgba(255, 221, 45, 0.25);
}

/* ==============================================================
   БАЗА
   ============================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-main);
  background: var(--t-bg);
  color: var(--t-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.55;
  transition: background 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==============================================================
   ХЕДЕР Т-БАНК
   ============================================================== */
.t-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--t-bg);
  border-bottom: 1px solid var(--t-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.t-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px;
}

.t-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-burger {
  display: none;
  background: none;
  border: none;
  color: var(--t-text);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.t-burger:hover { background: var(--t-surface-hover); }

.t-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--t-text);
  font-weight: 700;
  font-size: 1rem;
}

.t-logo-icon svg {
  display: block;
  width: 32px;
  height: 32px;
}

.t-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.t-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  padding-left: 24px;
}

.t-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--t-text-secondary);
  cursor: pointer;
  transition: color 0.15s;
  padding: 6px 0;
  position: relative;
}
.t-nav-link:hover { color: var(--t-text); }
.t-nav-link.t-nav-active {
  color: var(--t-text) !important;
  font-weight: 600 !important;
}
.t-nav-link.t-nav-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--t-yellow);
  border-radius: 1px;
}

.t-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==============================================================
   КНОПКИ Т-БАНК
   ============================================================== */
.t-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.t-btn-primary {
  background: var(--t-yellow);
  color: #000;
}
.t-btn-primary:hover { background: var(--t-yellow-hover); }

.t-btn-outline {
  background: transparent;
  color: var(--t-text-secondary);
  border: 1px solid var(--t-border);
}
.t-btn-outline:hover {
  background: var(--t-surface-hover);
  color: var(--t-text);
}

.t-btn-ghost {
  background: transparent;
  color: var(--t-text-secondary);
  border: none;
  padding: 6px 10px;
}
.t-btn-ghost:hover { background: var(--t-surface-hover); color: var(--t-text); }

/* ==============================================================
   MAIN
   ============================================================== */
.t-main {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 32px 32px 80px;
  flex: 1;
}

.t-page {
  animation: cardIn 0.35s ease-out forwards;
}

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

/* ==============================================================
   HERO
   ============================================================== */
.t-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 48px;
  gap: 14px;
}

.t-hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--t-yellow-dim);
  color: var(--t-yellow);
  margin-bottom: 4px;
}

.t-hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
}

.t-hero-sub {
  font-size: 1rem;
  color: var(--t-text-secondary);
  max-width: 540px;
  line-height: 1.6;
}

/* ==============================================================
   ПОИСКОВАЯ КАПСУЛА
   ============================================================== */
.t-search-capsule {
  width: 100%;
  max-width: 640px;
  margin-top: 8px;
}

.t-search-capsule-inner {
  display: flex;
  align-items: center;
  background: var(--t-surface);
  border: 1.5px solid var(--t-border);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.t-search-capsule-inner:focus-within {
  border-color: var(--t-yellow);
  box-shadow: var(--shadow-yellow);
}

.t-search-icon {
  color: var(--t-text-muted);
  flex-shrink: 0;
}

.t-capsule-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-main);
  font-size: 0.95rem;
  padding: 12px 10px;
  color: var(--t-text);
  outline: none;
}
.t-capsule-input::placeholder { color: var(--t-text-muted); }

.t-capsule-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--t-yellow);
  color: #000;
  border: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.t-capsule-btn:hover { background: var(--t-yellow-hover); transform: scale(1.02); }

/* ==============================================================
   ТРАНСПОРТ
   ============================================================== */
.t-transport-wrap {
  width: 100%;
  max-width: 640px;
  margin-top: 6px;
}

.t-segmented {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--t-bg-alt);
  border-radius: var(--radius-full);
}

.t-seg-btn {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--t-text-secondary);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.t-seg-btn:hover { color: var(--t-text); }
.t-seg-btn.active {
  background: var(--t-yellow);
  color: #000;
  font-weight: 700;
}

/* ==============================================================
   ЧИПСЫ
   ============================================================== */
.t-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 640px;
  margin-top: 4px;
}

.t-chips-label {
  font-size: 0.8rem;
  color: var(--t-text-muted);
  font-weight: 500;
}

.t-chip {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  color: var(--t-text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}
.t-chip:hover {
  border-color: var(--t-yellow);
  color: var(--t-text);
}
.t-chip-alert {
  border-color: rgba(232, 65, 66, 0.3);
  color: var(--t-red);
}
.t-chip-alert:hover {
  border-color: var(--t-red);
}

/* ==============================================================
   ЗАГРУЗКА
   ============================================================== */
.t-loading {
  display: flex;
  justify-content: center;
  padding-top: 80px;
}

.t-loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: var(--radius-xl);
  padding: 48px 64px;
  max-width: 440px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.t-loader {
  width: 48px;
  height: 48px;
  border: 4px solid var(--t-border);
  border-top-color: var(--t-yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.t-stopwatch {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: var(--t-yellow);
  letter-spacing: 2px;
}

.t-loading-phrase {
  font-size: 1rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.t-loading-sub {
  font-size: 0.82rem;
  color: var(--t-text-secondary);
  line-height: 1.5;
}

/* ==============================================================
   РЕЗУЛЬТАТЫ
   ============================================================== */
.t-results {
  padding-top: 24px;
}

.t-guardrail {
  background: var(--t-red-bg);
  border: 1px solid rgba(232, 65, 66, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.t-guardrail-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--t-red);
}

.t-guardrail-text {
  color: var(--t-text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 6px;
}

.t-results-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.t-card {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}
.t-card:hover {
  box-shadow: var(--shadow-md);
}

.t-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.t-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--t-yellow-dim);
  color: var(--t-yellow);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.t-card-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.t-condition {
  font-size: 0.9rem;
  color: var(--t-text-secondary);
  line-height: 1.6;
}

.t-answer-box {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--t-blue-bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--t-blue-text);
}

.t-answer-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--t-blue-text);
  margin-bottom: 4px;
}

.t-answer-content {
  font-size: 0.88rem;
  color: var(--t-text-secondary);
  line-height: 1.5;
}

.t-map-box {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 10px;
}

/* ==============================================================
   СТРАНИЦА МЕСТ
   ============================================================== */
.t-places-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 20px;
  margin-bottom: 40px;
}

.t-places-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.t-places-sub {
  font-size: 1rem;
  color: var(--t-text-secondary);
  max-width: 540px;
  line-height: 1.6;
}

/* Сетка карточек мест */
.t-places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.t-place-card {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.t-place-card:hover {
  border-color: var(--t-yellow);
  box-shadow: var(--shadow-yellow);
  transform: translateY(-3px);
}

.t-place-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--t-bg-alt);
}

.t-place-img-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--t-yellow-dim);
  color: var(--t-yellow);
  font-size: 3rem;
  font-weight: 700;
}

.t-place-body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.t-place-name {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.t-place-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.t-place-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--t-yellow-dim);
  color: var(--t-yellow);
}

.t-place-desc {
  font-size: 0.88rem;
  color: var(--t-text-secondary);
  line-height: 1.55;
  margin-top: 4px;
  flex: 1;
}

.t-place-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--t-border-light);
}

.t-place-route-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--t-yellow);
  color: #000;
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}
.t-place-route-btn:hover {
  background: var(--t-yellow-hover);
  transform: scale(1.03);
}

.t-place-coords {
  font-size: 0.78rem;
  color: var(--t-text-muted);
  font-family: var(--font-mono);
}

/* ==============================================================
   МОДАЛ
   ============================================================== */
.t-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.t-modal-overlay.hidden { display: none; }

.t-modal {
  background: var(--t-bg-alt);
  border: 1px solid var(--t-border);
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.t-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  color: var(--t-text);
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  z-index: 10;
  line-height: 1;
}
.t-modal-close:hover {
  background: var(--t-surface-hover);
  transform: scale(1.1);
}

.t-modal-scroll {
  overflow-y: auto;
  max-height: 90vh;
}

.t-modal-gallery {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--t-bg);
}

.t-modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.t-modal-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.t-modal-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.t-modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
}

.t-modal-desc {
  font-size: 0.95rem;
  color: var(--t-text-secondary);
  line-height: 1.6;
}

.t-modal-section {
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.t-modal-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--t-text);
}

.t-modal-route,
.t-modal-tips {
  font-size: 0.88rem;
  color: var(--t-text-secondary);
  line-height: 1.55;
}

.t-modal-route-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--t-yellow);
  color: #000;
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  margin-top: 4px;
}
.t-modal-route-btn:hover {
  background: var(--t-yellow-hover);
  transform: scale(1.01);
}

/* ==============================================================
   ФУТЕР
   ============================================================== */
.t-footer {
  border-top: 1px solid var(--t-border);
  background: var(--t-bg-alt);
  margin-top: auto;
}

.t-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 24px;
}

.t-footer-links-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.t-footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.t-footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: color 0.15s;
}
.t-footer-links a:hover { color: #fff; }
[data-theme="light"] .t-footer-links a { color: rgba(0, 16, 36, 0.7); }
[data-theme="light"] .t-footer-links a:hover { color: #001024; }

.t-footer-phone {
  text-align: right;
}
.t-footer-phone-num {
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
}
.t-footer-phone-desc {
  font-size: 0.78rem;
  color: var(--t-text-muted);
}

.t-footer-cookie {
  font-size: 0.75rem;
  color: var(--t-text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.t-footer-divider {
  height: 1px;
  background: var(--t-border);
  margin-bottom: 16px;
}

.t-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
[data-theme="light"] .t-footer-bottom {
  color: rgba(0, 16, 36, 0.5);
}

.t-footer-socials {
  display: flex;
  gap: 16px;
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
[data-theme="light"] .t-footer-socials {
  color: rgba(0, 16, 36, 0.6);
}

/* ==============================================================
   УТИЛИТЫ
   ============================================================== */
.hidden { display: none !important; }

/* ==============================================================
   АДАПТИВ
   ============================================================== */
@media (max-width: 768px) {
  .t-burger { display: block; }
  .t-nav { display: none; }

  .t-header-inner { padding: 0 16px; }

  .t-hero-title { font-size: 2.2rem; }
  .t-hero-sub { font-size: 0.95rem; }

  .t-search-capsule-inner { padding: 6px 6px 6px 14px; }
  .t-capsule-input { font-size: 0.92rem; padding: 10px 0; }
  .t-capsule-btn { padding: 10px 18px; font-size: 0.88rem; }

  .t-segmented { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .t-seg-btn { padding: 6px 12px; font-size: 0.8rem; }

  .t-chips { justify-content: flex-start; }

  .t-footer-links-row { flex-direction: column; gap: 16px; }
  .t-footer-phone { text-align: left; }
  .t-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .t-header-right .t-btn-outline { display: none; }

  .t-logo-text { display: none; }

  .t-places-title { font-size: 1.8rem; }
  .t-places-grid { grid-template-columns: 1fr; }

  .t-modal { max-height: 85vh; }
  .t-modal-gallery { height: 200px; }
  .t-modal-body { padding: 20px; }
}

@media (max-width: 480px) {
  .t-hero-title { font-size: 1.8rem; }
  .t-hero { padding-top: 24px; }
  .t-main { padding: 24px 16px 60px; }
}
