/* EscortVN.info – стиль 69love: белый/серый/розовый */
:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #2c2c2e;
  --muted: #6e6e73;
  --accent: #e91e63;
  --accent-hover: #c2185b;
  --accent-light: #fce4ec;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
  --border: #e5e5ea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== HEADER (69love style) ========== */
.header {
  background: var(--surface);
  padding: 0.75rem 1rem;
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-wrap img { width: 32px; height: 32px; border-radius: 6px; display: block; }

.header-left {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.header-tagline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lang-switch { display: flex; align-items: center; gap: 0.15rem; }

.lang {
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.lang:hover, .lang.active { color: var(--accent); font-weight: 600; }

.sep { color: var(--border); font-size: 0.85rem; }

/* City selector in header */
.header-city-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.city-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.city-tab {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
}

.city-tab:hover { border-color: var(--accent); color: var(--accent); }

.city-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ========== HERO + FILTER PANEL (69love style) ========== */
.hero {
  position: relative;
  min-height: 140px;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #1a1a2e 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 1rem 1.25rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; text-align: center; margin-bottom: 0.5rem; }

.hero-title { color: #fff; font-size: 1.5rem; margin: 0 0 0.15rem; font-weight: 700; }

.hero-tagline { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0 0 0.5rem; }
.hero-tagline-accent { color: #fff; font-size: 1.1rem; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }

.hero-promo {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 1rem auto 1rem;
  padding: 1.1rem 1.25rem 1rem;
  background: rgba(255,255,255,0.10);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-h1 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.35rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-sub {
  color: #ff6b6b;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero-sell {
  color: rgba(255,255,255,0.95);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0 0 0.45rem;
}
.hero-channel {
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.hero-price {
  color: #ffd700;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-trust {
  color: #4cdf8a;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  min-width: 260px;
  background: linear-gradient(135deg, #e91e63, #ff5722);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(233,30,99,0.4);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(233,30,99,0.55); color: #fff; }
.hero-cta i { font-size: 1.35rem; }
.hero-fine {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  margin: 0.5rem 0 0;
  line-height: 1.3;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .hero-fine { white-space: normal; }
}

.hero-counter {
  color: #ffd700;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  padding: 0.35rem 0.7rem;
  background: rgba(255,215,0,0.12);
  border-radius: 999px;
  display: inline-block;
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 0 rgba(255,215,0,0); }
  50% { box-shadow: 0 0 12px rgba(255,215,0,0.3); }
}


.filter-panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 1rem 1.25rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  top: 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 0.75rem;
}

.filter-row:last-child { margin-bottom: 0; }

.filter-label { font-size: 0.85rem; color: var(--muted); margin-right: 0.25rem; }

.filter-toggles {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-toggle {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
}

.filter-toggle:hover { border-color: var(--accent); }

.filter-toggle.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.filter-actions { display: flex; gap: 0.5rem; margin-left: auto; flex-wrap: wrap; }

.city-landings {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.city-landings a { color: var(--accent); text-decoration: none; }
.city-landings a:hover { text-decoration: underline; }

.city-nav-sep { margin: 0 0.5rem; color: var(--muted); }
.city-nav-current { font-weight: 600; color: var(--text); }
.city-nav-link { color: var(--accent); text-decoration: none; }
.city-nav-link:hover { text-decoration: underline; }
.hero-intro { font-size: 1rem; line-height: 1.5; margin: 0.5rem 0 1rem; }

.tg-city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 480px) {
  .tg-city-grid { grid-template-columns: 1fr; }
}
.tg-city-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  min-height: 56px;
  width: 100%;
  text-align: center;
  background: #0088cc;
  box-shadow: 0 4px 18px rgba(0,136,204,0.45);
  box-sizing: border-box;
}
.tg-city-btn span {
  line-height: 1.2;
  padding: 0 0.25rem;
}
.tg-city-btn:hover {
  box-shadow: 0 6px 24px rgba(0,120,190,0.6);
}
.tg-iphone {
  font-weight: 700;
  color: #fff;
  background: rgba(255,255,255,0.25);
  padding: 0.15em 0.35em;
  border-radius: 4px;
  animation: tg-iphone-blink 1.8s ease-in-out infinite;
}
@keyframes tg-iphone-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}
.tg-payment-line {
  margin: 1.5rem 0 0.75rem;
  font-size: 1rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.45;
}
.tg-payment-note {
  margin-top: 1rem;
  padding: 1.15rem 1.35rem;
  background: rgba(255,255,255,0.28);
  border-radius: var(--radius);
  border-left: 4px solid rgba(255,255,255,0.85);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.tg-payment-note p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #fff;
}
.tg-payment-note p:last-child { margin-bottom: 0; }
.tg-payment-note a {
  color: #bae6fd;
  text-decoration: none;
  font-weight: 600;
}
.tg-payment-note a:hover { color: #fff; text-decoration: underline; }

.tg-support-block {
  margin-top: 1.25rem;
}
.tg-support-text {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
  line-height: 1.4;
}
.tg-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: #0088cc;
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0,136,204,0.45);
  transition: box-shadow 0.2s, transform 0.2s;
}
.tg-support-btn:hover {
  box-shadow: 0 6px 20px rgba(0,120,190,0.55);
  transform: translateY(-1px);
  color: #fff;
}
.tg-support-btn i { font-size: 1.2rem; }

.tg-seo {
  margin: 0;
  padding: 1.25rem 1rem 2rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #9ca3af;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.btn-find {
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-find:hover { background: var(--accent-hover); }

.btn-reset {
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-reset:hover { border-color: var(--muted); color: var(--text); }

/* Wiki links under filter */
.wiki-links-block {
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  justify-content: center;
  border: 1px solid var(--border);
}

.wiki-links-label { color: var(--muted); font-size: 0.85rem; }

.wiki-links-block a { color: var(--accent); text-decoration: none; font-size: 0.9rem; }

.wiki-links-block a:hover { text-decoration: underline; }

/* ========== MAIN CONTENT ========== */
.main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem;
  width: 100%;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.25rem;
  color: var(--text);
}

/* ========== CARDS (69love style) ========== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.cards-more-wrap {
  text-align: center;
  margin-bottom: 2rem;
}
.btn-show-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-show-more:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid var(--border);
}

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

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-head {
  position: relative;
  padding: 0.75rem 0.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.card-name { font-size: 1.1rem; font-weight: 700; margin: 0; color: var(--text); }

.card-city { font-size: 0.85rem; color: var(--muted); margin: 0.25rem 0 0; }

.card-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--border);
}

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

.card-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: #22c55e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.card-badge i { font-size: 0.75rem; }

.card-attr {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: #fafafa;
  border-top: 1px solid var(--border);
}

.card-attr span { text-align: center; }

.card-attr strong { color: var(--text); display: block; font-size: 0.85rem; }

.card-work {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.card-work i { margin-right: 0.25rem; color: var(--accent); }

.card-actions {
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  flex: 1;
  justify-content: center;
  min-width: 140px;
}

.btn-view:hover { background: var(--accent-hover); color: #fff; }

.btn-view-disabled {
  cursor: default;
  pointer-events: none;
}

.btn-tg-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: default;
  background: #0088cc;
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.btn-tg-sm:hover { background: #006699; color: #fff; }
span.btn-tg-sm { pointer-events: none; }

.card-price-block {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  background: #fafafa;
}
.card-seo-snippet {
  margin: 0;
  padding: 0.35rem 0.75rem 0.6rem;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--muted);
}

.card-price-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-price-item i { color: var(--accent); width: 16px; }

.card-price-item .price { font-weight: 700; color: var(--text); }

/* CTA block */
.cta-block {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.cta-headline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 0.5rem;
}

.cta-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem;
}

.cta-price {
  font-size: 1.1rem;
  color: #ffd700;
  font-weight: 600;
  margin: 0 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background 0.2s;
}

.btn:hover { background: var(--accent-hover); color: #fff; }

.btn-tg { background: #0088cc; }

.btn-tg:hover { background: #006699; color: #fff; }

.btn-cta-main {
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  box-shadow: 0 4px 20px rgba(0,136,204,0.4);
}

/* Support block */
.support-block {
  text-align: center;
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 2px solid #25d366;
}

.support-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--text);
}

.support-text {
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
  color: var(--text);
}

.support-note {
  font-size: 1rem;
  color: #25d366;
  font-weight: 600;
  margin: 0 0 1.2rem;
}

.btn-support {
  background: #25d366;
  font-size: 1.05rem;
  padding: 0.85rem 1.8rem;
  border-radius: 2rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

.btn-support:hover {
  background: #1da851;
  color: #fff;
}

/* Footer */
.footer {
  background: var(--surface);
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-seo {
  font-size: 0.7rem;
  line-height: 1.8;
  color: rgba(0,0,0,0.35);
  max-width: 900px;
  margin: 0 auto 1rem;
}
.footer-seo-en,
.footer-seo-ko {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-wiki {
  text-align: center;
  margin: 0.75rem 0;
  font-size: 0.9rem;
}
.footer-wiki a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.footer-wiki a:hover { text-decoration: underline; }

.footer-copy { margin: 0; font-size: 0.85rem; color: var(--muted); }
.footer-18 { font-weight: 700; margin-right: 0.5rem; }

.card.hidden-by-filter { display: none !important; }

/* Legacy cards (compact, same theme) */
.card-legacy .card-link { display: block; }
.card-legacy .card-img-wrap { aspect-ratio: 3/4; }
.card-legacy .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-legacy .card-info { padding: 1rem; border-top: 1px solid var(--border); }
.card-legacy .card-info h2 { margin: 0 0 0.25rem; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.card-legacy .card-city { margin: 0; font-size: 0.9rem; color: var(--muted); }
.card-legacy .card-price { margin: 0.5rem 0 0; font-size: 0.95rem; font-weight: 700; color: var(--accent); }

/* ========== PROFILE PAGE ========== */
.profile-header-bar {
  background: var(--surface);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.profile-header-bar a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
}

.profile-header-bar a:hover { text-decoration: underline; }

.profile-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.profile-main {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.profile-cover {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: var(--border);
}

.profile-info { padding: 1.25rem; }
.profile-seo-desc { margin: 0.5rem 0; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }

.profile-name { font-size: 1.5rem; margin: 0 0 0.25rem; font-weight: 700; }

.profile-city { color: var(--muted); font-size: 0.95rem; margin: 0 0 1rem; }

.profile-attr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.profile-attr-item {
  padding: 0.5rem;
  background: #fafafa;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.85rem;
}

.profile-attr-item strong { display: block; color: var(--text); }

.profile-work { margin-bottom: 1rem; font-size: 0.95rem; color: var(--muted); }
.profile-price-block { margin-bottom: 1rem; }
.profile-price { margin: 0.35rem 0; font-size: 0.95rem; }

.profile-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.profile-gallery {
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.profile-gallery h3 { font-size: 1.1rem; margin: 0 0 1rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.active { display: flex; }

.lightbox-content { max-width: 90vw; max-height: 90vh; object-fit: contain; }

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  z-index: 1001;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  color: #333;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-prev:hover,
.lightbox-next:hover { background: #fff; }

/* ========== REVIEWS ========== */
.profile-reviews {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #eee;
}
.profile-reviews h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
}
.review {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
}
.review strong {
  color: #e91e63;
}

/* ========== RELATED PROFILES ========== */
.profile-related {
  margin-top: 2rem;
  padding: 1.5rem;
}
.profile-related h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.related-card {
  text-decoration: none;
  color: #333;
  text-align: center;
  transition: transform 0.2s;
}
.related-card:hover {
  transform: translateY(-4px);
}
.related-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}
.related-card span {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ========== WIKI PROFILE LINKS ========== */
.wiki-profiles-box {
  background: #fff0f5;
  border: 1px solid #f8bbd0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.wiki-profiles-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: #e91e63;
}
.wiki-profiles-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.wiki-profiles-links a {
  background: #e91e63;
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.wiki-profiles-links a:hover {
  background: #c2185b;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .header-inner { padding: 0 0.25rem; flex-wrap: wrap; }
  .logo-wrap { font-size: 1.1rem; }
  .header-left { flex: 1; min-width: 0; }
  .header-tagline { font-size: 0.8rem; }
  .city-tabs { justify-content: center; }
  .city-tab { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
  .hero { min-height: auto; padding: 0.4rem 0.6rem 0.6rem; }
  .hero-title { font-size: 1.4rem; }
  .hero-tagline { font-size: 0.85rem; }
  .hero-promo { padding: 0.8rem 1rem; margin: 0.5rem auto 0.5rem; }
  .hero-h1 { font-size: 1.15rem; margin-bottom: 0.2rem; line-height: 1.2; }
  .hero-sub { font-size: 0.8rem; margin-bottom: 0.28rem; }
  .hero-sell { font-size: 0.8rem; margin-bottom: 0.28rem; line-height: 1.4; }
  .hero-channel { font-size: 0.8rem; margin-bottom: 0.25rem; }
  .hero-price { font-size: 0.85rem; margin-bottom: 0.25rem; }
  .hero-trust { font-size: 0.8rem; margin-bottom: 0.28rem; }
  .hero-counter { font-size: 0.75rem; margin-bottom: 0.35rem; padding: 0.28rem 0.55rem; }
  .hero-cta { font-size: 0.98rem; padding: 0.7rem 1.25rem; min-width: 200px; }
  .hero-cta i { font-size: 1.15rem; }
  .hero-fine { font-size: 0.65rem; margin-top: 0.35rem; }
  .filter-panel { padding: 1rem; margin-top: 0; }
  .filter-row { flex-direction: column; align-items: stretch; }
  .filter-actions { margin-left: 0; justify-content: center; }
  .main { padding: 1rem 0.75rem; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .card-attr { grid-template-columns: repeat(4, 1fr); font-size: 0.75rem; }
  .section-title { font-size: 1.25rem; }
  .wiki-links-block { padding: 0.6rem; gap: 0.4rem; }
  .profile-layout { padding: 0 0.75rem 1.5rem; }
  .profile-info { padding: 1rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-reviews { padding: 1rem; }
}

/* iPhone 14/15/16 Pro, узкие Android — hero <1.3 экрана, CTA без скролла */
@media (max-width: 430px) {
  .hero { padding: 0.35rem 0.5rem 0.5rem; }
  .hero-promo { padding: 0.75rem 0.85rem; margin: 0.4rem auto 0.4rem; }
  .hero-h1 { font-size: 1.1rem; margin-bottom: 0.18rem; }
  .hero-sub { font-size: 0.75rem; margin-bottom: 0.22rem; }
  .hero-sell { font-size: 0.78rem; margin-bottom: 0.22rem; }
  .hero-channel { font-size: 0.78rem; margin-bottom: 0.2rem; }
  .hero-price { font-size: 0.82rem; margin-bottom: 0.2rem; }
  .hero-trust { font-size: 0.78rem; margin-bottom: 0.22rem; }
  .hero-counter { margin-bottom: 0.3rem; padding: 0.25rem 0.5rem; font-size: 0.72rem; }
  .hero-cta { padding: 0.65rem 1.1rem; min-width: 180px; font-size: 0.92rem; }
  .hero-fine { font-size: 0.62rem; margin-top: 0.3rem; }
}

@media (max-width: 480px) {
  .header-right { width: 100%; justify-content: space-between; }
  .card-price-block { flex-direction: column; }
}
