/* 
Art Direction: 
Palette: OKLCH warm analog orange/yellow accent (vinyl), deep brown/black background (studio acoustics).
Rhythm: dark sections with occasional light inserts.
Typography: wide geometric sans for huge numbers (Impact-like character) + legible modern sans for body text.
Composition Idea: huge numbers for steps/lists (01, 02), cards with image overlap, radial light gradients. 
*/
:root {
  --bvfl-c-bg: oklch(20% 0.01 270); /* Deep dark brown/black */
  --bvfl-c-bg-light: oklch(95% 0.01 270); /* Light section bg */
  --bvfl-c-text: oklch(90% 0.01 270); /* Light text on dark */
  --bvfl-c-text-dark: oklch(15% 0.01 270); /* Dark text on light */
  --bvfl-c-accent: oklch(65% 0.15 45); /* Warm analog orange */
  --bvfl-c-accent-hover: oklch(75% 0.15 45);
  
  --bvfl-f-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bvfl-f-display: "Arial Black", Impact, sans-serif; /* Fallback to standard heavy font */
}

/* Global Reset & Mobile overflow protection */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background-color: var(--bvfl-c-bg);
  color: var(--bvfl-c-text);
  font-family: var(--bvfl-f-body);
  line-height: 1.6;
}

*, *::before, *::after {
  box-sizing: border-box;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography clamp() */
h1, h2, h3, h4, .bvfl-display {
  font-family: var(--bvfl-f-display);
  line-height: 1.15;
  margin-top: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

h1 { font-size: clamp(2rem, 5vw + 1rem, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw + 1rem, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw + 0.5rem, 2rem); }
p, li, td, a, code {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

a {
  color: var(--bvfl-c-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--bvfl-c-accent-hover); }

/* Grid / Flex mobile protection */
.bvfl-grid, .bvfl-flex {
  display: grid;
  gap: 2rem;
}
.bvfl-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .bvfl-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}
.bvfl-grid > *, .bvfl-flex > * {
  min-width: 0;
}

/* Layout */
.bvfl-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .bvfl-container { padding: 0 2rem; }
}

/* Topbar & Header */
.bvfl-topbar {
  background: #000;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
}
.bvfl-header {
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.bvfl-logo {
  font-family: var(--bvfl-f-display);
  font-size: 1.5rem;
  color: #fff;
}
.bvfl-logo-domain {
  display: block;
  font-size: 0.7rem;
  font-family: var(--bvfl-f-body);
  color: #aaa;
}

/* Navigation */
.bvfl-nav {
  display: none;
}
@media (min-width: 1024px) {
  .bvfl-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
}
.bvfl-btn {
  background: var(--bvfl-c-accent);
  color: var(--bvfl-c-bg);
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 4px;
  display: inline-block;
  min-height: 44px;
  min-width: 44px;
}
.bvfl-btn:hover {
  background: var(--bvfl-c-accent-hover);
  color: var(--bvfl-c-bg);
}

/* Mobile Menu Button */
.bvfl-menu-btn {
  display: block;
  background: none;
  border: 1px solid var(--bvfl-c-accent);
  color: var(--bvfl-c-accent);
  padding: 0.5rem 1rem;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .bvfl-menu-btn { display: none; }
}
.bvfl-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bvfl-c-bg);
  padding: 1rem;
  border-bottom: 1px solid var(--bvfl-c-accent);
  z-index: 50;
}
.bvfl-mobile-menu[aria-expanded="true"] {
  display: block;
}

/* Footer */
.bvfl-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 3rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
}
.bvfl-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.bvfl-footer-info {
  color: #aaa;
}

/* Forms */
.bvfl-form-group {
  margin-bottom: 1.5rem;
}
.bvfl-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.bvfl-form-input, .bvfl-form-textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-family: inherit;
}
.bvfl-form-textarea {
  resize: vertical;
  min-height: 120px;
}
.bvfl-honey {
  display: none;
}

/* Tables */
.bvfl-table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
}
.bvfl-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.bvfl-table th, .bvfl-table td {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem;
  text-align: left;
}

/* Features/Services specific */
.bvfl-service-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
}
.bvfl-service-num {
  font-family: var(--bvfl-f-display);
  font-size: 4rem;
  color: rgba(255,255,255,0.05);
  position: absolute;
  top: 10px;
  right: 10px;
  line-height: 1;
}
.bvfl-service-card:hover .bvfl-service-num {
  color: var(--bvfl-c-accent);
}

/* Cookie Banner */
.bvfl-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #000;
  padding: 1.5rem;
  border-top: 2px solid var(--bvfl-c-accent);
  z-index: 100;
  display: none; /* JS will toggle */
}
.bvfl-cookie-banner[aria-hidden="false"] {
  display: block;
}
.bvfl-cookie-btn {
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  margin-top: 1rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
}
.bvfl-cookie-btn.bvfl-btn-primary {
  background: var(--bvfl-c-accent);
  color: #000;
}
.bvfl-cookie-settings {
  margin-top: 1rem;
}
[hidden] {
  display: none !important;
}

/* A11y */
:focus-visible {
  outline: 3px solid var(--bvfl-c-accent);
  outline-offset: 2px;
}
.bvfl-skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--bvfl-c-accent);
  color: #000;
  padding: 1rem;
  z-index: 1000;
}
.bvfl-skip-link:focus {
  top: 0;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Details/Summary for FAQ */
details.bvfl-faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
}
summary.bvfl-faq-summary {
  font-weight: bold;
  cursor: pointer;
  font-size: 1.2rem;
}
.bvfl-faq-content {
  padding-top: 1rem;
  color: #ccc;
}

/* Fixes from template */
.bvfl-mobile-nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.bvfl-footer-grid { margin-bottom: 2rem; }
.bvfl-footer-logo-wrap { margin-bottom: 1rem; }
.bvfl-reopen-cookie-btn { background: none; border: none; color: var(--bvfl-c-accent); text-decoration: underline; cursor: pointer; padding: 0; }
.bvfl-cookie-checkbox-wrap { margin-bottom: 0.5rem; }
.bvfl-cookie-save-btn { margin-top: 1rem; }
