:root {
  --bg: #f5f8ff;
  --surface: #ffffff;
  --text: #0a1638;
  --muted: #4f5f8d;
  --primary: #1d4dff;
  --accent: #00a6ff;
  --border: #dce4ff;
  --radius: 14px;
  --shadow: 0 14px 30px rgba(18, 47, 152, 0.16);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 6% -8%, rgba(61, 102, 255, 0.09), rgba(61, 102, 255, 0) 60%),
    radial-gradient(960px 520px at 94% 8%, rgba(0, 178, 255, 0.08), rgba(0, 178, 255, 0) 62%),
    radial-gradient(860px 480px at 52% 102%, rgba(115, 92, 236, 0.07), rgba(115, 92, 236, 0) 66%),
    var(--bg);
  background-attachment: scroll;
  animation: none;
}

body {
  position: relative;
  isolation: isolate;
}

body.home-page::before,
body.inner-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body.home-page::before {
  background-image:
    linear-gradient(180deg, rgba(248, 251, 255, 0.88), rgba(248, 251, 255, 0.94)),
    url("../images/slider/Service-Company-Website-Template-2x-1140.jpg");
  background-size: cover;
  background-position: center top;
  opacity: 0.22;
}

body.inner-page::before {
  background: linear-gradient(180deg, rgba(243, 248, 255, 0.8), rgba(255, 255, 255, 0.92));
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, rgba(0, 178, 255, 0.9), rgba(35, 82, 255, 0.7));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 8px 18px rgba(35, 82, 255, 0.32);
  transition: opacity 0.2s ease;
}

.custom-cursor-enabled .cursor-trail {
  opacity: 0.95;
}

.custom-cursor-enabled a:hover ~ .cursor-trail,
.custom-cursor-enabled button:hover ~ .cursor-trail {
  opacity: 1;
}

.container {
  width: min(1320px, 94vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(232, 241, 255, 0.98));
  border-bottom: 1px solid #b8ccff;
  backdrop-filter: none;
  box-shadow: 0 8px 24px rgba(20, 54, 160, 0.1);
  overflow: visible;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(26, 63, 180, 0.1), rgba(30, 86, 233, 0.08) 52%, rgba(43, 134, 255, 0.1));
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: -35%;
  top: 0;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  animation: none;
  pointer-events: none;
}

.site-header .container,
.ai-hero .container {
  width: min(1460px, 96vw);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  position: relative;
}

.nav-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #1a3fb4, #1e56e9 55%, #2b86ff);
  opacity: 0.85;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  color: #1a3da8;
}

.brand-logo {
  width: 178px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-block;
  background-image: url("../images/logo/fav-6-100x100.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: transparent;
  font-size: 0;
  flex-shrink: 0;
}

.brand > span:not(.brand-badge) {
  display: none;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  color: #1a3da8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  margin-right: 1.8rem;
}

.main-nav > a,
.menu-item-has-children > a {
  color: var(--muted);
  font-weight: 600;
  padding: 0.45rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.main-nav > a.active,
.main-nav > a:hover,
.menu-item-has-children > a.active,
.menu-item-has-children > a:hover {
  color: #1538ba;
  border-color: var(--primary);
}

.menu-item-has-children { position: relative; }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  display: none;
  z-index: 120;
}

.services-menu {
  position: static;
  padding-bottom: 16px;
  margin-bottom: -16px;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1360px, 97vw);
  background: #f3f4f8;
  border: 1px solid #e8ebf5;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(15, 27, 61, 0.12);
  display: none;
  grid-template-columns: 1.1fr 1fr 1fr;
  overflow: hidden;
  z-index: 140;
}

.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}

.services-menu:hover > .mega-menu,
.services-menu:focus-within > .mega-menu,
.services-menu.menu-open > .mega-menu {
  display: grid;
}

.mega-col {
  padding: 2.2rem 2.2rem 2rem;
}

.mega-col + .mega-col {
  border-left: 1px solid #e5e8f2;
}

.mega-feature h3 {
  margin: 0 0 1rem;
  font-size: 2.45rem;
  color: #102148;
}

.mega-feature img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.mega-feature p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #102148;
}

.mega-feature .learn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: #ff5a1f;
  font-weight: 600;
}

.mega-group {
  margin-bottom: 1.4rem;
}

.mega-group:last-child {
  margin-bottom: 0;
}

.mega-group h4 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  color: #11234c;
}

.mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: #15254d;
  font-weight: 500;
  font-size: 0.93rem;
  line-height: 1.35;
  padding: 0.28rem 0;
}

.mega-link:hover {
  color: #102148;
}

.mega-link .arrow {
  color: #ff5a1f;
  font-weight: 700;
  flex-shrink: 0;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.16rem;
  margin-left: 0.25rem;
}

.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #1d3ea9;
  border: 1px solid #dbe4ff;
  background: #f7f9ff;
  border-radius: 6px;
  padding: 0.18rem 0.4rem;
  line-height: 1.2;
  white-space: nowrap;
}

.header-contact a:hover {
  background: #eaf0ff;
}

.header-contact .contact-icon {
  width: 12px;
  text-align: center;
  font-size: 0.72rem;
}

.header-contact .contact-icon.whatsapp-icon {
  color: #25d366;
  font-size: 0.7rem;
}

.expertise-mega {
  max-height: min(82vh, 780px);
  overflow-y: auto;
  overflow-x: hidden;
}

.expertise-parent {
  font-weight: 700;
  color: #11234c;
}

.expertise-child {
  font-size: 0.9rem;
  color: #24335a;
  padding-left: 0.15rem;
}

.submenu a {
  display: block;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  color: var(--muted);
  border-bottom: 0;
}

.submenu a:hover,
.submenu a.active {
  background: #eef3ff;
  color: #173dc6;
}

.menu-item-has-children:hover > .submenu,
.menu-item-has-children:focus-within > .submenu { display: block; }

.submenu .menu-item-has-children { position: relative; }
.submenu .menu-item-has-children > .submenu {
  top: 0;
  left: calc(100% + 8px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, #1d4dff, #009cff);
  box-shadow: var(--shadow);
}

.btn-light {
  border: 1px solid var(--border);
  background: #fff;
  color: #1e43d3;
}

.page-hero {
  padding: 2.6rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0.5rem 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.breadcrumb { color: var(--muted); font-size: 0.92rem; }
.lead { color: var(--muted); line-height: 1.7; }

.section { padding: 2.8rem 0; }
.section-head {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 1rem;
}

.section-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.2;
}

.section-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 8px 20px rgba(15, 27, 61, 0.06);
}

.card h3 {
  margin: 0.45rem 0;
  font-size: 1.14rem;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.7rem;
}
.meta {
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.97rem;
}

.hero {
  padding: 3.2rem 0;
}

.ai-hero {
  padding: 0.8rem 0 2.2rem;
}

.ai-hero-slider {
  position: relative;
  min-height: 590px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d5e2ff;
  box-shadow: 0 16px 34px rgba(40, 77, 189, 0.16);
  isolation: isolate;
}

.ai-slide {
  position: absolute;
  inset: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  transition: none;
}

.ai-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: none;
}

.ai-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1rem;
}

.ai-copy {
  max-width: 760px;
  padding: 4rem 3rem;
  position: relative;
  z-index: 2;
}

.ai-slide .year-ghost,
.ai-slide .kicker,
.ai-slide .floating-title,
.ai-slide .lead,
.ai-slide .btn,
.ai-slide .ai-media img {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.ai-slide .ai-media img {
  transform: translate3d(24px, 0, 0);
}

.ai-slide.active .year-ghost,
.ai-slide.active .kicker,
.ai-slide.active .floating-title,
.ai-slide.active .lead,
.ai-slide.active .btn,
.ai-slide.active .ai-media img {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition: none;
}

.ai-slide.active .year-ghost { transition-delay: 0.08s; }
.ai-slide.active .kicker { transition-delay: 0.14s; }
.ai-slide.active .floating-title { transition-delay: 0.22s; }
.ai-slide.active .lead { transition-delay: 0.3s; }
.ai-slide.active .btn { transition-delay: 0.38s; }
.ai-slide.active .ai-media img { transition-delay: 0.2s; }

.year-ghost {
  position: absolute;
  left: 2.8rem;
  top: 1.2rem;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(103, 108, 214, 0.12);
  pointer-events: none;
  user-select: none;
}

.ai-copy .kicker {
  color: #2d408f;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
}

.floating-title {
  margin: 0;
  font-size: clamp(1.9rem, 4.1vw, 3.55rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #2d3f89;
  animation: none;
  position: relative;
  z-index: 2;
}

.floating-title span {
  display: block;
  margin-top: 0.2rem;
  color: #4c44ea;
}

.ai-copy .lead {
  max-width: 52ch;
  margin: 0.85rem 0 1.3rem;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

.ai-copy .btn {
  min-width: 160px;
  min-height: 48px;
  font-size: 0.98rem;
  position: relative;
  z-index: 2;
}

.ai-media {
  display: none;
}

.ai-media img {
  display: none;
}

.ai-slide::before,
.ai-slide::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ai-bg-1 {
  background-image:
    linear-gradient(90deg, rgba(244, 247, 255, 0.9) 0%, rgba(244, 247, 255, 0.78) 42%, rgba(61, 86, 255, 0.22) 100%),
    url("../images/slider/man-standing-laptop2.png");
  background-size: cover;
  background-position: center right;
}

.ai-bg-1::before {
  width: 520px;
  height: 520px;
  left: -120px;
  top: -180px;
  background: radial-gradient(circle, rgba(96, 83, 231, 0.12), rgba(96, 83, 231, 0));
  animation: none;
}

.ai-bg-1::after {
  width: 560px;
  height: 560px;
  right: -140px;
  bottom: -210px;
  background: radial-gradient(circle, rgba(74, 167, 255, 0.18), rgba(74, 167, 255, 0));
  animation: none;
}

.ai-bg-2 {
  background-image:
    linear-gradient(90deg, rgba(244, 247, 255, 0.9) 0%, rgba(244, 247, 255, 0.78) 42%, rgba(61, 86, 255, 0.22) 100%),
    url("../images/slider/banner-lady.png");
  background-size: cover;
  background-position: center right;
}

.ai-bg-2::before {
  width: 620px;
  height: 620px;
  left: 35%;
  top: -280px;
  background: radial-gradient(circle, rgba(109, 101, 243, 0.16), rgba(109, 101, 243, 0));
  animation: none;
}

.ai-bg-2::after {
  width: 460px;
  height: 460px;
  left: -170px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(73, 172, 255, 0.14), rgba(73, 172, 255, 0));
}

.ai-bg-3 {
  background-image:
    linear-gradient(90deg, rgba(244, 247, 255, 0.9) 0%, rgba(244, 247, 255, 0.78) 42%, rgba(61, 86, 255, 0.22) 100%),
    url("../images/slider/man-standing-laptop2.png");
  background-size: cover;
  background-position: center right;
}

.ai-bg-3::before {
  width: 580px;
  height: 580px;
  right: -120px;
  top: -170px;
  background: radial-gradient(circle, rgba(108, 91, 239, 0.17), rgba(108, 91, 239, 0));
  animation: none;
}

.ai-bg-3::after {
  width: 420px;
  height: 420px;
  left: 12%;
  bottom: -180px;
  background: radial-gradient(circle, rgba(64, 192, 232, 0.14), rgba(64, 192, 232, 0));
}

.ai-slide.active .floating-title {
  animation: none;
}

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

@keyframes drift {
  0%,
  100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}

@keyframes pulseGlow {
  0%,
  100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ambientShift {
  0% {
    background-position: 0% 0%, 100% 0%, 50% 100%, 0 0;
  }
  50% {
    background-position: 4% 2%, 96% 4%, 52% 96%, 0 0;
  }
  100% {
    background-position: 7% 4%, 93% 8%, 49% 92%, 0 0;
  }
}

@keyframes headerShine {
  0% { transform: translateX(0); }
  100% { transform: translateX(420%); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1rem;
  align-items: center;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.home-block {
  padding: 3.2rem 0;
}

.home-block:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(34, 83, 255, 0.04), rgba(255, 255, 255, 0));
}

.expertise-spotlight {
  background: linear-gradient(180deg, #f6f8ff, #f2f6ff);
}

.expertise-spotlight-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.orbit-showcase {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  border: 2px dotted var(--border);
  border-radius: 50%;
}

.orbit-ring-inner {
  width: 430px;
  height: 430px;
}

.orbit-ring-outer {
  width: 540px;
  height: 540px;
  opacity: 0.85;
}

.orbit-core {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  box-shadow: var(--shadow);
}

.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.orbit-dot-1 { top: 96px; left: 138px; }
.orbit-dot-2 { top: 112px; left: 248px; }
.orbit-dot-3 { top: 165px; right: 105px; }
.orbit-dot-4 { bottom: 108px; right: 122px; }

.orbit-avatar {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.orbit-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbit-avatar-1 {
  width: 150px;
  height: 150px;
  top: 8px;
  left: 225px;
}

.orbit-avatar-2 {
  width: 62px;
  height: 62px;
  top: 190px;
  left: 28px;
}

.orbit-avatar-3 {
  width: 160px;
  height: 160px;
  top: 225px;
  right: 22px;
}

.orbit-avatar-4 {
  width: 150px;
  height: 150px;
  bottom: 54px;
  left: 72px;
}

.orbit-avatar-5 {
  width: 84px;
  height: 84px;
  bottom: 120px;
  left: 320px;
}

.expertise-spotlight-copy .section-title {
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.expertise-spotlight-copy .section-title span {
  color: var(--primary);
}

.expertise-spotlight-copy .lead {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.expertise-spotlight-copy .btn {
  margin-top: 0.55rem;
}

.team-members {
  background: linear-gradient(180deg, #f8faff, #f3f7ff);
  padding: 2.4rem 0 2.5rem;
}

.team-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

.team-directory {
  display: grid;
  gap: 1.25rem;
}

.team-intro {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: 760px;
  margin: 0 auto 0.2rem;
  text-align: center;
}

.team-intro .section-title {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(1.45rem, 2.25vw, 2rem);
}

.team-grid-expanded {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.team-gallery-slider {
  position: relative;
  border: 1px solid #dfe7ff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(18, 39, 112, 0.08);
  padding: 1rem;
}

.team-gallery-slider .slide {
  display: none;
}

.team-gallery-slider .slide.active {
  display: block;
}

.team-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.team-gallery-card {
  border: 1px solid #e3e9ff;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(21, 39, 112, 0.06);
}

.team-gallery-image {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f9ff, #edf3ff);
  border: 1px solid #dbe4ff;
  border-radius: 10px;
  padding: 0;
}

.team-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 10px;
}

.team-gallery-card h3 {
  margin: 0.8rem 0.8rem 0.25rem;
  font-size: 1.03rem;
  line-height: 1.25;
  color: #13254f;
}

.team-gallery-card p {
  margin: 0 0.8rem 0.85rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5f6e9f;
  font-weight: 700;
}

.team-gallery-slider .team-gallery-controls {
  position: static;
  margin-top: 1rem;
  justify-content: flex-end;
  gap: 0.9rem;
}

.team-gallery-slider .team-gallery-controls button {
  width: 44px;
  height: 44px;
}

.team-flow-grid {
  width: 100%;
  display: grid;
  gap: 1rem;
}

.team-flow-card {
  position: relative;
  color: #1a2547;
  border-radius: 12px;
  padding: 1.05rem 0.9rem 0.9rem;
  text-align: center;
  min-height: auto;
  border: 1px solid #dfe7ff;
  background: #fff;
  box-shadow: 0 10px 18px rgba(21, 39, 112, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.team-flow-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--team-strip), #8fb0ff);
}

.team-flow-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(21, 39, 112, 0.12);
}

.team-flow-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  padding: 4px;
  background: #fff;
  border: 2px solid #cfddff;
  position: relative;
  z-index: 2;
}

.team-flow-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: 0;
}

.team-flow-card h3 a {
  color: inherit;
}

.team-flow-card h3 {
  margin: 0;
  font-size: 1rem;
}

.team-flow-card p {
  margin: 0.32rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  position: relative;
  z-index: 2;
}

.team-flow-card .team-role {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f6e9f;
  font-weight: 700;
}

.tfc-orange { --team-strip: #ff6b44; background: #ffffff; }
.tfc-blue { --team-strip: #1f7bdd; background: #ffffff; }
.tfc-purple { --team-strip: #8550df; background: #ffffff; }
.tfc-teal { --team-strip: #1bb9a4; background: #ffffff; }

.team-flow-controls {
  right: 0.45rem;
  top: 0.45rem;
  bottom: auto;
}

.team-flow-controls button {
  background: rgba(255, 255, 255, 0.95);
  color: #1d3fbf;
}

@media (max-width: 1240px) {
  .team-grid-expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .team-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.process-follow {
  background: linear-gradient(180deg, #f6f8ff, #f4f7ff);
}

.why-choose {
  background: linear-gradient(180deg, #ffffff, #f8faff);
}

.why-choose .section-head {
  justify-items: center;
  text-align: center;
  margin-bottom: 1.25rem;
}

.why-choose .grid {
  align-items: stretch;
}

.why-choose .card {
  height: 100%;
}

.success-stories {
  background: linear-gradient(180deg, #eef2ff, #f6f8ff);
}

.success-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.success-head .btn {
  border-radius: 999px;
  padding-inline: 1.3rem;
}

.project-grid-controls {
  display: inline-flex;
  gap: 0.5rem;
  margin-left: auto;
}

.project-grid-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(26, 61, 168, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #173dc6;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.project-grid-controls button:hover {
  background: #3043a5;
  color: #fff;
  transform: translateY(-2px);
}

.success-grid.is-paged .success-card {
  display: none;
}

.success-grid.is-paged .success-card.visible {
  display: block;
}

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

.success-card {
  border: 1px solid #e4e8ff;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(34, 58, 148, 0.08);
  padding: 0.85rem;
}

.success-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  height: 340px;
  background: #eef3ff;
}

.success-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  cursor: zoom-in;
}

.project-lightbox {
  width: min(96vw, 1320px);
  max-height: 92vh;
  border: 0;
  padding: 0;
  background: transparent;
  overflow: auto;
}

.project-lightbox::backdrop {
  background: rgba(13, 19, 40, 0.82);
}

.project-lightbox-wrap {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(22, 39, 105, 0.34);
}

.project-lightbox-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: #f4f7ff;
  margin: 0 auto;
}

.project-lightbox-close,
.project-lightbox-prev,
.project-lightbox-next {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 26, 62, 0.72);
  color: #fff;
  cursor: pointer;
  line-height: 1;
}

.project-lightbox-close {
  top: 0.7rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.3rem;
}

.project-lightbox-prev,
.project-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 1.4rem;
}

.project-lightbox-prev {
  left: 0.7rem;
}

.project-lightbox-next {
  right: 0.7rem;
}

.project-lightbox-caption {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.94rem;
  color: #2a3d74;
  border-top: 1px solid #e4ebff;
}

@media (max-width: 640px) {
  .project-lightbox-prev,
  .project-lightbox-next {
    width: 40px;
    height: 40px;
  }
}

.success-card-foot {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.success-card-foot h3 {
  margin: 0;
  font-size: 1.7rem;
  color: #1a2648;
}

.success-card-foot .btn {
  border-radius: 999px;
  min-width: 140px;
}

.prefooter-contact {
  padding-top: 0.2rem;
  padding-bottom: 1.3rem;
}

.prefooter-contact-strip {
  border-radius: 14px;
  background: linear-gradient(135deg, #1a3fb4, #1e56e9 55%, #2b86ff);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.6rem;
  box-shadow: 0 12px 24px rgba(24, 63, 180, 0.22);
}

.prefooter-contact-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
  color: #fff;
}

.prefooter-contact-item p {
  margin: 0 0 0.15rem;
  font-size: 1.06rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.96);
}

.prefooter-contact-item:last-child {
  border-left: 1px solid rgba(223, 234, 255, 0.42);
  padding-left: 1.2rem;
}

.process-follow .section-title {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  text-align: left;
}

.process-flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.process-card {
  position: relative;
  border-radius: 10px;
  padding: 1.45rem 1rem 1.2rem;
  color: #fff;
  min-height: auto;
  padding: 24px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-shadow: 0 16px 28px rgba(24, 37, 93, 0.14);
  z-index: 2;
}

.process-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.process-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0.55rem 0 0.6rem;
  text-align: left;
  color: inherit;
}

.process-card p {
  font-size: 0.93rem;
  line-height: 1.58;
  text-align: left;
  color: inherit;
}

.process-link-arrow {
  position: absolute;
  top: 50%;
  right: -1.25rem;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(145deg, #3154ff, #00b2ff);
  border: 2px solid #ffffff;
  box-shadow: 0 8px 20px rgba(25, 61, 182, 0.32);
  z-index: 4;
  pointer-events: none;
  animation: processArrowMove 1.2s ease-in-out infinite;
}

.process-flow-grid .process-card:last-child .process-link-arrow {
  display: none;
}

@keyframes processArrowMove {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
    box-shadow: 0 8px 20px rgba(25, 61, 182, 0.32);
  }
  50% {
    transform: translateY(-50%) translateX(6px);
    box-shadow: 0 12px 24px rgba(25, 61, 182, 0.4);
  }
}

.process-icon {
  font-size: 2rem;
  margin-bottom: 0;
}

.pc-orange { background: linear-gradient(160deg, #ff7446, #f4582f); }
.pc-blue { background: linear-gradient(160deg, #2f89ff, #2165dc); }
.pc-purple { background: linear-gradient(160deg, #8d5dff, #6a3fe6); }
.pc-teal { background: linear-gradient(160deg, #21bca8, #169786); }

.ai-hero-slider .slide {
  display: block;
}

.slider-controls {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.slider-controls button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(26, 61, 168, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #173dc6;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.slider-controls button:hover {
  background: #3043a5;
  color: #fff;
  transform: translateY(-2px);
}

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

.highlight-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  box-shadow: 0 8px 20px rgba(15, 27, 61, 0.06);
}

.highlight-feature {
  background: linear-gradient(180deg, #f4f7ff, #ffffff);
}

.highlight-card h3 {
  margin: 0.5rem 0;
  font-size: 1.18rem;
}

.highlight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.services-feature-slider {
  margin-top: 1rem;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 1.3rem 1.1rem 3.2rem;
  box-shadow: 0 8px 20px rgba(15, 27, 61, 0.06);
}

.services-feature-slider .slide {
  display: none;
}

.services-feature-slider .slide.active {
  display: block;
}

.service-feature-slide h3 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
  color: #102148;
}

.service-feature-slide p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  line-height: 1.7;
}

.service-feature-slide .tech-stack {
  margin: 0;
  color: #3f56a5;
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.reveal-up {
  opacity: 0;
  transform: translateY(12px) scale(0.992);
  transition: none;
}

body.home-page .reveal-up {
  transform: none;
  transition: none;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-feature-controls {
  bottom: 0.85rem;
  right: 0.85rem;
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: #eef3ff;
}

.auto-content-block {
  background: linear-gradient(180deg, rgba(35, 82, 255, 0.04), rgba(255, 255, 255, 0));
  border-top: 1px solid #e8eeff;
}

.auto-content-head .lead {
  max-width: 78ch;
}

.auto-content-grid {
  margin-top: 0.85rem;
}

.auto-content-card {
  border-left: 4px solid #2a56ff;
  background: linear-gradient(180deg, #ffffff, #f8faff);
}

.auto-content-card p {
  margin: 0.35rem 0 0;
  color: #5b6a98;
  line-height: 1.7;
}

.auto-content-panels {
  margin-top: 1rem;
}

.auto-list-card {
  background: #ffffff;
}

.auto-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: #5d6b99;
  line-height: 1.75;
}

.auto-faq-grid {
  margin-top: 1rem;
}

.auto-faq-card {
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
}

.auto-faq-card h3 {
  font-size: 1.03rem;
  margin-bottom: 0.38rem;
}

.auto-faq-card p {
  margin: 0;
  color: #5d6b99;
  line-height: 1.68;
}

.simple-layout .page-hero {
  padding: 2.1rem 0 1.1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.65rem;
}

.simple-layout main .container {
  width: min(1320px, 94vw);
}

.simple-layout .page-hero h1 {
  font-size: clamp(1.95rem, 3.2vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 0.45rem;
}

.simple-layout .breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b88b2;
}

.simple-layout .lead {
  max-width: 78ch;
  color: #51608e;
}

.simple-layout .section,
.simple-layout .home-block {
  padding: 1.65rem 0;
  background: transparent;
}

.simple-layout .section.alt,
.simple-layout .team-members,
.simple-layout .process-follow,
.simple-layout .why-choose,
.simple-layout .auto-content-block {
  background: transparent;
  border-top: 0;
}

.simple-layout .grid,
.simple-layout .grid-2,
.simple-layout .grid-3,
.simple-layout .grid-4,
.simple-layout .highlight-grid,
.simple-layout .process-flow-grid,
.simple-layout .team-gallery-grid {
  display: block;
}

.simple-layout .grid > *,
.simple-layout .highlight-grid > *,
.simple-layout .process-flow-grid > *,
.simple-layout .team-gallery-grid > * {
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #e7edff;
}

.simple-layout .grid > *:last-child,
.simple-layout .highlight-grid > *:last-child,
.simple-layout .process-flow-grid > *:last-child,
.simple-layout .team-gallery-grid > *:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.simple-layout .card,
.simple-layout .highlight-card,
.simple-layout .process-card,
.simple-layout .team-gallery-card,
.simple-layout .services-feature-slider,
.simple-layout .service-feature-slide,
.simple-layout .auto-content-card,
.simple-layout .auto-faq-card,
.simple-layout .auto-list-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.simple-layout main [class*="card"],
.simple-layout main [class*="feature"],
.simple-layout main [class*="panel"] {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.simple-layout .process-card::after,
.simple-layout .team-flow-card::before {
  display: none;
}

.simple-layout .card h3,
.simple-layout .highlight-card h3,
.simple-layout .process-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.simple-layout .card p,
.simple-layout .highlight-card p,
.simple-layout .process-card p,
.simple-layout .meta {
  color: #586791;
  line-height: 1.72;
}

.simple-layout .meta li {
  margin-bottom: 0.32rem;
}

.simple-layout .meta li:last-child {
  margin-bottom: 0;
}

.simple-layout a {
  color: #2148cf;
}

.simple-layout main p a,
.simple-layout main li a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.simple-layout .inner-page-note {
  padding-top: 0.8rem;
}

.simple-layout .inner-page-note .container {
  border-top: 1px solid #dfe7ff;
  padding-top: 1rem;
}

.simple-layout .inner-page-note h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
}

.simple-layout .inner-page-note p {
  margin: 0.28rem 0 0.55rem;
  color: #56648f;
}

.simple-layout.inner-redesign {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 280px);
}

.simple-layout.inner-redesign .page-hero {
  padding: 2.4rem 0 1.25rem;
  border-bottom: 0;
  margin-bottom: 0.1rem;
}

.simple-layout.inner-redesign .page-hero .container {
  border-left: 4px solid #2651e6;
  padding-left: 1rem;
}

.simple-layout.inner-redesign .section {
  padding: 1.25rem 0;
}

.simple-layout.inner-redesign .inner-page-overview {
  padding-top: 0.35rem;
}

.simple-layout.inner-redesign .inner-page-overview .container {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e2e9ff;
}

.simple-layout.inner-redesign .inner-page-overview h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.22rem, 2.15vw, 1.58rem);
  color: #142a60;
}

.simple-layout.inner-redesign .inner-page-overview p {
  margin: 0.3rem 0;
  color: #55638d;
}

.simple-layout.inner-redesign .inner-stack {
  display: grid;
  gap: 0.95rem;
}

.simple-layout.inner-redesign .inner-block,
.simple-layout.inner-redesign article,
.simple-layout.inner-redesign .card,
.simple-layout.inner-redesign .highlight-card,
.simple-layout.inner-redesign .process-card,
.simple-layout.inner-redesign .team-gallery-card,
.simple-layout.inner-redesign .team-flow-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  padding: 0 0 0.8rem 0.95rem;
  border-left: 2px solid #e1e8ff;
}

.simple-layout.inner-redesign article:last-child,
.simple-layout.inner-redesign .inner-block:last-child {
  padding-bottom: 0;
}

.simple-layout.inner-redesign h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
  color: #1a2f67;
}

.simple-layout.inner-redesign p,
.simple-layout.inner-redesign li,
.simple-layout.inner-redesign .meta {
  color: #5a6892;
  line-height: 1.75;
}

.simple-layout.inner-redesign .inline-text-link,
.simple-layout.inner-redesign a.btn,
.simple-layout.inner-redesign a.btn-light,
.simple-layout.inner-redesign a.btn-primary {
  display: inline;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  color: #2148cf;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.simple-layout.inner-redesign .slider-controls,
.simple-layout.inner-redesign .service-feature-controls,
.simple-layout.inner-redesign .team-gallery-controls,
.simple-layout.inner-redesign .process-icon,
.simple-layout.inner-redesign .process-link-arrow,
.simple-layout.inner-redesign .icon-badge {
  display: none;
}

.simple-layout .process-icon,
.simple-layout .icon-badge,
.simple-layout .process-link-arrow,
.simple-layout .slider-controls {
  display: none;
}

.simple-layout .team-gallery-slider {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.simple-layout .team-gallery-image {
  border: 0;
  border-radius: 0;
  background: transparent;
  height: auto;
}

.simple-layout .team-gallery-image img {
  border-radius: 0;
  max-height: 460px;
}

.site-footer {
  margin-top: 1.4rem;
  background: linear-gradient(125deg, #0f1b3d, #132b67 56%, #1b3f95 100%);
  color: #dce6ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr 1.1fr;
  gap: 1.2rem;
  padding: 2rem 0 1.6rem;
}

.footer-brand-block {
  min-width: 0;
}

.footer-brand-block h4 {
  display: none;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.7rem;
}

.footer-logo {
  width: 160px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.site-footer h4 {
  margin: 0 0 0.65rem;
  color: #fff;
}

.site-footer p {
  margin: 0;
  color: #bfc9ea;
  line-height: 1.65;
}

.footer-address {
  margin-top: 0.55rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  color: #dce6ff;
}

.footer-links a:hover {
  color: #fff;
}

.copy {
  border-top: 1px solid rgba(220, 230, 255, 0.2);
  color: #b7c3e9;
  font-size: 0.9rem;
}

.copy .container {
  padding: 0.9rem 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.1rem;
  border: 1px solid #dfe7ff;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(24, 51, 145, 0.08);
}

#contactStatus {
  margin-bottom: 0.8rem;
}

.form-status {
  border-radius: 10px;
  padding: 0.62rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-status.success {
  border: 1px solid #b8ebce;
  background: #edfbf3;
  color: #0c7a39;
}

.form-status.error {
  border: 1px solid #f6c5c5;
  background: #fff1f1;
  color: #b3261e;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a2d62;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.68rem 0.78rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form .grid.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.contact-form .grid.grid-2 > label,
.contact-form > label {
  display: grid;
  gap: 0.42rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a2d62;
}

.contact-form label input,
.contact-form label select,
.contact-form label textarea {
  width: 100%;
  border: 1px solid #d4defc;
  border-radius: 10px;
  padding: 0.72rem 0.82rem;
  font: inherit;
  color: var(--text);
  background: #fdfefe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form label input:focus,
.contact-form label select:focus,
.contact-form label textarea:focus {
  outline: none;
  border-color: #7f9bff;
  box-shadow: 0 0 0 3px rgba(84, 123, 255, 0.16);
}

.contact-form label textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form > .btn {
  justify-self: end;
  align-self: start;
  min-width: auto;
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
  border-radius: 9px;
}

.simple-layout .contact-form .grid.grid-2 {
  display: grid;
}

.simple-layout .contact-form .grid.grid-2 > * {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.simple-layout .contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: start;
}

.simple-layout .contact-side-stack {
  display: grid;
  gap: 0;
  align-content: start;
}

.simple-layout .contact-side-stack > .card {
  margin-bottom: 0;
}

.contact-side-stack .address-line {
  margin-top: 0.45rem;
  font-weight: 600;
}

@media (max-width: 760px) {
  .contact-form {
    padding: 0.9rem;
  }

  .contact-form .grid.grid-2 {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .simple-layout .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .simple-layout .contact-side-stack {
    gap: 0;
  }
}

.footer-subscribe h4 {
  margin: 0 0 0.45rem;
}

.footer-subscribe p {
  margin: 0 0 0.75rem;
}

.subscribe-form {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.subscribe-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(220, 230, 255, 0.38);
  border-radius: 9px;
  padding: 0.58rem 0.7rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.96);
  color: #11234c;
}

.subscribe-form input::placeholder {
  color: #6b7ba8;
}

.subscribe-form button {
  border: 0;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 600;
  padding: 0.58rem 0.8rem;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .grid-4,
  .highlight-grid,
  .process-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .team-layout {
    grid-template-columns: 1fr;
  }

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

  .success-image-wrap {
    height: 290px;
  }

  .prefooter-contact-strip {
    border-radius: 12px;
    grid-template-columns: 1fr;
    text-align: left;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
  }

  .prefooter-contact-item:last-child {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(223, 234, 255, 0.42);
    padding-top: 0.7rem;
  }

  .prefooter-contact-item h3 {
    font-size: 1.3rem;
  }

  .prefooter-contact-item p {
    font-size: 0.98rem;
  }

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

  .expertise-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .orbit-showcase {
    min-height: 460px;
  }

  .orbit-ring-inner {
    width: 350px;
    height: 350px;
  }

  .orbit-ring-outer {
    width: 440px;
    height: 440px;
  }

  .orbit-core {
    width: 250px;
    height: 250px;
  }

  .orbit-avatar-1 { width: 120px; height: 120px; top: 18px; left: 220px; }
  .orbit-avatar-2 { width: 56px; height: 56px; top: 175px; left: 62px; }
  .orbit-avatar-3 { width: 130px; height: 130px; top: 220px; right: 68px; }
  .orbit-avatar-4 { width: 120px; height: 120px; bottom: 40px; left: 82px; }
  .orbit-avatar-5 { width: 74px; height: 74px; bottom: 98px; left: 280px; }

  .orbit-dot-1 { top: 90px; left: 130px; }
  .orbit-dot-2 { top: 106px; left: 214px; }
  .orbit-dot-3 { top: 156px; right: 112px; }
  .orbit-dot-4 { bottom: 88px; right: 132px; }

  .process-link-arrow {
    display: none;
  }
}

@media (max-width: 920px) {
  .ai-hero-slider,
  .ai-grid {
    min-height: auto;
  }

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

  .ai-slide {
    position: relative;
    inset: auto;
    opacity: 0;
    visibility: hidden;
    transform: none;
  }

  .ai-slide.active {
    opacity: 1;
    visibility: visible;
  }

  .ai-copy {
    padding: 2rem 1rem 1.1rem;
  }

  .year-ghost {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
    left: 1rem;
    top: 0.8rem;
  }

  .floating-title {
    font-size: clamp(1.55rem, 6.2vw, 2.45rem);
    line-height: 1.15;
  }

  .ai-media img {
    display: none;
  }

  .highlight-card {
    min-height: 280px;
  }

  .team-layout {
    grid-template-columns: 1fr;
  }

  .team-flow-grid {
    grid-template-columns: 1fr;
  }

  .team-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-gallery-grid {
    grid-template-columns: 1fr;
  }

  .team-gallery-image {
    height: 320px;
  }

  .team-flow-avatar {
    width: 112px;
    height: 112px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 4vw;
    flex-direction: column;
    align-items: start;
    margin-right: 0;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .brand-logo {
    width: 148px;
    height: 48px;
  }

  .menu-item-has-children,
  .submenu {
    width: 100%;
  }

  .services-menu {
    position: relative;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: 10px;
    margin-top: 0.45rem;
    box-shadow: none;
    border: 1px solid var(--border);
    background: #fff;
  }

  .expertise-mega {
    max-height: none;
    overflow: visible;
  }

  .services-menu:hover > .mega-menu,
  .services-menu:focus-within > .mega-menu {
    display: none;
  }

  .main-nav.open .services-menu .mega-menu {
    display: none;
  }

  .main-nav.open .services-menu.submenu-open .mega-menu {
    display: grid;
  }

  .mega-col {
    padding: 0.9rem 0.8rem;
  }

  .mega-col + .mega-col {
    border-left: 0;
    border-top: 1px solid #eef1f8;
  }

  .mega-feature {
    display: none;
  }

  .header-contact {
    display: none;
  }

  .submenu {
    position: static;
    display: grid;
    margin-top: 0.4rem;
    min-width: 100%;
  }

  .submenu .menu-item-has-children > .submenu {
    left: 0;
    margin-left: 0.45rem;
    margin-top: 0.35rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1200px, 94vw);
  }

  .grid-3,
  .grid-4,
  .highlight-grid,
  .process-flow-grid,
  .footer-grid,
  .success-grid {
    grid-template-columns: 1fr;
  }

  .success-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-grid-controls {
    margin-left: 0;
  }

  .success-card-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .success-image-wrap {
    height: 250px;
  }

  .form-grid,
  .subscribe-form {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .team-grid-expanded {
    grid-template-columns: 1fr;
  }

  .team-gallery-image {
    height: 300px;
  }

  .ai-media img {
    display: none;
  }

  .orbit-showcase {
    min-height: 360px;
  }

  .orbit-ring-inner {
    width: 270px;
    height: 270px;
  }

  .orbit-ring-outer {
    width: 340px;
    height: 340px;
  }

  .orbit-core {
    width: 188px;
    height: 188px;
  }

  .orbit-avatar-1 { width: 86px; height: 86px; top: 18px; left: 168px; }
  .orbit-avatar-2 { width: 46px; height: 46px; top: 134px; left: 28px; }
  .orbit-avatar-3 { width: 96px; height: 96px; top: 170px; right: 28px; }
  .orbit-avatar-4 { width: 88px; height: 88px; bottom: 34px; left: 38px; }
  .orbit-avatar-5 { width: 56px; height: 56px; bottom: 70px; left: 214px; }

  .orbit-dot {
    width: 9px;
    height: 9px;
  }

  .orbit-dot-1 { top: 62px; left: 86px; }
  .orbit-dot-2 { top: 78px; left: 144px; }
  .orbit-dot-3 { top: 118px; right: 62px; }
  .orbit-dot-4 { bottom: 68px; right: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html,
  body {
    animation: none;
  }

  .cursor-trail {
    display: none !important;
  }

  .site-header::after {
    animation: none;
  }

  .reveal-up,
  .reveal-up.in-view {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

