/* ============================================================
   Ekzora — Global Stylesheet
   Custom CSS with CSS variables. Light + Dark themes.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --brand: #ff5722;
  --brand-2: #ff8a50;
  --brand-dark: #e64a19;
  --accent: #0a9396;
  --accent-2: #14b8a6;

  --bg: #f6f8fb;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-soft: #475569;
  --text-mute: #94a3b8;

  --ok: #16a34a;
  --warn: #d97706;
  --late: #dc2626;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 6px 24px rgba(15, 23, 42, .10);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, .16);

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;
  --hero-grad: linear-gradient(135deg, #1a2980 0%, #26436b 40%, #0a9396 100%);

  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --bg: #0b1120;
  --bg-alt: #0f172a;
  --surface: #131c31;
  --surface-2: #1c2740;
  --border: #263353;
  --text: #e8eefc;
  --text-soft: #b3c0d9;
  --text-mute: #7688a8;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .5);
  --shadow: 0 6px 24px rgba(0, 0, 0, .45);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, .55);
  --hero-grad: linear-gradient(135deg, #0b1a3a 0%, #10233f 40%, #05343a 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .35s ease, color .35s ease;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: 20px; }

h1, h2, h3, h4 { line-height: 1.25; color: var(--text); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1rem; color: var(--text-soft); }

section { padding-block: clamp(48px, 7vw, 88px); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-head .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .74rem; font-weight: 700; color: var(--brand-dark);
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: none; border-radius: var(--radius-sm); font-weight: 700;
  padding: 12px 22px; font-size: .96rem; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; box-shadow: 0 8px 20px rgba(230,74,25,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(230,74,25,.45); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-alt) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--text); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo svg { flex: none; }
.logo span b { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text-soft); font-weight: 600; font-size: .93rem; padding: 8px 13px; border-radius: 8px;
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand-dark); background: color-mix(in srgb, var(--brand) 12%, transparent); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Theme toggle switch */
.theme-toggle {
  position: relative; width: 56px; height: 30px; border-radius: 999px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border); padding: 0; flex: none;
  transition: background .3s;
}
.theme-toggle .knob {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #ffd54f, #ffb300); transition: transform .3s ease, background .3s;
  display: grid; place-items: center; font-size: 12px;
}
[data-theme="dark"] .theme-toggle .knob { transform: translateX(26px); background: linear-gradient(135deg, #64748b, #334155); }
.theme-toggle .knob::after { content: "☀"; }
[data-theme="dark"] .theme-toggle .knob::after { content: "☾"; color:#e8eefc; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 10px 16px 18px; gap: 2px;
    transform: translateY(-140%); opacity: 0; pointer-events: none; transition: transform .3s ease, opacity .3s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--hero-grad);
  padding-block: clamp(52px, 8vw, 96px) clamp(70px, 10vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background:
    radial-gradient(700px 300px at 15% 10%, rgba(255,138,80,.35), transparent 60%),
    radial-gradient(600px 320px at 90% 20%, rgba(20,184,166,.30), transparent 60%);
}
.hero .rails {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px; opacity: .35;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 6px, transparent 6px 34px);
  border-top: 3px solid rgba(255,255,255,.5);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 900px; }
.hero h1 .hl { color: #ffd8c2; }
.hero .lede { color: rgba(255,255,255,.9); font-size: clamp(1.02rem, 1.8vw, 1.2rem); max-width: 680px; margin-bottom: 26px; }

/* ---------- Search console ---------- */
.search-console {
  background: var(--surface); color: var(--text);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); overflow: hidden; max-width: 860px;
}
.tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.tab-btn {
  flex: 1 1 auto; min-width: 130px; padding: 15px 14px; border: none; background: transparent; cursor: pointer;
  font-weight: 700; font-size: .9rem; color: var(--text-soft); font-family: inherit;
  border-bottom: 3px solid transparent; transition: color .2s, background .2s, border-color .2s;
}
.tab-btn:hover { color: var(--brand-dark); }
.tab-btn.active { color: var(--brand-dark); background: var(--surface); border-bottom-color: var(--brand); }

.tab-panel { display: none; padding: 22px; }
.tab-panel.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.field-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.field-row.two { grid-template-columns: 1fr 1fr auto; }
.field-row.one { grid-template-columns: 1fr auto; }
@media (max-width: 640px) { .field-row, .field-row.two, .field-row.one { grid-template-columns: 1fr; } }

.field { position: relative; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .8rem; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .04em; }
.field input, .field select {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-alt); color: var(--text); font-size: .98rem; font-family: inherit; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }

/* Autocomplete suggestions */
.suggestions {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin-top: 4px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); max-height: 240px; overflow-y: auto; display: none;
}
.suggestions.show { display: block; }
.suggestion {
  padding: 10px 14px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-size: .92rem;
  border-bottom: 1px solid var(--border);
}
.suggestion:last-child { border-bottom: none; }
.suggestion:hover, .suggestion.active { background: var(--surface-2); }
.suggestion .code { font-weight: 800; color: var(--brand-dark); }
.suggestion small { color: var(--text-mute); }

/* ---------- Quick action cards ---------- */
.quick-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 28px; }
.quick-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border: 1px solid rgba(255,255,255,.25);
  font-weight: 600; transition: transform .18s, background .2s;
}
.quick-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.2); text-decoration: none; }
.quick-card .ic { font-size: 1.4rem; }

/* ---------- Results / output area ---------- */
.result-wrap { margin-top: 30px; }
.result-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px; margin-top: 20px; animation: fade .3s ease;
}
.result-card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.muted { color: var(--text-mute); }

.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800;
  padding: 4px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em;
}
.badge.ok    { background: color-mix(in srgb, var(--ok) 16%, transparent);   color: var(--ok); }
.badge.late  { background: color-mix(in srgb, var(--late) 15%, transparent); color: var(--late); }
.badge.warn  { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.badge.info  { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); }

/* Train result rows */
.train-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px;
  background: var(--bg-alt);
}
.train-row .tno { font-weight: 800; color: var(--brand-dark); font-size: 1.05rem; }
.train-row .times { text-align: right; font-weight: 700; }
.train-row .times small { display:block; font-weight:500; color: var(--text-mute); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.chip { font-size: .72rem; background: var(--surface-2); border: 1px solid var(--border); padding: 3px 9px; border-radius: 6px; color: var(--text-soft); font-weight:700; }
@media (max-width: 560px){ .train-row { grid-template-columns: 1fr; } .train-row .times { text-align: left; } }

/* ---------- Running status timeline ---------- */
.timeline { position: relative; margin: 10px 0 0; padding-left: 8px; }
.tl-item { position: relative; padding: 0 0 8px 34px; }
.tl-item::before {
  content: ""; position: absolute; left: 9px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--text-mute); z-index: 2;
}
.tl-item::after {
  content: ""; position: absolute; left: 15px; top: 16px; bottom: -4px; width: 2px; background: var(--border);
}
.tl-item:last-child::after { display: none; }
.tl-item.passed::before { border-color: var(--ok); background: var(--ok); }
.tl-item.passed::after  { background: var(--ok); }
.tl-item.current::before {
  border-color: var(--brand); background: var(--brand); width: 18px; height: 18px; left: 7px; top: 2px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 25%, transparent);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 30%, transparent); } 50% { box-shadow: 0 0 0 11px color-mix(in srgb, var(--brand) 6%, transparent); } }
.tl-body { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--border); }
.tl-item.current .tl-body { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 20%, transparent); }
.tl-station { font-weight: 700; }
.tl-station small { display: block; color: var(--text-mute); font-weight: 500; }
.tl-times { text-align: right; font-size: .9rem; color: var(--text-soft); }
.tl-times b { color: var(--text); }

/* progress meter */
.run-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.stat {
  flex: 1 1 140px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.stat .k { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); font-weight: 700; }
.stat .v { font-size: 1.25rem; font-weight: 800; margin-top: 2px; }

/* ---------- PNR result ---------- */
.pnr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.data th, table.data td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--border); }
table.data th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-soft); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }

/* ---------- Station board ---------- */
.board-row .tno { color: var(--accent); }

/* ---------- Coach visualizer ---------- */
.coach-strip { display: flex; gap: 6px; overflow-x: auto; padding: 14px 4px; }
.coach {
  flex: none; min-width: 74px; text-align: center; padding: 12px 8px; border-radius: 10px; cursor: pointer;
  border: 2px solid var(--border); background: var(--bg-alt); font-weight: 700; font-size: .82rem;
  transition: transform .15s, border-color .2s, background .2s; position: relative;
}
.coach:hover { transform: translateY(-3px); border-color: var(--brand); }
.coach.active { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.coach small { display: block; font-weight: 500; color: var(--text-mute); font-size: .7rem; margin-top: 3px; }
.coach.engine { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; border-color: var(--brand-dark); }
.coach.pantry { background: color-mix(in srgb, var(--accent) 14%, transparent); }

.berth-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; margin-top: 16px; }
.berth {
  aspect-ratio: 1.15; border-radius: 8px; border: 1.5px solid var(--border); background: var(--bg-alt);
  display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer;
  font-weight: 800; font-size: .95rem; transition: transform .12s, background .2s, border-color .2s; text-align:center;
}
.berth small { font-weight: 600; font-size: .58rem; color: var(--text-mute); line-height: 1.1; }
.berth:hover { transform: scale(1.06); border-color: var(--brand); }
.berth.LB { background: color-mix(in srgb, #3b82f6 14%, transparent); }
.berth.MB { background: color-mix(in srgb, #8b5cf6 14%, transparent); }
.berth.UB { background: color-mix(in srgb, #06b6d4 14%, transparent); }
.berth.SL { background: color-mix(in srgb, #10b981 14%, transparent); }
.berth.SU { background: color-mix(in srgb, #f59e0b 14%, transparent); }
.berth.highlight { border-color: var(--brand); background: var(--brand); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent); }
.berth.highlight small { color: rgba(255,255,255,.85); }

.legend { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 16px; font-size: .82rem; }
.legend span { display: inline-flex; align-items: center; gap: 6px; color: var(--text-soft); font-weight: 600; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--border); }

/* ---------- Feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature .ficon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 22%, transparent), color-mix(in srgb, var(--accent) 22%, transparent));
}
.feature h3 { margin-bottom: 6px; }
.feature p { margin: 0; font-size: .95rem; }

/* ---------- Guide / article ---------- */
.article { max-width: 860px; margin: 0 auto; }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; color: var(--brand-dark); }
.article ul, .article ol { color: var(--text-soft); padding-left: 1.3em; }
.article li { margin-bottom: .5em; }
.article .lead { font-size: 1.1rem; color: var(--text); }

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 30px; }
.toc h4 { margin: 0 0 10px; }
.toc ul { list-style: none; padding: 0; margin: 0; columns: 2; }
@media (max-width: 560px){ .toc ul { columns: 1; } }
.toc a { color: var(--text-soft); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--surface); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 20px;
  font-size: 1.02rem; font-weight: 700; color: var(--text); display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: inherit;
}
.faq-q .arw { transition: transform .3s; color: var(--brand); font-size: 1.2rem; flex: none; }
.faq-item.open .faq-q .arw { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0 20px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 20px 18px; }
.faq-a p { margin: 0; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .88rem; }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-alt); color: var(--text); font-family: inherit; font-size: .98rem; width: 100%;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.err { color: var(--late); font-size: .82rem; min-height: 1em; font-weight: 600; }
.form-note { padding: 14px 16px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-weight: 700; margin-top: 14px; display: none; }
.form-note.show { display: block; }

.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.info-card .line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.info-card .line .ic { font-size: 1.3rem; flex: none; }

/* ---------- Two-column layout helper ---------- */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 820px){ .split { grid-template-columns: 1fr; } }

/* ---------- Callout / notice ---------- */
.callout {
  border-left: 4px solid var(--brand); background: var(--surface); border: 1px solid var(--border);
  border-left-width: 4px; border-radius: var(--radius-sm); padding: 18px 22px; margin: 22px 0;
}
.callout.warn { border-left-color: var(--late); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--hero-grad); color: #fff; border-radius: var(--radius); padding: clamp(32px, 5vw, 56px); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-block: 52px 26px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; color: var(--text); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text-soft); font-size: .92rem; }
.footer-col a:hover { color: var(--brand-dark); }
.footer-about p { font-size: .92rem; }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--text-soft); font-weight: 800;
}
.socials a:hover { background: var(--brand); color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 34px; padding-top: 20px; text-align: center; color: var(--text-mute); font-size: .88rem; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.hidden { display: none !important; }
.page-hero {
  background: var(--hero-grad); color: #fff; padding-block: clamp(46px, 7vw, 78px); text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: 8px; }
.breadcrumb a { color: #ffd8c2; }
