/* ============================================================
   BS ACCUSOFT — Shared Design System
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── CSS Variables ── */
:root {
  --ink:       #0a0a0f;
  --paper:     #f5f3ee;
  --alt-bg:    #f0ede6;
  --white:     #ffffff;
  --accent:    #e8410a;
  --accent-lt: #ff7040;
  --accent2:   #1a56db;
  --muted:     #6b6b72;
  --border:    rgba(10,10,15,0.1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.09);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.13);
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'DM Sans', sans-serif; background: var(--paper); color: var(--ink); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p { line-height: 1.75; color: var(--muted); }

/* ── Utility ── */
.section-tag {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.11em; color: var(--accent);
  margin-bottom: 0.8rem;
}
.section-tag::before { content: '—  '; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 2rem;
  font-size: 0.92rem; font-weight: 500;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); box-shadow: 0 8px 24px rgba(232,65,10,0.3); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #c73508; box-shadow: 0 8px 24px rgba(232,65,10,0.35); }

/* ── Reveal Animations ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Page Hero Banner ── */
.page-hero {
  background: var(--ink);
  padding: 10rem 2rem 6rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(245,243,238,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(245,243,238,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero::after {
  content: '';
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,65,10,0.18) 0%, transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
}
.page-hero .section-tag { position: relative; z-index: 1; }
.page-hero h1 { color: var(--paper); position: relative; z-index: 1; }
.page-hero p { color: rgba(245,243,238,0.6); max-width: 540px; margin: 1rem auto 0; position: relative; z-index: 1; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.2rem 0;
  background: rgba(245,243,238,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.35rem;
  letter-spacing: -0.03em; color: var(--ink);
}
.nav-logo span { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 2.2rem; }
.nav-menu a {
  font-size: 0.88rem; font-weight: 500; color: var(--ink);
  position: relative; padding-bottom: 2px;
  transition: color var(--transition);
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1.5px; background: var(--accent);
  transition: width 0.25s ease;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--accent); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta-btn {
  background: var(--ink); color: var(--paper) !important;
  padding: 0.58rem 1.3rem; border-radius: 2rem;
  font-weight: 500 !important;
  transition: background var(--transition) !important;
}
.nav-cta-btn:hover { background: var(--accent) !important; }
.nav-cta-btn::after { display: none !important; }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--transition); }

/* Mobile Nav */
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-menu {
    display: none; position: fixed; top: 0; right: 0; bottom: 0;
    width: 280px; background: var(--paper);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 2rem; gap: 1.5rem;
    box-shadow: -4px 0 30px rgba(0,0,0,0.12);
    z-index: 300;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { font-size: 1rem; }
}

/* ── FOOTER ── */
.site-footer {
  background: #050508;
  padding: 5rem 0 2rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245,243,238,0.08);
}
.footer-brand .nav-logo { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(245,243,238,0.45); line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-family: 'Syne', sans-serif; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(245,243,238,0.4); margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul a { font-size: 0.88rem; color: rgba(245,243,238,0.6); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.8rem; }
.footer-contact-item span.icon { font-size: 0.9rem; margin-top: 2px; }
.footer-contact-item span.text { font-size: 0.85rem; color: rgba(245,243,238,0.6); line-height: 1.5; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 1.8rem 2rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: rgba(245,243,238,0.35);
}
.footer-bottom a { color: rgba(245,243,238,0.35); }
.footer-bottom a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(245,243,238,0.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--accent); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
