/* Aviance Technologies — navy & teal */

:root {
  --ink: #071525;
  --ink-2: #0c2744;
  --navy: #082033;
  --teal: #12c4c8;
  --teal-bright: #3ad8d4;
  --teal-deep: #0a7380;
  --teal-soft: #e7f8f8;
  --paper: #f4f8f9;
  --white: #ffffff;
  --muted: #5c6e80;
  --muted-2: #8aa0b0;
  --line: #e1ebef;
  --font-display: "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, sans-serif;
  --shadow: 0 18px 50px rgba(7, 21, 37, 0.08);
  --header-h: 86px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; }
::selection { background: #b7f3f4; color: var(--ink); }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10000;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}
.skip:focus { top: 0.75rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.container {
  width: min(1160px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 1.5rem);
}

.kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.kicker::before {
  content: "";
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.kicker--light { color: var(--teal-bright); }

h1, h2, h3, .nav__link, .btn, .kind, .metrics__num, .est-result strong, .model__price {
  font-family: var(--font-display);
}

.section { padding: clamp(4rem, 7vw, 6.25rem) 0; }
#process,
#gains,
#testimonial,
#blog {
  content-visibility: auto;
  contain-intrinsic-size: auto 640px;
}
.section--paper { background: var(--paper); }
.section-intro { max-width: 40rem; margin-bottom: clamp(1.75rem, 3vw, 2.6rem); }
.section-intro h2,
.band__head h2,
.quote__intro h2,
.stack-panel__head h2 {
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0.45rem 0 0.8rem;
}
.section-intro p { color: var(--muted); font-size: 1.05rem; }

.js .reveal { animation: rise 0.7s var(--ease) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.42) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after,
.btn:focus-visible::after { transform: translateX(130%); }
.btn span {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn:hover span { transform: translateX(4px); }
@keyframes btn-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.hero__actions .btn { animation: btn-in 0.6s var(--ease) backwards; }
.hero__actions .btn:nth-child(2) { animation-delay: 0.08s; }
.btn--pill {
  background: var(--teal);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(18, 196, 200, 0.28);
}
.btn--pill:hover { background: var(--teal-bright); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: #fff; }
.btn--navy { background: var(--ink); color: #fff; }
.btn--navy:hover { background: var(--ink-2); }
.btn--white { background: #fff; color: var(--ink); }
.mega-menu__cta { margin-top: 1.25rem; font-size: 0.9rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid rgba(7, 21, 37, 0.06);
}
.header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(7, 21, 37, 0.06);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}
.nav__logo { display: flex; align-items: center; flex: 0 0 auto; }
.nav__logo-img, .nav__mobile-logo, .footer__logo-img {
  aspect-ratio: 480 / 156;
  width: auto;
  height: 58px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.05rem;
  margin-left: auto;
}
.nav__link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0;
}
.nav__link:hover, .nav__link.active { color: var(--teal-deep); }
.nav__chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s var(--ease);
}
.nav__link--trigger[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }
.nav__cta-btn { margin-left: 0.35rem; min-height: 42px; padding-inline: 1.05rem; }
.nav__toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  margin-left: auto;
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  color: var(--ink);
  background: #dff6f6;
  border-radius: 12px;
}
@media (min-width: 961px) {
  .nav__toggle { display: none; }
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease), opacity 0.2s;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
.nav__toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.nav__mobile-header { display: none; }
.nav__mobile-close {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  border-radius: 50%;
}
.nav__mobile-logo { height: 46px; width: auto; }

/* Mega menu */
.nav__item--mega { position: static; }
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 28px 60px rgba(7, 21, 37, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.mega-menu__inner {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 1.5rem;
  padding-block: 1.4rem 1.6rem;
}
.mega-menu__aside {
  padding-right: 0.5rem;
  border-right: 1px solid var(--line);
}
.mega-menu__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.mega-menu__tagline {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.mega-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
  align-content: start;
}
.mega-menu__grid--tools { grid-template-columns: 1fr 1fr; }
.mega-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.7rem;
  border-radius: 12px;
  position: relative;
}
.mega-item:hover { background: var(--teal-soft); }
.mega-item__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.mega-item__icon svg { width: 18px; height: 18px; }
.mega-item div strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.mega-item div span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}
.mega-item--accent { background: var(--teal-soft); }
.mega-item--soon { opacity: 0.7; }
.tools-soon-badge {
  position: absolute;
  top: 0.45rem;
  right: 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
}
.mega-menu__inner--tools {
  grid-template-columns: 230px 1fr;
  max-height: calc(100dvh - var(--header-h) - 12px);
  overflow: hidden;
}
.tools-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  max-height: min(420px, calc(100dvh - var(--header-h) - 6.5rem));
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  padding-right: 0.35rem;
  padding-bottom: 0.35rem;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 115, 128, 0.55) transparent;
}
.tools-tabs::-webkit-scrollbar { width: 6px; }
.tools-tabs::-webkit-scrollbar-thumb {
  background: rgba(10, 115, 128, 0.4);
  border-radius: 99px;
}
.tools-tabs__heading {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin: 0.2rem 0 0.45rem;
}
.tools-tab {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  padding: 0.42rem 0.65rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.tools-tab:hover, .tools-tab.is-active { background: var(--teal-soft); color: var(--teal-deep); }
.tools-tab__icon { width: 16px; height: 16px; display: grid; }
.tools-tab__icon svg { width: 16px; height: 16px; }
.tools-panels { min-height: 0; overflow: auto; padding-bottom: 0.35rem; }
.tools-panel { display: none; }
.tools-panel.is-active { display: block; }
.tools-panel__label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(640px 380px at 6% 100%, rgba(18, 196, 200, 0.14), transparent 62%),
    radial-gradient(900px 520px at 88% 8%, rgba(18, 196, 200, 0.28), transparent 58%),
    linear-gradient(165deg, #0e3358 0%, #071525 62%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 15%, transparent 72%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.2rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem);
  min-width: 0;
}
.hero__grid > * { min-width: 0; }
.hero__copy .kicker { margin-bottom: 1rem; }
.hero__title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: min(17ch, 100%);
  text-wrap: balance;
}
.hero__lead {
  margin-top: 1rem;
  max-width: min(34rem, 100%);
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.35rem; }
.hero-board {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 42px, transparent 42px),
    rgba(8, 28, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1.1rem;
  max-width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}
.hero-board__top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}
.hero-board__name {
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  font-size: 0.95rem;
}
.hero-board__name em {
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}
.hero-board__chip {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-bright);
  border: 1px solid rgba(58, 216, 212, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}
.hero-board__dots { display: flex; gap: 0.35rem; }
.hero-board__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.hero-board__dots i:first-child { background: var(--teal); }
.hero-board__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}
.hero-board__stats div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.7rem 0.75rem;
}
.hero-board__stats small {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-board__stats strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}
.hero-board__stats div:last-child strong { color: var(--teal-bright); }
.hero-board__list { display: grid; gap: 0.4rem; }
.hero-board__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.7rem 0.75rem;
  font-size: 0.92rem;
}
.hero-board__row span { min-width: 0; }
.tag {
  margin-left: auto;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.5rem;
  flex: 0 0 auto;
}
.tag--live { background: rgba(18, 196, 200, 0.16); color: var(--teal-bright); }
.tag--review { background: rgba(240, 193, 74, 0.16); color: #f3d078; }
.tag--design { background: rgba(142, 180, 255, 0.16); color: #c5d4ff; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(18, 196, 200, 0.16);
}
.dot--review { background: #f0c14a; box-shadow: 0 0 0 4px rgba(240, 193, 74, 0.16); }
.dot--design { background: #8eb4ff; box-shadow: 0 0 0 4px rgba(142, 180, 255, 0.16); }
.hero-board__note {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
}

/* Logo rail */
.logo-rail {
  background: #071525;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0 1.35rem;
  color: rgba(255, 255, 255, 0.62);
  overflow: hidden;
  max-width: 100%;
}
.logo-rail__label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.logo-rail__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-rail__viewport:hover .logo-rail__track { animation-play-state: paused; }
.logo-rail__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.logo-rail__group { display: flex; gap: 0.75rem; padding-right: 0.75rem; }
.client-name {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.client-name:hover {
  color: #fff;
  border-color: var(--teal);
  background: rgba(18, 196, 200, 0.14);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Services */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.svc-card, .model, .compare__card, .story, .blog-card, .gain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.svc-card {
  position: relative;
  padding: 1.2rem 1.2rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 100%;
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.svc-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover, .model:hover, .blog-card:hover, .story:hover {
  transform: translateY(-3px);
  border-color: #b7e4e6;
  box-shadow: var(--shadow);
}
.svc-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.svc-card__n {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted-2);
}
.ico {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-deep);
}
.ico svg { width: 20px; height: 20px; }
.svc-card h3, .band__card h3, .model h3, .step h3, .gain h3, .story h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.svc-card p, .band__card p, .model p, .step p, .gain p, .compare__card li {
  color: var(--muted);
  font-size: 0.95rem;
}
.svc-card a {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--teal-deep);
  font-weight: 650;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}
.svc-card a::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.svc-card:hover a::after { transform: translateX(4px); }

/* Dark band */
.band {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(18, 196, 200, 0.16), transparent 60%),
    var(--ink);
  color: #fff;
}
.band .section-intro p, .band__card p { color: rgba(255, 255, 255, 0.7); }
.band__layout {
  display: grid;
  gap: 0.85rem;
}
.band__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.band__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.15rem 1.1rem;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.band__card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(18, 196, 200, 0.4);
  transform: translateY(-2px);
}
.band__card h3 { margin-bottom: 0.35rem; }
.band__cta {
  background: var(--teal);
  color: var(--ink);
  border-radius: 18px;
  padding: 1.15rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.band__cta-copy { min-width: 0; }
.band__cta h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.25rem;
}
.band__cta p { color: rgba(7, 21, 37, 0.78); }
.band__cta .btn { flex: 0 0 auto; }

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.metrics__item {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line);
}
.metrics__item:last-child { border-right: 0; }
.metrics__num {
  display: block;
  font-size: clamp(2.1rem, 3vw, 2.85rem);
  letter-spacing: -0.045em;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, #071525 8%, #0a7380 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metrics__num span {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metrics__item p { margin-top: 0.45rem; color: var(--muted); font-size: 0.92rem; }

/* Estimator */
.estimator__grid, .quote__grid, .compare__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.estimator__panel, .quote__panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
.estimator__panel fieldset { border: 0; margin-bottom: 1.1rem; }
.estimator__panel legend, .range-wrap span, .field span {
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 0.55rem;
  display: block;
}
.kind-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.kind {
  min-height: 42px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 650;
  font-size: 0.9rem;
}
.kind.is-on, .kind[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.range-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 99px;
  background: #d5e4e8;
  margin: 0.85rem 0 0.35rem;
}
.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--ink);
}
.range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.78rem;
}
.est-result {
  margin: 1.15rem 0 1rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  background: var(--teal-soft);
}
.est-result small {
  display: block;
  color: var(--teal-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.est-result strong {
  display: block;
  margin: 0.25rem 0;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.est-result p { color: var(--navy); font-size: 0.92rem; }

/* Models */
.models {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.model { padding: 1.4rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.model--feature { border-color: #8fd8da; box-shadow: var(--shadow); }
.model__tag {
  align-self: flex-start;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}
.model__price {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin-top: 0.3rem;
}
.model__price small { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.model ul { margin: 0.4rem 0 0.8rem; display: grid; gap: 0.35rem; }
.model li { font-size: 0.92rem; padding-left: 1rem; position: relative; }
.model li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

/* Compare */
.compare__card { padding: 1.4rem 1.3rem; }
.compare__card h3 { font-size: 1.25rem; margin-bottom: 0.9rem; letter-spacing: -0.02em; }
.compare__card--us {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.compare__card--us li { color: rgba(255, 255, 255, 0.82); }
.compare__card ol, .compare__card ul { display: grid; gap: 0.75rem; }
.compare__card li { padding-left: 1.6rem; position: relative; }
.compare__card li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.compare__card ol { counter-reset: item; }
.compare__card--us li::before { background: rgba(18, 196, 200, 0.2); color: var(--teal-bright); }

/* Stack */
#tech-stack {
  position: relative;
  overflow: hidden;
  width: 100%;
  color: #fff;
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(18, 196, 200, 0.22), transparent 62%),
    var(--ink);
  padding-top: clamp(3.25rem, 6vw, 5rem);
  padding-bottom: clamp(3.25rem, 6vw, 5rem);
}
.stack-panel { position: relative; }
.stack-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: 1.6rem;
}
.stack-panel__head h2 { max-width: 14em; margin-bottom: 0; text-wrap: balance; }
.stack-panel__head p:not(.kicker) {
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 0.2rem;
  justify-self: end;
  max-width: 34rem;
  text-wrap: balance;
  font-size: 1.02rem;
}
.stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}
.stack__group {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.9rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.15rem 1.1rem 1.2rem;
  text-align: left;
  min-width: 0;
}
.stack__group:nth-child(4),
.stack__group:nth-child(5) { grid-column: span 3; }
.stack__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(7, 21, 37, 0.16);
}
.stack__mark svg { width: 22px; height: 22px; }
.stack__group h3 {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0;
  text-transform: none;
}
.tech-pills {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.tech-pill {
  display: inline-flex;
  align-items: center;
  width: auto;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tech-pill:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #fff;
  color: #fff;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), #b7e4e6);
}
.timeline li {
  position: relative;
  padding-top: 2.4rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  z-index: 1;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--teal);
}
.timeline li::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  z-index: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  opacity: 0;
  pointer-events: none;
}
.js .timeline::before {
  transform: scaleX(0);
  transform-origin: left center;
}
.js .timeline.visible::before {
  animation: line-draw 0.9s var(--ease) forwards;
}
.js .timeline li::before { transform: scale(0); }
.js .timeline.visible li::before { animation: dot-in 0.45s var(--ease) forwards; }
.js .timeline.visible li::after { animation: ring-out 0.8s var(--ease) forwards; }
.js .timeline.visible li:nth-child(2)::before,
.js .timeline.visible li:nth-child(2)::after { animation-delay: 0.15s; }
.js .timeline.visible li:nth-child(3)::before,
.js .timeline.visible li:nth-child(3)::after { animation-delay: 0.3s; }
.js .timeline.visible li:nth-child(4)::before,
.js .timeline.visible li:nth-child(4)::after { animation-delay: 0.45s; }
.js .timeline.visible li:nth-child(5)::before,
.js .timeline.visible li:nth-child(5)::after { animation-delay: 0.6s; }
@keyframes line-draw { to { transform: scaleX(1); } }
@keyframes dot-in {
  0% { transform: scale(0); }
  65% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@keyframes ring-out {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(2.7); opacity: 0; }
}
.timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.timeline p { color: var(--muted); font-size: 0.88rem; }
.timeline em {
  display: block;
  font-style: normal;
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* Quote */
.quote {
  width: 100%;
  background:
    radial-gradient(700px 320px at 0% 0%, rgba(18, 196, 200, 0.22), transparent 62%),
    var(--ink);
  color: #fff;
  padding-top: clamp(3rem, 5vw, 4.25rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
#timeline { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.quote__grid { align-items: start; }
.quote__intro p { color: rgba(255, 255, 255, 0.78); margin-bottom: 1rem; }
.quote__mail {
  color: var(--teal-bright);
  font-weight: 650;
  font-size: 1.05rem;
}
.quote__points { margin-top: 1.3rem; display: grid; gap: 0.45rem; }
.quote__points li { color: rgba(255, 255, 255, 0.8); padding-left: 1rem; position: relative; }
.quote__points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 0;
  top: 0.55rem;
}
.quote__panel { color: var(--ink); }
.quote__panel-head { margin-bottom: 1rem; }
.quote__panel-head h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.quote__panel-head p { color: var(--muted); font-size: 0.95rem; }
.quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 0.75rem; }
.field--wide { grid-column: 1 / -1; }
.quote .field span { color: var(--ink); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  min-height: 48px;
}
.field input::placeholder, .field textarea::placeholder { color: #8aa0b0; }
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: transparent;
  background-color: #fff;
}
.quote__form .btn { grid-column: 1 / -1; justify-self: stretch; }
.form-note {
  margin-top: 0.8rem;
  background: var(--teal-soft);
  color: var(--ink);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-size: 0.92rem;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Process + gains */
.process__list, .gains, .stories, .blog__grid {
  display: grid;
  gap: 1rem;
}
.process__list { grid-template-columns: repeat(4, 1fr); --step-gap: 1rem; gap: var(--step-gap); position: relative; }
.process__list::before {
  content: "";
  position: absolute;
  left: calc((100% - 3 * var(--step-gap)) / 8);
  right: calc((100% - 3 * var(--step-gap)) / 8);
  top: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), #b7e4e6);
}
.step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: none;
  border: 0;
  padding: 0;
}
.step__n {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 0.95rem;
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--teal-bright);
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 0 0 6px #fff;
}
.step__card {
  flex: 1;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.1rem 1.25rem;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.step__card h3 { margin-bottom: 0.35rem; }
.step:hover .step__card {
  transform: translateY(-3px);
  border-color: #b7e4e6;
  box-shadow: var(--shadow);
}
.gains { grid-template-columns: repeat(3, 1fr); }
.gain { padding: 1.25rem 1.2rem; }
.bar {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: #e5eef1;
  margin: 0.8rem 0 0.55rem;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: var(--w, 70%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-bright));
}
.gain small { color: var(--muted); }

/* Stories */
.stories { grid-template-columns: repeat(3, 1fr); }
.story { padding: 1.3rem 1.2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.story blockquote { font-size: 1.02rem; letter-spacing: -0.015em; line-height: 1.55; }
.story footer { margin-top: auto; display: flex; align-items: center; gap: 0.7rem; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
}
.story strong { display: block; font-size: 0.95rem; }

/* Blog */
.blog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.blog__head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.blog__all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  color: var(--teal-deep);
  font-weight: 650;
  font-size: 0.95rem;
  white-space: nowrap;
}
.blog__all::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}
.blog__all:hover { color: var(--ink); }
.blog__all:hover::after { transform: translateX(4px); }
.header .nav > .nav__link { margin-left: auto; }
.blog__grid { grid-template-columns: repeat(4, 1fr); }
.blog-card { overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.blog-card > a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.blog-card__art {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.blog-card div { padding: 0.95rem 1rem 1.1rem; display: grid; gap: 0.35rem; }
.blog-card time, .blog-card p { color: var(--muted); font-size: 0.8rem; }
.blog-card h3 { font-size: 1rem; letter-spacing: -0.02em; line-height: 1.35; font-weight: 700; }
.blog-card:hover h3 { color: var(--teal-deep); }

/* Footer */
.footer { background: var(--paper); border-top: 1px solid var(--line); padding-top: 3.2rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.7fr;
  gap: 2rem;
  padding-bottom: 2.2rem;
}
.footer__logo-img { height: 64px; margin-bottom: 0.8rem; }
.footer__brand p { color: var(--muted); max-width: 28rem; font-size: 0.95rem; }
.footer__social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: #fff;
}
.footer__social a:hover { border-color: var(--teal); color: var(--teal-deep); }
.footer__social svg { width: 16px; height: 16px; }
.footer__col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.footer__col a { display: inline-block; color: var(--muted); padding: 0.28rem 0; }
.footer__col a:hover { color: var(--teal-deep); }
.footer__bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 0.9rem 0;
  font-size: 0.85rem;
}
.footer__bar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__bar a:hover { color: var(--teal-bright); }

.footer.footer--dark {
  background: radial-gradient(circle at 50% 0%, rgba(20, 48, 68, 0.45) 0%, rgba(10, 24, 38, 0.95) 45%, #061320 100%), #061320;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(2.8rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

/* Glowing background ambient lights */
.footer.footer--dark::before {
  content: '';
  position: absolute;
  top: -120px;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(18, 196, 200, 0.12) 0%, rgba(18, 196, 200, 0) 70%);
  pointer-events: none;
}
.footer.footer--dark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 500px;
  height: 350px;
  background: radial-gradient(circle, rgba(14, 115, 142, 0.1) 0%, rgba(14, 115, 142, 0) 70%);
  pointer-events: none;
}

/* Footer Main & Grid */
.footer__main {
  position: relative;
  z-index: 1;
  padding-bottom: 2.8rem;
}
.footer--dark .footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 2.5rem 2rem;
  align-items: start;
}

/* Brand Column */
.footer--dark .footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer--dark .footer__logo {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 0.45rem 0.95rem 0.45rem 0.6rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.footer--dark .footer__logo:hover {
  transform: translateY(-2px);
}
.footer--dark .footer__logo-img {
  height: 48px;
  width: auto;
  margin: 0;
  display: block;
}
.footer__blurb {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.93rem;
  line-height: 1.6;
  max-width: 21rem;
  margin: 0 0 1.25rem;
}
.footer__mail-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  background: rgba(18, 196, 200, 0.08);
  border: 1px solid rgba(58, 216, 212, 0.35);
  border-radius: 999px;
  color: var(--teal-bright);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}
.footer__mail-pill:hover {
  background: rgba(18, 196, 200, 0.18);
  border-color: var(--teal-bright);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px rgba(18, 196, 200, 0.3);
}
.footer__mail-icon {
  flex-shrink: 0;
  color: var(--teal-bright);
}

/* Nav Columns */
.footer--dark .footer__heading {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
  position: relative;
  display: inline-flex;
  align-items: center;
}
.footer--dark .footer__heading::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 18px;
  height: 2px;
  background: var(--teal-bright);
  border-radius: 2px;
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__links a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer__links a:hover {
  color: var(--teal-bright);
  transform: translateX(3px);
}

/* Proposal Column Card */
.footer__proposal-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.45rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.footer__proposal-card:hover {
  border-color: rgba(58, 216, 212, 0.35);
  background: rgba(255, 255, 255, 0.055);
}
.footer__proposal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--teal-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}
.footer__proposal-highlight {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.footer__proposal-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}
.footer__proposal-action {
  margin-top: 0.25rem;
}
.footer--dark .footer__proposal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 1.15rem;
  background: linear-gradient(135deg, #2ae0dc 0%, #10aeb2 100%);
  color: #031c26 !important;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 18px -2px rgba(18, 196, 200, 0.45);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.footer--dark .footer__proposal-btn:hover {
  background: linear-gradient(135deg, #4ef2ee 0%, #16c1c6 100%);
  color: #02141c !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -2px rgba(18, 196, 200, 0.65);
}
.footer--dark .footer__proposal-btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
  stroke: #031c26;
}
.footer--dark .footer__proposal-btn:hover svg {
  transform: translateX(3px);
}

/* Footer Bottom Bar */
.footer--dark .footer__bar {
  background: rgba(3, 10, 18, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0;
  position: relative;
  z-index: 1;
}
.footer__bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__bar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.footer__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.85rem;
  margin: 0;
}
.footer__legal-link {
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s ease;
  position: relative;
}
.footer__legal-link::before {
  content: '•';
  margin-right: 1.25rem;
  color: rgba(255, 255, 255, 0.25);
}
.footer__legal-link:hover {
  color: var(--teal-bright);
}

/* Social Buttons */
.footer--dark .footer__social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
}
.footer--dark .footer__social a.footer__social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  display: grid;
  place-items: center;
  transition: all 0.25s ease;
}
.footer--dark .footer__social a.footer__social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.footer--dark .footer__social a.footer__social-btn:hover {
  border-color: var(--teal-bright);
  background: rgba(18, 196, 200, 0.18) !important;
  color: var(--teal-bright) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -3px rgba(18, 196, 200, 0.4);
}

/* Responsive */

@media (max-width: 1020px) {
  .svc-grid, .blog__grid { grid-template-columns: 1fr 1fr; }
  .band__cards { grid-template-columns: 1fr 1fr; }
  .process__list { grid-template-columns: 1fr 1fr; }
  .process__list::before { display: none; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { display: none; }
  .timeline li {
    padding: 0 0 1.2rem 1.6rem;
    border-left: 2px solid #b7e4e6;
  }
  .timeline li::before,
  .timeline li::after { top: 0.15rem; left: -9px; }
  .footer__grid, .footer--dark .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .nav { position: relative; }
  .nav__toggle {
    display: inline-flex;
    position: absolute;
    right: 0.15rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: var(--teal-soft);
    border-radius: 12px;
  }
  .nav__cta-btn { display: none; }
  .nav__links {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: 100%;
    z-index: 120;
    margin: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.15rem 2rem;
    overflow: auto;
    transform: translateX(100%);
    transition: transform 0.28s var(--ease);
  }
  .nav__links.open { transform: none; }
  .nav__mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  .nav__links > li:not(.nav__mobile-header) { border-bottom: 1px solid var(--line); }
  .nav__link { font-size: 1.15rem; padding: 0.95rem 0; justify-content: space-between; }
  .mega-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
  }
  .mega-menu.is-open { display: block; }
  .mega-menu__inner, .mega-menu__inner--tools {
    display: block;
    max-height: none;
    padding: 0 0 1rem;
  }
  .mega-menu__aside { border: 0; margin-bottom: 0.8rem; }
  .mega-menu__grid, .mega-menu__grid--tools { grid-template-columns: 1fr; }
  .tools-tabs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.35rem;
    padding-bottom: 0.6rem;
  }
  .tools-tab { width: auto; white-space: nowrap; background: var(--paper); }
  .tools-tabs__heading { display: none; }
}

@media (max-width: 800px) {
  .hero__grid, .estimator__grid, .quote__grid, .compare__grid {
    grid-template-columns: 1fr;
  }
  .band__cta { flex-direction: column; align-items: flex-start; }
  .metrics, .models, .gains, .stories { grid-template-columns: 1fr 1fr; }
  .metrics__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .metrics__item:nth-child(1), .metrics__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .metrics__item:nth-child(even) { border-right: 0; }
  .hero__title { max-width: 100%; }
}

@media (max-width: 900px) {
  .stack-panel__head { grid-template-columns: 1fr; align-items: start; gap: 0.75rem; }
  .stack-panel__head p:not(.kicker) { justify-self: start; margin: 0; }
  .stack { grid-template-columns: 1fr 1fr; }
  .stack__group,
  .stack__group:nth-child(4),
  .stack__group:nth-child(5) { grid-column: auto; }
  .stack__group:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: 100%; }
  .nav__logo-img, .nav__mobile-logo { height: 46px; }
  .svc-grid, .metrics, .models, .gains, .stories, .blog__grid, .process__list, .footer__grid, .quote__form, .band__cards {
    grid-template-columns: 1fr;
  }
  .stack { grid-template-columns: 1fr; }
  .stack__group,
  .stack__group:nth-child(4),
  .stack__group:nth-child(5),
  .stack__group:last-child { grid-column: auto; }
  .metrics__item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .metrics__item:last-child { border-bottom: 0; }
  .blog__head { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn, .quote__form .btn, .band__cta .btn { width: 100%; }
  .hero__title { font-size: clamp(1.55rem, 7vw, 1.9rem); }
  .footer--dark .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer--dark .footer__col--proposal { grid-column: auto; }
  .footer__bar-container { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer__social { margin-top: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-rail__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .logo-rail__group[aria-hidden="true"] { display: none; }
  .tech-pill:hover { transform: none; }
  .js .reveal { animation: none; }
  .js .timeline::before,
  .js .timeline li::before,
  .js .timeline li::after { transform: none; animation: none; opacity: 0; }
  .js .timeline li::before { opacity: 1; }
  .svc-card, .model, .blog-card, .story, .btn, .btn span { transition: none; }
  .hero__actions .btn { animation: none; }
  .btn::after { display: none; }
}
