/* =========================
   VertonaHub – Header & Footer Styles
   Clean, editorial, future-proof
   ========================= */

:root {
  --bg-main: #1a1a2e;        /* dark navy */
  --bg-soft: #060715;        /* near-black navy */
  --bg-accent: #2a2a3e;      /* soft accent */
  --text-main: #f0f0f5;      /* off-white */
  --text-muted: #b0b0c3;     /* muted gray */
  --accent: #ff6f61;         /* coral accent */
  --border-soft: rgba(255,255,255,0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-soft);
  color: var(--text-main);
}

a {
  cursor: pointer;
}

ul,
li {
  list-style: none;   
  padding-left: 0;   
  margin: 0;          
}

/* =========================
   OmniXero – Header Styles
   ========================= */

.site-header {
  display: flex;
  flex-direction: column;
  background-color: #0a1a2b; /* deep navy */
  color: #e6e8eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  font-size: 0.75rem;
  background-color: #081224;
  color: #9aa3ad;
}

.top-bar a {
  color: #5ddcff;
  text-decoration: none;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* Main Branding and Navigation */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  flex-wrap: wrap;
}

.brand a {
  text-decoration: none;
  color: #e6e8eb;
}

.brand strong {
  font-size: 1.6rem;
  display: block;
}

.brand small {
  font-size: 0.8rem;
  color: #9aa3ad;
}

/* Navigation */
.primary-nav .nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav .nav-link {
  text-decoration: none;
  color: #e6e8eb;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.primary-nav .nav-link:hover {
  color: #5ddcff;
}

/* Header Info / Quick Stats */
.header-info {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: #9aa3ad;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.header-info span {
  background-color: #081224;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* Header Meta / Features */
.header-meta {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.8rem 2rem;
  background-color: #081224;
}

.header-meta .meta-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 0;
  margin: 0;
  font-size: 0.75rem;
  color: #9aa3ad;
}

.header-meta .meta-list li::before {
  content: "•";
  margin-right: 0.4rem;
  color: #5ddcff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-nav .nav-list {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
  }

  .header-info {
    margin-top: 0.8rem;
    gap: 1rem;
  }
}

/* =========================
   OmniXero – Footer Styles
   ========================= */

.site-footer {
  background-color: #0a1a2b;
  color: #e6e8eb;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

/* About Section */
.footer-about h4 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.footer-about p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #b3bac2;
  margin-bottom: 0.5rem;
}

.footer-about .micro-note {
  font-size: 0.7rem;
  color: #9aa3ad;
}

/* Navigation and Legal Sections */
.footer-navigation h4,
.footer-legal h4,
.footer-contacts h4 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.footer-navigation ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-navigation li,
.footer-legal li {
  margin-bottom: 0.5rem;
}

.footer-navigation a,
.footer-legal a {
  color: #5ddcff;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-navigation a:hover,
.footer-legal a:hover {
  text-decoration: underline;
}

/* Contacts Section */
.footer-contacts address,
.footer-contacts p {
  font-style: normal;
  font-size: 0.85rem;
  color: #b3bac2;
  margin-bottom: 0.5rem;
}

.footer-contacts a {
  color: #5ddcff;
  text-decoration: none;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

/* Footer Bottom Bar */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #9aa3ad;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  justify-content: center;
}

.footer-bottom .separator {
  margin: 0 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    justify-content: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }
}


/* ==========================
   Cookie banner base
========================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 520px;
  width: calc(100% - 32px);
  background-color: #0f0f11;
  color: #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  font-family: 'Inter', 'Roboto', sans-serif;
}

/* visible state */
.cookie-banner.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================
   Content
========================== */
.cookie-content {
  padding: 20px 22px;
}

.cookie-content p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 14px 0;
  color: #d6d6d6;
}

.cookie-content a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-content a:hover {
  opacity: 0.85;
}

/* ==========================
   Buttons
========================== */
.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-cta {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-cta:hover {
  background-color: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
}

/* Reject button — менш акцентна */
.btn-cta.reject {
  color: #b5b5b5;
  border-color: rgba(255,255,255,0.15);
}

.btn-cta.reject:hover {
  color: #ffffff;
}

/* ==========================
   Responsive
========================== */
@media (max-width: 480px) {
  .cookie-content {
    padding: 18px;
  }

  .cookie-buttons {
    flex-direction: column-reverse;
    gap: 8px;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }
}
