@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
  --navy:       #0D1B2A;
  --navy-mid:   #1A2E44;
  --navy-light: #243B55;
  --amber:      #F5A623;
  --amber-dark: #D4891A;
  --blue-acc:   #1565C0;
  --blue-light: #1976D2;
  --white:      #FFFFFF;
  --off-white:  #F7F8FA;
  --light-grey: #EEF0F4;
  --border:     #E2E6ED;
  --text-dark:  #0D1B2A;
  --text-mid:   #3D4F63;
  --text-muted: #6B7E94;
  --text-light: #9AAAB8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --shadow-sm:  0 1px 3px rgba(13,27,42,0.08), 0 1px 2px rgba(13,27,42,0.04);
  --shadow-md:  0 4px 16px rgba(13,27,42,0.10), 0 2px 6px rgba(13,27,42,0.06);
  --shadow-lg:  0 12px 40px rgba(13,27,42,0.14), 0 4px 12px rgba(13,27,42,0.08);
  --shadow-xl:  0 24px 60px rgba(13,27,42,0.18);

  --radius:     4px;
  --radius-lg:  8px;
  --transition: 0.25s ease;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-size: 16px; color: var(--text-dark); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── PAGE TRANSITION ─── */
.page-transition { position: fixed; inset: 0; z-index: 9000; background: var(--navy); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
body.leaving .page-transition { animation: leaveAnim 0.4s ease forwards; }
body.entering .page-transition { transform: scaleY(1); animation: enterAnim 0.45s 0.05s ease forwards; }
@keyframes leaveAnim { to { transform: scaleY(1); transform-origin: bottom; } }
@keyframes enterAnim { to { transform: scaleY(0); transform-origin: top; } }

/* ─── NAVIGATION ─── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon { width: 38px; height: 38px; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name { font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.08em; color: var(--navy); text-transform: uppercase; }
.nav-logo-tag { font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-mid); padding: 8px 14px; border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-links a:hover { color: var(--navy); background: var(--off-white); }
.nav-links a.active { color: var(--blue-acc); }
.nav-links a.active::after { content: ''; position: absolute; bottom: 4px; left: 14px; right: 14px; height: 2px; background: var(--amber); border-radius: 2px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-size: 0.78rem; font-weight: 600; color: var(--text-mid); display: flex; align-items: center; gap: 6px; }
.nav-phone::before { content: ''; width: 6px; height: 6px; background: #22C55E; border-radius: 50%; display: inline-block; animation: onlinePulse 2s infinite; }
@keyframes onlinePulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.btn-nav {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  background: var(--navy); color: var(--white);
  border: none; padding: 10px 22px; border-radius: var(--radius); cursor: pointer;
  transition: background var(--transition), transform var(--transition); text-decoration: none; display: inline-block;
}
.btn-nav:hover { background: var(--navy-mid); transform: translateY(-1px); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s; }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 999; background: var(--white); flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.5rem; font-weight: 700; color: var(--navy); padding: 14px 40px; width: 100%; text-align: center; }
.mobile-menu a:hover { background: var(--off-white); color: var(--blue-acc); }
.mobile-close { position: absolute; top: 20px; right: 24px; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--text-mid); }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 14px 32px; border-radius: var(--radius); border: none; cursor: pointer; text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { background: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary.amber { background: var(--amber); color: var(--navy); }
.btn-primary.amber:hover { background: var(--amber-dark); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 13px 30px; border-radius: var(--radius); border: 1.5px solid var(--border); cursor: pointer; text-decoration: none;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-secondary:hover { border-color: var(--navy); background: var(--off-white); transform: translateY(-1px); }
.btn-arrow::after { content: '→'; font-size: 1rem; transition: transform var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ─── LAYOUT ─── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section-white { background: var(--white); }
.section-light { background: var(--off-white); }
.section-navy { background: var(--navy); }
section, .section-pad { padding: 96px 48px; }
.section-sm { padding: 64px 48px; }

/* ─── EYEBROW / LABELS ─── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue-acc); margin-bottom: 14px;
}
.eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--amber); border-radius: 2px; }
.eyebrow.light { color: rgba(255,255,255,0.6); }
.eyebrow.light::before { background: var(--amber); }
.section-heading { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 18px; }
.section-heading span { color: var(--blue-acc); }
.section-heading.light { color: var(--white); }
.section-heading.light span { color: var(--amber); }
.section-sub { font-size: 1.05rem; color: var(--text-mid); line-height: 1.75; max-width: 540px; }
.section-sub.light { color: rgba(255,255,255,0.7); }
.divider-line { width: 48px; height: 3px; background: var(--amber); border-radius: 2px; margin-bottom: 48px; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── STAT BADGES ─── */
.stat-badge { text-align: center; }
.stat-badge-num { font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-badge-num span { color: var(--amber); }
.stat-badge-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }

/* ─── CARDS ─── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.card-icon { width: 48px; height: 48px; background: var(--off-white); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 20px; transition: background var(--transition); }
.card:hover .card-icon { background: var(--amber); }
.card-title { font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 10px; }
.card-text { font-size: 0.875rem; color: var(--text-mid); line-height: 1.75; }

/* ─── TESTIMONIALS ─── */
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.testi-card::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--amber);
  line-height: 0.8;
  position: absolute;
  top: 20px;
  right: 24px;
  opacity: 0.3;
}
.testi-text {
  font-size: 0.925rem;
  color: var(--text-mid);
  line-height: 1.85;
  font-style: italic;
  margin-bottom: 28px;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-grey);
  flex-shrink: 0;
  border: 2px solid var(--border);
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  background: linear-gradient(135deg, var(--light-grey), var(--border));
}
.testi-name { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.testi-role { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; line-height: 1.4; }

/* ─── CTA BAND ─── */
.cta-band { background: var(--navy); padding: 80px 48px; }
.cta-band-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band-text h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--white); line-height: 1.15; margin-bottom: 10px; }
.cta-band-text p { color: rgba(255,255,255,0.65); font-size: 1rem; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── FOOTER ─── */
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); padding: 72px 48px 40px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 32px; }
.footer-brand-desc { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.8; margin: 16px 0 24px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); font-size: 0.75rem; font-weight: 700; text-decoration: none; transition: border-color var(--transition), color var(--transition), background var(--transition); }
.footer-social:hover { border-color: var(--amber); color: var(--amber); background: rgba(245,166,35,0.08); }
.footer-col-title { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-col-links a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-copy span { color: var(--amber); }
.footer-tagline { font-family: var(--font-display); font-size: 0.85rem; color: rgba(255,255,255,0.25); font-style: italic; }

/* ─── PAGE HERO BANNER ─── */
.page-banner { background: var(--navy); padding: 140px 48px 80px; position: relative; overflow: hidden; }
.page-banner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: linear-gradient(to right, var(--amber), transparent); }
.page-banner-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(21,101,192,0.12), transparent); }
.page-banner-content { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }
.page-banner-crumb { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.page-banner-crumb a { color: var(--amber); }
.page-banner-crumb .sep { color: rgba(255,255,255,0.2); }
.page-banner h1 { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5rem); color: var(--white); font-weight: 700; line-height: 1.1; margin-bottom: 18px; animation: fadeUp 0.7s 0.2s both; }
.page-banner h1 span { color: var(--amber); }
.page-banner p { font-size: 1.1rem; color: rgba(255,255,255,0.65); max-width: 560px; line-height: 1.75; animation: fadeUp 0.7s 0.4s both; }

/* ─── MARQUEE ─── */
.marquee-strip { background: var(--amber); overflow: hidden; padding: 12px 0; }
.marquee-track { display: flex; gap: 48px; animation: marquee 24s linear infinite; white-space: nowrap; }
.marquee-track span { font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); }
.marquee-track .dot { color: rgba(13,27,42,0.35); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── KEYFRAMES ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .nav-inner { padding: 0 24px; }
  .nav-phone { display: none; }
  section, .section-pad { padding: 72px 24px; }
  .section-sm { padding: 48px 24px; }
  .page-banner { padding: 120px 24px 64px; }
  .cta-band { padding: 64px 24px; }
  footer { padding: 60px 24px 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  /* Testimonial rows collapse to 1 col on tablet */
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  [style*="grid-template-columns:1fr 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; }
}
