:root {
  --font-body: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  --font-heading: "Sora", "Plus Jakarta Sans", Arial, sans-serif;
  --ink: #17132f;
  --muted: #667085;
  --line: #dfe3f8;
  --surface: #ffffff;
  --soft: #f4f2ff;
  --soft-blue: #f2f8ff;
  --teal: #5b5cf6;
  --teal-dark: #2a2d8f;
  --green: #00c2a8;
  --coral: #ff6b4a;
  --amber: #ffc247;
  --aqua: #18b6f6;
  --violet: #7c3aed;
  --shadow: 0 22px 66px rgba(23, 19, 47, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfaff 0%, #ffffff 42%, #f4fffc 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, rgba(124, 58, 237, 0.07), transparent 34%),
    linear-gradient(245deg, rgba(255, 107, 74, 0.07), transparent 32%),
    linear-gradient(180deg, transparent, rgba(0, 194, 168, 0.06));
}

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

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

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 22px);
  width: min(calc(100% - 32px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(223, 227, 248, 0.78);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(249, 250, 255, 0.88)),
    linear-gradient(135deg, rgba(124, 58, 237, 0.07), rgba(24, 182, 246, 0.07));
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 46px rgba(23, 19, 47, 0.11);
  transition: min-height 260ms var(--ease), padding 260ms var(--ease), background 260ms ease, box-shadow 260ms ease, border-color 260ms ease, transform 260ms var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--teal), var(--aqua), var(--green), var(--amber), var(--coral));
  opacity: 0.86;
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 22px -14px;
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(91, 92, 246, 0.18), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.site-header.is-scrolled {
  min-height: 62px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-color: rgba(124, 58, 237, 0.22);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 54px rgba(23, 19, 47, 0.16);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 4px 9px;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 240ms var(--ease), background 240ms ease, box-shadow 240ms ease;
}

.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.34) 45%, transparent 75%);
  transform: translateX(-120%);
  pointer-events: none;
}

.brand:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 30px rgba(23, 19, 47, 0.08);
}

.brand:hover::after {
  animation: shine 780ms var(--ease);
}

.brand-logo {
  width: clamp(158px, 16vw, 194px);
  height: auto;
  transition: width 260ms var(--ease);
}

.site-header.is-scrolled .brand-logo {
  width: clamp(150px, 15vw, 182px);
}

.footer-brand .brand-logo {
  width: 216px;
}

.site-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(223, 227, 248, 0.74);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 255, 0.82)),
    rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 28px rgba(23, 19, 47, 0.07);
}

.site-nav a {
  position: relative;
  isolation: isolate;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 12px;
  color: #4b5270;
  font-size: 0.92rem;
  font-weight: 800;
  overflow: hidden;
  transition: background 220ms ease, color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}

.site-nav a::before {
  content: "";
  position: absolute;
  inset: 3px;
  z-index: -1;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(24, 182, 246, 0.1));
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 220ms ease, transform 220ms var(--ease);
}

.site-nav a:not(.nav-quote)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--amber));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 260ms var(--ease);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.78);
}

.site-nav a:hover {
  transform: translateY(-2px);
}

.site-nav a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.site-nav a.active {
  color: var(--teal-dark);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(91, 92, 246, 0.14), 0 10px 22px rgba(91, 92, 246, 0.14);
}

.site-nav a.active::after {
  background: linear-gradient(90deg, var(--violet), var(--aqua));
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav .nav-quote {
  margin-left: 6px;
  padding-inline: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--teal) 44%, var(--aqua));
  background-size: 180% 180%;
  box-shadow: 0 13px 26px rgba(91, 92, 246, 0.26);
}

.site-nav .nav-quote:hover {
  color: #fff;
  background-position: 100% 50%;
  box-shadow: 0 16px 30px rgba(91, 92, 246, 0.34);
}

.site-nav .nav-quote svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 220ms var(--ease);
}

.site-nav .nav-quote:hover svg {
  transform: translateX(3px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(223, 227, 248, 0.95);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff, #f7f8ff),
    rgba(255, 255, 255, 0.96);
  cursor: pointer;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease, transform 220ms var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(124, 58, 237, 0.34);
  box-shadow: 0 12px 24px rgba(23, 19, 47, 0.12);
  transform: translateY(-1px);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: linear-gradient(90deg, var(--violet), var(--teal));
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

body.nav-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(23, 19, 47, 0.28);
  backdrop-filter: blur(3px);
}

@keyframes shine {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(120%);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }

  to {
    background-position: 72px 42px, -42px 72px;
  }
}

@keyframes gradientFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes quietFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes softSweep {
  from {
    transform: translateX(-130%) skewX(-16deg);
  }

  to {
    transform: translateX(130%) skewX(-16deg);
  }
}

@keyframes menuItemIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleGlow {
  0%,
  100% {
    opacity: 0.48;
    transform: translate3d(-2%, 0, 0) scale(0.98);
  }

  50% {
    opacity: 0.82;
    transform: translate3d(2%, -2%, 0) scale(1.02);
  }
}

@keyframes titleLift {
  from {
    transform: translateY(10px) scale(0.98);
    text-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  }

  to {
    transform: translateY(0) scale(1);
    text-shadow: 0 24px 54px rgba(0, 0, 0, 0.28), 0 0 28px rgba(125, 211, 252, 0.34);
  }
}

@keyframes underlineGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.hero {
  position: relative;
  min-height: calc(92vh - 76px);
  min-height: calc(92svh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(76px, 10vw, 128px) max(24px, calc((100vw - var(--max)) / 2)) 34px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.32;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.74) 54%, transparent 100%);
}

.hero-media,
.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
}

.hero-home .hero-media {
  background-image:
    linear-gradient(90deg, rgba(12, 25, 58, 0.92) 0%, rgba(19, 93, 145, 0.75) 44%, rgba(255, 90, 95, 0.18) 100%),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1900&q=80");
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(0deg, rgba(251, 253, 252, 0.98), rgba(251, 253, 252, 0));
}

.hero-content {
  max-width: 740px;
  color: #fff;
  padding-bottom: clamp(40px, 7vw, 80px);
}

.hero-title {
  position: relative;
  display: inline-block;
  margin-top: 4px;
  color: #ffffff;
  font-size: 6.8rem;
  font-weight: 900;
  line-height: 0.94;
  perspective: 900px;
  isolation: isolate;
  text-shadow: 0 24px 54px rgba(0, 0, 0, 0.28), 0 0 28px rgba(125, 211, 252, 0.34);
}

.hero-title::before {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  top: 10%;
  bottom: 0;
  z-index: -1;
  border-radius: 40px;
  background:
    radial-gradient(circle at 25% 45%, rgba(255, 194, 71, 0.36), transparent 34%),
    radial-gradient(circle at 76% 44%, rgba(24, 182, 246, 0.38), transparent 38%),
    linear-gradient(90deg, rgba(124, 58, 237, 0.3), rgba(0, 194, 168, 0.18));
  filter: blur(22px);
  animation: titleGlow 4.8s ease-in-out infinite;
}

.hero-title::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 1%;
  bottom: -12px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--green), var(--aqua));
  box-shadow: 0 14px 30px rgba(24, 182, 246, 0.28);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineGrow 900ms var(--ease) 980ms both;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media,
  .page-hero::before {
    animation: heroZoom 1800ms var(--ease) both;
  }

  .hero::before {
    animation: gridDrift 14s linear infinite;
  }

  .hero-content .eyebrow,
  .hero-lead,
  .hero-actions,
  .page-hero-content .eyebrow,
  .page-hero-content h1,
  .page-hero-content p {
    animation: fadeUp 820ms var(--ease) both;
  }

  .hero-content .eyebrow,
  .page-hero-content .eyebrow {
    animation-delay: 80ms;
  }

  .page-hero-content h1 {
    animation-delay: 170ms;
  }

  .hero-lead,
  .page-hero-content p {
    animation-delay: 280ms;
  }

  .hero-actions {
    animation-delay: 390ms;
  }

  .hero-panel {
    animation: floatIn 880ms var(--ease) 500ms both, quietFloat 5.5s ease-in-out 1600ms infinite;
  }

  .hero-title {
    animation: titleLift 760ms var(--ease) 180ms both;
  }

  .js-enabled .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 720ms var(--ease), transform 720ms var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }

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

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

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content .eyebrow,
.cta-section .eyebrow,
.page-hero .eyebrow {
  color: #ffd06a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 850;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 800;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

.hero-actions,
.section-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  overflow: hidden;
  transition: transform 240ms var(--ease), box-shadow 240ms ease, background 240ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.28) 48%, transparent 72%);
  transform: translateX(-130%) skewX(-16deg);
}

.btn:hover::before {
  animation: softSweep 760ms var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  transition: transform 220ms var(--ease);
}

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

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--aqua) 50%, var(--green));
  background-size: 180% 180%;
  box-shadow: 0 16px 32px rgba(22, 100, 255, 0.24);
}

.btn-primary:hover {
  background-position: 100% 50%;
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.btn-light {
  color: var(--teal-dark);
  background: #fff;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 700px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.hero-panel > div {
  padding: clamp(16px, 3vw, 24px);
  background: rgba(255, 255, 255, 0.9);
}

.metric {
  display: block;
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.section {
  padding: clamp(70px, 9vw, 112px) max(24px, calc((100vw - var(--max)) / 2));
}

.section-heading {
  max-width: 760px;
}

.section-heading.center {
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.split-copy h2,
.category-heading h2,
.contact-info h2 {
  position: relative;
  max-width: 820px;
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 3.25vw, 3.15rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink);
  text-wrap: balance;
}

.section-heading h2::after,
.split-copy h2::after,
.category-heading h2::after,
.contact-info h2::after {
  content: "";
  display: block;
  width: 84px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--aqua));
}

.section-heading.center h2::after {
  margin-left: auto;
  margin-right: auto;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.page-hero p,
.contact-info p {
  color: var(--muted);
  font-size: 1.04rem;
}

.service-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid var(--line);
  color: var(--teal-dark);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.pill-row span:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 100, 255, 0.32);
  background: linear-gradient(180deg, #ffffff, #effcff);
  box-shadow: 0 16px 30px rgba(16, 24, 40, 0.1);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
}

.split-copy p {
  margin: 22px 0 0;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--teal-dark);
  font-weight: 850;
  border-bottom: 2px solid var(--amber);
}

.feature-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-board article,
.service-card,
.process-grid article,
.values-grid article,
.contact-cards article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 12px 34px rgba(16, 24, 40, 0.08);
  overflow: hidden;
  transition: transform 240ms var(--ease), box-shadow 240ms ease, border-color 240ms ease;
}

.feature-board article::before,
.service-card::before,
.process-grid article::before,
.values-grid article::before,
.contact-cards article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--aqua), var(--coral), var(--amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}

.feature-board article:hover,
.process-grid article:hover,
.values-grid article:hover,
.contact-cards article:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 100, 255, 0.32);
  box-shadow: var(--shadow);
}

.feature-board article:hover::before,
.service-card:hover::before,
.process-grid article:hover::before,
.values-grid article:hover::before,
.contact-cards article:hover::before {
  transform: scaleX(1);
}

.feature-board article {
  min-height: 234px;
  padding: 24px;
}

.feature-board article p,
.service-card p,
.process-grid p,
.values-grid p,
.contact-cards p {
  margin: 12px 0 0;
  color: var(--muted);
}

.icon-chip {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: linear-gradient(135deg, #eaf3ff, #e9fff6);
  transition: transform 260ms var(--ease), background 260ms ease, color 260ms ease;
}

.icon-chip svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-chip.accent {
  color: #9b3f35;
  background: #fff0ed;
}

.icon-chip.warm {
  color: #8a5a00;
  background: #fff4d6;
}

.icon-chip.bright {
  color: #167151;
  background: #e6f8ee;
}

.feature-board article:hover .icon-chip,
.contact-cards article:hover .icon-chip {
  transform: translateY(-2px) rotate(-2deg);
}

.muted-band {
  background:
    linear-gradient(180deg, rgba(238, 248, 255, 0.9), rgba(255, 247, 241, 0.76)),
    linear-gradient(90deg, rgba(22, 100, 255, 0.04), rgba(0, 168, 120, 0.05));
}

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

.service-grid.compact {
  margin-top: 34px;
}

.service-card {
  min-height: 214px;
  padding: 24px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 100, 255, 0.35);
  box-shadow: var(--shadow);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: linear-gradient(135deg, #eaf3ff, #e9fff6);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 900;
}

.process-section {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.process-grid article {
  min-height: 236px;
  padding: 28px;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--coral);
  font-weight: 900;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 max(24px, calc((100vw - var(--max)) / 2)) clamp(54px, 7vw, 86px);
  padding: clamp(28px, 6vw, 48px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 61, 145, 0.97), rgba(0, 184, 217, 0.88), rgba(0, 168, 120, 0.9)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=80");
  background-size: 180% 180%, cover;
  background-position: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.28;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .cta-section {
    animation: gradientFlow 12s ease-in-out infinite;
  }

  .cta-section::before {
    animation: gridDrift 18s linear infinite;
  }
}

.cta-section h2 {
  max-width: 760px;
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.16;
  text-wrap: balance;
}

.page-hero {
  position: relative;
  min-height: 54vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(86px, 11vw, 140px) max(24px, calc((100vw - var(--max)) / 2)) clamp(70px, 9vw, 110px);
}

.page-hero::before {
  content: "";
}

.services-hero::before {
  background-image:
    linear-gradient(90deg, rgba(12, 25, 58, 0.91), rgba(22, 100, 255, 0.55), rgba(255, 90, 95, 0.18)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1900&q=80");
}

.about-hero::before {
  background-image:
    linear-gradient(90deg, rgba(12, 25, 58, 0.9), rgba(0, 184, 217, 0.52), rgba(0, 168, 120, 0.2)),
    url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1900&q=80");
}

.contact-hero::before {
  background-image:
    linear-gradient(90deg, rgba(12, 25, 58, 0.9), rgba(22, 100, 255, 0.5), rgba(255, 176, 46, 0.2)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1900&q=80");
}

.page-hero-content {
  position: relative;
  max-width: 850px;
  color: #fff;
  padding-left: clamp(18px, 2.4vw, 28px);
}

.page-hero-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: clamp(84px, 10vw, 126px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--amber), var(--coral), var(--aqua));
  box-shadow: 0 16px 34px rgba(24, 182, 246, 0.26);
}

.page-hero h1 {
  position: relative;
  max-width: 820px;
  font-family: var(--font-body);
  font-size: clamp(2.2rem, 4.6vw, 4.35rem);
  font-weight: 800;
  line-height: 1.14;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 22px 46px rgba(0, 0, 0, 0.32);
}

.page-hero h1::after {
  content: "";
  display: block;
  width: clamp(90px, 13vw, 150px);
  height: 5px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coral), var(--amber), var(--aqua));
}

.page-hero p:not(.eyebrow) {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.category-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.category-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 8px;
}

.category-sidebar a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  font-weight: 800;
  transition: transform 220ms var(--ease), border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.category-sidebar a:hover {
  color: var(--teal-dark);
  border-color: rgba(22, 100, 255, 0.34);
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.08);
}

.service-category + .service-category {
  margin-top: 76px;
}

.category-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.image-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 700ms ease;
}

.image-panel:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.about-story {
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
}

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

.stats-grid article {
  min-height: 152px;
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.07);
}

.stats-grid span {
  display: block;
  color: var(--teal);
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.stats-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.values-grid article {
  min-height: 214px;
  padding: 24px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-cards article {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 18px;
}

.contact-cards .icon-chip {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.contact-cards h3 {
  font-size: 1rem;
}

.contact-cards a,
.contact-cards p {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: var(--ink);
  font-weight: 850;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease);
}

.form-row textarea {
  resize: vertical;
  min-height: 132px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(22, 100, 255, 0.12);
  transform: translateY(-1px);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-brand {
  max-width: 420px;
}

.footer-brand p {
  margin: 14px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 18px;
  color: var(--muted);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--teal-dark);
}

@media (max-width: 980px) {
  .service-strip,
  .split-section,
  .contact-section,
  .category-layout {
    grid-template-columns: 1fr;
  }

  .category-sidebar {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    top: 10px;
    width: calc(100% - 20px);
    padding: 8px 9px 8px 11px;
    border-radius: 18px;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid rgba(223, 227, 248, 0.92);
    border-radius: 20px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 255, 0.95)),
      rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 42px rgba(23, 19, 47, 0.16);
    transform: translateY(-12px) scale(0.98);
    transform-origin: top center;
    opacity: 0;
    pointer-events: none;
    transition: transform 240ms var(--ease), opacity 220ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    justify-content: flex-start;
    min-height: 48px;
    padding-inline: 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: inset 0 0 0 1px rgba(223, 227, 248, 0.64);
  }

  .nav-open .site-nav a {
    animation: menuItemIn 320ms var(--ease) backwards;
  }

  .nav-open .site-nav a:nth-child(2) {
    animation-delay: 35ms;
  }

  .nav-open .site-nav a:nth-child(3) {
    animation-delay: 70ms;
  }

  .nav-open .site-nav a:nth-child(4) {
    animation-delay: 105ms;
  }

  .nav-open .site-nav a:nth-child(5) {
    animation-delay: 140ms;
  }

  .site-nav .nav-quote {
    justify-content: center;
    margin: 5px 0 0;
    min-height: 50px;
    box-shadow: 0 14px 28px rgba(91, 92, 246, 0.26);
  }

  .hero {
    min-height: calc(88vh - 70px);
    min-height: calc(88svh - 70px);
    padding-top: 82px;
  }

  .hero-home .hero-media {
    background-image:
      linear-gradient(180deg, rgba(12, 25, 58, 0.93) 0%, rgba(22, 100, 255, 0.74) 58%, rgba(0, 168, 120, 0.56) 100%),
      url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1100&q=80");
  }

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

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-panel > div {
    padding: 14px 10px;
  }

  .metric-label {
    font-size: 0.82rem;
  }

  .hero-content {
    padding-bottom: 28px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .hero-title {
    font-size: 4.6rem;
  }

  .page-hero h1 {
    font-size: clamp(2.05rem, 9vw, 3.4rem);
  }

  .page-hero h1::after {
    width: 96px;
    height: 4px;
    margin-top: 18px;
  }

  .page-hero-content {
    padding-left: 18px;
  }

  .page-hero-content::before {
    height: 94px;
  }

  .feature-board,
  .service-grid,
  .process-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .hero-actions,
  .section-action {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .brand-logo {
    width: 154px;
  }

  .hero-title {
    font-size: 3.25rem;
  }

  .hero-title::after {
    bottom: -9px;
    height: 5px;
  }

  .contact-cards article {
    align-items: flex-start;
  }
}
