/* ============================================
   EMBAY CONSULTING — Brand Stylesheet
   Colors: Navy #0F2A5A, Slate #6B7380, Teal #1A8A8A
   ============================================ */

:root {
  --navy: #0F2A5A;
  --navy-light: #1a3d6e;
  --slate: #6B7380;
  --slate-light: #9BA1AB;
  --teal: #1A8A8A;
  --teal-light: #23B5B5;
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --light-gray: #E8EBF0;
  --dark-bg: #0B1D3A;
  --text: #2D3440;
  --text-light: #5A6270;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--navy); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; color: var(--text-light); }

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-gray);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(15,42,90,0.08); }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--slate-light); font-weight: 400; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--off-white);
  border-radius: 6px;
  padding: 2px;
  border: 1px solid var(--light-gray);
  margin-left: 1rem;
}
.lang-toggle button {
  background: transparent;
  border: none;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  border-radius: 4px;
  transition: all var(--transition);
  font-family: var(--font-main);
}
.lang-toggle button.active {
  background: var(--navy);
  color: var(--white);
}

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

/* ---- HERO ---- */
.hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(170deg, var(--dark-bg) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(26,138,138,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.5rem); }
.hero p { color: rgba(255,255,255,0.75); font-size: 1.15rem; line-height: 1.8; margin-bottom: 2rem; }
.hero-tagline {
  color: var(--teal-light);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font-main);
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-light); color: var(--white); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); color: var(--white); }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- SECTIONS ---- */
section { padding: 5rem 0; position: relative; }
.section-dark { background: var(--off-white); }
.section-navy { background: var(--dark-bg); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.7); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-label {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  display: block;
}

/* ---- CARDS ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  transition: all var(--transition);
}
.card:hover { border-color: var(--teal); box-shadow: 0 8px 30px rgba(15,42,90,0.06); transform: translateY(-2px); }
.card-icon {
  width: 48px; height: 48px;
  background: rgba(26,138,138,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}
.card h3 { font-size: 1.15rem; }
.card p { font-size: 0.92rem; }

/* ---- STATS ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
  padding: 3rem 0;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--teal-light);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* ---- PLAYBOOK SECTION ---- */
.playbook-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.playbook-phase {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem;
}
.playbook-phase h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.phase-label {
  color: var(--teal-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}
.playbook-phase ul {
  list-style: none;
  padding: 0;
}
.playbook-phase li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.playbook-phase li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

/* ---- ABOUT ---- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.about-sidebar { position: sticky; top: 100px; }
.about-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--light-gray);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.credential-list { list-style: none; padding: 0; }
.credential-list li {
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.credential-list li:last-child { border: none; }

/* ---- BLOG ---- */
.blog-grid {
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { border-color: var(--teal); box-shadow: 0 8px 30px rgba(15,42,90,0.06); transform: translateY(-2px); }
.blog-card-body { padding: 2rem; }
.blog-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: inline-block;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--teal); }
.blog-date { font-size: 0.82rem; color: var(--slate-light); }

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-bg) 100%);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.7); max-width: 540px; margin: 0 auto 2rem; }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  margin-bottom: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-info-item .icon {
  width: 40px; height: 40px;
  background: rgba(26,138,138,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-info-item p { font-size: 0.9rem; margin: 0; }

/* ---- FOOTER ---- */
.footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.5);
  padding: 4rem 0 2rem;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; display: inline-block; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.85rem; line-height: 1.7; }
.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer ul a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a { color: rgba(255,255,255,0.4); font-size: 0.8rem; }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-content { grid-template-columns: 1fr; }
  .about-sidebar { position: relative; top: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    padding: 2rem;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  .hero { padding: 8rem 0 4rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .playbook-grid { grid-template-columns: 1fr; }
}

/* ---- SECTION BACKGROUND VARIANTS ---- */
.section-off-white { background: var(--off-white); }

/* ---- HERO NAME ---- */
.hero-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
  margin-bottom: 0.25rem;
}

/* ---- ENGAGEMENT MODEL CARDS ---- */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}
.engagement-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.engagement-icon {
  width: 44px; height: 44px;
  background: rgba(26,138,138,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.engagement-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.engagement-for {
  font-size: 0.85rem;
  color: var(--slate);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.engagement-section { flex: 1; margin-bottom: 1.5rem; }
.engagement-section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.engagement-card ul { list-style: none; padding: 0; margin: 0; }
.engagement-card ul li {
  font-size: 0.87rem;
  color: var(--text-light);
  padding: 0.4rem 0 0.4rem 1.1rem;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  line-height: 1.45;
}
.engagement-card ul li:last-child { border-bottom: none; }
.engagement-card ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
  font-size: 1rem;
  top: 0.35rem;
}
.engagement-meta {
  background: var(--off-white);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  display: flex;
  gap: 1rem;
  margin-top: auto;
}
.meta-item { flex: 1; }
.meta-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--slate-light);
  margin-bottom: 0.2rem;
}
.meta-value {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
@media (max-width: 900px) {
  .engagement-grid { grid-template-columns: 1fr; }
}

/* ---- HERO CREDENTIALS BAR ---- */
.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
  margin-top: 0.25rem;
}
.cred-badge {
  background: rgba(26,138,138,0.12);
  border: 1px solid rgba(26,138,138,0.28);
  color: var(--teal-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---- PROOF OF WORK ---- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.proof-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--teal);
  border-radius: 12px;
  padding: 2rem;
}
.proof-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.proof-card h3 { margin-bottom: 1.1rem; font-size: 1.1rem; }
.proof-card ul { list-style: none; padding: 0; }
.proof-card ul li {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.55;
  padding: 0.55rem 0 0.55rem 1.4rem;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
}
.proof-card ul li:last-child { border-bottom: none; }
.proof-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.85rem;
  top: 0.6rem;
}

/* ---- WHO I WORK WITH ---- */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto;
}
.fit-col { border-radius: 12px; padding: 2rem; }
.fit-yes {
  background: rgba(26,138,138,0.06);
  border: 1px solid rgba(26,138,138,0.22);
}
.fit-no {
  background: var(--white);
  border: 1px solid var(--light-gray);
}
.fit-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.fit-header h3 { margin: 0; }
.fit-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
  line-height: 1;
}
.fit-icon-no { background: var(--slate-light); }
.fit-col ul { list-style: none; padding: 0; }
.fit-col ul li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  line-height: 1.5;
}
.fit-col ul li:last-child { border-bottom: none; }

@media (max-width: 900px) {
  .proof-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
}

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---- BLOG CAROUSEL ---- */
.blog-carousel-outer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.blog-carousel-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}
.blog-carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.4s ease;
  will-change: transform;
}
.blog-carousel-track .blog-card {
  flex-shrink: 0;
  min-width: 0;
}
.carousel-arrow {
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--navy);
  transition: all var(--transition);
  line-height: 1;
}
.carousel-arrow:hover { border-color: var(--teal); color: var(--teal); }
.carousel-arrow.hidden { opacity: 0; pointer-events: none; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  min-height: 1.5rem;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--light-gray);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background var(--transition);
}
.carousel-dot.active { background: var(--teal); }
@media (max-width: 768px) {
  .carousel-arrow { width: 36px; height: 36px; font-size: 1.2rem; }
}

/* ---- COOKIE CONSENT BANNER ---- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  border-top: 2px solid var(--teal);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  z-index: 2000;
  flex-wrap: wrap;
}
#cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  flex: 1;
}
#cookie-banner a { color: var(--teal-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-actions .btn { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.cookie-decline-btn {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-decline-btn:hover { border-color: rgba(255,255,255,0.6); color: white; }
@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}

/* ---- UTILS ---- */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
