/* Theme CSS — generated by WebGen */
:root {
  --primary: #64748b;
  --primary-foreground: #ffffff;
  --secondary: #8b5cf6;
  --secondary-foreground: #ffffff;
  --accent: #dc2626;
  --accent-foreground: #111827;
  --background: #ffffff;
  --foreground: #111827;
  --card: #ffffff;
  --card-foreground: #111827;
  --border: #e5e7eb;
  --input: #e5e7eb;
  --ring: #64748b;
  --muted: #f3f4f6;
  --muted-foreground: #6b7280;
  --font-family: 'Inter', sans-serif;
  --radius: 1rem;
  /* Legacy aliases for backward compat */
  --color-primary: var(--primary);
  --color-secondary: var(--secondary);
  --color-accent: var(--accent);
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-border: var(--border);
  --color-muted: var(--muted-foreground);
  --border-radius: var(--radius);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-family); line-height: 1.6; color: var(--foreground); background: var(--background); margin: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; }

/* === Layout === */
.container { max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.section { padding: 7rem 0; background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%); }
.section:nth-child(even) { background: linear-gradient(0deg, var(--background) 0%, var(--muted) 100%); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Buttons === */
.btn-primary { background-color: var(--primary); color: var(--primary-foreground); padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 500; text-decoration: none; display: inline-block; transition: opacity 0.2s; border: none; cursor: pointer; font-size: 1rem; }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { background-color: var(--secondary); color: var(--secondary-foreground); padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 500; text-decoration: none; display: inline-block; transition: opacity 0.2s; border: none; cursor: pointer; font-size: 1rem; }
.btn-secondary:hover { opacity: 0.9; }
.btn-outline { background: transparent; color: var(--foreground); padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 500; text-decoration: none; display: inline-block; transition: background 0.2s; border: 1px solid var(--border); cursor: pointer; font-size: 1rem; }
.btn-outline:hover { background: rgba(0,0,0,0.05); }

/* === Card === */
.card { background: var(--card); color: var(--card-foreground); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

/* === Forms === */
.form-input { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--input); border-radius: var(--radius); font-size: 1rem; font-family: inherit; background: var(--card); color: var(--foreground); }
.form-input:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 2px rgba(37,99,235,0.15); }
.form-label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--foreground); margin-bottom: 0.25rem; }
.form-group { margin-bottom: 1rem; }
.badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; background: var(--primary); color: var(--primary-foreground); }

/* === Typography === */
.text-xl { font-size: 1.5rem; line-height: 1.3; }
.text-lg { font-size: 1.125rem; line-height: 1.4; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }

/* === Spacing === */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }

/* === Navigation === */
.navbar { background: var(--card); border-bottom: 1px solid var(--border); padding: 1rem 0; position: sticky; top: 0; z-index: 40; }
.nav-brand { font-size: 1.5rem; font-weight: 700; color: var(--foreground); text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-link { color: var(--foreground); text-decoration: none; padding: 0.5rem 0; transition: color 0.2s; }
.nav-link:hover { color: var(--primary); }
.velorvinat-top_mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
@media (max-width: 767px) {
  .velorvinat-top_mobile-menu-btn { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--border); padding: 1rem; }
  .nav-links:not(.hidden) { display: flex; }
}

/* === Hero === */
.hero { background: var(--background); color: var(--foreground); padding: 5rem 0 4rem; }
.hero-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.1; }
.hero-subtitle { font-size: 1.25rem; margin-bottom: 2rem; max-width: 40rem; }
.hero-cta { margin-top: 2rem; }
@media (min-width: 768px) { .hero-title { font-size: 3.5rem; } }

/* === Footer === */
.footer { background: transparent; border-top: 1px solid var(--border); color: var(--foreground); padding: 3rem 0; }
.footer .text-muted { color: var(--muted-foreground); }
.footer-link { display: block; color: var(--primary); text-decoration: none; padding: 0.25rem 0; transition: color 0.2s; }
.footer-link:hover { color: var(--foreground); }

/* === CTA === */
.cta-section { background: var(--background); padding: 7rem 0; }
.cta-section .container { border: 2px solid var(--primary); border-radius: var(--radius); padding: 2rem; }

/* === Icons === */
.icon-box { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: var(--radius); background: rgba(0,0,0,0.05); }
.icon-sm { width: 1.25rem; height: 1.25rem; }
.icon-md { width: 1.75rem; height: 1.75rem; }
.icon-lg { width: 3rem; height: 3rem; }
.logo-img { height: 2.5rem; }

/* === Utilities === */
.hidden { display: none !important; }
.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; }
.flex { display: flex; }
.inline { display: inline; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.space-y-3 > * + * { margin-top: 0.75rem; }

/* === Prose (legal pages) === */
.prose { max-width: 65ch; line-height: 1.75; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.25rem; }
.prose h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 1rem; }
.list-disc { list-style-type: disc; padding-left: 1.5rem; }

/* === Table === */
.table-wrap { overflow-x: auto; }
.table-full { width: 100%; border-collapse: collapse; border: 1px solid var(--border); }
.table-head { background: rgba(0,0,0,0.04); }
.table-cell { border: 1px solid var(--border); padding: 0.75rem 1rem; text-align: left; }

/* === Cookie banner & modal === */
.velorvinat-top_cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--card); border-top: 1px solid var(--border); box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.1); z-index: 50; padding: 1rem; }
.velorvinat-top_cookie-banner.hidden, #velorvinat-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#velorvinat-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
.velorvinat-top_cookie-banner-inner { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
@media (min-width: 768px) { .velorvinat-top_cookie-banner-inner { flex-direction: row; justify-content: space-between; } }
.velorvinat-top_cookie-banner-text { font-size: 0.875rem; color: var(--muted-foreground); }
.velorvinat-top_cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.velorvinat-top_cookie-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 60; }
.velorvinat-top_cookie-modal.hidden, #velorvinat-top_cookie-modal.hidden { display: none !important; }
.velorvinat-top_cookie-modal-overlay { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 1rem; }
.velorvinat-top_cookie-modal-content { background: var(--card); border-radius: var(--radius); max-width: 28rem; width: 100%; padding: 1.5rem; }
.cookie-toggles { display: flex; flex-direction: column; gap: 1rem; }
.velorvinat-top_cookie-toggle-row { display: flex; align-items: center; justify-content: space-between; }
.velorvinat-top_cookie-modal-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.velorvinat-top_cookie-modal-actions .btn-primary, .velorvinat-top_cookie-modal-actions .btn-outline { flex: 1; text-align: center; }

@media print { .no-print, .velorvinat-top_cookie-banner, .velorvinat-top_cookie-modal { display: none; } }


/* === CLASS ALIAS FIXES (injected by engine) === */
.nav-menu { /* alias for .nav-links */ }
.nav-menu { display: flex; gap: 1.5rem; align-items: center; }

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */
