/* ═══════════════════════════════════════════
   BRG Software – 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; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -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 {
  position: sticky;
  top: 0;
  z-index: 1000;
  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: 100%;
  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: .75rem .5rem .5rem;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
  z-index: 1100;
}
}
/* Invisible bridge covering the gap so hover doesn't break */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -.75rem;
  left: 0; right: 0;
  height: .75rem;
}
.nav-dropdown.wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.nav-item:hover .nav-dropdown,
.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: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: block; }
}

/* ─── FOOTER ─── */
.footer-grid.footer-grid-5 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand-compact {
  max-width: 260px;
}
.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-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;
}

/* ─── 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.png') 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: 3.5rem; left: 0;
  width: 100%; height: 2px;
  border-top: 2px dashed var(--border);
  left: -50%; width: 50%;
}
.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); } }
@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; }
.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; }
