/* ─── Variables ─── */
:root {
  --green:       #45B135;
  --green-dark:  #349926;
  --green-glow:  rgba(69,177,53,0.14);
  --dark:        #070C16;
  --dark-2:      #0D1424;
  --dark-3:      #111B2E;
  --white:       #FFFFFF;
  --gray-50:     #F9FAFB;
  --gray-100:    #F3F4F6;
  --gray-200:    #E5E7EB;
  --gray-400:    #9CA3AF;
  --gray-500:    #6B7280;
  --gray-900:    #111827;
  --text:        #0F172A;
  --max-w:       1200px;
  --r:           10px;
  --t:           0.25s ease;
}

/* ─── Skip Nav ─── */
.skip-nav {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  background: var(--green); color: var(--dark); font-size: 0.88rem; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 6px 6px; text-decoration: none; transition: top 0.2s ease;
}
.skip-nav:focus { top: 0; }

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--dark); color: var(--white); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Typography ─── */
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; }
h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
p  { font-size: 1rem; }

/* ─── Layout ─── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }
.dark-section { background: var(--dark-2); }
.light-section { background: var(--gray-50); color: var(--text); }

/* ─── Buttons ─── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 6px; font-weight: 600; font-size: 0.95rem; transition: all var(--t); white-space: nowrap; }
.btn-primary { background: var(--green); color: var(--dark); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(69,177,53,0.3); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-ghost-dark { background: transparent; color: var(--text); border: 1.5px solid rgba(0,0,0,0.2); }
.btn-ghost-dark:hover { border-color: var(--green); color: var(--green); }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-xl { padding: 20px 44px; font-size: 1.05rem; }

/* ─── Labels ─── */
.section-label { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 16px; }
.section-sub { max-width: 600px; color: var(--gray-400); font-size: 1.05rem; line-height: 1.7; margin-top: 16px; }
.section-sub.dark { color: var(--gray-500); }

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

/* ─── Nav ─── */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; transition: background var(--t), padding var(--t), box-shadow var(--t); }
#nav.scrolled { background: rgba(7,12,22,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 14px 0; box-shadow: 0 1px 0 rgba(255,255,255,0.06); }
.nav-inner { display: flex; align-items: center; gap: 40px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-text { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.nav-logo-text span { color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.7); transition: color var(--t); }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-cta { margin-left: 16px; padding: 10px 20px; font-size: 0.88rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--t); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(7,12,22,0.98); backdrop-filter: blur(12px); padding: 24px; gap: 20px; border-top: 1px solid rgba(255,255,255,0.06); }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.8); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-nav .btn { align-self: flex-start; margin-top: 8px; padding-left: 40px; padding-right: 40px; }

/* ─── Footer ─── */
footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06); padding: 64px 0 40px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; }
.footer-brand { max-width: 300px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; color: var(--gray-400); line-height: 1.7; }
.footer-nav-group h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400); margin-bottom: 20px; }
.footer-nav-group ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav-group a { font-size: 0.9rem; color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-nav-group a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color var(--t); }
.footer-bottom a:hover { color: var(--white); }

/* ─── CTA Section ─── */
.cta-section { background: radial-gradient(ellipse 800px 600px at 50% 0%, rgba(69,177,53,0.08) 0%, transparent 60%), var(--dark-2); text-align: center; }
.cta-section h2 { margin-bottom: 20px; max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-section > .container > p { color: rgba(255,255,255,0.55); font-size: 1.05rem; max-width: 540px; margin: 0 auto 48px; line-height: 1.75; }

/* ─── Page Hero (service/blog/legal pages) ─── */
.page-hero {
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 900px 600px at -5% -10%, rgba(69,177,53,0.09) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero .page-hero-sub { font-size: 1.12rem; color: rgba(255,255,255,0.6); max-width: 600px; line-height: 1.75; margin-bottom: 40px; }
.page-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(69,177,53,0.1); border: 1px solid rgba(69,177,53,0.25);
  border-radius: 100px; padding: 6px 16px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green); margin-bottom: 24px;
}
.page-hero-highlight { color: var(--green); }

/* ─── Service Pages ─── */
.service-page-body { background: var(--white); }
.service-intro { max-width: 720px; }
.service-intro p { color: var(--gray-500); font-size: 1rem; line-height: 1.8; margin-bottom: 18px; }
.service-intro strong { color: var(--text); font-weight: 600; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
.feature-card { padding: 32px; border: 1px solid var(--gray-200); border-radius: var(--r); background: var(--gray-50); transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.feature-card:hover { border-color: var(--green); box-shadow: 0 6px 28px rgba(69,177,53,0.08); transform: translateY(-2px); }
.feature-card-icon { width: 36px; height: 36px; background: rgba(69,177,53,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature-card-icon svg { width: 18px; height: 18px; }
.feature-card h3 { color: var(--text); font-size: 1rem; margin-bottom: 10px; }
.feature-card p { color: var(--gray-500); font-size: 0.9rem; line-height: 1.65; }
.ideal-client { background: var(--dark-2); }
.ideal-client-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.ideal-item { display: flex; align-items: flex-start; gap: 14px; padding: 24px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--r); }
.ideal-item-check { width: 22px; height: 22px; background: rgba(69,177,53,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.ideal-item-check svg { width: 12px; height: 12px; }
.ideal-item p { color: var(--gray-400); font-size: 0.92rem; line-height: 1.6; }

/* ─── Legal Pages ─── */
.legal-body { background: var(--white); }
.legal-content { max-width: 760px; }
.legal-effective { font-size: 0.82rem; color: var(--gray-400); margin-bottom: 40px; }
.legal-content h2 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 32px 0 10px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { font-size: 0.95rem; color: var(--gray-500); line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 24px; margin-bottom: 12px; }
.legal-content ul li { font-size: 0.95rem; color: var(--gray-500); line-height: 1.75; margin-bottom: 6px; }
.legal-content a { color: var(--text); text-decoration: underline; }
.legal-content strong { color: var(--text); font-weight: 600; }

/* ─── Blog Listing Page ─── */
.blog-listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 56px; }
.blog-listing-card { background: var(--dark-3); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--r); padding: 40px; display: flex; flex-direction: column; gap: 16px; transition: border-color var(--t), box-shadow var(--t), transform var(--t); }
.blog-listing-card:hover { border-color: rgba(69,177,53,0.4); box-shadow: 0 8px 32px rgba(69,177,53,0.08); transform: translateY(-2px); }
.blog-listing-card .blog-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.blog-listing-card .blog-date { font-size: 0.75rem; color: var(--gray-400); }
.blog-listing-card .blog-meta { display: flex; align-items: center; gap: 12px; }
.blog-listing-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--white); line-height: 1.35; }
.blog-listing-card p { font-size: 0.9rem; color: var(--gray-400); line-height: 1.65; flex: 1; }
.blog-listing-card .read-more { font-size: 0.85rem; font-weight: 600; color: var(--green); transition: color var(--t); }
.blog-listing-card .read-more:hover { color: var(--green-dark); }

/* ─── Blog Article Pages ─── */
.article-body { background: var(--white); padding: 80px 0; }
.article-content { max-width: 760px; }
.article-content h2 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--text); margin: 48px 0 16px; }
.article-content h3 { font-size: 1.15rem; color: var(--text); margin: 32px 0 12px; }
.article-content p { color: var(--gray-500); font-size: 1rem; line-height: 1.8; margin-bottom: 20px; }
.article-content ul, .article-content ol { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.article-content ol { list-style: decimal; }
.article-content li { color: var(--gray-500); font-size: 1rem; line-height: 1.75; margin-bottom: 8px; }
.article-content strong { color: var(--text); font-weight: 600; }
.article-content a { color: var(--green); text-decoration: underline; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-top: 24px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.article-cta-box { background: rgba(69,177,53,0.08); border: 1px solid rgba(69,177,53,0.2); border-radius: var(--r); padding: 40px; margin-top: 56px; }
.article-cta-box h3 { color: var(--text); margin-bottom: 12px; }
.article-cta-box p { color: var(--gray-500); margin-bottom: 24px; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-top { flex-direction: column; }
  .features-grid { grid-template-columns: 1fr; }
  .ideal-client-grid { grid-template-columns: 1fr; }
  .blog-listing-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: auto; }
}
@media (max-width: 600px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  section { padding: 64px 0; }
  .page-hero { padding: 120px 0 60px; }
  .btn-xl { padding: 16px 24px; font-size: 0.95rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
