/* Progressive UI improvements kept separate from the legacy bundled stylesheet. */
.bubble-text {
  color: var(--text-primary);
  text-decoration: none;
}

.scheduler-bubble {
  display: none !important;
}

.meeting-scheduler-widget {
  bottom: 1.25rem;
  right: 1.25rem;
}

.scheduler-trigger {
  min-width: 50px;
}

.form-consent {
  margin: 1rem 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-consent input {
  width: auto;
  margin-right: 0.4rem;
}

.form-consent a {
  color: var(--color-primary);
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }

  .menu-toggle {
    display: block;
  }

  .btn-consultation {
    display: none;
  }
}

@media (max-width: 768px) {
  .meeting-scheduler-widget {
    bottom: 1rem;
    right: 1rem;
  }

  .scheduler-label {
    display: none;
  }

  .scheduler-trigger {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
}

/* 2026 conversion refresh ------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  overflow-x: hidden;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: 0.5rem;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  color: #1e40af;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-eyebrow span {
  width: 2.25rem;
  height: 2px;
  background: #2563eb;
}

.hero-title {
  margin-bottom: 1.4rem;
  line-height: 0.98;
}

.accent-marketplace {
  color: #2563eb;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin: 2rem 0 0.8rem;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 0.25rem;
  color: #0f172a;
  font-weight: 750;
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.25);
}

.hero-secondary:hover {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}

.cta-proof {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.audit-preview {
  position: relative;
  z-index: 1;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.audit-preview-top,
.audit-preview-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.audit-free {
  color: #047857;
}

.audit-preview h2 {
  margin: 1.2rem 0 1.5rem;
  color: #0f172a;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.audit-checklist {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audit-checklist li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid #e2e8f0;
}

.audit-number {
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.audit-checklist h3 {
  margin: -0.2rem 0 0.2rem;
  color: #0f172a;
  font-size: 0.98rem;
}

.audit-checklist p {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.45;
}

.audit-preview-footer {
  justify-content: flex-start;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  letter-spacing: 0.04em;
}

.results-strip {
  display: grid;
  grid-template-columns: 1.05fr repeat(3, 1fr);
  max-width: 1280px;
  margin: 0 auto 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 22px;
  background: #0f172a;
  overflow: hidden;
}

.results-strip-intro,
.result-proof {
  min-height: 180px;
  padding: 1.55rem;
}

.results-strip-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #1d4ed8;
  color: #fff;
}

.results-strip-intro .section-tag {
  background: #1e3a8a;
  color: #fff;
}

.results-strip-intro p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.25;
}

.result-proof {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 180ms ease;
}

.result-proof:hover {
  background: #1e293b;
  color: #fff;
}

.result-proof strong {
  color: #93c5fd;
  font-size: 2.15rem;
  letter-spacing: -0.05em;
}

.result-proof span {
  margin: 0.25rem 0 1.1rem;
  font-weight: 700;
}

.result-proof small {
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
}

.partner-strip {
  max-width: 1280px;
  margin: 0 auto 2rem;
  padding: 1rem 1.25rem;
  border: 0;
  justify-content: center;
}

.audit-cta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.audit-cta .cta-proof {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
}

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: #fff;
}

.reveal {
  opacity: 1;
  transform: none;
}

.pillar-tag,
.expertise-card:nth-child(n) .pillar-tag {
  background: #dbeafe;
  color: #1e3a8a;
}

.footer-tagline {
  color: #94a3b8;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 0.82fr;
    gap: 2rem;
    padding: 3.25rem;
  }

  .results-strip,
  .partner-strip {
    margin-right: 1.25rem;
    margin-left: 1.25rem;
  }

  .site-nav {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
  }

  .nav-links.active {
    top: calc(100% + 1px);
    z-index: 20;
  }
}

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 680px;
  }

  .audit-preview {
    max-width: 640px;
  }

  .results-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .results-strip-intro {
    grid-column: 1 / -1;
    min-height: auto;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2.5rem 1.15rem 1.15rem;
  }

  .hero-title br {
    display: none;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn-primary {
    justify-content: center;
    width: 100%;
  }

  .hero-secondary {
    align-self: flex-start;
  }

  .audit-preview {
    border-radius: 17px;
  }

  .results-strip {
    grid-template-columns: 1fr;
    margin: 0 0.85rem 1rem;
    border-radius: 18px;
  }

  .results-strip-intro {
    grid-column: auto;
  }

  .results-strip-intro,
  .result-proof {
    min-height: 142px;
  }

  .result-proof {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .partner-strip {
    margin-right: 0.85rem;
    margin-left: 0.85rem;
  }

  .content-grid-2col,
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep the generated 404 page inside the same site shell. */
body.error-page {
  display: block;
  min-height: 100vh;
  padding: 0;
  background: #f8fafc;
  color: #0f172a;
  text-align: left;
}

.error-page #main-content {
  display: flex;
  min-height: 72vh;
  padding: 9rem 1.5rem 5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-page .error-code {
  margin-bottom: 0.75rem;
}

.error-page #main-content h1 {
  color: #0f172a;
}

.error-page #main-content p {
  color: #64748b;
}

.error-page footer {
  width: 100%;
}

.error-page footer .footer-text {
  position: static;
  max-width: none;
  margin: 0;
}

/* Visual refresh: elevated editorial layout without changing the site content. */
body {
  background:
    radial-gradient(circle at 85% 0%, rgba(37, 99, 235, 0.1), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #f4f7fb 48%, #fff 100%);
}

header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

.nav-container {
  max-width: 1320px;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.logo {
  letter-spacing: -0.045em;
}

.nav-links {
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.9rem;
}

.btn-consultation,
.btn-primary {
  background: linear-gradient(135deg, #0f172a 0%, #172554 100%);
  border-color: #172554;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(30, 64, 175, 0.16);
}

.btn-consultation:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #0f766e 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  border-radius: 999px;
  border-color: rgba(30, 41, 59, 0.16);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.hero {
  position: relative;
  isolation: isolate;
  max-width: 1280px;
  min-height: auto;
  margin: 7.5rem auto 3rem;
  padding: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.97) 0%, rgba(244, 248, 255, 0.94) 58%, rgba(222, 239, 255, 0.84) 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.09);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -9rem;
  right: -8rem;
  width: 31rem;
  height: 31rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), rgba(16, 185, 129, 0.05) 45%, transparent 70%);
  content: '';
}

.hero-title {
  max-width: 800px;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
  letter-spacing: -0.065em;
}

.hero-description {
  max-width: 620px;
  font-size: 1.15rem;
  line-height: 1.75;
}

.hero-actions {
  margin-bottom: 2.5rem;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  min-height: 56px;
  padding: 1rem 1.6rem;
}

.partner-badges {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.23);
}

.partner-badges .badge-item {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(148, 163, 184, 0.23);
}

.hero-stats {
  gap: 2.5rem;
  border-top: 0;
  padding-top: 0.5rem;
}

.stat-number {
  color: #1d4ed8;
}

.visual-canvas {
  border: 0;
  background: linear-gradient(160deg, #0f172a, #172554 60%, #0f766e 150%);
  box-shadow: 0 26px 48px rgba(15, 23, 42, 0.24);
  color: #fff;
}

.canvas-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.canvas-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.canvas-metric { color: #86efac; }
.canvas-trend { color: #bae6fd; }
.mock-graph { border-bottom-color: rgba(255, 255, 255, 0.25); }
.mock-graph::before, .mock-graph::after { border-top-color: rgba(255, 255, 255, 0.15); }

.platforms-bar,
.clients-bar {
  border: 0;
  background: transparent;
}

.expertise,
.case-studies,
.process-section,
.pricing-section,
.faq-section {
  background: transparent;
  border: 0;
}

.expertise-card,
.feature-card,
.process-step,
.pricing-card,
.case-card,
.contact-form-box,
.faq-item {
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.055);
}

.expertise-card,
.feature-card,
.process-step,
.pricing-card,
.case-card,
.faq-item {
  background: rgba(255, 255, 255, 0.86);
}

.expertise-card:hover,
.feature-card:hover,
.process-step:hover,
.pricing-card:hover,
.case-card:hover {
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 20px 42px rgba(30, 64, 175, 0.13);
}

.pricing-featured {
  border: 2px solid #2563eb;
  box-shadow: 0 18px 44px rgba(37, 99, 235, 0.16);
}

.pricing-badge {
  background: linear-gradient(135deg, #2563eb, #0f766e);
}

.case-hero-stat {
  background: linear-gradient(135deg, #172554, #2563eb);
}

.case-card.alt .case-hero-stat {
  background: linear-gradient(135deg, #065f46, #10b981);
}

.contact-section {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.contact-form-box {
  border-radius: 20px;
}

.page-header {
  background:
    radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.12), transparent 25rem),
    linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

.page-title {
  font-size: clamp(2.45rem, 5vw, 4.3rem);
  letter-spacing: -0.06em;
}

footer {
  background: #0f172a;
  border-top: 0;
}

.footer-group .footer-heading,
.footer-text,
.footer-group a,
.social-link {
  color: rgba(255, 255, 255, 0.7);
}

.footer-group .footer-heading { color: #fff; }
.footer-group a:hover, .social-link:hover { color: #93c5fd; }

@media (max-width: 1100px) {
  .hero {
    margin: 6.25rem 1.25rem 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-container { padding: 0.8rem 1.25rem; }
  .hero {
    margin: 5.5rem 0.85rem 2rem;
    padding: 3rem 1.25rem;
    border-radius: 22px;
  }
  .hero-title { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .hero-description { font-size: 1rem; }
  .hero-actions { margin-bottom: 1.75rem; }
  .partner-badges { gap: 0.55rem; }
  .hero-stats { justify-content: flex-start; }
  .section-title { font-size: 2rem; letter-spacing: -0.04em; }
  .expertise-card, .process-step, .pricing-card, .case-card { border-radius: 18px; }
  .page-header { padding-top: 8rem; }
}

/* Mobile-first conversion and layout repair -------------------------------- */
.mobile-swipe-hint {
  display: none;
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 4.75rem;
  }

  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    min-height: 72px;
  }

  .site-nav {
    min-height: 72px;
    padding: 0.75rem 1.15rem;
  }

  .logo {
    position: relative;
    z-index: 1002;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
  }

  .menu-toggle line {
    transform-box: fill-box;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] line:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links.active {
    position: fixed;
    z-index: 1001;
    inset: 72px 0 0;
    display: flex;
    width: 100%;
    height: calc(100dvh - 72px);
    padding: 1.75rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border: 0;
    box-shadow: none;
    backdrop-filter: blur(18px);
  }

  .nav-links.active li {
    width: min(100%, 420px);
    margin: 0 auto;
    border-bottom: 1px solid #e2e8f0;
  }

  .nav-links.active a {
    display: flex;
    min-height: 54px;
    padding: 0.8rem 0.25rem;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
  }

  .nav-links.active a:not(.btn-primary)::after {
    position: static;
    width: auto;
    height: auto;
    background: none;
    content: '→';
    color: #94a3b8;
  }

  .nav-links.active .mobile-only {
    margin-top: 1.25rem;
    border: 0;
  }

  .nav-links.active .btn-primary {
    justify-content: center;
    padding: 1rem;
    border-radius: 999px;
    color: #fff;
  }

  .page-header {
    padding: 7rem 1rem 2.75rem;
  }

  .page-header-content {
    padding: 0;
  }

  .page-title {
    font-size: clamp(2.2rem, 11vw, 3.15rem);
    line-height: 1.03;
    overflow-wrap: anywhere;
  }

  .page-intro {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .page-meta-pills {
    display: flex;
    margin-right: 0;
    padding-right: 0;
    flex-wrap: wrap;
    overflow: visible;
  }

  .meta-pill {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .content-section {
    width: 100%;
    padding: 3rem 1rem;
    overflow: hidden;
  }

  .content-grid-2col,
  .feature-cards-grid,
  .features-grid,
  .retainer-budget-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .feature-cards-grid {
    gap: 1rem;
    margin: 1.75rem 0;
  }

  .feature-card {
    min-width: 0;
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
  }

  .feature-card :where(h3, h4, p, a) {
    overflow-wrap: anywhere;
  }

  .cta-banner {
    margin: 2.5rem 1rem;
    padding: 2.25rem 1.25rem;
    border-radius: 20px;
  }

  .cta-banner h2 {
    font-size: 1.75rem;
  }

  .mobile-swipe-hint {
    display: flex;
    margin: -1rem 0 1.25rem;
    align-items: center;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .home-page .hero {
    display: block;
    min-height: auto;
    margin: 5.35rem 0.65rem 1rem;
    padding: 2.35rem 1.15rem 2rem;
    text-align: left;
    border-radius: 22px;
  }

  .home-page .hero-content {
    align-items: flex-start;
  }

  .home-page .hero-eyebrow {
    margin-bottom: 1rem;
    font-size: 0.7rem;
    line-height: 1.4;
    text-align: left;
  }

  .home-page .hero-title {
    max-width: 340px;
    margin-bottom: 1rem;
    font-size: clamp(2.45rem, 12vw, 3.25rem);
    line-height: 0.98;
    text-align: left;
  }

  .home-page .hero-description {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.65;
    text-align: left;
  }

  .home-page .hero-actions {
    width: 100%;
    margin: 1.5rem 0 0;
    align-items: stretch;
  }

  .home-page .hero-actions .btn-primary {
    min-height: 58px;
  }

  .home-page .hero-secondary {
    min-height: 44px;
  }

  .home-page .audit-preview {
    display: none;
  }

  .home-page .results-strip {
    display: flex;
    width: auto;
    margin: 0 0.65rem 1rem;
    padding: 0;
    gap: 0;
    overflow-x: auto;
    border-radius: 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-page .results-strip-intro {
    display: none;
  }

  .home-page .result-proof {
    min-width: 100%;
    min-height: 164px;
    padding: 1.35rem;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    scroll-snap-align: start;
  }

  .home-page .partner-strip {
    width: auto;
    margin: 0 0.65rem 0.5rem;
    padding: 0.75rem 0.5rem;
    justify-content: center;
    overflow: visible;
    flex-wrap: wrap;
  }

  .home-page .partner-strip > * {
    flex: 0 0 auto;
  }

  .home-page .platforms-bar,
  .home-page .clients-bar {
    padding: 1.15rem 0;
  }

  .home-page .platforms-container,
  .home-page .clients-container {
    padding: 0 1rem;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .home-page .platforms-wrapper,
  .home-page .clients-wrapper {
    width: 100%;
    padding-bottom: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem 1.25rem;
    overflow: visible;
  }

  .home-page .platform-logo,
  .home-page .client-logo {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .home-page :where(.expertise, .case-studies, .process-section, .pricing-section, .faq-section, .contact-section) {
    padding: 3rem 1rem 2.5rem;
  }

  .home-page .section-title {
    max-width: 330px;
    font-size: 2rem;
    line-height: 1.08;
  }

  .home-page .section-subtitle {
    margin-bottom: 1.75rem;
    line-height: 1.6;
  }

  .home-page :where(.expertise-grid, .case-grid, .process-grid, .pricing-grid) {
    display: flex;
    width: 100%;
    margin-right: 0;
    padding: 0 0 1rem;
    align-items: stretch;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-page .expertise-card {
    flex: 0 0 100%;
    width: 100%;
    min-height: 0;
    height: auto;
    scroll-snap-align: start;
  }

  .home-page .case-card {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
  }

  .home-page .case-body > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .home-page .case-testimonial {
    display: none;
  }

  .home-page .process-step {
    flex: 0 0 100%;
    width: 100%;
    min-height: 0;
    scroll-snap-align: start;
  }

  .home-page .pricing-card {
    flex: 0 0 100%;
    width: 100%;
    min-height: 0;
    scroll-snap-align: start;
  }

  .home-page .faq-item:nth-child(n + 5) {
    display: none;
  }

  .home-page .contact-section {
    display: block;
  }

  .home-page .contact-info {
    margin-bottom: 2rem;
  }

  .home-page .contact-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .home-page .channel {
    min-width: 0;
  }

  .home-page .channel-details :where(p, a) {
    overflow-wrap: anywhere;
  }

  .form-grid,
  .contact-info,
  .contact-form-box,
  .form-group,
  .form-group input,
  .form-group select,
  .form-group textarea {
    min-width: 0;
    max-width: 100%;
  }

  .meeting-scheduler-widget {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .meeting-scheduler-widget.is-obscured {
    opacity: 0;
    transform: translateY(0.75rem);
    pointer-events: none;
  }

  .scheduler-trigger {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    animation: none;
  }

  .scheduler-label {
    display: none;
  }

  footer {
    padding: 3rem 1rem 2rem;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1rem;
  }

  .footer-group a {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .home-page .contact-channels {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Premium visual system ---------------------------------------------------- */
:root {
  --premium-ink: #09101f;
  --premium-navy: #0c1730;
  --premium-blue: #3267ff;
  --premium-cyan: #63d5ff;
  --premium-gold: #d6a84f;
  --premium-ivory: #f6f3ed;
  --premium-paper: #fffdfa;
  --premium-line: rgba(13, 27, 54, 0.11);
  --premium-shadow: 0 28px 70px rgba(21, 32, 58, 0.12);
}

html {
  background: var(--premium-ivory);
}

body {
  background:
    radial-gradient(circle at 8% 2%, rgba(50, 103, 255, 0.08), transparent 26rem),
    var(--premium-ivory);
  color: var(--premium-ink);
}

::selection {
  background: rgba(50, 103, 255, 0.22);
  color: var(--premium-ink);
}

.site-header {
  border-bottom: 1px solid rgba(15, 29, 55, 0.08);
  background: rgba(250, 248, 243, 0.86);
  box-shadow: 0 10px 35px rgba(17, 28, 51, 0.055);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.site-nav {
  max-width: 1280px;
}

.logo {
  color: var(--premium-ink);
  letter-spacing: -0.035em;
}

.logo svg {
  overflow: visible;
  filter: drop-shadow(0 7px 12px rgba(50, 103, 255, 0.28));
}

.logo span {
  color: var(--premium-ink);
}

.logo span::after {
  height: 2px;
  background: linear-gradient(90deg, var(--premium-blue), var(--premium-cyan), var(--premium-gold));
}

.nav-links {
  padding: 0.35rem;
  gap: 0.35rem;
  border: 1px solid rgba(16, 30, 56, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.nav-links a {
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.active {
  background: #fff;
  box-shadow: 0 6px 18px rgba(20, 31, 55, 0.08);
}

.nav-links a::after {
  display: none;
}

.btn-consultation,
.btn-primary,
.submit-btn,
.pricing-cta {
  border-color: transparent;
  background: linear-gradient(135deg, #101c37, #183a84 64%, #3267ff);
  box-shadow: 0 12px 28px rgba(28, 65, 150, 0.22);
  color: #fff;
}

.btn-consultation:hover,
.btn-primary:hover,
.submit-btn:hover,
.pricing-cta:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #16264a, #2452b8 70%, #4d7cff);
  box-shadow: 0 16px 36px rgba(28, 65, 150, 0.29);
  color: #fff;
}

.home-page .hero {
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(147, 177, 255, 0.2);
  background:
    radial-gradient(circle at 78% 18%, rgba(76, 119, 255, 0.42), transparent 25rem),
    radial-gradient(circle at 12% 94%, rgba(43, 197, 255, 0.18), transparent 24rem),
    linear-gradient(135deg, #081020 0%, #101b36 54%, #0c1833 100%);
  box-shadow: 0 38px 90px rgba(8, 16, 32, 0.26);
}

.home-page .hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to right, #000, transparent 80%);
  content: '';
}

.home-page .hero::after {
  position: absolute;
  z-index: -1;
  top: -12rem;
  right: -8rem;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 139, 255, 0.18), rgba(101, 139, 255, 0.055) 42%, transparent 69%);
  content: '';
}

.home-page .hero-title,
.home-page .hero h1,
.home-page .hero h2,
.home-page .hero h3 {
  color: #fff;
}

.home-page .hero-title {
  letter-spacing: -0.058em;
  text-wrap: balance;
}

.home-page .accent-marketplace {
  background: linear-gradient(110deg, #8fe5ff, #7c9cff 48%, #e6bd6c);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-page .hero-eyebrow {
  color: #d7b66e;
}

.home-page .hero-eyebrow span {
  background: linear-gradient(90deg, #d7b66e, #79dcff);
}

.home-page .hero-description {
  color: #c2cce0;
}

.home-page .hero .btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, #fff, #e9f1ff);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
  color: #0a1530;
}

.home-page .hero .btn-primary .cta-proof {
  color: #5f6b82;
}

.home-page .hero-secondary {
  color: #eef4ff;
  border-color: rgba(255, 255, 255, 0.28);
}

.home-page .audit-preview {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.065));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.home-page .audit-preview-top,
.home-page .audit-preview-footer,
.home-page .audit-checklist p {
  color: #aebbd3;
}

.home-page .audit-free {
  border-color: rgba(214, 168, 79, 0.4);
  background: rgba(214, 168, 79, 0.13);
  color: #f3d38f;
}

.home-page .audit-checklist li {
  border-color: rgba(255, 255, 255, 0.12);
}

.home-page .audit-number {
  color: #7bdcff;
}

.results-strip {
  border: 1px solid rgba(112, 144, 214, 0.18);
  background: linear-gradient(120deg, #0b1428, #111f40);
  box-shadow: 0 24px 55px rgba(15, 27, 55, 0.16);
}

.result-proof {
  border-color: rgba(255, 255, 255, 0.09);
}

.result-proof strong {
  background: linear-gradient(110deg, #84e4ff, #8da8ff 60%, #e7c278);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.partner-strip {
  border: 1px solid var(--premium-line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.82);
  box-shadow: 0 16px 40px rgba(27, 38, 62, 0.07);
  backdrop-filter: blur(14px);
}

.partner-strip .badge-item {
  border-color: rgba(50, 103, 255, 0.14);
  background: #fff;
  color: #243557;
}

.platforms-bar,
.clients-bar {
  border-color: var(--premium-line);
  background: rgba(255, 253, 250, 0.72);
}

.platform-logo,
.client-logo {
  color: #536079;
  filter: saturate(0.55);
}

.platform-logo:hover,
.client-logo:hover {
  color: var(--premium-blue);
  filter: none;
}

.section-tag {
  border: 1px solid rgba(214, 168, 79, 0.28);
  background: rgba(214, 168, 79, 0.12);
  color: #815f1e;
}

.section-title,
.page-title {
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.expertise,
.pricing-section,
.faq-section {
  background: var(--premium-ivory);
}

.case-studies {
  background: var(--premium-paper);
}

.expertise-card,
.pricing-card,
.feature-card,
.case-card,
.faq-item,
.contact-form-box {
  border-color: rgba(15, 29, 55, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(25, 36, 61, 0.075);
}

.expertise-card {
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--premium-blue), var(--premium-cyan), var(--premium-gold));
  content: '';
  opacity: 0.86;
}

.expertise-card:hover,
.pricing-card:hover,
.feature-card:hover,
.case-card:hover {
  border-color: rgba(50, 103, 255, 0.28);
  box-shadow: var(--premium-shadow);
}

.card-icon-wrapper {
  border: 1px solid rgba(50, 103, 255, 0.12);
  box-shadow: 0 10px 26px rgba(50, 103, 255, 0.1);
}

.case-card {
  border-radius: 28px;
}

.case-hero-stat,
.case-card.alt .case-hero-stat {
  background:
    radial-gradient(circle at 75% 12%, rgba(100, 216, 255, 0.26), transparent 11rem),
    linear-gradient(135deg, #0d1830, #18386f);
}

.case-stat-num {
  color: #f0cb7e;
}

.process-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(50, 103, 255, 0.2), transparent 30rem),
    #0a1224;
  color: #fff;
}

.process-section .section-tag {
  border-color: rgba(119, 219, 255, 0.24);
  background: rgba(119, 219, 255, 0.1);
  color: #91e3ff;
}

.process-section .section-title {
  color: #fff;
}

.process-section .section-subtitle,
.process-section .process-step p {
  color: #aebad1;
}

.process-step {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.process-step h3 {
  color: #fff;
}

.process-step .step-num {
  color: #e1bd72;
}

.pricing-card.pricing-featured {
  border-color: rgba(50, 103, 255, 0.42);
  background:
    radial-gradient(circle at 90% 0%, rgba(83, 216, 255, 0.14), transparent 14rem),
    #fff;
  box-shadow: 0 24px 65px rgba(39, 76, 166, 0.16);
}

.pricing-badge {
  background: linear-gradient(90deg, #1c45a4, #3267ff);
  box-shadow: 0 8px 20px rgba(50, 103, 255, 0.24);
}

.faq-item[open] {
  border-color: rgba(50, 103, 255, 0.28);
  background: #fff;
}

.home-page .contact-section {
  max-width: 1200px;
  margin: 5rem auto;
  border: 1px solid rgba(122, 156, 232, 0.18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 4% 100%, rgba(81, 213, 255, 0.18), transparent 25rem),
    linear-gradient(135deg, #0a1326, #101f3d);
  box-shadow: 0 35px 85px rgba(11, 21, 43, 0.23);
}

.home-page .contact-section .section-tag {
  border-color: rgba(214, 168, 79, 0.32);
  background: rgba(214, 168, 79, 0.12);
  color: #ebcb88;
}

.home-page .contact-section .section-title,
.home-page .contact-section h3,
.home-page .contact-section h4 {
  color: #fff;
}

.home-page .contact-section .section-subtitle,
.home-page .contact-section .channel-details p,
.home-page .contact-section .channel-details a {
  color: #b6c2da;
}

.home-page .contact-section .channel-details a {
  border-color: rgba(182, 194, 218, 0.42) !important;
  color: #dbe6ff !important;
}

.home-page .contact-section .channel-details a[href*="wa.me"] {
  color: #59dfa5 !important;
}

.home-page .contact-section .channel-details a[href*="calendar"] {
  color: #8bdfff !important;
}

.channel-icon {
  border-color: rgba(50, 103, 255, 0.14);
  background: rgba(50, 103, 255, 0.08);
}

.contact-form-box {
  backdrop-filter: blur(12px);
}

.form-group input,
.form-group select,
.form-group textarea {
  border-color: rgba(15, 29, 55, 0.11);
  background: #f7f8fb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4976e8;
  box-shadow: 0 0 0 4px rgba(50, 103, 255, 0.11);
}

.page-header {
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  background:
    radial-gradient(circle at 84% 8%, rgba(62, 111, 255, 0.35), transparent 28rem),
    radial-gradient(circle at 5% 100%, rgba(70, 210, 255, 0.12), transparent 24rem),
    linear-gradient(135deg, #081020, #101d39);
}

.page-header::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
  content: '';
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header .page-title {
  color: #fff;
}

.page-header .page-intro {
  color: #bcc7db;
}

.page-header .breadcrumbs,
.page-header .breadcrumbs a,
.page-header .breadcrumbs .current {
  color: #aab8d1;
}

.page-header .section-tag {
  border-color: rgba(214, 168, 79, 0.3);
  background: rgba(214, 168, 79, 0.12);
  color: #e9c778;
}

.page-header .meta-pill {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.085);
  color: #d2dbec;
  backdrop-filter: blur(10px);
}

.content-section {
  background: transparent;
}

.rich-text h2 {
  letter-spacing: -0.035em;
}

.cta-banner {
  border-color: rgba(91, 129, 220, 0.22);
  background:
    radial-gradient(circle at 80% 10%, rgba(92, 213, 255, 0.18), transparent 18rem),
    linear-gradient(135deg, #0d1930, #163268);
  box-shadow: 0 26px 60px rgba(17, 36, 75, 0.19);
}

.cta-banner h2 {
  color: #fff;
}

.cta-banner p {
  color: #bdc8dc;
}

footer {
  border-top: 0;
  background:
    radial-gradient(circle at 90% 0%, rgba(50, 103, 255, 0.16), transparent 28rem),
    #080f1e;
}

.footer-links-grid {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-group h4 {
  color: #eef3ff;
}

.footer-group a,
.footer-text,
.footer-tagline,
.social-link {
  color: #8f9bb2;
}

.footer-group a:hover,
.social-link:hover {
  color: #8bdfff;
}

.scheduler-trigger {
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 36px rgba(6, 98, 63, 0.3) !important;
}

@media (max-width: 768px) {
  .site-header {
    background: rgba(250, 248, 243, 0.93);
  }

  .nav-links {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .nav-links.active {
    background:
      radial-gradient(circle at 90% 0%, rgba(50, 103, 255, 0.11), transparent 22rem),
      rgba(250, 248, 243, 0.985);
  }

  .nav-links.active a:hover,
  .nav-links.active a.active {
    background: rgba(255, 255, 255, 0.75);
  }

  .home-page .hero {
    background:
      radial-gradient(circle at 90% 0%, rgba(66, 110, 255, 0.36), transparent 20rem),
      radial-gradient(circle at 0% 100%, rgba(64, 212, 255, 0.13), transparent 18rem),
      linear-gradient(145deg, #081020, #111e3a);
    box-shadow: 0 24px 55px rgba(8, 16, 32, 0.2);
  }

  .home-page .hero-title {
    font-size: clamp(2.4rem, 11.7vw, 3.15rem);
    line-height: 1.01;
  }

  .results-strip {
    box-shadow: 0 18px 38px rgba(15, 27, 55, 0.14);
  }

  .partner-strip {
    border-radius: 20px;
  }

  .expertise-card,
  .pricing-card,
  .feature-card,
  .case-card,
  .faq-item,
  .contact-form-box {
    box-shadow: 0 14px 36px rgba(25, 36, 61, 0.07);
  }

  .process-section {
    background:
      radial-gradient(circle at 0% 0%, rgba(50, 103, 255, 0.2), transparent 20rem),
      #0a1224;
  }

  .home-page .contact-section {
    width: auto;
    margin: 1rem 0.65rem 3.5rem;
    padding: 3rem 1rem 2.5rem;
    border-radius: 24px;
  }

  .page-header {
    background:
      radial-gradient(circle at 100% 0%, rgba(62, 111, 255, 0.32), transparent 20rem),
      linear-gradient(145deg, #081020, #111f3e);
  }

  .page-title {
    font-size: clamp(2.15rem, 10.6vw, 3rem);
  }

  .cta-banner {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .expertise-card,
  .pricing-card,
  .feature-card,
  .case-card,
  .process-step,
  .btn-primary,
  .btn-consultation {
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease, background 240ms ease;
  }
}
