:root {
  --bg: #003366;
  --panel: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-2: #22c55e;
  --card: #111827;
  --border: #1f2937;
  --shadow: 0 8px 24px rgba(0,0,0,0.2);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.container { width: min(1100px, 92%); margin: 0 auto; }
.row { display: flex; gap: 1rem; }
.center { align-items: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(28,81,136,0.9), rgba(28,81,136,0.6) 60%, transparent);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--text);
}
.brand .logo {
  width: 36px;
  height: 36px;
  background-image: url("/assets/boltbros_logo.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.brand .name {
  font-weight: 700;
  font-size: 1.05rem;
}
.brand .sub {
  color: var(--muted);
  font-size: .85rem;
}

/* Nav */
.nav {
  display: flex;
  gap: 1rem;
  margin-left: 2rem;
}
.nav a {
  color: var(--text);
  padding: 6px 10px;
  border-radius: 8px;
}
.nav a:hover {
  background: rgba(56, 189, 248, 0.1);
  text-decoration: none;
}

/* Language switcher with flags */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  padding: 0;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
  overflow: hidden;
}
.lang-switcher a[aria-current="true"] {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.lang-switcher img {
  width: 100%;
  height: 100%;
}

/* Screen-reader-only 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;
}

/* Hero */
.hero {
  padding: 64px 0 48px;
}
.hero h1 {
  font-size: clamp(1.8rem, 2.4vw + 1rem, 2.5rem);
  margin: 0 0 .5rem 0;
}
.hero p {
  color: var(--muted);
  margin: 0 0 1rem 0;
  max-width: 60ch;
}
.cta {
  display: inline-flex;
  gap: .6rem;
  align-items: center;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
  color: #001018;
  font-weight: 700;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.cta:hover { opacity: .95; text-decoration: none; }

/* Sections */
.section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%);
}
.section h2 {
  margin-top: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 28px 0 40px;
  font-size: .95rem;
}

/* Contact section layout with logo on the right */
#contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 280px);
  align-items: center;
  gap: 24px;
}

#contact .contact-details {
  /* keeps existing typography; add spacing if needed */
}

#contact .contact-logo {
  justify-self: end;
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
}

/* Stack on small screens */
@media (max-width: 720px) {
  #contact .contact-grid {
    grid-template-columns: 1fr;
  }
  #contact .contact-logo {
    justify-self: center;
    max-width: 200px;
    margin-top: 8px;
  }
}

#brands .brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;        /* subtle border */
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  margin: 0 36px 10px 0;
}

#brands .brand-link img {
  display: block;
  max-width: 180px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* hover focus affordance */
#brands .brand-link:hover {
  box-shadow: 0 3px 8px rgba(0,0,0,.12);
}
#brands .brand-link:focus-visible {
  outline: 2px solid #0f172a;
  outline-offset: 3px;
}
#brands .brand-link:last-child {
  margin-right: 0;
}
