@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --bg: hsl(28, 18%, 6%);
  --bg-dark: hsl(28, 18%, 4%);
  --bg-card: hsl(28, 16%, 10%);
  --bg-elevated: hsl(28, 14%, 14%);
  --text: hsl(38, 45%, 92%);
  --text-muted: hsl(38, 20%, 72%);
  --text-light: hsl(38, 45%, 92%);
  --accent: hsl(40, 85%, 62%);
  --accent-light: hsl(38, 75%, 58%);
  --accent-gold: hsl(40, 85%, 62%);
  --accent-gold-light: hsl(38, 75%, 65%);
  --accent-gold-fg: hsl(28, 30%, 6%);
  --border: hsl(38, 35%, 28%, 0.4);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'Source Sans 3', system-ui, sans-serif;
  --font-display: 'Merriweather', Georgia, serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: #120f0d; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

body.has-parallax { background: transparent; }

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-light); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: hsl(28, 18%, 6%, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--accent);
}

.logo-icon {
  width: 42px; height: 42px;
  background: var(--accent-gold);
  color: var(--accent-gold-fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.logo-sub { font-size: 0.7rem; color: var(--text-muted); font-family: var(--font); font-weight: 400; display: block; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
}

.nav a:hover, .nav a.active { color: var(--accent-gold); background: hsl(40, 85%, 62%, 0.1); }

.nav-phone {
  background: var(--accent-gold) !important;
  color: var(--accent-gold-fg) !important;
  font-weight: 600 !important;
  margin-left: 8px;
  padding: 10px 16px !important;
}

.nav-phone:hover { background: var(--accent-light) !important; color: white !important; }

.menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary { background: var(--accent-gold); color: var(--accent-gold-fg); }
.btn-primary:hover { background: var(--accent-gold-light); color: var(--accent-gold-fg); transform: translateY(-1px); }

.btn-gold { background: var(--accent-gold); color: var(--accent-gold-fg); }
.btn-gold:hover { background: var(--accent-gold-light); color: var(--accent-gold-fg); }

.btn-outline {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid hsl(40, 85%, 62%, 0.5);
}

.btn-outline:hover { background: hsl(40, 85%, 62%, 0.12); color: var(--accent-gold); }

.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* Hero */
.hero {
  padding: calc(var(--header-h) + 60px) 0 80px;
  background: linear-gradient(165deg, var(--bg-dark) 0%, hsl(28, 16%, 10%) 50%, hsl(28, 18%, 8%) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.hero-trust span { display: flex; align-items: center; gap: 8px; }

/* Sections */
section { padding: 72px 0; }

.section-header { text-align: center; margin-bottom: 48px; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--text);
  margin-bottom: 14px;
}

.section-header p { color: var(--text-muted); max-width: 580px; margin: 0 auto; }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(26, 46, 26, 0.12); }

.card-icon {
  width: 52px; height: 52px;
  background: rgba(45, 90, 61, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text); }
.card p { color: var(--text-muted); font-size: 0.92rem; }

/* Pricing */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(45, 90, 61, 0.15);
}

.pricing-card.featured::before {
  content: 'Najpopularniejszy';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: white;
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pricing-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; color: var(--accent); }

.price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  margin: 16px 0;
}

.price-note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }

.pricing-features { list-style: none; text-align: left; margin: 20px 0; }

.pricing-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

.pricing-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Before/After Gallery */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.ba-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.ba-img {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
}

.ba-img.before { background: linear-gradient(135deg, #8a8a7a, #6a6a5a); }
.ba-img.after { background: linear-gradient(135deg, #4a7a5a, #3d6a4d); }

.ba-label {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ba-body { padding: 20px; }
.ba-body h3 { font-size: 1rem; margin-bottom: 8px; color: var(--accent); }
.ba-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Steps */
.steps { display: flex; gap: 20px; }

.step {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.step-num {
  width: 44px; height: 44px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 16px;
}

.step h3 { font-size: 1rem; margin-bottom: 8px; color: var(--accent); }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* Cemetery list */
.cemetery-list { list-style: none; }

.cemetery-list li {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.92rem;
}

.cemetery-list li:hover { background: rgba(45, 90, 61, 0.04); }

.cemetery-num {
  background: hsl(40, 85%, 62%, 0.15);
  color: var(--accent-gold);
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-display);
}

/* Forms */
.form-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text);
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: hsl(28, 16%, 10%);
  color-scheme: dark;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: hsl(38, 20%, 72%, 0.75);
}

.form-group select option {
  color: var(--text);
  background: hsl(28, 16%, 10%);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px hsl(28, 16%, 10%) inset;
  caret-color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text);
}

.checkbox-group span { color: var(--text); }

.checkbox-group input { width: auto; margin-top: 3px; }

.form-success {
  display: none;
  background: rgba(45, 90, 61, 0.1);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--accent);
  margin-top: 16px;
}

/* FAQ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  color: var(--text);
}

.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--accent); }
.faq-item.open .faq-question::after { transform: rotate(45deg); display: inline-block; }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 22px 18px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

/* CTA band */
.cta-band {
  background: hsl(28, 16%, 8%);
  color: var(--text-light);
  padding: 56px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 12px; }
.cta-band p { opacity: 0.85; margin-bottom: 24px; }

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 48px) 0 48px;
  background: linear-gradient(165deg, var(--bg-dark), hsl(28, 16%, 10%));
  color: var(--text-light);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { opacity: 0.9; max-width: 560px; margin: 0 auto; }

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
  background: rgba(45, 90, 61, 0.06);
  border-radius: var(--radius);
  margin-top: 32px;
}

.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-muted); }

/* Footer */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer h4 { color: white; margin-bottom: 14px; font-size: 0.95rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer ul a:hover { color: white; }

.footer-brand p { font-size: 0.88rem; margin-top: 12px; max-width: 260px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* Floating phone */
.floating-phone {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 58px; height: 58px;
  background: var(--accent-gold);
  color: var(--accent-gold-fg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(45, 90, 61, 0.4);
  text-decoration: none;
  transition: transform 0.2s;
}

.floating-phone:hover { transform: scale(1.08); color: white; }

.floating-phone svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-gold-fg);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--font-display); color: var(--accent); margin: 28px 0 12px; }
.prose p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }
.prose ul { color: var(--text-muted); margin: 12px 0 12px 24px; }

.emotional-banner {
  background: rgba(184, 149, 106, 0.12);
  border-left: 4px solid var(--accent-gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.emotional-banner strong { color: var(--accent); }

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  z-index: 1001;
  display: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.cookie-banner.show { display: block; }

.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-inner p { font-size: 0.88rem; color: var(--text-muted); max-width: 680px; }

@media (max-width: 968px) {
  .grid-2, .grid-3, .grid-4, .ba-grid, .footer-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }

  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
  }

  .nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav a { width: 100%; text-align: center; padding: 12px; }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .floating-phone { bottom: 16px; right: 16px; }
}

/* ===== CMENTARZE PAGE (spgroby.com style) ===== */
.cem-page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
  background:
    radial-gradient(circle at 20% 15%, hsl(40, 85%, 62%, 0.1), transparent 45%),
    radial-gradient(circle at 80% 75%, hsl(40, 85%, 62%, 0.06), transparent 50%);
}

.cem-page { position: relative; z-index: 1; }

.cem-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: hsl(38, 20%, 72%);
  font-size: 0.9rem;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.cem-back:hover { color: var(--accent-gold); }

.cem-header {
  border-bottom: 1px solid hsl(40, 85%, 62%, 0.2);
  padding-bottom: 40px;
  margin-bottom: 48px;
}

.cem-header .section-label { letter-spacing: 0.35em; font-size: 0.72rem; }

.cem-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 20px;
  font-weight: 700;
}

.cem-header h1 em { font-style: normal; color: var(--accent-gold); }

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  padding: 8px;
  border-radius: var(--radius-lg);
  width: fit-content;
  max-width: 100%;
  background: hsl(28, 16%, 10%, 0.7);
  border: 1px solid hsl(40, 85%, 62%, 0.25);
  box-shadow: var(--shadow);
}

.region-tab {
  padding: 12px 20px;
  border-radius: var(--radius);
  border: none;
  background: transparent;
  color: hsl(38, 20%, 72%);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.region-tab:hover { background: hsl(40, 85%, 62%, 0.1); color: var(--text); }

.region-tab.active {
  background: var(--accent-gold);
  color: var(--accent-gold-fg);
  box-shadow: 0 4px 20px hsl(40, 85%, 62%, 0.3);
  transform: scale(1.02);
}

.cem-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: start;
}

.cem-sidebar {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, hsl(40, 85%, 62%, 0.15), hsl(28, 16%, 10%, 0.6), hsl(28, 16%, 10%, 0.8));
  border: 1px solid hsl(40, 85%, 62%, 0.3);
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.cem-sidebar .section-label { font-size: 0.65rem; letter-spacing: 0.3em; }

.cem-sidebar h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cem-sidebar p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

.cem-free-badge {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid hsl(40, 85%, 62%, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-size: 0.9rem;
}

.cem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cem-flat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: hsl(28, 16%, 10%, 0.6);
  border: 1px solid hsl(40, 85%, 62%, 0.2);
  backdrop-filter: blur(8px);
  transition: all 0.25s;
}

.cem-flat-item:hover {
  transform: translateY(-2px);
  border-color: hsl(40, 85%, 62%, 0.55);
  box-shadow: 0 8px 24px hsl(40, 85%, 62%, 0.08);
}

.cem-city-accordion {
  border-radius: var(--radius);
  background: hsl(28, 16%, 10%, 0.6);
  border: 1px solid hsl(40, 85%, 62%, 0.2);
  overflow: hidden;
  transition: border-color 0.25s;
}

.cem-city-accordion:hover { border-color: hsl(40, 85%, 62%, 0.55); }

.cem-city-accordion.open { border-color: hsl(40, 85%, 62%, 0.45); }

.cem-city-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
}

.cem-city-btn .city-name {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 600;
}

.cem-city-btn .city-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

.cem-city-btn .chevron {
  color: var(--accent-gold);
  transition: transform 0.3s;
  font-size: 1.2rem;
}

.cem-city-accordion.open .chevron { transform: rotate(180deg); }

.cem-city-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  border-top: 0 solid hsl(40, 85%, 62%, 0.15);
}

.cem-city-accordion.open .cem-city-list {
  max-height: 2000px;
  border-top-width: 1px;
}

.cem-city-list ul { list-style: none; padding: 8px 20px 20px; }

.cem-city-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid hsl(38, 35%, 28%, 0.2);
}

.cem-city-list li:last-child { border-bottom: none; }

.cem-pin { color: var(--accent-gold); flex-shrink: 0; margin-top: 2px; }

.cem-item-name { font-weight: 500; font-size: 0.92rem; margin-bottom: 2px; }
.cem-item-addr { font-size: 0.82rem; color: var(--text-muted); }

.cem-city-simple {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: hsl(28, 16%, 10%, 0.6);
  border: 1px solid hsl(40, 85%, 62%, 0.2);
  transition: all 0.25s;
}

.cem-city-simple:hover {
  transform: translateY(-2px);
  border-color: hsl(40, 85%, 62%, 0.55);
}

@media (max-width: 968px) {
  .cem-layout { grid-template-columns: 1fr; }
  .cem-sidebar { position: static; }
  .cem-grid { grid-template-columns: 1fr; }
  .region-tabs { width: 100%; }
  .region-tab { flex: 1; text-align: center; min-width: 120px; }
}
