/* ================================================================
   SOURCYNESS — Global Stylesheet
   WCAG 2.1 AA Compliant Design System
   ================================================================ */

/* --- CSS Variables --- */
:root {
  --green: #0E6B4E;
  --green-dark: #0A5A40;
  --green-light: #E8F5F0;
  --orange: #B94F15;
  --orange-dark: #A34610;
  --orange-light: #FFF3EC;
  --navy-900: #0A1628;
  --navy-800: #122644;
  --navy-700: #1B3A5C;
  --navy-500: #2E6B9E;
  --navy-50: #EDF5FA;
  --text: #1A1A2E;
  --text-secondary: #4A4A5A;
  --text-muted: #595959;
  --bg-alt: #F7F8FC;
  --bg-white: #FFFFFF;
  --border: #D1D5DB;
  --success: #0E6B4E;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 6px rgba(0,0,0,0.05), 0 10px 30px rgba(0,0,0,0.08);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg-white); -webkit-font-smoothing: antialiased; }

/* --- WCAG: Skip Navigation --- */
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--navy-900); color: #fff; padding: 12px 24px; z-index: 10000; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 16px; outline: 3px solid var(--orange); outline-offset: 2px; }

/* --- WCAG: Focus States --- */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--navy-700); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }
a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
strong { font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }
h2 { margin-bottom: 16px; }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p, .section-dark li { color: #B0B8C4; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header p { color: var(--text-secondary); font-size: 1.0625rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--green); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--green); }
.section-header .eyebrow { justify-content: center; }
.section-header .eyebrow::before { display: none; }

/* --- Buttons (WCAG: min 44x44 touch target) --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 28px; border-radius: var(--radius-sm); font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: all var(--transition); white-space: nowrap; }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(232,114,42,0.3); }
.btn-secondary { background: transparent; color: var(--navy-700); border-color: var(--navy-700); }
.btn-secondary:hover { background: var(--navy-700); color: #fff; }
.btn-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-white:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }
.btn-ghost { background: none; border: none; color: var(--orange); padding: 12px 4px; text-decoration: none; }
.btn-ghost:hover { color: var(--orange-dark); }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- HEADER --- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--bg-white); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition); }
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo img { height: 40px; width: auto; }
.logo a { display: inline-block; text-decoration: none; }

/* --- Navigation (WCAG: keyboard accessible) --- */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a, .main-nav button { font-size: 0.9375rem; font-weight: 500; color: var(--text-secondary); text-decoration: none; padding: 10px 14px; border-radius: 6px; transition: all var(--transition); background: none; border: none; cursor: pointer; font-family: var(--font-body); }
.main-nav a:hover, .main-nav a[aria-current="page"], .main-nav button:hover { color: var(--navy-700); background: var(--bg-alt); }
.nav-dropdown { position: relative; }
.nav-dropdown-btn { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-btn svg { width: 12px; height: 12px; transition: transform 0.2s; }
.nav-dropdown-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 260px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px 0; opacity: 0; visibility: hidden; transition: all 0.2s; z-index: 200; }
.dropdown-menu.open { opacity: 1; visibility: visible; }
.dropdown-menu a { display: block; padding: 10px 20px; font-size: 0.875rem; color: var(--text-secondary); border-radius: 0; }
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { background: var(--bg-alt); color: var(--orange); outline-offset: -2px; }
.header-cta { margin-left: 12px; }

/* Mobile menu */
.mobile-toggle { display: none; background: none; border: none; padding: 10px; cursor: pointer; color: var(--navy-700); min-height: 44px; min-width: 44px; align-items: center; justify-content: center; }
.mobile-toggle svg { width: 24px; height: 24px; }
.mobile-toggle[aria-expanded="true"] .icon-menu { display: none; }
.mobile-toggle[aria-expanded="false"] .icon-close { display: none; }
.mobile-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1024px) {
  .main-nav, .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .main-nav.mobile-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); border-top: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 16px 24px; align-items: stretch; z-index: 300; }
  .main-nav.mobile-open a, .main-nav.mobile-open button { text-align: left; padding: 14px 16px; font-size: 1rem; }
  .main-nav.mobile-open .dropdown-menu { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; opacity: 0; visibility: hidden; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, opacity 0.2s; }
  .main-nav.mobile-open .dropdown-menu.open { opacity: 1; visibility: visible; max-height: 800px; overflow: visible; }
  .main-nav.mobile-open .header-cta-mobile { margin-top: 12px; }
}

/* --- HERO --- */
.hero { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%); padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -40%; right: -15%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(14,107,78,0.1) 0%, transparent 70%); pointer-events: none; }
.hero-content { max-width: 700px; position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .highlight { color: var(--orange); }
.hero .lead { font-size: 1.125rem; color: #B0B8C4; line-height: 1.7; margin-bottom: 32px; max-width: 620px; }
.hero .eyebrow { color: var(--orange); }
.hero .eyebrow::before { background: var(--orange); }
.hero-stats { display: flex; flex-wrap: nowrap; gap: 32px; margin-top: 48px; justify-content: space-between; }
.hero-stat { text-align: left; flex: 1; }
@media (max-width: 768px) { .hero-stats { flex-wrap: wrap; } .hero-stat { flex: 0 0 calc(50% - 16px); } }
.hero-stat .number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--navy-700); line-height: 1; display: block; }
.hero .hero-stat .number { color: #fff; }
.hero-stat .label { font-size: 0.8125rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; display: block; }
.hero .hero-stat .label { color: #8899A8; }

/* --- Grids --- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid > .card, .grid > .pricing-card, .grid > .blog-card, .grid > .testimonial-card, .grid > .office-card, .grid > .related-card, .grid > article { display: flex; flex-direction: column; }
@media (max-width: 1024px) { .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.two-col-55 { display: grid; grid-template-columns: 55fr 45fr; gap: 60px; align-items: center; }
@media (max-width: 768px) { .two-col-55 { grid-template-columns: 1fr; gap: 32px; } }

/* --- Cards --- */
.card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: all var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-3px); }
.card-icon { width: 52px; height: 52px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-icon svg { width: 24px; height: 24px; flex-shrink: 0; }
.card-icon-green { background: var(--green-light); }
.card-icon-green svg { stroke: var(--green); }
.card-icon-orange { background: var(--orange-light); }
.card-icon-orange svg { stroke: var(--orange); }
.card-icon-navy { background: var(--navy-50); }
.card-icon-navy svg { stroke: var(--navy-500); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 0.9375rem; margin-bottom: 12px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 600; text-decoration: none; font-size: 0.875rem; margin-top: auto; }
.card-link:hover { gap: 10px; color: var(--orange-dark); }
.card-accent { position: relative; overflow: hidden; }
.card-accent::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.4s; }
.card-accent:hover::before { transform: scaleX(1); }
.badge { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 10px; border-radius: 20px; background: var(--orange); color: #fff; position: absolute; top: 16px; right: 16px; }
.tag { display: inline-block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 4px 12px; border-radius: 4px; margin-bottom: 12px; }
.tag-green { background: var(--green-light); color: var(--green); }
.tag-orange { background: var(--orange-light); color: var(--orange); }
.tag-navy { background: var(--navy-50); color: var(--navy-500); }

/* --- Value Props --- */
.value-prop { display: flex; gap: 16px; margin-bottom: 24px; }
.vp-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 10px; background: var(--green-light); display: flex; align-items: center; justify-content: center; }
.vp-icon svg { width: 20px; height: 20px; stroke: var(--green); flex-shrink: 0; }
.vp-content h3, .vp-content h4 { margin-bottom: 4px; font-size: 1rem; }
.vp-content p { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 0; }

/* --- Process Steps --- */
.process-grid { position: relative; }
.process-step { text-align: center; }
.step-num { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-white); border: 3px solid var(--orange); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.375rem; font-weight: 800; color: var(--orange); margin: 0 auto 16px; transition: all var(--transition); }
.process-step:hover .step-num { background: var(--orange); color: #fff; }
.process-step h3 { font-size: 1.125rem; margin-bottom: 8px; }
.process-step p { font-size: 0.875rem; color: var(--text-secondary); }

/* --- Industry Chips --- */
.chip { background: var(--bg-alt); border: 1px solid transparent; border-radius: var(--radius-sm); padding: 16px 12px; text-align: center; transition: all var(--transition); font-size: 0.875rem; font-weight: 600; color: var(--text); }
.chip:hover { border-color: var(--green); background: var(--green-light); color: var(--green); }

/* --- Metrics Row --- */
.metrics { display: flex; gap: 32px; flex-wrap: wrap; }
.metric .number { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1; display: block; }
.metric .label { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; display: block; }

/* --- Testimonials --- */
.testimonial-card { background: var(--bg-white); border-radius: var(--radius); padding: 32px; border-left: 4px solid var(--orange); }
.testimonial-card .stars { color: var(--orange); font-size: 0.875rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 1rem; font-style: italic; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.testimonial-card cite { font-style: normal; display: block; }
.testimonial-card .cite-name { font-weight: 700; color: var(--navy-700); font-size: 0.9375rem; }
.testimonial-card .cite-role { font-size: 0.8125rem; color: var(--text-muted); }

/* --- Pricing Cards --- */
.pricing-card { background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.pricing-card.featured { border-color: var(--orange); box-shadow: 0 4px 20px rgba(232,114,42,0.12); position: relative; }
.pricing-card.featured .pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.pricing-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pricing-price { margin-bottom: 8px; }
.pricing-price .amount { font-family: var(--font-heading); font-size: 2.25rem; font-weight: 800; color: var(--navy-700); }
.pricing-price .period { font-size: 0.9375rem; color: var(--text-muted); }
.pricing-card .desc { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 20px; }
.pricing-card hr { border: none; border-top: 1px solid var(--border); margin: 0 0 20px; }
.pricing-features { list-style: none; margin-bottom: 24px; flex-grow: 1; }
.pricing-features li { padding: 6px 0; font-size: 0.875rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 10px; }
.pricing-features li::before { content: '\2713'; color: var(--success); font-weight: 700; flex-shrink: 0; min-width: 16px; }
.pricing-card .btn { width: 100%; }

/* --- FAQ Accordion (WCAG: keyboard accessible) --- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; background: none; border: none; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--text); text-align: left; cursor: pointer; gap: 16px; }
.faq-btn:hover { color: var(--orange); }
.faq-btn svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; transition: transform 0.2s; }
.faq-btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 0 20px; color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.7; }

/* --- Related Services --- */
.related-card { text-align: center; padding: 24px; background: var(--bg-white); border: 1px solid var(--border); border-radius: var(--radius); transition: all var(--transition); }
.related-card:hover { border-color: var(--orange); }
.related-card h4 { margin-bottom: 6px; }
.related-card p { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 10px; }

/* --- CTA Section --- */
.cta-section { background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); padding: 80px 0; text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: #B0B8C4; max-width: 600px; margin: 0 auto 28px; }
.cta-section .small { font-size: 0.8125rem; color: #9DAAB8; margin-top: 20px; }

/* --- Office Cards --- */
.office-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm); padding: 20px; text-align: center; }
.office-card .flag { font-size: 2rem; display: block; margin-bottom: 8px; }
.office-card h4, .office-name { color: #fff; font-size: 1rem; margin-bottom: 4px; font-family: var(--font-heading); font-weight: 700; }
.office-card p { color: #8899A8; font-size: 0.8125rem; margin-bottom: 0; }

/* --- FOOTER --- */
.site-footer { background: var(--navy-900); color: #B0B8C4; padding: 64px 0 0; }
.site-footer p { color: #B0B8C4; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 48px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; }
.site-footer h4, .footer-heading { color: #fff; font-size: 0.9375rem; margin-bottom: 16px; font-family: var(--font-heading); font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #8899A8; text-decoration: none; font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover, .footer-links a:focus-visible { color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 0.875rem; }
.footer-contact a { color: #8899A8; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8125rem; color: #7B8B9A; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: #7B8B9A; text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* --- Image Placeholder --- */
.img-placeholder { background: linear-gradient(135deg, var(--navy-50), #dbeafe); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; min-height: 300px; color: var(--navy-500); font-weight: 600; font-size: 0.9375rem; text-align: center; padding: 24px; }

/* --- Utility --- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* --- WCAG: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .cta-section, .btn { display: none; }
  body { color: #000; font-size: 12pt; }
  .section-dark { background: #fff; color: #000; }
}

/* ================================================================
   VISUAL LIFE — Animations, Depth & Rich Effects
   ================================================================ */

/* --- Scroll Reveal Animations (WCAG-safe) --- */
/* Elements start at natural position with full contrast.              */
/* Animation only plays WHEN .revealed is added by IntersectionObserver */
/* WAVE sees unrevealed elements at normal position = no contrast issue */
.reveal.revealed { animation: revealUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.reveal-left.revealed { animation: revealFromLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.reveal-right.revealed { animation: revealFromRight 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.reveal-scale.revealed { animation: revealScale 0.6s ease both; }
@keyframes revealUp { from { opacity: 0; transform: translateY(30px); } }
@keyframes revealFromLeft { from { opacity: 0; transform: translateX(-40px); } }
@keyframes revealFromRight { from { opacity: 0; transform: translateX(40px); } }
@keyframes revealScale { from { opacity: 0; transform: scale(0.92); } }

/* Stagger children animation-delay */
.stagger > .revealed:nth-child(1) { animation-delay: 0s; }
.stagger > .revealed:nth-child(2) { animation-delay: 0.08s; }
.stagger > .revealed:nth-child(3) { animation-delay: 0.16s; }
.stagger > .revealed:nth-child(4) { animation-delay: 0.24s; }
.stagger > .revealed:nth-child(5) { animation-delay: 0.32s; }
.stagger > .revealed:nth-child(6) { animation-delay: 0.4s; }

/* --- Hero Enhancements --- */
.hero {
  background: linear-gradient(145deg, #0A1628 0%, #0f2136 40%, #122b48 70%, #0A1628 100%);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(14,107,78,0.15) 0%, rgba(14,107,78,0.05) 40%, transparent 70%);
  animation: heroPulse 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,114,42,0.1) 0%, transparent 60%);
  animation: heroPulse 10s ease-in-out infinite reverse;
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  50% { transform: scale(1.15) translate(20px, -20px); opacity: 1; }
}

/* Hero floating shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
}
.hero-shape:nth-child(1) { width: 300px; height: 300px; top: 10%; right: 5%; animation: floatShape 20s ease-in-out infinite; }
.hero-shape:nth-child(2) { width: 200px; height: 200px; top: 60%; right: 25%; animation: floatShape 15s ease-in-out infinite reverse; }
.hero-shape:nth-child(3) { width: 150px; height: 150px; bottom: 10%; left: 60%; animation: floatShape 18s ease-in-out infinite 2s; }
.hero-shape:nth-child(4) { width: 80px; height: 80px; top: 20%; right: 40%; background: rgba(14,107,78,0.08); animation: floatShape 12s ease-in-out infinite 1s; }
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -20px) rotate(5deg); }
  50% { transform: translate(-20px, 20px) rotate(-3deg); }
  75% { transform: translate(15px, -10px) rotate(2deg); }
}

/* --- Stats Glow (hero only — dark bg) --- */
.hero .hero-stat .number {
  background: linear-gradient(135deg, #ffffff 0%, #d0e8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2.75rem;
}

/* --- Section Enhancements --- */
.section { position: relative; }
.section-alt {
  background: linear-gradient(180deg, #f8f9fd 0%, #f0f2f8 100%);
  position: relative;
}
.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,107,78,0.15), transparent);
}

/* --- CTA Section Enhancement --- */
.cta-section {
  background: linear-gradient(135deg, #1B3A5C 0%, #0f2136 50%, #0A1628 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,114,42,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* --- Enhanced Cards --- */
.card {
  background: #ffffff;
  border: 1px solid rgba(209,213,219,0.6);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(14,107,78,0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  border-color: rgba(14,107,78,0.2);
  transform: translateY(-6px);
}
.card:hover::after { opacity: 1; }

/* Card accent line animation */
.card-accent::before {
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Card Icon Enhancement --- */
.card-icon {
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover .card-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* --- Header Glass Effect --- */
.site-header {
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(209,213,219,0.5);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.92);
}

/* --- Button Enhancements --- */
.btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange) 0%, #C4581A 100%);
  z-index: -1;
  transition: opacity 0.3s;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #9A4010 0%, var(--orange-dark) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,114,42,0.35);
}

/* --- Value Prop Enhancement --- */
.value-prop {
  padding: 16px;
  border-radius: 12px;
  transition: background 0.3s;
}
.value-prop:hover {
  background: rgba(14,107,78,0.04);
}
.vp-icon {
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-prop:hover .vp-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 4px 12px rgba(14,107,78,0.15);
}

/* --- Office Card Enhancement --- */
.office-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.office-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,107,78,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.office-card:hover {
  border-color: rgba(14,107,78,0.3);
  background: rgba(255,255,255,0.06);
  transform: translateY(-4px);
}
.office-card:hover::before { opacity: 1; }
.office-card .flag {
  transition: transform 0.3s;
}
.office-card:hover .flag {
  transform: scale(1.2);
}

/* --- Testimonial Enhancement --- */
.testimonial-card {
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--orange), var(--green)) 1;
  transition: all 0.4s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

/* --- Process Step Enhancement --- */
.step-num {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.process-step:hover .step-num {
  background: linear-gradient(135deg, var(--orange), #f5862e);
  border-color: transparent;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(232,114,42,0.3);
}

/* --- Chip Enhancement --- */
.chip {
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.chip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-light) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.chip:hover::before { opacity: 1; }
.chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14,107,78,0.1);
}

/* --- Footer Enhancement --- */
.site-footer {
  background: linear-gradient(180deg, #0c1a30 0%, #0A1628 100%);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,107,78,0.3), transparent);
}

/* --- Image Placeholder Enhancement --- */
.img-placeholder {
  background: linear-gradient(135deg, #e8f0fe 0%, #d4e4f7 40%, #e0e8f5 100%);
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* --- Link hover glow --- */
.card-link {
  position: relative;
  transition: all 0.3s;
}
.card-link:hover {
  gap: 12px;
  text-shadow: 0 0 20px rgba(232,114,42,0.2);
}

/* --- Smooth section transitions --- */
.section + .section-alt,
.section-alt + .section { 
  border-top: none;
}

/* --- FAQ Enhancement --- */
.faq-btn {
  transition: all 0.3s;
  padding: 20px 4px;
  border-radius: 8px;
}
.faq-btn:hover {
  background: rgba(232,114,42,0.04);
  padding-left: 12px;
}

/* --- Gradient text for headings --- */
.hero h1 {
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

/* --- Dropdown Enhancement --- */
.dropdown-menu {
  border: 1px solid rgba(209,213,219,0.5);
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

/* --- Section Dark Glow --- */
.section-dark {
  position: relative;
  overflow: hidden;
}
.section-dark::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232,114,42,0.06) 0%, transparent 60%);
  pointer-events: none;
}
