/*
 * Dragon Dojo Асеновград — Shared Stylesheet
 * Version: 1.0 | July 2026
 * Fonts: Bebas Neue (headings) + Barlow 300/400/500/600/700 (body)
 * Import in _Layout.cshtml via: <link rel="stylesheet" href="~/css/site.css" />
 */

/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500;600;700&display=swap');

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
input, textarea, select { font-family: 'Barlow', sans-serif; }

/* ── Design Tokens (Dark Mode — default) ─────────────────────────────────── */
:root {
  /* Backgrounds */
  --dd-bg:      #0a0808;   /* page background */
  --dd-bg-s:    #0e0b0b;   /* section / alternate row */
  --dd-bg-c:    #141010;   /* card / panel */
  --dd-bg-f:    #060505;   /* footer */

  /* Text */
  --dd-text:    #ede8e8;   /* primary */
  --dd-muted:   #8a8080;   /* secondary / captions */

  /* Accent */
  --dd-accent:  #c02020;   /* red — primary brand colour */
  --dd-gold:    #c8a840;   /* gold — achievements / highlights */

  /* Layout */
  --dd-max-w:   1240px;
  --dd-gutter:  24px;
  --dd-header-h: 72px;

  /* Transitions */
  --dd-ease:    0.2s ease;
}

/* ── Light Theme Overrides ───────────────────────────────────────────────── */
body.dd-light {
  --dd-bg:    #f5f2f2;
  --dd-bg-s:  #ece9e9;
  --dd-bg-c:  #ffffff;
  --dd-bg-f:  #e4e1e1;
  --dd-text:  #1a1010;
  --dd-muted: #6a5f5f;
}

/* ── Semantic utility classes for light-mode–safe text & backgrounds ────── */
/* Use these classes in Razor partials instead of hardcoded inline colours.   */

/* Text */
.dd-text-primary   { color: var(--dd-text); }
.dd-text-muted     { color: var(--dd-muted); }
.dd-text-semi      { color: rgba(237,232,232,0.72); }
body.dd-light .dd-text-semi { color: rgba(26,16,16,0.72); }
.dd-text-faint     { color: rgba(237,232,232,0.4); }
body.dd-light .dd-text-faint { color: rgba(26,16,16,0.4); }

/* Backgrounds */
.dd-bg-page        { background: var(--dd-bg); }
.dd-bg-alt         { background: var(--dd-bg-s); }
.dd-bg-card        { background: var(--dd-bg-c); }
.dd-bg-footer      { background: var(--dd-bg-f); }
.dd-bg-deep        { background: #1a1212; }
body.dd-light .dd-bg-deep   { background: #ede9e9; }
body.dd-light .dd-bg-deep * { color: var(--dd-text); }

/* Borders */
.dd-border-subtle  { border-color: rgba(237,232,232,0.08); }
body.dd-light .dd-border-subtle { border-color: rgba(192,32,32,0.12); }
.dd-border-medium  { border-color: rgba(237,232,232,0.15); }
body.dd-light .dd-border-medium { border-color: rgba(26,16,16,0.15); }

/* Outline button */
.dd-btn--outline { border: 1.5px solid rgba(192,32,32,0.3); color: var(--dd-text); background: transparent; }
.dd-btn--outline:hover { border-color: var(--dd-accent); color: var(--dd-accent); }

/* Hero section */
.dd-hero            { background: var(--dd-bg); }
.dd-hero__desc      { color: var(--dd-muted); }
.dd-hero__stat-wrap { border-top: 1px solid rgba(192,32,32,0.12); display: flex; flex-wrap: wrap; margin-top: 80px; padding-top: 40px; }
.dd-hero__stat      { border-right: 1px solid rgba(192,32,32,0.12); padding: 0 40px; }
.dd-hero__stat:first-child { padding-left: 0; }
.dd-hero__stat:last-child  { border-right: none; }
.dd-hero__stat-value { font-size: 52px; line-height: 1; }
.dd-hero__stat-label { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; margin-top: 4px; }
.dd-hero__scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.5; }

/* Section body text */
.dd-body            { font-size: 17px; font-weight: 300; color: var(--dd-muted); line-height: 1.85; }
.dd-body--sm        { font-size: 15px; font-weight: 300; color: var(--dd-muted); line-height: 1.7; }
.dd-body--xs        { font-size: 14px; font-weight: 300; color: var(--dd-muted); line-height: 1.8; }

/* Section dividers */
.dd-section-divider { border-top: 1px solid rgba(192,32,32,0.1); }
.dd-section-divider--bottom { border-bottom: 1px solid rgba(192,32,32,0.06); }

/* Story / about image overlay */
.dd-image-overlay   { background: linear-gradient(to top, rgba(10,8,8,0.1), transparent 60%); }
body.dd-light .dd-image-overlay { background: linear-gradient(to top, rgba(245,242,242,0.05), transparent 60%); }

/* Scrollbar */
body.dd-light ::-webkit-scrollbar-track { background: #f5f2f2; }

/* Footer bottom row */
.dd-footer__copy    { font-size: 12px; color: rgba(138,128,128,0.4); }
body.dd-light .dd-footer__copy { color: rgba(80,60,60,0.5); }
.dd-footer__tagline { font-size: 11px; color: rgba(138,128,128,0.25); letter-spacing: 3px; text-transform: uppercase; }
body.dd-light .dd-footer__tagline { color: rgba(80,60,60,0.3); }

/* Page banner bg text */
.dd-page-banner__bg-text { color: rgba(192,32,32,0.04); }

/* Lightbox */
.dd-lightbox { background: rgba(6,4,4,0.96); }
body.dd-light .dd-lightbox { background: rgba(240,238,238,0.97); }

/* ── Base ─────────────────────────────────────────────────────────────────── */
body {
  background: var(--dd-bg);
  color: var(--dd-text);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
  transition: background var(--dd-ease), color var(--dd-ease);
}

a { color: var(--dd-accent); text-decoration: none; }
a:hover { color: #e04040; }

/* ── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--dd-bg); }
::-webkit-scrollbar-thumb { background: var(--dd-accent); }

/* ── Typography ───────────────────────────────────────────────────────────── */
.dd-display {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 3px;
  line-height: 1.0;
}
.dd-label {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--dd-accent);
  font-weight: 600;
}

/* ── Layout helpers ───────────────────────────────────────────────────────── */
.dd-container {
  max-width: var(--dd-max-w);
  margin: 0 auto;
  padding: 0 var(--dd-gutter);
}
.dd-section { padding: 100px var(--dd-gutter); }
.dd-section--alt { background: var(--dd-bg-s); }

/* ── Grid helpers ─────────────────────────────────────────────────────────── */
.dd-2col { display: flex; gap: 80px; align-items: center; }
.dd-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
/* Short rows: dd-3col always reserves three columns, so one or two cards sit hard
   left with a hole on the right. Narrow the grid rather than widening the cards,
   so they keep their one-third size and the row centres. */
.dd-3col--count-1 { grid-template-columns: 1fr; max-width: calc(100% / 3); margin-inline: auto; }
.dd-3col--count-2 { grid-template-columns: repeat(2, 1fr); max-width: calc(100% / 3 * 2); margin-inline: auto; }
.dd-2g    { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2px; }

/* ── Red divider line ─────────────────────────────────────────────────────── */
.dd-divider { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.dd-divider__line { width: 40px; height: 2px; background: var(--dd-accent); flex-shrink: 0; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.dd-btn {
  display: inline-block;
  padding: 16px 48px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 1px;
  cursor: pointer;
  transition: background var(--dd-ease), border-color var(--dd-ease), color var(--dd-ease), transform var(--dd-ease);
}
.dd-btn--primary { background: var(--dd-accent); color: #fff; border: none; }
.dd-btn--primary:hover { background: #e02828; transform: translateY(-2px); color: #fff; }
.dd-btn--outline { border: 1.5px solid rgba(237,232,232,0.2); color: var(--dd-text); background: transparent; }
.dd-btn--outline:hover { border-color: var(--dd-accent); color: var(--dd-accent); }

/* ── Card ─────────────────────────────────────────────────────────────────── */
.dd-card { background: var(--dd-bg-c); transition: background var(--dd-ease); }
.dd-card:hover { background: #1c1212; }
body.dd-light .dd-card:hover { background: #f5f0f0; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.dd-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--dd-header-h);
  backdrop-filter: blur(10px);
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.dd-header--scrolled {
  background: rgba(10,8,8,0.97);
  border-bottom: 1px solid rgba(192,32,32,0.15);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
body.dd-light .dd-header--scrolled {
  background: rgba(245,242,242,0.97);
}
.dd-header__inner {
  max-width: var(--dd-max-w);
  margin: 0 auto;
  padding: 0 var(--dd-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.dd-header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.dd-header__logo img { width: 48px; height: 48px; object-fit: contain; border-radius: 4px; }
.dd-header__logo-text { line-height: 1; }
.dd-header__logo-name { font-family: 'Bebas Neue'; font-size: 20px; letter-spacing: 3px; color: var(--dd-text); }
.dd-header__logo-sub  { font-size: 8px; letter-spacing: 3px; color: var(--dd-accent); text-transform: uppercase; font-weight: 600; }

.dd-nav { display: flex; align-items: center; gap: 28px; }
.dd-nav__link {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  font-weight: 600; color: var(--dd-text); opacity: 0.65;
  transition: opacity var(--dd-ease), color var(--dd-ease);
  text-decoration: none;
}
.dd-nav__link:hover, .dd-nav__link--active { opacity: 1; color: var(--dd-accent); }
.dd-nav__cta {
  background: var(--dd-accent); color: #fff;
  padding: 10px 22px; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700; border-radius: 1px;
  transition: background var(--dd-ease); text-decoration: none;
}
.dd-nav__cta:hover { background: #e02828; color: #fff; }
.dd-nav__controls { display: flex; align-items: center; gap: 6px; padding-right: 16px; margin-right: 4px; border-right: 1px solid rgba(237,232,232,0.1); }
.dd-nav__btn {
  background: transparent;
  border: 1px solid rgba(237,232,232,0.14);
  color: var(--dd-text);
  padding: 6px 10px; font-size: 10px; letter-spacing: 2px;
  font-weight: 700; cursor: pointer; font-family: 'Barlow', sans-serif;
  border-radius: 1px; transition: border-color var(--dd-ease), color var(--dd-ease);
}
.dd-nav__btn:hover { border-color: var(--dd-accent); color: var(--dd-accent); background: rgba(192,32,32,0.12); transform: translateY(-2px); }
.dd-nav__theme { font-size: 15px; padding: 5px 9px; line-height: 1; }

/* ── Mobile hamburger ─────────────────────────────────────────────────────── */
.dd-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.dd-hamburger span { display: block; height: 2px; background: var(--dd-text); }
.dd-hamburger span:nth-child(1), .dd-hamburger span:nth-child(3) { width: 24px; }
.dd-hamburger span:nth-child(2) { width: 16px; background: var(--dd-accent); }

/* ── Mobile drawer ────────────────────────────────────────────────────────── */
.dd-drawer {
  position: fixed; inset: 0; z-index: 998;
  display: none; flex-direction: column;
  background: var(--dd-bg);
  padding: 100px 36px 48px;
}
.dd-drawer--open { display: flex; }
.dd-drawer__link {
  /* Bebas Neue has no Cyrillic glyphs, so Bulgarian nav labels always fall back.
     Without an explicit fallback they landed on the browser default serif at 52px. */
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 7vw, 34px); letter-spacing: 3px;
  color: var(--dd-text); margin-bottom: 6px; display: block;
  transition: color var(--dd-ease); text-decoration: none;
}
.dd-drawer__link:hover, .dd-drawer__link--active { color: var(--dd-accent); }
.dd-drawer__cta {
  background: var(--dd-accent); color: #fff;
  padding: 18px 40px; font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 700;
  display: inline-block; text-align: center; max-width: 280px;
  border-radius: 1px; text-decoration: none;
}
.dd-drawer__controls { display: flex; gap: 10px; margin-bottom: 24px; }
.dd-drawer__btn { background: transparent; border: 1px solid rgba(237,232,232,0.15); color: var(--dd-text); padding: 12px 20px; font-size: 12px; letter-spacing: 2px; font-weight: 700; cursor: pointer; font-family: 'Barlow', sans-serif; border-radius: 1px; }
.dd-drawer__theme { font-size: 18px; padding: 12px 16px; line-height: 1; }
.dd-drawer__address { margin-top: auto; font-size: 11px; color: var(--dd-muted); letter-spacing: 2px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.dd-footer { background: var(--dd-bg-f); border-top: 1px solid rgba(192,32,32,0.12); padding: 72px var(--dd-gutter) 32px; }
.dd-footer__inner { max-width: var(--dd-max-w); margin: 0 auto; }
.dd-footer__row { display: flex; gap: 60px; margin-bottom: 56px; flex-wrap: wrap; }
.dd-footer__brand { flex: 2; min-width: 200px; }
.dd-footer__nav   { flex: 1; min-width: 140px; }
.dd-footer__info  { flex: 1.5; min-width: 200px; }
.dd-footer__logo  { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dd-footer__logo img { width: 40px; height: 40px; object-fit: contain; border-radius: 4px; }
.dd-footer__title { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--dd-text); font-weight: 600; margin-bottom: 16px; }
.dd-footer__links { display: flex; flex-direction: column; gap: 10px; }
.dd-footer__link  { font-size: 14px; color: var(--dd-muted); transition: color var(--dd-ease); }
.dd-footer__link:hover { color: var(--dd-accent); }
.dd-footer__link--active { color: var(--dd-accent); }
.dd-footer__bottom { border-top: 1px solid rgba(237,232,232,0.05); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.dd-footer__copy   { font-size: 12px; color: rgba(138,128,128,0.4); }
.dd-footer__tagline { font-size: 11px; color: rgba(138,128,128,0.25); letter-spacing: 3px; text-transform: uppercase; }

/* ── Page banner ──────────────────────────────────────────────────────────── */
.dd-page-banner {
  position: relative; padding: 160px var(--dd-gutter) 88px;
  background: var(--dd-bg); overflow: hidden;
  border-bottom: 1px solid rgba(192,32,32,0.1);
}
.dd-page-banner__accent { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, transparent, var(--dd-accent), transparent); }
.dd-page-banner__bg-text { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); font-family: 'Bebas Neue'; font-size: clamp(80px, 14vw, 220px); color: rgba(192,32,32,0.04); line-height: 1; pointer-events: none; user-select: none; white-space: nowrap; }
.dd-page-banner__inner { max-width: var(--dd-max-w); margin: 0 auto; position: relative; z-index: 1; }

/* ── Animations ───────────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse  { 0%, 100% { opacity: 0.3; transform: scaleY(0.4); } 50% { opacity: 1; transform: scaleY(1); } }

/* ── 404 / Error ──────────────────────────────────────────────────────────── */
@keyframes glitch1 {
  0%, 100% { clip-path: inset(0 0 95% 0);   transform: translate(-4px, 0); }
  20%      { clip-path: inset(30% 0 50% 0); transform: translate(4px, 0); }
  40%      { clip-path: inset(60% 0 20% 0); transform: translate(-2px, 0); }
  60%      { clip-path: inset(80% 0 5% 0);  transform: translate(3px, 0); }
  80%      { clip-path: inset(10% 0 70% 0); transform: translate(-3px, 0); }
}
@keyframes glitch2 {
  0%, 100% { clip-path: inset(50% 0 30% 0); transform: translate(4px, 0); opacity: 0.7; }
  25%      { clip-path: inset(10% 0 80% 0); transform: translate(-4px, 0); }
  50%      { clip-path: inset(70% 0 10% 0); transform: translate(2px, 0); }
  75%      { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 0); }
}
@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.dd-404 { min-height: calc(100vh - var(--dd-header-h)); display: flex; align-items: center; justify-content: center; padding: 80px var(--dd-gutter); position: relative; overflow: hidden; }
.dd-404__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.12; pointer-events: none; }
.dd-404__edge { position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(to bottom, transparent, var(--dd-accent), transparent); }
.dd-404__scan-mask { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.dd-404__scan { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(to right, transparent, rgba(192,32,32,0.15), transparent); animation: scanline 6s linear infinite; }
.dd-404__ghost-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; user-select: none; overflow: hidden; }
.dd-404__ghost { font-family: 'Bebas Neue'; font-size: clamp(200px, 40vw, 520px); letter-spacing: -8px; line-height: 1; white-space: nowrap; color: rgba(192,32,32,0.04); }
.dd-404__inner { position: relative; z-index: 2; text-align: center; max-width: 600px; }
.dd-404__glitch { position: relative; display: inline-block; margin-bottom: 24px; }
.dd-404__num { font-family: 'Bebas Neue'; font-size: clamp(100px, 20vw, 200px); line-height: 1; letter-spacing: 8px; color: var(--dd-accent); }
.dd-404__num--layer { position: absolute; inset: 0; }
.dd-404__num--a { color: #e04040; animation: glitch1 3s infinite 1s; }
.dd-404__num--b { color: #2080c0; animation: glitch2 3s infinite 1.2s; }
.dd-404__divider { justify-content: center; margin-bottom: 20px; }
.dd-404__title { font-size: clamp(28px, 5vw, 52px); letter-spacing: 4px; margin-bottom: 20px; }
.dd-404__message { margin-bottom: 48px; }
.dd-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.dd-404__links { padding-top: 40px; display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  .dd-404__scan, .dd-404__num--a, .dd-404__num--b { animation: none; }
}

/* ── Gallery filtering ────────────────────────────────────────────────────── */
/* Two states, because display:none can't be transitioned: --hiding fades the
   tile out, then --hidden pulls it out of the grid once the fade has finished. */
.dd-gallery-item { opacity: 1; transform: scale(1); transition: opacity 0.25s ease, transform 0.25s ease; }
.dd-gallery-item--hiding { opacity: 0; transform: scale(0.92); pointer-events: none; }
.dd-gallery-item--hidden { display: none; }

@media (prefers-reduced-motion: reduce) {
  .dd-gallery-item { transition: none; }
  .dd-gallery-item--hiding { transform: none; }
}

/* ── Gallery lightbox ─────────────────────────────────────────────────────── */
.dd-lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(6,4,4,0.96); align-items: center; justify-content: center; padding: 48px 24px; cursor: zoom-out; }
.dd-lightbox--open { display: flex; }
.dd-lightbox__close { position: absolute; top: 20px; right: 24px; background: rgba(192,32,32,0.2); border: 1px solid rgba(192,32,32,0.4); color: var(--dd-text); cursor: pointer; padding: 8px 12px; font-size: 18px; line-height: 1; }
.dd-lightbox__close:hover { background: rgba(192,32,32,0.5); }

/* ── Form ─────────────────────────────────────────────────────────────────── */
.dd-form__field { margin-bottom: 12px; }
.dd-form__label { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--dd-muted); margin-bottom: 8px; font-weight: 600; }
.dd-form__input, .dd-form__textarea, .dd-form__select {
  width: 100%; background: var(--dd-bg-c); border: 1px solid rgba(237,232,232,0.1);
  color: var(--dd-text); padding: 14px 16px; font-size: 15px; font-weight: 300;
  outline: none; transition: border-color var(--dd-ease); font-family: 'Barlow', sans-serif;
}
.dd-form__input:focus, .dd-form__textarea:focus, .dd-form__select:focus { border-color: var(--dd-accent); }
.dd-form__textarea { resize: vertical; min-height: 120px; }
.dd-form__select { appearance: none; color: var(--dd-muted); }
.dd-form__submit { width: 100%; background: var(--dd-accent); color: #fff; padding: 16px 40px; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; border: none; cursor: pointer; margin-top: 4px; transition: background var(--dd-ease); }
.dd-form__submit:hover { background: #e02828; }
.dd-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Map overlay ──────────────────────────────────────────────────────────── */
/* The design prototype was dark-only, so the scrim/hint/badge were authored as
   literal rgba(10,8,8,…) — i.e. --dd-bg's dark value baked in. Each one needs a
   body.dd-light counterpart, otherwise the whole map block stays dark-themed
   (and the hint pairs a fixed dark box with var(--dd-text), which flips to near
   black in light mode = unreadable). */
.dd-map-wrap { position: relative; height: 420px; overflow: hidden; }
.dd-map-overlay {
  display: none; position: absolute; inset: 0; z-index: 2;
  align-items: center; justify-content: center;
  background: rgba(10,8,8,0.45); cursor: default;
}
.dd-map-wrap:hover .dd-map-overlay { display: flex; }
.dd-map-wrap.map-active .dd-map-overlay { display: none; }
.dd-map-overlay__hint { background: rgba(10,8,8,0.85); border: 1px solid rgba(192,32,32,0.4); padding: 12px 20px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--dd-text); pointer-events: none; }
.dd-map-wrap iframe { width: 100%; height: 100%; border: none; filter: grayscale(0.7) invert(0.08) contrast(0.95); }

/* Badge — pinned top-right over the map */
.dd-map__badge {
  position: absolute; top: 20px; right: 20px; z-index: 2;
  padding: 12px 16px;
  background: rgba(10,8,8,0.9);
  border: 1px solid rgba(192,32,32,0.3);
  transition: border-color var(--dd-ease), background var(--dd-ease);
}
.dd-map__badge:hover { border-color: var(--dd-accent); background: var(--dd-bg-c); }
.dd-map__badge-title { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--dd-accent); font-weight: 600; margin-bottom: 4px; }
.dd-map__badge-address { font-size: 12px; color: var(--dd-muted); line-height: 1.5; }

body.dd-light .dd-map-overlay { background: rgba(245,242,242,0.55); }
body.dd-light .dd-map-overlay__hint { background: rgba(255,255,255,0.92); }
body.dd-light .dd-map__badge { background: rgba(255,255,255,0.92); }
/* invert() is a dark-map trick; it muddies the map in light mode. */
body.dd-light .dd-map-wrap iframe { filter: grayscale(0.55) contrast(0.98); }

/* ── Legal sidebar ────────────────────────────────────────────────────────── */
.dd-legal-nav__link { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 13px; font-weight: 500; border-radius: 1px; border-left: 2px solid transparent; transition: all var(--dd-ease); color: var(--dd-muted); text-decoration: none; }
.dd-legal-nav__link:hover, .dd-legal-nav__link--active { color: var(--dd-accent); background: var(--dd-bg-c); border-left-color: var(--dd-accent); }

/* ── Cookie preferences button ────────────────────────────────────────────── */
.dd-cookie-btn {
  position: fixed;
  bottom: 16px;
  left: 20px; /* matches the GTranslate switcher's left edge so the two stack flush */
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--dd-bg-c);
  color: var(--dd-muted);
  border: 1px solid rgba(192,32,32,0.25);
  padding: 9px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.dd-cookie-btn::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dd-accent);
  flex-shrink: 0;
}
.dd-cookie-btn:hover {
  border-color: var(--dd-accent);
  color: var(--dd-accent);
  background: var(--dd-bg-c);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(192,32,32,0.2);
}
body.dd-light .dd-cookie-btn {
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .dd-nav { display: none; }
  .dd-hamburger { display: flex; }
  .dd-2col { flex-direction: column; }
  .dd-3col { grid-template-columns: 1fr; }
  .dd-3col--count-1, .dd-3col--count-2 { max-width: none; }
  .dd-2g   { grid-template-columns: 1fr; }
  .dd-footer__row { flex-direction: column; gap: 40px; }
  .dd-form__grid  { grid-template-columns: 1fr; }
  .dd-section { padding: 60px var(--dd-gutter); }
  .dd-page-banner { padding: 120px var(--dd-gutter) 60px; }

  /* Hero stats: flex-wrap left them ragged with dangling dividers. Lock to two
     even columns so rows stay aligned however many stats are added. */
  .dd-hero__stat-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 0; margin-top: 48px; }
  .dd-hero__stat { padding: 0 20px; }
  .dd-hero__stat:nth-child(odd)  { padding-left: 0; }
  .dd-hero__stat:nth-child(even) { border-right: none; }
  .dd-hero__stat-value { font-size: 40px; }
  /* Decorative, and it collides with the stats once the hero content is tall. */
  .dd-hero__scroll { display: none; }
}

/* ── Achievement card (light-mode safe via class) ────────────────────────── */
.dd-achievement-card { background: linear-gradient(140deg, #170909, #231010); }
body.dd-light .dd-achievement-card { background: linear-gradient(140deg, #f0eded, #f8f5f5) !important; }
body.dd-light .dd-achievement-card * { color: #1a1010 !important; }

/* ── Schedule bar (light-mode safe via class) ─────────────────────────────── */
.dd-schedule-bar { background: #1a1212; }
body.dd-light .dd-schedule-bar { background: #ede9e9 !important; }
body.dd-light .dd-schedule-bar * { color: #1a1010 !important; }
body.dd-light .dd-schedule-bar strong[style*="color: #c02020"] { color: #c02020 !important; }

/* ── Legal sidebar mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .dd-legal-aside { position: static !important; background: none !important; border-bottom: 1px solid rgba(192,32,32,0.15); padding-bottom: 32px; margin-bottom: 40px; }
}

/* ── Trial card (light-mode safe via class) ───────────────────────────────── */
.dd-trial-card { background: linear-gradient(135deg, #170909, #231010); }
body.dd-light .dd-trial-card { background: linear-gradient(135deg, #f0eded, #f8f5f5) !important; }
body.dd-light .dd-trial-card * { color: #1a1010 !important; }
