:root {
  --bg-deep: #0b0c0e;
  --bg-charcoal: #16181c;
  --steel: #8a93a0;
  --steel-light: #c3c9d2;
  --white: #f5f6f8;
  --orange: #ff5a1f;
  --orange-glow: rgba(255, 90, 31, 0.45);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(255,90,31,0.12), transparent 60%),
              radial-gradient(900px 500px at -10% 40%, rgba(138,147,160,0.10), transparent 60%),
              var(--bg-deep);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---------- HEADER (slim, non-sticky) ---------- */
.site-header {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(11,12,14,0.7);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--white);
}
.brand:hover { text-decoration: none; }
.brand svg { flex-shrink: 0; }
.brand span em { color: var(--orange); font-style: normal; }

.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a {
  color: var(--steel-light);
  font-size: 0.88rem;
  font-weight: 500;
}
.main-nav a:hover { color: var(--orange); text-decoration: none; }

.header-cta {
  background: linear-gradient(135deg, var(--orange), #ff8a4d);
  color: #0b0c0e;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 0 18px var(--orange-glow);
}
.header-cta:hover { text-decoration: none; filter: brightness(1.1); }

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  margin: 4px 0;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11,12,14,0.96);
  backdrop-filter: blur(14px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--white); font-size: 1.3rem; font-weight: 600; }
.mobile-menu .close-menu {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ---------- LAYOUT ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.hero {
  padding: 70px 0 50px;
  text-align: left;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.12;
  max-width: 780px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  color: var(--steel-light);
  max-width: 620px;
  margin-top: 18px;
  font-size: 1.05rem;
}
.hero .hero-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ff8a4d);
  color: #0b0c0e;
  box-shadow: 0 0 24px var(--orange-glow);
}
.btn-ghost {
  background: var(--glass);
  color: var(--white);
  border: 1px solid var(--glass-border);
}
.btn:hover { text-decoration: none; filter: brightness(1.1); }

section.block { padding: 46px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 12px;
}
.section-head h2 { font-size: 1.5rem; }
.section-head h2::before { content: "▮ "; color: var(--orange); }
.section-head .kicker { color: var(--steel); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; }

/* ---------- MODULAR DATA-GRID GLASS CARDS ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.dg-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.dg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(140deg, var(--orange), transparent 40%, transparent 60%, var(--steel));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.dg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5), 0 0 30px var(--orange-glow);
}
.dg-card:hover::before { opacity: 0.9; }

.dg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.35);
}
.dg-stats div {
  padding: 10px 12px;
  border-right: 1px solid var(--glass-border);
}
.dg-stats div:last-child { border-right: none; }
.dg-stats .label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.dg-stats .value {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
}

.dg-card img { height: 180px; width: 100%; object-fit: cover; }

.dg-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dg-body h3 { font-size: 1.12rem; line-height: 1.3; }
.dg-body p { color: var(--steel-light); font-size: 0.9rem; flex: 1; }
.dg-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.dg-tags span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--glass-border);
  color: var(--steel-light);
  padding: 3px 10px;
  border-radius: 999px;
}
.dg-cta {
  align-self: flex-start;
  margin-top: 6px;
  background: transparent;
  border: 1px solid var(--orange);
  color: var(--orange);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.dg-cta:hover { background: var(--orange); color: #0b0c0e; text-decoration: none; }

/* ---------- CALENDAR TABLE ---------- */
.glass-panel {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  padding: 26px;
}
table.calendar { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.calendar th {
  text-align: left;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--steel);
  padding: 10px 12px;
  border-bottom: 1px solid var(--glass-border);
}
table.calendar td {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--steel-light);
}
table.calendar td:first-child { color: var(--orange); font-weight: 700; white-space: nowrap; }
table.calendar tr:hover td { background: rgba(255,90,31,0.06); }
.table-scroll { overflow-x: auto; }

/* ---------- ARTICLE PAGES ---------- */
.article-hero img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  margin: 34px 0 26px;
}
.article-content { max-width: 780px; margin: 0 auto; padding-bottom: 60px; }
.article-content h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.15; margin-top: 34px; }
.article-content .meta { color: var(--steel); font-size: 0.85rem; margin-top: 10px; }
.article-content h2 { margin: 32px 0 12px; font-size: 1.35rem; color: var(--orange); }
.article-content p { margin: 14px 0; color: var(--steel-light); }
.article-content ul, .article-content ol { margin: 14px 0 14px 22px; color: var(--steel-light); }
.article-content li { margin: 6px 0; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 0.9rem; }
.spec-table th, .spec-table td { padding: 10px 12px; border: 1px solid var(--glass-border); text-align: left; }
.spec-table th { background: rgba(0,0,0,0.4); color: var(--steel); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.1em; }
.spec-table td { color: var(--steel-light); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0; }
.pros-cons .glass-panel h3 { margin-bottom: 10px; font-size: 1rem; }
.pros-cons .pros h3 { color: #6fe08a; }
.pros-cons .cons h3 { color: #ff7a6b; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; margin: 40px 0 60px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 0.82rem; color: var(--steel-light); margin-bottom: 6px; font-weight: 600; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.92rem;
  font-family: inherit;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,90,31,0.2);
}
.map-frame {
  width: 100%;
  height: 260px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  margin-top: 20px;
}
.form-success { display: none; color: #6fe08a; font-weight: 700; margin-top: 12px; }

/* ---------- LEGAL ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 40px 20px 70px; }
.legal h1 { font-size: 2.1rem; margin-bottom: 8px; }
.legal .updated { color: var(--steel); font-size: 0.85rem; margin-bottom: 26px; }
.legal h2 { color: var(--orange); font-size: 1.25rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--steel-light); }
.legal ul { margin: 12px 0 12px 22px; }

/* ---------- FOOTER ---------- */
.site-footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.5);
  padding: 46px 0 26px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 30px;
}
.site-footer h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--steel); margin-bottom: 14px; }
.site-footer a { color: var(--steel-light); display: block; margin: 6px 0; font-size: 0.88rem; }
.site-footer a:hover { color: var(--orange); }
.site-footer p { color: var(--steel-light); font-size: 0.88rem; }
.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--steel);
  font-size: 0.78rem;
  text-align: center;
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(940px, calc(100% - 24px));
  background: rgba(22,24,28,0.92);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  padding: 18px 22px;
  display: none;
  align-items: center;
  gap: 18px;
  z-index: 300;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}
.cookie-banner.visible { display: flex; flex-wrap: wrap; }
.cookie-banner p { flex: 1 1 320px; font-size: 0.84rem; color: var(--steel-light); }
.cookie-banner .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.cookie-accept { background: var(--orange); border: none; color: #0b0c0e; }
.cookie-reject { background: transparent; border: 1px solid var(--glass-border); color: var(--white); }
.cookie-prefs { background: transparent; border: none; color: var(--steel); text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: block; }
  .site-header { height: 52px; padding: 0 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pros-cons { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 46px 0 34px; }
  .article-hero img { height: 220px; }
}