/* ============================================
   EMERCE CONSULTING — Global Styles
   ============================================ */

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

:root {
  --primary: #2e4a58;
  --primary-light: #3d5a6a;
  --accent: #4bbaa8;
  --accent-dark: #3aa596;
  --accent-warm: #f59e0b;
  --text: #334155;
  --text-light: #64748b;
  --text-white: #f8fafc;
  --bg: #ffffff;
  --bg-light: #f1f5f9;
  --bg-dark: #0f172a;
  --nav-bg: #1a1a2e;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }

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

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--primary); line-height: 1.3; }
h1, h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
h3, h4 { font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.section-title { margin-bottom: 20px; }
.section-subtitle { color: var(--text-light); font-size: 1.1rem; max-width: 700px; margin-bottom: 48px; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  transition: height var(--transition);
}
.navbar.scrolled .nav-inner { height: 64px; }

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo img {
  filter: brightness(0) invert(1);
  height: 44px;
  transition: height var(--transition);
}
.navbar.scrolled .logo img { height: 32px; }

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background var(--transition);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: #fff !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: var(--transition); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-light); color: var(--primary); }

/* --- Hero Section --- */
.hero {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-light) 100%);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { color: rgba(248,250,252,0.8); font-size: 1.15rem; max-width: 560px; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 56px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.hero-stat h3 {
  color: var(--accent);
  font-size: 2.4rem;
  margin-bottom: 4px;
  font-family: 'Playfair Display', Georgia, serif;
}
.hero-stat p { color: rgba(248,250,252,0.6); font-size: 0.9rem; margin: 0; }

/* Hero visual placeholder */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* --- Hero Dashboard Visual --- */
.hero-dashboard {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dash-glass-layer {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}
.dash-glass-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(75,186,168,0.2);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(8px);
}
.gc-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}
.gc-chart { margin-top: 4px; }
.gc-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 44px;
}
.gc-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), rgba(75,186,168,0.3));
  border-radius: 3px 3px 0 0;
  animation: barGrow 1.2s ease-out backwards;
}
.gc-bars span:nth-child(1) { animation-delay: 0.1s; }
.gc-bars span:nth-child(2) { animation-delay: 0.2s; }
.gc-bars span:nth-child(3) { animation-delay: 0.3s; }
.gc-bars span:nth-child(4) { animation-delay: 0.4s; }
.gc-bars span:nth-child(5) { animation-delay: 0.5s; }
.gc-bars span:nth-child(6) { animation-delay: 0.6s; }
.gc-bars span:nth-child(7) { animation-delay: 0.7s; }
.gc-bars span:nth-child(8) { animation-delay: 0.8s; }

@keyframes barGrow {
  from { height: 0; opacity: 0; }
}

.dash-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dash-metric {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(75,186,168,0.15);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
}
.dm-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  display: inline;
  line-height: 1;
}
.dm-suffix {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--accent);
  display: inline;
  opacity: 0.7;
}
.dm-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}
.dm-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}
.dm-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(75,186,168,0.4));
  border-radius: 2px;
  animation: fillBar 1.5s ease-out 0.5s backwards;
}
@keyframes fillBar {
  from { width: 0; }
}

/* Hero Video Frame */
.hero-video-frame {
  background: linear-gradient(135deg, rgba(75,186,168,0.2), rgba(75,186,168,0.05));
  border-radius: 16px;
  padding: 6px;
  position: relative;
}
.hero-video-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--accent), rgba(75,186,168,0.15), var(--accent)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-video-inner {
  background: rgba(15,23,42,0.6);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.hero-video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-video-placeholder span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-video-frame--large {
  width: 100%;
  max-width: 540px;
}
.hero-video-frame--large .hero-video-inner {
  aspect-ratio: 9/16;
  max-height: 480px;
}

/* --- Photo placeholders --- */
.photo-placeholder {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}
.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Sections --- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-light); }
.section-dark { background: var(--bg-dark); color: var(--text-white); }
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(248,250,252,0.7); }
.section-dark .section-label { color: var(--accent); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }

/* --- Service Cards (enhanced) --- */
.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at top right, rgba(75,186,168,0.06), transparent 70%);
  pointer-events: none;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--accent);
  background: linear-gradient(180deg, #f0fdf9 0%, #fff 40%);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .service-card-icon { background: var(--accent); color: #fff; }

.service-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.service-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(75, 186, 168, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 700;
  transition: all var(--transition);
}
.service-card h3 { margin-bottom: 0; font-size: 1.15rem; }
.service-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; margin-top: 4px; }
.service-card a { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.9rem; }

/* --- Generic Cards --- */
.card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; }

/* --- Client Grid --- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  align-items: center;
}
.client-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  font-weight: 600;
  color: var(--text-light);
  font-size: 0.85rem;
  transition: all var(--transition);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  text-decoration: none;
}
.client-item:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow); }
.client-item img {
  max-height: 54px;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all var(--transition);
}
.client-item:hover img { filter: grayscale(0%) opacity(1); }

/* --- Case Study Cards --- */
.case-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 520px;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-card-image {
  width: 100%;
  height: 168px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #0c1b2a 0%, #2e4a58 100%);
  position: relative;
}
.case-card-image::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 80% 20%, rgba(75,186,168,0.18), transparent 45%);
}
.case-card-logo-chip {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s ease;
}
.case-card:hover .case-card-logo-chip { transform: translateY(-3px) scale(1.03); }
.case-card-logo-chip img {
  max-height: 48px;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.case-card-header {
  padding: 24px 28px 12px;
  color: var(--text);
}
.case-card-header .tag {
  display: none;
  background: rgba(75, 186, 168, 0.12);
  color: var(--accent-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.case-card-header h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 4px; font-family: 'Playfair Display', Georgia, serif; }
.case-card-header p { color: var(--text-light); font-size: 0.85rem; margin: 0; }
.case-card-body { padding: 12px 28px 24px; flex: 1; display: flex; flex-direction: column; }
.case-card-body > p { flex: 1; }
.case-card-body .case-card-results { margin-top: auto; }
.case-card-body p { font-size: 0.9rem; color: var(--text-light); }
.case-card-results {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.result-badge {
  background: rgba(75, 186, 168, 0.08);
  color: var(--accent-dark);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}
.case-read-more {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}
.case-read-more:hover { color: var(--accent-dark); }

/* --- Carousel --- */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.carousel-track-container {
  overflow: hidden;
  flex: 1;
  border-radius: var(--radius);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 0;
}
.carousel-slide {
  flex: 0 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
  max-width: 420px;
  display: flex;
}
.carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition);
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--shadow); }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}
.carousel-dot.active { background: var(--accent); width: 28px; border-radius: 5px; }

/* --- Testimonial --- */
.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: 16px;
  left: 28px;
  line-height: 1;
  opacity: 0.3;
}
.testimonial-card p { font-style: italic; font-size: 1.05rem; margin-bottom: 20px; }
.testimonial-author { font-weight: 700; color: var(--primary); }
.testimonial-role { font-size: 0.85rem; color: var(--text-light); }

/* --- About / Founder --- */
.founder-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.founder-image {
  width: 100%;
  aspect-ratio: 3/4;
  position: sticky;
  top: 100px;
  background: linear-gradient(135deg, var(--bg-dark), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 6rem;
  overflow: hidden;
}
.founder-image img { width: 100%; height: 100%; object-fit: cover; }
.founder-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.role-tag {
  background: rgba(75, 186, 168, 0.1);
  color: var(--accent-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* --- Service Details --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail h3 { margin-bottom: 16px; }
.service-list { list-style: none; }
.service-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-light);
  font-size: 0.95rem;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* --- Training Page --- */
.training-day {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.training-day-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.day-number {
  background: var(--accent);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(75, 186, 168, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--bg);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: none; border-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { box-shadow: 0 0 0 3px rgba(75,186,168,0.15); }

/* --- Contact: immersive split --- */
.contact-split { display: grid; grid-template-columns: 0.92fr 1.08fr; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 100px rgba(12,27,42,0.20); border: 1px solid var(--border); }
.contact-panel { position: relative; overflow: hidden; padding: 56px 48px; color: #fff; background: radial-gradient(circle at 18% 12%, rgba(75,186,168,0.22), transparent 50%), linear-gradient(160deg,#11313f 0%,#0c1b2a 60%,#0a1622 100%); }
.contact-panel-inner { position: relative; z-index: 1; }
.contact-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; font-size: 0.76rem; margin-bottom: 16px; }
.contact-eyebrow::before { content: ''; width: 26px; height: 1.5px; background: var(--accent); }
.contact-panel h2 { font-family: 'Playfair Display', Georgia, serif; color: #fff; font-size: 2rem; line-height: 1.1; margin: 0 0 10px; }
.contact-panel .lede { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.6; margin: 0 0 28px; }
.contact-method { display: flex; gap: 15px; align-items: center; padding: 15px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-method:first-of-type { border-top: none; padding-top: 4px; }
.contact-method-icon { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(75,186,168,0.16); border: 1px solid rgba(75,186,168,0.3); display: flex; align-items: center; justify-content: center; transition: background .3s ease, transform .3s ease; }
.contact-method-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-method:hover .contact-method-icon { background: var(--accent); transform: translateY(-2px); }
.contact-method:hover .contact-method-icon svg { stroke: #0c1b2a; }
.cm-label { font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin: 0 0 2px; }
.cm-value, .cm-value a { color: #fff; font-weight: 600; font-size: 1.02rem; margin: 0; }
.cm-value a:hover { color: var(--accent); }
.contact-steps { margin-top: 34px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-steps h4 { color: #fff; font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 22px; }
.cstep { display: flex; gap: 16px; position: relative; padding-bottom: 22px; }
.cstep::before { content: ''; position: absolute; left: 15px; top: 34px; bottom: -4px; width: 2px; background: rgba(75,186,168,0.3); }
.cstep:last-child { padding-bottom: 0; }
.cstep:last-child::before { display: none; }
.cstep-num { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--accent); color: #0c1b2a; font-weight: 800; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; z-index: 1; }
.cstep p { color: rgba(255,255,255,0.78); font-size: 0.95rem; line-height: 1.5; margin: 5px 0 0; }
.form-card { background: #fff; padding: 56px 48px; }
.form-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.form-head h2 { margin: 0; font-size: 1.7rem; }
.form-badge { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(75,186,168,0.1); color: var(--accent-dark); font-weight: 700; font-size: 0.76rem; }
.form-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(75,186,168,0.2); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.contact-extra { margin-top: 32px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.social-row { display: flex; gap: 12px; margin-bottom: 24px; }
.social-btn { width: 46px; height: 46px; border-radius: 12px; background: rgba(75,186,168,0.16); border: 1px solid rgba(75,186,168,0.3); display: flex; align-items: center; justify-content: center; transition: background .3s ease, transform .3s ease; }
.social-btn svg { width: 21px; height: 21px; fill: var(--accent); transition: fill .3s ease; }
.social-btn:hover { background: var(--accent); transform: translateY(-2px); }
.social-btn:hover svg { fill: #0c1b2a; }
.trust-line { color: rgba(255,255,255,0.78); font-size: 1.12rem; line-height: 1.45; margin: 0; }
.trust-line b { color: #fff; font-style: normal; font-weight: 700; }
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } .contact-panel, .form-card { padding: 40px 28px; } }

/* --- Book a call band --- */
.book-call { display: flex; align-items: center; gap: 28px; padding: 34px 40px; border-radius: 22px; color: #fff; box-shadow: 0 24px 60px rgba(12,27,42,0.18); background: radial-gradient(circle at 12% 20%, rgba(75,186,168,0.22), transparent 55%), linear-gradient(155deg,#11313f 0%,#0c1b2a 60%,#0a1622 100%); }
.book-call-icon { width: 64px; height: 64px; flex: none; border-radius: 16px; background: rgba(75,186,168,0.16); border: 1px solid rgba(75,186,168,0.3); display: flex; align-items: center; justify-content: center; }
.book-call-icon svg { width: 30px; height: 30px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.book-call-text { flex: 1; }
.book-call-text h3 { color: #fff; font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; margin: 0 0 6px; }
.book-call-text p { color: rgba(255,255,255,0.72); margin: 0; font-size: 1rem; }
.book-call .btn { flex: none; }
@media (max-width: 760px) { .book-call { flex-direction: column; text-align: center; align-items: stretch; gap: 18px; } }

/* --- FAQ --- */
.faq-list { max-width: 820px; margin: 44px auto 0; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; background: #fff; transition: box-shadow .3s ease, border-color .3s ease; }
.faq-item[open] { border-color: rgba(75,186,168,0.5); box-shadow: 0 14px 34px rgba(12,27,42,0.08); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-weight: 700; font-size: 1.06rem; color: var(--primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-dark); }
.faq-q-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; line-height: 1; transition: transform .3s ease, background .3s ease, color .3s ease; }
.faq-item[open] .faq-q-icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-answer { padding: 0 26px 24px; color: var(--text-light); line-height: 1.7; font-size: 1rem; }

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(248,250,252,0.6);
  padding: 64px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer p { font-size: 0.9rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(248,250,252,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background .3s ease, transform .3s ease; }
.footer-social a svg { width: 18px; height: 18px; fill: rgba(248,250,252,0.7); transition: fill .3s ease; }
.footer-social a:hover { background: var(--accent); transform: translateY(-2px); }
.footer-social a:hover svg { fill: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 140px 0 60px;
  background:
    radial-gradient(90% 80% at 85% -20%, rgba(75,186,168,0.22), transparent 55%),
    radial-gradient(70% 70% at 0% 120%, rgba(61,90,106,0.5), transparent 55%),
    linear-gradient(150deg, #0b1726 0%, var(--bg-dark) 55%, #12303f 100%);
  color: #fff;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 16px; }
.page-header::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 30%, #000 0%, transparent 78%);
          mask-image: radial-gradient(80% 80% at 50% 30%, #000 0%, transparent 78%);
}
.page-header .container { position: relative; z-index: 2; }
.page-header .section-label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(75,186,168,0.1);
  border: 1px solid rgba(75,186,168,0.25);
  color: #7fe0d0; white-space: nowrap;
}
.page-header p { color: rgba(248,250,252,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- Node Network Pattern System --- */
.node-network {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.node-network svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* About page stat cards (interactive) */
.stat-board {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(75,186,168,0.20), transparent 55%),
    linear-gradient(160deg, #0c1b2a 0%, #13303f 100%);
  border-radius: 22px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(12,27,42,0.28);
}
.stat-board::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 10%, #000, transparent 80%);
          mask-image: radial-gradient(80% 80% at 70% 10%, #000, transparent 80%);
}
.stat-board .grid-2 { position: relative; z-index: 1; }
.stat-board .about-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
}
.stat-board .about-stat-card p { color: rgba(255,255,255,0.6); }
.stat-board .about-stat-card:hover {
  border-color: rgba(75,186,168,0.5);
  background: rgba(75,186,168,0.08);
}
.about-stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.about-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(75,186,168,0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.about-stat-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(75,186,168,0.15);
}
.about-stat-card:hover::before { opacity: 1; }
.about-stat-card h3 {
  color: var(--accent);
  font-size: 2.4rem;
  margin-bottom: 4px;
  font-family: 'Playfair Display', Georgia, serif;
  position: relative;
  transition: transform 0.4s ease;
}
.about-stat-card:hover h3 { transform: scale(1.1); }
.about-stat-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
  position: relative;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .founder-section { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 130px 0 64px; }
  .hero-buttons { flex-direction: column; }
  .carousel-btn { display: none; }
}

/* ============================================================
   ███  REDESIGN 2026 — Bold visual layer (home page)
   Appended overrides. Richer backgrounds, pill buttons,
   animated node network, branded photo treatment.
   ============================================================ */

/* ---- Animated node network (subtle parallax drift) ---- */
.node-network { will-change: transform; }
.node-network svg { animation: nodeDrift 28s ease-in-out infinite alternate; }
@keyframes nodeDrift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-1.5%, -2%, 0) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .node-network svg { animation: none; }
}

/* ---- Pill buttons (premium) ---- */
.btn {
  border-radius: 999px;
  padding: 15px 34px;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background .25s ease, color .25s ease;
}
/* moving sheen on hover */
.btn::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.25) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.btn:hover::after { transform: translateX(120%); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 6px 20px rgba(75,186,168,0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(75,186,168,0.42);
}
.btn-outline { border: 1.5px solid rgba(75,186,168,0.5); background: rgba(75,186,168,0.04); }
.btn-outline:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(75,186,168,0.18); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.16); }
.nav-cta { border-radius: 999px !important; }

/* ---- Richer HERO background ---- */
.hero {
  background:
    radial-gradient(90% 80% at 85% -10%, rgba(75,186,168,0.22), transparent 55%),
    radial-gradient(70% 70% at 0% 100%, rgba(61,90,106,0.5), transparent 55%),
    linear-gradient(150deg, #0b1726 0%, var(--bg-dark) 55%, #12303f 100%);
}
/* fine grid texture overlay */
.hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(80% 80% at 50% 30%, #000 0%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }
.hero .section-label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 18px; border-radius: 999px;
  background: rgba(75,186,168,0.1);
  border: 1px solid rgba(75,186,168,0.25);
  color: #7fe0d0; margin-bottom: 22px;
  font-size: 0.68rem; letter-spacing: 1.4px; white-space: nowrap;
}
.hero .section-label::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(75,186,168,0.2);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 50% { box-shadow: 0 0 0 7px rgba(75,186,168,0); } }
.hero h1 { letter-spacing: -0.5px; }
.hero h1 .hl { color: var(--accent); }

/* ---- Hero wordmark ---- */
.hero-wordmark {
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin-bottom: 26px;
}
.hero-wordmark .dot { color: var(--accent); }

/* ---- Nav wordmark logo ---- */
.logo-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}
.logo-wordmark .lw-name {
  font-weight: 800;
  font-size: 1.95rem;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.logo-wordmark .dot { color: var(--accent); }
.logo-wordmark .lw-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

/* ---- Hero video frame → 16:9 cinematic card ---- */
.hero-video-frame--large { max-width: 620px; }
.hero-video-frame--large .hero-video-inner {
  aspect-ratio: 16 / 9;
  max-height: none;
  background: #0a1622;
}
.hero-video-shell {
  position: relative;
  border-radius: 18px;
  padding: 8px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, rgba(75,186,168,0.35), rgba(75,186,168,0.04) 45%, rgba(255,255,255,0.06));
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(75,186,168,0.15);
}
.hero-video-shell iframe {
  display: block; width: 100%; flex: 1; height: 100%; min-height: 480px;
  border: 0; border-radius: 12px; background: #0a1622;
}
.hero-video-badge {
  position: absolute; top: 18px; left: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(10,22,34,0.6); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: #fff;
}
.hero-video-badge i {
  width: 7px; height: 7px; border-radius: 50%; background: #ff5a5a; display: inline-block;
  box-shadow: 0 0 0 0 rgba(255,90,90,0.6); animation: liveDot 1.6s ease-out infinite;
}
@keyframes liveDot { 70% { box-shadow: 0 0 0 6px rgba(255,90,90,0); } }

/* ---- Hero stats → glass cards ---- */
.hero-stats { border-top: none; gap: 16px; justify-content: stretch; display: grid; grid-template-columns: repeat(4,1fr); }
.hero-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 22px 20px; text-align: left;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.hero-stat:hover { transform: translateY(-4px); border-color: rgba(75,186,168,0.4); background: rgba(75,186,168,0.06); }
.hero-stat h3 { font-size: 2.6rem; }

/* ---- Section backgrounds: lift off flat white ---- */
.section:not(.section-dark) { background: linear-gradient(180deg, #ffffff 0%, #f7faf9 100%); }
.section-alt:not(.section-dark) { background: linear-gradient(180deg, #f1f5f9 0%, #eef6f4 100%); }
.section.section-dark { background: var(--bg-dark); }

/* ---- Services pillars: editorial premium layout ---- */
.pillar { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.pillar.reverse .pillar-media { order: -1; }
.pillar-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 18px; }
.pillar-eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--accent); }
.pillar-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.06; letter-spacing: -0.5px; color: var(--primary); margin: 0 0 18px; }
.pillar-lead { font-size: 1.16rem; line-height: 1.65; color: var(--text-light); margin: 0 0 28px; max-width: 32em; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { padding: 5px 11px; border: 1px solid rgba(75,186,168,0.35); border-radius: 999px; font-size: 0.74rem; font-weight: 600; color: var(--accent); background: rgba(75,186,168,0.08); transition: border-color .3s ease, color .3s ease, transform .3s ease, box-shadow .3s ease; cursor: default; }
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(75,186,168,0.14); }
.section-alt .chip { background: rgba(75,186,168,0.08); }
.pillar-metrics { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border); }
.pillar-metric h3 { font-size: 2.1rem; font-weight: 800; color: var(--primary); margin: 0; letter-spacing: -0.5px; }
.pillar-metric h3 .u { color: var(--accent); }
.pillar-metric p { font-size: 0.82rem; color: var(--text-light); margin: 4px 0 0; letter-spacing: 0.3px; }

/* video placeholder frame */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid rgba(75,186,168,0.25); box-shadow: 0 30px 70px rgba(12,27,42,0.28); background:
  radial-gradient(circle at 30% 25%, rgba(75,186,168,0.22), transparent 55%),
  repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 16px),
  linear-gradient(155deg, #11313f 0%, #0c1b2a 60%, #0a1622 100%); }
.video-frame video, .video-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-tag { position: absolute; top: 18px; left: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(8,18,28,0.6); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.14); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.video-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(75,186,168,0.25); }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3; width: 76px; height: 76px; border-radius: 50%; background: rgba(255,255,255,0.14); backdrop-filter: blur(8px); border: 1.5px solid rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; transition: transform .35s cubic-bezier(.2,.7,.2,1), background .35s ease; }
.video-play::after { content: ''; margin-left: 5px; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video-frame:hover .video-play { transform: translate(-50%,-50%) scale(1.08); background: var(--accent); }
.video-hint { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 28px 22px 18px; background: linear-gradient(180deg, transparent, rgba(8,18,28,0.85)); font-family: 'SFMono-Regular', ui-monospace, Menlo, Consolas, monospace; font-size: 0.74rem; color: rgba(255,255,255,0.62); letter-spacing: 0.3px; }
.video-caption { z-index: 3; }
@media (max-width: 900px) {
  .pillar { grid-template-columns: 1fr; gap: 36px; }
  .pillar.reverse .pillar-media { order: -1; }
  .pillar-media { order: -1; }
}
.pillar-more-btn { margin-top: 16px; display: inline-flex; align-items: center; gap: 11px; background: none; border: none; padding: 0; color: var(--accent); font-weight: 700; font-size: 0.95rem; cursor: pointer; font-family: inherit; }
.pillar-more-btn em { font-style: normal; width: 26px; height: 26px; border: 1.5px solid var(--accent); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; line-height: 1; transition: transform .35s ease, background .35s ease, color .35s ease; }
.pillar-more-btn:hover em { background: var(--accent); color: #fff; }
.pillar-more-btn.open em { transform: rotate(45deg); background: var(--accent); color: #fff; }
.pillar-detail { overflow: hidden; }
.kpi-stat { position: relative; background: linear-gradient(160deg, #ffffff, #f2f9f7); border: 1px solid var(--border); border-radius: 14px; padding: 15px 18px 14px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.kpi-stat:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(12,27,42,.09); border-color: rgba(75,186,168,.4); }
.kpi-trend { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; font-size: 0.72rem; color: var(--accent); background: rgba(75,186,168,.12); }
.kpi-num { display: block; font-size: 1.9rem; font-weight: 800; color: var(--primary); line-height: 1.04; margin-top: 8px; letter-spacing: -0.5px; }
.kpi-label { font-size: 0.82rem; color: var(--text-light); }
.pillar-detail-inner { padding-top: 44px; margin-top: 44px; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pillar-detail-inner .service-detail { position: relative; margin: 0; border-bottom: none; grid-template-columns: 1fr; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px 28px 24px; overflow: hidden; box-shadow: 0 1px 2px rgba(12,27,42,.04); transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease; }
.pillar-detail-inner .service-detail::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), rgba(75,186,168,.25)); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.pillar-detail-inner .service-detail:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(12,27,42,.11); border-color: rgba(75,186,168,.5); }
.pillar-detail-inner .service-detail:hover::before { transform: scaleX(1); }
.pillar-detail-inner .service-detail h3 { font-size: 1.12rem; margin-bottom: 6px; color: var(--primary); display: flex; align-items: center; gap: 12px; }
.pillar-detail-inner .service-detail h3::before { content: ''; width: 26px; height: 26px; border-radius: 8px; background: rgba(75,186,168,.12); border: 1px solid rgba(75,186,168,.3); flex: none; transition: background .35s ease, transform .35s ease, border-color .35s ease; }
.pillar-detail-inner .service-detail:hover h3::before { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.pillar-detail-inner .service-list li { padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 900px) { .pillar-detail-inner { grid-template-columns: 1fr; } }

/* ---- Industry cards: hover lift ---- */
.section-dark .grid-4 > div { border-radius: 14px; cursor: default; transition: transform .35s cubic-bezier(.2,.7,.2,1), background .35s ease, box-shadow .35s ease; }
.section-dark .grid-4 > div svg { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.section-dark .grid-4 > div:hover { transform: translateY(-6px); background: rgba(75,186,168,0.07); box-shadow: 0 18px 44px rgba(0,0,0,0.28); }
.section-dark .grid-4 > div:hover svg { transform: scale(1.1); }
.section-dark .grid-4 > div:hover h4 { color: var(--accent); }
.section-dark .grid-4 > div h4 { transition: color .35s ease; }

/* ---- CTA banner: richer patterned background ---- */
.cta-banner {
  background:
    radial-gradient(60% 90% at 85% 15%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(70% 100% at 10% 100%, rgba(12,27,42,0.5), transparent 60%),
    linear-gradient(135deg, #5fcab9 0%, var(--accent) 40%, var(--accent-dark) 100%);
  position: relative;
}
/* dot-grid pattern, fading toward center */
.cta-banner::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.22) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 50%, #000 0%, transparent 78%);
          mask-image: radial-gradient(80% 70% at 50% 50%, #000 0%, transparent 78%);
}
/* large translucent concentric rings + diagonal sheen */
.cta-banner::after {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 88% 22%, transparent 58px, rgba(255,255,255,0.12) 59px, transparent 62px),
    radial-gradient(circle at 88% 22%, transparent 96px, rgba(255,255,255,0.08) 97px, transparent 100px),
    radial-gradient(circle at 8% 80%, transparent 70px, rgba(255,255,255,0.1) 71px, transparent 74px),
    linear-gradient(115deg, transparent 42%, rgba(255,255,255,0.07) 50%, transparent 58%);
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner .node-network { z-index: 1; }
.section-label:not(.hero .section-label) { font-weight: 700; }

/* ---- Branded photo treatment (cohesive duotone wash) ---- */
.img-branded { position: relative; overflow: hidden; }
.img-branded > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.img-branded::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(150deg, rgba(46,74,88,0.45), rgba(12,27,42,0.15) 50%, rgba(75,186,168,0.22));
  mix-blend-mode: multiply;
}
.img-branded:hover > img { transform: scale(1.05); }
.img-hover > img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.img-hover:hover > img { transform: scale(1.05); }

/* corner caption on editorial images */
.img-caption {
  position: absolute; left: 22px; bottom: 18px; z-index: 2; color: #fff;
  font-size: 0.8rem; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
  display: inline-flex; align-items: center; gap: 9px;
}
.img-caption::before { content: ''; width: 26px; height: 1.5px; background: var(--accent); }

/* ---- Service cards: premium glass-edge ---- */
.service-card { border-radius: 16px; }
.service-card:hover { background: linear-gradient(180deg, #f0fdf9 0%, #fff 45%); }

/* ---- Eyebrow divider used on light sections ---- */
.section-label.text-center { display: block; }

/* ---- Responsive tweaks for new hero ---- */
.hero-container { grid-template-columns: 0.92fr 1.08fr; align-items: stretch; }
.hero-visual { align-items: stretch; height: 100%; }
@media (max-width: 1024px) {
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .hero-visual { display: flex !important; margin-top: 8px; }
  .hero-video-shell iframe { min-height: 260px; }
}
@media (max-width: 768px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-stat { padding: 16px; }
  .hero-stat h3 { font-size: 2rem; }
}
