/* =========================================================
   SCHLÜSSELDIENST HOFGEISMAR — page-specific styles
   Design concept: "Sicherheits-Akte" (security case file)
   A locksmith-only identity built around dossier motifs —
   case cards, ticket-style service cards, a printed
   "Festpreis-Beleg" (fixed-price receipt), key-tag chips
   for districts, and log-style FAQ entries.

   Loaded AFTER /css/global.css. This page does NOT load
   /maps/assets/style.css — it is fully self-contained and
   does not redefine :root tokens. All colors below reuse
   the existing global.css custom properties only.

   Scoping: all page-specific rules are scoped to .hg-page,
   which wraps <main> only — header.php / footer.php includes
   are siblings of <main> and are never touched by this file.
   ========================================================= */

/* ---------- Local type stack (page-specific pairing) ----------
   Display: 'Space Grotesk' — structured, technical, distinct
   Mono:    'JetBrains Mono' — case codes, prices, data
   Body text keeps the site default (Roboto via global.css). */

.hg-page h1,
.hg-page h2,
.hg-page h3,
.hg-page .hg-display {
 font-family: Roboto, sans-serif;
  letter-spacing: -0.01em;
}
.hg-mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.hg-page { background: var(--c-bg); overflow: hidden; }
.hg-page * { box-sizing: border-box; }
.hg-page section { position: relative; }
.hg-section { padding: 5.5rem 0; }
.hg-section-alt { background: var(--c-bg-alt); }
.hg-wrap {
  max-width: var(--container, 1200px);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ---------- Section head ---------- */
.hg-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.hg-head.left { margin: 0 0 2.6rem; text-align: left; }
.hg-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-hover);
  background: var(--primary-l);
  border: 1px solid rgba(239,73,51,.25);
  border-radius: var(--radius-pill);
  padding: .32rem .85rem;
  margin-bottom: 1rem;
}
.hg-kicker i { font-size: .85rem; }
.hg-head h2 { font-size: 2rem; line-height: 1.2; margin: 0 0 .8rem; color: var(--c-text); }
.hg-head p { color: var(--c-text-soft); font-size: 1.02rem; line-height: 1.65; margin: 0; }

/* =========================================================
   BUTTONS (self-contained — page does not assume Bootstrap)
   ========================================================= */
.hg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: 'Space Grotesk', var(--font-display), sans-serif;
  font-weight: 700; font-size: .95rem;
  padding: .95rem 1.6rem;
  border-radius: 10px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.hg-btn i { font-size: 1.05em; }
.hg-btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-glow);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.hg-btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); color: #fff; }
.hg-btn-outline {
  background: transparent; color: var(--c-text); border-color: var(--c-border);
}
.hg-btn-outline:hover { border-color: var(--primary); color: var(--primary-hover); transform: translateY(-2px); }
.hg-btn-dark { background: var(--c-dark); color: #fff; }
.hg-btn-dark:hover { background: var(--c-dark-2); transform: translateY(-2px); color: #fff; }
.hg-btn-light { background: #fff; color: var(--c-text); }
.hg-btn-light:hover { transform: translateY(-2px); }
.hg-btn-block { width: 100%; }
.hg-btn-lg { padding: 1.1rem 2rem; font-size: 1.02rem; }

/* =========================================================
   HERO — split layout: statement + rotated "case card"
   ========================================================= */
.hg-hero {
  padding: 3.2rem 0 3.6rem;
  background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
}
.hg-hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(26,42,54,.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(26,42,54,.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(60% 70% at 78% 30%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(60% 70% at 78% 30%, #000 15%, transparent 72%);
  pointer-events: none;
}
.hg-hero-keyhole {
  position: absolute; top: -60px; right: -40px;
  width: 480px; height: 480px;
  color: rgba(239,73,51,.06);
  pointer-events: none;
  z-index: 0;
}
.hg-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hg-status {
  display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  padding: .45rem .95rem .45rem .7rem;
  font-size: .82rem; font-weight: 700;
  color: var(--c-text);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.4rem;
}
.hg-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 0 0 rgba(16,185,129,.55);
  animation: hgPulse 2s ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes hgPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  50% { box-shadow: 0 0 0 7px rgba(16,185,129,0); }
}
.hg-hero h1 {
  font-size: 2.9rem !important;
  line-height: 1.14;
  margin: 0 0 1.1rem;
  color: var(--c-text);
}
.hg-hero h1 span { color: var(--primary); }
.hg-hero-lead {
  font-size: 1.12rem; line-height: 1.65;
  color: var(--c-text-soft);
  max-width: 52ch;
  margin: 0 0 1.8rem;
}
.hg-hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.9rem; }
.hg-hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding: 0; margin: 0; list-style: none; }
.hg-hero-facts li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600; color: var(--c-text);
}
.hg-hero-facts i { color: var(--primary); font-size: 1.05rem; }

/* ---- Case card ---- */
.hg-case-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 0;
  max-width: 360px;
  margin-left: auto;
  transform: rotate(2.2deg);
  transition: transform .3s ease;
}
.hg-case-card:hover { transform: rotate(0deg) translateY(-4px); }
.hg-case-top {
  background: var(--c-dark);
  color: #fff;
  border-radius: 18px 18px 0 0;
  padding: 1.05rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between;
}
.hg-case-top .hg-mono { font-size: .78rem; letter-spacing: .06em; color: #cbd5e1; }
.hg-case-status {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: #86efac;
}
.hg-case-body { padding: 1.4rem 1.3rem 1.1rem; border-bottom: 1px dashed var(--c-border); }
.hg-case-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px dotted var(--c-border);
  font-size: .88rem;
}
.hg-case-row:last-child { border-bottom: none; }
.hg-case-row span:first-child { color: var(--c-muted); font-weight: 600; }
.hg-case-row span:last-child { color: var(--c-text); font-weight: 700; text-align: right; }
.hg-case-foot {
  padding: 1.1rem 1.3rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
}
.hg-case-stars { color: #facc15; font-size: .8rem; display: flex; gap: 1px; }
.hg-case-foot small { display: block; color: var(--c-muted); font-size: .74rem; margin-top: .2rem; }
.hg-case-call {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; flex: 0 0 auto;
  box-shadow: var(--shadow-glow);
  transition: transform .2s ease;
}
.hg-case-call:hover { transform: scale(1.08); }

/* =========================================================
   STATUS TICKER
   ========================================================= */
.hg-ticker { background: var(--c-dark); overflow: hidden; padding: .65rem 0; }
.hg-ticker-track {
  display: inline-flex; gap: 2.4rem; white-space: nowrap;
  animation: hgTickerScroll 32s linear infinite;
  will-change: transform;
}
.hg-ticker-track span {
  font-family: 'JetBrains Mono', monospace;
  font-size: .76rem; letter-spacing: .05em;
  color: #cbd5e1; display: inline-flex; align-items: center; gap: 2.4rem;
}
.hg-ticker-track span b { color: var(--primary); font-weight: 700; margin-right: 2.4rem; }
@keyframes hgTickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   BREADCRUMB + CASE COVER SHEET (intro)
   ========================================================= */
.hg-breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .84rem; color: var(--c-text-soft);
  margin-bottom: 1.6rem;
}
.hg-breadcrumb a { color: var(--c-text-soft); }
.hg-breadcrumb a:hover { color: var(--primary); }
.hg-breadcrumb i { font-size: .7rem; color: var(--c-muted); }
.hg-breadcrumb span { color: var(--c-text); font-weight: 700; }

.hg-cover {
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--primary);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  padding: 2.2rem 2.2rem 2rem;
}
.hg-cover-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  padding-bottom: 1.6rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px dashed var(--c-border);
}
.hg-cover-fields div span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: .3rem;
}
.hg-cover-fields div strong { font-size: .95rem; color: var(--c-text); }
.hg-cover p { color: var(--c-text-soft); font-size: 1.02rem; line-height: 1.75; margin: 0 0 1.2rem; }
.hg-cover p:last-child { margin-bottom: 0; }
.hg-cover strong.hl { color: var(--c-text); }

/* =========================================================
   SERVICES — ticket-style cards
   ========================================================= */
.hg-tickets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.hg-ticket {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 14px 14px 4px 4px;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  padding: 1.5rem 1.4rem 1.4rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hg-ticket:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(239,73,51,.35); }
.hg-ticket-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.hg-ticket-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  color: var(--primary-hover);
  background: var(--primary-l);
  border-radius: 5px;
  padding: .2rem .5rem;
}
.hg-ticket-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--c-bg-alt);
  color: var(--primary-hover);
  display: grid; place-items: center;
  font-size: 1.25rem;
}
.hg-ticket h3 { font-size: 1.05rem; margin: 0 0 .5rem; color: var(--c-text); }
.hg-ticket-divider {
  border: none; border-top: 1px dashed var(--c-border);
  margin: .9rem 0;
}
.hg-ticket p { margin: 0; font-size: .89rem; line-height: 1.6; color: var(--c-text-soft); }
.hg-ticket-price {
  display: inline-block; margin-top: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; font-size: .92rem;
  color: var(--c-text);
}
.hg-ticket-price b { color: var(--primary-hover); }
.hg-ticket.is-highlight {
  background: var(--c-dark);
  border-color: var(--c-dark);
}
.hg-ticket.is-highlight h3,
.hg-ticket.is-highlight .hg-ticket-price { color: #fff; }
.hg-ticket.is-highlight .hg-ticket-price b { color: #fca5a5; }
.hg-ticket.is-highlight p { color: #94a3b8; }
.hg-ticket.is-highlight .hg-ticket-icon { background: rgba(255,255,255,.08); color: #fca5a5; }
.hg-ticket.is-highlight .hg-ticket-divider { border-color: rgba(255,255,255,.15); }
.hg-ticket.is-highlight .hg-ticket-code { background: rgba(239,73,51,.2); color: #fca5a5; }

/* =========================================================
   PRICING — printed "Festpreis-Beleg" receipt (signature)
   ========================================================= */
.hg-receipt-wrap { display: flex; justify-content: center; }
.hg-receipt {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: 2.4rem 2.1rem .5rem;
  border-radius: 3px;
}
.hg-receipt::before,
.hg-receipt::after {
  content: "";
  position: absolute; left: 0; right: 0; height: 14px;
  background-image: radial-gradient(circle 8px at 8px 8px, var(--c-bg-alt) 8px, transparent 8.5px);
  background-size: 20px 16px;
  background-repeat: repeat-x;
}
.hg-receipt::before { top: -1px; background-position: top left; }
.hg-receipt::after { bottom: -1px; transform: rotate(180deg); }

.hg-receipt-head { text-align: center; margin-bottom: 1.4rem; }
.hg-receipt-head .hg-mono {
  display: block; font-size: .72rem; letter-spacing: .1em; color: var(--c-muted); margin-bottom: .5rem;
}
.hg-receipt-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem; margin: 0 0 .3rem; color: var(--c-text);
}
.hg-receipt-head p { margin: 0; font-size: .85rem; color: var(--c-text-soft); }
.hg-receipt-rule { border: none; border-top: 1px dashed var(--c-border); margin: 1.2rem 0; }

.hg-receipt-row {
  display: flex; align-items: baseline; gap: .5rem;
  font-size: .93rem; color: var(--c-text);
  padding: .5rem 0;
}
.hg-receipt-row .lbl { white-space: nowrap; }
.hg-receipt-row .fill {
  flex: 1; border-bottom: 1px dotted var(--c-border);
  transform: translateY(-4px);
}
.hg-receipt-row .val {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700; white-space: nowrap; color: var(--c-text);
}
.hg-receipt-row.muted .val { color: var(--c-muted); font-weight: 500; }

.hg-receipt-total {
  display: flex; justify-content: space-between; align-items: center;
  margin: 1.3rem 0 .4rem;
  padding-top: 1rem;
  border-top: 2px solid var(--c-text);
}
.hg-receipt-total span:first-child {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem;
}
.hg-receipt-total span:last-child {
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.5rem; color: var(--primary-hover);
}
.hg-receipt-note {
  font-size: .78rem; color: var(--c-muted); line-height: 1.55; margin: .6rem 0 1.3rem;
}
.hg-receipt-barcode {
  height: 34px; margin: 0 0 .3rem;
  background-image: repeating-linear-gradient(
    90deg,
    var(--c-text) 0px, var(--c-text) 2px,
    transparent 2px, transparent 5px,
    var(--c-text) 5px, var(--c-text) 6px,
    transparent 6px, transparent 9px,
    var(--c-text) 9px, var(--c-text) 12px,
    transparent 12px, transparent 14px
  );
  opacity: .82;
}
.hg-receipt-thanks {
  text-align: center; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-muted); padding-bottom: 1.6rem; font-family: 'JetBrains Mono', monospace;
}
.hg-receipt-cta { text-align: center; margin-top: 1.8rem; }

/* =========================================================
   PROCESS — keychain steps
   ========================================================= */
.hg-process {
  display: flex; justify-content: space-between; gap: 1rem;
  position: relative;
}
.hg-process::before {
  content: "";
  position: absolute; top: 36px; left: 40px; right: 40px; height: 0;
  border-top: 2px dashed var(--c-border);
  z-index: 0;
}
.hg-process-step {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .8rem;
}
.hg-process-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--primary-hover);
  font-size: 1.15rem;
  box-shadow: var(--shadow-sm);
}
.hg-process-step h3 { font-size: 1rem; margin: 0; color: var(--c-text); font-family: 'Space Grotesk', sans-serif; }
.hg-process-step p { margin: 0; font-size: .85rem; color: var(--c-text-soft); line-height: 1.55; max-width: 22ch; }

/* =========================================================
   CONSOLE — dark "why us" readout panel
   ========================================================= */
.hg-console {
  background: linear-gradient(160deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  color: #cbd5e1;
}
.hg-console .hg-head h2 { color: #fff; }
.hg-console .hg-head p { color: #94a3b8; }
.hg-console .hg-kicker { background: rgba(239,73,51,.14); border-color: rgba(239,73,51,.3); color: #fca5a5; }

.hg-console-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.hg-console-tile {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  padding: 1.6rem 1rem;
  text-align: center;
}
.hg-console-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.1rem; font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 22px rgba(239,73,51,.45);
  line-height: 1;
  margin-bottom: .5rem;
}
.hg-console-tile span { font-size: .78rem; color: #94a3b8; }

.hg-console-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  list-style: none; padding: 0; margin: 0;
}
.hg-console-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: 1rem;
  background: rgba(255,255,255,.03);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
}
.hg-console-list i { color: var(--primary); font-size: 1.1rem; margin-top: .1rem; flex: 0 0 auto; }
.hg-console-list strong { display: block; color: #fff; font-size: .92rem; margin-bottom: .2rem; }
.hg-console-list span { font-size: .82rem; color: #94a3b8; line-height: 1.5; }

/* =========================================================
   AREAS — key-tag chips for Hofgeismar's Ortsteile
   ========================================================= */
.hg-keytags {
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin-bottom: 1.6rem;
}
.hg-keytag {
  position: relative;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.05rem .6rem 2.2rem;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: .87rem; color: var(--c-text);
  box-shadow: var(--shadow-sm);
}
.hg-keytag::before {
  content: "";
  position: absolute; left: .8rem; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--c-bg-alt);
  border: 2px solid var(--c-muted);
}
.hg-keytag.is-core {
  background: var(--primary); color: #fff; border-color: transparent;
  box-shadow: var(--shadow-glow);
}
.hg-keytag.is-core::before { border-color: #fff; background: var(--primary-hover); }

.hg-areas-note {
  display: flex; align-items: flex-start; gap: .7rem;
  background: var(--primary-l);
  border: 1px solid rgba(239,73,51,.2);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: .88rem; color: var(--primary-hover); font-weight: 600;
}
.hg-areas-note i { font-size: 1.1rem; margin-top: .1rem; }

/* =========================================================
   MAP — bracket / reticle frame
   ========================================================= */
.hg-map-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 0; margin-top: 2.2rem; }
.hg-map-frame {
  position: relative;
  border-radius: 16px 0 0 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hg-corner {
  position: absolute; width: 30px; height: 30px;
  border-color: var(--primary); border-style: solid; border-width: 0;
  z-index: 5; pointer-events: none;
}
.hg-corner.tl { top: 10px; left: 10px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 8px; }
.hg-corner.tr { top: 10px; right: 10px; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 8px; }
.hg-corner.bl { bottom: 10px; left: 10px; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 8px; }
.hg-corner.br { bottom: 10px; right: 10px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 8px; }
.hg-leaflet-map { width: 100%; height: 440px; background: var(--c-bg-alt); }

.hg-map-card {
  background: var(--c-dark);
  color: #fff;
  border-radius: 0 16px 16px 0;
  padding: 1.8rem 1.6rem;
  display: flex; flex-direction: column; justify-content: center;
  gap: .35rem;
}
.hg-map-card i.bi-broadcast-pin { color: var(--primary); font-size: 1.6rem; margin-bottom: .6rem; }
.hg-map-card strong { font-size: 1.05rem; font-family: 'Space Grotesk', sans-serif; }
.hg-map-card p { margin: .2rem 0 1.1rem; color: #94a3b8; font-size: .88rem; line-height: 1.6; }
.hg-map-note {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-top: 1.2rem; padding: .9rem 1.1rem;
  background: var(--c-bg-alt); border: 1px solid var(--c-border);
  border-radius: 10px; font-size: .85rem; color: var(--c-text-soft);
}
.hg-map-note i { color: var(--primary-hover); margin-top: .1rem; }

/* =========================================================
   FAQ — case log entries
   ========================================================= */
.hg-log { position: relative; padding-left: 2.4rem; max-width: 800px; margin: 0 auto; }
.hg-log::before {
  content: ""; position: absolute; left: .62rem; top: .4rem; bottom: .4rem; width: 2px;
  background: var(--c-border);
}
.hg-log-item {
  position: relative;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 0;
}
.hg-log-item::before {
  content: ""; position: absolute; left: -1.98rem; top: 1.35rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary);
  z-index: 1;
}
.hg-log-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: .9rem;
  padding: 1.1rem 1.3rem;
}
.hg-log-item summary::-webkit-details-marker { display: none; }
.hg-log-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; font-weight: 700; color: var(--primary-hover);
  background: var(--primary-l); border-radius: 5px; padding: .18rem .5rem;
  flex: 0 0 auto;
}
.hg-log-item summary span.q { flex: 1; font-weight: 700; font-size: .96rem; color: var(--c-text); }
.hg-log-item summary i { color: var(--c-muted); transition: transform .2s ease; flex: 0 0 auto; }
.hg-log-item[open] summary i { transform: rotate(45deg); color: var(--primary); }
.hg-log-item p {
  margin: 0; padding: 0 1.3rem 1.2rem 3.15rem;
  color: var(--c-text-soft); font-size: .92rem; line-height: 1.65;
}

/* =========================================================
   CTA STAMP BAND
   ========================================================= */
.hg-cta-band {
  background: var(--primary);
  padding: 3.6rem 0;
}
.hg-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2.5rem;
  flex-wrap: wrap;
}
.hg-cta-text h2 { color: #fff; font-size: 1.7rem; margin: 0 0 .5rem; }
.hg-cta-text p { color: rgba(255,255,255,.9); margin: 0; font-size: 1rem; }
.hg-cta-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hg-stamp {
  width: 108px; height: 108px; border-radius: 50%;
  border: 3px double #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(-11deg);
  color: #fff; text-align: center; flex: 0 0 auto;
}
.hg-stamp i { font-size: 1.4rem; margin-bottom: .25rem; }
.hg-stamp span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3;
}

/* =========================================================
   CONTACT
   ========================================================= */
.hg-contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-bottom: 2rem;
}
.hg-contact-row {
  display: flex; align-items: flex-start; gap: .9rem;
  background: #fff; border: 1px solid var(--c-border); border-radius: 12px;
  padding: 1.1rem 1.2rem;
}
.hg-contact-row i {
  width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto;
  background: var(--primary-l); color: var(--primary-hover);
  display: grid; place-items: center; font-size: 1.1rem;
}
.hg-contact-row strong { display: block; font-size: .88rem; color: var(--c-text); margin-bottom: .2rem; }
.hg-contact-row a, .hg-contact-row span.txt { color: var(--c-text-soft); font-size: .88rem; line-height: 1.5; }
.hg-contact-row a:hover { color: var(--primary); }
.hg-contact-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.hg-payments {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  color: var(--c-text-soft); font-size: .88rem;
}
.hg-payments i { font-size: 1.2rem; color: var(--c-muted); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hg-hero-grid { grid-template-columns: 1fr; }
  .hg-case-card { margin: 2.4rem auto 0; transform: rotate(0deg); }
  .hg-tickets { grid-template-columns: repeat(2, 1fr); }
  .hg-cover-fields { grid-template-columns: repeat(2, 1fr); }
  .hg-console-grid { grid-template-columns: repeat(2, 1fr); }
  .hg-console-list { grid-template-columns: 1fr; }
  .hg-map-wrap { grid-template-columns: 1fr; }
  .hg-map-frame { border-radius: 16px 16px 0 0; }
  .hg-map-card { border-radius: 0 0 16px 16px; }
  .hg-contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hg-section { padding: 3.6rem 0; }
  .hg-hero h1 { font-size: 2.15rem !important; }
  .hg-hero-lead { font-size: 1rem; }
  .hg-tickets { grid-template-columns: 1fr; }
  .hg-process { flex-direction: column; gap: 1.6rem; align-items: stretch; }
  .hg-process::before { display: none; }
  .hg-process-step { flex-direction: row; text-align: left; }
  .hg-process-num { flex: 0 0 auto; width: 56px; height: 56px; font-size: 1rem; }
  .hg-process-step p { max-width: none; }
  .hg-contact-grid { grid-template-columns: 1fr; }
  .hg-cover-fields { grid-template-columns: 1fr 1fr; }
  .hg-cta-inner { flex-direction: column; text-align: center; }
  .hg-cta-actions { justify-content: center; }
}

@media (max-width: 560px) {
  .hg-head h2 { font-size: 1.55rem; }
  .hg-console-grid { grid-template-columns: 1fr 1fr; }
  .hg-console-num { font-size: 1.7rem; }
  .hg-cover-fields { grid-template-columns: 1fr; }
  .hg-receipt { padding: 2rem 1.3rem .5rem; }
  .hg-receipt-total span:last-child { font-size: 1.25rem; }
  .hg-keytags { gap: .5rem; }
}
