/* ------------------------------
   Design tokens and base styles
------------------------------ */
:root {
  --navy-950: #041323;
  --navy-900: #071a2f;
  --navy-800: #0c2742;
  --navy-700: #123858;
  --blue-500: #4caed8;
  --blue-300: #86d0ed;
  --blue-100: #dff3fb;
  --blue-50: #f1f9fc;
  --white: #ffffff;
  --ink: #10273b;
  --muted: #617285;
  --line: #d8e5ec;
  --success: #167251;
  --error: #b53a3a;
  --shadow: 0 24px 70px rgba(7, 26, 47, 0.12);
  --radius: 18px;
  --container: 1160px;
  --font-display: "Manrope", "Trebuchet MS", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.section-dark {
  color: var(--white);
  background: var(--navy-900);
}

.sr-only,
.honeypot {
  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: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-900);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 24px;
  color: var(--navy-900);
  font-size: clamp(2.25rem, 5vw, 4.1rem);
  font-weight: 700;
}

h2 em,
h1 em {
  color: var(--blue-500);
  font-style: normal;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--navy-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 2px;
  background: var(--blue-500);
}

.eyebrow-light {
  color: var(--blue-300);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary,
.button-small,
.button-submit {
  color: var(--navy-950);
  background: var(--blue-300);
  box-shadow: 0 12px 34px rgba(76, 174, 216, 0.24);
}

.button-primary:hover,
.button-small:hover,
.button-submit:hover {
  background: #a0def3;
  box-shadow: 0 16px 40px rgba(76, 174, 216, 0.32);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.button-ghost:hover {
  border-color: var(--blue-300);
  background: rgba(134, 208, 237, 0.1);
}

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

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

/* ------------------------------
   Navigation
------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 26, 47, 0.82);
  backdrop-filter: blur(16px);
  transition: background-color 200ms ease, box-shadow 200ms ease;
}

.site-header.scrolled {
  background: rgba(7, 26, 47, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  max-width: 250px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(134, 208, 237, 0.45);
  border-radius: 50%;
}

.brand-mark svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--blue-300);
  stroke-width: 2;
  stroke-linecap: round;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.88rem;
  font-weight: 600;
}

.primary-nav > a:not(.button) {
  position: relative;
  padding: 12px 0;
  color: rgba(255, 255, 255, 0.78);
}

.primary-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue-300);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav > a:not(.button):hover {
  color: var(--white);
}

.primary-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button-small {
  min-height: 44px;
  padding: 12px 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  color: var(--white);
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* ------------------------------
   Hero
------------------------------ */
.hero {
  position: relative;
  min-height: 760px;
  padding: 178px 0 120px;
  overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 58px 58px;
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(100deg, var(--navy-900) 10%, transparent 65%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 6.4vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.065em;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 34px;
  color: #bdd0df;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: #9bb2c4;
  font-size: 0.78rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust i {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--navy-950);
  background: var(--blue-300);
  border-radius: 50%;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 800;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: 40px;
  right: -160px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(76, 174, 216, 0.15), transparent 65%);
}

.hero-glow-two {
  bottom: -280px;
  left: 22%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(134, 208, 237, 0.07), transparent 68%);
}

.hero-visual {
  position: relative;
  min-height: 450px;
}

.signal-card {
  position: absolute;
  top: 22px;
  right: 4px;
  left: 34px;
  padding: 30px;
  border: 1px solid rgba(134, 208, 237, 0.18);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(18, 56, 88, 0.92), rgba(4, 19, 35, 0.97));
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.35);
}

.signal-card::before {
  position: absolute;
  top: -7px;
  right: -7px;
  bottom: 30px;
  left: 28px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(134, 208, 237, 0.13);
  border-radius: 20px;
}

.signal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.signal-header strong,
.signal-label {
  display: block;
}

.signal-label {
  margin-bottom: 4px;
  color: #7893a8;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-header strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  color: #9de2c4;
  background: rgba(46, 164, 116, 0.12);
  border-radius: 30px;
  font-size: 0.68rem;
  font-weight: 700;
}

.live-pill i {
  width: 6px;
  height: 6px;
  background: #56d69e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(86, 214, 158, 0.1);
}

.flow-line {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  margin: 38px 0;
}

.flow-node {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: #9eb4c4;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.72rem;
  font-weight: 700;
}

.flow-node-active {
  color: var(--navy-950);
  border-color: var(--blue-300);
  background: var(--blue-300);
  box-shadow: 0 0 30px rgba(134, 208, 237, 0.25);
}

.flow-line i {
  position: relative;
  height: 1px;
  background: rgba(134, 208, 237, 0.28);
}

.flow-line i::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--blue-300);
  border-radius: 50%;
}

.appointment-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(134, 208, 237, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.calendar-icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--navy-950);
  background: var(--blue-300);
  border-radius: 8px;
  font-weight: 800;
}

.appointment-card div {
  min-width: 0;
}

.appointment-card small,
.appointment-card strong {
  display: block;
}

.appointment-card small {
  color: #7390a6;
  font-size: 0.7rem;
}

.appointment-card strong {
  overflow: hidden;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-icon {
  display: grid;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  margin-left: auto;
  place-items: center;
  color: #71d8ad;
  border: 1px solid rgba(113, 216, 173, 0.35);
  border-radius: 50%;
  font-size: 0.75rem;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.mini-stats div {
  padding: 14px 10px;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.mini-stats strong,
.mini-stats span {
  display: block;
}

.mini-stats strong {
  color: var(--blue-300);
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.mini-stats span {
  color: #6f8ba0;
  font-size: 0.64rem;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  color: var(--navy-900);
  background: var(--white);
  border-radius: 9px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.22);
  font-size: 0.75rem;
  font-weight: 700;
  animation: float 4s ease-in-out infinite;
}

.floating-note span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: var(--navy-950);
  background: var(--blue-100);
  border-radius: 6px;
}

.note-one {
  top: 0;
  right: -18px;
}

.note-two {
  bottom: 14px;
  left: -5px;
  animation-delay: -2s;
}

.carolina-line {
  position: absolute;
  right: -80px;
  bottom: -150px;
  width: 520px;
  height: 280px;
  border: 1px solid rgba(134, 208, 237, 0.07);
  border-radius: 50%;
  transform: rotate(-12deg);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ------------------------------
   Services and process
------------------------------ */
.section-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 390px;
  margin-bottom: 6px;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 380px;
  padding: 34px 30px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  border-color: #aed8e9;
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.service-card.featured {
  background: var(--blue-50);
}

.card-number {
  position: absolute;
  top: 25px;
  right: 28px;
  color: #a8b9c5;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
}

.service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 54px;
  place-items: center;
  color: var(--blue-500);
  border: 1px solid #cbe6f1;
  border-radius: 12px;
  background: var(--white);
}

.service-icon svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--navy-900);
  font-size: 1.45rem;
}

.service-card p {
  margin-bottom: 30px;
  color: var(--muted);
}

.service-card a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-700);
  font-weight: 700;
}

.service-card a span,
.text-link span {
  color: var(--blue-500);
  transition: transform 160ms ease;
}

.service-card a:hover span,
.text-link:hover span {
  transform: translateX(5px);
}

.process-section {
  background: var(--blue-50);
}

.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 125px;
}

.process-intro > p:not(.eyebrow) {
  max-width: 480px;
  color: var(--muted);
}

.process-intro .text-link {
  margin-top: 16px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 24px;
  padding: 38px 0;
  border-bottom: 1px solid #cddfe7;
}

.process-list li:first-child {
  padding-top: 6px;
}

.step-number {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--navy-900);
  border: 1px solid #b6d8e6;
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
}

.process-list h3 {
  margin: 4px 0 12px;
  color: var(--navy-900);
  font-size: 1.4rem;
}

.process-list p {
  max-width: 590px;
  margin-bottom: 0;
  color: var(--muted);
}

/* ------------------------------
   Industries and why us
------------------------------ */
.industries-section {
  padding: 100px 0;
  color: var(--white);
  background: var(--navy-800);
}

.industries-header {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 50px;
  align-items: start;
}

.industries-header h2 {
  max-width: 820px;
  color: var(--white);
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #d6e5ef;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  font-weight: 600;
}

.industry-list i {
  width: 5px;
  height: 5px;
  background: var(--blue-500);
  border-radius: 50%;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 95px;
  align-items: center;
}

.why-panel {
  position: relative;
  min-height: 560px;
  padding: 34px;
  overflow: hidden;
  color: var(--white);
  border-radius: 22px;
  background: var(--navy-900);
}

.why-panel::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 290px;
  height: 290px;
  content: "";
  border: 1px solid rgba(134, 208, 237, 0.12);
  border-radius: 50%;
}

.why-kicker {
  display: inline-block;
  padding: 7px 11px;
  color: var(--blue-300);
  border: 1px solid rgba(134, 208, 237, 0.25);
  border-radius: 30px;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.palmetto-art {
  width: min(80%, 320px);
  margin: 20px auto 2px;
}

.palmetto-art .moon {
  fill: rgba(76, 174, 216, 0.12);
}

.palmetto-art .tree {
  fill: none;
  stroke: var(--blue-300);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-panel p {
  position: absolute;
  bottom: 28px;
  left: 34px;
  z-index: 2;
  margin: 0;
  color: #d4e3ed;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.why-copy > p:not(.eyebrow) {
  max-width: 570px;
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 24px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-800);
  font-weight: 600;
}

.check-list li:last-child {
  grid-column: span 2;
}

.check-list span {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--navy-900);
  background: var(--blue-100);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

.integrations-bar {
  padding: 32px 0;
  border-block: 1px solid var(--line);
  background: var(--blue-50);
}

.integrations-inner,
.integrations-inner > div {
  display: flex;
  align-items: center;
}

.integrations-inner {
  justify-content: space-between;
  gap: 28px;
}

.integrations-inner > div {
  gap: 18px;
}

.integration-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--blue-500);
  border: 1px solid #c7e2ed;
  border-radius: 50%;
  background: var(--white);
  font-size: 1.1rem;
}

.integrations-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.integrations-inner strong {
  color: var(--navy-900);
  font-family: var(--font-display);
}

.integrations-inner a {
  flex: 0 0 auto;
  color: var(--navy-700);
  font-weight: 700;
}

.integrations-inner a span {
  color: var(--blue-500);
}

/* ------------------------------
   CTA and contact form
------------------------------ */
.cta-section {
  color: var(--white);
  background: var(--blue-500);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: end;
}

.cta-inner h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(3rem, 6vw, 5.3rem);
}

.cta-section .eyebrow-light {
  color: var(--navy-800);
}

.cta-section .eyebrow-light > span {
  background: var(--navy-800);
}

.cta-copy p {
  margin-bottom: 27px;
  color: #0b3550;
  font-size: 1.08rem;
}

.button-light {
  color: var(--white);
  background: var(--navy-900);
  box-shadow: 0 16px 32px rgba(7, 26, 47, 0.18);
}

.button-light:hover {
  background: var(--navy-800);
}

.contact-section {
  background: #f8fbfc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-copy {
  padding-top: 30px;
}

.contact-copy > p:not(.eyebrow):not(.calendar-note) {
  max-width: 470px;
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.contact-details > a,
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy-800);
  font-weight: 700;
}

.contact-details > a > span,
.contact-details > div > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--blue-500);
  border: 1px solid #cce5ef;
  border-radius: 10px;
  background: var(--white);
  font-weight: 800;
}

.contact-details small {
  display: block;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calendar-note {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin-top: 34px;
  padding: 15px;
  color: var(--navy-700);
  border-left: 3px solid var(--blue-500);
  background: var(--blue-50);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-shell {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-heading {
  padding-bottom: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.form-heading span,
.form-heading strong {
  display: block;
}

.form-heading span {
  margin-bottom: 4px;
  color: var(--blue-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-heading strong {
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1.2rem;
}

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

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-800);
  font-size: 0.79rem;
  font-weight: 700;
}

.field label span {
  color: var(--blue-500);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--navy-900);
  border: 1px solid #cfdde5;
  border-radius: 8px;
  background: #fbfdfe;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field input,
.field select {
  height: 50px;
  padding: 0 14px;
}

.field textarea {
  min-height: 110px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(76, 174, 216, 0.12);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  display: block;
  min-height: 17px;
  margin-top: 3px;
  color: var(--error);
  font-size: 0.7rem;
}

.button-submit {
  width: 100%;
  border: 0;
}

.button-submit:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.form-status {
  display: none;
  margin: 14px 0 0;
  padding: 11px 13px;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
}

.form-status.success,
.form-status.error {
  display: block;
}

.form-status.success {
  color: var(--success);
  background: #e8f7f0;
}

.form-status.error {
  color: var(--error);
  background: #fceeee;
}

.form-disclaimer {
  margin: 12px 0 0;
  color: #84929e;
  font-size: 0.7rem;
  text-align: center;
}

/* ------------------------------
   Footer and privacy page
------------------------------ */
.site-footer {
  padding: 70px 0 24px;
  color: #abc0cf;
  background: var(--navy-950);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 45px;
  align-items: center;
  padding-bottom: 50px;
}

.brand-footer {
  color: var(--white);
}

.footer-top p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-email {
  justify-self: end;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 600;
}

.footer-email:hover,
.footer-bottom a:hover {
  color: var(--blue-300);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 35px;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #7891a3;
  font-size: 0.75rem;
}

.privacy-page {
  min-height: 100vh;
  padding: 150px 0 90px;
  background: var(--blue-50);
}

.privacy-card {
  max-width: 820px;
  padding: clamp(28px, 6vw, 64px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.privacy-card h1 {
  color: var(--navy-900);
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.privacy-card h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

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

/* ------------------------------
   Responsive layouts
------------------------------ */
@media (max-width: 1000px) {
  .primary-nav {
    gap: 18px;
  }

  .hero-grid,
  .contact-grid {
    gap: 42px;
  }

  .signal-card {
    left: 0;
  }

  .process-grid,
  .why-grid {
    gap: 55px;
  }

  .why-panel {
    min-height: 500px;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 84px 0;
  }

  .menu-toggle {
    display: block;
  }

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

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

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

  .primary-nav {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    display: grid;
    gap: 2px;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    visibility: hidden;
    background: var(--navy-900);
    opacity: 0;
    transition: max-height 250ms ease, opacity 180ms ease, padding 250ms ease, visibility 250ms ease;
  }

  .primary-nav.open {
    max-height: 440px;
    padding: 20px;
    visibility: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
  }

  .primary-nav > a:not(.button) {
    padding: 12px;
  }

  .hero {
    padding: 145px 0 90px;
  }

  .hero-grid,
  .section-heading,
  .process-grid,
  .industries-header,
  .why-grid,
  .cta-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 70px;
  }

  .hero-visual {
    width: min(100%, 590px);
    margin-inline: auto;
  }

  .section-heading,
  .industries-header,
  .cta-inner {
    gap: 26px;
  }

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

  .service-card {
    min-height: 0;
  }

  .service-icon {
    margin-bottom: 35px;
  }

  .process-intro {
    position: static;
  }

  .why-panel {
    width: min(100%, 560px);
  }

  .cta-inner {
    align-items: start;
  }

  .contact-copy {
    padding-top: 0;
  }

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

  .footer-email {
    grid-column: span 2;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .brand {
    max-width: 205px;
    font-size: 0.75rem;
  }

  .brand strong {
    font-size: 0.87rem;
  }

  .brand-mark {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 4.2rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    gap: 10px;
  }

  .hero-visual {
    min-height: 400px;
  }

  .signal-card {
    right: 0;
    padding: 20px;
  }

  .signal-header {
    align-items: center;
  }

  .flow-node {
    width: 52px;
    height: 52px;
  }

  .floating-note {
    font-size: 0.68rem;
  }

  .note-one {
    right: -5px;
  }

  .note-two {
    bottom: 0;
    left: -3px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .process-list li {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .step-number {
    width: 44px;
    height: 44px;
  }

  .industry-list {
    gap: 12px 14px;
  }

  .why-panel {
    min-height: 450px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .check-list li:last-child {
    grid-column: auto;
  }

  .integrations-inner,
  .integrations-inner > div {
    align-items: flex-start;
  }

  .integrations-inner {
    flex-direction: column;
  }

  .form-shell {
    padding: 25px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-details > a,
  .contact-details > div {
    align-items: flex-start;
    overflow-wrap: anywhere;
  }

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

  .footer-email {
    grid-column: auto;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    display: grid;
  }
}

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

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

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