:root {
  --ink: #0d1b2a;
  --muted: #3f5569;
  --bg: #f2ece3;
  --surface: #fffaf2;
  --line: #d8c6b4;
  --brand: #00558c;
  --brand-2: #00a8c4;
  --accent: #ef5b2a;
  --accent-dark: #ca451d;
  --shadow: 0 20px 44px rgba(7, 23, 37, 0.16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Archivo", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(0, 168, 196, 0.12) 0%, transparent 32%),
    radial-gradient(circle at 88% 24%, rgba(239, 91, 42, 0.12) 0%, transparent 34%),
    repeating-linear-gradient(135deg, rgba(13, 27, 42, 0.03) 0, rgba(13, 27, 42, 0.03) 1px, transparent 1px, transparent 14px),
    var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--max), calc(100% - 3rem));
  margin: 0 auto;
}

.section {
  padding: 5.6rem 0;
  position: relative;
}

#segments.section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.82) 100%),
    linear-gradient(120deg, rgba(0, 85, 140, 0.08) 0%, rgba(0, 168, 196, 0.06) 100%);
}

#services.section {
  background: linear-gradient(118deg, #042139 0%, #05466f 42%, #0a7b9a 72%, #1599a1 100%);
}

#marketing.section {
  background:
    linear-gradient(180deg, rgba(246, 251, 255, 0.74) 0%, rgba(255, 255, 255, 0.88) 100%),
    linear-gradient(125deg, rgba(0, 85, 140, 0.08) 0%, rgba(239, 91, 42, 0.06) 100%);
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 0.8rem;
  border-left: 4px solid var(--accent);
  padding-left: 0.55rem;
}

.hero .eyebrow {
  color: #ffd9b8;
  text-shadow: 0 4px 14px rgba(6, 23, 38, 0.35);
}

h1,
h2,
h3 {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.28rem;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.78rem 1.24rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  transition: transform 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(128deg, #ff6a36 0%, #ef5b2a 55%, #d6471c 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(202, 69, 29, 0.36);
}

.btn-primary:hover {
  background: linear-gradient(128deg, #f66030 0%, #dd4f22 55%, #bd3d16 100%);
  box-shadow: 0 16px 32px rgba(189, 61, 22, 0.44);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn:focus-visible,
.tab-btn:focus-visible,
.quick-select:focus-visible,
.nav-toggle:focus-visible,
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid rgba(240, 138, 61, 0.45);
  outline-offset: 2px;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(7, 26, 44, 0.2);
  backdrop-filter: blur(5px);
}

.btn-nav {
  background: linear-gradient(128deg, #ff6a36 0%, #ef5b2a 55%, #d6471c 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(202, 69, 29, 0.36);
}

.btn-nav:hover {
  background: linear-gradient(128deg, #f66030 0%, #dd4f22 55%, #bd3d16 100%);
  box-shadow: 0 16px 32px rgba(189, 61, 22, 0.44);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.28s ease, box-shadow 0.28s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar.scrolled {
  background: rgba(250, 243, 232, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(21, 40, 56, 0.12);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  position: relative;
}

.nav-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 18%, rgba(255, 255, 255, 0.22) 82%, transparent 100%);
}

.navbar.scrolled .nav-inner::after {
  background: linear-gradient(90deg, transparent 0%, rgba(13, 27, 42, 0.12) 18%, rgba(13, 27, 42, 0.12) 82%, transparent 100%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #003f69 0%, var(--brand) 45%, #00a3bf 100%);
  color: #fff;
  font-weight: 800;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
}

.brand-text {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.navbar:not(.scrolled) .brand-text {
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  position: relative;
}

.nav-links li:not(:last-child) a::after {
  content: "/";
  position: absolute;
  right: -0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
}

.navbar.scrolled .nav-links li:not(:last-child) a::after {
  color: rgba(13, 27, 42, 0.22);
}

.navbar:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.92);
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--brand);
}

.navbar:not(.scrolled) .nav-links a.active,
.navbar:not(.scrolled) .nav-links a:hover {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: var(--ink);
  margin: 0.21rem auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 0.8rem 1.5rem 1.2rem;
}

.mobile-menu.open {
  display: grid;
  gap: 0.9rem;
}

.mobile-menu a {
  font-weight: 700;
  color: var(--muted);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 8.8rem 0 5.7rem;
  background: linear-gradient(118deg, #042139 0%, #05466f 42%, #0a7b9a 72%, #1599a1 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 17, 30, 0.6) 0%, rgba(3, 17, 30, 0.46) 38%, rgba(3, 17, 30, 0.14) 68%, rgba(3, 17, 30, 0.06) 100%),
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.12) 0%, transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(239, 91, 42, 0.18) 0%, transparent 28%),
    linear-gradient(180deg, rgba(2, 13, 24, 0.18) 0%, rgba(2, 13, 24, 0.4) 100%);
  pointer-events: none;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
}

.hero-bg-shape-a {
  width: 360px;
  height: 360px;
  background: rgba(239, 91, 42, 0.3);
  right: -120px;
  top: -100px;
}

.hero-bg-shape-b {
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.2);
  left: -80px;
  bottom: -120px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 1.1rem;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
  padding: 1.4rem 1.35rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(4, 24, 39, 0.38) 0%, rgba(4, 24, 39, 0.24) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.hero-copy h1 {
  color: #ffffff;
  text-shadow: 0 8px 24px rgba(3, 15, 27, 0.52);
  max-width: 12ch;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span:last-child {
  color: #ffd9c8;
}

.hero-lead {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.97);
  margin-top: 1rem;
}

.hero-lead-mobile {
  display: none;
  margin-top: 0.85rem;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.98);
  font-weight: 600;
}

.hero-mini-points {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-mini-points span {
  background: rgba(5, 30, 49, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: rgba(255, 255, 255, 0.99);
  border-radius: 8px;
  padding: 0.42rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.97);
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-actions .btn:first-child {
  transform: none;
}

.hero-actions .btn:last-child {
  transform: none;
}

.hero-actions .btn:hover {
  transform: translateY(-2px) rotate(0deg);
}

.hero-actions .btn {
  letter-spacing: 0.01em;
}

.hero-actions .btn-primary {
  min-width: 228px;
}

.hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.68);
}

.hero-kpis {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-kpis div {
  background: rgba(6, 28, 46, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.33);
  border-radius: 8px;
  padding: 0.8rem;
}

.hero-kpis strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

.hero-kpis span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  align-self: center;
}

.hero-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1rem;
  border-radius: 14px;
  background: rgba(8, 36, 57, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 28px rgba(3, 14, 24, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-feature-card:hover {
  transform: translateX(4px);
  box-shadow: 0 16px 34px rgba(3, 14, 24, 0.32);
}

.hfc-app    { border-left: 3px solid #00c4e0; }
.hfc-ops   { border-left: 3px solid #ff6a36; }
.hfc-brand { border-left: 3px solid #f5c842; }

/* icons */
.hfc-icon {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.hfc-app .hfc-icon   { background: rgba(0, 196, 224, 0.18); }
.hfc-ops .hfc-icon   { background: rgba(255, 106, 54, 0.18); }
.hfc-brand .hfc-icon { background: rgba(245, 200, 66, 0.18); }

/* phone icon */
.hfc-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  width: 1.4rem;
}

.hfc-dot {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #00c4e0;
}

.hfc-line {
  height: 0.15rem;
  width: 100%;
  border-radius: 2px;
  background: rgba(0, 196, 224, 0.75);
}

.hfc-line-short {
  width: 65%;
  align-self: flex-start;
}

/* flow icon */
.hfc-flow {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  font-size: 0.72rem;
}

.hfc-flow span {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 3px;
  background: rgba(255, 106, 54, 0.8);
  flex-shrink: 0;
}

.hfc-arrow {
  width: auto !important;
  background: none !important;
  color: rgba(255, 106, 54, 0.9);
  font-size: 0.7rem;
  border-radius: 0 !important;
}

/* brand icon */
.hfc-logo-block {
  display: flex;
  align-items: center;
  gap: 0.32rem;
}

.hfc-logo-shape {
  width: 1rem;
  height: 1rem;
  border-radius: 50% 50% 0 50%;
  background: #f5c842;
}

.hfc-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.hfc-logo-text span {
  display: block;
  height: 0.18rem;
  border-radius: 2px;
  background: rgba(245, 200, 66, 0.75);
}

.hfc-logo-text span:first-child { width: 1.1rem; }
.hfc-logo-text span:last-child  { width: 0.72rem; }

/* text inside cards */
.hfc-text {
  flex: 1;
  min-width: 0;
}

.hfc-text strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.2rem;
}

.hfc-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
  margin-bottom: 0.42rem;
}

.hfc-text ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.hfc-text li {
  font-size: 0.69rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.18rem 0.46rem;
}

.pain-points {
  padding: 2rem 0 1.5rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pain-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 8px 18px rgba(13, 27, 42, 0.06);
}

.pain-grid h3 {
  margin-bottom: 0.5rem;
}

.section-head {
  margin-bottom: 2rem;
  position: relative;
  padding-right: 0;
}

.section-head h2 {
  max-width: 16ch;
  text-wrap: balance;
}

.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.65rem;
  width: 96px;
  height: 6px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}

.services-dark {
  background: linear-gradient(118deg, #042139 0%, #05466f 42%, #0a7b9a 72%, #1599a1 100%);
  position: relative;
  overflow: hidden;
}

.services-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 80%, rgba(239, 91, 42, 0.12) 0%, transparent 36%),
    radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.07) 0%, transparent 30%);
  pointer-events: none;
}

.services-dark .section-head h2,
.services-dark .section-head p {
  color: #fff;
}

.services-dark .section-head {
  position: relative;
  z-index: 1;
}

.services-dark .section-head::after {
  background: linear-gradient(90deg, #00c4e0 0%, #ff6a36 100%);
}

.services-dark .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.service-card:nth-child(odd) {
  transform: none;
}

.service-card:nth-child(even) {
  transform: none;
}

.service-card {
  background: rgba(2, 20, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 1.2rem 1.1rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(90deg, #00c4e0 0%, #ff6a36 100%);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(3, 14, 24, 0.4);
  border-color: rgba(255, 255, 255, 0.28);
}

.service-card h3 {
  margin-bottom: 0.45rem;
  color: #fff;
  font-size: 1rem;
}

.service-card p {
  color: rgba(210, 230, 245, 0.88);
  font-size: 0.86rem;
  line-height: 1.5;
}

.app-showcase {
  background:
    linear-gradient(180deg, rgba(255, 224, 184, 0.35) 0%, rgba(181, 233, 238, 0.34) 100%),
    #fff7ef;
}

.app-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.app-phone {
  display: flex;
  justify-content: center;
}

.app-tabs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tab-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
}

.tab-btn.active {
  background: linear-gradient(120deg, #00558c 0%, #0077aa 60%, #00a5bf 100%);
  color: #fff;
  border-color: var(--brand);
}

.app-benefits {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}

.app-benefits li {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(216, 198, 180, 0.8);
  border-radius: 10px;
  padding: 0.7rem;
  color: var(--muted);
}

.phone-shell {
  position: relative;
  width: min(100%, 332px);
  margin-inline: auto;
  background: linear-gradient(180deg, #1c2733 0%, #10161f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  padding: 0.72rem;
  box-shadow: 0 28px 42px rgba(9, 20, 33, 0.28);
}

.phone-shell::before,
.phone-shell::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.phone-shell::before {
  top: 76px;
  height: 44px;
}

.phone-shell::after {
  top: 132px;
  height: 68px;
}

.phone-speaker {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.3rem;
  height: 0.38rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  z-index: 2;
}

.phone-camera {
  position: absolute;
  top: 0.48rem;
  right: 5.25rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #4d6884 0%, #203243 45%, #0d1621 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: #72849a;
  margin-bottom: 0.9rem;
}

.phone-home-indicator {
  width: 6.6rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  margin: 0.65rem auto 0.12rem;
}

.phone-screen {
  min-height: 428px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffefe 0%, #fff4e8 52%, #eef8fb 100%);
  border: 1px solid rgba(164, 179, 198, 0.38);
  padding: 1rem 0.95rem 0.85rem;
  display: none;
}

.phone-screen.active {
  display: block;
}

.phone-screen h3 {
  margin-bottom: 0.9rem;
  font-size: 1.14rem;
}

.phone-photo {
  width: 100%;
  height: 122px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 0.7rem;
  box-shadow: 0 10px 24px rgba(19, 44, 63, 0.14);
}

.phone-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin-bottom: 0.75rem;
}

.phone-pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: 0.22rem 0.56rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(213, 224, 234, 0.9);
  color: #2d536b;
  font-size: 0.7rem;
  font-weight: 700;
}

.phone-screen p {
  background: #fff;
  border: 1px solid #d9e2ed;
  border-radius: 14px;
  padding: 0.68rem 0.78rem;
  margin-bottom: 0.56rem;
  box-shadow: 0 8px 18px rgba(30, 48, 70, 0.06);
}

.phone-screen p:last-child {
  margin-bottom: 0;
}

.visual-band {
  padding-top: 0.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(244, 236, 226, 0.76) 100%);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.band-grid img:nth-child(2) {
  transform: none;
}

.band-grid img:nth-child(3) {
  transform: none;
}

.band-grid img {
  border-radius: var(--radius);
  height: 280px;
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 14px 28px rgba(13, 27, 42, 0.12);
}

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.marketing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.marketing-card:nth-child(2) {
  transform: none;
}

.marketing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(16, 40, 61, 0.12);
}

.marketing-card h3 {
  margin-bottom: 0.45rem;
}

.reviews-section {
  background:
    linear-gradient(180deg, rgba(247, 239, 229, 0.75) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.review-card {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
  border: 1px solid #e4d7c8;
  border-radius: 14px;
  padding: 1.15rem 1.05rem;
  box-shadow: 0 12px 24px rgba(18, 40, 61, 0.08);
}

.review-stars {
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  color: #d27d1d;
  margin-bottom: 0.55rem;
}

.review-text {
  color: #254861;
  font-weight: 500;
  line-height: 1.52;
  margin-bottom: 0.8rem;
}

.review-author {
  color: #50738f;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── Your Setup – 3-card grid ── */
.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.setup-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.4rem 1.4rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.setup-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(5, 28, 50, 0.09);
}

.setup-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
}

.sc-app::before   { background: linear-gradient(90deg, #00c4e0, #1599a1); }
.sc-ops::before   { background: linear-gradient(90deg, #ff6a36, #e24f23); }
.sc-brand::before { background: linear-gradient(90deg, #f5c842, #d4a017); }

.setup-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.sc-app .setup-icon   { background: rgba(0, 196, 224, 0.1);  color: #009ab0; }
.sc-ops .setup-icon   { background: rgba(255, 106, 54, 0.1);  color: #d44820; }
.sc-brand .setup-icon { background: rgba(212, 160, 23, 0.12); color: #a07208; }

.setup-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.setup-card > p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.setup-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  flex: 1;
}

.setup-card li {
  font-size: 0.82rem;
  color: var(--ink);
  padding: 0.38rem 0.6rem 0.38rem 1.75rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
}

.setup-card li::before {
  content: "✓";
  position: absolute;
  left: 0.55rem;
  font-weight: 700;
}

.sc-app li::before   { color: #1599a1; }
.sc-ops li::before   { color: #d44820; }
.sc-brand li::before { color: #a07208; }

/* CTA strip */
.setup-cta {
  margin-top: 1.4rem;
  background: linear-gradient(135deg, #f4f8fb 0%, #eaf3f8 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.setup-cta p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 54ch;
  line-height: 1.55;
  margin: 0;
}

.setup-cta .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.segment-cta {
  margin-top: 0.9rem;
  font-size: 0.93rem;
}



.contact {
  background: linear-gradient(135deg, #04223a 0%, #00558c 42%, #0087a6 68%, #0ca09a 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}

.contact-copy h2,
.contact-copy p,
.contact-copy a,
.contact-copy .eyebrow {
  color: #fff;
}

#contact .contact-copy {
  position: relative;
  padding: 1.3rem 1.2rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(4, 25, 42, 0.18);
  box-shadow: 0 20px 38px rgba(2, 14, 24, 0.22);
  overflow: hidden;
}

#contact .contact-copy::before {
  content: none;
}

.contact-cover-strip {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.contact-cover-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.28rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-meta {
  margin-top: 1rem;
  font-weight: 700;
}

.contact-quick-actions {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.quick-select {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.72rem;
  font: inherit;
  font-weight: 700;
}

.quick-select.active {
  background: rgba(239, 91, 42, 0.24);
  border-color: rgba(239, 91, 42, 0.84);
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 1.1rem;
  display: grid;
  gap: 0.45rem;
  transform: none;
  box-shadow: 0 24px 42px rgba(2, 14, 24, 0.24);
}

.contact-form label {
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border: 1px solid #c6d7e7;
  border-radius: 10px;
  padding: 0.6rem 0.72rem;
  font: inherit;
}

.contact-form select {
  background: #fff;
}

.form-message {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand);
  min-height: 1.2rem;
}

.subject-preview {
  font-size: 0.82rem;
  color: var(--muted);
  background: #f5f9fe;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.42rem 0.55rem;
  margin-bottom: 0.15rem;
}

.footer {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: #041a2d;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.footer a {
  color: #fff;
  font-weight: 700;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 8%, rgba(0, 168, 196, 0.1) 0%, transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(239, 91, 42, 0.1) 0%, transparent 34%),
    var(--bg);
}

.legal-wrap {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.legal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 16px 34px rgba(12, 45, 72, 0.08);
}

.legal-card h1 {
  color: var(--ink);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 0.3rem;
}

.legal-meta {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.legal-card h2 {
  color: var(--ink);
  font-size: 1.05rem;
  margin-top: 1.05rem;
  margin-bottom: 0.45rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  list-style: disc;
  padding-left: 1.1rem;
}

.mobile-sticky-cta {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Tablet 1080px ─── */
@media (max-width: 1080px) {
  .setup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero-grid,
  .app-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    transform: none;
  }

  .hero-copy {
    max-width: none;
    padding: 1.15rem 1.05rem 1rem;
  }

  .service-card:nth-child(odd),
  .service-card:nth-child(even),
  .marketing-card:nth-child(2),
  .band-grid img:nth-child(2),
  .band-grid img:nth-child(3) {
    transform: none;
  }

  .app-phone {
    max-width: 400px;
    margin-inline: auto;
  }

  .hero-feature-stack {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-feature-card {
    flex: 1 1 calc(50% - 0.4rem);
  }
}

/* ─── Mobile 780px ─── */
@media (max-width: 780px) {
  .container {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  body {
    padding-bottom: 74px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  /* ── Navbar ── */
  .nav-links,
  .btn-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-inner::after {
    bottom: 0.35rem;
  }

  .mobile-menu a {
    font-size: 1rem;
    padding: 0.3rem 0;
  }

  .mobile-menu .btn {
    margin-top: 0.4rem;
    width: 100%;
    justify-content: center;
  }

  /* ── Hero ── */
  .hero {
    padding: 5.35rem 0 2.25rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
    line-height: 1.12;
    max-width: 12ch;
  }

  .hero-copy {
    padding: 1rem 0.95rem 0.9rem;
    border-radius: 14px;
  }

  .hero-copy h1 span:last-child {
    color: #ffe8dc;
  }

  .hero-lead {
    display: none;
  }

  .hero-lead-mobile {
    display: block;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: 0.72rem;
  }

  .hero-mini-points {
    margin-top: 0.65rem;
    gap: 0.42rem;
  }

  .hero-mini-points span {
    font-size: 0.68rem;
    padding: 0.3rem 0.5rem;
  }

  .hero-mini-points span:nth-child(3) {
    display: none;
  }

  .hero-actions {
    gap: 0.52rem;
    margin-top: 0.85rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: calc(50% - 0.26rem);
    justify-content: center;
    padding: 0.72rem 0.6rem;
    font-size: 0.78rem;
    text-align: center;
  }

  .hero-actions .btn:first-child,
  .hero-actions .btn:last-child {
    transform: none;
  }

  .hero-actions .btn-primary {
    min-width: 0;
  }

  /* KPIs: improve readability on mobile */
  .hero-kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.85rem;
  }

  .hero-kpis div {
    padding: 0.55rem 0.55rem;
    text-align: left;
  }

  .hero-kpis strong {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.1rem;
  }

  .hero-kpis span {
    font-size: 0.7rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.82);
  }

  .hero-kpis div:last-child {
    grid-column: 1 / -1;
  }

  .mobile-menu.open {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    box-shadow: 0 14px 24px rgba(8, 31, 56, 0.12);
  }

  .hero-feature-stack {
    flex-direction: column;
  }

  .hero-feature-card {
    flex: none;
  }

  /* ── Pain points ── */
  .pain-points {
    padding: 1.2rem 0 0.8rem;
  }

  .pain-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* ── Segments ── */
  .setup-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .setup-cta {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem 1rem;
  }

  .setup-cta .btn {
    width: 100%;
  }

  /* ── Services: 2 cols, not 1 ── */
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .service-card {
    padding: 0.9rem 0.85rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  /* ── App: scrollable tabs ── */
  .app-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.4rem;
    scrollbar-width: none;
  }

  .app-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    font-size: 0.82rem;
    padding: 0.48rem 0.8rem;
    white-space: nowrap;
  }

  .phone-shell {
    max-width: 100%;
    margin-top: 1.2rem;
  }

  .phone-screen {
    min-height: 260px;
  }

  .phone-photo {
    height: 104px;
  }

  /* ── Visual band: 2 cols, last full-width ── */
  .band-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .band-grid img {
    height: 180px;
    transform: none;
  }

  .band-grid img:last-child {
    grid-column: 1 / -1;
  }

  /* ── Marketing ── */
  .marketing-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* ── Contact ── */
  .contact-grid {
    gap: 1.8rem;
  }

  .contact-form {
    padding: 1rem 0.9rem;
  }

  #contact .contact-copy {
    padding: 1rem 0.9rem;
  }

  #contact .contact-copy::before {
    display: none;
  }

  .contact-cover-strip span {
    font-size: 0.74rem;
  }

  /* ── Footer ── */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.85rem;
  }

  .footer-links {
    gap: 0.7rem;
  }

  .legal-wrap {
    width: min(860px, calc(100% - 1rem));
    padding: 1rem 0 2rem;
  }

  .legal-top {
    flex-direction: column;
    align-items: flex-start;
  }

  /* ── Mobile sticky CTA ── */
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 1001;
  }

  .mobile-sticky-cta .btn {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 26px rgba(16, 36, 60, 0.24);
    animation: ctaPulse 2.4s ease-in-out infinite;
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 10px 26px rgba(16, 36, 60, 0.24);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(16, 36, 60, 0.3);
  }
}

/* ─── Small phones 480px ─── */
@media (max-width: 480px) {
  .container {
    width: min(var(--max), calc(100% - 1rem));
  }

  .section {
    padding: 2.8rem 0;
  }

  h2 {
    font-size: clamp(1.4rem, 6.5vw, 1.9rem);
  }

  .hero {
    padding: 5.1rem 0 2.15rem;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 8.1vw, 1.95rem);
  }

  .hero-copy {
    padding: 0.85rem 0.8rem 0.8rem;
  }

  .hero-mini-points span {
    font-size: 0.64rem;
    padding: 0.27rem 0.45rem;
  }

  .contact-cover-strip {
    gap: 0.42rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 0.82rem;
    padding: 0.72rem 0.86rem;
  }

  .mobile-sticky-cta .btn {
    animation-duration: 2s;
  }

  .hero-kpis div {
    padding: 0.5rem;
  }

  .hero-kpis strong {
    font-size: 1.05rem;
  }

  .hero-kpis span {
    font-size: 0.66rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .band-grid {
    grid-template-columns: 1fr;
  }

  .band-grid img:last-child {
    grid-column: 1;
  }

  .phone-screen {
    min-height: 240px;
  }

  .pain-grid article,
  .service-card,
  .marketing-card {
    padding: 0.9rem 0.8rem;
  }

  .quick-select {
    font-size: 0.88rem;
    padding: 0.55rem 0.65rem;
  }
}
