/* Brave-hub base styles */
:root {
  --bg: #0e1e2a;
  --bg-soft: #132836;
  --text: #f4f3ef;
  --muted: #cfd6da;
  --accent: #c6a15b;
  --accent-dark: #a58342;
  --light: #ffffff;
  --shadow: rgba(0, 0, 0, 0.18);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 32px 20px 72px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(14, 30, 42, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(198, 161, 91, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand span {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

nav a:hover,
nav a:focus {
  color: var(--text);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 161, 91, 0.4);
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  gap: 8px;
}

.menu-toggle:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mobile-menu {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-soft);
  border-bottom: 1px solid rgba(198, 161, 91, 0.2);
  display: none;
  flex-direction: column;
  padding: 16px 20px 24px;
  gap: 16px;
}

.mobile-menu a {
  color: var(--muted);
  font-size: 1rem;
}

.mobile-menu.active {
  display: flex;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(19, 40, 54, 0.9), rgba(14, 30, 42, 0.9));
  border-radius: 20px;
  box-shadow: 0 16px 36px var(--shadow);
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.2;
}

.hero p {
  color: var(--muted);
  max-width: 680px;
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.button {
  background: var(--accent);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(198, 161, 91, 0.4);
}

.button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.card-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--bg-soft);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(198, 161, 91, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card p {
  color: var(--muted);
}

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
}

.list li {
  color: var(--muted);
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(198, 161, 91, 0.08);
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(198, 161, 91, 0.2);
}

.testimonial span {
  color: var(--accent);
  font-weight: 600;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-soft);
  padding: 22px;
  border-radius: 16px;
}

.contact-card a {
  color: var(--accent);
}

.legal-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--muted);
}

footer {
  background: var(--bg-soft);
  padding: 32px 20px;
  border-top: 1px solid rgba(198, 161, 91, 0.15);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: var(--bg-soft);
  border: 1px solid rgba(198, 161, 91, 0.2);
  padding: 16px;
  border-radius: 14px;
  display: none;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 40px var(--shadow);
  z-index: 20;
}

.cookie-banner.active {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-actions button {
  border: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.cookie-actions .primary {
  background: var(--accent);
  color: var(--bg);
}

.cookie-actions .secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(198, 161, 91, 0.4);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 24, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 30;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 22px;
  max-width: 520px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cookie-option input {
  margin-top: 4px;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  main {
    padding: 48px 32px 88px;
  }

  .hero {
    padding: 48px;
  }

  .cta-row {
    flex-direction: row;
    align-items: center;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1 1 calc(50% - 12px);
  }

  .split {
    flex-direction: row;
  }

  .split > * {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    flex-direction: row;
    gap: 18px;
  }

  .cookie-banner {
    left: auto;
    right: 32px;
    max-width: 420px;
  }

  .cookie-actions,
  .cookie-modal-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  nav {
    gap: 26px;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}
