/* =========================================================
   MixCortex IT Solutions — custom styles (Bootstrap 5.3)
   Brand: Ink #1A1814 · Paper #F5F1E8 · Persimmon #E4572E
   Type:  Bricolage Grotesque (display) · Instrument Sans (body)
   ========================================================= */

:root {
  /* MixCortex brand: warm ink + paper, one persimmon accent (the "goal" dot).
     Persimmon is for goal moments only: primary actions, selection, the dot. */
  --persimmon: #E4572E;         /* fills; carries ink text (4.8:1), never white */
  --persimmon-hover: #F26B43;   /* hover fill; also persimmon on ink (5.9:1) */
  --persimmon-text: #B8401D;    /* persimmon as text/links on paper (4.9:1) */
  --pine: #2F5D50;              /* secondary: checks, success (6.7:1 on paper) */
  --sand: #CFC6B4;              /* quiet icons on ink */
  --brand: var(--persimmon-text);
  --ink: #1A1814;
  --ink-2: #24211C;             /* raised surfaces on ink */
  --ink-line: #3A352D;          /* borders on ink */
  --paper: #F5F1E8;
  --surface: #FFFDF8;           /* cards on paper */
  --text: #2A2620;
  --muted: #5C564C;             /* 6.4:1 on paper */
  --muted-on-ink: #B9B1A2;      /* 8.3:1 on ink */
  --line: #E3DBCB;
  --bg-alt: #EDE6D8;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(26, 24, 20, .06), 0 8px 24px rgba(26, 24, 20, .07);
  --shadow-lg: 0 18px 40px rgba(26, 24, 20, .14);
  --whatsapp: #15803d;
  --whatsapp-hover: #166534;
  --focus-ring: var(--persimmon-text);
  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Bootstrap defaults follow the brand */
  --bs-body-font-family: var(--font-body);
  --bs-body-bg: var(--paper);
  --bs-body-color: var(--text);
  --bs-border-color: var(--line);
  --bs-link-color-rgb: 184, 64, 29;
  --bs-link-hover-color-rgb: 26, 24, 20;
  --bs-primary-rgb: 228, 87, 46;
}

::selection { background: var(--persimmon); color: var(--ink); }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
a { text-decoration: none; }

/* Highlighted words in a headline: solid persimmon, no gradient text */
.text-gradient { color: var(--persimmon-hover); }
.text-muted-2 { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 10px; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1rem; }

/* Primary action: persimmon with ink text (white on persimmon fails contrast) */
.btn-brand {
  background: var(--persimmon);
  border: 0;
  color: var(--ink);
}
.btn-brand:hover, .btn-brand:focus { background: var(--persimmon-hover); color: var(--ink); transform: translateY(-1px); }
.btn-brand:active { transform: none; }

.btn-outline-brand { border: 2px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline-brand:hover { background: var(--ink); color: var(--paper); }

.btn-outline-light { border-width: 2px; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--persimmon);
  flex-shrink: 0;
}
.eyebrow > i { display: none; }
.eyebrow-light { color: var(--muted-on-ink); }

.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 56px; }
.section-head h2, .section h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: .75rem; }

/* ---------- Navbar ---------- */
.navbar {
  padding: 1.1rem 0;
  transition: all .3s ease;
  background: transparent;
}
.navbar.scrolled {
  padding: .65rem 0;
  background: var(--ink);
  box-shadow: 0 1px 0 var(--ink-line);
}
.navbar .nav-link {
  color: var(--muted-on-ink);
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .9rem !important;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--paper); }
.navbar-toggler { border: 0; color: var(--paper); font-size: 1.8rem; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }

.brand-logo { display: block; height: 34px; width: auto; }
@media (max-width: 575.98px) { .brand-logo { height: 30px; } }

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--ink-2);
    border: 1px solid var(--ink-line);
    margin-top: .75rem;
    padding: 1rem;
    border-radius: var(--radius);
  }
  .navbar-collapse .btn { width: 100%; margin-top: .5rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding: 170px 0 110px;
}
/* Dot field: the brand dot, repeated quietly */
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245, 241, 232, .09) 1.5px, transparent 1.6px);
  background-size: 28px 28px;
  mask-image: linear-gradient(115deg, transparent 35%, #000 75%);
}
/* Hero atmospheric radial glow */
.hero::after {
  content: "";
  position: absolute;
  top: 10%; right: -5%;
  width: 580px; height: 580px;
  background: radial-gradient(circle, rgba(228, 87, 46, 0.16) 0%, rgba(228, 87, 46, 0.04) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Hero social proof avatar stack */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.avatar-stack {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: #2C2822;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  margin-left: -10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  line-height: 1;
}
.avatar-circle:first-child { margin-left: 0; background: #3E382E; }
.avatar-circle.accent { background: var(--persimmon); color: var(--ink); font-weight: 800; font-size: 0.95rem; }
.proof-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.proof-text .stars { font-size: 0.82rem; color: #F59E0B; display: flex; gap: 3px; line-height: 1; }
.proof-text small { color: var(--muted-on-ink); font-size: 0.85rem; font-weight: 500; line-height: 1.25; }

.hero-title {
  color: var(--paper);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.hero-lead { color: var(--muted-on-ink); font-size: 1.15rem; max-width: 580px; margin-top: 1.4rem; }
.hero-points li { color: var(--paper); font-weight: 500; font-size: .95rem; }
.hero-points i { color: var(--persimmon-hover); margin-right: .4rem; }
/* =========================================================
   Interactive Hero Cable Telemetry Animation Engine
   Top-to-Bottom Vertical Flow Topology
   ========================================================= */

.hero-telemetry-widget {
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 1. TOP: 3 Engagement Model Cards in a Horizontal Row */
.telemetry-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
  position: relative;
  z-index: 3;
}

.telemetry-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  padding: 0.65rem 0.5rem 0.75rem;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.telemetry-card:hover {
  border-color: rgba(245, 241, 232, 0.25);
  transform: translateY(-2px);
}

.tel-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.06);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  color: var(--paper);
  margin-bottom: 0.35rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tel-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.15;
  margin-bottom: 0.25rem;
  white-space: nowrap;
}

.tel-card-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
}
.tel-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4A4437;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.tel-status-text {
  color: var(--muted-on-ink);
  transition: color 0.3s ease;
  white-space: nowrap;
}

/* Ports at the bottom center of each top card */
.tel-port {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--ink-line);
  transition: all 0.3s ease;
  z-index: 5;
}

/* Active Theme: Persimmon */
.telemetry-card.active-persimmon {
  border-color: var(--persimmon);
  background: rgba(34, 27, 20, 0.95);
  box-shadow: 0 0 16px rgba(228, 87, 46, 0.2);
  transform: translateY(-2px);
}
.telemetry-card.active-persimmon .tel-card-icon {
  background: rgba(228, 87, 46, 0.2);
  color: var(--persimmon);
}
.telemetry-card.active-persimmon .tel-status-dot {
  background: var(--persimmon);
  box-shadow: 0 0 6px var(--persimmon);
}
.telemetry-card.active-persimmon .tel-status-text {
  color: var(--persimmon);
  font-weight: 700;
}
.telemetry-card.active-persimmon .tel-port {
  border-color: var(--persimmon);
  background: var(--persimmon);
  box-shadow: 0 0 10px var(--persimmon);
}

/* Active Theme: Pine */
.telemetry-card.active-pine {
  border-color: #9CCBB5;
  background: rgba(20, 32, 28, 0.95);
  box-shadow: 0 0 16px rgba(47, 93, 80, 0.25);
  transform: translateY(-2px);
}
.telemetry-card.active-pine .tel-card-icon {
  background: rgba(47, 93, 80, 0.3);
  color: #9CCBB5;
}
.telemetry-card.active-pine .tel-status-dot {
  background: #9CCBB5;
  box-shadow: 0 0 6px #9CCBB5;
}
.telemetry-card.active-pine .tel-status-text {
  color: #9CCBB5;
  font-weight: 700;
}
.telemetry-card.active-pine .tel-port {
  border-color: #9CCBB5;
  background: #9CCBB5;
  box-shadow: 0 0 10px #9CCBB5;
}

/* Active Theme: Sand */
.telemetry-card.active-sand {
  border-color: var(--sand);
  background: rgba(30, 28, 24, 0.95);
  box-shadow: 0 0 16px rgba(207, 198, 180, 0.2);
  transform: translateY(-2px);
}
.telemetry-card.active-sand .tel-card-icon {
  background: rgba(207, 198, 180, 0.2);
  color: var(--sand);
}
.telemetry-card.active-sand .tel-status-dot {
  background: var(--sand);
  box-shadow: 0 0 6px var(--sand);
}
.telemetry-card.active-sand .tel-status-text {
  color: var(--sand);
  font-weight: 700;
}
.telemetry-card.active-sand .tel-port {
  border-color: var(--sand);
  background: var(--sand);
  box-shadow: 0 0 10px var(--sand);
}

/* 2. MIDDLE: Downward SVG Bezier Cables */
.telemetry-cable-stage {
  position: relative;
  width: 100%;
  height: 40px;
  margin: -1px 0;
  z-index: 1;
}
.telemetry-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}
.cable-inactive {
  stroke: #2E2920;
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  fill: none;
  opacity: 0.55;
  transition: stroke 0.35s ease, opacity 0.35s ease;
}
.cable-active {
  stroke-width: 2.5;
  fill: none;
  transition: stroke 0.35s ease;
}

/* Normalized downward pulse */
.cable-pulse {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 18 82;
  animation: cable-flow-down 2.2s linear infinite;
}
@keyframes cable-flow-down {
  0% { stroke-dashoffset: 100; }
  100% { stroke-dashoffset: 0; }
}

/* 3. BOTTOM: Main Hero Card */
.hero-card {
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: 16px;
  overflow: hidden;
}
.hero-card-telemetry {
  position: relative;
  width: 100%;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  border-color: var(--ink-line);
  z-index: 2;
}

/* Receiving Port at Top Center */
.card-target-port {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--persimmon);
  border: 2px solid var(--ink);
  box-shadow: 0 0 10px var(--persimmon);
  transition: all 0.35s ease;
  z-index: 5;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--ink-line);
}
.hero-card-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-line) !important;
}
.hero-card-header .dot:first-child {
  background: var(--persimmon) !important;
}

.active-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(228, 87, 46, 0.18);
  color: var(--persimmon);
  border: 1px solid rgba(228, 87, 46, 0.4);
  transition: all 0.35s ease;
}

.hero-card-body {
  padding: 0.9rem 1rem;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.8rem;
  border-radius: 11px;
  background: rgba(245, 241, 232, 0.04);
  margin-bottom: 0.45rem;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.team-row:hover {
  background: rgba(245, 241, 232, 0.06);
}
.team-row > i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.07);
  color: var(--paper);
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.team-row div {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.team-row strong {
  font-size: 0.85rem;
  color: var(--paper);
  line-height: 1.2;
}
.team-row small {
  color: var(--muted-on-ink);
  font-size: 0.72rem;
}

.team-row.active-focus {
  background: rgba(228, 87, 46, 0.08);
  border-color: rgba(228, 87, 46, 0.25);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.team-row.active-focus > i {
  background: var(--persimmon);
  color: var(--ink);
  transform: scale(1.05);
}

.tel-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
}
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #9CCBB5;
  background: rgba(47, 93, 80, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}
.live-snippet {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--muted-on-ink);
  transition: color 0.3s ease;
  white-space: nowrap;
}
.team-row.active-focus .live-snippet {
  color: #FFA585;
  font-weight: 600;
}

.hero-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  background: var(--persimmon);
  color: var(--ink);
  transition: background-color 0.35s ease, color 0.35s ease;
}
.hero-card-foot span {
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}
.hero-card-foot strong {
  font-size: 1.08rem;
  font-family: var(--font-display);
  line-height: 1.2;
}
.foot-cycle-tag {
  background: rgba(26, 24, 20, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-block;
}

/* Responsiveness on small devices (< 420px) */
@media (max-width: 420px) {
  .telemetry-card {
    padding: 0.5rem 0.35rem 0.65rem;
  }
  .tel-card-title {
    font-size: 0.74rem;
  }
  .tel-card-status {
    font-size: 0.62rem;
  }
  .team-row {
    padding: 0.45rem 0.65rem;
  }
  .live-snippet {
    display: none;
  }
}

/* ---------- Capability strip (Infinite Marquee) ---------- */
.strip {
  background: #14120E;
  padding: 24px 0;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.strip-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll 32s linear infinite;
}

.strip-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0.85rem;
  padding: 0 0.425rem;
  flex-shrink: 0;
}

.tech-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.15rem;
  background: #24211C;
  border: 1px solid rgba(245, 241, 232, 0.12);
  border-radius: 9999px;
  color: #F5F1E8 !important;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  user-select: none;
  cursor: default;
  flex-shrink: 0;
}

.tech-pill i {
  font-size: 1.15rem;
  color: var(--persimmon) !important;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: transform 0.25s ease;
}

.tech-pill:hover {
  background: rgba(228, 87, 46, 0.18);
  border-color: var(--persimmon);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(228, 87, 46, 0.25);
}

.tech-pill:hover i {
  transform: scale(1.18);
}

@keyframes marquee-scroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

/* ---------- Service cards ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.2rem 1.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--persimmon), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(26, 24, 20, 0.1);
  border-color: rgba(228, 87, 46, 0.35);
  color: var(--text);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card h3 { font-size: 1.25rem; margin: 1.25rem 0 .6rem; }
.service-card p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.service-card .link { color: var(--persimmon-text); font-weight: 600; font-size: .9rem; margin-top: 1rem; display: inline-flex; align-items: center; gap: .35rem; }
.service-card .link i { transition: transform .25s ease; }
.service-card:hover .link i { transform: translateX(5px); }

.service-card .service-tag {
  align-self: flex-start;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 1.25rem;
}
.service-card:hover .service-tag {
  background: rgba(228, 87, 46, 0.14);
  color: var(--persimmon-text);
}

.icon-box {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.55rem;
  transition: all .3s ease;
}
.service-card:hover .icon-box {
  background: var(--persimmon);
  color: var(--ink);
  transform: scale(1.05);
}

/* ---------- Pricing ---------- */
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-top { padding: 2.2rem 2rem 1.8rem; border-bottom: 1px solid var(--line); }
.price-top h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.price-desc { color: var(--muted); font-size: .95rem; min-height: 48px; }
.price { font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: .8rem 0; }
.price .price-label { display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .2rem; }
.price .cur { font-size: 1rem; font-weight: 700; color: var(--muted); vertical-align: super; }
.price .per { font-size: 1rem; font-weight: 500; color: var(--muted); }
.ideal { font-size: .88rem; color: var(--muted); background: var(--bg-alt); padding: .9rem 1rem; border-radius: 12px; min-height: 92px; }
.price-body { padding: 1.8rem 2rem 2.2rem; flex: 1; }
.price-body h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 1rem; }
.price-body h4:not(:first-child) { margin-top: 1.8rem; }

.check-list, .team-list { list-style: none; padding: 0; margin: 0; }
.check-list li, .team-list li { position: relative; padding-left: 1.8rem; margin-bottom: .65rem; font-size: .93rem; }
.check-list li::before {
  content: "\F633"; /* bi-check-lg */
  font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 0;
  color: var(--pine);
  font-weight: 700;
}
.team-list li::before {
  content: "\F4DA"; /* bi-person-fill */
  font-family: "bootstrap-icons";
  position: absolute; left: 0; top: 0;
  color: var(--muted);
}
.team-list em { color: var(--muted); font-style: normal; font-size: .85rem; }

.price-card.featured {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 992px) { .price-card.featured { transform: scale(1.03); } .price-card.featured:hover { transform: scale(1.03) translateY(-6px); } }
.ribbon {
  position: absolute; top: 20px; right: 20px;
  background: var(--persimmon);
  color: var(--ink);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 999px;
}

/* ---------- Custom features ---------- */
.from-box {
  border-left: 4px solid var(--persimmon);
  background: var(--bg-alt);
  padding: 1.2rem 1.4rem;
  border-radius: 0 14px 14px 0;
}
.from-box span { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.from-box strong { display: block; font-size: 2rem; font-weight: 800; color: var(--ink); margin: .2rem 0; }
.from-box small { color: var(--muted); }

.sub-title { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1.2rem; }

.solution {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 600;
  background: var(--surface);
  transition: all .25s ease;
}
.solution i {
  width: 40px; height: 40px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 1.15rem;
  transition: all .25s ease;
}
.solution:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.solution:hover i { background: var(--ink); color: var(--paper); }

/* ---------- Product development (dark) ---------- */
.section-dark { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.section-dark h2 { color: var(--paper); }
.section-dark .section-head p { color: var(--muted-on-ink); }

.step {
  position: relative;
  height: 100%;
  padding: 1.8rem 1.4rem;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  transition: all .3s ease;
}
.step:hover { border-color: var(--persimmon-hover); transform: translateY(-4px); }
.step .num { position: absolute; top: 1rem; right: 1.2rem; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: rgba(245, 241, 232, .14); }
.step i { font-size: 1.8rem; color: var(--persimmon-hover); }
.step h5 { color: var(--paper); font-size: 1rem; margin: 1rem 0 0; line-height: 1.4; }

.product-cta {
  margin-top: 56px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 2.2rem 2.5rem;
  border-radius: 16px;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-left: 4px solid var(--persimmon);
}
.product-cta > div { max-width: 640px; }
.display-price { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }

/* ---------- Hourly ---------- */
.hourly-wrap {
  padding: 3.5rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}
@media (max-width: 575.98px) { .hourly-wrap { padding: 2rem 1.4rem; } }
.rate { margin: 1.5rem 0; }
.rate span { display: block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rate strong { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.rate small { font-size: 1.1rem; font-weight: 500; color: var(--muted); }

.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-weight: 600; font-size: .92rem;
  transition: all .25s ease;
}
.chip i { color: var(--persimmon-text); }
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:hover i { color: var(--persimmon-hover); }

/* ---------- Why us (Bento Grid) ---------- */
.bento-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(26, 24, 20, .08);
  border-color: rgba(228, 87, 46, .4);
}
.bento-featured {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(237, 230, 216, 0.45) 100%);
}
.bento-badge {
  display: inline-block;
  align-self: flex-start;
  padding: .25rem .7rem;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
}
.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--persimmon);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  transition: all .25s ease;
}
.bento-card:hover .bento-icon {
  background: var(--persimmon);
  color: var(--ink);
  transform: scale(1.05);
}
.bento-card h3 {
  font-size: 1.35rem;
  margin-bottom: .75rem;
}
.bento-card p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}
.bento-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.metric-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  line-height: 1.1;
}
.metric-item span {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- How we work (Milestone Rail) ---------- */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.process::before {
  content: "";
  position: absolute;
  top: 36px; left: 10%; right: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--persimmon) 0%, var(--pine) 50%, var(--persimmon) 100%);
  opacity: 0.35;
  border-radius: 999px;
  border-top: 0;
}
.process-step {
  position: relative;
  text-align: center;
  padding: 0 .5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-icon {
  position: relative;
  width: 72px; height: 72px;
  margin: 0 auto 1.3rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  color: var(--ink);
  font-size: 1.6rem;
  box-shadow: var(--shadow);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}
.process-icon span {
  position: absolute; top: -4px; right: -4px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--persimmon);
  color: var(--ink);
  font-size: .75rem; font-weight: 700;
  box-shadow: 0 2px 5px rgba(228, 87, 46, 0.4);
}
.process-step:hover .process-icon {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--persimmon);
  transform: translateY(-4px) scale(1.05);
}
.process-step h5 { font-size: 1.15rem; margin-bottom: .5rem; }
.process-step p { color: var(--muted); font-size: .92rem; margin: 0; }
.process-deliverable {
  margin-top: .85rem;
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--persimmon-text);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}

@media (max-width: 991.98px) {
  .process { grid-template-columns: 1fr; gap: 1.2rem; }
  .process::before { top: 0; bottom: 0; left: 35px; right: auto; width: 2px; height: auto;
    border-top: 0; border-left: 2px dashed var(--line); }
  .process-step { display: grid; grid-template-columns: 72px 1fr; column-gap: 1.2rem; text-align: left; padding: 0; align-items: start; }
  .process-icon { margin: 0; grid-row: span 3; }
  .process-step h5 { margin: .5rem 0 .2rem; }
  .process-deliverable { grid-column: 2; justify-self: start; margin-top: .4rem; }
}

/* ---------- Tech stack ---------- */
.stack-card {
  height: 100%;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .3s ease;
}
.stack-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stack-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.stack-head i {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 1.15rem;
}
.stack-head h5 { margin: 0; font-size: 1.02rem; }
.stack-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.stack-tags span {
  font-size: .8rem; font-weight: 600;
  padding: .35rem .7rem;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--text);
}

/* ---------- FAQ ---------- */
.faq .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius) !important;
  margin-bottom: .8rem;
  overflow: hidden;
}
.faq .accordion-button {
  font-weight: 700;
  color: var(--ink);
  padding: 1.15rem 1.4rem;
  font-size: 1rem;
  background: var(--surface);
  gap: 1rem; /* keep long questions clear of the chevron on phones */
}
.faq .accordion-button:not(.collapsed) { color: var(--persimmon-text); background: var(--surface); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { color: var(--muted); padding: 0 1.4rem 1.3rem; background: var(--surface); }

/* ---------- Contact ---------- */
.contact-wrap {
  padding: 3.5rem;
  border-radius: 16px;
  background: var(--ink);
}
@media (max-width: 575.98px) { .contact-wrap { padding: 2rem 1.3rem; } }
.contact-points li { color: var(--paper); margin-bottom: .6rem; font-weight: 500; }
.contact-points i { color: var(--persimmon-hover); margin-right: .5rem; }

.contact-form {
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form .form-label { color: var(--muted-on-ink); font-size: .88rem; font-weight: 600; }
.contact-form .form-control, .contact-form .form-select {
  background-color: var(--ink);
  border: 1px solid var(--ink-line);
  color: var(--paper);
  border-radius: 12px;
  padding: .75rem 1rem;
}
.contact-form .form-control::placeholder { color: #8C8577; }
.contact-form .form-text { color: var(--muted-on-ink); font-size: .8rem; }
.contact-form .req { color: var(--persimmon-hover); }
.contact-form .form-note { color: var(--muted-on-ink); font-size: .8rem; text-align: center; }
.contact-form .invalid-feedback { color: #fca5a5; }
.contact-form .form-control.is-invalid, .was-validated .contact-form .form-control:invalid { border-color: #f87171; }
.contact-form .form-select option { color: var(--ink); }
.contact-form .form-control:focus, .contact-form .form-select:focus {
  background-color: var(--ink);
  border-color: var(--persimmon-hover);
  box-shadow: 0 0 0 .2rem rgba(242, 107, 67, .2);
  color: var(--paper);
}
.contact-form .form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 70px 0 30px; }
.footer h6 { color: var(--paper); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer ul li { margin-bottom: .55rem; }
.footer ul a { color: var(--muted-on-ink); transition: color .2s; }
.footer ul a:hover { color: var(--paper); }
.footer hr { border-color: var(--ink-line); margin: 2.5rem 0 1.5rem; opacity: 1; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  z-index: 1000;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: var(--paper); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease-out, transform .4s ease-out; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-card { animation: none; }
  .cable-pulse { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 767.98px) {
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 80px; }
  .product-cta { padding: 1.8rem; }
}

/* =========================================================
   Get Started page
   ========================================================= */
.gs-body { background: var(--bg-alt); min-height: 100vh; }
.gs-page { padding: 110px 0 70px; }
.navbar.navbar-solid { background: var(--ink); padding: .75rem 0; box-shadow: 0 1px 0 var(--ink-line); }
.section-white { background: var(--surface); }
.gs-top { margin-bottom: 24px; }
.gs-back { color: var(--muted); font-weight: 600; font-size: .92rem; }
.gs-back:hover { color: var(--ink); }

.gs-panel {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: 3rem 2.75rem;
  border-radius: 16px;
  background: var(--ink);
  color: var(--paper);
}
.gs-circle { position: absolute; border-radius: 50%; background: rgba(245, 241, 232, .04); pointer-events: none; }
.gs-circle-1 { width: 260px; height: 260px; top: -70px; right: -70px; }
.gs-circle-2 { width: 220px; height: 220px; bottom: -90px; left: -60px; }

.gs-step-label { color: var(--persimmon-hover); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .8rem; }
.gs-panel-title { color: var(--paper); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 1rem; }
.gs-panel-text { color: var(--muted-on-ink); font-size: 1.05rem; margin-bottom: 2.4rem; min-height: 3.2em; }
.gs-panel-sub { color: var(--muted-on-ink); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }

.gs-benefits li { display: flex; gap: .9rem; align-items: flex-start; color: var(--paper); font-size: 1rem; margin-bottom: 1rem; }
.gs-benefits i {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--persimmon);
  color: var(--ink);
  font-size: .9rem;
  margin-top: 1px;
}
.gs-divider { border-color: var(--ink-line); opacity: 1; margin: 2rem 0 1.5rem; }
.gs-trust-title { color: var(--muted-on-ink); font-size: .88rem; margin-bottom: .9rem; }
.gs-trust { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.gs-trust span {
  font-size: .82rem; font-weight: 600;
  color: var(--paper);
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  padding: .4rem .75rem;
  border-radius: 999px;
}
.gs-trust i { color: var(--sand); margin-right: .3rem; }
.gs-time { color: var(--muted-on-ink); font-size: .9rem; margin: 0; }
.gs-time i { margin-right: .4rem; }

.gs-form-wrap {
  height: 100%;
  display: flex; flex-direction: column;
  padding: 2.75rem;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.gs-progress { height: 6px; border-radius: 999px; background: var(--line); margin-bottom: 2.4rem; overflow: hidden; }
.gs-progress-bar { height: 100%; width: 25%; background: var(--persimmon); border-radius: 999px; transition: width .4s ease; }

#gsForm { flex: 1; display: flex; flex-direction: column; }
.gs-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.gs-step.active { display: block; animation: gsFade .35s ease; }
@keyframes gsFade { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }

.gs-legend { float: none; font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 1.2rem; }
.gs-step .form-label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.gs-step .form-control { border-radius: 10px; padding: .8rem 1rem; border-color: var(--line); background-color: #fff; }
.gs-step .form-control::placeholder { color: #8C8577; }
.gs-step .form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 .2rem rgba(228, 87, 46, .18); }
.req { color: var(--persimmon-text); }
.opt { color: var(--muted); font-weight: 500; font-size: .85em; }

.gs-option {
  display: flex; align-items: center; gap: 1rem;
  height: 100%;
  padding: 1rem 1.1rem;
  border: 2px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  transition: all .2s ease;
}
.gs-option > i {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 1.2rem;
  transition: all .2s ease;
}
.gs-option strong { display: block; color: var(--ink); font-size: .98rem; }
.gs-option small { display: block; color: var(--muted); font-size: .84rem; }
.gs-option:hover { border-color: var(--muted); }
.btn-check:checked + .gs-option { border-color: var(--ink); background: var(--surface); }
.btn-check:checked + .gs-option > i { background: var(--persimmon); color: var(--ink); }
.btn-check:focus-visible + .gs-option, .btn-check:focus-visible + .gs-chip { outline: 3px solid var(--persimmon-text); outline-offset: 2px; }

.gs-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .65rem 1.05rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-weight: 600; font-size: .92rem;
  cursor: pointer;
  transition: all .2s ease;
}
.gs-chip:hover { border-color: var(--muted); }
.btn-check:checked + .gs-chip { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.gs-error { display: none; color: #B42318; font-size: .88rem; margin-top: 1rem; }
.gs-error.show { display: block; }

.gs-summary { background: var(--bg-alt); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.gs-summary h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 1rem; }
.gs-summary dl { display: grid; grid-template-columns: 120px 1fr; gap: .5rem 1rem; margin: 0; font-size: .92rem; }
.gs-summary dt { color: var(--muted); font-weight: 500; }
.gs-summary dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }

.gs-nav { display: flex; align-items: center; gap: 1rem; margin-top: auto; padding-top: 2.4rem; }
.gs-nav .btn { padding: .85rem 1.6rem; }
.gs-btn-back { background: var(--bg-alt); border: 0; color: var(--text); }

.gs-success { text-align: center; padding: 2rem 0; margin: auto 0; }
.gs-success-icon {
  width: 76px; height: 76px;
  margin: 0 auto 1.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--persimmon);
  color: var(--ink);
  font-size: 2.2rem;
}
.gs-success h2 { font-size: 1.6rem; }
.gs-success p { color: var(--muted); max-width: 420px; margin: .8rem auto 1rem; }

@media (max-width: 991.98px) {
  .gs-panel { padding: 2.2rem 1.8rem; }
  .gs-panel .mb-5 { margin-bottom: 1.8rem !important; }
  .gs-panel-text { margin-bottom: 1.6rem; min-height: 0; }
}
@media (max-width: 575.98px) {
  .gs-form-wrap { padding: 1.8rem 1.3rem; }
  .gs-summary dl { grid-template-columns: 1fr; gap: .1rem; }
  .gs-summary dd { margin-bottom: .5rem; }
  .gs-nav .btn { padding: .8rem 1.1rem; }
}

/* ---------- Homepage consultation CTA ---------- */
.cta-benefits li { display: flex; gap: .8rem; color: var(--paper); margin-bottom: .9rem; }
.cta-benefits i {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--persimmon);
  color: var(--ink);
  font-size: .8rem;
  margin-top: 1px;
}
.cta-box {
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 2.2rem;
}
.cta-box h3 { color: var(--muted-on-ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; opacity: .6; margin-bottom: 1.3rem; }

/* =========================================================
   Mobile refinements
   ========================================================= */
@media (max-width: 575.98px) {
  /* Hero card footer stacks instead of squeezing */
  .hero-card-foot { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .hero-card-foot strong { font-size: 1.1rem; }
  .hero-card-body { padding: 1rem; }
  .team-row { padding: .75rem; gap: .75rem; }

  /* Telemetry engine mobile refinements */
  .telemetry-left-cards { grid-template-columns: 1fr; gap: 0.5rem; }
  .telemetry-card-desc { display: block; }
  .live-snippet { display: none; }

  /* Capability marquee pill size on mobile */
  .tech-pill { padding: .45rem .85rem; font-size: .82rem; gap: .45rem; }
  .tech-pill i { font-size: 1rem; }

  .eyebrow { font-size: .7rem; letter-spacing: .1em; }
  .rate strong { font-size: 1.6rem; }
  .price { font-size: 1.9rem; }
  .price-top, .price-body { padding-left: 1.4rem; padding-right: 1.4rem; }
  .cta-box { padding: 1.5rem; }
  .product-cta { padding: 1.5rem; }
  .solution { padding: .8rem 1rem; }

  /* Smaller back-to-top button, tucked in the corner */
  .to-top { width: 40px; height: 40px; right: 12px; bottom: 12px; font-size: 1rem; border-radius: 10px; }
  .footer { padding-bottom: 72px; }

  /* Get Started: stacked nav buttons stay on one row */
  .gs-nav { gap: .6rem; padding-top: 1.8rem; }
  .gs-nav .btn { white-space: nowrap; }
  .gs-page-body .to-top { display: none; }
}

@media (max-width: 991.98px) {
  /* Get Started: shorter panel so the form is visible sooner */
  .gs-page { padding-top: 90px; }
  .gs-panel-brand { display: none !important; }
  .gs-panel-title { font-size: 1.6rem; margin-bottom: .6rem; }
  .gs-panel-text { font-size: .95rem; margin-bottom: 1.2rem; }
  .gs-trust-title, .gs-trust, .gs-divider { display: none; }
  .gs-benefits li { font-size: .92rem; margin-bottom: .7rem; }
  .gs-panel.gs-compact .gs-extra { display: none; }
  .gs-panel.gs-compact .gs-panel-text { margin-bottom: 0; }
  .gs-panel.gs-compact .gs-time { display: none; }
  .gs-panel { scroll-margin-top: 80px; }
}

@media (max-width: 399.98px) {
  .gs-back-text { display: none; }
  .gs-nav .gs-btn-back { padding-left: 1rem; padding-right: 1rem; }
  .gs-nav .btn { padding-left: 1.1rem; padding-right: 1.1rem; font-size: .95rem; }
  .gs-nav #btnNext, .gs-nav #btnSubmit { flex: 1; }
}
@media (max-width: 359.98px) {
  .tech-pill { padding: .4rem .75rem; font-size: .78rem; }
}

/* ---------- WhatsApp ---------- */
.btn-whatsapp { background: var(--whatsapp); border: 0; color: #fff; }
.btn-whatsapp:hover, .btn-whatsapp:focus { background: var(--whatsapp-hover); color: #fff; transform: translateY(-2px); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: .5rem;
  height: 52px; padding: 0 1.2rem 0 1rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  font-weight: 700; font-size: .95rem;
  box-shadow: 0 10px 25px rgba(21, 128, 61, .35);
  z-index: 1001;
  transition: transform .25s ease, box-shadow .25s ease;
}
.wa-float i { font-size: 1.5rem; }
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(21, 128, 61, .45); }
.to-top { bottom: 86px; }

.footer { padding-bottom: 96px; }
.btn-cta { padding: .8rem 1.3rem; }
.footer-contact li { margin-bottom: .6rem; }
.footer-contact a { color: var(--muted-on-ink) !important; font-size: .92rem; }
.footer-contact a:hover { color: var(--paper) !important; }
.footer-contact a { gap: .6rem; }
.footer-contact i { color: #25d366; width: 1.1em; text-align: center; flex-shrink: 0; }
.footer-contact .bi-telephone { color: var(--sand); }

.gs-chat { color: var(--muted-on-ink); font-size: .9rem; margin: .8rem 0 0; }
.gs-chat a { color: #4ade80; font-weight: 600; gap: .45rem; margin-left: .25rem; }
.gs-chat a:hover { color: #86efac; }

@media (max-width: 575.98px) {
  .wa-float { right: 12px; bottom: 12px; width: 50px; height: 50px; padding: 0; justify-content: center; }
  .wa-float span { display: none; }
  .to-top { bottom: 72px; }
  .footer { padding-bottom: 80px; }
}
@media (max-width: 991.98px) {
  .gs-panel.gs-compact .gs-chat { display: none; }
}

/* ---------- Form sending states ---------- */
.gs-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gs-send-error {
  display: flex; gap: .8rem; align-items: flex-start;
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: .92rem;
}
.gs-send-error[hidden] { display: none; }
.gs-send-error i { font-size: 1.2rem; margin-top: 1px; }
.gs-send-error strong { display: block; }
.gs-send-error a { color: #15803d; font-weight: 700; text-decoration: underline; }

/* =========================================================
   UI/UX Pro Max pass: focus, touch targets 1
   ========================================================= */
/* Visible keyboard focus everywhere; lighter ring on dark grounds */
a:focus-visible, button:focus-visible, .btn:focus-visible, .accordion-button:focus-visible,
.form-control:focus-visible, .form-select:focus-visible, .navbar-toggler:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  box-shadow: none;
}

.navbar, .hero, .strip, .section-dark, .contact-wrap, .footer, .gs-panel { --focus-ring: var(--persimmon-hover); }

/* Every tap target at least 44 x 44px */
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
/* Flex drops the space between icon and label, so give icons real breathing room */
.btn > .bi.me-1 { margin-right: .5rem !important; }
.btn > .bi.ms-1 { margin-left: .5rem !important; }
.navbar-toggler { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; }
@media (max-width: 991.98px) {
  .navbar .nav-link { min-height: 44px; display: flex; align-items: center; }
}
.footer ul li { margin-bottom: .1rem; }
.footer ul a { display: inline-flex; align-items: center; min-height: 44px; }
.footer .navbar-brand { min-height: 44px; }
.gs-chat a { display: inline-flex; align-items: center; min-height: 44px; }
.to-top { min-width: 44px; min-height: 44px; }

/* ---------- Office address ---------- */
.footer-contact .footer-address { align-items: flex-start; padding: .6rem 0; }
.footer-contact .footer-address i { color: var(--sand); margin-top: .1rem; }
.footer-contact address { font-style: normal; line-height: 1.5; }
.contact-address { color: var(--paper); text-decoration: underline; text-decoration-color: var(--ink-line); text-underline-offset: 3px; }
.contact-address:hover { color: var(--persimmon-hover); text-decoration-color: currentColor; }

/* ---------- FAQ groups ---------- */
.faq .faq-group {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin: 2.2rem 0 .9rem;
}
.faq .faq-group:first-child { margin-top: 0; }
.faq-terms-link { color: var(--persimmon-text); text-decoration: underline; text-underline-offset: 3px; }
.faq-terms-link:hover { color: var(--ink); }

/* ---------- Terms of Engagement ---------- */
.terms-page { padding: 120px 0 80px; }
.terms-wrap { max-width: 760px; }
.terms-head h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: .6rem; }
.terms-updated { color: var(--muted); font-size: .92rem; margin: 0; }
.terms-summary {
  margin: 2rem 0 0;
  padding: 1.4rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--persimmon);
  border-radius: var(--radius);
}
.terms-summary p { margin: 0; color: var(--text); }
.terms-section { margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.terms-section h2 { font-size: 1.35rem; margin-bottom: .9rem; }
.terms-section p, .terms-section li { color: var(--text); line-height: 1.65; }
.terms-section ul { padding-left: 1.2rem; margin-bottom: 0; }
.terms-section li { margin-bottom: .5rem; }
.terms-section li::marker { color: var(--persimmon); }
.terms-section a { color: var(--persimmon-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 575.98px) { .terms-page { padding: 100px 0 64px; } .terms-summary { padding: 1.2rem; } }

.footer-legal { color: var(--muted-on-ink); display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal:hover { color: var(--paper); text-decoration: underline; }
