:root {
  --navy-950: #071018;
  --navy-900: #0a1f2e;
  --navy-800: #0e2a3d;
  --navy-700: #163447;
  --teal: #00334e;
  --cyan: #00aeef;
  --cyan-soft: #3ecfff;
  --blue-deep: #0054a6;
  --orange: #f7941d;
  --orange-hot: #ff8a14;
  --yellow: #fff200;
  --white: #ffffff;
  --mist: #d7e4ec;
  --muted: #8ea6b5;
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(14, 42, 61, 0.72);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --header-h: 84px;
  --font: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--white);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--orange);
  color: #1a0d00;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 16, 24, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  overflow: visible;
}

.brand img {
  display: block;
  width: 100px;
  height: 62px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-slogan {
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--mist);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb347, var(--orange));
  color: #1a0d00 !important;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(247, 148, 29, 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.lead {
  color: var(--mist);
  font-size: 1.08rem;
  max-width: 42ch;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(180deg, #ffb347, var(--orange));
  color: #1a0d00;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-visual img {
  width: min(460px, 100%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.hero-badge {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 8%;
  background: rgba(10, 31, 46, 0.86);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--mist);
}

.section {
  padding: 84px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
  max-width: 42ch;
  margin: 0;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.35rem;
}

.card p,
.card li {
  color: var(--mist);
}

.card ol,
.card ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

.num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 174, 239, 0.14);
  color: var(--cyan-soft);
  font-weight: 700;
  margin-bottom: 16px;
}

.tools {
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tools-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.project-media {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(160deg, rgba(0, 174, 239, 0.18), rgba(247, 148, 29, 0.12)),
    var(--navy-800);
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-body {
  padding: 18px 20px 20px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  background: rgba(0, 174, 239, 0.12);
  padding: 4px 8px;
  border-radius: 999px;
}

.project h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.project p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature {
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 174, 239, 0.16), transparent 30%),
    var(--navy-900);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.feature .tags {
  margin-bottom: 16px;
}

.cta-band {
  text-align: center;
  background: linear-gradient(180deg, #12344a, #0a1f2e);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 56px 28px;
}

.cta-band p {
  color: var(--mist);
  margin: 0 auto 22px;
  max-width: 46ch;
}

.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-brand img {
  width: auto;
  height: 72px;
  max-width: 120px;
}

.footer-brand strong {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-col h3 {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-col a,
.footer-col p {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
}

.legal {
  font-size: 0.85rem;
}

.form {
  display: grid;
  gap: 14px;
  max-width: 640px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--mist);
}

input,
select,
textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #0e2a3d;
  color: var(--white);
  padding: 12px 14px;
  color-scheme: dark;
}

select option,
select option:checked,
select option:hover {
  background-color: #ffffff;
  color: #0a1f2e;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-success {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(0, 174, 239, 0.12);
  color: var(--cyan-soft);
}

.form-success.is-visible {
  display: block;
}

.page-hero {
  padding: 56px 0 20px;
}

.service-detail {
  display: grid;
  gap: 18px;
}

.service-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.muted {
  color: var(--muted);
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--mist);
  font-size: 0.82rem;
  font-weight: 600;
}

.brand-pill img {
  width: 22px;
  height: 22px;
}

.service-visual {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: var(--navy-800);
}

.service-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.platform-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.platform-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 18px 10px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--mist);
}

.platform-card img {
  width: 40px;
  height: 40px;
}

.contact-grid,
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 16px;
}

.aside-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 60% 40%, rgba(0, 174, 239, 0.2), transparent 55%),
    var(--navy-800);
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 36px 36px 24px;
}

.aside-visual img {
  width: min(88%, 320px);
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.step strong {
  display: block;
  color: var(--white);
}

.form {
  max-width: none;
}

.form-card {
  padding: 28px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  padding: 18px;
}

.stat b {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}

.about-visual {
  position: relative;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

.mobile-nav {
  display: none;
}

.mobile-nav a {
  color: var(--mist);
  font-weight: 600;
  padding: 6px 0;
}

.mobile-nav .nav-cta {
  width: fit-content;
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards-3,
  .projects,
  .feature,
  .footer-grid,
  .service-panel,
  .section-head,
  .contact-grid,
  .about-grid,
  .platform-board,
  .stats {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 8px 20px 20px;
  }

  h1 {
    max-width: none;
  }

  .hero {
    padding: 36px 0 48px;
    text-align: center;
  }

  .lead,
  .hero-actions {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand img {
    height: 48px;
    max-width: 86px;
  }

  .projects {
    grid-template-columns: 1fr;
  }
}

.site-header.is-scrolled {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(247, 148, 29, 0.38);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.card,
.project,
.platform-card {
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.card:hover,
.project:hover,
.platform-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 174, 239, 0.28);
}

.project-media img {
  transition: transform 0.7s ease;
}

.project:hover .project-media img {
  transform: scale(1.06);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18% 8% 22% 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 14px,
    rgba(0, 174, 239, 0.08) 14px 16px
  );
  mask-image: linear-gradient(90deg, transparent, #000 40%, transparent);
  animation: speed-lines 2.2s linear 1 both;
  pointer-events: none;
}

.mascot-live {
  position: relative;
  z-index: 1;
  animation: turbo-boost 2.2s linear 1 both;
}

.mascot-fx {
  position: absolute;
  left: 10%;
  right: 18%;
  bottom: 2%;
  height: 110px;
  pointer-events: none;
  z-index: 2;
}

.brake-dust,
.brake-skid,
.brake-gravel {
  position: absolute;
  pointer-events: none;
}

.brake-dust {
  left: 8%;
  bottom: 2px;
  width: 210px;
  height: 78px;
  background:
    radial-gradient(ellipse 78% 72% at 46% 70%, rgba(232, 238, 242, 0.88) 0%, transparent 70%),
    radial-gradient(ellipse 52% 58% at 74% 56%, rgba(176, 196, 208, 0.55) 0%, transparent 72%),
    radial-gradient(ellipse 40% 48% at 20% 52%, rgba(247, 148, 29, 0.38) 0%, transparent 70%);
  filter: blur(3px);
  opacity: 0;
  transform-origin: 80% 90%;
  animation: brake-dust 2.2s linear 1 both;
}

.brake-skid {
  left: 22%;
  bottom: 18px;
  width: 110px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(232, 238, 242, 0.45), transparent);
  filter: blur(1px);
  opacity: 0;
  animation: brake-skid 2.2s linear 1 both;
}

.brake-gravel {
  left: 42%;
  bottom: 26px;
  width: 10px;
  height: 7px;
  border-radius: 40%;
  background: #e2c48a;
  opacity: 0;
  animation: brake-gravel 2.2s linear 1 both;
}

.brake-gravel.is-low {
  left: 38%;
  bottom: 18px;
  animation-name: brake-gravel-low;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.cards-3 .card:nth-child(2),
.projects .project:nth-child(2),
.stats .stat:nth-child(2) {
  transition-delay: 0.08s;
}

.cards-3 .card:nth-child(3),
.projects .project:nth-child(3),
.stats .stat:nth-child(3) {
  transition-delay: 0.16s;
}

@keyframes turbo-boost {
  0% {
    transform: translateX(-180%) translateY(8px) rotate(-16deg) scale(1.34, 0.8);
    opacity: 0;
  }
  14% {
    opacity: 0.55;
    transform: translateX(-110%) translateY(4px) rotate(-12deg) scale(1.3, 0.82);
  }
  32% {
    opacity: 1;
    transform: translateX(-48%) translateY(-2px) rotate(-7deg) scale(1.2, 0.86);
  }
  50% {
    transform: translateX(-12%) translateY(2px) rotate(-1deg) scale(1.08, 0.92);
  }
  64% {
    transform: translateX(-1%) translateY(8px) rotate(4deg) scale(0.94, 1.08);
  }
  78% {
    transform: translateX(0) translateY(3px) rotate(1deg) scale(0.99, 1.02);
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes speed-lines {
  0% {
    transform: translateX(30%) scaleX(1.45);
    opacity: 0;
  }
  16% {
    opacity: 0.75;
  }
  52% {
    opacity: 0.2;
  }
  68%,
  100% {
    transform: translateX(-46%) scaleX(0.65);
    opacity: 0;
  }
}

@keyframes brake-dust {
  0%,
  52% {
    opacity: 0;
    transform: scale(0.2, 0.35) translateX(18px);
  }
  62% {
    opacity: 0.95;
    transform: scale(1.05, 0.9) translateX(0);
  }
  82% {
    opacity: 0.55;
    transform: scale(1.35, 1.05) translateX(-12px);
  }
  100% {
    opacity: 0;
    transform: scale(1.55, 1.15) translateX(-22px);
  }
}

@keyframes brake-skid {
  0%,
  54% {
    opacity: 0;
    transform: scaleX(0.15);
  }
  64% {
    opacity: 0.85;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1.15);
  }
}

@keyframes brake-gravel {
  0%,
  56% {
    opacity: 0;
    transform: translate(0, 0) scale(0.25);
    box-shadow:
      0 0 0 0 #c9b089,
      0 0 0 0 #8d7a5c,
      0 0 0 0 #d8c4a0,
      0 0 0 0 #6b5a42,
      0 0 0 0 #bca47a,
      0 0 0 0 #9a8a6e,
      0 0 0 0 #e0d2b4,
      0 0 0 0 #7a684c;
  }
  64% {
    opacity: 1;
    transform: translate(-12px, -8px) scale(1);
    box-shadow:
      -16px -22px 0 1px #e2c48a,
      -28px -6px 0 2px #b08958,
      -10px 12px 0 1px #f0d9a8,
      -34px 8px 0 1px #8a6a3e,
      -42px -24px 0 2px #d4b072,
      -20px 18px 0 1px #c4a46a,
      -6px -26px 0 1px #f6e6c0,
      -48px 2px 0 2px #9a7a48;
  }
  100% {
    opacity: 0;
    transform: translate(-36px, -4px) scale(0.75);
    box-shadow:
      -58px -42px 0 1px #e2c48a,
      -86px -16px 0 2px #b08958,
      -38px 28px 0 1px #f0d9a8,
      -102px 16px 0 1px #8a6a3e,
      -118px -48px 0 2px #d4b072,
      -66px 36px 0 1px #c4a46a,
      -28px -52px 0 1px #f6e6c0,
      -126px 10px 0 2px #9a7a48;
  }
}

@keyframes brake-gravel-low {
  0%,
  58% {
    opacity: 0;
    transform: translate(0, 0) scale(0.2);
    box-shadow:
      0 0 0 0 #b8956a,
      0 0 0 0 #5c4c38,
      0 0 0 0 #d2be96,
      0 0 0 0 #8a7352,
      0 0 0 0 #c4ae82;
  }
  66% {
    opacity: 1;
    transform: translate(-16px, 6px) scale(1);
    box-shadow:
      -22px 10px 0 1px #c9a066,
      -36px 4px 0 2px #6a5230,
      -12px 18px 0 1px #e8d09a,
      -46px 14px 0 1px #a07840,
      -28px -8px 0 2px #d8b878;
  }
  100% {
    opacity: 0;
    transform: translate(-48px, 10px) scale(0.7);
    box-shadow:
      -74px 26px 0 1px #c9a066,
      -108px 12px 0 2px #6a5230,
      -48px 38px 0 1px #e8d09a,
      -128px 22px 0 1px #a07840,
      -90px -10px 0 2px #d8b878;
  }
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-live,
  .mascot-fx,
  .brake-dust,
  .brake-skid,
  .brake-gravel,
  .hero-visual,
  .hero-visual::before,
  .reveal,
  .card,
  .project,
  .btn,
  .project-media img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .brake-dust,
  .brake-skid,
  .brake-gravel {
    opacity: 0 !important;
  }
}
