:root {
  --bg: #030711;
  --bg-deep: #060b16;
  --panel: rgba(11, 22, 38, 0.72);
  --panel-strong: rgba(9, 17, 31, 0.92);
  --text: #f5f8ff;
  --muted: #aeb8c8;
  --cyan: #20d9ff;
  --cyan-soft: rgba(32, 217, 255, 0.2);
  --gold: #f7b444;
  --orange: #ff7a2f;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --cream: #f7f4ee;
  --cream-soft: #faf7f0;
  --cream-warm: #f4efe6;
  --ink: #07101d;
  --ink-muted: #506070;
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(32, 217, 255, 0.13), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(247, 180, 68, 0.12), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

body.loading {
  overflow: hidden;
}

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

img,
svg,
video {
  max-width: 100%;
}

.mobile-line-break {
  display: none;
}

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

.container {
  width: min(100% - 32px, var(--max-width));
  min-width: 0;
  margin: 0 auto;
}

.intro-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(32, 217, 255, 0.14), transparent 24%),
    radial-gradient(circle at 52% 54%, rgba(247, 180, 68, 0.09), transparent 18%),
    linear-gradient(135deg, #01040a, #06101e 52%, #02040a);
  transition: opacity 0.72s ease, visibility 0.72s ease;
}

.intro-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-shell {
  position: relative;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 34px 38px 30px;
}

.loader-shell::before,
.loader-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.loader-shell::before {
  border: 1px solid rgba(32, 217, 255, 0.18);
  box-shadow: 0 0 52px rgba(32, 217, 255, 0.18);
  transform: scale(1.05);
}

.loader-shell::after {
  inset: 18px;
  border: 1px solid rgba(247, 180, 68, 0.18);
  filter: blur(0.2px);
  animation: loaderPulse 2.2s ease-in-out infinite;
}

.intro-loader p {
  margin: 4px 0 0;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(32, 217, 255, 0.28);
}

.intro-loader span:not(.brand-mark) {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.98);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.04);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 7, 17, 0.78);
  border-bottom: 1px solid rgba(32, 217, 255, 0.1);
  backdrop-filter: blur(18px);
}

.navbar {
  width: min(100% - 32px, var(--max-width));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(247, 180, 68, 0.48);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 35%),
    linear-gradient(145deg, #e9edf4, #8f98a8 35%, #f6c76a 62%, #b76a2d);
  color: #07101d;
  font-weight: 950;
  box-shadow: 0 0 28px rgba(32, 217, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.loader-mark {
  width: 74px;
  height: 74px;
  font-size: 1.36rem;
  box-shadow: 0 0 34px rgba(32, 217, 255, 0.2), 0 0 20px rgba(247, 180, 68, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #dce7f8;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transition: width 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(247, 180, 68, 0.45);
  border-radius: var(--radius);
  background: rgba(247, 180, 68, 0.08);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: rgba(32, 217, 255, 0.85);
  box-shadow: 0 0 24px rgba(32, 217, 255, 0.2);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  min-height: calc(100svh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.38;
  background-image:
    linear-gradient(30deg, rgba(32, 217, 255, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(32, 217, 255, 0.08) 87.5%, rgba(32, 217, 255, 0.08)),
    linear-gradient(150deg, rgba(32, 217, 255, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(32, 217, 255, 0.08) 87.5%, rgba(32, 217, 255, 0.08)),
    linear-gradient(30deg, rgba(32, 217, 255, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(32, 217, 255, 0.08) 87.5%, rgba(32, 217, 255, 0.08)),
    linear-gradient(150deg, rgba(32, 217, 255, 0.08) 12%, transparent 12.5%, transparent 87%, rgba(32, 217, 255, 0.08) 87.5%, rgba(32, 217, 255, 0.08));
  background-position: 0 0, 0 0, 32px 56px, 32px 56px;
  background-size: 64px 112px;
}

.hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(32, 217, 255, 0.22), transparent 62%);
  transform: translate(-50%, -50%);
  opacity: 0.65;
  z-index: -1;
  transition: opacity 0.2s ease;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 0;
  text-align: center;
}

.hero-copy {
  width: min(100%, 920px);
  min-width: 0;
}

.hero-copy h1 {
  width: 100%;
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.55rem, 4.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: inline;
  background: linear-gradient(95deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  width: 100%;
  max-width: 850px;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.section {
  padding: 104px 0;
  position: relative;
}

.intro-band,
.dark-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(32, 217, 255, 0.035));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#services,
#why-us,
.contact-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(32, 217, 255, 0.08), transparent 30%),
    radial-gradient(circle at 86% 12%, rgba(247, 180, 68, 0.06), transparent 28%),
    linear-gradient(180deg, rgba(3, 7, 17, 0.98), rgba(6, 13, 25, 0.98));
}

#services,
.clients-section,
#why-us,
#faqs,
.contact-section {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.clients-section,
#faqs {
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(32, 217, 255, 0.1), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(247, 180, 68, 0.16), transparent 30%),
    linear-gradient(180deg, var(--cream-soft), var(--cream));
  border-top: 1px solid rgba(7, 16, 29, 0.08);
  border-bottom: 1px solid rgba(7, 16, 29, 0.08);
}

.clients-section h2,
#faqs h2 {
  color: var(--ink);
}

.clients-section .section-kicker,
#faqs .section-kicker {
  color: #a66d18;
}

.clients-section .section-subtitle,
#faqs .section-subtitle {
  color: var(--ink-muted);
}

.testimonials {
  color: var(--text);
  background:
    radial-gradient(circle at 14% 18%, rgba(32, 217, 255, 0.12), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(247, 180, 68, 0.1), transparent 28%),
    linear-gradient(180deg, #030711, #07101d 52%, #030711);
  border-top: 1px solid rgba(247, 180, 68, 0.18);
  border-bottom: 1px solid rgba(32, 217, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.testimonials h2 {
  color: var(--text);
}

.testimonials .section-kicker {
  color: var(--gold);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  width: 100%;
  max-width: 850px;
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.split-grid > p,
.contact-grid > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 48px;
}

.section-heading.compact {
  max-width: 720px;
}

.section-heading-centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

.section-subtitle {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}

.clients-heading::after,
#services .section-heading::after {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin: 24px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  box-shadow: 0 0 20px rgba(32, 217, 255, 0.22);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.flip-card {
  position: relative;
  min-height: 286px;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: 1200px;
  outline: none;
}

.service-card {
  min-height: 370px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.42s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.flip-card:hover .flip-card-inner,
.flip-card:focus-visible .flip-card-inner,
.flip-card.is-active .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  min-height: inherit;
  padding: 32px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 88% 0%, rgba(32, 217, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(8, 16, 30, 0.76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.flip-card-front::before,
.flip-card-back::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(32, 217, 255, 0.7), rgba(247, 180, 68, 0.64), transparent);
  opacity: 0.55;
  transition: opacity 0.22s ease;
}

.flip-card-front::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72%;
  background: linear-gradient(0deg, rgba(32, 217, 255, 0.13), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.flip-card-back {
  align-items: flex-start;
  transform: rotateY(180deg);
  border-color: rgba(247, 180, 68, 0.5);
  background:
    radial-gradient(circle at 14% 12%, rgba(247, 180, 68, 0.16), transparent 30%),
    radial-gradient(circle at 86% 4%, rgba(32, 217, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(16, 40, 62, 0.94), rgba(5, 11, 22, 0.96));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34), 0 0 34px rgba(32, 217, 255, 0.16);
}

.service-card .flip-card-back {
  border-color: rgba(247, 180, 68, 0.5);
  justify-content: center;
  gap: 16px;
  padding: 34px 30px;
  background:
    radial-gradient(circle at 20% 20%, rgba(42, 210, 255, 0.12), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(212, 168, 72, 0.18), transparent 25%),
    linear-gradient(145deg, #faf7f0, #f4efe6);
  box-shadow: 0 22px 58px rgba(42, 31, 18, 0.16), 0 0 28px rgba(32, 217, 255, 0.1);
}

.service-card .flip-card-back::before {
  content: "";
  position: absolute;
  inset: -45% auto auto -35%;
  width: 84%;
  height: 190%;
  opacity: 0.34;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(14deg);
  transition: opacity 0.22s ease;
}

.service-card .flip-card-back::after {
  content: "";
  position: absolute;
  inset: 18px;
  opacity: 0.42;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(212, 168, 72, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(32, 217, 255, 0.34) 0 1px, transparent 2px);
  background-position: 12px 18px, 78px 62px;
  background-size: 96px 82px, 124px 110px;
}

.flip-card:hover .flip-card-face,
.flip-card:focus-visible .flip-card-face,
.flip-card.is-active .flip-card-face {
  border-color: rgba(247, 180, 68, 0.5);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3), 0 0 30px rgba(32, 217, 255, 0.16);
}

.flip-card:hover .flip-card-front::before,
.flip-card:focus-visible .flip-card-front::before,
.flip-card.is-active .flip-card-front::before,
.flip-card:hover .flip-card-back::before,
.flip-card:focus-visible .flip-card-back::before,
.flip-card.is-active .flip-card-back::before {
  opacity: 1;
}

.service-card:hover .flip-card-back::before,
.service-card:focus-visible .flip-card-back::before,
.service-card.is-active .flip-card-back::before {
  opacity: 0.52;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(32, 217, 255, 0.26);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(32, 217, 255, 0.12), rgba(247, 180, 68, 0.06));
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 20px rgba(32, 217, 255, 0.08);
  transition: opacity 0.22s ease, transform 0.22s ease, width 0.22s ease, height 0.22s ease;
}

.service-card-title {
  margin: 0;
  max-width: 220px;
  font-size: 1.14rem;
  line-height: 1.28;
}

.service-card-teaser,
.flip-card-back p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.flip-card-back h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.28;
}

.flip-card-back p {
  position: relative;
  z-index: 1;
  color: #d9e6f7;
}

.service-card .flip-card-back h3 {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.26;
}

.service-card .flip-card-back p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

.feature-list,
.faq-list {
  display: grid;
  gap: 16px;
}

.feature-list div,
.stat-card,
blockquote,
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.feature-list div {
  padding: 20px;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span,
blockquote p,
details p {
  color: var(--muted);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.client-card {
  min-height: 248px;
  text-align: center;
}

.client-card .flip-card-front,
.client-card .flip-card-back {
  align-items: center;
  text-align: center;
  padding: 24px;
  border-color: rgba(7, 16, 29, 0.1);
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 217, 255, 0.06), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(250, 247, 240, 0.74));
  box-shadow: 0 18px 42px rgba(42, 31, 18, 0.12);
}

.client-card .flip-card-back {
  border-color: rgba(247, 180, 68, 0.48);
  background:
    radial-gradient(circle at 15% 15%, rgba(247, 180, 68, 0.17), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(32, 217, 255, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(13, 32, 51, 0.96), rgba(5, 11, 22, 0.96));
}

.client-logo-wrap {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(7, 16, 29, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(244, 239, 230, 0.52));
  overflow: hidden;
}

.client-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.client-logo-wrap-wide {
  padding: 14px;
}

.client-logo-wrap-wide img {
  width: 100%;
  height: 100%;
}

.client-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.client-card .flip-card-back h3 {
  color: var(--text);
}

.client-card .flip-card-back p {
  color: #dce7f8;
}

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

.stat-card {
  padding: 26px;
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  background: linear-gradient(95deg, var(--cyan), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  color: #edf5ff;
  font-weight: 800;
  margin-bottom: 10px;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.placeholder-section {
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 4%, rgba(32, 217, 255, 0.09), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(247, 180, 68, 0.14), transparent 30%),
    linear-gradient(180deg, var(--cream), var(--cream-soft));
  border-top: 1px solid rgba(7, 16, 29, 0.08);
  border-bottom: 1px solid rgba(7, 16, 29, 0.08);
}

.placeholder-section h2 {
  color: var(--ink);
}

.placeholder-section .section-kicker {
  color: #a66d18;
}

.placeholder-section .section-subtitle {
  color: var(--ink-muted);
}

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

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

.placeholder-card {
  min-height: 132px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px solid rgba(7, 16, 29, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(244, 239, 230, 0.72));
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 18px 42px rgba(42, 31, 18, 0.1);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.placeholder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 217, 255, 0.32);
  box-shadow: 0 20px 48px rgba(42, 31, 18, 0.13), 0 0 22px rgba(32, 217, 255, 0.1);
}

.certifications-section {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(32, 217, 255, 0.12), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(247, 180, 68, 0.1), transparent 28%),
    linear-gradient(180deg, #030711, #07101d 52%, #030711);
  border-top: 1px solid rgba(247, 180, 68, 0.16);
  border-bottom: 1px solid rgba(32, 217, 255, 0.14);
}

.certifications-section h2 {
  color: var(--text);
}

.certifications-section .section-kicker {
  color: var(--gold);
}

.certifications-section .section-subtitle {
  color: var(--muted);
}

.certifications-section .placeholder-card {
  border-color: rgba(32, 217, 255, 0.18);
  background:
    radial-gradient(circle at 86% 0%, rgba(32, 217, 255, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022)),
    rgba(9, 18, 33, 0.78);
  color: var(--text);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3);
}

.certifications-section .placeholder-card:hover {
  border-color: rgba(247, 180, 68, 0.48);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34), 0 0 30px rgba(32, 217, 255, 0.14);
}

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

blockquote {
  margin: 0;
  padding: 28px;
}

.testimonials blockquote,
#faqs details {
  border-color: rgba(7, 16, 29, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 239, 230, 0.72));
  box-shadow: 0 18px 46px rgba(42, 31, 18, 0.11);
}

.testimonials blockquote {
  border-color: rgba(32, 217, 255, 0.18);
  background:
    radial-gradient(circle at 88% 0%, rgba(32, 217, 255, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.022)),
    rgba(9, 18, 33, 0.78);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.testimonials blockquote:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 180, 68, 0.48);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34), 0 0 30px rgba(32, 217, 255, 0.14);
}

blockquote p {
  margin: 0 0 16px;
}

.testimonials blockquote p,
#faqs details p {
  color: var(--ink-muted);
}

.testimonials blockquote p {
  color: #d9e6f7;
}

blockquote cite {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.testimonials blockquote cite {
  color: var(--gold);
}

details {
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

#faqs summary {
  color: var(--ink);
}

details[open] {
  border-color: rgba(32, 217, 255, 0.32);
  box-shadow: 0 0 28px rgba(32, 217, 255, 0.12);
}

#faqs details[open],
#faqs details:hover {
  border-color: rgba(32, 217, 255, 0.34);
  box-shadow: 0 18px 46px rgba(42, 31, 18, 0.12), 0 0 24px rgba(32, 217, 255, 0.1);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(247, 180, 68, 0.24);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dce7f8;
  font-weight: 700;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.full-field,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  padding: 13px 14px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

select option {
  background: #08111f;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(32, 217, 255, 0.14), 0 0 22px rgba(247, 180, 68, 0.08);
}

.contact-form button {
  border: 1px solid rgba(247, 180, 68, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(95deg, rgba(247, 180, 68, 0.92), rgba(255, 122, 47, 0.92));
  color: #09111e;
  padding: 14px 18px;
  min-height: 48px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(247, 180, 68, 0.22), 0 0 22px rgba(32, 217, 255, 0.14);
}

.form-note {
  min-height: 1.5em;
  margin: 0;
  color: var(--cyan);
}

.form-note.is-success {
  color: #8ff5d2;
}

.form-note.is-error {
  color: #ffd0a3;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #02050c;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.footer-grid p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--cyan);
}

@media (max-width: 1023px) {
  .menu-toggle {
    display: block;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(32, 217, 255, 0.2);
    border-radius: var(--radius);
    background: rgba(4, 9, 18, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 13px;
  }

  .nav-cta {
    margin-top: 4px;
    justify-content: center;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-grid {
    padding: 72px 0;
    min-height: auto;
  }

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

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

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

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

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

@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  [id] {
    scroll-margin-top: 132px;
  }

  .site-header {
    background: rgba(3, 7, 17, 0.94);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
  }

  .navbar {
    width: min(100% - 24px, var(--max-width));
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    justify-self: start;
  }

  .container,
  .hero-grid,
  .hero-copy,
  .section-heading,
  .section-heading-centered,
  .split-grid > *,
  .contact-grid > * {
    min-width: 0;
    max-width: 100%;
  }

  .hero-copy h1,
  .hero-copy p,
  h2,
  .section-subtitle,
  .split-grid > p,
  .contact-grid > div > p {
    max-width: calc(100vw - 48px);
    overflow-wrap: anywhere;
  }

  .hero-copy h1 span {
    display: block;
  }

  .mobile-line-break {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid rgba(32, 217, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: #edf5ff;
    font-size: 0.88rem;
  }

  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    border-color: rgba(247, 180, 68, 0.5);
    background: rgba(247, 180, 68, 0.08);
    box-shadow: 0 0 18px rgba(32, 217, 255, 0.12);
  }

  .nav-cta {
    margin-top: 0;
    border-color: rgba(247, 180, 68, 0.42);
  }
}

@media (max-width: 767px) {
  body.loading {
    overflow-x: hidden;
  }

  .site-header {
    position: sticky;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 78px 0 84px;
  }

  .hero-glow {
    left: 50% !important;
    top: 42% !important;
    width: 260px;
    height: 260px;
    opacity: 0.34;
  }

  .hero-pattern {
    opacity: 0.28;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 8vw, 2.18rem);
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  h2 {
    font-size: clamp(1.85rem, 7vw, 2.15rem);
  }

  .flip-card,
  .service-card,
  .client-card {
    min-height: auto;
    height: auto;
    perspective: none;
  }

  .flip-card-inner {
    height: auto;
    min-height: 0;
    transform: none !important;
    -webkit-transform-style: flat;
    transform-style: flat;
    transition: none;
  }

  .flip-card:hover .flip-card-inner,
  .flip-card:focus-visible .flip-card-inner,
  .flip-card.is-active .flip-card-inner {
    transform: none !important;
  }

  .flip-card-face {
    position: relative;
    inset: auto;
    min-height: 0;
    transform: none !important;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .flip-card-front {
    min-height: 220px;
  }

  .service-card .flip-card-front {
    padding: 28px;
  }

  .service-card .flip-card-front::after {
    content: "Tap to view details";
    position: static;
    width: fit-content;
    height: auto;
    margin-top: 2px;
    padding: 8px 11px;
    border: 1px solid rgba(247, 180, 68, 0.3);
    border-radius: 999px;
    background: rgba(247, 180, 68, 0.08);
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 1;
  }

  .service-card.is-active .flip-card-front::after {
    content: "Tap to close";
  }

  .service-card .flip-card-back,
  .client-card .flip-card-back {
    display: none;
    margin-top: 12px;
    padding: 24px;
  }

  .service-card.is-active .flip-card-back,
  .client-card.is-active .flip-card-back {
    display: flex;
  }

  .service-card.is-active .flip-card-front,
  .client-card.is-active .flip-card-front {
    border-color: rgba(247, 180, 68, 0.45);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24), 0 0 24px rgba(32, 217, 255, 0.12);
  }

  .service-card .flip-card-back p,
  .client-card .flip-card-back p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .client-card .flip-card-front {
    min-height: 230px;
  }

  .client-logo-wrap {
    height: 118px;
  }

  .contact-form {
    padding: 20px;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }

  .contact-form button {
    width: 100%;
  }
}

/* CSS-only corporate motion background for the hero */
.hero {
  --hero-drift-x: 110px;
  --hero-drift-y: -38px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  filter: blur(22px);
}

.hero::before {
  top: 8%;
  left: -12%;
  width: clamp(360px, 42vw, 680px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(18, 163, 168, 0.16), rgba(18, 163, 168, 0.07) 38%, transparent 70%);
  animation: heroGlowDrift 16s ease-in-out infinite alternate;
}

.hero::after {
  --hero-drift-x: -92px;
  --hero-drift-y: 58px;
  top: -16%;
  right: -10%;
  width: clamp(320px, 36vw, 590px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(57, 181, 74, 0.13), rgba(57, 181, 74, 0.055) 40%, transparent 70%);
  animation: heroGlowDrift 18s ease-in-out 1.5s infinite alternate-reverse;
}

.hero-pattern {
  z-index: 1;
  opacity: 0.48;
  background-image:
    radial-gradient(circle, rgba(18, 163, 168, 0.15) 0 1px, transparent 1.5px),
    linear-gradient(rgba(18, 163, 168, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 163, 168, 0.038) 1px, transparent 1px);
  background-position: 0 0, center, center;
  background-size: 52px 52px, 52px 52px, 52px 52px;
  animation: heroPatternDrift 18s ease-in-out infinite alternate;
  will-change: background-position, opacity;
}

.hero-glow {
  z-index: 1;
  opacity: 0.34;
  mix-blend-mode: multiply;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

@keyframes heroGlowDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(0.96);
    opacity: 0.74;
  }

  55% {
    opacity: 1;
  }

  100% {
    transform: translate3d(var(--hero-drift-x), var(--hero-drift-y), 0) scale(1.08);
    opacity: 0.82;
  }
}

@keyframes heroPatternDrift {
  0% {
    background-position: 0 0, center, center;
    opacity: 0.38;
  }

  100% {
    background-position: 28px 18px, center, center;
    opacity: 0.52;
  }
}

@media (max-width: 767px) {
  .hero {
    --hero-drift-x: 30px;
    --hero-drift-y: -14px;
  }

  .hero::before {
    top: 16%;
    left: -42%;
    width: 410px;
    filter: blur(26px);
    opacity: 0.72;
  }

  .hero::after {
    --hero-drift-x: -24px;
    --hero-drift-y: 20px;
    top: -10%;
    right: -48%;
    width: 360px;
    filter: blur(28px);
    opacity: 0.62;
  }

  .hero-pattern {
    opacity: 0.32;
    background-size: 58px 58px, 58px 58px, 58px 58px;
    animation-duration: 22s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero-pattern {
    animation: none !important;
    will-change: auto;
  }

  .hero::before {
    transform: translate3d(24px, -8px, 0) scale(1);
    opacity: 0.78;
  }

  .hero::after {
    transform: translate3d(-18px, 12px, 0) scale(1);
    opacity: 0.7;
  }
}

@media (max-width: 640px) {
  .container,
  .navbar {
    width: min(100% - 24px, var(--max-width));
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    font-size: 0.7rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .section {
    padding: 72px 0;
  }

  h2 {
    font-size: clamp(1.55rem, 6.3vw, 1.8rem);
    line-height: 1.16;
  }

  .section-subtitle {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-copy h1 {
    font-size: clamp(1.82rem, 7.5vw, 2.05rem);
    text-wrap: initial;
  }

  .section-heading-centered,
  .section-heading-centered h2,
  .section-subtitle,
  .split-grid h2,
  .split-grid > p {
    max-width: min(100%, 320px);
  }

  .hero-copy p,
  h2,
  .section-subtitle,
  .split-grid > p {
    text-wrap: initial;
  }

  .services-grid,
  .clients-grid,
  .placeholder-grid,
  .certifications-grid,
  .testimonial-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Clean corporate accounting theme */
:root {
  --bg: #f8faf7;
  --bg-deep: #0b1f33;
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: #ffffff;
  --text: #102033;
  --muted: #5f6f7a;
  --cyan: #12a3a8;
  --cyan-soft: rgba(18, 163, 168, 0.14);
  --gold: #39b54a;
  --orange: #12a3a8;
  --border: #dde7e4;
  --shadow: 0 18px 48px rgba(11, 31, 51, 0.1);
  --cream: #f8faf7;
  --cream-soft: #ffffff;
  --cream-warm: #eaf7f4;
  --ink: #102033;
  --ink-muted: #5f6f7a;
  --radius: 12px;
}

body {
  background: #f8faf7;
  color: var(--ink);
}

.intro-loader {
  background:
    radial-gradient(circle at 42% 44%, rgba(18, 163, 168, 0.2), transparent 25%),
    radial-gradient(circle at 58% 58%, rgba(57, 181, 74, 0.14), transparent 22%),
    linear-gradient(145deg, #0b1f33, #123d5a);
}

.loader-shell::before {
  border-color: rgba(127, 224, 211, 0.3);
  box-shadow: 0 0 42px rgba(18, 163, 168, 0.18);
}

.loader-shell::after {
  border-color: rgba(132, 214, 141, 0.26);
}

.intro-loader p {
  color: #ffffff;
  text-shadow: none;
}

.intro-loader span:not(.brand-mark) {
  color: #d7ece8;
}

.brand-mark {
  border-color: rgba(18, 163, 168, 0.34);
  background: linear-gradient(145deg, #ffffff, #dff3ef);
  color: #0b1f33;
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.12), inset 0 1px 0 #ffffff;
}

.loader-mark {
  box-shadow: 0 18px 50px rgba(4, 18, 31, 0.3), 0 0 30px rgba(18, 163, 168, 0.16);
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(11, 31, 51, 0.09);
  box-shadow: 0 8px 28px rgba(11, 31, 51, 0.06);
}

.brand strong {
  color: #0b1f33;
}

.brand small {
  color: #5f6f7a;
}

.nav-links {
  color: #274054;
}

.nav-links a:not(.nav-cta)::after {
  background: linear-gradient(90deg, #12a3a8, #39b54a);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #0b1f33;
}

.nav-cta {
  border-color: transparent;
  background: linear-gradient(100deg, #12a3a8, #39b54a);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 163, 168, 0.18);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(18, 163, 168, 0.25);
}

.menu-toggle {
  border-color: #d7e5e1;
  background: #f5faf8;
}

.menu-toggle span {
  background: #0b1f33;
}

.hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(18, 163, 168, 0.12), transparent 28%),
    radial-gradient(circle at 82% 28%, rgba(57, 181, 74, 0.1), transparent 26%),
    linear-gradient(145deg, #f8faf7, #eaf7f4);
}

.hero-pattern {
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(18, 163, 168, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 163, 168, 0.045) 1px, transparent 1px);
  background-position: center;
  background-size: 48px 48px;
}

.hero-glow {
  background: radial-gradient(circle, rgba(18, 163, 168, 0.14), transparent 64%);
  opacity: 0.5;
}

.hero-copy h1 {
  color: #0b1f33;
}

.hero-copy h1 span {
  background: linear-gradient(95deg, #12a3a8, #39b54a);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy p {
  color: #506777;
}

.section-kicker {
  color: #128d91;
}

.clients-heading::after,
#services .section-heading::after {
  background: linear-gradient(90deg, transparent, #12a3a8, #39b54a, transparent);
  box-shadow: none;
}

.intro-band,
.dark-band {
  color: #102033;
  background: #ffffff;
  border-color: #dde7e4;
}

#services {
  color: #102033;
  background:
    radial-gradient(circle at 10% 0%, rgba(18, 163, 168, 0.07), transparent 28%),
    linear-gradient(180deg, #f8faf7, #ffffff);
  border-color: #dde7e4;
}

#services h2,
#why-us h2,
.contact-section h2 {
  color: #0b1f33;
}

#services .section-subtitle {
  color: #5f6f7a;
}

.flip-card-face,
.service-card .flip-card-front {
  border-color: #dbe8e5;
  background:
    radial-gradient(circle at 88% 0%, rgba(18, 163, 168, 0.08), transparent 34%),
    #ffffff;
  box-shadow: 0 16px 42px rgba(11, 31, 51, 0.09);
}

.flip-card-front::before,
.flip-card-back::before {
  background: linear-gradient(90deg, transparent, #12a3a8, #39b54a, transparent);
}

.flip-card-front::after {
  background: linear-gradient(0deg, rgba(18, 163, 168, 0.08), transparent);
}

.service-card-title,
.service-card .flip-card-front h3 {
  color: #0b1f33;
}

.service-card-teaser {
  color: #667680;
}

.service-card-icon {
  border-color: rgba(18, 163, 168, 0.24);
  background: linear-gradient(145deg, #eaf7f4, #f3fbf6);
  color: #128d91;
  box-shadow: none;
}

.service-card .flip-card-back {
  border-color: rgba(18, 163, 168, 0.34);
  background:
    radial-gradient(circle at 85% 12%, rgba(57, 181, 74, 0.1), transparent 28%),
    linear-gradient(145deg, #eaf7f4, #ffffff);
  box-shadow: 0 20px 48px rgba(11, 31, 51, 0.12);
}

.service-card .flip-card-back::before,
.service-card .flip-card-back::after {
  display: none;
}

.service-card .flip-card-back h3 {
  color: #0b1f33;
}

.service-card .flip-card-back p {
  color: #526572;
}

.flip-card:hover .flip-card-face,
.flip-card:focus-visible .flip-card-face,
.flip-card.is-active .flip-card-face {
  border-color: rgba(18, 163, 168, 0.42);
  box-shadow: 0 20px 48px rgba(11, 31, 51, 0.13), 0 0 0 3px rgba(18, 163, 168, 0.06);
}

.clients-section {
  color: #102033;
  background:
    radial-gradient(circle at 90% 10%, rgba(57, 181, 74, 0.07), transparent 27%),
    linear-gradient(180deg, #ffffff, #f8faf7);
  border-color: #dde7e4;
}

.clients-section h2,
.clients-section .section-kicker,
.clients-section .section-subtitle {
  color: inherit;
}

.clients-section .section-kicker {
  color: #128d91;
}

.clients-section .section-subtitle {
  color: #5f6f7a;
}

.client-card .flip-card-front {
  border-color: #dbe8e5;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(11, 31, 51, 0.09);
}

.client-logo-wrap {
  border-color: #e1ebe8;
  background: linear-gradient(180deg, #ffffff, #f5faf8);
}

.client-card .flip-card-back {
  border-color: rgba(18, 163, 168, 0.55);
  background:
    radial-gradient(circle at 90% 5%, rgba(57, 181, 74, 0.18), transparent 34%),
    linear-gradient(145deg, #123d5a, #0b1f33);
  box-shadow: 0 20px 50px rgba(11, 31, 51, 0.2);
}

.client-card .flip-card-back h3,
.client-card .flip-card-back p {
  color: #ffffff;
}

#why-us {
  color: #102033;
  background:
    radial-gradient(circle at 12% 10%, rgba(18, 163, 168, 0.09), transparent 28%),
    linear-gradient(180deg, #eaf7f4, #f8faf7);
  border-color: #d8e8e3;
}

.stat-card,
.feature-list div {
  border-color: #dbe8e5;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(11, 31, 51, 0.08);
}

.stat-card strong {
  background: linear-gradient(95deg, #12a3a8, #39b54a);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-card span,
.feature-list strong {
  color: #0b1f33;
}

.stat-card p,
.feature-list span {
  color: #5f6f7a;
}

.placeholder-section,
.certifications-section {
  color: #102033;
  background: #ffffff;
  border-color: #dde7e4;
}

.certifications-section {
  background: #f8faf7;
}

.placeholder-section h2,
.certifications-section h2 {
  color: #0b1f33;
}

.placeholder-section .section-kicker,
.certifications-section .section-kicker {
  color: #128d91;
}

.placeholder-section .section-subtitle,
.certifications-section .section-subtitle {
  color: #5f6f7a;
}

.placeholder-card,
.certifications-section .placeholder-card {
  border-color: #dbe8e5;
  background: #ffffff;
  color: #0b1f33;
  box-shadow: 0 14px 36px rgba(11, 31, 51, 0.08);
}

.placeholder-card:hover,
.certifications-section .placeholder-card:hover {
  border-color: rgba(18, 163, 168, 0.42);
  box-shadow: 0 18px 42px rgba(11, 31, 51, 0.11);
}

.testimonials {
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 18%, rgba(18, 163, 168, 0.17), transparent 31%),
    radial-gradient(circle at 86% 12%, rgba(57, 181, 74, 0.12), transparent 28%),
    linear-gradient(145deg, #123d5a, #0b1f33);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.testimonials h2 {
  color: #ffffff;
}

.testimonials .section-kicker {
  color: #87ddd4;
}

.testimonials blockquote {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(4, 18, 31, 0.2);
}

.testimonials blockquote:hover {
  border-color: rgba(125, 220, 207, 0.7);
  box-shadow: 0 22px 50px rgba(4, 18, 31, 0.26);
}

.testimonials blockquote p {
  color: #4f6370;
}

.testimonials blockquote cite {
  color: #128d91;
}

#faqs {
  color: #102033;
  background: #f8faf7;
  border-color: #dde7e4;
}

#faqs h2 {
  color: #0b1f33;
}

#faqs .section-kicker {
  color: #128d91;
}

#faqs details {
  border-color: #dbe8e5;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(11, 31, 51, 0.06);
}

#faqs summary {
  color: #0b1f33;
}

#faqs details p {
  color: #5f6f7a;
}

#faqs details[open],
#faqs details:hover {
  border-color: rgba(18, 163, 168, 0.45);
  box-shadow: 0 16px 38px rgba(11, 31, 51, 0.09);
}

.contact-section {
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 15%, rgba(18, 163, 168, 0.18), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(57, 181, 74, 0.12), transparent 26%),
    linear-gradient(145deg, #123d5a, #0b1f33);
  border-color: rgba(255, 255, 255, 0.1);
}

.contact-section h2,
.contact-section .section-kicker {
  color: #ffffff;
}

.contact-section .section-kicker {
  color: #87ddd4;
}

.contact-grid > div > p {
  color: #d5e3e7;
}

.contact-form {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 56px rgba(4, 18, 31, 0.24);
}

.contact-form label {
  color: #eef8f7;
}

input,
textarea,
select {
  border-color: #d7e5e1;
  background: #ffffff;
  color: #102033;
}

select option {
  background: #ffffff;
  color: #102033;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #12a3a8;
  box-shadow: 0 0 0 3px rgba(18, 163, 168, 0.16);
}

.contact-form button {
  border-color: transparent;
  background: linear-gradient(100deg, #12a3a8, #39b54a);
  color: #ffffff;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  box-shadow: 0 14px 32px rgba(18, 163, 168, 0.26);
}

.form-note {
  color: #d5eeea;
}

.form-note.is-success {
  color: #a7efb0;
}

.form-note.is-error {
  color: #ffd0ca;
}

.site-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  background: #081a2b;
  color: #ffffff;
}

.site-footer .brand strong {
  color: #ffffff;
}

.site-footer .brand small,
.footer-grid p {
  color: #b9cbd2;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #7fd8cf;
}

@media (max-width: 900px) {
  .site-header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(11, 31, 51, 0.08);
  }

  .nav-links a {
    border-color: #dbe8e5;
    background: #ffffff;
    color: #20394d;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    border-color: rgba(18, 163, 168, 0.45);
    background: #eaf7f4;
    color: #0b1f33;
    box-shadow: none;
  }

  .nav-cta {
    border-color: transparent !important;
    background: linear-gradient(100deg, #12a3a8, #39b54a) !important;
    color: #ffffff !important;
  }
}

@media (max-width: 767px) {
  .hero-copy p {
    width: calc(100vw - 48px);
    max-width: 320px;
  }

  .service-card .flip-card-front::after {
    border-color: rgba(18, 163, 168, 0.28);
    background: #eaf7f4;
    color: #128d91;
  }

  .service-card.is-active .flip-card-front,
  .client-card.is-active .flip-card-front {
    border-color: rgba(18, 163, 168, 0.45);
    box-shadow: 0 16px 38px rgba(11, 31, 51, 0.11);
  }
}

/* Final hero motion cascade */
.hero-pattern {
  z-index: 1;
  opacity: 0.48;
  background-image:
    radial-gradient(circle, rgba(18, 163, 168, 0.15) 0 1px, transparent 1.5px),
    linear-gradient(rgba(18, 163, 168, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 163, 168, 0.038) 1px, transparent 1px);
  background-position: 0 0, center, center;
  background-size: 52px 52px, 52px 52px, 52px 52px;
}

.hero-glow {
  z-index: 1;
  opacity: 0.34;
  mix-blend-mode: multiply;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .hero-pattern {
    opacity: 0.32;
    background-size: 58px 58px, 58px 58px, 58px 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero-pattern {
    animation: none !important;
    will-change: auto;
  }
}

/* Local hero video with a clean corporate readability layer */
.hero {
  min-height: calc(100vh - 78px);
  min-height: min(760px, calc(100svh - 78px));
  background: linear-gradient(145deg, #f8faf7, #eaf7f4);
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  aspect-ratio: auto;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(248, 250, 247, 0.78), rgba(234, 247, 244, 0.84)),
    radial-gradient(circle at 25% 20%, rgba(18, 163, 168, 0.18), transparent 35%),
    radial-gradient(circle at 78% 22%, rgba(57, 181, 74, 0.14), transparent 38%);
  filter: none;
  transform: none;
  opacity: 1;
  animation: none;
  will-change: auto;
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero-pattern {
  z-index: 1;
  opacity: 0.18;
  background-image:
    radial-gradient(circle, rgba(18, 163, 168, 0.12) 0 1px, transparent 1.5px),
    linear-gradient(rgba(18, 163, 168, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 163, 168, 0.025) 1px, transparent 1px);
  animation: none;
  will-change: auto;
}

.hero-glow {
  z-index: 1;
  opacity: 0.18;
  mix-blend-mode: multiply;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero {
    min-height: min(700px, calc(100svh - 122px));
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 70svh;
  }

  .hero-grid {
    min-height: inherit;
    padding: 80px 0 72px;
  }

  .hero-bg-video {
    object-fit: cover;
    object-position: center center;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(248, 250, 247, 0.86), rgba(234, 247, 244, 0.9)),
      radial-gradient(circle at 50% 20%, rgba(18, 163, 168, 0.14), transparent 42%);
  }

  .hero-pattern {
    opacity: 0.12;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
  }

  .hero {
    background:
      radial-gradient(circle at 20% 20%, rgba(18, 163, 168, 0.12), transparent 30%),
      radial-gradient(circle at 82% 24%, rgba(57, 181, 74, 0.09), transparent 28%),
      linear-gradient(145deg, #f8faf7, #eaf7f4);
  }
}

/* Keep the intro at 2.2 seconds even if media delays the window load event. */
.intro-loader {
  animation: introLoaderFallback 0.72s ease 2.2s forwards;
}

.intro-loader.is-hidden {
  animation: none;
}

@keyframes introLoaderFallback {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* Final platform, certification, and client review assets */
.platform-grid,
.certifications-grid {
  display: grid;
  gap: 20px;
}

.platform-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.asset-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px;
  border: 1px solid #dbe8e5;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(11, 31, 51, 0.08);
  text-align: center;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.asset-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 163, 168, 0.42);
  box-shadow: 0 18px 42px rgba(11, 31, 51, 0.12);
}

.asset-logo-wrap {
  width: 100%;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid #e4eeeb;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f6faf8);
  overflow: hidden;
}

.asset-logo-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.asset-card h3 {
  margin: 0;
  color: #0b1f33;
  font-size: 0.98rem;
  line-height: 1.35;
}

.certification-card {
  min-height: 300px;
  justify-content: space-between;
  padding: 26px;
}

.certification-logo-wrap {
  height: 210px;
  padding: 16px;
}

.testimonials {
  color: #102033;
  background:
    radial-gradient(circle at 14% 12%, rgba(18, 163, 168, 0.09), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(57, 181, 74, 0.07), transparent 26%),
    linear-gradient(180deg, #eaf7f4, #f8faf7);
  border-color: #dbe8e5;
}

.testimonials h2 {
  color: #0b1f33;
}

.testimonials .section-kicker {
  color: #128d91;
}

.testimonials .section-subtitle {
  color: #5f6f7a;
}

.testimonial-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.testimonials .review-card {
  grid-column: span 2;
  min-width: 0;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-color: #dbe8e5;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(11, 31, 51, 0.09);
}

.testimonials .review-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.testimonials .review-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.testimonials .review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 163, 168, 0.44);
  box-shadow: 0 20px 46px rgba(11, 31, 51, 0.13);
}

.review-rating {
  margin-bottom: 18px;
  color: #d29a24;
  font-size: 1.08rem;
  letter-spacing: 0.12em;
  line-height: 1;
}

.testimonials .review-card p {
  flex: 1;
  margin: 0 0 22px;
  color: #4f6370;
  font-size: 0.96rem;
  line-height: 1.72;
}

.testimonials .review-card cite {
  display: grid;
  gap: 3px;
  color: #128d91;
  font-style: normal;
}

.testimonials .review-card cite strong {
  color: #0b1f33;
  font-size: 0.96rem;
}

.testimonials .review-card cite span {
  color: #6a7b85;
  font-size: 0.84rem;
  font-weight: 600;
}

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

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

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

  .testimonials .review-card,
  .testimonials .review-card:nth-child(4),
  .testimonials .review-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .asset-card {
    padding: 16px;
  }

  .asset-logo-wrap {
    height: 88px;
    padding: 10px;
  }

  .certification-logo-wrap {
    height: 190px;
  }

  .testimonial-grid,
  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .testimonials .review-card {
    min-height: 0;
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 150px;
  }
}

/* Interactive software and certification cards */
.platform-card {
  min-height: 290px;
  padding: 0;
}

.certification-card {
  min-height: 350px;
  padding: 0;
}

.platform-card .flip-card-front,
.certification-card .flip-card-front {
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-color: #dbe8e5;
  background:
    radial-gradient(circle at 88% 0%, rgba(18, 163, 168, 0.08), transparent 34%),
    #ffffff;
  text-align: center;
  box-shadow: 0 14px 36px rgba(11, 31, 51, 0.08);
}

.platform-card .flip-card-back,
.certification-card .flip-card-back {
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 28px;
  border-color: rgba(18, 163, 168, 0.5);
  background:
    radial-gradient(circle at 86% 8%, rgba(57, 181, 74, 0.18), transparent 32%),
    linear-gradient(145deg, #123d5a, #0b1f33);
  box-shadow: 0 20px 48px rgba(11, 31, 51, 0.2);
  text-align: left;
}

.platform-card h3,
.certification-card h3 {
  margin: 0;
  color: #0b1f33;
  font-size: 1rem;
  line-height: 1.35;
}

.platform-card .flip-card-back h3,
.certification-card .flip-card-back h3 {
  color: #ffffff;
}

.platform-card .flip-card-back p,
.certification-card .flip-card-back p {
  margin: 0;
  color: #dcebea;
  font-size: 0.92rem;
  line-height: 1.65;
}

.platform-card .asset-logo-wrap {
  height: 112px;
}

.certification-card .certification-logo-wrap {
  height: 230px;
}

@media (max-width: 767px) {
  .platform-card,
  .certification-card {
    min-height: auto;
    height: auto;
  }

  .platform-card .flip-card-front,
  .certification-card .flip-card-front {
    min-height: 230px;
    padding: 24px;
  }

  .certification-card .flip-card-front {
    min-height: 310px;
  }

  .platform-card .flip-card-front::after,
  .certification-card .flip-card-front::after {
    content: "Tap to view details";
    position: static;
    width: fit-content;
    height: auto;
    margin-top: 2px;
    padding: 8px 11px;
    border: 1px solid rgba(18, 163, 168, 0.3);
    border-radius: 999px;
    background: #eaf7f4;
    color: #128d91;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 1;
  }

  .platform-card.is-active .flip-card-front::after,
  .certification-card.is-active .flip-card-front::after {
    content: "Tap to close";
  }

  .platform-card .flip-card-back,
  .certification-card .flip-card-back {
    display: none;
    margin-top: 12px;
    padding: 24px;
  }

  .platform-card.is-active .flip-card-back,
  .certification-card.is-active .flip-card-back {
    display: flex;
  }

  .platform-card.is-active .flip-card-front,
  .certification-card.is-active .flip-card-front {
    border-color: rgba(18, 163, 168, 0.45);
    box-shadow: 0 16px 38px rgba(11, 31, 51, 0.11);
  }

  .platform-card .asset-logo-wrap {
    height: 105px;
  }

  .certification-card .certification-logo-wrap {
    height: 210px;
  }
}

/* Final AtlantisWorld premium pass */
:root {
  --deep-navy: #0b1f33;
  --secondary-navy: #123d5a;
  --teal: #12a3a8;
  --deep-teal: #087f83;
  --green: #39b56a;
  --off-white: #f7faf8;
  --soft-mint: #eaf7f4;
  --dark-text: #102033;
  --muted-text: #5f6f7a;
  --section-title: clamp(2rem, 3.2vw, 2.85rem);
  --section-title-mobile: clamp(1.65rem, 7vw, 2.1rem);
}

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

[id] {
  scroll-margin-top: 112px;
}

.brand-logo-wrap {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 6px;
  border: 1px solid rgba(18, 163, 168, 0.24);
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #eef7f4);
  box-shadow: 0 12px 28px rgba(11, 31, 51, 0.1);
  overflow: hidden;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 10px;
}

.loader-mark {
  width: min(170px, 58vw);
  height: 98px;
  padding: 12px 16px;
  border-radius: 22px;
  border-color: rgba(125, 220, 207, 0.32);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 0 54px rgba(18, 163, 168, 0.24),
    0 0 28px rgba(57, 181, 106, 0.14),
    0 22px 60px rgba(0, 0, 0, 0.32);
  animation: loaderLogoIn 0.78s cubic-bezier(0.2, 0.75, 0.22, 1) both;
}

.loader-shell {
  animation: loaderShellIn 0.8s ease both;
}

@keyframes loaderLogoIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

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

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

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

.site-header {
  background: rgba(255, 255, 255, 0.94);
}

.brand strong {
  letter-spacing: 0.01em;
}

.nav-links {
  gap: 14px;
  font-size: 0.88rem;
}

.hero {
  color: #ffffff;
  background:
    radial-gradient(circle at 20% 18%, rgba(18, 163, 168, 0.2), transparent 34%),
    linear-gradient(145deg, var(--secondary-navy), var(--deep-navy));
}

.hero-bg-video {
  opacity: 0;
  filter: saturate(0.98) contrast(1.04);
  transition: opacity 0.9s ease;
}

.hero-bg-video.is-ready {
  opacity: 1;
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(7, 24, 39, 0.68), rgba(8, 45, 55, 0.6)),
    radial-gradient(circle at 25% 20%, rgba(18, 163, 168, 0.2), transparent 38%),
    radial-gradient(circle at 80% 25%, rgba(57, 181, 106, 0.16), transparent 38%);
}

.hero-copy h1 {
  color: #ffffff;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.28);
}

.hero-copy h1 span {
  background: linear-gradient(95deg, #7ee5dc, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy p {
  color: rgba(245, 250, 249, 0.92);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.section {
  padding: 104px 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(920px, calc(100% - 48px));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(18, 163, 168, 0.24), rgba(57, 181, 106, 0.2), transparent);
  pointer-events: none;
}

.section-heading,
.section-heading.compact {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.contact-grid > div > h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: var(--section-title);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-subtitle,
.contact-grid > div > p {
  max-width: 860px;
  margin: 18px auto 0;
  color: var(--muted-text);
  text-align: center;
  line-height: 1.68;
}

.section-heading::after,
.clients-heading::after,
#services .section-heading::after {
  content: "";
  display: block;
  width: 92px;
  height: 3px;
  margin: 24px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--green), transparent);
  box-shadow: 0 0 22px rgba(18, 163, 168, 0.18);
}

#services,
.placeholder-section,
.clients-section,
#faqs {
  color: var(--dark-text);
  background:
    radial-gradient(circle at 12% 4%, rgba(18, 163, 168, 0.07), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(57, 181, 106, 0.06), transparent 28%),
    linear-gradient(180deg, #ffffff, var(--off-white));
  border-color: #dbe8e5;
}

#why-us,
.certifications-section,
.testimonials,
.contact-section {
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 16%, rgba(18, 163, 168, 0.16), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(57, 181, 106, 0.11), transparent 28%),
    linear-gradient(145deg, var(--secondary-navy), var(--deep-navy));
  border-color: rgba(255, 255, 255, 0.1);
}

#services h2,
.placeholder-section h2,
.clients-section h2,
#faqs h2 {
  color: var(--deep-navy);
}

#why-us h2,
.certifications-section h2,
.testimonials h2,
.contact-section h2 {
  color: #ffffff;
}

#why-us .section-subtitle,
.certifications-section .section-subtitle,
.testimonials .section-subtitle,
.contact-grid > div > p {
  color: rgba(235, 246, 245, 0.78);
}

.intro-band {
  color: var(--dark-text);
  background: linear-gradient(180deg, var(--soft-mint), #ffffff);
  border-color: #dbe8e5;
}

.intro-band h2 {
  color: var(--deep-navy);
}

.intro-band .section-kicker {
  color: var(--deep-teal);
}

.intro-band .split-grid > p {
  color: var(--muted-text);
}

.services-grid,
.clients-grid {
  gap: 22px;
}

.service-card,
.client-card {
  transition: transform 0.36s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.service-card:hover,
.service-card:focus-within,
.client-card:hover,
.client-card:focus-within {
  transform: translateY(-6px);
}

.service-card .flip-card-face,
.client-card .flip-card-face {
  border-radius: 18px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

.service-card .flip-card-face::before,
.client-card .flip-card-face::before {
  left: 28px;
  right: 28px;
  height: 3px;
  opacity: 0.75;
}

.service-card .flip-card-front,
.client-card .flip-card-front {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    radial-gradient(circle at 92% 8%, rgba(18, 163, 168, 0.1), transparent 34%);
  border-color: rgba(18, 163, 168, 0.18);
}

.service-card .flip-card-back,
.client-card .flip-card-back {
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 12%, rgba(18, 163, 168, 0.2), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(57, 181, 106, 0.16), transparent 32%),
    linear-gradient(145deg, #123d5a, #0b1f33);
  border-color: rgba(126, 229, 220, 0.42);
  box-shadow: 0 24px 60px rgba(11, 31, 51, 0.2), 0 0 36px rgba(18, 163, 168, 0.14);
}

.service-card .flip-card-back h3,
.service-card .flip-card-back p,
.client-card .flip-card-back h3,
.client-card .flip-card-back p {
  color: #ffffff;
}

.service-card .flip-card-back p,
.client-card .flip-card-back p {
  color: rgba(230, 242, 241, 0.84);
}

.service-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: linear-gradient(145deg, rgba(18, 163, 168, 0.16), rgba(57, 181, 106, 0.1));
}

.service-card-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--deep-teal);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.client-logo-wrap {
  height: 126px;
  border-radius: 16px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.client-card h3 {
  color: var(--deep-navy);
}

.stat-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 54px rgba(4, 18, 31, 0.22);
}

.stat-card span {
  color: #ffffff;
}

.stat-card p {
  color: rgba(235, 246, 245, 0.76);
}

.platform-card .flip-card-front,
.certification-card .flip-card-front {
  border-radius: 18px;
}

.certification-card {
  min-height: 290px;
}

.certification-card .flip-card-front {
  min-height: 290px;
}

.certification-card .certification-logo-wrap {
  height: 130px;
  max-height: 130px;
}

.certification-card .certification-logo-wrap img {
  max-height: 118px;
}

.testimonials .review-card {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 88% 0%, rgba(18, 163, 168, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 54px rgba(4, 18, 31, 0.24);
  transition:
    transform 0.36s cubic-bezier(0.2, 0.75, 0.2, 1),
    border-color 0.36s ease,
    box-shadow 0.36s ease;
}

.testimonials .review-card::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  right: 22px;
  color: rgba(126, 229, 220, 0.22);
  font-size: 2rem;
  line-height: 1;
}

.testimonials .review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 229, 220, 0.62);
  box-shadow: 0 28px 66px rgba(4, 18, 31, 0.32), 0 0 34px rgba(18, 163, 168, 0.14);
}

.review-rating {
  margin-bottom: 14px;
  color: #8fe9de;
  font-size: 1rem;
  letter-spacing: 0.08em;
  transition: color 0.32s ease, transform 0.32s ease;
}

.testimonials .review-card:hover .review-rating {
  color: #a6f2bf;
  transform: translateY(-1px);
}

.testimonials .review-card p {
  color: rgba(235, 246, 245, 0.82);
  transition: transform 0.32s ease, color 0.32s ease;
}

.testimonials .review-card:hover p {
  color: rgba(255, 255, 255, 0.92);
  transform: translateY(-2px);
}

.testimonials .review-card cite strong {
  color: #ffffff;
}

.testimonials .review-card cite,
.testimonials .review-card cite span {
  color: #8fe9de;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.contact-grid {
  align-items: center;
}

.contact-grid > div {
  text-align: center;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 1023px) {
  .nav-links {
    gap: 8px;
  }
}

@media (max-width: 900px) {
  .container,
  .navbar {
    width: min(100% - 24px, 1180px);
  }

  [id] {
    scroll-margin-top: 142px;
  }

  .brand-logo-wrap {
    width: 52px;
    height: 52px;
  }

}

@media (max-width: 767px) {
  .section {
    padding: 74px 0;
  }

  .section-heading h2,
  .contact-grid > div > h2 {
    font-size: var(--section-title-mobile);
    line-height: 1.08;
    letter-spacing: 0.035em;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(7, 24, 39, 0.68), rgba(8, 45, 55, 0.58)),
      radial-gradient(circle at 50% 20%, rgba(18, 163, 168, 0.16), transparent 42%);
  }

  .service-card .flip-card-back,
  .client-card .flip-card-back,
  .platform-card .flip-card-back,
  .certification-card .flip-card-back {
    display: flex;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px) !important;
    transition:
      max-height 0.38s cubic-bezier(0.2, 0.75, 0.2, 1),
      opacity 0.28s ease,
      margin-top 0.28s ease,
      padding 0.28s ease,
      transform 0.32s ease;
  }

  .service-card.is-active .flip-card-back,
  .client-card.is-active .flip-card-back,
  .platform-card.is-active .flip-card-back,
  .certification-card.is-active .flip-card-back {
    max-height: 360px;
    margin-top: 12px;
    padding: 24px;
    opacity: 1;
    transform: translateY(0) !important;
  }

  .service-card .flip-card-face,
  .client-card .flip-card-face {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  }

  .certification-card,
  .certification-card .flip-card-front {
    min-height: auto;
  }

  .certification-card .certification-logo-wrap {
    height: 100px;
    max-height: 100px;
  }

  .certification-card .certification-logo-wrap img {
    max-height: 92px;
  }

  .testimonials .review-card::before {
    font-size: 1.65rem;
  }

  .review-rating {
    font-size: 0.94rem;
  }
}

@media (max-width: 430px) {
  .nav-links a {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.84rem;
  }

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

  .loader-mark {
    width: min(154px, 68vw);
    height: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
  }

  .loader-mark,
  .loader-shell,
  .service-card,
  .client-card,
  .testimonials .review-card {
    animation: none !important;
    transition: none !important;
  }
}

/* Final targeted overrides: transparent branding and moving card tracks */
.brand-logo-wrap {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.brand-logo-img {
  width: auto;
  height: 60px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.loader-shell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-mark {
  width: min(330px, 76vw);
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  display: block;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 28px rgba(18, 163, 168, 0.3)) drop-shadow(0 0 18px rgba(57, 181, 106, 0.16));
}

.services-grid.auto-carousel,
.platform-grid.auto-carousel,
.clients-grid.auto-carousel {
  --carousel-gap: 22px;
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 10px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: var(--carousel-gap);
  will-change: transform;
  animation: none;
}

.carousel-group {
  display: flex;
  flex: 0 0 auto;
  gap: var(--carousel-gap);
}

.auto-carousel .flip-card {
  width: clamp(250px, 24vw, 292px);
  flex: 0 0 clamp(250px, 24vw, 292px);
}

@media (max-width: 900px) {
  .brand-logo-img { height: 50px; }
}

@media (max-width: 767px) {
  .section-heading h2,
  .contact-grid > div > h2 {
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0.025em;
  }

  .services-grid.auto-carousel,
  .platform-grid.auto-carousel,
  .clients-grid.auto-carousel {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  }

  .auto-carousel::-webkit-scrollbar { display: none; }

  .auto-carousel .flip-card {
    width: min(82vw, 300px);
    flex-basis: min(82vw, 300px);
    scroll-snap-align: center;
  }

  .carousel-group-clone .flip-card {
    pointer-events: auto;
  }

}

@media (max-width: 430px) {
  .brand-logo-img { height: 46px; }
  .loader-mark { width: min(280px, 78vw); height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .services-grid.auto-carousel,
  .platform-grid.auto-carousel,
  .clients-grid.auto-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .carousel-track {
    animation: none !important;
    transform: none !important;
  }

  .carousel-group-clone {
    display: none;
  }
}

/* Refined headings, contrast, card geometry, and pointer-driven carousels */
.section-heading h2,
.contact-grid > div > h2 {
  font-size: var(--section-title);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
}

#platforms .section-heading h2,
#certifications .section-heading h2,
#faqs .section-heading h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
}

#services {
  background:
    radial-gradient(circle at 12% 8%, rgba(18, 163, 168, 0.1), transparent 28%),
    linear-gradient(145deg, #eaf7f4, #f7fbf9);
}

#platforms {
  color: var(--dark-text);
  background:
    radial-gradient(circle at 14% 10%, rgba(18, 163, 168, 0.09), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(57, 181, 106, 0.07), transparent 28%),
    linear-gradient(145deg, #ffffff, #f6faf8);
  border-color: #dbe8e5;
}

#platforms .section-heading h2 {
  color: var(--deep-navy);
}

#platforms .section-subtitle {
  color: var(--muted-text);
}

#platforms .section-heading::after {
  background: linear-gradient(90deg, transparent, var(--teal), var(--green), transparent);
  box-shadow: 0 0 20px rgba(18, 163, 168, 0.16);
}

#clients {
  background:
    radial-gradient(circle at 88% 8%, rgba(57, 181, 106, 0.08), transparent 28%),
    linear-gradient(145deg, #edf8f5, #f8faf9);
}

.services-grid.auto-carousel,
.platform-grid.auto-carousel,
.clients-grid.auto-carousel {
  --carousel-gap: 24px;
  overflow: hidden;
  padding: 34px 0 38px;
  cursor: grab;
  touch-action: pan-y;
  overscroll-behavior-x: contain;
  -webkit-user-select: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.carousel-track {
  animation: none !important;
  transform: translate3d(0, 0, 0);
}

.auto-carousel.is-dragging {
  cursor: grabbing;
}

.auto-carousel.is-dragging .flip-card {
  pointer-events: none;
}

.auto-carousel .flip-card {
  width: clamp(270px, 22vw, 310px);
  flex-basis: clamp(270px, 22vw, 310px);
}

.auto-carousel .flip-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(18, 163, 168, 0.34);
  background: linear-gradient(145deg, rgba(18, 163, 168, 0.16), rgba(57, 181, 106, 0.08));
  box-shadow: 0 0 34px rgba(18, 163, 168, 0.12);
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
}

.auto-carousel .flip-card-inner {
  z-index: 1;
}

.service-card,
.platform-card {
  min-height: 320px;
}

.client-card {
  min-height: 276px;
}

.service-card .flip-card-face,
.platform-card .flip-card-face,
.client-card .flip-card-face {
  clip-path: polygon(12% 0, 88% 0, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0 88%, 0 12%);
  border-radius: 0;
}

.service-card .flip-card-front,
.platform-card .flip-card-front {
  border: 1px solid rgba(18, 163, 168, 0.3);
  background:
    radial-gradient(circle at 88% 6%, rgba(18, 163, 168, 0.1), transparent 34%),
    linear-gradient(145deg, #ffffff, #f2f8f6);
  box-shadow: 0 20px 45px rgba(11, 31, 51, 0.14);
}

#platforms .platform-card .flip-card-front {
  border-color: rgba(18, 163, 168, 0.34);
  background:
    radial-gradient(circle at 86% 6%, rgba(18, 163, 168, 0.11), transparent 34%),
    linear-gradient(145deg, #ffffff, #edf6f3);
  box-shadow:
    0 22px 48px rgba(11, 31, 51, 0.15),
    0 0 0 1px rgba(57, 181, 106, 0.05);
}

#platforms .platform-card:hover .flip-card-front,
#platforms .platform-card:focus-visible .flip-card-front {
  border-color: rgba(18, 163, 168, 0.58);
  box-shadow: 0 26px 58px rgba(11, 31, 51, 0.18), 0 0 26px rgba(18, 163, 168, 0.12);
}

.carousel-group .service-card:nth-child(even) .flip-card-front {
  border-color: rgba(126, 229, 220, 0.42);
  background:
    radial-gradient(circle at 84% 8%, rgba(18, 163, 168, 0.2), transparent 34%),
    linear-gradient(145deg, #123d5a, #0b1f33);
}

.carousel-group .service-card:nth-child(even) .flip-card-front h3,
.carousel-group .service-card:nth-child(even) .flip-card-front p {
  color: #ffffff;
}

.carousel-group .service-card:nth-child(even) .service-card-icon svg {
  stroke: #8fe9de;
}

.service-card .flip-card-back,
.platform-card .flip-card-back,
.client-card .flip-card-back {
  color: #ffffff;
  border-color: rgba(126, 229, 220, 0.5);
  background:
    radial-gradient(circle at 16% 12%, rgba(18, 163, 168, 0.2), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(57, 181, 106, 0.14), transparent 32%),
    linear-gradient(145deg, #123d5a, #0b1f33);
  box-shadow: 0 24px 56px rgba(11, 31, 51, 0.26), 0 0 30px rgba(18, 163, 168, 0.14);
}

.service-card .flip-card-back h3,
.service-card .flip-card-back p,
.platform-card .flip-card-back h3,
.platform-card .flip-card-back p,
.client-card .flip-card-back h3,
.client-card .flip-card-back p {
  color: #ffffff;
}

.service-card .flip-card-back p,
.platform-card .flip-card-back p,
.client-card .flip-card-back p {
  color: rgba(231, 243, 242, 0.84);
}

.service-card-icon {
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.platform-card .asset-logo-wrap,
.client-logo-wrap {
  border-radius: 0;
  clip-path: polygon(10% 0, 90% 0, 100% 16%, 100% 84%, 90% 100%, 10% 100%, 0 84%, 0 16%);
}

#platforms .platform-card .asset-logo-wrap {
  border: 1px solid rgba(18, 163, 168, 0.16);
  background: linear-gradient(180deg, #ffffff, #f8fbfa);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(11, 31, 51, 0.07);
}

#platforms .platform-card h3 {
  color: var(--deep-navy);
}

.client-card .flip-card-front {
  border-color: rgba(126, 229, 220, 0.34);
  background:
    radial-gradient(circle at 88% 8%, rgba(18, 163, 168, 0.18), transparent 34%),
    linear-gradient(145deg, #123d5a, #0b1f33);
  box-shadow: 0 22px 48px rgba(11, 31, 51, 0.2);
}

.client-card .flip-card-front h3 {
  color: #ffffff;
}

.client-logo-wrap {
  border-color: rgba(18, 163, 168, 0.18);
  background: linear-gradient(145deg, #ffffff, #eef7f4);
}

@media (max-width: 1023px) {
  .section-heading h2,
  .contact-grid > div > h2 {
    font-size: clamp(1.85rem, 4.8vw, 2.45rem);
  }

  #platforms .section-heading h2,
  #certifications .section-heading h2,
  #faqs .section-heading h2 {
    font-size: clamp(1.8rem, 4.3vw, 2.3rem);
  }

  .auto-carousel .flip-card {
    width: clamp(250px, 36vw, 290px);
    flex-basis: clamp(250px, 36vw, 290px);
  }
}

@media (max-width: 767px) {
  .section-heading h2,
  .contact-grid > div > h2,
  #platforms .section-heading h2,
  #certifications .section-heading h2,
  #faqs .section-heading h2 {
    font-size: var(--section-title-mobile);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    max-width: min(100%, 340px);
    padding-inline: 6px;
    overflow-wrap: anywhere;
  }

  .services-grid.auto-carousel,
  .platform-grid.auto-carousel,
  .clients-grid.auto-carousel {
    --carousel-gap: 16px;
    overflow: hidden;
    padding: 28px 0 34px;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
  }

  .auto-carousel .flip-card {
    width: min(86vw, 320px);
    flex-basis: min(86vw, 320px);
  }

  .service-card,
  .platform-card,
  .client-card {
    min-height: auto;
  }

  .service-card .flip-card-face,
  .platform-card .flip-card-face,
  .client-card .flip-card-face {
    clip-path: polygon(9% 0, 91% 0, 100% 9%, 100% 91%, 91% 100%, 9% 100%, 0 91%, 0 9%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-grid.auto-carousel,
  .platform-grid.auto-carousel,
  .clients-grid.auto-carousel {
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .carousel-group-clone {
    display: flex;
  }
}

/* Targeted logo sizing, consistent service cards, and scroll reveals */
.site-header .brand-logo-img {
  height: 168px;
}

.site-footer .brand-logo-img {
  height: 152px;
}

.site-header .navbar {
  padding-block: 8px;
}

.site-header .brand,
.site-footer .brand {
  gap: 16px;
}

.site-footer {
  padding-block: 46px;
}

[id] {
  scroll-margin-top: 200px;
}

#services .service-card .flip-card-front {
  color: #ffffff;
  border-color: rgba(126, 229, 220, 0.4);
  background:
    radial-gradient(circle at 84% 8%, rgba(18, 163, 168, 0.2), transparent 34%),
    radial-gradient(circle at 14% 88%, rgba(57, 181, 106, 0.1), transparent 32%),
    linear-gradient(145deg, #172f42, #0b1f2f);
  box-shadow: 0 22px 50px rgba(11, 31, 51, 0.24), 0 0 24px rgba(18, 163, 168, 0.1);
}

#services .service-card .flip-card-front h3 {
  color: #ffffff;
}

#services .service-card .flip-card-front p {
  color: rgba(232, 244, 243, 0.84);
}

#services .service-card .service-card-icon {
  border-color: rgba(126, 229, 220, 0.34);
  background: linear-gradient(145deg, rgba(18, 163, 168, 0.22), rgba(57, 181, 106, 0.1));
}

#services .service-card .service-card-icon svg {
  stroke: #8fe9de;
}

#platforms .platform-card .flip-card-back h3,
#platforms .platform-card.is-active .flip-card-back h3,
#platforms .platform-card:hover .flip-card-back h3,
#platforms .platform-card:focus-visible .flip-card-back h3 {
  color: #ffffff;
}

#platforms .platform-card .flip-card-back p,
#platforms .platform-card.is-active .flip-card-back p,
#platforms .platform-card:hover .flip-card-back p,
#platforms .platform-card:focus-visible .flip-card-back p {
  color: rgba(231, 243, 242, 0.86);
}

.js.reveal-ready [data-reveal] {
  opacity: 0;
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js.reveal-ready [data-reveal="up"] {
  transform: translate3d(0, 55px, 0);
}

.js.reveal-ready [data-reveal="left"] {
  transform: translate3d(-65px, 0, 0);
}

.js.reveal-ready [data-reveal="right"] {
  transform: translate3d(65px, 0, 0);
}

.js.reveal-ready [data-reveal="zoom"] {
  transform: scale(0.88);
}

.js.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

.contact-section,
.site-footer {
  position: relative;
  height: auto;
  min-height: 0;
  overflow: visible;
  color: #ffffff;
}

.contact-section {
  padding: 80px 0;
}

.contact-section::before,
.site-footer::before {
  z-index: 0;
  pointer-events: none;
}

.contact-section .container,
.site-footer .container {
  position: relative;
  z-index: 2;
}

.contact-section h2 {
  color: #ffffff;
}

.contact-grid > div > p,
.site-footer p {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #8fe9de;
}

.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-meta a {
  font-weight: 700;
}

.footer-meta p {
  margin: 0;
}

.faq-item {
  overflow: hidden;
  border: 1px solid #dbe8e5;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(11, 31, 51, 0.06);
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.faq-item:hover,
.faq-item.active {
  border-color: rgba(18, 163, 168, 0.45);
  box-shadow: 0 16px 38px rgba(11, 31, 51, 0.09), 0 0 22px rgba(18, 163, 168, 0.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  min-height: 64px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: #0b1f33;
  font: inherit;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 3px solid rgba(18, 163, 168, 0.3);
  outline-offset: -3px;
}

.faq-arrow {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  margin-right: 4px;
  border-right: 2px solid #128d91;
  border-bottom: 2px solid #128d91;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.active .faq-arrow {
  transform: rotate(225deg) translate(-1px, -1px);
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    grid-template-rows 380ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 300ms ease,
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.active .faq-answer-wrap {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer-inner p {
  margin: 0;
  padding: 0 20px 20px;
  color: #5f6f7a;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .site-header .brand-logo-img {
    height: 136px;
  }

  .site-footer .brand-logo-img {
    height: 128px;
  }

  .site-header .navbar {
    padding-block: 12px;
  }

  .site-footer {
    padding-block: 42px;
  }

  [id] {
    scroll-margin-top: 220px;
  }
}

@media (max-width: 430px) {
  .site-header .brand-logo-img {
    height: 120px;
  }

  .site-footer .brand-logo-img {
    height: 112px;
  }

  .site-header .brand,
  .site-footer .brand {
    gap: 14px;
  }

  .site-footer {
    padding-block: 36px;
  }

  .js.reveal-ready [data-reveal="up"] {
    transform: translate3d(0, 40px, 0);
  }

  .js.reveal-ready [data-reveal="left"] {
    transform: translate3d(-40px, 0, 0);
  }

  .js.reveal-ready [data-reveal="right"] {
    transform: translate3d(40px, 0, 0);
  }

  .js.reveal-ready [data-reveal] {
    transition-duration: 720ms;
  }

  .faq-question {
    min-height: 60px;
    padding: 16px 18px;
  }

  .faq-answer-inner p {
    padding: 0 18px 18px;
  }

  .contact-section {
    padding: 56px 0;
  }

  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .faq-answer-wrap,
  .faq-arrow {
    transition-duration: 1ms !important;
  }
}

/* Targeted initial viewport and white footer refinements */
:root {
  --header-height: 120px;
}

.site-header {
  width: 100%;
  height: var(--header-height);
  min-height: 0;
  padding: 0;
}

.site-header .navbar {
  height: 100%;
  min-height: 0;
  padding: 10px 0;
}

.site-header .brand-logo-img {
  width: auto;
  height: 100px;
  object-fit: contain;
}

.site-header .brand {
  gap: 14px;
}

.hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  height: calc(100svh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  margin: 0;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 24, 39, 0.48), rgba(8, 45, 55, 0.5)),
    radial-gradient(circle at 25% 20%, rgba(18, 163, 168, 0.16), transparent 38%),
    radial-gradient(circle at 80% 25%, rgba(57, 181, 106, 0.12), transparent 38%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(24px, 5vh, 48px) 0;
}

.site-footer {
  color: #102033;
  background: #ffffff;
  border-top: 1px solid rgba(16, 32, 51, 0.12);
  box-shadow: 0 -12px 35px rgba(11, 31, 51, 0.06);
}

.site-footer .brand-logo-img {
  width: auto;
  height: 112px;
  object-fit: contain;
  background: transparent;
}

.site-footer .brand strong {
  color: #102033;
}

.site-footer .brand small {
  color: #5f6f7a;
}

.site-footer .footer-links a {
  color: #183047;
}

.site-footer .footer-meta {
  border-top-color: rgba(16, 32, 51, 0.12);
}

.site-footer .footer-meta a {
  color: #102033;
}

.site-footer .footer-meta p {
  color: #5f6f7a;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #12a3a8;
}

@media (max-width: 900px) {
  :root {
    --header-height: 104px;
  }

  .site-header .navbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 10px 0;
  }

  .site-header .brand-logo-img {
    height: 82px;
  }

  .site-header .brand {
    gap: 12px;
  }

  .site-header .nav-links {
    align-self: center;
    padding-bottom: 0;
  }

  .hero-grid {
    padding: clamp(20px, 4vh, 36px) 0;
  }

  .site-footer .brand-logo-img {
    height: 96px;
  }

  [id] {
    scroll-margin-top: 118px;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 92px;
  }

  .site-header .navbar {
    gap: 10px;
    padding: 8px 0;
  }

  .site-header .brand-logo-img {
    height: 70px;
  }

  .site-header .brand {
    gap: 9px;
  }

  .site-header .brand strong {
    font-size: 0.9rem;
  }

  .site-header .brand small {
    font-size: 0.68rem;
  }

  .site-header .nav-links {
    gap: 6px;
  }

  .site-header .nav-links a {
    min-height: 42px;
    padding: 9px 12px;
  }

  .hero-grid {
    padding: 20px 0;
  }

  .site-footer .brand-logo-img {
    height: 88px;
  }

  [id] {
    scroll-margin-top: 104px;
  }
}

@supports not (height: 100svh) {
  .hero {
    height: calc(100vh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
  }
}

.footer-links-title {
  display: none;
}

/* Mobile-only navigation and interaction pass */
@media (max-width: 900px) {
  :root {
    --header-height: 88px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .site-header {
    height: var(--header-height);
    overflow: visible;
  }

  .site-header .navbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: min(100% - 32px, 1180px);
    height: 100%;
    padding: 8px 0;
  }

  .site-header .brand {
    min-width: 0;
    gap: 10px;
  }

  .site-header .brand-logo-img {
    width: auto;
    height: 68px;
  }

  .menu-toggle {
    position: relative;
    z-index: 3;
    flex: 0 0 44px;
    display: block;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid rgba(18, 163, 168, 0.28);
    border-radius: 8px;
    background: #f8faf8;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle span {
    position: absolute;
    left: 11px;
    width: 20px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    background: #102033;
    transition: transform 240ms ease, opacity 180ms ease, top 240ms ease;
  }

  .menu-toggle span:nth-child(1) { top: 14px; }
  .menu-toggle span:nth-child(2) { top: 20px; }
  .menu-toggle span:nth-child(3) { top: 26px; }

  .menu-toggle.is-open span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
  }

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

  .menu-toggle.is-open span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
  }

  .site-header .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    z-index: 2;
    display: grid;
    width: 100%;
    max-height: calc(100svh - var(--header-height) - 16px);
    gap: 2px;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    border: 1px solid rgba(16, 32, 51, 0.12);
    border-radius: 0 0 10px 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 44px rgba(11, 31, 51, 0.16);
    transform: translateY(-10px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
    -webkit-overflow-scrolling: touch;
  }

  .site-header .nav-links.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header .nav-links a {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding: 12px 14px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #183047;
    font-size: 0.95rem;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header .nav-links a:hover,
  .site-header .nav-links a:focus-visible {
    background: #eaf7f4;
    color: #087f83;
  }

  .site-header .nav-links .nav-cta {
    color: #ffffff;
    background: linear-gradient(100deg, #12a3a8, #39b54a);
  }

  .hero {
    height: calc(100svh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
  }

  .hero-bg-video {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero-grid {
    height: 100%;
    min-height: 0;
    padding: 24px 0;
  }

  .hero-copy h1 {
    max-width: 92%;
    margin-inline: auto;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.05;
  }

  .hero-copy p {
    max-width: 90%;
    font-size: clamp(1rem, 2.4vw, 1.125rem);
    line-height: 1.6;
  }

  .flip-card,
  .menu-toggle,
  .nav-links a,
  .faq-question,
  .site-footer a,
  button {
    -webkit-tap-highlight-color: transparent;
  }

  .flip-card,
  .menu-toggle,
  .nav-links a,
  .faq-question,
  button {
    -webkit-user-select: none;
    user-select: none;
  }

  :focus-visible {
    outline: 3px solid rgba(18, 163, 168, 0.55);
    outline-offset: 3px;
  }

  .site-footer {
    padding: 48px max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  }

  .site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: min(100%, 620px);
    margin-inline: auto;
    text-align: center;
  }

  .site-footer .brand {
    order: 1;
    justify-self: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .site-footer .brand-logo-img {
    width: auto;
    height: 96px;
  }

  .site-footer .brand span {
    display: grid;
    gap: 3px;
  }

  .site-footer .footer-meta {
    display: contents;
  }

  .site-footer .footer-meta a {
    order: 2;
    justify-self: center;
    margin-top: 18px;
    font-weight: 700;
  }

  .footer-links-title {
    order: 3;
    display: block;
    margin: 34px 0 14px;
    color: #102033;
    font-size: 1rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .site-footer .footer-links {
    order: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 18px;
    width: 100%;
    text-align: left;
  }

  .site-footer .footer-links a {
    min-width: 0;
    padding: 10px 8px;
    overflow-wrap: anywhere;
  }

  .site-footer .footer-meta p {
    order: 5;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(16, 32, 51, 0.12);
    text-align: center;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 86px;
  }

  .site-header .navbar {
    width: auto;
    margin-left: max(16px, env(safe-area-inset-left));
    margin-right: max(16px, env(safe-area-inset-right));
  }

  .site-header .brand-logo-img {
    height: 66px;
  }

  .hero {
    height: auto;
    min-height: calc(100svh - var(--header-height));
  }

  .hero.video-fallback {
    background:
      radial-gradient(circle at 30% 22%, rgba(18, 163, 168, 0.22), transparent 36%),
      linear-gradient(145deg, #123d5a, #0b1f33);
  }

  .hero.video-fallback .hero-bg-video {
    opacity: 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading,
  .section-heading.compact {
    margin-bottom: 32px;
  }

  .section-heading h2,
  .contact-grid > div > h2 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
    line-height: 1.15;
  }

  #platforms .section-heading h2,
  #certifications .section-heading h2,
  #faqs .section-heading h2 {
    font-size: clamp(1.5rem, 6.2vw, 1.95rem);
  }

  .services-grid.auto-carousel,
  .platform-grid.auto-carousel,
  .clients-grid.auto-carousel {
    overflow-x: auto;
    overflow-y: visible;
    padding: 12px max(18px, env(safe-area-inset-right)) 24px max(18px, env(safe-area-inset-left));
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    touch-action: pan-x pan-y;
    overscroll-behavior-inline: contain;
    cursor: grab;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .services-grid.auto-carousel::-webkit-scrollbar,
  .platform-grid.auto-carousel::-webkit-scrollbar,
  .clients-grid.auto-carousel::-webkit-scrollbar {
    display: none;
  }

  .auto-carousel .carousel-track {
    width: max-content;
    gap: 0;
    transform: none !important;
    will-change: auto;
  }

  .auto-carousel .carousel-group {
    align-items: flex-start;
    gap: 16px;
  }

  .auto-carousel .carousel-group-clone {
    display: none;
  }

  .auto-carousel .flip-card {
    flex: 0 0 min(86vw, 340px);
    width: min(86vw, 340px);
    max-width: 340px;
    scroll-snap-align: center;
  }

  .flip-card,
  .service-card,
  .platform-card,
  .certification-card,
  .client-card {
    height: auto;
    min-height: 0;
    perspective: none;
  }

  .flip-card-inner {
    height: auto;
    min-height: 0;
    transform: none !important;
    transform-style: flat;
    transition: none;
  }

  .flip-card:hover .flip-card-inner,
  .flip-card:focus-visible .flip-card-inner,
  .flip-card.is-active .flip-card-inner {
    transform: none !important;
  }

  .flip-card .flip-card-face {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 24px;
    backface-visibility: visible;
    transform: none !important;
  }

  .flip-card .flip-card-front::after {
    content: "View details";
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    margin-top: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(18, 163, 168, 0.34);
    border-radius: 999px;
    background: transparent;
    color: #128d91;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 1;
  }

  .flip-card.is-active .flip-card-front::after {
    content: "Hide details";
  }

  .flip-card .flip-card-back {
    display: flex !important;
    max-height: 0;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) !important;
    transition:
      max-height 380ms cubic-bezier(0.22, 1, 0.36, 1),
      margin-top 300ms ease,
      padding 300ms ease,
      opacity 280ms ease,
      transform 340ms ease;
  }

  .flip-card.is-active .flip-card-back {
    max-height: 460px;
    margin-top: 12px;
    padding: 24px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) !important;
  }

  .flip-card .flip-card-front,
  .flip-card .flip-card-back {
    clip-path: polygon(8% 0, 92% 0, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0 92%, 0 8%);
  }

  .client-card .client-logo-wrap,
  .platform-card .asset-logo-wrap {
    width: 100%;
    object-fit: contain;
  }

  .js.reveal-ready [data-reveal] {
    transform: translate3d(0, 30px, 0) !important;
    transition-duration: 620ms;
  }

  .js.reveal-ready [data-reveal].is-visible {
    transform: translate3d(0, 0, 0) !important;
  }

  .js.reveal-ready .stat-card[data-reveal],
  .js.reveal-ready .certification-card[data-reveal],
  .js.reveal-ready .review-card[data-reveal],
  .js.reveal-ready .faq-item[data-reveal],
  .js.reveal-ready .footer-grid > [data-reveal] {
    opacity: 1;
    transform: none !important;
    transition: none;
  }

  .faq-question {
    width: 100%;
    min-height: 48px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }

  .contact-form textarea {
    min-height: 150px;
  }

  .contact-form button {
    width: 100%;
  }
}

@media (max-width: 389px) {
  .site-header .brand small {
    display: none;
  }

  .site-footer .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@supports not (height: 100svh) {
  @media (max-width: 900px) {
    .site-header .nav-links {
      max-height: calc(100vh - var(--header-height) - 16px);
    }
  }

  @media (max-width: 767px) {
    .hero {
      min-height: calc(100vh - var(--header-height));
    }
  }
}
