:root {
  --color-primary: #FF1744;
  --color-primary-dark: #D50000;
  --color-accent: #FF1744;
  --color-bg: #f8f9fa;
  --color-card: #fff;
  --color-text: #212529;
  --color-muted: #6c757d;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --radius: 12px;
  --font: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; max-width: 100vw; }
body { margin: 0; font-family: var(--font); font-size: 16px; color: var(--color-text); background: var(--color-bg); line-height: 1.5; overflow-x: hidden; max-width: 100%; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-card); box-shadow: var(--shadow);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.logo { display: inline-flex; align-items: center; }
.logo:hover { text-decoration: none; opacity: 0.9; }
.logo-img { display: block; max-height: 38px; width: auto; max-width: 140px; object-fit: contain; vertical-align: middle; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 20px;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav a:hover {
  color: var(--color-primary);
  background: rgba(255, 23, 68, 0.08);
  text-decoration: none;
}
.nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255, 23, 68, 0.35);
}
.nav a.active:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #b71c1c 100%);
  box-shadow: 0 3px 12px rgba(255, 23, 68, 0.4);
}
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px 0; }
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open { display: flex; width: 100%; flex-direction: column; gap: 4px; padding-top: 8px; }
  .nav.open a { width: 100%; text-align: center; padding: 10px 14px; border-radius: 10px; }
  .burger { display: block; }
}

.main-content { min-height: 60vh; overflow-x: hidden; max-width: 100%; }

.hero {
  position: relative; padding: 56px 20px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #FF1744 0%, #C51162 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 23, 68, .2);
}
.hero-bg { position: absolute; inset: 0; opacity: .08; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30 30 60 0 30z' fill='%23fff' fill-opacity='.06'/%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 1; }
.hero-title { margin: 0 0 8px; font-size: clamp(1.4rem, 3.5vw, 2.2rem); font-weight: 700; letter-spacing: .02em; }
.hero-subtitle { margin: 0; font-size: 1rem; opacity: .95; }
.animate-in { animation: fadeInUp .6s ease-out; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; overflow-x: hidden; }
.section { padding: 48px 0; }
.section-title { margin: 0 0 24px; font-size: 1.5rem; font-weight: 700; text-align: center; }

.filters-section { padding-bottom: 24px; overflow-x: hidden; }
.filters-section .container { overflow-x: hidden; min-width: 0; }
.btn { padding: 10px 20px; border-radius: 8px; font-family: inherit; font-weight: 600; cursor: pointer; border: none; font-size: 1rem; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 0.875rem; }
.btn:disabled { opacity: .7; cursor: not-allowed; }

/* ——— Панель фильтров (как в spec_offers) ——— */
.filters-bar {
  background: var(--color-card);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0,0,0,.04);
  min-width: 0;
  overflow-x: hidden;
}
.filters-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}
.filter-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
}
.filter-cell .filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-icon { display: inline-block; width: 1em; height: 1em; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center/contain no-repeat; }
.filter-icon-geo { margin-right: 0.2rem; color: var(--color-primary); }
.filters-bar .form-control,
.filters-bar .form-select {
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  font-size: 0.9rem;
  padding: 0 0.75rem;
  min-width: 0;
  font-family: inherit;
}
.filters-bar .form-control:focus,
.filters-bar .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 23, 68, .15);
  outline: 0;
}
.filter-cell.city-cell .form-control { width: 160px; }
@media (min-width: 992px) { .filter-cell.city-cell .form-control { width: 180px; } }
.filter-cell.sort-cell .form-select { width: 160px; }
.filter-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, transparent, #e0e0e0, transparent);
  flex-shrink: 0;
}
.filter-view-block--hidden { display: none !important; }
.filter-view-block { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.25rem; }
.spec-cities-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,.06);
  min-width: 0;
  width: 100%;
}
.spec-cities-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
  flex-shrink: 0;
  width: 100%;
}
.spec-cities-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
  flex: 1;
}
.spec-city-chip {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(255, 23, 68, 0.08);
  border: 1px solid rgba(255, 23, 68, 0.25);
  border-radius: 20px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.spec-city-chip:hover {
  background: rgba(255, 23, 68, 0.14);
  border-color: rgba(255, 23, 68, 0.4);
  color: var(--color-primary-dark);
  box-shadow: 0 2px 8px rgba(255, 23, 68, 0.2);
}
.spec-city-chip.spec-city-chip--active {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(255, 23, 68, 0.35);
}
.spec-city-chip.spec-city-chip--active:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #b71c1c 100%);
  box-shadow: 0 3px 10px rgba(255, 23, 68, 0.4);
}
.filter-cell.price-cell { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; min-width: 0; }
.filter-cell.price-cell .price-values { font-size: 0.85rem; font-weight: 700; color: var(--color-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.filter-cell.price-cell .price-sliders { width: 180px; min-width: 140px; max-width: 100%; }
.dual-range { position: relative; height: 24px; display: flex; align-items: center; min-width: 0; max-width: 100%; }
.dual-range-track {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 6px;
  background: #e5e5e5;
  border-radius: 3px;
  cursor: pointer;
}
.dual-range-fill {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  background: linear-gradient(90deg, rgba(255, 23, 68, .35), var(--color-primary));
  border-radius: 3px;
  pointer-events: none;
  transition: left 0.12s ease-out, width 0.12s ease-out;
}
.dual-range--dragging .dual-range-fill { transition: none; }
.dual-range-thumb {
  position: absolute;
  top: 50%;
  width: 18px; height: 18px;
  margin-left: -9px; margin-top: -9px;
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  z-index: 2;
  transition: left 0.12s ease-out, transform 0.15s;
}
.dual-range-thumb:hover { transform: scale(1.1); }
.dual-range-inputs { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.view-pills {
  display: inline-flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  background: #f8f8f8;
}
.view-pill {
  height: 40px;
  padding: 0 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-family: inherit;
}
.view-pill:hover { background: rgba(255, 23, 68, .08); color: var(--color-primary); }
.view-pill--active { background: var(--color-primary); color: #fff; }
.btn-search {
  height: 40px;
  padding: 0 1.25rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}
.btn-search-icon { display: inline-block; width: 1em; height: 1em; margin-right: 0.35em; vertical-align: -0.15em; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Город — поиск с выпадающим списком */
.city-search-wrap { position: relative; }
.city-search-dropdown {
  position: absolute;
  top: 100%; left: 0; right: 0;
  z-index: 1050;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  margin-top: 4px;
  display: none;
}
.city-search-dropdown--show { display: block; }
.city-search-item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s;
}
.city-search-item:hover { background: rgba(255, 23, 68, .08); }
.city-search-item:last-child { border-bottom: none; }
.city-search-empty { padding: 12px 14px; color: var(--color-muted); font-size: 0.875rem; }
.text-muted { color: var(--color-muted); }

@media (max-width: 767.98px) {
  .filters-bar { padding: 1rem; }
  .filter-divider { display: none; }
  .filter-cell { width: 100%; min-height: auto; min-width: 0; max-width: 100%; }
  .filter-cell.city-cell .form-control { width: 100%; max-width: 100%; }
  .filter-cell.sort-cell .form-select { width: 100%; max-width: 100%; }
  .filter-cell.price-cell { width: 100%; max-width: 100%; }
  .filter-cell.price-cell .price-sliders { flex: 1 1 100%; width: 100%; min-width: 0; max-width: 100%; }
  .filter-cell.price-cell .price-values { max-width: 100%; }
  .filter-view-block { min-width: 0; max-width: 100%; }
  .filters-inner { min-width: 0; max-width: 100%; }
  .spec-cities-label { width: auto; }
  .spec-cities-chips { flex: 1 1 100%; min-width: 0; max-width: 100%; }
  .spec-city-chip { white-space: nowrap; }
}

/* Блок: скидка при быстром оформлении */
.quick-booking-discount-block {
  margin: 0 0 1rem;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.04));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  text-align: center;
}
.quick-booking-discount-text {
  margin: 0;
  font-size: 0.9375rem;
  color: #166534;
  line-height: 1.45;
}
.quick-booking-discount-text strong { color: #15803d; }

/* ——— Список туров, лоадер, пусто ——— */
.tour-list { margin-top: 1rem; }
.tour-list-inner--updating { opacity: 0.6; pointer-events: none; transition: opacity 0.2s; }
.loader-wrap {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-content { text-align: center; }
.loader-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 23, 68, .12), rgba(255, 23, 68, .05));
  color: var(--color-primary);
  font-size: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  animation: loader-pulse 1.2s ease-in-out infinite;
}
.loader-text { color: var(--color-muted); font-size: 0.95rem; margin: 0; }
.loader-dots { display: flex; justify-content: center; gap: 6px; margin-top: 1rem; }
.loader-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-primary);
  animation: loader-bounce 0.6s ease-in-out infinite alternate;
}
.loader-dots span:nth-child(2) { animation-delay: 0.15s; }
.loader-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes loader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}
@keyframes loader-bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
.empty-wrap { text-align: center; padding: 3rem; color: var(--color-muted); }

.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.catalog-grid-item { min-width: 0; }
.catalog-loading, .map-loading, .agents-loading { text-align: center; padding: 40px; color: var(--color-muted); }
.catalog-more { text-align: center; margin-top: 24px; }

/* ——— Карточка тура 1:1 как в spec_offers.html ——— */
.card-tour {
  background: #fff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,.1);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-tour:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.card-tour--sold-out .card-tour-img-wrap { opacity: .5; }
.card-tour-img-wrap {
  position: relative;
  height: 200px;
  background: #e0e0e0;
  overflow: hidden;
}
.card-tour-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-tour-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.5) 0%, transparent 30%, transparent 70%, rgba(0,0,0,.2) 100%);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-tour-overlay-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.card-tour-badge {
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  display: inline-block;
}
.card-tour-badge--nights { background: rgba(255, 23, 68, .9); }
.card-tour-badge--places { background: rgba(94, 53, 177, .9); }
.card-tour-badge--sea { background: rgba(0, 172, 193, .9); }
.card-tour-badge--meal { background: rgba(67, 160, 71, .9); }
.card-tour-body { padding: 14px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.card-tour-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.card-tour-stars { color: #FFD700; font-size: 16px; }
.card-tour-rating-badge { background: #FFD700; color: #1a1a1a; padding: 2px 6px; border-radius: 4px; font-weight: 700; font-size: 12px; }
.card-tour-title { margin: 0 0 6px; font-size: 1rem; font-weight: 600; color: #1a1a1a; line-height: 1.3; }
.card-tour-meta { margin: 0 0 4px; font-size: 0.875rem; color: var(--color-muted); }
.card-tour-hr { margin: 10px 0; border: none; border-top: 1px solid #eee; }
.card-tour-price-block { margin-bottom: 12px; }
.card-tour-price-label { font-size: 0.875rem; color: var(--color-muted); margin-bottom: 2px; }
.card-tour-price-row { font-size: 1rem; }
.card-tour-price-old { text-decoration: line-through; color: #9e9e9e; font-size: 14px; margin-left: 4px; }
.card-tour-price-current { color: #FF1744; font-weight: 700; font-size: 18px; margin-left: 4px; }
.card-tour-discount { background: #E53935; color: #fff; padding: 4px 6px; border-radius: 4px; font-weight: 700; font-size: 14px; margin-left: 6px; }
.card-tour-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.card-tour-actions .btn {
  font-size: 0.875rem;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  width: 100%;
  text-align: center;
  letter-spacing: 0.02em;
  display: block;
  box-sizing: border-box;
}
.btn-card-detail {
  background: #fafafa;
  color: #FF1744;
  border: 1.5px solid #ffcdd2;
}
.btn-card-detail:hover {
  background: #fff5f6;
  color: #D50000;
  border-color: #FF1744;
  box-shadow: 0 2px 8px rgba(255, 23, 68, 0.12);
}
.btn-card-buy {
  background: linear-gradient(180deg, #FF1744 0%, #C51162 100%);
  color: #fff;
  box-shadow: 0 3px 10px rgba(255, 23, 68, 0.3);
  border: none;
}
.btn-card-buy:hover {
  background: linear-gradient(180deg, #ff4569 0%, #FF1744 100%);
  box-shadow: 0 4px 14px rgba(255, 23, 68, 0.4);
}
.btn-card-buy:active {
  box-shadow: 0 1px 4px rgba(255, 23, 68, 0.35);
}
.btn-card-detail:active {
  background: #f5f5f5;
}
.card-tour-status--0 { color: #66BB6A; }
.card-tour-status--1 { color: #FFA726; }
.card-tour-status--2 { color: #66BB6A; }

/* ——— Вид «По странам»: группы и карусели ——— */
.country-group { margin-bottom: 2.5rem; }
.country-group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(255, 23, 68, .08) 0%, rgba(255, 23, 68, .02) 50%, transparent 100%);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.country-group-header .country-icon { font-size: 1.35rem; }
.country-group-header .country-name { font-size: 1.25rem; font-weight: 700; color: #1a1a1a; margin: 0; }
.country-slider-outer { position: relative; width: 100%; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  min-width: 44px; min-height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: #fff;
  color: var(--color-primary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, opacity .2s;
  z-index: 3;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.slider-arrow:hover:not(:disabled) { background: var(--color-primary); color: #fff; }
.slider-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.slider-arrow-prev { left: 0; right: auto; }
.slider-arrow-next { right: 0; left: auto; }
.country-slider-wrap { width: 100%; overflow: visible; }
.country-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0;
  scrollbar-width: none;
}
.country-carousel::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: calc(100% - 1rem);
  max-width: 320px;
}
.carousel-card .card-tour-img-wrap { height: 180px; }
.carousel-card .card-tour-body { padding: 12px; }
.carousel-card .card-tour-title { font-size: 1rem; }

/* Мобильная: стрелки карусели скрыты, листание — свайпом */
@media (max-width: 767.98px) {
  .country-slider-outer .slider-arrow { display: none !important; }
}

/* Планшет и десктоп: стрелки сбоку от карусели, не наезжают на карточки */
@media (min-width: 768px) {
  .country-slider-outer { padding-left: 52px; padding-right: 52px; }
  .slider-arrow-prev { left: 0; }
  .slider-arrow-next { right: 0; }
}
@media (min-width: 576px) {
  .carousel-card { width: calc(50% - 0.5rem); max-width: 280px; }
}
@media (min-width: 992px) {
  .carousel-card { width: calc(33.333% - 0.67rem); max-width: 340px; }
}

/* ——— Блок агентов: в стиле карточек спецпредложений ——— */
.agents-section {
  position: relative;
  overflow: hidden;
  padding: 40px 0 48px;
  background: #fff;
}
.agents-section-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248,250,252,.8) 0%, transparent 50%);
  pointer-events: none;
}
.agents-section-inner { position: relative; z-index: 1; }
.agents-section-title {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3.5vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.agents-section-desc {
  margin: 0 0 24px;
  text-align: center;
  font-size: 0.9375rem;
  color: #64748b;
  letter-spacing: .01em;
  line-height: 1.5;
}
.agents-page-section {
  padding-top: 48px;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.agents-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}
@media (min-width: 520px) {
  .agents-slider { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (min-width: 900px) {
  .agents-slider { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
}

.agent-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  padding: 14px 16px;
  gap: 14px;
  border-radius: 12px;
  background: #fff;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .04);
  transition: box-shadow .2s ease;
}
.agent-card::before { display: none; }
.agent-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .06);
}

.agent-card-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 600;
  color: #78350f;
  background: #fef3c7;
  white-space: nowrap;
}
.agent-card-rating-badge .agent-star-icon {
  width: 9px;
  height: 9px;
  display: inline-block;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ca8a04'%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.agent-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.agent-card-head .agent-card-name { margin: 0; }
/* Топ-3: лёгкое выделение карточки */
.agent-card--rank-1 .agent-card-rating-badge { background: #fef08a; color: #713f12; }
.agent-card--rank-1 { box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 0 0 1px rgba(250, 204, 21, .2); }
.agent-card--rank-1:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 0 0 1px rgba(250, 204, 21, .25); }
.agent-card--rank-2 .agent-card-rating-badge { background: #e2e8f0; color: #475569; }
.agent-card--rank-2 { box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 0 0 1px rgba(203, 213, 225, .3); }
.agent-card--rank-2:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 0 0 1px rgba(203, 213, 225, .4); }
.agent-card--rank-3 .agent-card-rating-badge { background: #fed7aa; color: #9a3412; }
.agent-card--rank-3 { box-shadow: 0 1px 4px rgba(0,0,0,.06), 0 0 0 1px rgba(251, 146, 60, .2); }
.agent-card--rank-3:hover { box-shadow: 0 4px 12px rgba(0,0,0,.08), 0 0 0 1px rgba(251, 146, 60, .3); }

.agent-card-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #64748b;
}
.agent-card-avatar-wrap .agent-card-avatar-img,
.agent-card-avatar-wrap .agent-card-avatar-initials {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: .02em;
}
.agent-card-avatar-img { position: relative; object-fit: cover; }
.agent-card-avatar-initials { font-family: inherit; }

.agent-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.agent-card-name {
  font-size: .875rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.agent-card-phone {
  font-size: .75rem;
  color: var(--color-muted);
  margin: 0;
  letter-spacing: .02em;
}

.agent-card-actions {
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn-agent-call,
.btn-agent-wa {
  padding: 6px 10px;
  font-size: .75rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .2s ease, background .2s ease;
  text-align: center;
  border: none;
  font-family: inherit;
  flex: 1;
  min-width: 0;
}
.btn-agent-call {
  background: #fff;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.btn-agent-call:hover {
  background: #fef2f2;
}
.btn-agent-wa {
  background: #25D366;
  color: #fff;
}
.btn-agent-wa:hover {
  background: #22c55e;
}

/* ——— Страница «Наши агенты»: интро и инфографика ——— */
.agents-intro-section {
  padding: 48px 0 56px;
  background: linear-gradient(165deg, #fafbfc 0%, #f1f5f9 50%, #fff 100%);
}
.agents-intro-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.agents-intro-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(255, 23, 68, 0.08);
  border-radius: 100px;
}
.agents-intro-title {
  margin: 0 0 16px;
  font-size: clamp(1.875rem, 4.5vw, 2.5rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.agents-intro-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--color-primary), #ff6b8a);
  border-radius: 2px;
}
.agents-intro-lead {
  margin: 0 0 36px;
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.agents-infographic {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 600px) {
  .agents-infographic { gap: 28px 40px; }
}
@media (min-width: 900px) {
  .agents-infographic { gap: 20px 16px; max-width: 720px; margin-left: auto; margin-right: auto; }
}
.agents-infographic-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1 1 140px;
  min-width: 0;
  max-width: 200px;
}
@media (min-width: 900px) {
  .agents-infographic-item { flex: 1 1 calc(25% - 12px); max-width: none; }
}
.agents-infographic-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06), 0 0 0 1px rgba(0, 0, 0, .04);
  color: var(--color-primary);
  transition: box-shadow .25s ease, transform .25s ease;
}
.agents-infographic-item:hover .agents-infographic-icon-wrap {
  box-shadow: 0 6px 20px rgba(255, 23, 68, .12), 0 0 0 1px rgba(255, 23, 68, .1);
  transform: scale(1.05);
}
.agents-infographic-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.agents-infographic-icon svg {
  width: 26px;
  height: 26px;
}
.agents-infographic-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.4;
  text-align: center;
}
@media (min-width: 768px) {
  .agents-infographic-text { font-size: 0.875rem; }
}

/* ——— Блок «Хочешь стать агентом» на странице агентов ——— */
.agents-cta-section {
  padding: 48px 0 0;
  background: transparent;
}
/* На странице «Наши агенты» футер сразу под блоком заявки — без светлой полосы */
.page-agents .site-footer { margin-top: 0; }
.section.agents-cta-section .agents-cta-block,
.agents-cta-block {
  max-width: 480px;
  margin: 0 auto;
  padding: 56px 48px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06), 0 0 0 1px rgba(0, 0, 0, .04);
  text-align: center;
}
@media (max-width: 560px) {
  .section.agents-cta-section .agents-cta-block,
  .agents-cta-block { padding: 40px 24px; }
}
.agents-cta-title {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.agents-cta-desc {
  margin: 0 0 28px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748b;
}
.agents-cta-block .agents-cta-form {
  padding: 0;
  margin: 0;
  text-align: left;
}
.agents-cta-form .form-row { margin-bottom: 14px; }
.agents-cta-form input,
.agents-cta-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.agents-cta-form input:focus,
.agents-cta-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 23, 68, .1);
}
.agents-cta-form textarea { min-height: 96px; resize: vertical; }
.agents-cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 479px) {
  .agents-cta-form-row { grid-template-columns: 1fr; }
}
.btn-agents-cta-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  margin-top: 6px;
  transition: transform .15s ease, box-shadow .2s ease;
}
.btn-agents-cta-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 23, 68, .25);
}

/* ——— Популярно сегодня (слайдер без цен) ——— */
.today-sales-section {
  padding: 40px 0 44px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}
.today-sales-title {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
}
.today-sales-desc {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: var(--color-muted);
  text-align: center;
}
.today-sales-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.today-sales-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: #fff;
  color: var(--color-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.today-sales-arrow:hover:not(:disabled) {
  background: var(--color-primary);
  color: #fff;
}
.today-sales-arrow:disabled { opacity: 0.35; cursor: not-allowed; }
.today-sales-arrow span {
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.today-sales-arrow--prev span { transform: rotate(45deg); margin-left: 4px; }
.today-sales-arrow--next span { transform: rotate(-135deg); margin-right: 4px; }
.today-sales-track-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.today-sales-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
}
.today-sales-track::-webkit-scrollbar { display: none; }
.today-sales-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: 160px;
  max-width: 200px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.04);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.today-sales-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 23, 68, .12);
  border-color: rgba(255, 23, 68, .15);
}
.today-sales-card-country {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.3;
}
.today-sales-card-count {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}
.today-sales-card-count span { font-size: 0.8rem; font-weight: 600; color: var(--color-muted); }
.today-sales-loading {
  text-align: center;
  padding: 24px;
  color: var(--color-muted);
  font-size: 0.95rem;
}
.today-sales-empty {
  text-align: center;
  padding: 32px 24px;
  background: #f8f9fa;
  border-radius: 14px;
  border: 1px dashed #dee2e6;
}
.today-sales-empty-text {
  margin: 0;
  font-size: 1rem;
  color: var(--color-muted);
}

/* ——— Блок карты путешественников (табы + карта + список) ——— */
.map-section { padding-bottom: 56px; }
.map-section-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.04);
}
.map-section-title {
  margin: 0 0 4px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}
.map-section-desc {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--color-muted);
}
.map-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.map-tab {
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid #e5e5e5;
  background: #fafafa;
  color: var(--color-muted);
  font-family: inherit;
  transition: background .2s, border-color .2s, color .2s;
}
.map-tab:hover {
  background: #fff5f6;
  border-color: rgba(255, 23, 68, .3);
  color: var(--color-primary);
}
.map-tab--active {
  background: linear-gradient(180deg, #FF1744 0%, #D50000 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 23, 68, .35);
}
.map-total-wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.map-total-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-muted);
}
.map-total-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.map-total-hint {
  font-size: 0.8rem;
  color: var(--color-muted);
  width: 100%;
}
.map-wrap-outer {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  background: #e8eef2;
}
.map-canvas-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  min-height: 380px;
}
.travel-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
@media (max-width: 768px) {
  .map-section-card { padding: 18px 20px; }
  .map-section-title { font-size: 1.25rem; }
  .map-canvas-wrap { height: 360px; min-height: 320px; }
}
.map-legend {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--color-muted);
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.06);
}
.map-legend-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}
.map-countries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 16px 16px;
  margin-top: 0;
  background: #fff;
  border-top: 1px solid #eee;
}
.map-country-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid #eee;
  font-size: 0.875rem;
}
.map-country-chip-name { font-weight: 600; color: #1a1a1a; }
.map-country-chip-count { color: var(--color-primary); font-weight: 700; }
.map-wrap { min-height: 200px; }
.map-countries { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.map-country { background: var(--color-card); padding: 12px 16px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.map-country-name { font-weight: 600; }
.map-country-count { font-size: .9rem; color: var(--color-muted); }

.reviews-header { text-align: center; margin-bottom: 28px; max-width: 640px; margin-left: auto; margin-right: auto; }
.reviews-title { margin: 0 0 12px; font-size: clamp(1.5rem, 4vw, 1.85rem); font-weight: 700; color: #1a1a1a; line-height: 1.25; }
.reviews-desc { margin: 0; font-size: 1rem; line-height: 1.5; color: #555; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card { border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16/9; }
.review-card iframe,
.review-card video { width: 100%; height: 100%; object-fit: contain; display: block; }
.review-card video { background: #000; }
.reviews-more-wrap { text-align: center; margin-top: 28px; }
.btn-reviews-more { padding: 12px 28px; font-weight: 600; border-radius: 10px; }

.catalog-more { text-align: center; margin-top: 24px; }

.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; opacity: 0; transition: visibility .2s, opacity .2s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.modal-box { position: relative; background: var(--color-card); border-radius: var(--radius); padding: 24px; max-width: 400px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.modal-close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--color-muted); line-height: 1; }
.modal-title { margin: 0 0 20px; font-size: 1.25rem; }
.form-buy .form-row { margin-bottom: 12px; }

/* Телефон с выбором страны СНГ */
.phone-cis-wrap {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}
.phone-cis-wrap .phone-country {
  flex: 0 0 auto;
  min-width: 180px;
  padding: 10px 14px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
.phone-cis-wrap .phone-local {
  flex: 1;
  min-width: 140px;
}
@media (max-width: 480px) {
  .phone-cis-wrap { flex-direction: column; }
  .phone-cis-wrap .phone-country { min-width: 100%; }
}
.form-buy input { width: 100%; padding: 10px 14px; border: 1px solid #dee2e6; border-radius: 8px; font-family: inherit; font-size: 1rem; }

/* ——— YouTube promo block ——— */
.yt-promo-section { position: relative; padding: 48px 0 56px; overflow: hidden; }
.yt-promo-bg { position: absolute; inset: 0; background: linear-gradient(155deg, #8b0015 0%, #4a000b 35%, #1a0a0c 100%); pointer-events: none; }
.yt-promo-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255,255,255,0.08) 0%, transparent 50%); pointer-events: none; }
.yt-promo-inner { position: relative; z-index: 1; overflow: hidden; }
.yt-promo-header { text-align: center; margin-bottom: 40px; }
.yt-promo-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(255,255,255,0.15); border-radius: 999px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; color: #fff; margin-bottom: 16px; }
.yt-promo-icon { width: 20px; height: 14px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 17'%3E%3Cpath fill='%23fff' d='M23.5 3.5c-.3-1.1-1.1-1.9-2.2-2.2C19.5.8 12 .8 12 .8s-7.5 0-9.3.5C1.6 1.6.8 2.4.5 3.5.1 4.9.1 8.5.1 8.5s0 3.6.4 5c.3 1.1 1.1 1.9 2.2 2.2 1.8.5 9.3.5 9.3.5s7.5 0 9.3-.5c1.1-.3 1.9-1.1 2.2-2.2.4-1.4.4-5 .4-5s0-3.6-.4-5zM9.5 11.2V5.8l6.2 2.7-6.2 2.7z'/%3E%3C/svg%3E") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 17'%3E%3Cpath fill='%23fff' d='M23.5 3.5c-.3-1.1-1.1-1.9-2.2-2.2C19.5.8 12 .8 12 .8s-7.5 0-9.3.5C1.6 1.6.8 2.4.5 3.5.1 4.9.1 8.5.1 8.5s0 3.6.4 5c.3 1.1 1.1 1.9 2.2 2.2 1.8.5 9.3.5 9.3.5s7.5 0 9.3-.5c1.1-.3 1.9-1.1 2.2-2.2.4-1.4.4-5 .4-5s0-3.6-.4-5zM9.5 11.2V5.8l6.2 2.7-6.2 2.7z'/%3E%3C/svg%3E") center/contain no-repeat; }
.yt-promo-title { margin: 0 0 12px; font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800; color: #fff; line-height: 1.25; max-width: 640px; margin-left: auto; margin-right: auto; }
.yt-promo-desc { margin: 0 0 20px; font-size: 1rem; color: rgba(255,255,255,0.85); line-height: 1.5; max-width: 520px; margin-left: auto; margin-right: auto; }
.yt-promo-cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; font-size: 1rem; font-weight: 700; border-radius: 12px; background: #ff0000; color: #fff; border: none; text-decoration: none; box-shadow: 0 4px 20px rgba(255,0,0,0.4); transition: transform 0.2s, box-shadow 0.2s; }
.yt-promo-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,0,0,0.5); }
.yt-promo-cta-icon { width: 22px; height: 16px; background: #fff; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 17'%3E%3Cpath fill='%23fff' d='M23.5 3.5c-.3-1.1-1.1-1.9-2.2-2.2C19.5.8 12 .8 12 .8s-7.5 0-9.3.5C1.6 1.6.8 2.4.5 3.5.1 4.9.1 8.5.1 8.5s0 3.6.4 5c.3 1.1 1.1 1.9 2.2 2.2 1.8.5 9.3.5 9.3.5s7.5 0 9.3-.5c1.1-.3 1.9-1.1 2.2-2.2.4-1.4.4-5 .4-5s0-3.6-.4-5zM9.5 11.2V5.8l6.2 2.7-6.2 2.7z'/%3E%3C/svg%3E") center/contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 17'%3E%3Cpath fill='%23fff' d='M23.5 3.5c-.3-1.1-1.1-1.9-2.2-2.2C19.5.8 12 .8 12 .8s-7.5 0-9.3.5C1.6 1.6.8 2.4.5 3.5.1 4.9.1 8.5.1 8.5s0 3.6.4 5c.3 1.1 1.1 1.9 2.2 2.2 1.8.5 9.3.5 9.3.5s7.5 0 9.3-.5c1.1-.3 1.9-1.1 2.2-2.2.4-1.4.4-5 .4-5s0-3.6-.4-5zM9.5 11.2V5.8l6.2 2.7-6.2 2.7z'/%3E%3C/svg%3E") center/contain no-repeat; }
.yt-promo-widget-wrap {
  margin: 32px 0;
  min-height: 200px;
  overflow: hidden;
  position: relative;
}
/* Полоса прокрутки внутри iframe Elfsight — обрезаем правый край контейнером */
.yt-promo-widget-wrap > div[class*="elfsight-app"] {
  width: calc(100% + 20px) !important;
  max-width: none !important;
  margin-right: -20px;
  box-sizing: content-box;
  overflow: hidden !important;
}
.yt-promo-widget-wrap iframe {
  max-width: 100%;
  width: calc(100% + 20px) !important;
  margin-right: -20px;
  box-sizing: content-box;
}
.yt-promo-footer-cta { text-align: center; }
.yt-promo-cta-secondary { color: #fff; border-color: rgba(255,255,255,0.5); }
.yt-promo-cta-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: #fff; }

.instagram-section { padding: 48px 0; }
.instagram-section-title { margin-bottom: 24px; }
.instagram-widget-wrap { min-height: 200px; }
.instagram-widget-wrap iframe { max-width: 100%; }

.site-footer { background: #1a1a1a; color: #fff; padding: 40px 20px; text-align: center; margin-top: 48px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-brand { margin-bottom: 12px; }
.footer-logo { height: 36px; width: auto; max-width: 140px; object-fit: contain; display: inline-block; vertical-align: middle; }
.footer-tagline { margin: 0 0 20px; opacity: .85; font-size: .95rem; font-weight: 500; letter-spacing: 0.02em; }
.footer-nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.footer-nav a { color: #fff; opacity: .9; text-decoration: none; font-size: .95rem; transition: opacity 0.2s; }
.footer-nav a:hover { opacity: 1; }
.footer-social { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); color: #fff; transition: background 0.2s, color 0.2s; }
.footer-social-link:hover { background: rgba(255,255,255,0.2); color: #fff; }
.footer-social-icon { width: 20px; height: 20px; }

.content-page { max-width: 800px; margin: 0 auto; padding: 24px 20px; }
.content-page h1 { margin: 0 0 24px; font-size: 1.75rem; }
.content-page .body { line-height: 1.7; }
.content-page .body p { margin: 0 0 1em; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { background: var(--color-card); padding: 20px; margin-bottom: 12px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-list h3 { margin: 0 0 8px; font-size: 1.1rem; }

/* ——— Страница «Контакты» (наши офисы как на byfly.uz) ——— */
.contacts-offices-section { padding: 32px 0 56px; }
.contacts-offices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .contacts-offices-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .contacts-offices-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1100px; }
}
.contacts-office-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.04);
  transition: box-shadow .25s ease, transform .25s ease;
}
.contacts-office-card:hover {
  box-shadow: 0 8px 32px rgba(255, 23, 68, .06), 0 0 0 1px rgba(255, 23, 68, .08);
  transform: translateY(-2px);
}
.contacts-office-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
}
.contacts-office-flag { font-size: 1.75rem; line-height: 1; }
.contacts-office-country {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}
.contacts-office-company {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #334155;
}
.contacts-office-type {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contacts-office-details {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #475569;
}
.contacts-office-details dt {
  margin: 10px 0 4px;
  font-weight: 600;
  color: #334155;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.contacts-office-details dt:first-child { margin-top: 0; }
.contacts-office-details dd {
  margin: 0 0 2px;
  padding-left: 0;
}
.contacts-office-details a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.contacts-office-details a:hover { text-decoration: underline; }
.page-contacts .site-footer { margin-top: 0; }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { margin-bottom: 12px; }
.doc-list a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--color-card); border-radius: var(--radius); box-shadow: var(--shadow); }

.form-apply .form-row { margin-bottom: 12px; }
.form-apply input, .form-apply textarea { width: 100%; padding: 10px 14px; border: 1px solid #dee2e6; border-radius: 8px; font-family: inherit; font-size: 1rem; }
.form-apply textarea { min-height: 120px; resize: vertical; }

/* ——— Форма «Заявка на подключение» ——— */
.become-agent-hero,
.contacts-page-hero,
.agents-page-hero,
.documents-page-hero { padding: 64px 20px; }

/* ——— Страница «Документы» ——— */
.documents-section { padding: 48px 0 64px; }
.documents-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.documents-loading,
.documents-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 32px 20px;
  color: var(--color-muted);
}
.documents-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
  border: 1px solid rgba(0, 0, 0, .06);
  transition: box-shadow .2s, transform .2s;
}
.documents-card:hover {
  box-shadow: 0 8px 24px rgba(255, 23, 68, .12);
  transform: translateY(-2px);
}
.documents-card-preview {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  padding: 0;
  border: none;
  background: #f8fafc;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.documents-card-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.documents-card-preview-pdf {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
  color: #b91c1c;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: .05em;
}
.documents-card-pdf-icon { font-family: var(--font); }
.documents-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.documents-card-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.documents-card-download {
  font-size: 0.8125rem;
  color: var(--color-primary);
  font-weight: 500;
}
.documents-card-download:hover { text-decoration: underline; }

.documents-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.documents-lightbox[hidden] { display: none; }
.documents-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  cursor: pointer;
}
.documents-lightbox-inner {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .4);
}
.documents-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .2s;
}
.documents-lightbox-close:hover { background: rgba(0, 0, 0, .8); }
.documents-lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.documents-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.documents-lightbox-iframe {
  width: 80vw;
  height: 80vh;
  min-width: 320px;
  min-height: 400px;
  border: none;
}
.documents-lightbox-link-hint {
  margin: 12px 0 0;
  font-size: 0.9rem;
}
.documents-lightbox-link { font-weight: 600; }
.become-agent-section { padding: 40px 0 56px; background: linear-gradient(180deg, #f8fafc 0%, #fff 120px); }
.become-agent-intro { max-width: 640px; margin: 0 auto 28px; text-align: center; }
.become-agent-intro:empty { display: none; }
.become-agent-intro h1 { margin: 0 0 12px; font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; color: #0f172a; }
.become-agent-intro .body { font-size: 1.0625rem; line-height: 1.7; color: #475569; }
.become-agent-intro .body p { margin: 0 0 0.75em; }

.form-apply-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 36px 24px 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .08), 0 1px 0 rgba(0, 0, 0, .04);
  border: 1px solid rgba(0, 0, 0, .06);
}
@media (min-width: 560px) {
  .form-apply-card { padding: 40px 36px 36px; }
}
.form-apply-card--inline { margin-top: 28px; }
.form-apply-card-title {
  margin: 0 0 28px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}
.form-apply-card-form { text-align: left; }
.form-apply-card-form .form-group { margin-bottom: 22px; }
.form-apply-card-form .form-group:last-of-type { margin-bottom: 28px; }
.form-apply-card-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
}
.form-apply-card-form label .required { color: var(--color-primary); }

/* Единые стили для всех полей формы */
.form-apply-card-form .form-input,
.form-apply-card-form .form-select,
.form-apply-card-form .form-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: #111827;
  background: #fff;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form-apply-card-form .form-textarea {
  min-height: 112px;
  resize: vertical;
  padding-top: 12px;
}
.form-apply-card-form .form-input::placeholder,
.form-apply-card-form .form-textarea::placeholder { color: #9ca3af; }
.form-apply-card-form .form-input:hover,
.form-apply-card-form .form-select:hover,
.form-apply-card-form .form-textarea:hover {
  border-color: #9ca3af;
}
.form-apply-card-form .form-input:focus,
.form-apply-card-form .form-select:focus,
.form-apply-card-form .form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 23, 68, .12);
  background: #fff;
}
.form-apply-card-form select.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Строка телефона: селект и поле в одну линию, оба с общими стилями */
.form-apply-card-form .form-phone-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.form-apply-card-form .form-phone-row .form-select,
.form-apply-card-form .form-phone-row .phone-country {
  flex: 0 0 auto;
  min-width: 180px;
  min-height: 48px;
  padding: 12px 40px 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  background-color: #fff;
}
.form-apply-card-form .form-phone-row .phone-local {
  flex: 1;
  min-width: 0;
}
@media (max-width: 420px) {
  .form-apply-card-form .form-phone-row { flex-direction: column; gap: 12px; }
  .form-apply-card-form .form-phone-row .form-select,
  .form-apply-card-form .form-phone-row .phone-country { min-width: 100%; }
}

.form-apply-card-submit {
  width: 100%;
  min-height: 52px;
  padding: 14px 24px;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: 10px;
  transition: transform .15s ease, box-shadow .2s ease;
  border: none;
  cursor: pointer;
}
.form-apply-card-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 23, 68, .3);
}
.form-apply-card-submit:disabled { opacity: .8; cursor: not-allowed; }

.agents-cta-block--form { text-align: center; }
.agents-cta-block--form .form-apply-card--inline { text-align: left; }
.agents-cta-block--form .form-apply-card-title { font-size: 1.125rem; }

/* ——— Страница «О компании» (лендинг) ——— */
.about-reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: aboutReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes aboutReveal {
  to { opacity: 1; transform: translateY(0); }
}
.about-hero { padding: 64px 20px; }
.about-hero-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
}
.about-hero .hero-title { margin-bottom: 12px; }
.about-intro-section {
  padding: 56px 0;
  background: linear-gradient(165deg, #fafbfc 0%, #f1f5f9 50%, #fff 100%);
}
.about-intro-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.about-intro-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(255, 23, 68, 0.08);
  border-radius: 100px;
}
.about-intro-title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.about-intro-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--color-primary), #ff6b8a);
  border-radius: 2px;
}
.about-intro-number {
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 800;
  line-height: 1;
  margin: 0 0 8px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #ff6b8a 50%, #c51162 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em;
}
.about-intro-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #475569;
}
.about-features-section {
  position: relative;
  padding: 56px 0;
  overflow: hidden;
}
.about-features-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  pointer-events: none;
}
.about-features-section .container { position: relative; z-index: 1; }
.about-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .about-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .about-features-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.about-feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.04);
  text-align: center;
  transition: box-shadow .25s ease, transform .25s ease;
}
.about-feature-card:hover {
  box-shadow: 0 8px 32px rgba(255, 23, 68, .08), 0 0 0 1px rgba(255, 23, 68, .12);
  transform: translateY(-2px);
}
.about-feature-card--ai .about-feature-icon { background: linear-gradient(135deg, rgba(255, 23, 68, .12), rgba(255, 107, 138, .15)); color: var(--color-primary); }
.about-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  margin: 0 auto 16px;
}
.about-feature-icon svg { width: 28px; height: 28px; }
.about-feature-title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}
.about-feature-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #64748b;
}
.about-app-section {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
}
.about-app-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 40%, #fff 100%);
}
.about-app-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: aboutBlobFloat 18s ease-in-out infinite;
}
.about-app-bg-blob--1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(255, 23, 68, 0.12), rgba(255, 107, 138, 0.08));
  top: -120px;
  right: -100px;
  animation-delay: 0s;
}
.about-app-bg-blob--2 {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, rgba(197, 17, 98, 0.1), rgba(255, 23, 68, 0.06));
  bottom: -80px;
  left: -80px;
  animation-delay: -6s;
}
.about-app-bg-blob--3 {
  width: 260px;
  height: 260px;
  background: linear-gradient(135deg, rgba(255, 107, 138, 0.15), rgba(255, 23, 68, 0.05));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -12s;
}
@keyframes aboutBlobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-15px, 10px) scale(0.98); }
}
.about-app-container { position: relative; z-index: 1; }
.about-app-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.about-app-badge {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(255, 23, 68, 0.08);
  border-radius: 100px;
}
.about-app-title {
  margin: 0 0 12px;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #0f172a;
}
.about-app-lead {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
}
.about-app-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.about-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.about-app-btn:hover { text-decoration: none; transform: translateY(-3px); }
.about-app-btn--apple {
  background: #000;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.about-app-btn--apple:hover { box-shadow: 0 8px 28px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.1) inset; }
.about-app-btn--google {
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0,0,0,.08), 0 0 0 1px rgba(255,23,68,.06);
}
.about-app-btn--google:hover { border-color: var(--color-primary); box-shadow: 0 8px 24px rgba(255,23,68,.15), 0 0 0 1px rgba(255,23,68,.1); }
.about-app-btn-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.about-app-btn-icon svg { width: 22px; height: 22px; display: block; }
.about-app-screens {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .about-app-screens { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (min-width: 900px) {
  .about-app-screens {
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 28px;
    align-items: end;
  }
}
.about-app-screen {
  text-align: center;
}
.about-app-phone-wrap {
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  height: 380px;
  transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 640px) { .about-app-phone-wrap { min-height: 400px; height: 400px; } }
@media (min-width: 900px) { .about-app-phone-wrap { min-height: 420px; height: 420px; } }
.about-app-screen:hover .about-app-phone-wrap {
  transform: translateY(-8px) scale(1.02);
}
.about-app-phone-wrap--main {
  position: relative;
}
.about-app-phone-wrap--main::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 80%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(255,23,68,.15) 0%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}
@media (min-width: 768px) {
  .about-app-screen--main .about-app-phone-wrap { transform: rotateY(-6deg) rotateX(2deg); }
  .about-app-screen--main:hover .about-app-phone-wrap { transform: rotateY(-4deg) rotateX(4deg) translateY(-12px) scale(1.03); }
  .about-app-screen:nth-child(2) .about-app-phone-wrap { transform: rotateY(8deg) rotateX(-1deg); }
  .about-app-screen:nth-child(2):hover .about-app-phone-wrap { transform: rotateY(6deg) rotateX(2deg) translateY(-8px) scale(1.02); }
  .about-app-screen:nth-child(3) .about-app-phone-wrap { transform: rotateY(-5deg) rotateX(1deg); }
  .about-app-screen:nth-child(3):hover .about-app-phone-wrap { transform: rotateY(-3deg) rotateX(3deg) translateY(-8px) scale(1.02); }
  .about-app-screen:nth-child(4) .about-app-phone-wrap { transform: rotateY(7deg) rotateX(-2deg); }
  .about-app-screen:nth-child(4):hover .about-app-phone-wrap { transform: rotateY(5deg) rotateX(1deg) translateY(-8px) scale(1.02); }
}
.about-app-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  border-radius: 28px;
  box-shadow: 0 24px 56px rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06), 0 8px 24px rgba(255,23,68,.08);
  transition: box-shadow .35s ease;
}
.about-app-screen--main .about-app-img { max-width: 260px; }
.about-app-screen:not(.about-app-screen--main) .about-app-img { max-width: 180px; }
@media (min-width: 900px) {
  .about-app-screen--main .about-app-img { max-width: 280px; }
  .about-app-screen:not(.about-app-screen--main) .about-app-img { max-width: 200px; }
}
.about-app-screen:hover .about-app-img {
  box-shadow: 0 32px 64px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.08), 0 12px 32px rgba(255,23,68,.12);
}
.about-app-caption {
  margin: 18px 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.4;
  min-height: 2.8em;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}
.about-cta-section { padding: 56px 0 72px; }
.about-cta-block {
  max-width: 540px;
  margin: 0 auto;
  padding: 44px 36px;
  background: linear-gradient(135deg, rgba(255, 23, 68, 0.08) 0%, rgba(255, 107, 138, 0.05) 50%, rgba(197, 17, 98, 0.04) 100%);
  border-radius: 24px;
  border: 1px solid rgba(255, 23, 68, 0.15);
  box-shadow: 0 8px 32px rgba(255, 23, 68, 0.06);
  text-align: center;
}
.about-cta-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}
.about-cta-text {
  margin: 0 0 24px;
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}
.about-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.about-cta-buttons .btn { min-width: 140px; }
.page-about .site-footer { margin-top: 0; }
