/* ============================================
   BE Gruppen - Financial Planning Design
   Colors: Dark green + lime accent
   ============================================ */

:root {
  --bg: #ffffff;
  --surface: #f5f5f3;
  --primary: #1a3c34;
  --primary-dark: #0f2a24;
  --accent: #c8d400;
  --accent-dark: #a8b400;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e5e5e5;
  --on-primary: #ffffff;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;
  --space-40: 160px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Albert Sans', sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--accent-dark);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-link:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  padding: var(--space-3) var(--space-6);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--on-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: var(--space-3) var(--space-6);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: 14px;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 16px;
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: var(--space-40) var(--space-6);
  background: var(--bg);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-8);
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ============================================
   Stats section
   ============================================ */
.stats-section {
  padding: var(--space-24) var(--space-6);
  background: var(--surface);
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

/* ============================================
   Founded section
   ============================================ */
.founded-section {
  padding: var(--space-32) var(--space-6);
  background: var(--bg);
}

.founded-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.founded-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.founded-text {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   Services section
   ============================================ */
.services-section {
  padding: var(--space-32) var(--space-6);
  background: var(--primary);
  color: var(--on-primary);
}

.services-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  gap: var(--space-6);
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--on-primary);
  letter-spacing: -0.01em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--on-primary);
  padding: var(--space-4) var(--space-6);
}

/* ============================================
   Values section
   ============================================ */
.values-section {
  padding: var(--space-32) var(--space-6);
  background: var(--bg);
}

.values-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.values-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: var(--space-16);
  letter-spacing: -0.01em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.value-card {
  text-align: center;
  padding: var(--space-8);
}

.value-icon {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-3);
}

.value-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  padding: var(--space-32) var(--space-6);
  background: var(--surface);
}

.cta-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.cta-banner-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.cta-banner-content p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.cta-banner-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ============================================
   Team section
   ============================================ */
.team-section {
  padding: var(--space-32) var(--space-6);
  background: var(--bg);
}

.team-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.team-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  gap: var(--space-6);
}

.team-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.team-card {
  text-align: center;
}

.team-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-4);
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-1);
}

.team-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   Testimonial
   ============================================ */
.testimonial-section {
  padding: var(--space-32) var(--space-6);
  background: var(--surface);
}

.testimonial-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.testimonial-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: var(--space-12);
  letter-spacing: -0.01em;
}

.testimonial-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  text-align: center;
}

.testimonial-quote {
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.testimonial-role {
  font-size: 14px;
  color: var(--text-muted);
  text-align: left;
}

/* ============================================
   Insights
   ============================================ */
.insights-section {
  padding: var(--space-32) var(--space-6);
  background: var(--bg);
}

.insights-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.insights-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  gap: var(--space-6);
}

.insights-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.insight-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.insight-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.insight-content {
  padding: var(--space-6);
}

.insight-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.insight-link {
  font-size: 14px;
  color: var(--accent-dark);
  font-weight: 600;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: var(--space-32) var(--space-6);
  background: var(--surface);
}

.faq-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.faq-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-12);
  letter-spacing: -0.01em;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--text);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--text-muted);
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-4);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================================
   News
   ============================================ */
.news-section {
  padding: var(--space-32) var(--space-6);
  background: var(--bg);
}

.news-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.news-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.news-text {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.news-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ============================================
   CTA
   ============================================ */
.section-cta {
  padding: var(--space-32) var(--space-6);
  background: var(--primary);
  color: var(--on-primary);
  text-align: center;
}

.cta-box {
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--on-primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.section-cta .btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.section-cta .btn-primary:hover {
  background: var(--accent-dark);
  color: var(--primary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--primary);
  color: var(--on-primary);
  padding: var(--space-16) var(--space-6) var(--space-8);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-16);
  margin-bottom: var(--space-12);
}

.footer-brand {
  max-width: 320px;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-4);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-primary);
  margin-bottom: var(--space-4);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2);
}

.footer-col a:hover {
  color: var(--on-primary);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    grid-template-columns: 1fr;
  }

  .news-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: var(--space-24) var(--space-6);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.hero-visual,
.stat-card,
.founded-inner,
.service-card,
.value-card,
.cta-banner-inner,
.team-card,
.testimonial-card,
.insight-card,
.faq-item,
.news-inner,
.cta-box {
  animation: fadeInUp var(--duration-slow) var(--ease-out) both;
}

.hero-content { animation-delay: 0ms; }
.hero-visual { animation-delay: 100ms; }
.stat-card:nth-child(1) { animation-delay: 0ms; }
.stat-card:nth-child(2) { animation-delay: 100ms; }
.stat-card:nth-child(3) { animation-delay: 200ms; }
.founded-inner { animation-delay: 0ms; }
.service-card:nth-child(1) { animation-delay: 0ms; }
.service-card:nth-child(2) { animation-delay: 100ms; }
.service-card:nth-child(3) { animation-delay: 200ms; }
.service-card:nth-child(4) { animation-delay: 300ms; }
.value-card:nth-child(1) { animation-delay: 0ms; }
.value-card:nth-child(2) { animation-delay: 100ms; }
.value-card:nth-child(3) { animation-delay: 200ms; }
.value-card:nth-child(4) { animation-delay: 300ms; }
.cta-banner-inner { animation-delay: 0ms; }
.team-card:nth-child(1) { animation-delay: 0ms; }
.team-card:nth-child(2) { animation-delay: 100ms; }
.team-card:nth-child(3) { animation-delay: 200ms; }
.team-card:nth-child(4) { animation-delay: 300ms; }
.testimonial-card { animation-delay: 0ms; }
.insight-card:nth-child(1) { animation-delay: 0ms; }
.insight-card:nth-child(2) { animation-delay: 100ms; }
.insight-card:nth-child(3) { animation-delay: 200ms; }
.faq-item:nth-child(1) { animation-delay: 0ms; }
.faq-item:nth-child(2) { animation-delay: 100ms; }
.faq-item:nth-child(3) { animation-delay: 200ms; }
.faq-item:nth-child(4) { animation-delay: 300ms; }
.news-inner { animation-delay: 0ms; }
.cta-box { animation-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
