/* ============ Biznext Group — design system ============ */
:root {
  --bg: #EFEDFC;
  --surface: #FFFFFF;
  --ink: #201847;
  --body: #57536F;
  --muted: #7A76A0;
  --primary: #2E2169;
  --primary-hover: #241A55;
  --primary-soft: #E7E2FB;
  --border: #E2DDF5;
  --accent-green: #3E9B6C;
  --radius: 20px;
  --shadow-sm: 0 4px 18px rgba(46, 33, 105, 0.06);
  --shadow-md: 0 14px 44px rgba(46, 33, 105, 0.10);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

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

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

a { color: inherit; text-decoration: none; }

.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.container-narrow { width: min(820px, calc(100% - 48px)); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--primary); color: #fff; padding: 10px 18px;
  border-radius: 0 0 12px 0; z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(46, 33, 105, 0.28); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { background: transparent; color: var(--primary); border-color: #C6BEEB; }
.btn-outline:hover { border-color: var(--primary); background: rgba(46, 33, 105, 0.05); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: var(--primary-soft); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 12px 22px; font-size: 14px; }

:focus-visible { outline: 3px solid #8B7FE8; outline-offset: 2px; border-radius: 6px; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(239, 237, 252, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(46, 33, 105, 0.06); }

.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; display: block; }
.site-footer .brand-logo { height: 46px; }

.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav > a:not(.btn) {
  font-size: 15px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0;
}
.site-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--primary); border-radius: 2px; transition: right .22s ease;
}
.site-nav > a:not(.btn):hover::after { right: 0; }

.header-cta { margin-left: 4px; }
.nav-cta { display: none; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; color: var(--ink);
  width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ============ Hero ============ */
.hero { padding: 84px 0 40px; }
.hero-copy { text-align: center; max-width: 780px; margin: 0 auto; }

.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary);
  background: var(--primary-soft); border: 1px solid #D8D0F6;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 26px;
}

h1, h2, h3 { color: var(--ink); letter-spacing: -0.025em; }

h1 { font-size: clamp(40px, 5.6vw, 64px); font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; line-height: 1.14; }
h3 { font-size: 20px; font-weight: 700; }

.lead { font-size: clamp(16px, 1.6vw, 18.5px); margin-top: 22px; color: var(--body); }

.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

.hero-media { position: relative; margin-top: 64px; }
.hero-media img {
  width: 100%; border-radius: 28px; box-shadow: var(--shadow-md);
  border: 6px solid #fff;
}

.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 13px 18px; border: 1px solid var(--border);
}
.hero-chip strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.25; }
.hero-chip small { display: block; font-size: 12px; color: var(--muted); line-height: 1.25; }
.chip-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary); flex: none;
}
.chip-left { left: -14px; top: 34px; }
.chip-right { right: -14px; bottom: 40px; }

/* ============ Stats ============ */
.stats { padding: 48px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-number { display: block; font-size: 40px; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1.1; }
.stat-label { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section-alt { position: relative; }
.section-alt::before {
  content: ""; position: absolute; inset: 24px 0; background: rgba(255, 255, 255, 0.45);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  pointer-events: none;
}
.section-alt > .container { position: relative; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-sub { margin-top: 16px; font-size: 16.5px; }

/* ============ About ============ */
.about-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  box-shadow: var(--shadow-md); padding: clamp(32px, 5vw, 64px);
  max-width: 860px; margin: 0 auto;
}
.about-lead { font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; color: var(--ink); line-height: 1.45; margin-bottom: 18px; }
.about-card > p:not(.about-lead) { font-size: 16.5px; }

.check-list { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-8.5' fill='none' stroke='%232E2169' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ============ Divisions ============ */
.division-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.division-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px;
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.division-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.division-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.division-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.division-card:hover .division-media img { transform: scale(1.045); }
.division-badge {
  position: absolute; left: 18px; bottom: -19px; width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; border-radius: 13px;
  border: 3px solid #fff; box-shadow: 0 8px 18px rgba(46, 33, 105, 0.3);
}
.division-body { padding: 32px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.division-body h3 { font-size: 21px; }
.division-tagline { font-size: 13.5px; font-weight: 600; color: var(--primary); margin: 4px 0 14px; }
.division-body > p:not(.division-tagline) { font-size: 15px; }

.tick-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); font-weight: 500; }
.tick-list li::before {
  content: ""; flex: none; width: 19px; height: 19px; margin-top: 1px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-8.5' fill='none' stroke='%232E2169' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip-row span {
  font-size: 12px; font-weight: 600; color: var(--primary);
  background: var(--primary-soft); border-radius: 999px; padding: 6px 12px;
}
.text-link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 24px;
  font-size: 14.5px; font-weight: 700; color: var(--primary);
}
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(4px); }

/* ============ Strengths ============ */
.strength-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.strength-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.strength-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.strength-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--primary-soft); color: var(--primary); margin-bottom: 20px;
}
.strength-card h3 { font-size: 18px; margin-bottom: 10px; }
.strength-card p { font-size: 14.5px; }

/* ============ Testimonials ============ */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 18px;
}
.stars { display: flex; gap: 4px; color: #F0A32B; }
.quote-card blockquote { font-size: 15.5px; color: var(--ink); font-weight: 500; line-height: 1.6; flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: 13px; }
.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
}
.quote-card figcaption strong { display: block; font-size: 14.5px; color: var(--ink); }
.quote-card figcaption small { display: block; font-size: 13px; color: var(--muted); }

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 21px 24px; font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq-chevron { flex: none; color: var(--primary); transition: transform .25s ease; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.faq-answer p { padding: 0 24px 22px; font-size: 15px; }

/* ============ CTA ============ */
.cta-card {
  background: linear-gradient(135deg, #2E2169 0%, #43318F 100%);
  border-radius: 32px; padding: clamp(36px, 5vw, 68px);
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center;
  box-shadow: 0 24px 60px rgba(46, 33, 105, 0.35); position: relative; overflow: hidden;
}
.cta-card::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.06); pointer-events: none;
}
.cta-card::after {
  content: ""; position: absolute; right: 60px; bottom: -160px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(255, 255, 255, 0.05); pointer-events: none;
}
.cta-copy h2 { color: #fff; }
.cta-copy p { color: #CFC9F2; margin-top: 16px; font-size: 16.5px; }
.cta-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.cta-contact { list-style: none; display: grid; gap: 20px; position: relative; z-index: 1; }
.cta-contact li { display: flex; align-items: center; gap: 15px; }
.cta-contact-icon {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.cta-contact small { display: block; font-size: 12.5px; color: #AFA7E2; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.cta-contact a, .cta-contact em { font-style: normal; font-size: 16px; font-weight: 600; color: #fff; }
.cta-contact a:hover { text-decoration: underline; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 0; background: #EAE7FA; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px;
}
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 320px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--border); color: var(--primary); transition: background .2s ease, color .2s ease;
}
.socials a:hover { background: var(--primary); color: #fff; }

.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer-col a { font-size: 14.5px; font-weight: 500; color: var(--ink); width: fit-content; }
.footer-col a:hover { color: var(--primary); text-decoration: underline; }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 24px; padding-bottom: 28px;
  font-size: 13.5px; color: var(--muted);
}

/* ============ Reveal animations ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============ Responsive ============ */
@media (max-width: 1020px) {
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .division-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .quote-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav {
    position: absolute; top: 76px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border: 1px solid var(--border); border-radius: 20px;
    padding: 16px; box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-nav > a:not(.btn) { padding: 12px 14px; border-radius: 12px; }
  .site-nav > a:not(.btn):hover { background: var(--primary-soft); }
  .site-nav > a:not(.btn)::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 8px; }
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 56px; }
  .hero-chip { display: none; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .btn { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 22px 14px; }
  .stat-number { font-size: 32px; }
}
