/* ═══════════════════════════════════════════
   BRG FACILITY SYSTEM – Pure CSS stylesheet
   ═══════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --primary:       #2563eb;
  --primary-dark:  #1d4ed8;
  --dark:          #0f172a;
  --dark-2:        #1e293b;
  --text:          #0f172a;
  --text-muted:    #64748b;
  --bg:            #ffffff;
  --bg-muted:      #f8fafc;
  --border:        #e2e8f0;
  --radius:        0.75rem;
  --radius-lg:     1rem;
  --radius-xl:     1.5rem;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:        0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-xl:     0 20px 25px -5px rgba(0,0,0,.08), 0 10px 10px -5px rgba(0,0,0,.04);
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }
ul, ol { list-style: none; }

/* ─── NAVBAR ─── */
#navbar-root { position: sticky; top: 0; z-index: 100; }

.navbar {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(37,99,235,.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .125rem;
  flex: 1;
}
.nav-item { position: relative; }

.nav-link, .nav-trigger {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .5rem .75rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
  white-space: nowrap;
  font-family: inherit;
}
.nav-link:hover, .nav-trigger:hover { color: var(--primary); background: #eff6ff; }
.nav-link.active { color: var(--primary); }

.nav-chevron { transition: transform .2s; flex-shrink: 0; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: .5rem;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
  z-index: 200;
}
/* Invisible bridge covering the gap between button and dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -.625rem;
  left: 0; right: 0;
  height: .625rem;
}
.nav-dropdown.wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.nav-item.open .nav-dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-item.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown a {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .625rem .75rem;
  text-decoration: none;
  border-radius: calc(var(--radius) - 2px);
  transition: background .12s;
}
.nav-dropdown a:hover { background: #f8fafc; }

.nav-dd-icon {
  width: 32px; height: 32px;
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.nav-dd-text strong { display: block; font-size: .875rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.nav-dd-text span { font-size: .775rem; color: var(--text-muted); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem 1.25rem;
  background: var(--dark);
  color: #fff;
  font-weight: 600;
  font-size: .875rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: background .15s, box-shadow .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--primary); box-shadow: 0 4px 12px rgba(37,99,235,.3); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .375rem;
  color: var(--text);
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile.open { display: block; }
.nav-mobile-section { margin-bottom: 1.25rem; }
.nav-mobile-section h4 {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); margin-bottom: .5rem;
}
.nav-mobile-section a {
  display: block; padding: .5rem .75rem;
  font-size: .9rem; font-weight: 500;
  color: var(--text); text-decoration: none;
  border-radius: var(--radius);
  transition: background .12s, color .12s;
}
.nav-mobile-section a:hover { background: #eff6ff; color: var(--primary); }
.nav-mobile .nav-cta { margin-top: 1rem; display: block; text-align: center; border-radius: var(--radius); }

@media (max-width: 1200px) {
  .navbar,
  #main-nav {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }
  .nav-inner {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    gap: .75rem;
  }
  .nav-logo {
    min-width: 0;
    font-size: 1rem;
  }
  .nav-logo-icon {
    flex: 0 0 36px;
  }
  .nav-hamburger {
    flex: 0 0 auto;
  }
  .nav-mobile {
    width: 100%;
    max-width: 100%;
  }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: block; }
}

@media (max-width: 380px) {
  .nav-inner { padding: 0 .875rem; }
  .nav-logo { gap: .5rem; font-size: .95rem; }
}

/* ─── FOOTER ─── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: #fff; font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .875rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .875rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8rem; flex-wrap: wrap; gap: .5rem;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all .15s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  line-height: 1;
}

.btn-arrow svg {
  display: block;
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(37,99,235,.35); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 20px rgba(37,99,235,.45); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--primary); box-shadow: 0 4px 14px rgba(37,99,235,.3); }
.btn-white { background: #fff; color: var(--dark); box-shadow: var(--shadow); }
.btn-white:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }

/* ─── LAYOUT ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 1.5rem; }
.section-narrow { max-width: 640px; margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--primary); margin-bottom: .75rem;
}

.inline-arrow,
.section-label-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 1;
  vertical-align: -.125em;
}

.inline-arrow svg,
.section-label-arrow svg {
  display: block;
  width: 1em;
  height: 1em;
  stroke: currentColor;
}

/* ─── CARD ─── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #bfdbfe; box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* ─── HERO ─── */
.hero {
  background:
    linear-gradient(100deg, rgba(4,14,50,.88) 0%, rgba(6,22,75,.85) 35%, rgba(8,32,100,.65) 55%, rgba(5,20,70,.10) 100%),
    url('assets/hero-mockup.webp') center center / cover no-repeat;
  padding: 7rem 1.5rem 5rem;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, #f8fafc, transparent);
  pointer-events: none;
}
.hero-inner {
  max-width: 560px;
  display: flex; flex-direction: column;
  align-items: flex-start;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  padding: .3rem .85rem; border-radius: 2rem;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%; background: #f97316;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.45} }

.hero-title {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 900; line-height: 1.1;
  color: #fff; margin-bottom: 1.25rem;
  letter-spacing: -.02em;
}
.hero-title .accent { color: #fbbf24; }
.hero-desc { color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-img-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-img-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.1);
  object-fit: cover; object-position: top;
  max-height: 480px; position: relative;
}

.btn-orange {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #f97316; color: #fff;
  padding: .8rem 1.75rem; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; text-decoration: none;
  border: none; cursor: pointer;
  box-shadow: 0 4px 14px rgba(249,115,22,.45);
  transition: background .2s, transform .15s;
}
.btn-orange:hover { background: #ea6c0a; transform: translateY(-1px); }

@media (max-width: 900px) {
  .hero { padding: 5.5rem 1.5rem 3.5rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
}

/* ─── SOLUTIONS GRID ─── */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.solution-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.75rem; cursor: pointer; text-decoration: none; color: inherit;
}
.solution-emoji {
  width: 60px; height: 60px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem; flex-shrink: 0;
}
.solution-card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.solution-problem-label, .solution-benefit-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem;
}
.solution-problem-label { color: #ef4444; }
.solution-benefit-label { color: var(--primary); }
.solution-card p { font-size: .855rem; line-height: 1.55; color: var(--text-muted); margin: 0; }
.solution-more {
  display: inline-flex; align-items: center; gap: .375rem;
  font-size: .875rem; font-weight: 700; color: var(--primary);
  margin-top: auto; padding-top: .5rem;
}
.solution-more svg { transition: transform .15s; }
.solution-card:hover .solution-more svg { transform: translateX(4px); }

@media (max-width: 1100px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .solutions-grid { grid-template-columns: 1fr; } }

/* ─── WHAT WE DO (home strips) ─── */
.strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem;
}
.strip-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 3rem; align-items: center;
}
.strip-checks { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; }
.check-item { display: flex; align-items: center; gap: .625rem; font-size: .9rem; font-weight: 500; }
.check-item svg { color: var(--primary); flex-shrink: 0; }

@media (max-width: 800px) { .strip-inner { grid-template-columns: 1fr; } }

/* ─── STEPS (How we work) ─── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.step-card { text-align: center; padding: 2.5rem 1.5rem 2rem; position: relative; }
.step-card + .step-card::before {
  content: '';
  position: absolute;
  top: calc(2.5rem + 26px);
  left: -50%;
  width: 100%;
  height: 2px;
  border-top: 2px dashed var(--border);
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-weight: 900; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative; z-index: 1;
  box-shadow: 0 4px 12px rgba(37,99,235,.35);
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step-card p { color: var(--text-muted); font-size: .875rem; line-height: 1.65; }

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card::before { display: none; }
}
@media (max-width: 500px) { .steps-grid { grid-template-columns: 1fr; } }

/* ─── BENEFITS (dark section) ─── */
.benefit-item {
  display: flex; align-items: center; gap: .875rem;
  color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: .875rem 1.125rem;
}
.benefit-item svg { flex-shrink: 0; color: #60a5fa; }

/* ─── DARK CTA ─── */
.dark-cta {
  background: var(--dark); padding: 5rem 1.5rem; text-align: center;
}
.dark-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: 1rem; }
.dark-cta p { color: rgba(255,255,255,.6); line-height: 1.7; max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; }
.dark-cta .actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── PAGE HERO (grey) ─── */
.page-hero {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  padding: 5.5rem 1.5rem 3.5rem;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 900; margin-bottom: .875rem; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.7; max-width: 580px; margin: 0 auto; }

/* ─── PRODUCT PAGES ─── */
.product-hero {
  background: var(--dark); padding: 6rem 1.5rem 4rem;
  text-align: center; position: relative; overflow: hidden;
}
.product-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at top right, rgba(37,99,235,.25), transparent 65%);
  pointer-events: none;
}
.product-hero-inner { position: relative; max-width: 700px; margin: 0 auto; }
.product-hero-icon {
  width: 72px; height: 72px; border-radius: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.product-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 900;
  color: #fff; margin: .875rem 0 1rem; line-height: 1.15;
}
.product-hero p { color: rgba(255,255,255,.65); font-size: 1.1rem; line-height: 1.7; margin-bottom: 2.5rem; }
.product-hero .tag {
  display: inline-block; padding: .3rem .875rem;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.85);
  border-radius: 2rem; font-size: .825rem; font-weight: 600;
}
.product-hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Problem/Solution */
.ps-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; max-width: 960px; margin: 0 auto;
}
.ps-box { border-radius: var(--radius-xl); padding: 2rem; }
.ps-box.problem { background: #fff5f5; border: 1px solid #fecaca; }
.ps-box.solution { background: #f0fdf4; border: 1px solid #bbf7d0; }
.ps-title { display: flex; align-items: center; gap: .625rem; font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.ps-list { display: flex; flex-direction: column; gap: .75rem; }
.ps-list li { display: flex; align-items: flex-start; gap: .625rem; font-size: .9rem; line-height: 1.5; }
.ps-list li svg { flex-shrink: 0; margin-top: 1px; }

@media (max-width: 700px) { .ps-grid { grid-template-columns: 1fr; } }

/* Features grid */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 800px; margin: 0 auto; }
.feature-item {
  display: flex; align-items: center; gap: .75rem;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  font-weight: 500; font-size: .95rem;
}
.feature-item svg { flex-shrink: 0; }

@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

/* Benefits detail */
.benefits-detail {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
  max-width: 1000px; margin: 0 auto;
}
.benefit-card { padding: 1.5rem; }
.benefit-card strong { display: flex; align-items: center; gap: .625rem; font-size: .95rem; margin-bottom: .5rem; }
.benefit-card p { color: var(--text-muted); font-size: .875rem; line-height: 1.6; margin: 0; }

@media (max-width: 700px) { .benefits-detail { grid-template-columns: 1fr; } }

/* Other products grid */
.other-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.other-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem; text-decoration: none; color: inherit;
}
.other-card-icon { width: 44px; height: 44px; border-radius: .75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.other-card strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.other-card span { font-size: .825rem; color: var(--text-muted); display: block; margin-bottom: .375rem; }
.other-card .more { font-size: .825rem; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: .25rem; }

@media (max-width: 800px) { .other-grid { grid-template-columns: 1fr; } }

/* ─── INDUSTRY PAGE ─── */
.industry-hero {
  background: var(--dark); padding: 6rem 1.5rem 4rem;
}
.industry-hero-inner { max-width: 1280px; margin: 0 auto; }
.industry-hero-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.industry-hero h1 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 900; color: #fff; margin-bottom: .75rem; }
.industry-hero p { color: rgba(255,255,255,.65); font-size: 1.1rem; line-height: 1.7; max-width: 600px; margin-bottom: 2rem; }
.industry-hero .hero-actions { margin-top: 0; }

.industry-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
@media (max-width: 700px) { .industry-two-col { grid-template-columns: 1fr; } }

.industry-box { border-radius: var(--radius-lg); padding: 2rem; }
.industry-box.problems { background: #fff5f5; border: 1px solid #fecaca; }
.industry-box.benefits { background: #f0fdf4; border: 1px solid #bbf7d0; }
.industry-box h3 { display: flex; align-items: center; gap: .625rem; font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.industry-box ul { display: flex; flex-direction: column; gap: .75rem; }
.industry-box li { display: flex; align-items: flex-start; gap: .625rem; font-size: .9rem; line-height: 1.5; }

/* ─── PARTNER PAGE ─── */
.partner-hero {
  background: var(--dark); padding: 7rem 1.5rem 5rem;
  text-align: center; position: relative; overflow: hidden;
}
.partner-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(ellipse at top right, rgba(37,99,235,.3), transparent 65%);
  pointer-events: none;
}
.partner-hero > * { position: relative; }
.partner-hero-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem; color: #fff;
}
.partner-hero h1 { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 900; color: #fff; margin-bottom: 1rem; }
.partner-hero p { color: rgba(255,255,255,.65); font-size: 1.1rem; line-height: 1.7; max-width: 580px; margin: 0 auto 2.5rem; }
.partner-hero .tag { background: rgba(255,255,255,.12); color: rgba(255,255,255,.85); display: inline-block; padding: .3rem .875rem; border-radius: 2rem; font-size: .825rem; font-weight: 600; margin-bottom: 1.25rem; }

/* Benefits 4-col */
.benefits-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.benefit-box { padding: 1.75rem; text-align: center; }
.benefit-box .icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: #eff6ff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.125rem;
}
.benefit-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.benefit-box p { color: var(--text-muted); font-size: .875rem; line-height: 1.6; }

@media (max-width: 900px) { .benefits-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .benefits-4 { grid-template-columns: 1fr; } }

/* Flow diagram */
.flow-img {
  max-width: 900px; margin: 2rem auto 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.flow-img img { width: 100%; display: block; }

/* Tiers table */
.tiers-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.tiers-table th {
  text-align: left; padding: .875rem 1.25rem;
  background: var(--bg-muted);
  font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); font-weight: 700;
}
.tiers-table td { padding: 1rem 1.25rem; border-top: 1px solid var(--border); font-size: .95rem; }
.tiers-table td:first-child { font-weight: 600; }
.tiers-table .commission { color: var(--primary); font-weight: 700; font-size: 1.05rem; }
.tiers-table tr:nth-child(even) td { background: var(--bg-muted); }

/* Calculator */
.calculator { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2.5rem; box-shadow: var(--shadow-xl); max-width: 800px; margin: 0 auto; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.calc-sliders { display: flex; flex-direction: column; gap: 2rem; }
.calc-label-row { display: flex; justify-content: space-between; margin-bottom: .5rem; font-size: .9rem; }
.calc-label-row span { font-weight: 700; color: var(--primary); }
.calc-label-row label { color: var(--text-muted); }
input[type="range"] {
  width: 100%; height: 6px; background: var(--border);
  border-radius: 3px; outline: none; appearance: none; cursor: pointer;
  accent-color: var(--primary);
}
.calc-select {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: .625rem .875rem; font-size: .9rem; width: 100%;
  font-family: inherit; color: var(--text); background: #fff;
  outline: none; transition: border-color .15s;
}
.calc-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.calc-result {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe; border-radius: var(--radius-lg);
  padding: 2rem; text-align: center;
}
.calc-result-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: .5rem; }
.calc-result-amount { font-size: 3rem; font-weight: 900; color: var(--text); }
.calc-result-amount span { font-size: 1.4rem; color: var(--text-muted); font-weight: 600; }
.calc-result-annual { border-top: 1px solid #bfdbfe; padding-top: 1rem; margin-top: 1.25rem; font-size: .875rem; color: var(--text-muted); }
.calc-result-annual strong { font-size: 1.2rem; color: var(--text); display: block; }

@media (max-width: 640px) { .calc-grid { grid-template-columns: 1fr; } }

/* ─── FORMS ─── */
.form-stack { display: flex; flex-direction: column; gap: 1.25rem; max-width: 640px; margin: 0 auto; }
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-group label { font-size: .875rem; font-weight: 600; }
.required-marker { color: #dc2626; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ─── CONTACT ─── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 4rem; max-width: 1100px; margin: 0 auto;
  padding: 5rem 1.5rem; align-items: start;
}
.contact-info h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.contact-info > p { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: .875rem; }
.contact-item-icon {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: #eff6ff; color: var(--primary);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-text strong { display: block; font-size: .875rem; font-weight: 700; margin-bottom: .125rem; }
.contact-item-text span { color: var(--text-muted); font-size: .9rem; }
.contact-schedule {
  padding: 1.5rem; background: var(--bg-muted);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.contact-schedule strong { display: block; margin-bottom: .375rem; font-size: .95rem; }
.contact-schedule span { color: var(--text-muted); font-size: .875rem; line-height: 1.7; display: block; }

@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.5rem; } }

/* ─── ABOUT ─── */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.about-card { padding: 2rem; text-align: center; }
.about-card .icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: #eff6ff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.about-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.about-card p { color: var(--text-muted); font-size: .875rem; line-height: 1.65; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stat-card { padding: 1.75rem; text-align: center; }
.stat-card .value { font-size: 2.25rem; font-weight: 900; color: var(--primary); }
.stat-card .label { font-size: .85rem; color: var(--text-muted); font-weight: 500; margin-top: .25rem; }

@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }

/* ─── NOT FOUND ─── */
.not-found {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 60vh; text-align: center; padding: 2rem; gap: .75rem;
}
.not-found .big { font-size: 6rem; font-weight: 900; color: #e2e8f0; line-height: 1; }
.not-found h2 { font-size: 1.5rem; font-weight: 700; }
.not-found p { color: var(--text-muted); margin-bottom: 1.25rem; }


/* === Moved from inline <style> blocks === */

/* Moved from catering-suite.php id="brg-nav-runtime-fix" */
.navbar, #main-nav { position: sticky; top: 0; z-index: 10000; }
  .nav-inner { position: relative; z-index: 10001; }
  .nav-item { position: relative; }
  .nav-dropdown { z-index: 10002; }
  .nav-item.open > .nav-dropdown,
  .nav-item:hover > .nav-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
  .nav-mobile.open {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  main, .hero, .page-hero, .partner-hero { position: relative; z-index: 1; }

/* Moved from catering-suite.php from catering-suite.php */
.suite-hero{background:var(--dark);padding:6rem 1.5rem 4rem;text-align:center;color:#fff;position:relative;overflow:hidden;}
.suite-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 80% 60% at 50% -10%,rgba(37,99,235,.35) 0%,transparent 70%);pointer-events:none;}
.suite-hero-inner{position:relative;z-index:1;}
.suite-badge{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);border-radius:99px;padding:.4rem 1rem;font-size:.85rem;font-weight:600;color:rgba(255,255,255,.85);margin-bottom:1.5rem;}
.suite-hero h1{font-size:clamp(1.8rem,4vw,2.75rem);font-weight:900;line-height:1.2;margin-bottom:1rem;max-width:760px;margin-left:auto;margin-right:auto;}
.suite-hero .sub{font-size:1.05rem;color:rgba(255,255,255,.7);max-width:620px;margin:0 auto 2rem;line-height:1.75;}
.suite-hero .note{font-size:.875rem;color:rgba(255,255,255,.5);max-width:560px;margin:1.5rem auto 0;line-height:1.6;}
.prob-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;}
.prob-item{display:flex;align-items:flex-start;gap:.75rem;padding:1rem 1.25rem;background:#fff;border:1px solid #fee2e2;border-radius:var(--radius);color:#dc2626;font-size:.9rem;line-height:1.5;}
.prob-item svg{flex-shrink:0;margin-top:.1rem;}
.sol-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.25rem;}
.sol-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow);}
.sol-card-num{width:36px;height:36px;border-radius:50%;background:#eff6ff;color:var(--primary);font-weight:800;font-size:.875rem;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;}
.sol-card h3{font-size:1rem;font-weight:700;margin-bottom:.375rem;}
.sol-card p{color:var(--text-muted);font-size:.875rem;line-height:1.6;margin:0;}
.suite-pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;max-width:1000px;margin:0 auto;}
.suite-pricing-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:2rem;position:relative;box-shadow:var(--shadow);}
.suite-pricing-card.recommended{border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.1),var(--shadow-xl);}
.suite-pricing-badge{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:var(--primary);color:#fff;font-size:.75rem;font-weight:700;padding:.3rem .9rem;border-radius:99px;white-space:nowrap;}
.suite-pricing-name{font-size:1.1rem;font-weight:800;margin-bottom:.25rem;}
.suite-pricing-amount{font-size:2.2rem;font-weight:900;color:var(--primary);line-height:1;}
.suite-pricing-amount span{font-size:.9rem;font-weight:500;color:var(--text-muted);}
.suite-pricing-desc{font-size:.85rem;color:var(--text-muted);margin:.5rem 0 1.25rem;}
.suite-pricing-list{list-style:none;padding:0;margin:0 0 1.5rem;}
.suite-pricing-list li{display:flex;align-items:flex-start;gap:.5rem;font-size:.875rem;padding:.35rem 0;border-bottom:1px solid #f1f5f9;color:#374151;line-height:1.5;}
.suite-pricing-list li svg{flex-shrink:0;margin-top:.15rem;color:var(--primary);}
.suite-pricing-rec{font-size:.8rem;color:var(--text-muted);font-style:italic;margin-top:.5rem;}
.suite-setup-box{background:linear-gradient(135deg,#f8fafc,#eff6ff);border:1px solid #bfdbfe;border-radius:var(--radius-lg);padding:2rem;max-width:700px;margin:2.5rem auto 0;text-align:center;}
.fit-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;max-width:900px;margin:0 auto;}
.fit-box{padding:1.5rem;border-radius:var(--radius-lg);border:1px solid;}
.fit-box.yes{background:#f0fdf4;border-color:#bbf7d0;}
.fit-box.no{background:#fff1f2;border-color:#fecdd3;}
.fit-box h3{font-size:.95rem;font-weight:700;margin-bottom:.75rem;}
.fit-box ul{list-style:none;padding:0;margin:0;}
.fit-box ul li{display:flex;align-items:flex-start;gap:.5rem;font-size:.875rem;padding:.3rem 0;line-height:1.5;}
.roi-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.75rem;max-width:900px;margin:0 auto;}
.roi-item{display:flex;align-items:flex-start;gap:.75rem;padding:1rem 1.25rem;background:#fff;border:1px solid #e0e7ff;border-radius:var(--radius);font-size:.9rem;line-height:1.5;}
.roi-item svg{flex-shrink:0;color:var(--primary);}
.cta-mid{text-align:center;margin:2.5rem 0;}
@media(max-width:640px){.fit-grid{grid-template-columns:1fr;}}

/* Moved from gdpr.php from gdpr.php */
.legal-hero{background:#f8fafc;border-bottom:1px solid var(--border);padding:4rem 1.5rem 2.5rem;text-align:center;}
.legal-hero .section-label{margin-bottom:.75rem;}
.legal-hero h1{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:900;margin-bottom:.5rem;}
.legal-hero p{color:var(--text-muted);font-size:.9rem;}
.legal-body{max-width:820px;margin:0 auto;padding:3rem 1.5rem 5rem;}
.legal-body h2{font-size:1.15rem;font-weight:800;margin:2.5rem 0 .75rem;color:var(--dark);}
.legal-body h3{font-size:1rem;font-weight:700;margin:1.5rem 0 .5rem;}
.legal-body p,.legal-body li{color:#374151;font-size:.9rem;line-height:1.8;margin-bottom:.5rem;}
.legal-body ul{padding-left:1.25rem;margin-bottom:1rem;}
.legal-body a{color:var(--primary);text-decoration:underline;}
.legal-firm-box{background:#f8fafc;border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem 1.5rem;margin-bottom:2rem;font-size:.875rem;line-height:1.8;color:#374151;}
.legal-firm-box strong{color:var(--dark);}
.legal-cookie-table{width:100%;border-collapse:collapse;font-size:.8rem;margin:1rem 0;}
.legal-cookie-table th{background:var(--dark);color:#fff;padding:.6rem .75rem;text-align:left;font-weight:600;}
.legal-cookie-table td{padding:.5rem .75rem;border-bottom:1px solid #e2e8f0;vertical-align:top;}
.legal-cookie-table tr:nth-child(even) td{background:#f8fafc;}

/* Moved from index.php id="brg-index-nav-critical-fix" */
/* Critical fix pentru homepage: meniul trebuie să stea peste hero și peste cardurile din pagină */
  #main-nav.navbar {
    position: sticky;
    top: 0;
    z-index: 99999;
    isolation: isolate;
  }

  #main-nav .nav-inner {
    position: relative;
    z-index: 100000;
  }

  #main-nav .nav-item {
    position: relative;
  }

  #main-nav .nav-dropdown {
    z-index: 100001;
    pointer-events: none;
  }

  #main-nav .nav-item:hover > .nav-dropdown,
  #main-nav .nav-item.open > .nav-dropdown,
  #main-nav .nav-trigger:focus + .nav-dropdown,
  #main-nav .nav-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  #main-nav .nav-mobile {
    z-index: 100002;
  }

  #main-nav .nav-mobile.open {
    display: block;
  }

  .hero,
  .hero-inner,
  .hero-content,
  main {
    position: relative;
    z-index: 1;
  }

/* Moved from industrii/logistica.php id="brg-nav-hard-fix" */
.navbar{position:sticky!important;top:0!important;z-index:999999!important}.nav-inner{position:relative!important;z-index:1000000!important}.nav-links{position:relative!important;z-index:1000001!important}.nav-item{position:relative!important}.nav-dropdown{position:absolute!important;top:calc(100% + 10px)!important;left:0!important;z-index:1000002!important;display:none!important;pointer-events:auto!important}.nav-dropdown.wide{min-width:560px!important}.nav-item:hover>.nav-dropdown,.nav-item:focus-within>.nav-dropdown,.nav-item.open>.nav-dropdown{display:block!important}.nav-item:hover>.nav-dropdown.wide,.nav-item:focus-within>.nav-dropdown.wide,.nav-item.open>.nav-dropdown.wide{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.nav-mobile{z-index:1000002!important}@media(max-width:900px){.nav-links{display:none!important}.nav-inner>.nav-cta{display:none!important}.nav-hamburger{display:flex!important}.nav-mobile{display:none!important}.nav-mobile.open{display:block!important}}

/* Moved from produse/brg-retail.php id="brg-nav-functional-fix" */
.navbar{position:sticky;top:0;z-index:9999;}
  .nav-inner{position:relative;z-index:10000;}
  .nav-item{position:relative;}
  .nav-dropdown{z-index:10001;pointer-events:none;}
  .nav-item.open>.nav-dropdown,.nav-item:hover>.nav-dropdown{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important;display:grid!important;}
  .nav-item.open>.nav-dropdown:not(.wide),.nav-item:hover>.nav-dropdown:not(.wide){display:block!important;}
  .nav-mobile.open{display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;}
  @media (max-width:900px){.nav-links,.nav-cta{display:none!important}.nav-hamburger{display:flex!important}.nav-mobile.open{display:block!important}}

/* Moved from Termeni/*.php standalone legal pages */
body.standalone-legal {
  --primary: #7B4214;
  --primary-hover: #5C3010;
  --bg: #FFFFFF;
  --card: #FAF8F5;
  --muted: #F2EAE0;
  --border: #E4D8CB;
  --fg: #1C110A;
  --fg-muted: #6F5A49;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,.08);
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
}
body.standalone-legal a { color: inherit; text-decoration: none; }
body.standalone-legal .hero { background: linear-gradient(160deg, var(--muted) 0%, #fff 70%); padding: 56px 20px 24px; border-bottom: 1px solid var(--border); }
body.standalone-legal .container { max-width: 980px; margin: 0 auto; padding: 0 20px 48px; }
body.standalone-legal .hero .container { padding-bottom: 0; }
body.standalone-legal .label { display: inline-block; background: var(--card); color: var(--primary); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
body.standalone-legal h1 { margin: 0 0 12px; font-size: 40px; line-height: 1.15; color: var(--primary); }
body.standalone-legal h2 { margin: 36px 0 12px; font-size: 24px; color: var(--fg); }
body.standalone-legal h3 { margin: 24px 0 10px; font-size: 18px; color: var(--fg); }
body.standalone-legal p, body.standalone-legal li { color: var(--fg-muted); font-size: 16px; }
body.standalone-legal .card { margin-top: 28px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
body.standalone-legal ul { padding-left: 22px; }
body.standalone-legal .meta { font-size: 14px; color: var(--fg-muted); margin-top: 8px; }
body.standalone-legal .notice { background: #fff8f1; border: 1px solid #f0d1b2; color: #7a4b22; padding: 14px 16px; border-radius: 10px; margin: 20px 0; font-size: 14px; }
body.standalone-legal .table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--border); border-radius: 10px; }
body.standalone-legal table { width: 100%; border-collapse: collapse; background: #fff; }
body.standalone-legal th, body.standalone-legal td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
body.standalone-legal th { background: var(--card); color: var(--primary); }
body.standalone-legal .footer { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--fg-muted); }
body.standalone-legal strong { color: var(--fg); }
body.standalone-legal.has-legal-brand,
body.standalone-legal.has-legal-brand h1,
body.standalone-legal.has-legal-brand h2,
body.standalone-legal.has-legal-brand h3,
body.standalone-legal.has-legal-brand .legal-brand,
body.standalone-legal.has-legal-brand .legal-site-footer strong { font-family: 'Playfair Display', serif; }
body.standalone-legal.has-legal-brand { font-family: 'Plus Jakarta Sans', sans-serif; }
body.standalone-legal .legal-topbar { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
body.standalone-legal .legal-topbar-inner { max-width: 980px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body.standalone-legal .legal-brand { font-size: 26px; font-weight: 700; color: var(--primary); text-decoration: none; }
body.standalone-legal .legal-back-btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 999px; background: var(--primary); color: #fff; text-decoration: none; font-size: 14px; font-weight: 700; transition: .2s ease; box-shadow: 0 4px 16px rgba(123,66,20,.18); }
body.standalone-legal .legal-back-btn:hover { background: var(--primary-hover); }
body.standalone-legal .legal-site-footer { margin-top: 48px; border-top: 1px solid var(--border); background: var(--card); }
body.standalone-legal .legal-site-footer-inner { max-width: 980px; margin: 0 auto; padding: 28px 20px 36px; display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap; }
body.standalone-legal .legal-site-footer strong { color: var(--primary); font-size: 22px; }
body.standalone-legal .legal-site-footer p { margin-top: 8px; max-width: 460px; font-size: 14px; color: var(--fg-muted); }
body.standalone-legal .legal-footer-links { display: flex; flex-direction: column; gap: 10px; }
body.standalone-legal .legal-footer-links a { color: var(--fg); text-decoration: none; font-size: 14px; transition: .2s ease; }
body.standalone-legal .legal-footer-links a:hover { color: var(--primary); }
@media (max-width: 768px) {
  body.standalone-legal h1 { font-size: 30px; }
  body.standalone-legal .card { padding: 20px; }
  body.standalone-legal .container { padding: 0 16px 36px; }
  body.standalone-legal .hero { padding: 42px 16px 18px; }
  body.standalone-legal .legal-topbar-inner,
  body.standalone-legal .legal-site-footer-inner { padding-left: 16px; padding-right: 16px; }
  body.standalone-legal .legal-brand { font-size: 22px; }
  body.standalone-legal .legal-back-btn { font-size: 13px; padding: 10px 14px; }
}
.form-error{margin-top:1rem;color:#b91c1c;font-size:.9rem;font-weight:600}
.cookie-consent{position:fixed;z-index:9999;left:1rem;right:1rem;bottom:calc(5.5rem + env(safe-area-inset-bottom, 0px));max-width:920px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1.25rem;border:1px solid var(--border);border-radius:1rem;background:#fff;box-shadow:0 18px 50px rgba(15,23,42,.18)}
.cookie-consent p{margin:.35rem 0 0;color:var(--text-muted);font-size:.9rem}.cookie-actions{display:flex;gap:.65rem;flex-shrink:0}.cookie-actions button{padding:.7rem 1rem;border:1px solid var(--border);border-radius:.65rem;background:#fff;cursor:pointer;font:inherit;font-weight:600}.cookie-actions .cookie-accept{border-color:var(--primary);background:var(--primary);color:#fff}
@media(max-width:700px){.cookie-consent{align-items:stretch;flex-direction:column}.cookie-actions{display:grid;grid-template-columns:1fr 1fr}}

/* WhatsApp widget styles are served with the shared footer. */
