/*
Theme Name: KI³-Consulting.com
Theme URI: https://ki3-consulting.com
Author: KI³-Consulting.com
Author URI: https://ki3-consulting.com
Description: Minimal dark theme for KI³-Consulting.com. Provides topbar, navigation and footer only — all page content is built with Elementor Free.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ki3
Tags: dark, business, legal, elementor
*/

:root {
  --ink:     #1A1F2E;
  --ink2:    #212738;
  --surface: #2A3347;
  --line:    #3D4D66;
  --line2:   #4A5E7A;
  --accent:  #E8820C;
  --accent2: #F5A623;
  --accent3: #FFD166;
  --muted:   #9CAABF;
  --light:   #E2E8F0;
  --white:   #F0F4FA;
  --ff-d: 'Playfair Display', Georgia, serif;
  --ff-b: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--light);
  font-family: var(--ff-b);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Topbar ── */
.site-topbar {
  background: var(--ink2);
  border-bottom: 0.5px solid var(--line);
  height: 52px;
  position: sticky; top: 0; z-index: 200;
}
.site-topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.site-logo {
  font-family: var(--ff-d);
  font-size: 18px; font-weight: 700;
  color: var(--white);
  display: flex; align-items: center; gap: 3px;
}
.site-logo sup { font-size: .6em; color: var(--accent3); vertical-align: super; }
.site-logo .dot { color: var(--accent3); }

.topbar-right { display: flex; align-items: center; gap: 1.25rem; }

.lang-switcher {
  display: flex; gap: 2px;
  background: #242B3D;
  border: 0.5px solid var(--line);
  border-radius: 6px; padding: 2px;
}
.lang-btn {
  font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; border: none;
  background: transparent; color: #7A8BAA; transition: all .15s;
}
.lang-btn.active { background: #313B52; color: var(--accent3); }
.lang-btn:not(.active):hover { color: var(--light); }

.btn-consult {
  font-size: 12px; font-weight: 500;
  color: var(--accent3);
  border: 0.5px solid #4A5E7A;
  padding: 7px 16px; border-radius: 4px;
  background: #313B52; transition: background .15s, color .15s, border-color .15s;
}
.btn-consult:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Nav ── */
.site-nav {
  background: var(--ink);
  border-bottom: 0.5px solid var(--line);
  position: sticky; top: 52px; z-index: 199;
}
.site-nav .container {
  height: 44px; display: flex; align-items: center;
  justify-content: space-between; overflow-x: auto;
}
.nav-links { display: flex; white-space: nowrap; }
.nav-links li a {
  display: block; padding: 0 11px;
  height: 44px; line-height: 44px;
  font-size: 12px; color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.nav-links li a:hover { color: var(--accent3); }
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a {
  color: var(--accent3); border-bottom-color: var(--accent);
}
.nav-toggle {
  display: none; background: none; border: none;
  color: var(--muted); font-size: 22px; padding: 4px;
}

/* ── Main content area (Elementor fills this) ── */
#main { min-height: 60vh; }

/* ── Footer ── */
.site-footer { background: var(--ink2); padding: 2.75rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; padding-bottom: 2rem;
  border-bottom: 0.5px solid var(--line);
}
.footer-logo { font-family: var(--ff-d); font-size: 15px; font-weight: 700; color: var(--white); }
.footer-logo sup { font-size: .6em; color: var(--accent3); vertical-align: super; }
.footer-logo .dot { color: var(--accent3); }
.footer-desc { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.65; max-width: 220px; }
.footer-col-title { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--accent2); margin-bottom: 12px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 12px; color: var(--muted); transition: color .15s; }
.footer-links a:hover { color: var(--accent3); }
.footer-bottom {
  padding: 1rem 0; display: flex;
  justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-copy { font-size: 11px; color: var(--muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 11px; color: var(--muted); transition: color .15s; }
.footer-legal a:hover { color: var(--accent2); }

/* ── WordPress core classes ── */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin: 1.5rem auto; display: block; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 96px; left: 0; right: 0;
    background: var(--ink2); border-bottom: 0.5px solid var(--line);
    z-index: 198; padding: .5rem 0;
  }
  .nav-links.open li a { height: auto; line-height: 1; padding: .75rem 1.5rem; border-bottom: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
