:root {
  --navy: #0d3b66;
  --yellow: #fcca46;
  --ink: #102033;
  --muted: #5d6b78;
  --line: #dce5ed;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(13, 59, 102, 0.12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: var(--navy); color: var(--white); font-size: 14px; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); }
.brand img { width: 58px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 700; color: var(--navy); }
.nav-links a:hover, .nav-links a.active { color: #b88600; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); color: var(--navy); border-radius: var(--radius); font-size: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border: 2px solid transparent; border-radius: var(--radius); font-weight: 800; cursor: pointer; }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: #f2b900; }
.btn-outline { border-color: var(--yellow); color: var(--white); }
.btn-outline:hover { background: var(--yellow); color: var(--navy); }
.section { padding: 82px 0; }
.section.alt { background: var(--soft); }
.eyebrow { color: #b88600; font-weight: 800; text-transform: uppercase; font-size: 13px; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(38px, 7vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 25px; }
p { margin: 0 0 18px; color: var(--muted); }
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-slide { display: none; min-height: 680px; align-items: center; padding: 80px 0; }
.hero-slide.active { display: flex; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: center; gap: 50px; }
.hero h1, .hero p { color: var(--white); }
.hero p { font-size: 18px; max-width: 660px; opacity: 0.9; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 430px; object-fit: cover; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.slider-controls { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; gap: 10px; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.45); cursor: pointer; }
.slider-dot.active { background: var(--yellow); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.image-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
img.image-card { width: 100%; height: auto; object-fit: cover; }
.image-card img { width: 100%; height: 260px; object-fit: cover; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.feature-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { padding-left: 28px; position: relative; color: var(--muted); }
.feature-list li::before { content: ""; width: 10px; height: 10px; background: var(--yellow); position: absolute; left: 0; top: 8px; border-radius: 50%; }
.page-hero { background: linear-gradient(120deg, rgba(13, 59, 102, 0.94), rgba(13, 59, 102, 0.78)), url("../../images/web-3828301_1280.jpg") center/cover; color: var(--white); padding: 105px 0; }
.page-hero h1, .page-hero h2, .page-hero p { color: var(--white); }
.breadcrumb { color: rgba(255,255,255,0.78); font-weight: 700; margin-bottom: 14px; }
.cta-band { background: var(--navy); color: var(--white); padding: 54px 0; }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--navy); font-weight: 800; font-size: 14px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form input, .form textarea, .form select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font: inherit; }
.form textarea { min-height: 140px; resize: vertical; }
.form-status { display: none; padding: 12px 14px; border-radius: var(--radius); font-weight: 700; }
.form-status.success { display: block; background: #e7f7ef; color: #136f3f; }
.form-status.error { display: block; background: #fdecea; color: #9c2b20; }
.site-footer { background: #082846; color: rgba(255,255,255,0.82); padding: 66px 0 24px; }
.site-footer h3, .site-footer h4 { color: var(--white); }
.site-footer p { color: rgba(255,255,255,0.78); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 40px; padding-top: 22px; text-align: center; }

/* Motion system */
body { overflow-x: hidden; }
.section, .page-hero, .cta-band { position: relative; isolation: isolate; overflow: hidden; }
.section::before, .section::after, .page-hero::after, .cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}
.section::before { width: 260px; height: 260px; right: -150px; top: 12%; background: rgba(252, 202, 70, 0.1); filter: blur(4px); }
.section::after { width: 190px; height: 190px; left: -125px; bottom: 8%; border: 1px solid rgba(13, 59, 102, 0.1); }
.section.alt::before { background: rgba(13, 59, 102, 0.07); }
.page-hero::after { width: 420px; height: 420px; right: -110px; top: -230px; background: rgba(252, 202, 70, 0.2); filter: blur(2px); }
.cta-band::after { width: 360px; height: 360px; right: 7%; top: -260px; background: rgba(252, 202, 70, 0.18); filter: blur(24px); }

.scroll-progress { position: fixed; inset: 0 auto auto 0; z-index: 100; width: 100%; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--yellow), #ffe49a); transform: scaleX(0); transform-origin: left; will-change: transform; }

.hero::before, .hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(3px);
}
.hero::before { width: 520px; height: 520px; left: -210px; top: -260px; background: radial-gradient(circle, rgba(252, 202, 70, 0.25), transparent 68%); animation: hero-orbit 14s ease-in-out infinite alternate; }
.hero::after { width: 620px; height: 620px; right: -300px; bottom: -330px; background: radial-gradient(circle, rgba(78, 161, 220, 0.28), transparent 68%); animation: hero-orbit 18s ease-in-out infinite alternate-reverse; }
.hero-slide, .slider-controls { z-index: 1; }
.hero-slide.active .eyebrow, .hero-slide.active h1, .hero-slide.active p, .hero-slide.active .hero-actions { animation: hero-enter 700ms cubic-bezier(.2,.7,.2,1) both; }
.hero-slide.active h1 { animation-delay: 80ms; }
.hero-slide.active p { animation-delay: 160ms; }
.hero-slide.active .hero-actions { animation-delay: 240ms; }
.hero-slide.active .hero-media img { animation: hero-media-enter 700ms 100ms cubic-bezier(.2,.7,.2,1) both; }
.hero-media { position: relative; transform: translate3d(0, var(--hero-media-y, 0), 0); will-change: transform; }
.hero-media::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: -1; border: 1px solid rgba(252, 202, 70, 0.42); border-radius: var(--radius); }

/* Hero 3D services carousel */
.service-orbit {
  --orbit-card-w: 142px;
  --orbit-card-h: 178px;
  --orbit-depth: 270px;
  position: relative;
  min-width: 0;
  width: 100%;
  height: 500px;
  display: grid;
  place-items: center;
  perspective: 1100px;
  animation: hero-media-enter 700ms 100ms cubic-bezier(.2,.7,.2,1) both;
}
.service-orbit::before {
  content: "";
  position: absolute;
  width: min(88%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 202, 70, .16), rgba(52, 125, 177, .08) 48%, transparent 70%);
  filter: blur(7px);
}
.service-orbit::after {
  content: "OUR SERVICES";
  position: absolute;
  bottom: 14px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .32em;
}
.hero-services { min-height: 670px; display: flex; align-items: center; }
.hero-services { background-color: var(--navy); }
.hero-services > .container { z-index: 2; }
.hero-services::after {
  width: 100%;
  height: 100%;
  right: 0;
  bottom: 0;
  border-radius: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  filter: none;
  animation: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 88%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 88%);
}
.services-showcase { position: relative; display: grid; place-items: center; min-height: 670px; }
.code-background { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.code-background span {
  position: absolute;
  color: rgba(255,255,255,.105);
  font-family: "Courier New", monospace;
  font-size: clamp(17px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: .08em;
  text-shadow: 0 0 18px rgba(252,202,70,.1);
  animation: code-float 11s ease-in-out infinite alternate;
}
.code-background span:nth-child(1) { left: 4%; top: 18%; animation-delay: -2s; }
.code-background span:nth-child(2) { right: 5%; top: 23%; animation-delay: -7s; }
.code-background span:nth-child(3) { left: 10%; bottom: 14%; animation-delay: -5s; }
.code-background span:nth-child(4) { right: 12%; bottom: 15%; animation-delay: -9s; }
.code-background span:nth-child(5) { left: 24%; top: 43%; animation-delay: -4s; }
.code-background span:nth-child(6) { right: 22%; top: 47%; animation-delay: -1s; }
.code-background span:nth-child(7) { left: 38%; bottom: 7%; animation-delay: -6s; }
.code-background span:nth-child(8) { right: 38%; top: 15%; animation-delay: -8s; }
.browser-outline {
  position: absolute;
  width: 230px;
  height: 145px;
  border: 1px solid rgba(252,202,70,.1);
  border-radius: 12px;
  transform: rotate(-8deg);
  animation: browser-drift 15s ease-in-out infinite alternate;
}
.browser-outline::before { content: "•  •  •"; position: absolute; inset: 0 0 auto; height: 25px; padding-left: 12px; color: rgba(252,202,70,.2); border-bottom: 1px solid rgba(252,202,70,.09); font-style: normal; line-height: 20px; letter-spacing: 4px; }
.browser-outline::after { content: ""; position: absolute; left: 17px; right: 17px; top: 48px; height: 7px; border-radius: 5px; background: rgba(255,255,255,.055); box-shadow: 0 22px rgba(255,255,255,.035), 0 44px rgba(255,255,255,.035); }
.browser-one { left: -70px; top: 48%; }
.browser-two { right: -55px; top: 12%; width: 190px; height: 120px; transform: rotate(10deg); animation-delay: -8s; }
.services-heading {
  position: absolute;
  z-index: 4;
  top: 34px;
  left: 50%;
  width: min(880px, calc(100% - 32px));
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 4.3vw, 54px);
  line-height: 1.08;
  text-align: center;
  text-wrap: balance;
  transform: translateX(-50%);
  animation: services-heading-enter 700ms cubic-bezier(.2,.7,.2,1) both;
}
.services-heading::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 99px;
  background: var(--yellow);
  box-shadow: 0 0 18px rgba(252,202,70,.34);
}
.service-orbit-full {
  --orbit-card-w: 170px;
  --orbit-card-h: 210px;
  --orbit-depth: 390px;
  height: 650px;
  max-width: 1120px;
}
.service-orbit-full::before { width: min(74vw, 760px); }
.service-orbit-full::after { bottom: 44px; color: rgba(255,255,255,.62); }
.service-orbit-full .orbit-icon { width: 66px; height: 66px; border-radius: 18px; }
.service-orbit-full .orbit-icon svg { width: 34px; height: 34px; }
.service-orbit-full .orbit-label { max-width: 142px; font-size: 16px; }
.orbit-inner {
  position: relative;
  width: var(--orbit-card-w);
  height: var(--orbit-card-h);
  transform-style: preserve-3d;
  animation: service-rotating 28s linear infinite;
  will-change: transform;
}
.service-orbit:hover .orbit-inner, .service-orbit:focus-within .orbit-inner { animation-play-state: paused; }
.orbit-card {
  --card-angle: calc((360deg / var(--service-count)) * var(--service-index));
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 12px;
  color: var(--white);
  text-align: center;
  border: 1px solid rgba(252, 202, 70, .58);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(8,40,70,.82));
  box-shadow: inset 0 1px rgba(255,255,255,.24), 0 18px 45px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  backface-visibility: hidden;
  transform: rotateY(var(--card-angle)) translateZ(var(--orbit-depth));
  transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
  overflow: hidden;
}
.orbit-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 18%, rgba(252,202,70,.2), transparent 48%); }
.orbit-card:hover, .orbit-card:focus-visible { border-color: var(--yellow); background: linear-gradient(145deg, rgba(252,202,70,.24), rgba(8,40,70,.94)); box-shadow: 0 0 28px rgba(252,202,70,.22), 0 22px 48px rgba(0,0,0,.36); outline: 2px solid var(--yellow); outline-offset: 3px; }
.orbit-icon {
  position: relative;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--yellow);
  border: 1px solid rgba(252,202,70,.48);
  border-radius: 15px;
  background: rgba(8,40,70,.7);
  box-shadow: 0 8px 22px rgba(0,0,0,.2);
}
.orbit-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.orbit-label { position: relative; max-width: 116px; color: var(--white); font-size: 14px; font-weight: 800; line-height: 1.25; }

@keyframes service-rotating {
  from { transform: rotateX(-8deg) rotateY(0); }
  to { transform: rotateX(-8deg) rotateY(1turn); }
}
@keyframes code-float { from { transform: translate3d(0, -7px, 0) rotate(-2deg); opacity: .55; } to { transform: translate3d(16px, 13px, 0) rotate(3deg); opacity: 1; } }
@keyframes browser-drift { from { translate: 0 -8px; rotate: -2deg; } to { translate: 24px 18px; rotate: 3deg; } }

.motion-ready .reveal { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.motion-ready .reveal.reveal-left { transform: translate3d(-44px, 0, 0); }
.motion-ready .reveal.reveal-right { transform: translate3d(44px, 0, 0); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

.card { position: relative; overflow: hidden; transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease; transform-style: preserve-3d; }
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--yellow), #f2b900); transform: scaleX(0); transform-origin: left; transition: transform 300ms ease; }
.card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -100px; bottom: -110px; border-radius: 50%; background: rgba(252, 202, 70, 0.16); transition: transform 350ms ease; }
.card:hover, .card:focus-within { transform: translateY(-8px); border-color: rgba(252, 202, 70, 0.75); box-shadow: 0 24px 54px rgba(13, 59, 102, 0.18); }
.motion-ready .card.reveal.is-visible:hover, .motion-ready .card.reveal.is-visible:focus-within { transform: translateY(-8px); }
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }
.card:hover::after, .card:focus-within::after { transform: scale(1.7); }
.card h3, .card h2 { transition: transform 280ms ease; }
.card:hover h3, .card:hover h2, .card:focus-within h3, .card:focus-within h2 { transform: translateX(4px); }

/* Popular service cards */
.popular-services { background: linear-gradient(180deg, var(--white), #f7fafc); }
.popular-services::before { width: 440px; height: 440px; right: -220px; top: -180px; background: radial-gradient(circle, rgba(252,202,70,.15), transparent 68%); }
.popular-services .grid { perspective: 1000px; }
.service-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,248,251,.92));
  box-shadow: 0 18px 40px rgba(13,59,102,.1);
  overflow: visible;
  isolation: isolate;
}
.service-card::before { height: 5px; border-radius: 18px 18px 0 0; }
.service-card::after { z-index: -1; width: 180px; height: 180px; right: -120px; bottom: -125px; }
.service-card p { flex: 1; }
.service-card .btn { gap: 8px; }
.service-card .btn span { display: inline-block; font-size: 18px; transition: transform 220ms ease; }
.service-card:hover .btn span, .service-card:focus-within .btn span { transform: translateX(4px); }
.service-card-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--navy);
  border: 1px solid rgba(252,202,70,.75);
  border-radius: 17px;
  background: linear-gradient(145deg, #fff5ce, var(--yellow));
  box-shadow: 0 10px 25px rgba(252,202,70,.28);
  transition: transform 420ms cubic-bezier(.2,.8,.2,1.25), box-shadow 300ms ease;
}
.service-card-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-card-icon, .service-card:focus-within .service-card-icon { transform: translateY(-6px) rotate(-5deg) scale(1.1); box-shadow: 0 16px 30px rgba(252,202,70,.38); }
.motion-ready .service-card.reveal { transform: translate3d(0, 62px, 0) rotateX(8deg) scale(.88); }
.motion-ready .service-card.reveal.is-visible { transform: translate3d(0, 0, 0) rotateX(0) scale(1); transition-duration: 760ms; }
.motion-ready .service-card.reveal.is-visible:hover, .motion-ready .service-card.reveal.is-visible:focus-within { transform: translate3d(0, -12px, 0) rotateX(0) scale(1.025); box-shadow: 0 30px 62px rgba(13,59,102,.2); }

/* Who we are split and typing sequence */
.identity-section { padding: 0; background: var(--soft); }
.identity-section::before { width: 420px; height: 420px; top: auto; right: -230px; bottom: -210px; background: rgba(252,202,70,.12); }
.identity-split { width: 100%; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 650px; }
.identity-visual { position: relative; min-height: 650px; overflow: hidden; background: var(--navy); }
.identity-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(13,59,102,.12), transparent 55%, rgba(252,202,70,.13)); pointer-events: none; }
.identity-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.identity-section.is-active .identity-visual img { transform: scale(1.045); }
.identity-badge { position: absolute; z-index: 2; right: 28px; bottom: 28px; padding: 14px 18px; color: var(--navy); border-radius: 12px; background: rgba(252,202,70,.94); box-shadow: 0 15px 35px rgba(0,0,0,.2); font-size: 13px; font-weight: 800; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.identity-content { display: flex; flex-direction: column; justify-content: center; padding: 72px clamp(32px, 6vw, 100px); }
.typing-title { min-height: 3.45em; max-width: 650px; }
.typing-output { white-space: normal; }
.typing-cursor { display: inline-block; width: 3px; height: .86em; margin-left: 5px; vertical-align: -.04em; border-radius: 2px; background: var(--yellow); animation: typing-blink 750ms steps(1) infinite; }
.typing-title.typing-complete .typing-cursor { animation-iteration-count: 4; }
.motion-ready .typing-support > p, .motion-ready .typing-support > .feature-list { opacity: 0; transform: translateY(18px); transition: opacity 560ms ease, transform 560ms ease; }
.motion-ready .typing-support > .btn { opacity: 0; transform: translateY(18px); transition: opacity 560ms ease, transform 560ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease; }
.motion-ready .identity-section.is-active .typing-support > p, .motion-ready .identity-section.is-active .typing-support > .feature-list, .motion-ready .identity-section.is-active .typing-support > .btn { opacity: 1; transform: translateY(0); }
.motion-ready .identity-section.is-active .typing-support > p:nth-child(1) { transition-delay: 1700ms; }
.motion-ready .identity-section.is-active .typing-support > p:nth-child(2) { transition-delay: 1900ms; }
.motion-ready .identity-section.is-active .typing-support > .feature-list { transition-delay: 2100ms; }
.motion-ready .identity-section.is-active .typing-support > .btn { transition-delay: 1900ms; }
.roi-section { background: var(--white); }
.roi-section .identity-content { background: linear-gradient(135deg, var(--white), #f7fafc); }
.roi-section .identity-visual::after { background: linear-gradient(250deg, rgba(13,59,102,.08), transparent 58%, rgba(252,202,70,.14)); }
@keyframes typing-blink { 50% { opacity: 0; } }

/* Full services catalogue */
.services-catalog { background: linear-gradient(150deg, #f5f8fb, #fff 54%, #f8fafc); }
.catalog-intro { max-width: 720px; margin-bottom: 38px; font-size: 17px; }
.services-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; perspective: 1200px; }
.catalog-card {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  color: var(--ink);
  border: 1px solid rgba(13,59,102,.14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(240,246,250,.96));
  box-shadow: 0 18px 42px rgba(13,59,102,.1);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 420ms cubic-bezier(.2,.75,.2,1), box-shadow 420ms ease, border-color 300ms ease;
}
.catalog-card::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at 100% 0, rgba(252,202,70,.22), transparent 34%); opacity: .4; transition: opacity 300ms ease, transform 500ms ease; }
.catalog-card::after { content: ""; position: absolute; right: -55px; bottom: -70px; width: 150px; height: 150px; border: 1px solid rgba(252,202,70,.36); border-radius: 50%; transition: transform 500ms ease; }
.catalog-card > * { position: relative; z-index: 1; transform: translateZ(18px); }
.catalog-card .service-card-icon { margin-bottom: 24px; }
.catalog-card h3 { font-size: 24px; }
.catalog-card p { flex: 1; }
.catalog-card > a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 800; }
.catalog-card > a span { color: #b88600; font-size: 20px; transition: transform 220ms ease; }
.catalog-number { position: absolute; z-index: 1; top: 24px; right: 26px; color: rgba(13,59,102,.15); font-size: 42px; font-weight: 900; line-height: 1; transform: translateZ(8px); }
.catalog-card:hover, .catalog-card:focus-within, .catalog-card:focus-visible { border-color: rgba(252,202,70,.9); box-shadow: -12px 26px 60px rgba(13,59,102,.2); transform: translateY(-12px) rotateX(3deg) rotateY(-3deg); outline: none; }
.catalog-card:nth-child(even):hover, .catalog-card:nth-child(even):focus-within, .catalog-card:nth-child(even):focus-visible { transform: translateY(-12px) rotateX(3deg) rotateY(3deg); }
.catalog-card:hover::before, .catalog-card:focus-within::before { opacity: 1; transform: scale(1.2); }
.catalog-card:hover::after, .catalog-card:focus-within::after { transform: scale(1.45); }
.catalog-card:hover .service-card-icon, .catalog-card:focus-within .service-card-icon { transform: translateY(-5px) rotate(-5deg) scale(1.08); }
.catalog-card:hover > a span, .catalog-card:focus-within > a span { transform: translateX(5px); }
.motion-ready .catalog-card.reveal { transform: translate3d(0, 58px, 0) rotateX(9deg) scale(.9); }
.motion-ready .catalog-card.reveal.is-visible { transform: translate3d(0, 0, 0) rotateX(0) scale(1); transition-duration: 760ms; }
.motion-ready .catalog-card.reveal.is-visible:hover, .motion-ready .catalog-card.reveal.is-visible:focus-within, .motion-ready .catalog-card.reveal.is-visible:focus-visible { transform: translateY(-12px) rotateX(3deg) rotateY(-3deg); }
.motion-ready .catalog-card:nth-child(even).reveal.is-visible:hover, .motion-ready .catalog-card:nth-child(even).reveal.is-visible:focus-within, .motion-ready .catalog-card:nth-child(even).reveal.is-visible:focus-visible { transform: translateY(-12px) rotateX(3deg) rotateY(3deg); }

/* Scrolling portfolio showcase */
.portfolio-showcase { padding-bottom: 72px; color: var(--white); background: linear-gradient(145deg, #082846, var(--navy) 58%, #124f7e); }
.portfolio-showcase::before { width: 520px; height: 520px; right: -190px; top: -260px; background: radial-gradient(circle, rgba(252,202,70,.2), transparent 68%); }
.portfolio-showcase::after { width: 360px; height: 360px; left: -180px; bottom: -180px; border-color: rgba(255,255,255,.08); }
.portfolio-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.portfolio-heading > div:first-child { max-width: 800px; }
.portfolio-showcase h2, .portfolio-showcase p { color: var(--white); }
.portfolio-showcase p { max-width: 720px; opacity: .76; }
.portfolio-controls { display: flex; gap: 12px; flex: 0 0 auto; }
.portfolio-controls button { width: 52px; height: 52px; color: var(--white); border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.08); font-size: 23px; cursor: pointer; backdrop-filter: blur(8px); transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease; }
.portfolio-controls button:hover, .portfolio-controls button:focus-visible { color: var(--navy); border-color: var(--yellow); background: var(--yellow); transform: translateY(-3px); outline: none; }
.portfolio-track { width: 100%; display: flex; gap: 30px; padding: 8px max(32px, calc((100vw - 1120px) / 2)) 44px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(32px, calc((100vw - 1120px) / 2)); scrollbar-width: none; cursor: grab; }
.portfolio-track::-webkit-scrollbar { display: none; }
.portfolio-track:active { cursor: grabbing; }
.portfolio-card { position: relative; flex: 0 0 min(72vw, 760px); aspect-ratio: 16 / 9; margin: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: #071f36; box-shadow: 0 24px 55px rgba(0,0,0,.32); overflow: hidden; scroll-snap-align: center; opacity: .52; transform: scale(.9) rotateY(2deg); transition: opacity 520ms ease, transform 520ms cubic-bezier(.2,.75,.2,1), box-shadow 520ms ease, border-color 320ms ease; }
.portfolio-card.is-active { opacity: 1; transform: scale(1) rotateY(0); border-color: rgba(252,202,70,.58); box-shadow: 0 34px 75px rgba(0,0,0,.46), 0 0 0 1px rgba(252,202,70,.14); }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms cubic-bezier(.2,.7,.2,1); }
.portfolio-card:hover img, .portfolio-card:focus-within img { transform: scale(1.045); }
.portfolio-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(3,20,35,.93)); pointer-events: none; }
.portfolio-card figcaption { position: absolute; z-index: 2; left: 34px; right: 34px; bottom: 30px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 22px; transform: translateY(12px); transition: transform 400ms ease; }
.portfolio-card.is-active figcaption, .portfolio-card:hover figcaption { transform: translateY(0); }
.portfolio-card figcaption > span { grid-column: 1 / -1; color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.portfolio-card h3 { margin: 0; color: var(--white); font-size: clamp(25px, 3vw, 38px); }
.portfolio-card a { align-self: center; color: var(--white); font-size: 14px; font-weight: 800; opacity: 0; transform: translateX(-10px); transition: opacity 300ms ease, transform 300ms ease, color 220ms ease; }
.portfolio-card.is-active a, .portfolio-card:hover a, .portfolio-card:focus-within a { opacity: 1; transform: translateX(0); }
.portfolio-card a:hover, .portfolio-card a:focus-visible { color: var(--yellow); outline: none; }
.portfolio-card a b { margin-left: 5px; font-size: 18px; }
.portfolio-progress { display: flex; justify-content: center; gap: 9px; }
.portfolio-progress span { width: 9px; height: 9px; border-radius: 99px; background: rgba(255,255,255,.28); transition: width 300ms ease, background 300ms ease; }
.portfolio-progress span.is-active { width: 30px; background: var(--yellow); }

.image-card { transform: translate3d(0, var(--parallax-y, 0), 0); transition: box-shadow 300ms ease, border-color 300ms ease; will-change: transform; }
.motion-ready .image-card.reveal.is-visible { transform: translate3d(0, var(--parallax-y, 0), 0); }
.image-card:hover { border-color: rgba(252, 202, 70, 0.75); box-shadow: 0 26px 58px rgba(13, 59, 102, 0.2); }
.feature-list li { opacity: 1; transition: opacity 500ms ease, transform 500ms ease; transition-delay: var(--item-delay, 0ms); }
.motion-ready .feature-list.reveal:not(.is-visible) li { opacity: 0; transform: translateX(-18px); }
.btn { position: relative; overflow: hidden; transition: transform 220ms ease, background 220ms ease, color 220ms ease, box-shadow 220ms ease; }
.btn::after { content: ""; position: absolute; inset: -50%; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.5) 50%, transparent 62%); transform: translateX(-70%) rotate(8deg); transition: transform 550ms ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13, 59, 102, 0.16); }
.btn:hover::after { transform: translateX(70%) rotate(8deg); }
.btn:focus-visible, .slider-dot:focus-visible, .menu-toggle:focus-visible, .nav-links a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@keyframes hero-enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes services-heading-enter { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes hero-media-enter { from { opacity: 0; transform: translateX(38px) scale(.97); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes hero-orbit { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(70px, 45px, 0) scale(1.12); } }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { position: absolute; inset: 100% 0 auto 0; display: none; flex-direction: column; align-items: flex-start; background: var(--white); padding: 18px 24px 26px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .hero-grid, .split, .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .hero-slide { min-height: auto; padding: 56px 0 86px; }
  .hero-media img { height: 310px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .section::before, .section::after { transform: scale(.75); }
  .service-orbit { --orbit-depth: 230px; height: 440px; margin-top: 8px; }
  .hero-services, .services-showcase { min-height: 540px; }
  .service-orbit-full { --orbit-card-w: 138px; --orbit-card-h: 174px; --orbit-depth: 260px; height: 520px; margin-top: 0; }
  .service-orbit-full .orbit-icon { width: 52px; height: 52px; border-radius: 14px; }
  .service-orbit-full .orbit-icon svg { width: 27px; height: 27px; }
  .service-orbit-full .orbit-label { max-width: 116px; font-size: 13px; }
  .services-heading { top: 28px; font-size: clamp(27px, 6vw, 42px); }
  .identity-split { grid-template-columns: 1fr; }
  .identity-visual { min-height: 430px; }
  .identity-content { padding: 58px 32px 66px; }
  .typing-title { min-height: 0; }
  .services-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-card { flex-basis: min(82vw, 680px); }
}

@media (max-width: 560px) {
  .container { width: min(100% - 22px, 1120px); }
  .topbar { display: none; }
  .section { padding: 56px 0; }
  .nav { min-height: 68px; }
  .brand img { width: 48px; }
  .brand { font-size: 14px; }
  .nav-links { max-height: calc(100vh - 68px); overflow-y: auto; }
  .page-hero { padding: 72px 0; }
  .hero-media img, .image-card img { height: 230px; }
  .motion-ready .reveal, .motion-ready .reveal.reveal-left, .motion-ready .reveal.reveal-right { transform: translate3d(0, 22px, 0); }
  .service-orbit { --orbit-card-w: 108px; --orbit-card-h: 146px; --orbit-depth: 168px; height: 350px; width: calc(100% + 22px); margin-left: -11px; }
  .hero-services, .services-showcase { min-height: 420px; }
  .service-orbit-full { --orbit-card-w: 104px; --orbit-card-h: 140px; --orbit-depth: 155px; height: 400px; margin-top: 0; }
  .services-heading { top: 22px; width: calc(100% - 12px); font-size: clamp(23px, 7.5vw, 32px); }
  .services-heading::after { width: 58px; height: 3px; margin-top: 12px; }
  .code-background span:nth-child(5), .code-background span:nth-child(6), .browser-two { display: none; }
  .service-card { min-height: 300px; padding: 26px; }
  .identity-visual { min-height: 310px; }
  .identity-content { padding: 46px 22px 54px; }
  .identity-badge { right: 16px; bottom: 16px; padding: 10px 12px; font-size: 10px; }
  .services-catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { min-height: 330px; padding: 27px; }
  .portfolio-heading { align-items: flex-start; flex-direction: column; margin-bottom: 28px; }
  .portfolio-controls { align-self: flex-end; }
  .portfolio-track { gap: 16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .portfolio-card { flex-basis: 88vw; border-radius: 16px; }
  .portfolio-card figcaption { left: 18px; right: 18px; bottom: 16px; grid-template-columns: 1fr; }
  .portfolio-card figcaption > span { grid-column: auto; font-size: 9px; }
  .portfolio-card a { display: none; }
  .cta-band { padding: 44px 0; }
  .site-footer { padding-top: 52px; }
  .orbit-card { padding: 12px 8px; gap: 10px; border-radius: 13px; }
  .orbit-icon { width: 43px; height: 43px; border-radius: 12px; }
  .orbit-icon svg { width: 23px; height: 23px; }
  .orbit-label { max-width: 92px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
  .motion-ready .reveal, .motion-ready .reveal.reveal-left, .motion-ready .reveal.reveal-right { opacity: 1; transform: none; }
  .hero-media, .image-card { transform: none !important; }
  .orbit-inner { animation: none; transform: rotateX(-8deg) rotateY(18deg); }
  .code-background span, .browser-outline { animation: none; }
  .motion-ready .service-card.reveal, .motion-ready .service-card.reveal.is-visible { transform: none; }
  .typing-cursor { display: none; }
  .motion-ready .typing-support > p, .motion-ready .typing-support > .feature-list { opacity: 1; transform: none; }
  .motion-ready .typing-support > .btn { opacity: 1; transform: none; }
  .motion-ready .catalog-card.reveal, .motion-ready .catalog-card.reveal.is-visible { transform: none; }
}
