/* ============================================
   eMarketers — Global Stylesheet
   Design: Clean Editorial with Dark Navy + Gold Accent
   ============================================ */

:root {
  --navy: #0a0f1e;
  --navy-mid: #111827;
  --navy-light: #1a2235;
  --accent: #c9a84c;
  --accent-light: #e2c16e;
  --accent-dim: rgba(201, 168, 76, 0.15);
  --white: #ffffff;
  --off-white: #f5f4f0;
  --text-muted: #8a95a8;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(201,168,76,0.2);
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --section-py: 90px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.py-section { padding: var(--section-py) 0; }

/* ---- UTILITIES ---- */
.text-accent { color: var(--accent) !important; }
.bg-navy { background: var(--navy); }

/* ---- BUTTONS ---- */
.btn-accent {
  background: var(--accent);
  color: var(--navy);
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid var(--accent);
  transition: all 0.25s;
  border-radius: var(--radius-sm);
}
.btn-accent:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline-light {
  border-width: 2px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.25s;
}
.btn-outline-light:hover {
  transform: translateY(-2px);
}

/* ---- NAVBAR ---- */
.em-navbar {
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  backdrop-filter: blur(10px);
  transition: background 0.3s;
}

.em-brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--white) !important;
  letter-spacing: -0.02em;
}

.brand-e {
  color: var(--accent);
  font-style: italic;
}

.em-navbar .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75) !important;
  padding: 6px 14px !important;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.01em;
}

.em-navbar .nav-link:hover,
.em-navbar .nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,0.07);
}

.em-dropdown {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  min-width: 220px;
}

.em-dropdown .dropdown-item {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  padding: 9px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.em-dropdown .dropdown-item:hover {
  background: var(--accent-dim);
  color: var(--accent);
}

/* ---- HERO ---- */
.em-hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.min-vh-90 { min-height: 90vh; }

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.em-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid var(--border-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 99px;
  letter-spacing: 0.03em;
}

.em-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  line-height: 1.15;
  font-family: var(--font-display);
}

.em-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  line-height: 1.8;
}

.hero-stats { gap: 24px; }
.stat-pill {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border-light);
  padding-left: 14px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  width: 380px;
  height: 380px;
}

.hv-center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(201,168,76,0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.hv-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  width: 140px;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 500;
  transition: transform 0.3s, border-color 0.3s;
  animation: floatCard 4s ease-in-out infinite;
}

.hv-card i {
  font-size: 1.8rem;
  color: var(--accent);
}

.hv-card:hover {
  border-color: var(--border-light);
  transform: scale(1.05) !important;
}

.hv-card-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.hv-card-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 1s; }
.hv-card-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.hv-card-4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 3s; }

@keyframes floatCard {
  0%, 100% { filter: drop-shadow(0 4px 12px rgba(201,168,76,0.1)); }
  50% { filter: drop-shadow(0 8px 20px rgba(201,168,76,0.25)); }
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
}

.trust-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding-right: 16px;
  border-right: 1px solid var(--border);
  margin-right: 4px;
}

.trust-sectors span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}
.trust-sectors .sep { color: var(--border); }

/* ---- SECTION TYPOGRAPHY ---- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  line-height: 1.2;
}

.section-body {
  color: #4a5568;
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 520px;
}

/* ---- SERVICES ---- */
.em-services { background: var(--off-white); }

.service-card {
  display: block;
  height: 100%;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: var(--radius);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border-color: var(--accent);
}

.service-card:hover::before { opacity: 1; }

.sc-icon, .sc-title, .sc-body, .sc-link {
  position: relative;
  z-index: 2;
  transition: color 0.3s;
}

.sc-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.sc-icon i {
  font-size: 1.5rem;
  color: var(--accent);
  transition: color 0.3s;
}

.sc-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.sc-body {
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 20px;
}

.sc-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.service-card:hover .sc-title { color: var(--white); }
.service-card:hover .sc-body { color: rgba(255,255,255,0.65); }
.service-card:hover .sc-icon { background: rgba(201,168,76,0.2); border-color: var(--border-light); }

.sc-featured {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(201,168,76,0.15);
}

.sc-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* ---- WHY US ---- */
.em-why {
  background: var(--navy);
}

.em-why .section-title { color: var(--white); }
.em-why .section-body { color: rgba(255,255,255,0.65); max-width: 100%; }
.em-why .section-eyebrow { color: var(--accent); }

.why-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  transition: border-color 0.3s, transform 0.3s;
}

.why-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.why-card-alt {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.15);
}

.why-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.why-icon i { font-size: 1.2rem; color: var(--accent); }

.why-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.7;
}

/* ---- FOUNDER STRIP ---- */
.founder-strip { background: var(--off-white); }

.founder-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 36px 40px;
}

.founder-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 3px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-avatar i { font-size: 2.2rem; color: var(--accent); }

.founder-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 12px;
}

.founder-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.founder-name span { font-weight: 400; color: var(--text-muted); }

.founder-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- CTA ---- */
.em-cta { background: var(--navy); }

.cta-box {
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
}

.cta-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ---- FOOTER ---- */
.em-footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

.footer-contact a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--accent); }

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-hr {
  border-color: var(--border);
  margin: 24px 0 20px;
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-copy a { color: var(--accent); }

.footer-schema {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--navy);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.15;
}

.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.8;
  margin-top: 16px;
}

.page-hero-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  background: var(--accent-dim);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-icon i { font-size: 2.8rem; color: var(--accent); }

/* ---- SERVICE DETAIL SECTIONS ---- */
.service-detail { background: var(--off-white); }

.detail-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
}

.detail-card .dc-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 10px;
}

.detail-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.detail-card p {
  font-size: 0.92rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.7;
}

/* Process Steps */
.process-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  align-items: flex-start;
  transition: border-color 0.3s;
}

.process-step:hover { border-color: var(--border-light); }

.ps-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
}

.process-step h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.process-step p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

/* Checklist */
.em-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.em-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: #374151;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.em-checklist li:last-child { border-bottom: none; }

.em-checklist li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border-light);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ---- ABOUT PAGE ---- */
.team-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.team-avatar i { font-size: 1.8rem; color: var(--accent); }

.team-card h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- FAQ PAGE ---- */
.faq-section { background: var(--off-white); }

.em-accordion .accordion-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.em-accordion .accordion-button {
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 20px 24px;
  box-shadow: none !important;
}

.em-accordion .accordion-button:not(.collapsed) {
  background: var(--navy);
  color: var(--white);
}

.em-accordion .accordion-button::after {
  filter: none;
}

.em-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.em-accordion .accordion-body {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.8;
  padding: 20px 24px;
  background: var(--white);
}

/* ---- INNER PAGE SIDEBAR ---- */
.sidebar-nav {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.sidebar-nav h6 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #4b5563;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: color 0.2s;
}

.sidebar-nav li:last-child a { border-bottom: none; }

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
  color: var(--navy);
  font-weight: 500;
}

.sidebar-nav li a i { color: var(--accent); font-size: 1rem; }

/* ---- STATS ROW ---- */
.stats-row {
  background: var(--navy);
  padding: 60px 0;
}

.stat-block { text-align: center; }

.stat-block .num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--accent);
  line-height: 1;
  display: block;
}

.stat-block .label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  display: block;
}

/* ---- BREADCRUMB ---- */
.em-breadcrumb {
  background: var(--navy-mid);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.em-breadcrumb .breadcrumb {
  margin: 0;
  font-size: 0.82rem;
}

.em-breadcrumb .breadcrumb-item a { color: var(--accent); }
.em-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.em-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.25); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  :root { --section-py: 60px; }
  .founder-card { padding: 24px 20px; }
  .trust-label { display: none; }
  .hero-stats { gap: 16px; }
}

@media (max-width: 576px) {
  .em-hero-title { font-size: 2rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease forwards;
}

.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-3 { animation-delay: 0.3s; opacity: 0; }
.fade-up-4 { animation-delay: 0.4s; opacity: 0; }
