@import url('https://fonts.googleapis.com/css2?family=Pirata+One&family=Special+Elite&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #161616;
  --card: #111111;
  --border: #222222;
  --red: #b52a1c;
  --red2: #d63b2b;
  --red3: #8a1f14;
  --gold: #b8963a;
  --gold2: #d4af55;
  --text: #c8c8c8;
  --muted: #666;
  --white: #efefef;
  --fh: 'Pirata One', 'UnifrakturCook', 'Bebas Neue', 'Impact', serif;
  --fa: 'Special Elite', 'Courier New', monospace;
  --fb: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%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.05'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

a { color: var(--red2); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold2); }

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

/* ============================
   TYPOGRAPHY
   ============================ */

h1, h2, h3, h4 {
  font-family: var(--fh);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--white);
  font-weight: 400;
}

h1 { font-size: clamp(2.5rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h4 { font-size: 1.4rem; }

.eyebrow {
  font-family: var(--fa);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red2);
  display: block;
  margin-bottom: 0.5rem;
}

p { margin-bottom: 1rem; font-size: 0.97rem; color: var(--text); }
p:last-child { margin-bottom: 0; }

strong { color: var(--white); font-weight: 600; }

ul, ol { padding-left: 1.2rem; }
li { margin-bottom: 0.4rem; color: var(--text); font-size: 0.95rem; }

/* ============================
   LAYOUT
   ============================ */

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }

section { padding: 5rem 0; }
section.compact { padding: 3rem 0; }

/* ============================
   HEADER / NAV
   ============================ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red3), var(--red2), var(--red3), transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 100px;
  width: auto;
  filter: brightness(1.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--fh);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(181, 42, 28, 0.12);
}

.nav-cta {
  font-family: var(--fh);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--white) !important;
  background: var(--red) !important;
  padding: 0.4rem 1rem !important;
  border-radius: 2px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red2) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 110px; left: 0; right: 0; background: rgba(8,8,8,0.98); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; gap: 0.5rem; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.6rem 0; font-size: 1.3rem; }
  .nav-burger { display: flex; }
}

/* ============================
   HERO - 50/50 split
   ============================ */

.hero {
  min-height: calc(100vh - 110px);
  margin-top: 110px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 60%, rgba(181, 42, 28, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 10%, rgba(184, 150, 58, 0.03) 0%, transparent 60%),
    linear-gradient(180deg, #080808 0%, #0a0505 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -15deg,
      transparent,
      transparent 120px,
      rgba(255,255,255,0.012) 120px,
      rgba(255,255,255,0.012) 121px
    ),
    repeating-linear-gradient(
      72deg,
      transparent,
      transparent 200px,
      rgba(255,255,255,0.008) 200px,
      rgba(255,255,255,0.008) 201px
    );
}

.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 110px);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem 0;
  margin-left: calc((100vw - 1200px) / 2);
  padding-left: 1.5rem;
}

@media (min-width: 1200px) {
  .hero-left { padding-left: calc((100vw - 1200px) / 2 + 1.5rem); margin-left: 0; }
}

.hero-eyebrow {
  font-family: var(--fa);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red2);
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: clamp(3.5rem, 7vw, 8rem);
  line-height: 0.92;
  margin-bottom: 0.5rem;
  color: var(--white);
  text-shadow: 0 0 80px rgba(181,42,28,0.25);
}

.hero-title .line-2 {
  color: var(--red2);
  -webkit-text-stroke: 1px var(--red3);
}

.hero-subtitle {
  font-family: var(--fa);
  font-size: 1rem;
  color: var(--muted);
  margin-top: 1.2rem;
  max-width: 420px;
  line-height: 1.7;
}

.hero-subtitle strong { color: var(--gold); }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.hero-stat-value {
  font-family: var(--fh);
  font-size: 2.8rem;
  color: var(--white);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--fa);
}

.hero-right {
  position: relative;
  border-left: 1px solid var(--border);
}

#studio-map {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: var(--bg2);
}

/* Responsive: stack on mobile */
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 3rem 1.5rem 2rem; margin-left: 0; }
  .hero-right { border-left: none; border-top: 1px solid var(--border); }
  #studio-map { min-height: 420px; height: 420px; }
}

/* Custom Leaflet popup */
.leaflet-popup-content-wrapper {
  background: var(--card) !important;
  color: var(--text) !important;
  border: 1px solid var(--red3) !important;
  border-radius: 4px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.8) !important;
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  padding: 0 !important;
}

.leaflet-popup-tip-container { display: none !important; }

.popup-inner {
  padding: 1rem 1.1rem;
  min-width: 200px;
}

.popup-name {
  font-family: var(--fh);
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.popup-addr {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-family: var(--fa);
}

.popup-style {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(181,42,28,0.2);
  color: var(--red2);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

.popup-link {
  font-family: var(--fa);
  font-size: 0.75rem;
  color: var(--gold) !important;
  display: block;
}

/* ============================
   SECTION HEADINGS
   ============================ */

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red3));
}

.section-header .eyebrow { margin-bottom: 0.6rem; }

.section-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.8rem;
  max-width: 560px;
}

/* ============================
   STUDIO GRID
   ============================ */

.studios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.studio-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red3);
  border-radius: 3px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.studio-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(181,42,28,0.06), transparent);
}

.studio-card:hover {
  border-left-color: var(--red2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(181,42,28,0.12);
}

.studio-card-num {
  font-family: var(--fh);
  font-size: 3rem;
  color: rgba(181,42,28,0.12);
  position: absolute;
  top: 0.6rem; right: 1rem;
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

.studio-name {
  font-family: var(--fh);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.3rem;
  line-height: 1.1;
}

.studio-district {
  font-family: var(--fa);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red2);
  margin-bottom: 0.8rem;
}

.studio-address {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.studio-address::before {
  content: '//';
  color: var(--red3);
  font-family: var(--fa);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.studio-summary {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.studio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-family: var(--fa);
}

.tag--red {
  border-color: var(--red3);
  color: var(--red2);
  background: rgba(181,42,28,0.08);
}

.studio-link {
  font-family: var(--fa);
  font-size: 0.75rem;
  color: var(--gold) !important;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.studio-link::after { content: '->'; }
.studio-link:hover { color: var(--gold2) !important; }

/* ============================
   DISTRICTS FILTER
   ============================ */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.filter-label {
  font-family: var(--fa);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.5rem;
}

.filter-btn {
  font-family: var(--fa);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--red2);
  color: var(--white);
  background: rgba(181,42,28,0.1);
}

/* ============================
   INNER PAGE HERO
   ============================ */

.page-hero {
  padding: 160px 0 70px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red3), transparent);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* dark overlay so text stays readable over photo */
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,0.92) 40%, rgba(8,8,8,0.55) 100%),
    linear-gradient(180deg, rgba(8,8,8,0.4) 0%, rgba(8,8,8,0.7) 100%);
}

/* scratch lines on top of photo */
.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(
    -20deg,
    transparent,
    transparent 80px,
    rgba(255,255,255,0.018) 80px,
    rgba(255,255,255,0.018) 81px
  );
}

/* Assign different image per page via body class */
body.page-schmerzen    .page-hero-bg { background-image: url('../img/hero-bg-1.jpg'); }
body.page-nachsorge    .page-hero-bg { background-image: url('../img/hero-bg-2.jpg'); }
body.page-sleeve       .page-hero-bg { background-image: url('../img/hero-bg-1.jpg'); }
body.page-realistic    .page-hero-bg { background-image: url('../img/hero-bg-3.jpg'); }
body.page-coverup      .page-hero-bg { background-image: url('../img/hero-bg-2.jpg'); }
body.page-stile        .page-hero-bg { background-image: url('../img/hero-bg-3.jpg'); }
body.page-studios      .page-hero-bg { background-image: url('../img/hero-bg-1.jpg'); }
body.page-legal        .page-hero-bg { background-image: none; }

.page-hero-content { position: relative; z-index: 2; }

.breadcrumb {
  font-family: var(--fa);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { color: var(--red3); }

.page-hero h1 { margin-bottom: 1rem; }

.page-hero-desc {
  font-family: var(--fa);
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================
   ARTICLE CONTENT
   ============================ */

.article-body {
  padding: 4rem 0;
}

.article-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.article-body h2:first-child { margin-top: 0; }

.article-body h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  margin-top: 2rem;
  margin-bottom: 0.6rem;
  color: var(--gold);
}

.article-body p { color: var(--text); font-size: 0.97rem; }

.article-body ul { margin-bottom: 1rem; }

.highlight-box {
  background: var(--card);
  border-left: 3px solid var(--red);
  padding: 1.2rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 3px 3px 0;
}

.highlight-box p { color: var(--text); margin: 0; }

/* ============================
   INFO CARDS (pain chart etc)
   ============================ */

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.2rem;
  border-radius: 3px;
  text-align: center;
}

.info-card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  filter: grayscale(0.4);
}

.info-card-title {
  font-family: var(--fh);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.info-card-text {
  font-size: 0.8rem;
  color: var(--muted);
}

.pain-meter {
  display: flex;
  gap: 3px;
  justify-content: center;
  margin: 0.4rem 0;
}

.pain-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.pain-dot.filled { background: var(--red); }
.pain-dot.medium { background: var(--gold); }
.pain-dot.low { background: #2a7a2a; }

/* ============================
   FAQ ACCORDION
   ============================ */

.faq-list { margin: 2rem 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.2rem 0;
  font-family: var(--fh);
  font-size: 1.15rem;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.04em;
  gap: 1rem;
}

.faq-question:hover { color: var(--gold2); }

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(181,42,28,0.2);
  border: 1px solid var(--red3);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--red2);
  transition: transform 0.2s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 0 1.2rem;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.75;
}

.faq-item.open .faq-answer { display: block; }

/* ============================
   CTA STRIP
   ============================ */

.cta-strip {
  background: linear-gradient(135deg, #0e0606 0%, #130b0b 100%);
  border: 1px solid var(--red3);
  border-radius: 4px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 4rem 0;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(181,42,28,0.1), transparent);
  pointer-events: none;
}

.cta-strip h2 {
  position: relative;
  margin-bottom: 0.5rem;
}

.cta-strip p {
  position: relative;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-family: var(--fa);
}

/* ============================
   BUTTONS
   ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fa);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 1.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red2);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(181,42,28,0.4);
}

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

.btn-outline:hover {
  border-color: var(--red2);
  color: var(--white);
  background: rgba(181,42,28,0.08);
}

/* ============================
   FEATURES LIST
   ============================ */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(181,42,28,0.1);
  border: 1px solid var(--red3);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: var(--white);
}

.feature-text p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* ============================
   TOPIC GRID (inner pages)
   ============================ */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.topic-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.topic-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red3), var(--red2));
  transform: scaleX(0);
  transition: transform 0.2s;
}

.topic-card:hover::after { transform: scaleX(1); }

.topic-card:hover {
  border-color: var(--red3);
  transform: translateY(-2px);
  color: var(--text);
}

.topic-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  filter: grayscale(0.3);
}

.topic-card h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.topic-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================
   DIVIDERS
   ============================ */

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4rem 0;
  position: relative;
}

.divider::before {
  content: '///';
  position: absolute;
  top: -0.6rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 0.8rem;
  font-family: var(--fa);
  font-size: 0.65rem;
  color: var(--red3);
  letter-spacing: 0.3em;
}

/* ============================
   TABLE
   ============================ */

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.data-table th {
  font-family: var(--fa);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red2);
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--red3);
  background: var(--bg2);
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ============================
   FOOTER
   ============================ */

.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0.9);
}

.footer-tagline {
  font-family: var(--fa);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--fh);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.83rem;
  color: var(--muted);
  transition: color 0.2s;
  font-family: var(--fa);
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-family: var(--fa);
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-family: var(--fa);
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-legal a:hover { color: var(--text); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .studios-grid { grid-template-columns: 1fr; }
}

/* ============================
   UTILITY
   ============================ */

.text-red { color: var(--red2); }
.text-gold { color: var(--gold2); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Leaflet dark theme override */
.leaflet-tile-pane { filter: brightness(1.25) contrast(0.95) saturate(0.9); }
.leaflet-control-zoom a {
  background: var(--card) !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
.leaflet-control-zoom a:hover { background: var(--bg3) !important; color: var(--white) !important; }
.leaflet-control-attribution { background: rgba(8,8,8,0.8) !important; color: var(--muted) !important; font-size: 10px !important; }
.leaflet-control-attribution a { color: var(--muted) !important; }

/* Red marker pulse */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181,42,28,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(181,42,28,0); }
}

.custom-marker {
  width: 28px !important;
  height: 28px !important;
  background: var(--red);
  border: 2px solid #e05050;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.6);
  animation: pulse 2.5s infinite;
}

.custom-marker-inner {
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
