:root {
  --teal: #0B4F6C;
  --teal-dark: #083A50;
  --teal-light: #1A6B8A;
  --green: #3EE07F;
  --green-dark: #22C55E;
  --white: #FFFFFF;
  --dark: #0D1B2A;
  --slate: #1E293B;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0F172A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; width: 100%; max-width: 100%; }
img, video, canvas, svg { max-width: 100%; height: auto; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Sora', system-ui, sans-serif;
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

nav.dark-nav {
  background: rgba(11, 79, 108, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

nav.dark-nav .nav-links a { color: rgba(255,255,255,0.85); }

.nav-links a:hover {
  color: var(--teal);
  background: var(--gray-100);
}

nav.dark-nav .nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-links .dropdown { position: relative; }
.nav-links .dropdown > a { cursor: pointer; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  color: var(--gray-700) !important;
  background: transparent !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  font-size: 14px;
}
.dropdown-menu a:hover { background: var(--gray-50) !important; color: var(--teal) !important; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(11,79,108,0.3); }

.btn-outline {
  border: 1.5px solid var(--teal);
  color: var(--teal);
  background: transparent;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--teal);
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }

.btn-ghost {
  color: var(--gray-600);
  background: transparent;
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--teal); background: var(--gray-100); }

.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--teal-dark);
  padding: 100px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(62,224,127,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* AI Network Animation */
#hero-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 780px;
}

.hero h1 .accent { color: var(--green); }

.hero p {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.stat-item { }
.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.stat-number .green { color: var(--green); }
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* SECTIONS */
.section {
  padding: 100px 24px;
  width: 100%;
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11,79,108,0.08);
  border: 1px solid rgba(11,79,108,0.15);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 64px;
}

/* CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--teal);
  box-shadow: 0 20px 60px rgba(11,79,108,0.1);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(11,79,108,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* GRID LAYOUTS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* DARK SECTION */
.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,0.6); }
.section-dark .section-badge {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--green);
}
.section-dark .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}
.section-dark .card:hover {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
}
.section-dark .card h3 { color: var(--white); }
.section-dark .card p { color: rgba(255,255,255,0.6); }
.section-dark .card-icon {
  background: rgba(255,255,255,0.1);
  color: var(--green);
}

/* GRAY SECTION */
.section-gray { background: var(--gray-50); }

/* FEATURE SPLIT */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }

.feature-visual {
  background: var(--gray-100);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.feature-visual-dark {
  background: var(--teal-dark);
}

/* PRICING */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(11,79,108,0.08);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.price sup { font-size: 24px; vertical-align: top; margin-top: 12px; display: inline-block; }
.price span { font-size: 16px; font-weight: 400; color: var(--gray-400); }

.feature-list {
  list-style: none;
  margin: 24px 0 32px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
  padding: 6px 0;
}

.feature-list li .check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(62,224,127,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-dark);
  font-size: 11px;
}

/* TESTIMONIALS */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.author-name { font-size: 15px; font-weight: 600; color: var(--dark); }
.author-role { font-size: 13px; color: var(--gray-400); }

/* BLOG */
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.blog-image {
  height: 200px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.blog-image img { width: 100%; height: 100%; object-fit: cover; }

.blog-content { padding: 24px; }

.blog-tag {
  display: inline-block;
  background: rgba(11,79,108,0.08);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.blog-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 16px;
}

/* FOOTER */
footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 80px 24px 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand img { height: 32px; margin-bottom: 20px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { font-size: 14px; color: rgba(255,255,255,0.4); }

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 15px;
}

.social-links a:hover {
  background: var(--teal);
  color: var(--white);
}

/* PAGE HERO (non-homepage) */
.page-hero {
  padding: 140px 24px 80px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.page-hero-dark {
  background: var(--teal-dark);
  border-bottom: none;
}

.page-hero-dark .hero-badge { display: inline-flex; }
.page-hero-dark h1 { color: var(--white); }
.page-hero-dark p { color: rgba(255,255,255,0.7); }

/* ===================== MOBILE NAV ===================== */

/* Hamburger button — hidden on desktop */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}
.mobile-menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.is-open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dim overlay behind drawer */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.55);
  z-index: 998;
  -webkit-tap-highlight-color: transparent;
}
.mobile-overlay.open { display: block; }

/* Slide-in drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 88vw;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -4px 0 24px rgba(0,0,0,0.18);
}
.mobile-menu.open { transform: translateX(0); }

/* Drawer header */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #083A50;
  flex-shrink: 0;
}
.mobile-menu-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.mobile-menu-logo img { height: 28px; width: auto; }
.mobile-menu-logo-name { color: #fff; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.mobile-menu-close {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

/* Scrollable nav area */
.mobile-menu-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Section label */
.mobile-nav-label {
  font-size: 10px;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 16px 20px 4px;
}

/* Top-level nav links */
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #0d1b2a;
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu a:active { background: #f8fafc; }

/* Accordion trigger for Solutions */
.mobile-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #0d1b2a;
  background: none;
  border: none;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.mobile-acc-btn .acc-arrow {
  font-size: 11px;
  color: #9ca3af;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.mobile-acc-btn.open .acc-arrow { transform: rotate(180deg); }

/* Sub-links (dropdown inside drawer) */
.mobile-acc-panel {
  display: none;
  background: #f8fafc;
  border-bottom: 1px solid #f3f4f6;
}
.mobile-acc-panel.open { display: block; }
.mobile-acc-panel a {
  padding: 11px 20px 11px 36px;
  font-size: 14px;
  font-weight: 400;
  color: #374151;
  border-bottom: 1px solid #eff1f3;
}
.mobile-acc-panel a:last-child { border-bottom: none; }
.mobile-acc-panel a:active { background: #f0f9ff; color: #0B4F6C; }

/* Drawer footer CTAs */
.mobile-menu-footer {
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.mobile-menu-footer .btn {
  display: block;
  text-align: center;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.mobile-menu-footer .btn-primary { background: #0B4F6C; color: #fff; }
.mobile-menu-footer .btn-ghost-dark {
  background: #f3f4f6;
  color: #0d1b2a;
  border: 1.5px solid #e5e7eb;
}

/* FORM */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  color: var(--dark);
  transition: border-color 0.2s;
  outline: none;
  background: var(--white);
}
.form-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,79,108,0.1); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { cursor: pointer; }

/* TAG */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-600);
}

.tag.green { background: rgba(62,224,127,0.15); color: #15803D; }
.tag.teal { background: rgba(11,79,108,0.1); color: var(--teal); }

/* CTA SECTION */
.cta-section {
  background: var(--teal);
  color: var(--white);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(62,224,127,0.12) 0%, transparent 70%);
}

.cta-section .section-inner { position: relative; }

.cta-section h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 40px;
}

/* ACCORDION */
.accordion-item {
  border-bottom: 1px solid var(--gray-200);
}

.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.accordion-btn:hover { color: var(--teal); }

.accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  transition: all 0.3s;
}

.accordion-item.open .accordion-icon {
  background: var(--teal);
  color: var(--white);
  transform: rotate(45deg);
}

.accordion-content {
  display: none;
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

.accordion-item.open .accordion-content { display: block; }

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.breadcrumb a { color: var(--gray-400); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb .sep { font-size: 11px; }

/* STEP */
.step-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .feature-split { grid-template-columns: 1fr; gap: 48px; }
  .feature-split.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero-stats { gap: 32px; flex-wrap: wrap; }
  .stat-number { font-size: 26px; }

  .section { padding: 60px 0; }
  .section-inner { padding: 0 20px; }

  h1 { font-size: clamp(28px, 8vw, 48px) !important; }
  .page-hero { padding: 60px 0 40px; }

  /* Pricing cards stack */
  .pricing-grid { grid-template-columns: 1fr !important; }

  /* Case study grid */
  .case-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .nav-inner { padding: 0 16px; }
}

/* ===================== RESPONSIVE GRID UTILITIES ===================== */
.rg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.rg-2-skew { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.rg-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rg-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.rg-sidebar { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }

@media (max-width: 900px) {
  .rg-2, .rg-2-skew, .rg-3, .rg-sidebar { grid-template-columns: 1fr !important; gap: 32px !important; }
}

/* ===================== GLOBAL MOBILE OVERRIDES ===================== */
@media (max-width: 768px) {
  /* Any inline 2-col grid inside section */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Sidebar layouts */
  [style*="grid-template-columns:240px"],
  [style*="grid-template-columns: 240px"] {
    grid-template-columns: 1fr !important;
  }

  /* Padding relief on cards */
  [style*="padding:60px"] { padding: 28px 20px !important; }
  [style*="padding:48px"] { padding: 28px 20px !important; }

  /* Font size clamp on large headings */
  h1 { font-size: clamp(26px, 7vw, 48px) !important; }
  h2 { font-size: clamp(22px, 5vw, 36px) !important; }
}

@media (max-width: 480px) {
  .section { padding: 48px 16px !important; }
  .section-inner { padding: 0 !important; }
  [style*="padding:32px"] { padding: 20px 16px !important; }
  [style*="padding:24px"] { padding: 16px !important; }

  /* Pricing tabs */
  .pricing-tabs { flex-direction: column; align-items: stretch; }
  .pricing-tab { text-align: center; }
}

/* ===================== CRITICAL MOBILE OVERFLOW FIXES ===================== */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Tables on mobile — scrollable */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Grid 4 becomes 2-col on mobile */
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
}

/* Hero canvas should not overflow */
#hero-canvas {
  max-width: 100%;
  overflow: hidden;
}

/* Mobile nav button visible */
@media (max-width: 900px) {
  .mobile-menu-btn { display: flex !important; }
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
}

/* Footer on small screens */
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr !important; }
  .footer-col { margin-bottom: 16px; }
}

/* Hero stats wrapping */
@media (max-width: 520px) {
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .stat-item { text-align: center; }
}

/* Form inputs on mobile */
@media (max-width: 480px) {
  input, select, textarea {
    font-size: 16px !important; /* prevents iOS zoom */
  }
}

/* CTA section flex wrap */
.cta-section .btn {
  min-width: 160px;
}

@media (max-width: 480px) {
  .cta-section > .section-inner > div:last-child {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-section .btn {
    text-align: center;
    justify-content: center;
  }
}

