/* ============================================================
   CEYMPLON DESIGN SYSTEM — TOKENS
   ============================================================ */
:root {
  --c-navy-950: #060F1E;
  --c-navy-900: #0B1F3A;
  --c-navy-800: #112B4E;
  --c-navy-700: #1A3A64;
  --c-navy-600: #234A7A;
  --c-teal-500: #00A878;
  --c-teal-400: #00C48C;
  --c-teal-300: #00D49A;
  --c-teal-200: #7FECD0;
  --c-teal-100: #D0F7EE;
  --c-gold-500: #F0A500;
  --c-gold-400: #F7BE3C;
  --c-sky-500: #1A7FD4;
  --c-sky-400: #3B9EF0;
  --c-white: #FFFFFF;
  --c-off-white: #F4F6FA;
  --c-gray-100: #E8ECF2;
  --c-gray-200: #C8D0DC;
  --c-gray-400: #8896AA;
  --c-gray-600: #4A5568;
  --c-gray-800: #1E2532;
  --c-border-dark: rgba(255,255,255,0.08);
  --c-border-light: rgba(0,0,0,0.08);
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
  --radius-xl: 24px; --radius-pill: 999px;
  --shadow-card: 0 4px 32px rgba(0,0,0,0.22);
  --shadow-glow-teal: 0 0 40px rgba(0,168,120,0.3);
  --ease-out: cubic-bezier(0.16,1,0.3,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--c-off-white);
  color: var(--c-navy-900);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  background: var(--c-teal-500); color: white;
  padding: 10px 20px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  white-space: nowrap;
  transition: left 0.15s, top 0.15s, background 0.15s;
}
.skip-link:focus-visible {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 9999;
}
:focus-visible { outline: 2px solid var(--c-teal-400); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--dark { background: var(--c-navy-900); }
.section--darker { background: var(--c-navy-950); }
.section--light { background: var(--c-off-white); }
.section--white { background: var(--c-white); }

/* ============================================================
   PAGE INTRO
   ============================================================ */
.page-intro {
  padding: 116px 0 28px;
  background: var(--c-off-white);
}

.page-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--c-teal-500);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-intro__eyebrow::before {
  content: "/";
  font-size: 14px;
  line-height: 1;
}

.page-intro__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.08;
  font-weight: 600;
  color: var(--c-navy-900);
  max-width: 13ch;
}

.page-intro__title--wide {
  max-width: 18ch;
}

.page-intro__subtitle {
  max-width: 760px;
  margin-top: 20px;
  color: var(--c-gray-600);
  font-size: 18px;
  line-height: 1.7;
}

.page-intro__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.page-intro__pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  color: var(--c-navy-900);
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 767px) {
  .page-intro {
    padding: 96px 0 22px;
  }

  .page-intro__subtitle {
    font-size: 16px;
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 90ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 180ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 270ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 360ms; }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-teal-400);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--c-teal-300); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600; line-height: 1.12;
  color: var(--c-navy-900);
  margin-bottom: 18px;
}
.section-title--light { color: var(--c-white); }
.section-subtitle {
  font-size: 17px; font-weight: 400; line-height: 1.7;
  color: var(--c-gray-600); max-width: 560px;
}
.section-subtitle--light { color: var(--c-gray-400); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  transition: all 0.2s var(--ease-out); white-space: nowrap;
}
.btn-primary {
  background: var(--c-teal-500); color: var(--c-white);
}
.btn-primary:hover { background: var(--c-teal-400); box-shadow: var(--shadow-glow-teal); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--c-white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }
.btn-whatsapp {
  background: rgba(37, 211, 102, 0.14);
  color: var(--c-white);
  border: 1.5px solid rgba(37, 211, 102, 0.38);
}
.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.58);
  transform: translateY(-1px);
}
.btn-outline-dark {
  background: transparent; color: var(--c-navy-900);
  border: 1.5px solid var(--c-border-light);
}
.btn-outline-dark:hover { border-color: var(--c-navy-900); background: var(--c-gray-100); }
.btn svg, .btn-nav-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 24px; height: 68px;
  display: flex; align-items: center;
  background: transparent;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  max-width: 100%;
}
body.nav-dark-entry #navbar,
#navbar.scrolled {
  background: rgba(6,15,30,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--c-border-dark);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  min-width: 0;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--c-white); flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  min-width: 0;
}
.nav-logo--image {
  display: inline-flex;
  gap: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.nav-logo-img {
  display: block;
  height: 28px;
  width: auto;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--c-teal-500), var(--c-sky-500));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-mark svg { width: 18px; height: 18px; }
.nav-links {
  display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center;
}
.nav-link {
  font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.75);
  padding: 8px 14px; border-radius: var(--radius-md);
  transition: color 0.15s, background 0.15s;
  position: relative;
}
.nav-link.active {
  color: var(--c-white);
}
.nav-link:hover { color: var(--c-white); background: rgba(255,255,255,0.07); }
.nav-link.has-dropdown { display: flex; align-items: center; gap: 4px; }
.nav-link.has-dropdown svg { width: 14px; height: 14px; opacity: 0.6; transition: transform 0.2s; }
.nav-link.has-dropdown:hover svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--c-navy-800);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 240px;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: var(--shadow-card);
}
.nav-link.has-dropdown:hover .nav-dropdown,
.nav-link.has-dropdown:focus-within .nav-dropdown {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.dropdown-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-md);
  transition: background 0.15s;
}
.dropdown-item:hover { background: rgba(255,255,255,0.06); }
.dropdown-item-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(0,168,120,0.15); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-teal-400);
}
.dropdown-item-icon svg { width: 16px; height: 16px; }
.dropdown-item-label { font-size: 14px; font-weight: 500; color: var(--c-white); }
.dropdown-item-desc { font-size: 12px; color: var(--c-gray-400); margin-top: 2px; }
.btn-nav-cta {
  background: var(--c-teal-500); color: var(--c-white);
  padding: 9px 22px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  transition: background 0.15s, box-shadow 0.15s;
  white-space: nowrap; flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
}
.btn-nav-cta:hover { background: var(--c-teal-400); box-shadow: var(--shadow-glow-teal); }
.btn-nav-cta svg { width: 14px; height: 14px; }
/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--radius-md);
  transition: background 0.15s;
}
.nav-hamburger:hover { background: rgba(255,255,255,0.08); }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--c-white); border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile menu */
.nav-mobile {
  display: none; position: fixed;
  inset: 0; top: 68px; z-index: 999;
  background: var(--c-navy-950);
  padding: 32px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  max-width: 100%;
}
.nav-mobile.open { transform: translateX(0); }
.nav-mobile-link {
  display: block; padding: 14px 0;
  font-size: 20px; font-weight: 500;
  color: var(--c-white);
  border-bottom: 1px solid var(--c-border-dark);
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .btn-nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: block; }
  .nav-logo-img { height: 24px; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 168, 120, 0.18), rgba(0, 168, 120, 0) 26%),
    linear-gradient(180deg, var(--c-navy-950) 0%, var(--c-navy-900) 100%);
  color: var(--c-white);
}

#hero.hero::before {
  content: "";
  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: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 136px 0 80px;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  font-weight: 700;
  max-width: 10ch;
  color: var(--c-white);
}

.hero-description {
  max-width: 620px;
  color: var(--c-gray-200);
  font-size: 18px;
  line-height: 1.7;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--c-gray-200);
  font-size: 15px;
}

.hero-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--c-gold-400);
}

.hero-window {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  border: 1px solid var(--c-border-dark);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(6, 15, 30, 0.6);
  box-shadow: var(--shadow-card), 0 0 60px rgba(11, 31, 58, 0.45);
  overflow: hidden;
}

.hero-window__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--c-border-dark);
}

.chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.chrome-dot.is-teal {
  background: var(--c-teal-400);
}

.hero-window__body {
  display: grid;
  gap: 24px;
  padding: 24px;
}

.hero-console {
  position: relative;
  min-height: 200px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border-dark);
}

.hero-console__eyebrow {
  display: block;
  margin-bottom: 16px;
  color: var(--c-teal-300);
  font-family: var(--font-mono);
  font-size: 12px;
}

.hero-console__title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--c-white);
}

.typewriter {
  color: var(--c-teal-300);
}

.typewriter::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 1.2em;
  margin-left: 4px;
  background: currentColor;
  vertical-align: -0.2em;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-metric {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border-dark);
}

.hero-metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
  font-family: var(--font-display);
  color: var(--c-white);
}

.hero-metric span {
  color: var(--c-gray-400);
  font-size: 14px;
  line-height: 1.6;
}

.floating-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border-dark);
  background: rgba(6, 15, 30, 0.86);
  color: var(--c-white);
  font-family: var(--font-mono);
  font-size: 12px;
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  max-width: 100%;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--c-gray-400);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-indicator svg {
  width: 16px;
  height: 16px;
  animation: float-down 1.4s ease-in-out infinite;
}

@keyframes float-down {
  50% {
    transform: translateY(8px);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 120px 0 64px;
    gap: 24px;
  }

  .hero-title {
    max-width: none;
  }

  .hero-window {
    min-height: 440px;
  }

  .hero-stack-tags {
    gap: 10px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    display: grid;
  }

  .hero-window {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--c-navy-800);
  border-top: 1px solid var(--c-border-dark);
  border-bottom: 1px solid var(--c-border-dark);
}
.stats-inner {
  display: grid; grid-template-columns: repeat(5, 1fr);
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.stat-item {
  padding: 28px 20px; text-align: center;
  position: relative;
}
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 20%; height: 60%;
  width: 1px; background: var(--c-border-dark);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700;
  color: var(--c-white); line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { color: var(--c-teal-400); }
.stat-label {
  font-size: 13px; color: var(--c-gray-400); font-weight: 400;
}
@media (max-width: 768px) {
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .stat-item:nth-child(4), .stat-item:nth-child(5) { display: none; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
/* Top row: 55% text column, 45% empty (values move to full-width row below) */
.about-grid {
  display: grid; grid-template-columns: 55% 1fr;
  gap: 64px; align-items: center;
}
/* 3-col values row spanning full container width */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.value-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-xl); padding: 28px 28px 32px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.value-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.09); transform: translateY(-3px); }
.value-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-icon svg { width: 22px; height: 22px; }
.value-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--c-navy-900); margin-bottom: 10px;
}
.value-text { font-size: 15px; color: var(--c-gray-600); line-height: 1.75; }
@media (max-width: 900px) {
  .about-values { grid-template-columns: 1fr; }
}

/* Timeline */
.timeline { margin-top: 64px; }
.timeline-track {
  display: flex; gap: 0; overflow-x: auto; padding-bottom: 8px;
  scrollbar-width: none;
}
.timeline-track::-webkit-scrollbar { display: none; }
.timeline-node {
  flex-shrink: 0; text-align: center; position: relative;
  min-width: 160px;
}
.timeline-node::before {
  content: ''; position: absolute;
  top: 15px; left: 50%; right: -50%;
  height: 2px; background: var(--c-gray-100);
}
.timeline-node:last-child::before { display: none; }
.timeline-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--c-white); border: 2px solid var(--c-gray-200);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px; position: relative; z-index: 1;
  transition: border-color 0.2s, background 0.2s;
}
.timeline-node.active .timeline-dot {
  background: var(--c-teal-500); border-color: var(--c-teal-500);
}
.timeline-dot svg { width: 12px; height: 12px; color: var(--c-gray-400); }
.timeline-node.active .timeline-dot svg { color: white; }
.timeline-year {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--c-navy-900); margin-bottom: 4px;
}
.timeline-milestone { font-size: 12px; color: var(--c-gray-600); line-height: 1.4; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-values { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES — BENTO GRID
   ============================================================ */
.services-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 56px;
}
.svc-card {
  background: var(--c-navy-800);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-xl); padding: 32px;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  cursor: default;
}
.svc-card:hover { border-color: var(--c-teal-500); transform: translateY(-3px); }
.svc-card--wide  { grid-column: span 7; }
.svc-card--narrow { grid-column: span 5; }
.svc-card--half  { grid-column: span 6; }
.svc-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: rgba(0,168,120,0.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--c-teal-400);
}
.svc-icon svg { width: 24px; height: 24px; }
.svc-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--c-white); margin-bottom: 12px; line-height: 1.2;
}
.svc-body { font-size: 14px; color: var(--c-gray-400); line-height: 1.7; max-width: 380px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: 14px; font-weight: 500;
  color: var(--c-teal-400);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
}
.svc-card:hover .svc-link { opacity: 1; transform: translateY(0); }
.svc-link svg { width: 14px; height: 14px; }
.svc-watermark {
  position: absolute; bottom: -10px; right: -10px;
  opacity: 0.04; pointer-events: none;
}
.svc-watermark svg { width: 120px; height: 120px; color: var(--c-white); }

/* Tech stack */
.tech-stack { margin-top: 48px; text-align: center; }
.tech-label {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-gray-400); margin-bottom: 20px;
}
.tech-logos {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
}
.tech-badge {
  background: var(--c-navy-800);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-pill);
  padding: 7px 18px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--c-gray-400);
  transition: color 0.15s, border-color 0.15s;
}
.tech-badge:hover { color: var(--c-teal-300); border-color: rgba(0,168,120,0.3); }

@media (max-width: 1024px) {
  .svc-card--wide, .svc-card--narrow, .svc-card--half { grid-column: span 12; }
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px; margin-top: 48px;
}
.product-tab-btn {
  padding: 9px 20px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  color: var(--c-gray-600);
  border: 1.5px solid var(--c-border-light);
  background: transparent;
  transition: all 0.2s var(--ease-out);
}
.product-tab-btn:hover { border-color: var(--c-navy-900); color: var(--c-navy-900); }
.product-tab-btn.active {
  background: var(--c-navy-900); color: var(--c-white);
  border-color: var(--c-navy-900);
}
.product-tab-content { display: none; }
.product-tab-content.active {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.product-info .product-badge {
  display: inline-block;
  background: var(--c-teal-100); color: var(--c-teal-500);
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 16px;
}
.product-name {
  font-family: var(--font-display); font-size: 36px; font-weight: 700;
  color: var(--c-navy-900); margin-bottom: 12px; line-height: 1.1;
}
.product-tagline {
  font-size: 16px; color: var(--c-gray-600); line-height: 1.6; margin-bottom: 24px;
}
.product-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.product-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--c-gray-600); line-height: 1.5;
}
.check-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-teal-100);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.check-icon svg { width: 11px; height: 11px; color: var(--c-teal-500); }
.product-ctas { display: flex; gap: 12px; }
.product-screen {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border-light);
}
.product-screen-chrome {
  background: var(--c-gray-100); padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--c-border-light);
}
.product-screen-dots { display: flex; gap: 5px; }
.product-screen-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--c-gray-200);
}
.product-screen-body {
  padding: 28px; min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  flex-direction: column; gap: 8px;
}

@media (max-width: 900px) {
  .product-tab-content.active { grid-template-columns: 1fr; }
  .product-screen { display: none; }
}

/* ============================================================
   HOW WE WORK
   ============================================================ */
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 56px; position: relative;
}
.process-steps::before {
  content: ''; position: absolute;
  top: 32px; left: calc(12.5%); right: calc(12.5%);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--c-border-dark) 0, var(--c-border-dark) 8px, transparent 8px, transparent 16px);
}
.process-step { text-align: center; padding: 0 16px; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1.5px solid var(--c-border-dark);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  color: var(--c-gray-400);
  background: var(--c-navy-950);
  position: relative; z-index: 1;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.process-step:hover .step-num {
  border-color: var(--c-teal-500); color: var(--c-teal-400);
  background: rgba(0,168,120,0.08);
}
.step-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--c-white); margin-bottom: 10px;
}
.step-body { font-size: 14px; color: var(--c-gray-400); line-height: 1.6; }

@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  color: var(--c-gray-600); background: var(--c-white);
  border: 1.5px solid var(--c-border-light);
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--c-navy-900); color: var(--c-navy-900); }
.filter-btn.active { background: var(--c-navy-900); color: var(--c-white); border-color: var(--c-navy-900); }
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.portfolio-card {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; aspect-ratio: 4/3;
  background: var(--c-gray-100);
  cursor: pointer;
}
.portfolio-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.portfolio-card:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--c-navy-900) 0%, rgba(11,31,58,0.4) 50%, transparent 100%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 20px;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat {
  display: inline-block; background: var(--c-teal-500);
  color: white; font-size: 10px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
  margin-bottom: 8px; width: fit-content;
}
.portfolio-name {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--c-white); margin-bottom: 8px;
}
.portfolio-link {
  font-size: 13px; color: var(--c-teal-300);
  display: flex; align-items: center; gap: 4px;
}
.portfolio-link svg { width: 13px; height: 13px; }

@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SUCCESS STORIES
   ============================================================ */
/* ============================================================
   SUCCESS STORIES — asymmetric layout matching Image 4
   2 wide story cards + 1 sidebar "Read all" panel
   ============================================================ */
.stories-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}
.stories-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.stories-main .stories-grid,
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.story-card {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.story-card:hover { box-shadow: 0 14px 44px rgba(0,0,0,0.1); transform: translateY(-4px); }
.story-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.story-thumb-placeholder {
  width: 100%; aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
}
.story-body { padding: 28px; }
.story-pill {
  display: inline-block; background: var(--c-teal-500);
  color: white; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.story-title {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--c-navy-900); margin-bottom: 12px; line-height: 1.25;
}
.story-excerpt { font-size: 15px; color: var(--c-gray-600); line-height: 1.7; margin-bottom: 16px; }
.story-meta {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px; color: var(--c-gray-400);
  margin-bottom: 4px;
}
.story-meta-client { color: var(--c-navy-900); font-weight: 500; font-size: 13px; }
.story-meta-dot { color: var(--c-gray-200); margin: 0 4px; }
.story-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 18px;
  font-size: 14px; font-weight: 600; color: var(--c-teal-500);
  transition: gap 0.15s;
}
.story-cta:hover { gap: 10px; }
.story-cta svg { width: 16px; height: 16px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-teal-500);
  text-decoration: none;
  transition: gap 0.15s, color 0.15s;
}
.back-link:hover {
  gap: 10px;
  color: var(--c-teal-400);
}
.back-link svg { width: 16px; height: 16px; }
/* Sidebar panel */
.stories-sidebar {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-xl); padding: 28px;
  position: sticky; top: 88px;
}
.stories-sidebar-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--c-navy-900); margin-bottom: 14px;
}
.stories-sidebar-body {
  font-size: 15px; color: var(--c-gray-600); line-height: 1.65; margin-bottom: 24px;
}
.stories-sidebar-btn {
  display: block; text-align: center;
  padding: 13px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-navy-900);
  font-size: 14px; font-weight: 500; color: var(--c-navy-900);
  transition: background 0.15s, color 0.15s;
}
.stories-sidebar-btn:hover { background: var(--c-navy-900); color: white; }

@media (max-width: 1024px) {
  .stories-layout { grid-template-columns: 1fr; }
  .stories-sidebar { display: none; }
  .stories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .stories-layout { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-carousel {
  --testi-gap: 20px;
  background: #0f2950;
  border-radius: 20px;
  padding: 24px;
  margin-top: 56px;
  overflow: hidden;
}
.testimonials-viewport {
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  gap: var(--testi-gap);
  transform: translateX(0);
}
.testimonials-carousel--static .testimonials-viewport {
  overflow: visible;
}
.testimonials-carousel--static .testimonials-track {
  display: grid;
  grid-template-columns: repeat(var(--testi-static-columns), minmax(0, 1fr));
  transform: none;
}
.testimonials-track.is-animating {
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.testi-card {
  flex: 0 0 calc((100% - (2 * var(--testi-gap))) / 3);
  background: var(--c-navy-800);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-xl); padding: 28px;
  transition: border-color 0.2s;
  min-width: 0;
}
.testi-card:hover { border-color: rgba(0,168,120,0.3); }
.testi-quote-mark {
  font-family: var(--font-display); font-size: 56px; line-height: 1;
  color: var(--c-teal-500); margin-bottom: 12px;
}
.testi-text {
  font-size: 15px; font-style: italic;
  color: var(--c-gray-200); line-height: 1.7; margin-bottom: 20px;
}
.testi-divider { height: 1px; background: var(--c-border-dark); margin-bottom: 16px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-navy-700);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--c-teal-300); flex-shrink: 0;
}
.testi-avatar--image {
  overflow: hidden;
  background: var(--c-navy-700);
}
.testi-avatar--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testi-name { font-size: 14px; font-weight: 500; color: var(--c-white); }
.testi-role { font-size: 12px; color: var(--c-gray-400); margin-top: 2px; }
.testi-stars { display: flex; gap: 2px; margin-top: 12px; }
.testi-star { color: var(--c-gold-500); font-size: 13px; }
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
.testimonials-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.testimonials-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.testimonials-dot.is-active {
  width: 24px;
  background: var(--c-teal-400);
}
.testimonials-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonials-arrow {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.75);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.testimonials-arrow:hover {
  border-color: rgba(0,196,140,0.45);
  color: var(--c-teal-400);
}
.testimonials-arrow svg {
  width: 18px;
  height: 18px;
}
.testimonials-carousel:focus-visible {
  outline: 2px solid var(--c-teal-400);
  outline-offset: 6px;
}

@media (max-width: 1024px) {
  .testi-card {
    flex-basis: calc((100% - var(--testi-gap)) / 2);
  }
  .testimonials-carousel--static .testimonials-track {
    grid-template-columns: repeat(var(--testi-static-columns-tablet), minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .testimonials-carousel {
    padding: 20px;
  }
}
@media (max-width: 640px) {
  .testi-card {
    flex-basis: 100%;
  }
  .testimonials-carousel--static .testimonials-track {
    grid-template-columns: 1fr;
  }
  .testimonials-controls {
    align-items: flex-start;
    flex-direction: column;
  }
  .testimonials-nav {
    align-self: flex-end;
  }
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.team-card { text-align: center; }
.team-photo-wrap {
  width: 100%; aspect-ratio: 4/5; border-radius: var(--radius-xl);
  overflow: hidden; margin-bottom: 18px; background: var(--c-gray-100);
}
.team-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-initials {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-navy-900);
  font-family: var(--font-display); font-size: 42px; font-weight: 700;
  color: var(--c-teal-300);
}
.team-name {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--c-navy-900); margin-bottom: 4px;
}
.team-role { font-size: 14px; color: var(--c-teal-500); margin-bottom: 10px; }
.team-linkedin {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--c-gray-400);
  transition: color 0.15s;
}
.team-linkedin:hover { color: var(--c-sky-500); }
.team-linkedin svg { width: 14px; height: 14px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: start; margin-top: 56px;
}
.pricing-card {
  background: var(--c-navy-800);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-xl); padding: 32px;
  transition: transform 0.2s;
}
.pricing-card:hover { transform: translateY(-3px); }
.pricing-card--featured {
  border: 2px solid var(--c-teal-500);
  box-shadow: var(--shadow-glow-teal);
  transform: scale(1.03);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-3px); }
.pricing-tier-badge {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-pill); margin-bottom: 20px;
}
.most-popular {
  background: var(--c-teal-500); color: white;
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--radius-pill);
  margin-bottom: 12px; display: inline-block;
}
.pricing-tier-name {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: var(--c-white); margin-bottom: 8px;
}
.pricing-for { font-size: 12px; color: var(--c-gray-400); margin-bottom: 20px; }
.pricing-price {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px;
}
.pricing-currency { font-size: 16px; color: var(--c-gray-400); margin-top: 6px; }
.pricing-amount {
  font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--c-white);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.pricing-period { font-size: 12px; color: var(--c-gray-400); }
.pricing-billing { font-size: 12px; color: var(--c-gray-400); margin-bottom: 24px; }
.pricing-divider { height: 1px; background: var(--c-border-dark); margin-bottom: 20px; }
.pricing-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; color: var(--c-gray-100); line-height: 1.5;
}
.pricing-card .btn { font-size: 13px; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: scale(1); }
  .pricing-card { padding: 28px; }
  .pricing-amount { font-size: 28px; }
}

/* ============================================================
   BLOG — sidebar layout matching success stories pattern
   ============================================================ */
.blog-preview-layout,
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}
.blog-preview-grid,
.blog-posts-area {
  min-width: 0;
}
.blog-preview-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.blog-posts-area {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-xl); overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,0.08); transform: translateY(-3px); }
.blog-thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.blog-thumb-placeholder {
  width: 100%; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
}
.blog-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 22px 24px;
}
.blog-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-teal-500); margin-bottom: 8px;
}
.blog-title {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: var(--c-navy-900); line-height: 1.35; margin-bottom: 10px;
}
.blog-excerpt { font-size: 13px; color: var(--c-gray-600); line-height: 1.65; margin-bottom: 14px; }
.blog-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--c-gray-400); }
.blog-meta-sep { color: var(--c-gray-200); }
.blog-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-teal-500);
  transition: gap 0.15s;
}
.blog-cta:hover { gap: 10px; }
.blog-cta svg { width: 16px; height: 16px; }
/* Latest sidebar */
.blog-preview-sidebar,
.blog-sidebar {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-xl); padding: 24px;
  position: sticky; top: 88px;
}
.blog-sidebar-title {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--c-navy-900); margin-bottom: 16px;
}
.blog-sidebar-list { display: flex; flex-direction: column; gap: 12px; }
.blog-sidebar-item {
  font-size: 14px; color: var(--c-gray-600); line-height: 1.5;
  padding-bottom: 12px; border-bottom: 1px solid var(--c-border-light);
  transition: color 0.15s;
}
.blog-sidebar-item:last-child { border-bottom: none; padding-bottom: 0; }
.blog-sidebar-item:hover { color: var(--c-teal-500); }
.blog-pagination { margin-top: 0; }

@media (max-width: 1100px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-preview-layout { grid-template-columns: 1fr; }
  .blog-preview-grid,
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-preview-sidebar,
  .blog-sidebar { display: none; }
}
@media (max-width: 640px) {
  .blog-preview-grid,
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   POST CONTENT TYPOGRAPHY
   Scoped to .post-content — used by blog, success stories, legal
   ============================================================ */
.post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-navy-900);
}
.post-content p {
  margin-bottom: 1.25rem;
}
.post-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-navy-900);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.post-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--c-navy-900);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.post-content ul,
.post-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}
.post-content a {
  color: var(--c-teal-500);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-content a:hover { opacity: 0.8; }
.post-content strong { font-weight: 700; }
.post-content em { font-style: italic; }
.post-content blockquote {
  border-left: 4px solid var(--c-teal-500);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--c-gray-600);
  font-style: italic;
}
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}
.post-content hr {
  border: none;
  border-top: 1px solid var(--c-border-light);
  margin: 2rem 0;
}

.share-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.share-bar__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-navy-900);
}
.share-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-md);
  background: var(--c-white);
  color: var(--c-navy-900);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.share-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.share-btn:hover {
  color: var(--c-white);
  transform: translateY(-1px);
}
.share-btn--facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
}
.share-btn--linkedin:hover {
  background: #0A66C2;
  border-color: #0A66C2;
}
.share-btn--whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 200px 200px;
  gap: 12px;
  margin-top: 48px;
}
/* Feature cell spanning 2×2 top-left */
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item--feature {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(11,31,58,0);
  transition: background 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .gallery-item-overlay { background: rgba(11,31,58,0.35); }
.gallery-item-overlay svg {
  width: 36px; height: 36px; color: white;
  opacity: 0; transform: scale(0.7);
  transition: opacity 0.25s, transform 0.25s;
}
.gallery-item:hover .gallery-item-overlay svg { opacity: 1; transform: scale(1); }
/* Placeholder gallery items */
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 180px); }
  .gallery-item--feature { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 140px); }
}

/* ============================================================
   CLIENT LOGOS MARQUEE
   ============================================================ */
.logos-section { background: var(--c-navy-800); padding: 40px 0; overflow: hidden; }
.logos-label {
  text-align: center; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-gray-400); margin-bottom: 28px;
}
.logos-track-wrap { overflow: hidden; }
.logos-track {
  display: flex; gap: 48px; align-items: center;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.logos-track:hover { animation-play-state: paused; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-item {
  flex-shrink: 0; height: 36px;
  display: flex; align-items: center; justify-content: center;
  filter: brightness(0) invert(1); opacity: 0.4;
  transition: opacity 0.2s;
}
.logo-item:hover { opacity: 0.8; }
.logo-item img { height: 100%; width: auto; }
.logo-item-text {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: white; white-space: nowrap; opacity: 0.4;
  transition: opacity 0.2s; padding: 0 8px;
}
.logo-item-text:hover { opacity: 0.8; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--c-navy-900) 0%, var(--c-navy-700) 50%, var(--c-navy-800) 100%);
  position: relative; overflow: hidden;
  padding: 96px 0;
}
.cta-banner::before {
  content: ''; position: absolute; top: -150px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,168,120,0.2) 0%, transparent 65%);
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; color: var(--c-white);
  line-height: 1.1; margin-bottom: 18px;
}
.cta-title span { color: var(--c-teal-300); }
.cta-subtitle { font-size: 17px; color: var(--c-gray-400); margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--c-navy-950);
  border-top: 1px solid var(--c-border-dark);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--c-border-dark);
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .nav-logo--image { display: inline-flex; }
.footer-tagline { font-size: 14px; color: var(--c-gray-400); line-height: 1.6; margin-bottom: 20px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  background: var(--c-navy-800); border: 1px solid var(--c-border-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-gray-400); transition: color 0.15s, border-color 0.15s;
}
.social-link:hover { color: var(--c-teal-400); border-color: rgba(0,168,120,0.3); }
.social-link svg { width: 16px; height: 16px; }
.footer-col-title {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--c-white); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 14px; color: var(--c-gray-400); transition: color 0.15s; }
.footer-link:hover { color: var(--c-teal-300); }
.footer-bottom {
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--c-gray-400); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--c-gray-400); transition: color 0.15s; }
.footer-legal a:hover { color: var(--c-teal-300); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   COMMERCE2GO FEATURE SECTION
   ============================================================ */
.c2g-grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 64px;
  align-items: center;
}
.c2g-features {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 22px; list-style: none;
}
.c2g-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--c-gray-600); line-height: 1.6;
}
.c2g-price-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 14px; color: var(--c-gray-600); margin-bottom: 24px;
}
.c2g-price-prefix {
  flex-shrink: 0;
}
.c2g-price-cluster {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}
.c2g-price-original {
  color: var(--c-gray-400);
  font-weight: 400;
  font-size: 0.9em;
  text-decoration: line-through;
}
.c2g-price-current {
  color: var(--c-navy-900);
  font-weight: 600;
}
.c2g-price-current--promo {
  color: var(--c-teal-400);
}
.c2g-price-period {
  color: var(--c-gray-600);
}
.c2g-promo-badge {
  margin-bottom: 0;
  vertical-align: middle;
}
.c2g-price-separator {
  color: var(--c-gray-400);
}
.c2g-price-link {
  color: var(--c-teal-400);
}
.c2g-price-link:hover {
  color: var(--c-teal-500);
}
.c2g-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.c2g-screen {
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--c-border-light);
  box-shadow: var(--shadow-card);
}
.product-screen-body--dashboard {
  padding: 0;
  min-height: 300px;
  display: block;
  align-items: unset;
  justify-content: unset;
  background: var(--c-navy-900);
}

/* Commerce2GO dashboard mockup */
.mockup-dashboard {
  width: 100%;
  min-height: 300px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--c-navy-900);
}
.md-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.md-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-white);
}
.md-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.md-nav-link {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--c-gray-400);
}
.md-nav-link.active {
  color: var(--c-teal-400);
  font-weight: 500;
}
.md-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.md-stat-card {
  padding: 12px;
  border: 1px solid var(--c-border-dark);
  border-radius: 10px;
  background: var(--c-navy-800);
}
.md-stat-label {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gray-400);
}
.md-stat-value {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-white);
}
.md-stat-delta {
  font-family: var(--font-body);
  font-size: 10px;
}
.md-delta-up { color: var(--c-teal-400); }
.md-delta-neutral { color: var(--c-gray-400); }
.md-delta-down { color: #F87171; }
.md-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}
.md-chart {
  min-height: 90px;
  padding: 14px 12px 10px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  border: 1px solid var(--c-border-dark);
  border-radius: 10px;
  background: var(--c-navy-800);
}
.md-bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 0 0;
  background: rgba(0, 168, 120, 0.35);
  transition: background 0.2s;
}
.md-bar-hi { background: var(--c-teal-500); }
.md-orders {
  min-width: 200px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--c-border-dark);
  border-radius: 10px;
  background: var(--c-navy-800);
}
.md-orders-title {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gray-400);
}
.md-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--c-border-dark);
}
.md-order-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.md-order-id {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--c-white);
}
.md-order-status {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
}
.md-status-shipped { background: rgba(0,168,120,0.15); color: var(--c-teal-400); }
.md-status-processing { background: rgba(240,165,0,0.15); color: var(--c-gold-400); }
.md-status-delivered { background: rgba(26,127,212,0.15); color: var(--c-sky-400); }

@media (max-width: 1100px) {
  .md-stats { grid-template-columns: repeat(2, 1fr); }
  .md-stat-value { font-size: 16px; }
}
@media (max-width: 900px) {
  .c2g-grid { grid-template-columns: 1fr; }
  .c2g-screen { display: none; }
}

/* ============================================================
   NOTABLE BUILDS SECTION
   ============================================================ */
.nb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 48px;
}
.nb-card {
  background: var(--c-navy-800);
  border: 0.5px solid var(--c-border-dark);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.nb-card:hover { border-color: rgba(0,196,140,0.4); transform: translateY(-3px); }
.nb-card-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 12px; margin-bottom: 18px;
}
.nb-icon {
  width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.nb-icon svg { width: 24px; height: 24px; }
.nb-built-for {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--c-gray-400); white-space: nowrap;
}
.nb-built-for::before {
  content: '';
  display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--c-teal-400); flex-shrink: 0;
}
.nb-name {
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--c-white); margin-bottom: 8px;
}
.nb-tagline {
  font-size: 14px; color: var(--c-gray-400); line-height: 1.65; margin-bottom: 18px;
}
.nb-divider { height: 1px; background: var(--c-border-dark); margin-bottom: 16px; }
.nb-features {
  display: flex; flex-direction: column; gap: 9px;
  margin-bottom: 20px; list-style: none;
}
.nb-feature {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--c-gray-400); line-height: 1.5;
}
.nb-feature-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-teal-500); flex-shrink: 0; margin-top: 6px;
}
.nb-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--c-border-dark);
}
.nb-sector {
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--c-teal-400);
}
.nb-case-link {
  display: flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500; color: var(--c-gray-400);
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s, color 0.15s;
}
.nb-card:hover .nb-case-link { opacity: 1; transform: translateX(0); color: var(--c-teal-300); }
.nb-case-link svg { width: 13px; height: 13px; }
.nb-bottom-cta { text-align: center; margin-top: 48px; }
.nb-bottom-label { font-size: 15px; color: var(--c-gray-400); margin-bottom: 16px; }
@media (max-width: 768px) { .nb-grid { grid-template-columns: 1fr; } }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start;
}
.contact-grid,
.contact-grid > *,
.contact-info,
.contact-form,
.contact-form form,
.form-row,
.form-group {
  min-width: 0;
}
.contact-info { padding-top: 8px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 42px; height: 42px; border-radius: var(--radius-md); flex-shrink: 0;
  background: var(--c-teal-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-teal-500);
}
.contact-detail-icon svg { width: 20px; height: 20px; }
.contact-detail-label { font-size: 12px; color: var(--c-gray-400); margin-bottom: 3px; letter-spacing: 0.06em; text-transform: uppercase; }
.contact-detail-value { font-size: 15px; color: var(--c-navy-900); font-weight: 500; }
.contact-map-card {
  margin-top: 10px;
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(6,15,30,0.06);
}
.contact-map-frame {
  aspect-ratio: 16 / 10;
  background: var(--c-gray-100);
}
.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-sky-500);
}
.contact-map-link svg { width: 15px; height: 15px; }
.contact-form {
  background: var(--c-white);
  border: 1px solid var(--c-border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  width: 100%;
  max-width: 100%;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group {
  margin-bottom: 18px;
  width: 100%;
  max-width: 100%;
}
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--c-navy-900); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--c-gray-100);
  border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 14px;
  color: var(--c-navy-900); background: var(--c-off-white);
  transition: border-color 0.15s;
  outline: none;
  min-width: 0;
  max-width: 100%;
  display: block;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--c-teal-500);
  background: white;
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-group--turnstile { overflow: hidden; }
.form-input[type="file"] {
  inline-size: 100%;
  max-inline-size: 100%;
  overflow: hidden;
}
.turnstile-responsive {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}
.turnstile-responsive .cf-turnstile {
  display: block;
  max-width: 100%;
}
.form-submit {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 13px;
  background: var(--c-teal-500); color: white;
  border: none; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background 0.15s, box-shadow 0.15s;
}
.form-submit:hover { background: var(--c-teal-400); box-shadow: var(--shadow-glow-teal); }
.blog-search-actions {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.search-reset-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-gray-400);
  text-decoration: none;
  white-space: nowrap;
  padding: 0 8px;
  transition: color 0.15s;
}
.search-reset-link:hover { color: var(--c-teal-500); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form {
      padding: 24px 20px;
  }
  .form-row { grid-template-columns: 1fr; }
  .blog-search-actions { align-items: stretch; }
}

/* ============================================================
   SECTION HEADER LAYOUT
   ============================================================ */
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; flex-wrap: wrap; gap: 16px;
}
.section-header--stories {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  width: 100%;
}
.section-header--stories > div:first-child {
  min-width: 0;
}
.section-header--stories .view-all {
  justify-self: end;
  align-self: end;
  white-space: nowrap;
}
.view-all {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--c-teal-500);
  transition: gap 0.15s;
}
.view-all:hover { gap: 10px; }
.view-all svg { width: 14px; height: 14px; }
.view-all--light { color: var(--c-teal-300); }

/* ============================================
   ABOUT SECTION — VIDEO
   ============================================ */

.about-video-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--c-navy-800);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.08),
        0 2px 4px -1px rgba(0, 0, 0, 0.04);
}

.about-video-placeholder {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        var(--c-navy-800) 0%,
        var(--c-navy-700) 50%,
        rgba(0, 168, 120, 0.12) 100%
    );
}

/* ============================================
   MOBILE RESPONSIVE FIXES — comprehensive audit
   ============================================ */

/* TEAM GRID — collapses to 2 col at tablet, 1 col on phone */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-card { max-width: 320px; margin: 0 auto; }
}

/* STATS BAR — 3 col at tablet already exists, add 2+3 split for small phones */
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item:last-child { grid-column: 1 / -1; }
}

/* HERO GRID — stack on mobile */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 480px) {
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* SERVICES BENTO — simplify to single column on mobile */
@media (max-width: 768px) {
  .services-bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .svc-card--wide,
  .svc-card--narrow,
  .svc-card--half {
    grid-column: auto;
    grid-row: auto;
  }
}

/* COMMERCE2GO GRID — stack earlier on small screens */
@media (max-width: 480px) {
  .c2g-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-ctas { flex-direction: column; }
  .product-ctas .btn { width: 100%; justify-content: center; }
}

/* GALLERY GRID — single column on very small phones */
@media (max-width: 400px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-item--feature {
    grid-column: auto;
    grid-row: auto;
  }
}

/* CONTACT FORM ROW — ensure single column on phones */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* FOOTER BOTTOM — stack on very small screens */
@media (max-width: 400px) {
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-legal { justify-content: center; }
}

/* PREVENT HORIZONTAL OVERFLOW SITE-WIDE */
@media (max-width: 768px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .svc-card { padding: 24px 20px; }
  .pricing-card { padding: 24px 20px; }
  .nb-built-for {
      white-space: normal;
      font-size: 10px;
      padding: 4px 8px;
      max-width: 100%;
  }
  .nb-card-top {
      flex-wrap: wrap;
  }
  .contact-form {
      padding: 20px 16px;
      border-radius: var(--radius-lg);
  }
  .contact-map-frame {
      border-radius: var(--radius-lg);
      overflow: hidden;
  }
}

/* CTA BUTTONS — stack on mobile */
@media (max-width: 480px) {
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}

/* ABOUT VIDEO — ensure it shows below text on mobile */
@media (max-width: 900px) {
  .about-video-wrap,
  .about-video-placeholder {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* PRICING GRID — already has 1fr at 900px but ensure buttons readable */
@media (max-width: 480px) {
  .pricing-amount { font-size: 24px; }
}

/* NOTABLE BUILDS — already has 1fr at 768px, ensure card padding ok */
@media (max-width: 480px) {
  .nb-card { padding: 20px; }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: white;
}

/* ============================================
   PRICING — PROMOTIONAL STYLES
   ============================================ */

/* Promo badge — shown above plan name */
.promo-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(240, 165, 0, 0.15);
    color: var(--c-gold-500, #F0A500);
    border: 1px solid rgba(240, 165, 0, 0.35);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Original price — crossed out */
.pricing-amount--original {
    font-size: 16px;
    font-weight: 400;
    color: var(--c-gray-500, #6B7280);
    text-decoration: line-through;
    display: block;
    margin-bottom: 2px;
}

/* Promotional price — highlighted */
.pricing-amount--promo {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--c-teal-400, #00C48C);
    display: block;
}

/* Expiry notice */
.promo-expiry {
    font-size: 12px;
    color: var(--c-gold-500, #F0A500);
    margin-top: 6px;
    font-weight: 500;
}
