/* =========================================================
   BAMO COMPANY PORTFOLIO
   styles.css
   ========================================================= */


/* =========================================================
   1. ROOT / DESIGN TOKENS
   ========================================================= */

:root {
  --navy-950: #07162c;
  --navy-900: #0b1f38;
  --navy-850: #102949;
  --navy-800: #16345a;
  --navy-700: #1b3a5c;
  --navy-600: #28547f;

  --blue-500: #4779a8;
  --blue-300: #8fb3d5;
  --blue-100: #eaf2f9;

  --orange-600: #d95f24;
  --orange-500: #e87722;
  --orange-400: #f18b46;
  --orange-300: #f4a368;

  --cream: #fbf8f3;
  --soft: #f4f7fa;
  --white: #ffffff;

  --text: #16202b;
  --text-soft: #5e6977;
  --border: rgba(18, 49, 81, 0.12);

  --shadow-sm:
    0 8px 25px rgba(18, 49, 81, 0.08);

  --shadow-md:
    0 18px 45px rgba(18, 49, 81, 0.13);

  --shadow-lg:
    0 30px 80px rgba(4, 18, 38, 0.2);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;

  --container: 1180px;
}


/* =========================================================
   2. RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    "Manrope",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: var(--text);

  background: var(--white);

  line-height: 1.65;

  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;

  max-width: 100%;
}

a {
  color: inherit;

  text-decoration: none;
}

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

button {
  border: 0;
}

figure {
  margin: 0;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
}

h2 {
  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-size:
    clamp(2.15rem, 4vw, 4rem);

  letter-spacing: -0.035em;

  color: var(--navy-900);

  margin-bottom: 22px;
}

h3 {
  color: var(--navy-900);
}

p {
  color: var(--text-soft);
}

::selection {
  background: rgba(232, 119, 34, 0.22);

  color: var(--navy-950);
}


/* =========================================================
   3. GLOBAL LAYOUT
   ========================================================= */

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

  margin-inline: auto;
}

.section {
  position: relative;

  padding:
    clamp(78px, 9vw, 125px)
    0;

  overflow: hidden;
}

.section-cream {
  background:
    linear-gradient(
      180deg,
      #fffdfa 0%,
      var(--cream) 100%
    );
}

.section-soft {
  background:
    linear-gradient(
      180deg,
      #f8fafc,
      #eef4f8
    );
}

.split {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  gap: clamp(45px, 7vw, 95px);

  align-items: center;
}

.section-head {
  max-width: 850px;

  margin-bottom: 55px;
}

.section-head.centered {
  margin-inline: auto;

  text-align: center;
}

.section-head p {
  max-width: 760px;

  margin-inline: auto;

  font-size: 1.06rem;
}

.section-kicker {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-bottom: 16px;

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.15em;

  text-transform: uppercase;

  color: var(--orange-600);
}

.section-kicker::before {
  content: "";

  width: 26px;
  height: 2px;

  background: var(--orange-500);

  border-radius: 99px;
}

.section-kicker.light {
  color: #ffd1b3;
}

.section-kicker.light::before {
  background: var(--orange-400);
}

.strong {
  color: var(--navy-900);

  font-weight: 700;
}


/* =========================================================
   4. BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding: 0 24px;

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      var(--orange-500),
      #f09247
    );

  color: white;

  font-weight: 800;

  border:
    1px solid
    rgba(255, 255, 255, 0.08);

  box-shadow:
    0 10px 28px
    rgba(232, 119, 34, 0.28);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

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

  box-shadow:
    0 16px 35px
    rgba(232, 119, 34, 0.35);

  filter: brightness(1.04);
}

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

.btn-small {
  min-height: 40px;

  padding: 0 18px;

  font-size: 0.9rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);

  border:
    1px solid
    rgba(255, 255, 255, 0.22);

  box-shadow: none;

  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background:
    rgba(255, 255, 255, 0.14);
}

.btn-ghost-light {
  background:
    rgba(255, 255, 255, 0.08);

  border:
    1px solid
    rgba(255, 255, 255, 0.2);

  box-shadow: none;
}


/* =========================================================
   5. HEADER / NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;

  top: 0;

  z-index: 500;

  background:
    rgba(255, 255, 255, 0.88);

  backdrop-filter:
    blur(18px);

  border-bottom:
    1px solid var(--border);
}

.nav-wrap {
  min-height: 76px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;
}

.brand {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  flex-shrink: 0;
}

.brand-logo {
  display: block;

  /* fluid: shrinks with the viewport, never past a legible floor */
  width: auto;

  height:
    clamp(30px, 4.4vw, 44px);

  max-width:
    min(58vw, 210px);

  object-fit: contain;
}

.site-nav {
  display: flex;

  align-items: center;

  gap: 22px;
}

.site-nav > a:not(.btn) {
  position: relative;

  padding:
    28px 0;

  font-size: 0.88rem;

  font-weight: 700;

  color: #415164;

  transition:
    color 0.25s ease;
}

.site-nav > a:not(.btn)::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 18px;

  height: 2px;

  background: var(--orange-500);

  transform: scaleX(0);

  transform-origin: center;

  transition:
    transform 0.25s ease;
}

.site-nav > a:not(.btn):hover {
  color: var(--navy-900);
}

.site-nav > a:not(.btn):hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: var(--soft);

  color: var(--navy-900);

  font-size: 1.35rem;

  cursor: pointer;
}


/* =========================================================
   6. HERO
   ========================================================= */

.hero {
  position: relative;

  min-height:
    calc(100vh - 76px);

  display: flex;

  align-items: center;

  padding:
    clamp(75px, 8vw, 120px)
    0
    clamp(90px, 9vw, 140px);

  overflow: hidden;

  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(232, 119, 34, 0.28),
      transparent 25%
    ),
    radial-gradient(
      circle at 62% 60%,
      rgba(74, 137, 201, 0.22),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      #07162c 0%,
      #0e284a 35%,
      #163a68 72%,
      #122846 100%
    );
}

.hero::before {
  content: "";

  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(
      rgba(255,255,255,.028)
      1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.028)
      1px,
      transparent 1px
    );

  background-size:
    46px 46px;

  mask-image:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.65),
      transparent 90%
    );
}

.hero::after {
  content: "";

  position: absolute;

  width: 680px;
  height: 680px;

  right: -260px;
  bottom: -320px;

  border-radius: 50%;

  border:
    1px solid
    rgba(255,255,255,.08);
}

.hero-glow {
  position: absolute;

  border-radius: 50%;

  filter: blur(100px);

  pointer-events: none;
}

.glow-a {
  width: 290px;
  height: 290px;

  right: 4%;
  top: 14%;

  background:
    rgba(232, 119, 34, 0.24);
}

.glow-b {
  width: 330px;
  height: 330px;

  left: 40%;
  bottom: -5%;

  background:
    rgba(72, 140, 211, 0.2);
}

.hero-grid {
  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(520px, 1.1fr);

  gap: clamp(35px, 5vw, 80px);

  align-items: center;
}

.hero-copy {
  max-width: 630px;
}

.eyebrow {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  margin-bottom: 23px;

  padding:
    9px 14px;

  border:
    1px solid
    rgba(255, 255, 255, 0.14);

  border-radius: 999px;

  background:
    rgba(255, 255, 255, 0.07);

  color:
    rgba(255,255,255,.83);

  font-size: 0.78rem;

  font-weight: 800;

  letter-spacing: 0.04em;

  backdrop-filter: blur(10px);
}

.hero h1 {
  margin-bottom: 25px;

  color: white;

  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-size:
    clamp(3.05rem, 5.4vw, 5.8rem);

  letter-spacing: -0.055em;

  line-height: 0.99;
}

.hero h1 span {
  color: var(--orange-400);
}

.hero-lede {
  max-width: 600px;

  font-size:
    clamp(1rem, 1.4vw, 1.17rem);

  line-height: 1.8;

  color:
    rgba(236, 244, 251, 0.8);
}

.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 14px;

  margin-top: 30px;
}

.hero-proof {
  display: flex;

  flex-wrap: wrap;

  gap: 9px;

  margin-top: 28px;
}

.hero-proof span {
  padding:
    8px 11px;

  border-radius: 999px;

  background:
    rgba(255,255,255,.07);

  border:
    1px solid
    rgba(255,255,255,.09);

  color:
    rgba(255,255,255,.72);

  font-size: 0.73rem;

  font-weight: 700;
}


/* =========================================================
   HERO FLOATING SCREENSHOTS
   ========================================================= */

.hero-visual {
  position: relative;

  min-height: 580px;

  perspective: 1200px;
}

.screen-card {
  position: absolute;

  overflow: hidden;

  border-radius: 18px;

  border:
    1px solid
    rgba(255,255,255,.16);

  background: white;

  box-shadow:
    0 35px 80px
    rgba(0,0,0,.35);

  transition:
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.screen-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  cursor: zoom-in;
}

.screen-card:hover {
  box-shadow:
    0 45px 100px
    rgba(0,0,0,.46);

  filter: brightness(1.035);
}

.desktop {
  width: 470px;

  aspect-ratio: 16 / 10;
}

.desktop-a {
  top: 28px;
  right: 8px;

  transform:
    rotate(1.5deg);
}

.desktop-b {
  width: 390px;

  top: 290px;
  right: 55px;

  transform:
    rotate(-2deg);
}

.phone {
  width: 162px;

  aspect-ratio: 9 / 19;

  border-radius: 25px;
}

.phone-a {
  left: 15px;
  top: 230px;

  transform:
    rotate(-6deg);

  z-index: 3;
}

.phone-main {
  width: 190px;

  right: 20px;
  bottom: -16px;

  transform:
    rotate(4deg);

  z-index: 4;
}

.hero-visual .desktop-a {
  animation:
    floatDesktopOne
    7s
    ease-in-out
    infinite;
}

.hero-visual .desktop-b {
  animation:
    floatDesktopTwo
    8.5s
    ease-in-out
    infinite;
}

.hero-visual .phone-a {
  animation:
    floatPhoneOne
    7.5s
    ease-in-out
    infinite;
}

.hero-visual .phone-main {
  animation:
    floatPhoneTwo
    8s
    ease-in-out
    infinite;
}

@keyframes floatDesktopOne {
  0%,
  100% {
    transform:
      translateY(0)
      rotate(1.5deg);
  }

  50% {
    transform:
      translateY(-12px)
      rotate(1deg);
  }
}

@keyframes floatDesktopTwo {
  0%,
  100% {
    transform:
      translateY(0)
      rotate(-2deg);
  }

  50% {
    transform:
      translateY(-10px)
      rotate(-1.4deg);
  }
}

@keyframes floatPhoneOne {
  0%,
  100% {
    transform:
      translateY(0)
      rotate(-6deg);
  }

  50% {
    transform:
      translateY(-14px)
      rotate(-4.5deg);
  }
}

@keyframes floatPhoneTwo {
  0%,
  100% {
    transform:
      translateY(0)
      rotate(4deg);
  }

  50% {
    transform:
      translateY(-13px)
      rotate(3deg);
  }
}

.tech-orbit {
  position: absolute;

  border-radius: 50%;

  border:
    1px solid
    rgba(255,255,255,.1);

  pointer-events: none;
}

.orbit-one {
  width: 500px;
  height: 500px;

  right: -60px;
  top: 45px;
}

.orbit-two {
  width: 350px;
  height: 350px;

  right: 25px;
  top: 125px;

  border-color:
    rgba(232, 119, 34, 0.16);
}


/* =========================================================
   7. PROBLEM SECTION
   ========================================================= */

.visual-card {
  position: relative;

  min-height: 470px;

  border-radius: var(--radius-lg);

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #183b66,
      #0d203a
    );

  box-shadow: var(--shadow-lg);
}

.problem-figure {
  margin: 0;

  /* the photo drives the height, so drop the placeholder floor */
  min-height: 0;

  aspect-ratio: 4 / 3;
}

.problem-figure img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  transition:
    transform 0.6s ease;
}

.problem-figure:hover img {
  transform: scale(1.02);
}


/* =========================================================
   8. FEATURE CARDS
   ========================================================= */

.feature-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 24px;
}

.feature-card {
  position: relative;

  padding:
    34px 30px;

  border:
    1px solid var(--border);

  border-radius: var(--radius-md);

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #fbfdff
    );

  box-shadow: var(--shadow-sm);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.feature-card::after {
  content: "";

  position: absolute;

  left: 30px;
  right: 30px;
  bottom: 0;

  height: 3px;

  border-radius: 99px;

  background:
    linear-gradient(
      90deg,
      var(--orange-500),
      var(--navy-600)
    );

  transform: scaleX(0);

  transition:
    transform 0.35s ease;
}

.feature-card:hover {
  transform:
    translateY(-8px);

  border-color:
    rgba(232, 119, 34, 0.25);

  box-shadow: var(--shadow-md);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-card .icon {
  width: 54px;
  height: 54px;

  display: grid;

  place-items: center;

  margin-bottom: 22px;

  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      #edf4fb,
      #ffffff
    );

  font-size: 1.6rem;

  box-shadow:
    inset 0 0 0 1px
    rgba(27, 58, 92, 0.08);
}

.feature-card h3 {
  margin-bottom: 12px;

  font-size: 1.17rem;
}


/* =========================================================
   9. WORKFLOW
   ========================================================= */

.workflow {
  position: relative;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 20px;

  margin-top: 35px;
}

.workflow::before {
  content: "";

  position: absolute;

  top: 42px;

  left: 11%;
  right: 11%;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      rgba(27,58,92,.18),
      var(--orange-400),
      rgba(27,58,92,.18)
    );

  z-index: 0;
}

.workflow::after {
  content: "";

  position: absolute;

  top: 40px;

  left: 11%;

  width: 18%;
  height: 6px;

  border-radius: 99px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--orange-500),
      transparent
    );

  filter:
    blur(1px);

  animation:
    workflowPulse
    4.5s
    linear
    infinite;

  z-index: 0;
}

@keyframes workflowPulse {
  0% {
    left: 7%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    left: 75%;
    opacity: 0;
  }
}

.workflow-step {
  position: relative;

  z-index: 1;

  padding:
    0 8px;

  text-align: center;
}

.step-icon {
  width: 84px;
  height: 84px;

  display: grid;

  place-items: center;

  margin:
    0 auto
    17px;

  border-radius: 50%;

  background: white;

  border:
    1px solid
    rgba(27,58,92,.13);

  box-shadow:
    0 10px 30px
    rgba(24, 52, 82, 0.1);

  font-size: 1.85rem;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.workflow-step:hover .step-icon {
  transform:
    translateY(-5px)
    scale(1.05);

  box-shadow:
    0 18px 40px
    rgba(24,52,82,.16);
}

.step-no {
  color: var(--orange-600);

  font-size: 0.76rem;

  letter-spacing: 0.15em;

  font-weight: 900;

  margin-bottom: 8px;
}

.workflow-step h3 {
  margin-bottom: 10px;

  font-size: 1.08rem;
}

.workflow-step p {
  font-size: 0.89rem;
}


/* =========================================================
   10. PRODUCT SHOWCASE
   ========================================================= */

.showcase-label {
  margin-bottom: 25px;

  color: var(--navy-700);

  font-size: 0.85rem;

  font-weight: 900;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.backend-label {
  margin-top: 75px;
}

.phone-rail {
  display: grid;

  grid-template-columns:
    repeat(7, minmax(150px, 1fr));

  gap: 16px;

  overflow-x: auto;

  padding:
    8px 4px
    28px;

  scroll-snap-type:
    x mandatory;

  scrollbar-width: thin;
}

.app-shot {
  scroll-snap-align: start;

  min-width: 150px;

  border-radius: 24px;

  overflow: hidden;

  border:
    1px solid var(--border);

  background: white;

  box-shadow:
    0 13px 35px
    rgba(12, 44, 75, 0.1);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.app-shot:hover {
  transform:
    translateY(-9px);

  box-shadow:
    0 22px 50px
    rgba(12,44,75,.16);
}

.app-shot img {
  width: 100%;

  aspect-ratio: 9 / 19;

  object-fit: cover;

  cursor: zoom-in;

  transition:
    transform 0.4s ease;
}

.app-shot:hover img {
  transform:
    scale(1.025);
}

.app-shot figcaption {
  padding:
    13px 10px
    15px;

  text-align: center;

  font-size: 0.74rem;

  font-weight: 800;

  color: var(--navy-700);
}

.backend-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 24px;
}

.backend-shot {
  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: var(--radius-md);

  background: white;

  box-shadow: var(--shadow-sm);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.backend-shot:hover {
  transform:
    translateY(-8px);

  box-shadow: var(--shadow-md);
}

.backend-shot img {
  width: 100%;

  aspect-ratio: 16 / 10;

  object-fit: cover;

  cursor: zoom-in;

  transition:
    transform 0.4s ease;
}

.backend-shot:hover img {
  transform:
    scale(1.025);
}

.backend-shot figcaption {
  display: flex;

  flex-direction: column;

  gap: 6px;

  padding: 20px;
}

.backend-shot figcaption strong {
  color: var(--navy-900);

  font-size: 1rem;
}

.backend-shot figcaption span {
  color: var(--text-soft);

  font-size: 0.84rem;
}


/* =========================================================
   11. STATS
   ========================================================= */

.stats-section {
  color: white;

  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(232,119,34,.22),
      transparent 24%
    ),
    linear-gradient(
      140deg,
      #07162c,
      #0e2949 70%,
      #15375e
    );
}

.stats-head {
  display: grid;

  grid-template-columns:
    1fr
    minmax(280px, 0.7fr);

  gap: 50px;

  align-items: end;

  max-width: none;
}

.stats-head h2,
.stats-head p {
  color: white;
}

.stats-head p {
  color:
    rgba(235,244,252,.72);
}

.stats-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 16px;
}

.stat-card {
  position: relative;

  min-height: 165px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 25px;

  overflow: hidden;

  border:
    1px solid
    rgba(255,255,255,.1);

  border-radius: var(--radius-md);

  background:
    rgba(255,255,255,.055);

  backdrop-filter:
    blur(12px);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.stat-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(232,119,34,.22),
      transparent 58%
    );

  opacity: 0;

  transition:
    opacity 0.35s ease;
}

.stat-card:hover {
  transform:
    translateY(-6px);

  border-color:
    rgba(232,119,34,.28);

  background:
    rgba(255,255,255,.075);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card strong {
  position: relative;

  z-index: 1;

  display: block;

  margin-bottom: 7px;

  font-size:
    clamp(2rem, 3vw, 3.1rem);

  line-height: 1;

  color: white;

  letter-spacing: -0.05em;

  transition:
    transform 0.3s ease;
}

.stat-card:hover strong {
  transform:
    scale(1.045);
}

.stat-card span {
  position: relative;

  z-index: 1;

  color:
    rgba(235,244,252,.68);

  font-size: 0.78rem;

  font-weight: 700;
}

.followup-strip {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  margin-top: 28px;

  border:
    1px solid
    rgba(255,255,255,.1);

  border-radius: var(--radius-md);

  overflow: hidden;

  background:
    rgba(0,0,0,.1);
}

.followup-strip > div {
  padding: 24px;

  text-align: center;

  border-right:
    1px solid
    rgba(255,255,255,.08);
}

.followup-strip > div:last-child {
  border-right: 0;
}

.followup-strip strong {
  display: block;

  margin-bottom: 5px;

  color: var(--orange-400);

  font-size: 1.55rem;
}

.followup-strip span {
  color:
    rgba(255,255,255,.7);

  font-size: 0.74rem;
}

.metric-note {
  max-width: 850px;

  margin:
    25px auto
    0;

  text-align: center;

  color:
    rgba(255,255,255,.48);

  font-size: 0.71rem;
}


/* =========================================================
   12. TECHNOLOGY
   ========================================================= */

.tech-grid {
  position: relative;

  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 18px;
}

.tech-card {
  position: relative;

  min-height: 245px;

  padding: 29px 25px;

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: var(--radius-md);

  background: white;

  box-shadow: var(--shadow-sm);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.tech-card::before {
  content: "";

  position: absolute;

  width: 110px;
  height: 110px;

  right: -35px;
  top: -35px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(232,119,34,.14),
      transparent 70%
    );

  opacity: 0;

  transition:
    opacity 0.35s ease;
}

.tech-card:hover {
  transform:
    translateY(-8px);

  box-shadow: var(--shadow-md);

  border-color:
    rgba(232,119,34,.22);
}

.tech-card:hover::before {
  opacity: 1;
}

.tech-logo {
  width: 56px;
  height: 56px;

  display: grid;

  place-items: center;

  margin-bottom: 22px;

  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      var(--navy-800),
      var(--navy-950)
    );

  color: white;

  font-size: 0.72rem;

  font-weight: 900;

  letter-spacing: 0.05em;

  box-shadow:
    0 12px 24px
    rgba(10, 37, 66, 0.18);

  transition:
    transform 0.3s ease;
}

.tech-card:hover .tech-logo {
  transform:
    rotate(-3deg)
    scale(1.07);
}

.tech-card h3 {
  margin-bottom: 11px;

  font-size: 1.05rem;
}

.tech-card p {
  font-size: 0.84rem;
}


/* =========================================================
   13. BUSINESS MODEL
   ========================================================= */

.model-split {
  align-items: start;
}

.model-funnel {
  display: grid;

  gap: 14px;
}

.funnel-row {
  position: relative;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  padding:
    24px 27px;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      var(--navy-800),
      var(--navy-950)
    );

  color: white;

  box-shadow:
    0 13px 35px
    rgba(14,42,70,.15);

  overflow: hidden;

  transition:
    transform 0.3s ease;
}

.funnel-row:nth-child(2) {
  width: 91%;

  margin-left: auto;
  margin-right: auto;
}

.funnel-row:nth-child(3) {
  width: 80%;

  margin-left: auto;
  margin-right: auto;
}

.funnel-row::after {
  content: "";

  position: absolute;

  left: -40px;
  bottom: -80px;

  width: 160px;
  height: 160px;

  border-radius: 50%;

  background:
    rgba(232,119,34,.12);
}

.funnel-row:hover {
  transform:
    translateY(-5px);
}

.funnel-row span {
  position: relative;

  z-index: 1;

  font-weight: 900;
}

.funnel-row small {
  position: relative;

  z-index: 1;

  max-width: 210px;

  text-align: right;

  color:
    rgba(255,255,255,.63);
}


/* =========================================================
   14. VISION
   ========================================================= */

/* full-bleed BaMo building concept photo as the section background */
.vision-section {
  position: relative;

  /* keeps the negative-z layers inside this section */
  isolation: isolate;

  overflow: hidden;

  color: white;

  padding:
    clamp(110px, 13vw, 180px) 0;

  background:
    url("assets/illustrations/bamo-building.jpg")
    center / cover
    no-repeat
    #0c2038;
}

/* cinematic grade: cool navy at the edges, warm lobby glow in the middle */
.vision-section::before {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -2;

  background:
    /* warm lobby light, kept low and centred on the entrance */
    radial-gradient(
      ellipse 55% 40% at 50% 86%,
      rgba(232,126,34,.34) 0%,
      rgba(191,101,22,.15) 45%,
      transparent 72%
    ),
    /* navy grade, heaviest through the band the copy sits in */
    linear-gradient(
      180deg,
      rgba(6,17,32,.80) 0%,
      rgba(7,19,36,.86) 30%,
      rgba(7,19,36,.84) 62%,
      rgba(4,12,26,.90) 100%
    );
}

/* vignette + top scrim so the header and copy keep their contrast */
.vision-section::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -1;

  background:
    radial-gradient(
      ellipse at 50% 50%,
      transparent 42%,
      rgba(4,12,24,.62) 100%
    );
}

.vision-inner {
  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;
}

.vision-copy {
  max-width: 760px;
}

.vision-copy .section-kicker {
  justify-content: center;
}

.vision-copy h2,
.vision-copy p {
  color: white;

  text-shadow:
    0 2px 24px
    rgba(4,12,24,.55);
}

.vision-copy p {
  margin-left: auto;
  margin-right: auto;

  color:
    rgba(240,246,252,.86);
}

.vision-note {
  margin-top: 30px;

  font-size: 0.78rem;

  letter-spacing: 0.04em;

  color:
    rgba(235,244,252,.55) !important;
}


/* =========================================================
   15. COMPANY & CONTACT
   ========================================================= */

.company-section {
  background:
    linear-gradient(
      180deg,
      white,
      #f7f9fb
    );
}

.company-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(380px, .78fr);

  gap: clamp(45px, 7vw, 90px);

  align-items: center;
}

.company-copy p {
  max-width: 700px;

  font-size: 1rem;
}

.company-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  margin-top: 26px;
}

.company-tags span {
  padding:
    9px 13px;

  border-radius: 999px;

  background: var(--blue-100);

  color: var(--navy-700);

  font-size: 0.73rem;

  font-weight: 800;
}

.contact-card {
  position: relative;

  padding:
    clamp(28px, 4vw, 43px);

  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      var(--navy-800),
      var(--navy-950)
    );

  box-shadow: var(--shadow-lg);

  overflow: hidden;
}

.contact-card::before {
  content: "";

  position: absolute;

  width: 230px;
  height: 230px;

  right: -80px;
  top: -80px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(232,119,34,.32),
      transparent 70%
    );
}

.contact-eyebrow {
  position: relative;

  z-index: 1;

  margin-bottom: 10px;

  color: var(--orange-400);

  font-size: 0.75rem;

  font-weight: 900;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.contact-card h3 {
  position: relative;

  z-index: 1;

  margin-bottom: 6px;

  color: white;

  font-size:
    clamp(1.6rem, 3vw, 2.25rem);
}

.contact-role {
  position: relative;

  z-index: 1;

  color:
    rgba(255,255,255,.65);
}

.contact-list {
  position: relative;

  z-index: 1;

  display: grid;

  gap: 9px;

  margin-top: 27px;
}

.contact-list a {
  display: flex;

  flex-direction: column;

  gap: 3px;

  padding:
    14px 16px;

  border-radius: 13px;

  border:
    1px solid
    rgba(255,255,255,.08);

  background:
    rgba(255,255,255,.05);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.contact-list a:hover {
  transform:
    translateX(5px);

  background:
    rgba(255,255,255,.085);

  border-color:
    rgba(232,119,34,.3);
}

.contact-list span {
  color:
    rgba(255,255,255,.5);

  font-size: 0.68rem;

  text-transform: uppercase;

  letter-spacing: 0.08em;
}

.contact-list strong {
  color: white;

  font-size: 0.87rem;

  overflow-wrap: anywhere;
}


/* =========================================================
   16. FINAL CTA
   ========================================================= */

.final-cta {
  background:
    linear-gradient(
      130deg,
      #07162c,
      #173a62
    );

  color: white;
}

.final-cta::before {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  right: -120px;
  top: -170px;

  border-radius: 50%;

  background:
    rgba(232,119,34,.18);

  filter: blur(80px);
}

.cta-inner {
  position: relative;

  z-index: 1;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 50px;
}

.cta-inner h2,
.cta-inner p {
  color: white;
}

.cta-inner h2 {
  max-width: 760px;
}

.cta-inner p {
  max-width: 670px;

  color:
    rgba(255,255,255,.68);
}

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

.cta-copy {
  flex: 1 1 480px;

  min-width: 0;
}

.cta-actions {
  display: flex;

  flex-direction: column;

  min-width: 190px;

  gap: 12px;
}


/* --- Messenger / LinkedIn --- */

.cta-socials {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 30px;
}

.social-btn {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding:
    12px 18px;

  border-radius: 12px;

  border:
    1px solid
    rgba(255,255,255,.16);

  background:
    rgba(255,255,255,.07);

  color: white;

  font-size: 0.88rem;
  font-weight: 700;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.social-btn svg {
  width: 20px;
  height: 20px;

  flex-shrink: 0;
}

.social-btn:hover {
  transform: translateY(-2px);

  border-color:
    rgba(255,255,255,.3);
}

.social-messenger:hover {
  background:
    rgba(0,132,255,.24);

  border-color:
    rgba(0,132,255,.5);
}

.social-linkedin:hover {
  background:
    rgba(10,102,194,.26);

  border-color:
    rgba(10,102,194,.55);
}

.cta-direct {
  margin-top: 20px;

  font-size: 0.84rem;
}

.cta-direct a {
  color: var(--orange-400);

  font-weight: 700;

  border-bottom:
    1px solid
    rgba(243,156,78,.4);
}


/* --- inquiry form --- */

.cta-form {
  flex: 0 1 460px;

  width: 100%;

  padding:
    30px clamp(22px, 3vw, 32px) 28px;

  border-radius: var(--radius-lg);

  border:
    1px solid
    rgba(255,255,255,.14);

  background:
    rgba(255,255,255,.055);

  backdrop-filter: blur(6px);

  box-shadow:
    0 26px 60px
    rgba(3,10,22,.34);
}

.cta-form h3 {
  margin: 0 0 20px;

  color: white;

  font-size: 1.12rem;
}

.field {
  display: flex;

  flex-direction: column;

  gap: 7px;

  margin-bottom: 15px;
}

.field-row {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 15px;
}

.field label {
  font-size: 0.76rem;
  font-weight: 700;

  letter-spacing: 0.02em;

  color:
    rgba(255,255,255,.7);
}

.field label span {
  color: var(--orange-400);
}

.field input,
.field select,
.field textarea {
  width: 100%;

  padding:
    11px 13px;

  border-radius: 10px;

  border:
    1px solid
    rgba(255,255,255,.18);

  background:
    rgba(7,20,38,.5);

  color: white;

  font-family: inherit;
  font-size: 0.9rem;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;

  min-height: 92px;
}

.field select option {
  /* native dropdown list is drawn by the OS, so it needs its own colors */
  background: #0d2340;

  color: white;
}

.field input::placeholder,
.field textarea::placeholder {
  color:
    rgba(255,255,255,.36);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;

  border-color:
    var(--orange-400);

  box-shadow:
    0 0 0 3px
    rgba(232,119,34,.22);
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #f08a7e;

  box-shadow:
    0 0 0 3px
    rgba(231,76,60,.2);
}

.field-error {
  font-size: 0.72rem;
  font-weight: 600;

  color: #ffb3aa;
}

/* honeypot — kept out of view without display:none, which some bots skip */
.field-trap {
  position: absolute;

  left: -9999px;

  width: 1px;
  height: 1px;

  overflow: hidden;
}

.cta-form .btn {
  width: 100%;

  margin-top: 6px;
}

.cta-form .btn[disabled] {
  opacity: .62;

  cursor: progress;
}

.form-status {
  margin: 14px 0 0;

  font-size: 0.83rem;
  font-weight: 600;

  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  color: #8ce6b0;
}

.form-status.is-error {
  color: #ffb3aa;
}

.form-note {
  margin: 12px 0 0;

  font-size: 0.72rem;

  color:
    rgba(255,255,255,.45) !important;
}


/* =========================================================
   17. FOOTER
   ========================================================= */

.footer {
  padding:
    28px 0;

  background: #050e1c;

  color: white;
}

.footer-inner {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 25px;
}

/* the logo is navy + orange on transparent, so it needs a light
   plate to stay readable on the dark footer */
.footer-brand {
  display: inline-flex;

  align-items: center;

  padding: 10px 16px;

  border-radius: 14px;

  background:
    rgba(255,255,255,.94);

  box-shadow:
    0 10px 26px
    rgba(0,0,0,.28);

  transition:
    transform 0.3s ease;
}

.footer-brand:hover {
  transform:
    translateY(-2px);
}

.footer-brand img {
  display: block;

  width: auto;

  height:
    clamp(28px, 3.6vw, 36px);

  max-width:
    min(60vw, 190px);

  object-fit: contain;
}

.footer p {
  margin: 0;

  color:
    rgba(255,255,255,.46);

  font-size: 0.74rem;
}


/* =========================================================
   18. SCROLL REVEAL
   ========================================================= */

.reveal {
  opacity: 0;

  transform:
    translateY(36px);

  transition:
    opacity 0.85s
    cubic-bezier(.2,.75,.25,1),

    transform 0.85s
    cubic-bezier(.2,.75,.25,1);

  will-change:
    opacity,
    transform;
}

.reveal.is-visible {
  opacity: 1;

  transform:
    translateY(0);
}


/* stagger cards */

.feature-grid .reveal:nth-child(2),
.workflow .reveal:nth-child(2),
.stats-grid .reveal:nth-child(2),
.tech-grid .reveal:nth-child(2) {
  transition-delay: .08s;
}

.feature-grid .reveal:nth-child(3),
.workflow .reveal:nth-child(3),
.stats-grid .reveal:nth-child(3),
.tech-grid .reveal:nth-child(3) {
  transition-delay: .16s;
}

.workflow .reveal:nth-child(4),
.stats-grid .reveal:nth-child(4),
.tech-grid .reveal:nth-child(4) {
  transition-delay: .24s;
}

.stats-grid .reveal:nth-child(5),
.tech-grid .reveal:nth-child(5) {
  transition-delay: .32s;
}

.stats-grid .reveal:nth-child(6),
.tech-grid .reveal:nth-child(6) {
  transition-delay: .40s;
}

.stats-grid .reveal:nth-child(7),
.tech-grid .reveal:nth-child(7) {
  transition-delay: .48s;
}

.tech-grid .reveal:nth-child(8) {
  transition-delay: .56s;
}


/* =========================================================
   19. IMAGE LIGHTBOX
   ========================================================= */

.image-lightbox {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 30px;

  background:
    rgba(3, 12, 25, 0.94);

  backdrop-filter:
    blur(14px);

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.image-lightbox.is-open {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;
}

.image-lightbox img {
  display: block;

  width: auto;
  height: auto;

  max-width:
    min(1250px, 92vw);

  max-height:
    89vh;

  object-fit: contain;

  border-radius: 18px;

  box-shadow:
    0 35px 100px
    rgba(0,0,0,.6);

  transform:
    translateY(15px)
    scale(.92);

  opacity: .5;

  transition:
    transform .35s ease,
    opacity .35s ease;
}

.image-lightbox.is-open img {
  transform:
    translateY(0)
    scale(1);

  opacity: 1;
}

.lightbox-close {
  position: fixed;

  top: 22px;
  right: 26px;

  z-index: 2;

  width: 50px;
  height: 50px;

  display: grid;

  place-items: center;

  border:
    1px solid
    rgba(255,255,255,.15);

  border-radius: 50%;

  background:
    rgba(255,255,255,.08);

  color: white;

  font-size: 2rem;

  line-height: 1;

  cursor: pointer;

  backdrop-filter:
    blur(10px);

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.lightbox-close:hover {
  transform:
    rotate(90deg)
    scale(1.05);

  background:
    rgba(255,255,255,.16);
}


/* =========================================================
   20. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1080px) {

  .hero-grid {
    grid-template-columns:
      minmax(0, .9fr)
      minmax(430px, 1fr);
  }

  .desktop {
    width: 390px;
  }

  .desktop-b {
    width: 335px;
  }

  .phone {
    width: 140px;
  }

  .phone-main {
    width: 165px;
  }

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

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

  .site-nav {
    gap: 14px;
  }

  .site-nav > a:not(.btn) {
    font-size: .78rem;
  }

}


/* =========================================================
   21. RESPONSIVE — MOBILE NAV / LAYOUT
   ========================================================= */

@media (max-width: 900px) {

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;

    left: 20px;
    right: 20px;
    top: calc(100% + 10px);

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    padding: 12px;

    border:
      1px solid var(--border);

    border-radius: 18px;

    background:
      rgba(255,255,255,.98);

    box-shadow: var(--shadow-lg);

    opacity: 0;

    visibility: hidden;

    transform:
      translateY(-10px);

    transition:
      opacity .25s ease,
      transform .25s ease,
      visibility .25s ease;
  }

  .site-nav.is-open {
    opacity: 1;

    visibility: visible;

    transform:
      translateY(0);
  }

  .site-nav > a:not(.btn) {
    padding:
      13px 14px;

    border-radius: 10px;

    font-size: .88rem;
  }

  .site-nav > a:not(.btn)::after {
    display: none;
  }

  .site-nav > a:not(.btn):hover {
    background: var(--soft);
  }

  .site-nav .btn {
    margin-top: 8px;
  }


  .hero {
    min-height: auto;
  }

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

    gap: 45px;
  }

  .hero-copy {
    max-width: 700px;

    text-align: center;

    margin-inline: auto;
  }

  .hero-lede {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    min-height: 540px;

    max-width: 650px;

    width: 100%;

    margin-inline: auto;
  }

  .desktop-a {
    right: 4%;

    top: 25px;
  }

  .desktop-b {
    right: 12%;

    top: 275px;
  }

  .phone-a {
    left: 5%;
    top: 220px;
  }

  .phone-main {
    right: 3%;
    bottom: 0;
  }


  .split,
  .company-grid {
    grid-template-columns: 1fr;
  }

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


  /* IMPORTANT:
     Mobile workflow connector remains visible */

  .workflow {
    grid-template-columns: 1fr;

    gap: 0;

    max-width: 620px;

    margin-inline: auto;
  }

  .workflow::before {
    top: 40px;
    bottom: 42px;

    left: 42px;
    right: auto;

    width: 2px;
    height: auto;

    background:
      linear-gradient(
        180deg,
        rgba(27,58,92,.14),
        var(--orange-400),
        rgba(27,58,92,.14)
      );
  }

  .workflow::after {
    top: 42px;
    left: 40px;

    width: 6px;
    height: 85px;

    background:
      linear-gradient(
        180deg,
        transparent,
        var(--orange-500),
        transparent
      );

    animation:
      workflowPulseMobile
      4s linear
      infinite;
  }

  @keyframes workflowPulseMobile {

    0% {
      top: 35px;
      opacity: 0;
    }

    15% {
      opacity: 1;
    }

    85% {
      opacity: 1;
    }

    100% {
      top: calc(100% - 120px);
      opacity: 0;
    }

  }

  .workflow-step {
    min-height: 150px;

    display: grid;

    grid-template-columns:
      84px
      1fr;

    grid-template-areas:
      "icon number"
      "icon title"
      "icon paragraph";

    column-gap: 23px;

    align-items: center;

    text-align: left;

    padding:
      22px 0;
  }

  .step-icon {
    grid-area: icon;

    margin: 0;

    z-index: 2;
  }

  .step-no {
    grid-area: number;

    align-self: end;

    margin: 0 0 4px;
  }

  .workflow-step h3 {
    grid-area: title;

    margin:
      0 0 6px;
  }

  .workflow-step p {
    grid-area: paragraph;

    align-self: start;

    margin: 0;
  }


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

  .stats-head {
    grid-template-columns: 1fr;

    gap: 15px;
  }

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

  .followup-strip > div:nth-child(2) {
    border-right: 0;
  }

  .followup-strip > div:nth-child(-n+2) {
    border-bottom:
      1px solid
      rgba(255,255,255,.08);
  }

  .model-funnel {
    margin-top: 10px;
  }

  .company-grid {
    gap: 45px;
  }

  .vision-section {
    /* the crop is severe at phone widths — hold the entrance and the
       signage in frame, and keep the section breathing */
    background-position: 50% 42%;
  }

  .cta-inner {
    flex-direction: column;

    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: row;

    width: auto;
  }

  /* the row becomes a column here, so flex-basis would size height */
  .cta-copy,
  .cta-form {
    flex: 0 0 auto;

    width: 100%;

    max-width: 560px;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

}


/* =========================================================
   22. RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 620px) {

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

  .section {
    padding:
      75px 0;
  }

  /* full-bleed photo section needs more room than a plain content section */
  .vision-section {
    padding:
      96px 0;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .brand-logo {
    /* keep the "Real Estate Made Simple" lockup legible on phones */
    height: clamp(30px, 9vw, 38px);
  }

  .hero {
    padding:
      68px 0
      85px;
  }

  .hero h1 {
    font-size:
      clamp(2.7rem, 13vw, 4rem);
  }

  .eyebrow {
    font-size: .68rem;
  }

  .hero-actions {
    flex-direction: column;

    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-proof {
    gap: 6px;
  }

  .hero-proof span {
    font-size: .64rem;
  }


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

  .desktop {
    width: 78%;
  }

  .desktop-a {
    top: 0;
    right: 2%;
  }

  .desktop-b {
    width: 67%;

    top: 205px;
    right: 9%;
  }

  .phone-a {
    width: 112px;

    left: 1%;
    top: 150px;
  }

  .phone-main {
    width: 122px;

    right: 0;
    bottom: -4px;
  }

  .orbit-one {
    width: 390px;
    height: 390px;
  }

  .orbit-two {
    width: 280px;
    height: 280px;
  }


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

  .problem-figure {
    min-height: 0;

    /* taller crop keeps the agent in frame on narrow screens */
    aspect-ratio: 5 / 4;
  }


  .workflow-step {
    grid-template-columns:
      72px
      1fr;

    column-gap: 18px;
  }

  .workflow::before {
    left: 36px;
  }

  .workflow::after {
    left: 34px;
  }

  .step-icon {
    width: 72px;
    height: 72px;

    font-size: 1.55rem;
  }


  .phone-rail {
    grid-template-columns:
      repeat(7, 170px);

    margin-right: -14px;
  }


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

  .stat-card {
    min-height: 135px;
  }

  .followup-strip {
    grid-template-columns: 1fr;
  }

  .followup-strip > div {
    border-right: 0;

    border-bottom:
      1px solid
      rgba(255,255,255,.08);
  }

  .followup-strip > div:last-child {
    border-bottom: 0;
  }


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


  .funnel-row,
  .funnel-row:nth-child(2),
  .funnel-row:nth-child(3) {
    width: 100%;

    flex-direction: column;

    align-items: flex-start;

    gap: 5px;
  }

  .funnel-row small {
    text-align: left;
  }


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

  .contact-card {
    border-radius: 24px;
  }


  .cta-actions {
    width: 100%;

    flex-direction: column;
  }

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

  .field-row {
    grid-template-columns: 1fr;

    gap: 0;
  }

  /* iOS Safari zooms the page when a focused input is under 16px */
  .field input,
  .field select,
  .field textarea {
    font-size: 1rem;
  }

  .social-btn {
    width: 100%;

    justify-content: center;
  }


  .footer-inner {
    flex-direction: column;

    align-items: flex-start;
  }


  .image-lightbox {
    padding: 14px;
  }

  .image-lightbox img {
    max-width: 96vw;

    max-height: 84vh;

    border-radius: 12px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;

    width: 44px;
    height: 44px;
  }

}


/* =========================================================
   23. ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;

    scroll-behavior:
      auto !important;
  }

  .reveal {
    opacity: 1;

    transform: none;
  }

}


/* =========================================================
   24. FOCUS STATES
   ========================================================= */

a:focus-visible,
button:focus-visible {
  outline:
    3px solid
    rgba(232,119,34,.6);

  outline-offset: 4px;
}
