/* ============================================
   BP-MANAGEMENT – Shared Stylesheet
   Aesthetic: Refined German Engineering
   Palette: Deep slate + warm sand + accent green
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg:          #0d1117;
  --bg-alt:      #141b24;
  --bg-card:     #1a2332;
  --border:      #243044;
  --accent:      #4ade80;
  --accent-dark: #22c55e;
  --sand:        #c8a97e;
  --text:        #e8edf3;
  --text-muted:  #7a90a8;
  --heading:     #f0f4f8;
  --nav-h:       72px;
  --radius:      12px;
  --max:         1140px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: 'DM Sans', sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sand); }

p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }

ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .45rem; }

/* ---- LAYOUT ---- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-sm { padding: 56px 0; }

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(13,17,23,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--heading) !important;
  letter-spacing: -0.02em;
}
.nav__logo span { color: var(--accent); }
.nav__links {
  display: flex; gap: 32px; list-style: none; padding: 0;
}
.nav__links li { margin: 0; }
.nav__links a {
  font-size: .875rem; font-weight: 500; letter-spacing: .04em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color .2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--accent); }
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); transition: .3s;
}
.nav__mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg-alt);
  padding: 32px 24px;
  flex-direction: column; gap: 8px;
  z-index: 99;
}
.nav__mobile a {
  display: block; padding: 14px 0;
  font-size: 1.1rem; font-weight: 500;
  color: var(--text); border-bottom: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh; padding-top: var(--nav-h);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(74,222,128,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(200,169,126,.05) 0%, transparent 50%),
    linear-gradient(160deg, #0d1117 0%, #141b24 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .035;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__content {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 24px;
}
.hero__eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 2px; background: var(--accent);
}
.hero__title { margin-bottom: 24px; }
.hero__title em { font-style: italic; color: var(--sand); }
.hero__sub {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 540px; margin-bottom: 40px; line-height: 1.8;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  cursor: pointer; border: none; transition: all .25s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent); color: #0d1117;
}
.btn-primary:hover {
  background: var(--accent-dark); color: #0d1117;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74,222,128,.25);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent); color: var(--accent);
  transform: translateY(-2px);
}

/* ---- CARDS ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .25s, transform .25s;
}
.card:hover {
  border-color: rgba(74,222,128,.35);
  transform: translateY(-4px);
}
.card__icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(74,222,128,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}
.card__title { margin-bottom: 12px; }
.card__text { color: var(--text-muted); font-size: .95rem; }

/* ---- GRID ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h4 { margin-bottom: 10px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ---- DIVIDER ---- */
.divider {
  height: 1px; background: var(--border);
  margin: 0; border: none;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 140px 0 80px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(74,222,128,.06) 0%, transparent 60%),
    linear-gradient(160deg, #0d1117 0%, #141b24 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h4 { margin-bottom: 10px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p  { color: var(--text-muted); max-width: 560px; font-size: 1.1rem; }

/* ---- LIST STYLED ---- */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
  color: var(--text);
  font-size: .95rem;
}
.check-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

/* ---- BADGE ---- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-green { background: rgba(74,222,128,.12); color: var(--accent); }
.badge-sand  { background: rgba(200,169,126,.12); color: var(--sand); }

/* ---- CONTACT BLOCK ---- */
.contact-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.contact-bar h3 { margin-bottom: 8px; }
.contact-bar p  { color: var(--text-muted); margin: 0; }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--heading); margin-bottom: 12px;
  display: block;
}
.footer__logo span { color: var(--accent); }
.footer__desc { color: var(--text-muted); font-size: .9rem; }
.footer__heading {
  font-size: .75rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sand);
  margin-bottom: 16px;
}
.footer__links { list-style: none; padding: 0; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: var(--text-muted); font-size: .9rem; transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy { color: var(--text-muted); font-size: .82rem; }

/* ---- STAT COUNTER ---- */
.stat-block { text-align: center; padding: 32px 24px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700;
  color: var(--accent); display: block;
}
.stat-label { color: var(--text-muted); font-size: .9rem; }

/* ---- ACCORDION ---- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  text-align: left;
  color: var(--heading);
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 500;
}
.accordion-trigger span.icon {
  color: var(--accent); font-size: 1.4rem;
  transition: transform .3s;
}
.accordion-trigger.open span.icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-body.open { max-height: 1000px; }
.accordion-body-inner {
  padding: 0 0 20px;
  color: var(--text-muted);
}

/* ---- STEP LIST ---- */
.steps { counter-reset: steps; list-style: none; padding: 0; }
.steps li {
  counter-increment: steps;
  display: flex; gap: 20px;
  margin-bottom: 32px;
}
.steps li::before {
  content: counter(steps, decimal-leading-zero);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--accent);
  min-width: 40px;
  padding-top: 2px;
}

/* ---- ANIMATE IN ---- */
.fade-up {
  opacity: 0; transform: translateY(28px);
  animation: fadeUp .65s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }
.delay-5 { animation-delay: .5s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}
@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .contact-bar { padding: 32px 24px; }
  .hero__cta { flex-direction: column; }
  .btn { justify-content: center; }
}
