/* ============================================================
   Sokak ve Rota Kadraji — kadrajyolu.com.tr
   Gece Sehri + Islak Asfalt + Neon Yansima
   Complete design system
   ============================================================ */

/* ==================== VARIABLES ==================== */
:root {
  --bg-body: #0b0d13;
  --bg-surface: #11141c;
  --bg-card: #171b27;
  --bg-card-hover: #1d2233;
  --bg-elevated: #1f2436;
  --border: #252a3a;
  --border-hover: #3a4060;

  --neon-blue: #4a90d9;
  --neon-cyan: #5ec4c8;
  --neon-amber: #d4a24e;
  --neon-rose: #c76b8a;
  --neon-green: #6abf8a;

  --text-primary: #e4e6ed;
  --text-secondary: #9ca0b4;
  --text-muted: #636880;
  --text-link: #6db3e8;
  --text-link-hover: #a0d1f7;

  --font: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --max-w: 1120px;
  --radius: 8px;
  --radius-lg: 12px;
  --tr: .2s ease;
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==================== RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--text-link); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--text-link-hover); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; color: var(--text-primary); }

/* ==================== FOCUS ==================== */
:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 3px; }

/* ==================== SKIP LINK ==================== */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--neon-blue); color: #fff;
  padding: .5rem 1rem; border-radius: 0 0 var(--radius) var(--radius);
  z-index: 9999; font-weight: 600; font-size: .875rem;
}
.skip-link:focus { top: 0; }

/* ==================== LAYOUT ==================== */
.container, .section-inner {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 1.25rem;
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,13,19,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto;
  padding: .75rem 1.25rem;
}
.site-logo {
  font-size: 1.2rem; font-weight: 800; color: var(--text-primary);
  letter-spacing: .02em; text-decoration: none;
}
.site-logo span { color: var(--neon-cyan); }

/* --- Navigation --- */
.main-nav { display: flex; align-items: center; }
.main-nav > ul { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.main-nav a, .main-nav button.nav-toggle {
  display: inline-flex; align-items: center; gap: .3em;
  padding: .45rem .75rem; font-size: .85rem; font-weight: 500;
  color: var(--text-secondary); border-radius: var(--radius);
  cursor: pointer; white-space: nowrap; transition: all var(--tr);
}
.main-nav a:hover, .main-nav button.nav-toggle:hover,
.main-nav a[aria-current="page"] {
  color: var(--text-primary); background: rgba(255,255,255,.06);
}
.main-nav a[aria-current="page"] { color: var(--neon-cyan); }
.main-nav button.nav-toggle.active-section {
  color: var(--neon-cyan); background: rgba(94,196,200,.08);
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: .5rem 0; min-width: 220px;
  box-shadow: 0 16px 48px rgba(0,0,0,.5); z-index: 110;
}
/* Desktop: open submenu on hover */
@media (min-width: 961px) {
  .nav-dropdown:hover > .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover > .nav-toggle { color: var(--text-primary); background: rgba(255,255,255,.06); }
  .nav-dropdown:hover > .nav-toggle .arrow { transform: rotate(180deg); }
}
.nav-dropdown-menu a {
  display: block; padding: .5rem 1.25rem;
  font-size: .85rem; color: var(--text-secondary); border-radius: 0;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,.05); color: var(--text-primary); }
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-toggle .arrow {
  display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; transition: transform var(--tr);
}
.nav-dropdown.open .nav-toggle .arrow { transform: rotate(180deg); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: .5rem; cursor: pointer; border-radius: var(--radius);
}
.hamburger:hover { background: rgba(255,255,255,.06); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-secondary); border-radius: 2px; transition: all var(--tr);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-surface); border-bottom: 1px solid var(--border);
    padding: 1rem; flex-direction: column; max-height: 80vh; overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > ul { flex-direction: column; width: 100%; gap: .1rem; }
  .main-nav a, .main-nav button.nav-toggle {
    width: 100%; justify-content: flex-start; padding: .65rem 1rem;
  }
  .nav-dropdown-menu {
    position: static; box-shadow: none; border: none;
    padding-left: 1rem; background: transparent;
  }
}

/* ==================== HERO (index) ==================== */
.hero-section {
  padding: 4rem 0 3rem;
  background: linear-gradient(170deg, rgba(74,144,217,.06) 0%, rgba(94,196,200,.04) 40%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem;
}
.hero-text { max-width: 720px; }
.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--neon-cyan) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-secondary); margin-bottom: .75rem;
}
.hero-desc { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.75rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; padding: .7rem 1.5rem;
  font-size: .9rem; font-weight: 600; border-radius: var(--radius);
  transition: all var(--tr); cursor: pointer; text-decoration: none;
}
.btn-primary {
  background: var(--neon-blue); color: #fff; border: 1px solid var(--neon-blue);
}
.btn-primary:hover { background: #3a7fc8; color: #fff; transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-secondary:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }

/* ==================== SECTION GENERIC ==================== */
.intro-section, .featured-section, .coverage-section,
.glossary-section, .next-reads-section, .closing-section,
.section { padding: 3.5rem 0; }

.intro-section { border-bottom: 1px solid var(--border); }
.intro-section h2, .featured-section h2, .coverage-section h2,
.glossary-section h2, .next-reads-section h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem); margin-bottom: .75rem;
  color: var(--neon-cyan);
}
.intro-section p { color: var(--text-secondary); font-size: .95rem; margin-bottom: 1rem; }

.section-lead {
  color: var(--text-muted); font-size: .95rem;
  margin-bottom: 2rem; max-width: 680px;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.75rem); margin-bottom: 1rem;
  padding-bottom: .4rem; border-bottom: 2px solid var(--neon-blue);
  display: inline-block; color: var(--neon-cyan);
}
.section-intro {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 720px; margin-bottom: 2rem;
}

/* ==================== FEATURED CARDS (index) ==================== */
.featured-section { background: var(--bg-surface); border-bottom: 1px solid var(--border); }
.featured-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}
.featured-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  position: relative; overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  border-color: var(--border-hover);
}
.card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.featured-card h3 { font-size: 1.1rem; margin-bottom: .6rem; line-height: 1.4; }
.featured-card h3 a { color: var(--text-primary); }
.featured-card h3 a:hover { color: var(--neon-cyan); }
.featured-card p { color: var(--text-secondary); font-size: .875rem; line-height: 1.65; margin-bottom: .75rem; }
.card-tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  color: var(--neon-amber); background: rgba(212,162,78,.1);
  padding: .2rem .6rem; border-radius: 4px; letter-spacing: .03em;
  text-transform: uppercase;
}

/* ==================== COVERAGE (index) ==================== */
.coverage-section { border-bottom: 1px solid var(--border); }
.coverage-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.coverage-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: border-color var(--tr);
}
.coverage-block:hover { border-color: var(--border-hover); }
.coverage-block h3 {
  font-size: 1.1rem; margin-bottom: .6rem; color: var(--neon-amber);
}
.coverage-block p { color: var(--text-secondary); font-size: .9rem; }

/* ==================== MINI GLOSSARY (index) ==================== */
.glossary-section { border-bottom: 1px solid var(--border); }
.glossary-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.glossary-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  transition: border-color var(--tr);
}
.glossary-item:hover { border-color: var(--border-hover); }
.glossary-item h4 { font-size: .95rem; margin-bottom: .4rem; }
.glossary-item h4 a { color: var(--neon-cyan); }
.glossary-item p { color: var(--text-secondary); font-size: .825rem; line-height: 1.6; }
.glossary-more { color: var(--text-muted); font-size: .9rem; margin-top: 1.5rem; }

/* ==================== NEXT READS (index) ==================== */
.next-reads-section { border-bottom: 1px solid var(--border); }
.next-reads-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.next-read-link {
  display: block; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  transition: all var(--tr); text-decoration: none;
}
.next-read-link:hover { border-color: var(--neon-blue); background: var(--bg-card-hover); transform: translateY(-2px); }
.next-read-title { display: block; font-weight: 600; font-size: 1rem; color: var(--text-primary); margin-bottom: .35rem; }
.next-read-link:hover .next-read-title { color: var(--neon-cyan); }
.next-read-desc { display: block; font-size: .825rem; color: var(--text-muted); line-height: 1.55; }

/* ==================== CLOSING (index) ==================== */
.closing-section { padding: 2.5rem 0; }
.closing-text {
  font-size: 1.05rem; color: var(--text-secondary); font-style: italic;
  max-width: 720px; border-left: 3px solid var(--neon-amber);
  padding-left: 1.25rem;
}

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
  padding: 1rem 0 .5rem; font-size: .85rem; color: var(--text-muted);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb span, .breadcrumb li { display: inline; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.breadcrumb ol li + li::before { content: '/'; margin-right: .4rem; color: var(--text-muted); }
.breadcrumb > span { margin: 0 .35rem; }

/* ==================== PAGE HEADER ==================== */
.page-header {
  padding: 2rem 0 1.5rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .5rem; }
.page-header .lead, .page-header p.lead {
  font-size: 1.05rem; color: var(--text-secondary); max-width: 640px;
}

/* ==================== ARTICLE (agent pages) ==================== */
/* article-main wraps agent-created article pages */
.article-main { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
/* bare article-body inside main (no container) */
main > .article-body,
main > article.article-body {
  max-width: 780px; margin: 0 auto; padding: 0 1.25rem;
}
.article-header { margin-bottom: 1.5rem; }
.article-header h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .5rem; }
.article-meta { font-size: .825rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.article-category {
  display: inline-block; font-size: .75rem; font-weight: 600;
  color: var(--neon-amber); background: rgba(212,162,78,.1);
  padding: .15rem .5rem; border-radius: 4px; text-transform: uppercase;
  letter-spacing: .03em; margin-bottom: .5rem;
}
.article-visual { margin-bottom: 2rem; }
.page-content {
  max-width: 780px; margin: 0 auto; padding: 2.5rem 1.25rem;
}
.page-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .5rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.page-content > p:first-of-type {
  font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 1.5rem;
}
.page-content p { color: var(--text-secondary); margin-bottom: 1rem; font-size: .95rem; }
.page-content h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  margin: 2.5rem 0 .75rem; color: var(--neon-cyan);
}
.page-content h3 { font-size: 1.1rem; margin: 1.75rem 0 .5rem; }
.page-content ul, .page-content ol {
  margin: .75rem 0 1.25rem 1.5rem; color: var(--text-secondary);
}
.page-content li { margin-bottom: .4rem; padding-left: .35rem; font-size: .95rem; }
.page-content ul li::before { content: '\2014\00a0'; color: var(--neon-blue); }
.page-content blockquote {
  border-left: 3px solid var(--neon-amber);
  padding: 1rem 1.25rem; margin: 1.5rem 0;
  background: rgba(212,162,78,.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary); font-style: italic;
}

/* ==================== ARTICLE BODY ==================== */
.article-body { max-width: 780px; margin: 0 auto; }
.article-body h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  margin: 2.5rem 0 .75rem; color: var(--neon-cyan);
}
.article-body h3 { font-size: 1.15rem; margin: 1.75rem 0 .5rem; }
.article-body p { margin-bottom: 1rem; color: var(--text-secondary); font-size: .95rem; }
.article-body p strong { color: var(--text-primary); }
.article-body section { margin-bottom: 1rem; }
.article-body section h2 { margin-top: 2rem; }
.article-body ul, .article-body ol {
  margin: .75rem 0 1.25rem 1.5rem; color: var(--text-secondary);
}
.article-body li { margin-bottom: .4rem; padding-left: .35rem; }
.article-body ul li::before { content: '\2014\00a0'; color: var(--neon-blue); }
.article-body ol { list-style: decimal; }
.article-body blockquote {
  border-left: 3px solid var(--neon-amber);
  padding: 1rem 1.25rem; margin: 1.5rem 0;
  background: rgba(212,162,78,.04);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary); font-style: italic;
}

/* ==================== ARTICLE IMAGES ==================== */
.article-img {
  margin: 1.75rem 0; display: flex; gap: 1.5rem; align-items: flex-start;
}
.article-img img {
  width: 320px; max-width: 38%; height: auto;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  flex-shrink: 0; object-fit: cover;
}
.article-img .img-text { flex: 1; min-width: 0; }
.article-img .img-text p { margin-bottom: .75rem; color: var(--text-secondary); font-size: .9rem; }
.article-img--right { flex-direction: row-reverse; }
.article-img-solo { margin: 1.5rem 0; max-width: 460px; }
.article-img-solo img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.img-caption { font-size: .775rem; color: var(--text-muted); margin-top: .3rem; font-style: italic; }

@media (max-width: 640px) {
  .article-img { flex-direction: column; }
  .article-img--right { flex-direction: column; }
  .article-img img { width: 100%; max-width: 100%; }
}

/* ==================== RELATED ARTICLES ==================== */
.related-articles {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.related-articles h2 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--neon-cyan); }
.related-list { display: flex; flex-direction: column; gap: .6rem; }
.related-list a {
  display: block; padding: .85rem 1.25rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); font-weight: 500; font-size: .925rem;
  transition: all var(--tr);
}
.related-list a:hover { border-color: var(--neon-blue); background: var(--bg-card-hover); }

/* Related grid (agent pages) */
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.related-card {
  display: block; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem; text-decoration: none;
  transition: all var(--tr);
}
.related-card:hover { border-color: var(--neon-blue); background: var(--bg-card-hover); transform: translateY(-2px); }
.related-card h3 { font-size: 1rem; margin-bottom: .4rem; color: var(--text-primary); }
a.related-card:hover h3 { color: var(--neon-cyan); }
.related-card h3 a { color: var(--text-primary); }
.related-card h3 a:hover { color: var(--neon-cyan); }
.related-card p { font-size: .825rem; color: var(--text-muted); margin: 0; }

/* ==================== FAQ ==================== */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  margin-bottom: .75rem; overflow: hidden;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; cursor: pointer;
  background: var(--bg-card); font-weight: 600; font-size: .95rem;
  width: 100%; text-align: left; color: var(--text-primary);
  transition: background var(--tr);
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-question[aria-expanded="true"] { border-bottom: 1px solid var(--border); }
.faq-icon {
  width: 18px; height: 18px; flex-shrink: 0;
  transition: transform var(--tr); color: var(--neon-cyan);
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.25rem; max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  color: var(--text-secondary); font-size: .9rem;
}
.faq-answer.open { padding: 1.25rem; max-height: 500px; }
.faq-answer p { margin-bottom: .5rem; }

/* ==================== GLOSSARY (full page) ==================== */
.glossary-letter {
  font-size: 1.4rem; font-weight: 700; color: var(--neon-amber);
  margin: 2.5rem 0 .75rem; padding-bottom: .3rem;
  border-bottom: 2px solid var(--border);
}
.glossary-entry { margin-bottom: 1.25rem; padding-left: 1rem; }
.glossary-entry dt { font-weight: 600; color: var(--neon-cyan); font-size: 1.05rem; }
.glossary-entry dd { color: var(--text-secondary); margin-top: .2rem; font-size: .9rem; }

/* ==================== TERMS GRID ==================== */
.terms-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .75rem; margin: 1.5rem 0;
}
.term-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
}
.term-card dt { font-weight: 600; color: var(--neon-cyan); margin-bottom: .2rem; }
.term-card dd { font-size: .85rem; color: var(--text-secondary); }
.term { display: inline-block; border-bottom: 1px dashed var(--neon-amber); cursor: help; color: var(--text-primary); }

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; margin-top: 2rem;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { }
.contact-info h3 {
  font-size: 1.15rem; margin-bottom: 1.5rem; color: var(--neon-cyan);
  padding-bottom: .5rem; border-bottom: 1px solid var(--border);
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.25rem; padding: 1rem 1.25rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: border-color var(--tr);
}
.contact-info-item:hover { border-color: var(--border-hover); }
.contact-info-item::before {
  content: ''; display: block; width: 3px; min-height: 100%;
  background: var(--neon-cyan); border-radius: 2px; flex-shrink: 0;
  align-self: stretch;
}
.contact-info-item strong {
  color: var(--text-primary); display: block;
  margin-bottom: .25rem; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.contact-info-item div {
  min-width: 0; color: var(--text-secondary); font-size: .925rem;
}

/* Form as card */
.contact-grid > div:last-child {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.contact-grid > div:last-child h3 {
  font-size: 1.15rem; margin-bottom: 1.5rem; color: var(--neon-cyan);
  padding-bottom: .5rem; border-bottom: 1px solid var(--border);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: .875rem; font-weight: 600;
  margin-bottom: .4rem; color: var(--text-primary);
}
.form-group label .required { color: var(--neon-rose); }
.form-group input, .form-group textarea {
  width: 100%; padding: .75rem 1rem;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-primary);
  font-size: .9rem; transition: border-color var(--tr);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--text-muted); opacity: 1;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(74,144,217,.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group .error-msg {
  display: none; font-size: .775rem; color: var(--neon-rose); margin-top: .3rem;
}
.form-group.has-error .error-msg { display: block; }
.form-group.has-error input, .form-group.has-error textarea { border-color: var(--neon-rose); }

.consent-group { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: 1.25rem; }
.consent-group input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0;
  accent-color: var(--neon-blue);
}
.consent-group label { font-size: .85rem; color: var(--text-secondary); }

.btn-submit {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 2rem; background: var(--neon-blue); color: #fff;
  font-weight: 600; font-size: .9rem; border-radius: var(--radius);
  cursor: pointer; transition: all var(--tr); border: none;
}
.btn-submit:hover { background: #3a7fc8; transform: translateY(-1px); }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.form-status {
  margin-top: .75rem; padding: .75rem 1rem;
  border-radius: var(--radius); font-size: .85rem; display: none;
}
.form-status.success { display: block; background: rgba(106,191,138,.08); color: var(--neon-green); border: 1px solid rgba(106,191,138,.15); }
.form-status.error { display: block; background: rgba(199,107,138,.08); color: var(--neon-rose); border: 1px solid rgba(199,107,138,.15); }
.ohnohoney { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ==================== LEGAL PAGES ==================== */
.legal-body { max-width: 780px; margin: 0 auto; }
.legal-body h2 { margin: 2.5rem 0 .75rem; font-size: 1.3rem; color: var(--neon-cyan); }
.legal-body h3 { margin: 1.75rem 0 .5rem; font-size: 1.1rem; }
.legal-body p, .legal-body li { color: var(--text-secondary); margin-bottom: .75rem; font-size: .925rem; }
.legal-body ul { margin-left: 1.5rem; }
.legal-body ul li { padding-left: .35rem; }
.legal-body ul li::before { content: '\2014\00a0'; color: var(--neon-blue); }
.legal-body table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  font-size: .875rem;
}
.legal-body th, .legal-body td {
  padding: .6rem .85rem; border: 1px solid var(--border);
  text-align: left; color: var(--text-secondary);
}
.legal-body th { background: var(--bg-card); color: var(--text-primary); font-weight: 600; }

/* ==================== SITEMAP ==================== */
.sitemap-list { columns: 2; column-gap: 2rem; }
@media (max-width: 600px) { .sitemap-list { columns: 1; } }
.sitemap-list li { margin-bottom: .5rem; break-inside: avoid; }
.sitemap-list a { font-size: .9rem; }

/* ==================== 404 ==================== */
.page-404 { text-align: center; padding: 4rem 0; }
.page-404 svg { margin: 0 auto 1.5rem; }
.page-404 h1 { font-size: 4rem; color: var(--neon-blue); margin-bottom: .75rem; }
.page-404 p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.page-404 a {
  display: inline-block; padding: .7rem 1.75rem;
  background: var(--neon-blue); color: #fff;
  border-radius: var(--radius); font-weight: 600;
  transition: all var(--tr);
}
.page-404 a:hover { background: #3a7fc8; color: #fff; }

/* ==================== FOOTER ==================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem; margin-top: 3rem;
  background: var(--bg-surface);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 2rem;
}
.footer-col h4 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-muted); margin-bottom: .75rem; font-weight: 600;
}
.footer-col a {
  display: block; font-size: .875rem; color: var(--text-secondary);
  margin-bottom: .45rem; transition: color var(--tr);
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  max-width: var(--max-w); margin: 1.5rem auto 0; padding: 1rem 1.25rem 0;
  border-top: 1px solid var(--border); font-size: .775rem; color: var(--text-muted);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; gap: 1.5rem; }
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--bg-surface); border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0,0,0,.4);
  padding: 1.25rem; transform: translateY(100%); transition: transform .35s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
}
.cookie-text { flex: 1; min-width: 260px; font-size: .85rem; color: var(--text-secondary); }
.cookie-text a { color: var(--text-link); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-btn {
  padding: .5rem 1.1rem; border-radius: var(--radius); font-size: .85rem;
  font-weight: 600; cursor: pointer; transition: all var(--tr);
  border: 1px solid var(--border-hover); color: var(--text-primary);
}
.cookie-btn--accept { background: var(--neon-blue); border-color: var(--neon-blue); color: #fff; }
.cookie-btn--accept:hover { background: #3a7fc8; }
.cookie-btn--reject { background: transparent; }
.cookie-btn--reject:hover { background: rgba(255,255,255,.06); }
.cookie-btn--settings { background: transparent; }
.cookie-btn--settings:hover { background: rgba(255,255,255,.06); }

.cookie-settings {
  display: none; margin-top: 1rem; padding: 1rem;
  background: var(--bg-card); border-radius: var(--radius);
  max-width: var(--max-w); margin-left: auto; margin-right: auto;
}
.cookie-settings.open { display: block; }
.cookie-setting-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 0; border-bottom: 1px solid var(--border); gap: 1rem;
}
.cookie-setting-row:last-of-type { border-bottom: none; }
.cookie-setting-label { font-size: .85rem; color: var(--text-secondary); }
.cookie-setting-label strong { color: var(--text-primary); }
.cookie-toggle {
  position: relative; width: 42px; height: 22px; flex-shrink: 0;
  background: var(--border-hover); border-radius: 11px;
  cursor: pointer; transition: background var(--tr);
}
.cookie-toggle.active { background: var(--neon-blue); }
.cookie-toggle::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; background: #fff; border-radius: 50%;
  transition: transform var(--tr);
}
.cookie-toggle.active::after { transform: translateX(20px); }
.cookie-toggle.disabled { opacity: .5; cursor: not-allowed; }
.cookie-save-prefs {
  display: inline-block; margin-top: .75rem; padding: .45rem 1.1rem;
  background: var(--neon-blue); color: #fff; border-radius: var(--radius);
  font-size: .85rem; font-weight: 600; cursor: pointer; border: none;
  transition: background var(--tr);
}
.cookie-save-prefs:hover { background: #3a7fc8; }

/* ==================== FEATURED block (generic) ==================== */
.featured {
  background: linear-gradient(135deg, rgba(74,144,217,.06) 0%, rgba(94,196,200,.04) 50%, rgba(212,162,78,.03) 100%);
  border: 1px solid var(--border-hover); border-radius: var(--radius-lg);
  padding: 2rem; margin: 2rem 0;
}
.featured h3 { font-size: 1.2rem; margin-bottom: .4rem; color: var(--neon-amber); }
.featured p { color: var(--text-secondary); }

/* ==================== CARDS GRID ==================== */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: all var(--tr);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  border-color: var(--border-hover);
}
.card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.card p { color: var(--text-secondary); font-size: .875rem; margin-bottom: .75rem; }
.card .card-link { font-size: .85rem; font-weight: 600; color: var(--neon-cyan); }

/* ==================== NEON LINE ==================== */
.neon-line {
  height: 2px; border: none;
  background: linear-gradient(90deg, transparent, var(--neon-blue), var(--neon-cyan), transparent);
  margin: 2.5rem 0;
}

/* ==================== UTILITY ==================== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-xl { margin-top: 1.5rem; }
.mb-xl { margin-bottom: 1.5rem; }
.mt-2xl { margin-top: 2.5rem; }
.mb-2xl { margin-bottom: 2.5rem; }

/* ==================== PRINT ==================== */
@media print {
  .site-header, .site-footer, .cookie-banner, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}
