:root {
  --brand-navy: #1e4f79;
  --brand-navy-deep: #163b59;
  --brand-orange: #f4a11a;
  --brand-orange-soft: rgba(244, 161, 26, 0.14);
  --brand-surface: #ffffff;
  --brand-bg: #f3f6f8;
  --brand-border: rgba(30, 79, 121, 0.12);
  --brand-text: #102438;
  --brand-muted: #617286;
  --brand-shadow: 0 24px 60px rgba(16, 36, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-text);
  background:
    radial-gradient(circle at top left, rgba(244, 161, 26, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(30, 79, 121, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

a,
button,
input,
textarea {
  transition: all 180ms ease;
}

a {
  text-decoration: none;
}

::selection {
  background: rgba(244, 161, 26, 0.22);
}

.site-header {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-color: rgba(30, 79, 121, 0.1);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 5rem;
  width: auto;
  object-fit: cover;
}

.brand-logo-footer {
  height: 3.8rem;
  width: auto;
  object-fit: contain;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.52rem 0.9rem;
  border: 1px solid rgba(30, 79, 121, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--brand-navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
}

.section-tag::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--brand-orange);
  box-shadow: 0 0 0 6px rgba(244, 161, 26, 0.14);
}

.hero-shell,
.page-hero-shell,
.content-shell {
  position: relative;
  overflow: hidden;
}

.hero-full-bleed {
  width: 100%;
}

.hero-shell::before,
.page-hero-shell::before {
  content: "";
  position: absolute;
  inset: auto auto -5rem -3rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(244, 161, 26, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-shell::after,
.page-hero-shell::after {
  content: "";
  position: absolute;
  top: -6rem;
  right: -5rem;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(30, 79, 121, 0.16), transparent 72%);
  pointer-events: none;
}

.premium-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
  box-shadow: var(--brand-shadow);
  backdrop-filter: blur(14px);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease,
    background 320ms ease;
}

.muted-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 79, 121, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease;
}

.card-hover {
  transform: translateY(0);
}

.card-hover:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}

.premium-card:hover,
.muted-card:hover {
  border-color: rgba(30, 79, 121, 0.2);
}

.premium-card::before,
.muted-card::before,
.hero-panel::before,
.hero-stat-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.16) 28%, transparent 46%);
  transform: translateX(-140%);
  transition: transform 700ms ease;
  pointer-events: none;
}

.premium-card:hover::before,
.muted-card:hover::before,
.hero-panel:hover::before,
.hero-stat-chip:hover::before {
  transform: translateX(140%);
}

.metric-card {
  position: relative;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(244, 161, 26, 0.06), transparent 60%);
  pointer-events: none;
}

.service-icon,
.feature-icon,
.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(30, 79, 121, 0.12), rgba(244, 161, 26, 0.18));
  color: var(--brand-navy);
  transform-style: preserve-3d;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), background 320ms ease, box-shadow 320ms ease;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-orange), #f7b648);
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(244, 161, 26, 0.28);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02) skewX(-2deg);
  box-shadow: 0 24px 56px rgba(244, 161, 26, 0.34);
  filter: saturate(1.04);
}

.btn-secondary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 79, 121, 0.12);
  color: var(--brand-navy);
  background: rgba(255, 255, 255, 0.88);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 260ms ease,
    background 260ms ease;
}

.btn-secondary:hover {
  border-color: rgba(30, 79, 121, 0.22);
  background: #ffffff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(16, 36, 56, 0.12);
}

.btn-primary::after,
.btn-secondary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 15%, rgba(255, 255, 255, 0.38) 35%, transparent 55%);
  transform: translateX(-140%);
  transition: transform 650ms ease;
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
  transform: translateX(140%);
}

.hero-visual {
  min-height: 420px;
}

.hero-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.14), transparent 18%),
    radial-gradient(circle at 15% 85%, rgba(244, 161, 26, 0.18), transparent 16%),
    linear-gradient(135deg, #163b59 0%, #1e4f79 58%, #2b6b9a 100%);
  box-shadow: none;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 15, 24, 0.16), rgba(6, 15, 24, 0.36)),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06), transparent 42%);
  pointer-events: none;
}

.hero-stage-canvas,
.hero-orbit {
  position: absolute;
  border-radius: 1.5rem;
}

.hero-stage-canvas {
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-orbit {
  inset: 2rem 1rem auto auto;
  width: 12rem;
  height: 12rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  animation: floatOrbit 9s ease-in-out infinite;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(16, 36, 56, 0.78);
  backdrop-filter: blur(14px);
  color: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.94), transparent);
}

.hero-grid-strong {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.85;
  mask-image: none;
}

.hero-content-grid {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-stack {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 32rem;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.hero-float-panel {
  position: relative;
  width: 100%;
}

.hero-float-panel.is-offset {
  margin-left: 2.5rem;
  max-width: 28rem;
}

.hero-float-panel.is-end {
  align-self: flex-end;
  max-width: 27rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--brand-orange);
  box-shadow: 0 0 0 6px rgba(244, 161, 26, 0.12);
}

.hero-stat-chip {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 320ms ease;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card p:first-child {
  flex: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.motion-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.motion-card:hover .service-icon,
.motion-card:hover .feature-icon,
.motion-card:hover .process-icon {
  transform: rotateY(180deg) scale(1.08);
  box-shadow: 0 18px 34px rgba(30, 79, 121, 0.18);
}

.hover-skew-link {
  position: relative;
}

.hover-skew-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0) skewX(-24deg);
  transform-origin: left;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-navy));
  transition: transform 280ms ease;
}

.hover-skew-link:hover::after {
  transform: scaleX(1) skewX(-24deg);
}

.floating-accent {
  animation: floatSoft 7s ease-in-out infinite;
}

.tilt-glow:hover {
  box-shadow: 0 30px 80px rgba(16, 36, 56, 0.16);
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatOrbit {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-10px, 10px, 0) scale(1.03);
  }
}

.contact-input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(30, 79, 121, 0.12);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.95rem 1rem;
  color: var(--brand-text);
  outline: none;
}

.contact-input:focus {
  border-color: rgba(30, 79, 121, 0.32);
  box-shadow: 0 0 0 4px rgba(30, 79, 121, 0.08);
}

.contact-status {
  min-height: 1.5rem;
}

.timeline-line {
  position: absolute;
  inset: 4.3rem auto 0 1.25rem;
  width: 1px;
  background: linear-gradient(180deg, rgba(30, 79, 121, 0.26), rgba(244, 161, 26, 0.22));
}

.footer-grid {
  background:
    radial-gradient(circle at bottom right, rgba(244, 161, 26, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(16, 36, 56, 0.98), rgba(16, 36, 56, 1));
}

.page-hero-shell {
  background:
    linear-gradient(135deg, rgba(22, 59, 89, 0.97), rgba(30, 79, 121, 0.92)),
    linear-gradient(135deg, rgba(244, 161, 26, 0.1), transparent 40%);
}

.page-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(244, 161, 26, 0.24), transparent 18%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.1), transparent 20%);
  opacity: 0.8;
}

.list-check li {
  position: relative;
  padding-left: 1.7rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-orange), #f7c25f);
  box-shadow: 0 0 0 5px rgba(244, 161, 26, 0.14);
}

.sr-only-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-visual {
    min-height: 360px;
  }

  .brand-logo {
    height: 2.5rem;
  }

  .brand-logo-footer {
    height: 3rem;
  }

  .hero-stage {
    min-height: 100vh;
  }

  .hero-content-grid {
    min-height: auto;
  }

  .hero-stack {
    min-height: auto;
    gap: 1rem;
  }

  .hero-float-panel.is-offset {
    margin-left: 0;
    max-width: none;
  }

  .hero-float-panel.is-end {
    align-self: stretch;
    max-width: none;
  }

  .timeline-line {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
