:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  font-weight: 400;
  --bg: #050816;
  --bg-soft: #0a1023;
  --panel: rgba(12, 19, 39, 0.8);
  --panel-strong: rgba(16, 24, 48, 0.98);
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7ff;
  --muted: #9aa4c7;
  --accent: #6ae2ff;
  --accent-strong: #3ba0ff;
  --accent-warm: #92ffcb;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(58, 160, 255, 0.35), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(146, 255, 203, 0.2), transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(106, 226, 255, 0.15), transparent 40%),
    linear-gradient(180deg, #040918 0%, #030611 40%, #02040a 100%);
  color: var(--text);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

#app {
  width: 100%;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10001;
  padding: 0.8rem 1rem;
  border-radius: 0.9rem;
  background: #f5f7ff;
  color: #04101c;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.noscript-panel {
  width: min(100% - 2rem, 56rem);
  margin: 2rem auto 0;
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.4rem;
  background: rgba(7, 14, 29, 0.85);
}

.noscript-panel h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.noscript-panel p {
  margin: 0.6rem 0 0;
  color: #dce7ff;
}

.nav a:focus-visible,
.button:focus-visible,
.contact-link:focus-visible,
.footer-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding-bottom: 2rem;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin: 1.5rem auto 0;
  padding: 0.8rem 1.2rem;
  background: rgba(4, 9, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 4px 24px -4px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition:
    transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 300ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  min-width: 0;
}

.brand-logo {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 4rem !important;
  height: 4rem !important;
  min-width: 4rem !important;
  max-width: 4rem !important;
  min-height: 4rem !important;
  max-height: 4rem !important;
  flex-shrink: 0;
  border-radius: 0.5rem;
  overflow: hidden;
}

.brand-logo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title,
.brand-subtitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-title {
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #d5defb;
}

.brand-subtitle {
  font-size: 0.88rem;
  letter-spacing: 0.28em;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a,
.nav button {
  position: relative;
  transition: color 200ms ease;
  padding: 0.5rem 0;
  background: transparent;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  font-weight: 500;
}

.nav a::after,
.nav button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nav a:hover,
.nav a:focus-visible,
.nav button:hover,
.nav button:focus-visible {
  color: var(--text);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav button:hover::after,
.nav button:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #04101c;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: 0 18px 42px rgba(106, 226, 255, 0.28);
  position: relative;
  overflow: hidden;
}

.button-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: none;
}

.button-primary:hover::after {
  left: 200%;
  transition: left 700ms ease-in-out;
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.button-secondary:hover,
.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.button-small {
  min-height: 2.7rem;
  padding-inline: 1rem;
}

.section {
  padding: 5rem 0;
  content-visibility: auto;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  min-height: calc(100vh - 8rem);
  padding: 6rem 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 1200px;
  max-height: 1200px;
  background: radial-gradient(circle, rgba(106, 226, 255, 0.12) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  animation: pulse-glow 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(59, 160, 255, 0.08) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 9.5vw, 6.8rem);
  letter-spacing: -0.05em;
  background: linear-gradient(
    -45deg,
    #ffffff 20%,
    #6ae2ff 40%,
    #ffffff 60%,
    #b3c5ff 80%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: shimmer 8s linear infinite;
}

.hero-text,
.service-card p,
.timeline-step p,
.contact-text,
.promise-card li {
  color: var(--muted);
  font-size: 1.03rem;
}

.hero-text {
  max-width: 62ch;
  margin: 1.4rem 0 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-signature {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin: 0 0 2.5rem;
  align-items: center;
}

.hero-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1.5rem;
  z-index: 10;
  position: relative;
}

.hero-logo-secondary {
  width: 100%;
  max-width: 26rem;
  height: auto;
  object-fit: contain;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
}

.hero-visual:hover .hero-logo-secondary {
  transform: translateY(-5px) scale(1.03);
}

.signature-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dce7ff;
  font-size: 0.95rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-points {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li,
.check-list li {
  position: relative;
  padding-left: 1.4rem;
}

.hero-points li::before,
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 20px rgba(106, 226, 255, 0.5);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.main-visual,
.service-card,
.promise-card,
.panel,
.timeline-step,
.contact-card,
.stat-card,
.mini-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 24, 48, 0.84), rgba(8, 13, 28, 0.96));
  box-shadow: var(--shadow);
}

.main-visual {
  display: flex;
  align-items: end;
  min-height: 28rem;
  padding: 2rem;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(4, 8, 18, 0.08), rgba(4, 8, 18, 0.88)),
    linear-gradient(135deg, rgba(59, 160, 255, 0.45), rgba(5, 8, 22, 0.4));
  position: relative;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 400ms ease;
  z-index: 1;
}

.main-visual:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 32px 90px rgba(59, 160, 255, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.main-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.4) 0%, rgba(5, 8, 22, 0.95) 100%);
  pointer-events: none;
  z-index: 1;
}

.main-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: url('../assets/hero-scene.svg') center/cover no-repeat;
  pointer-events: none;
  z-index: -1;
  opacity: 0.8;
}

.floating-chip {
  position: absolute;
  display: grid;
  gap: 0.2rem;
  min-width: 9rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  background: rgba(7, 14, 29, 0.68);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.floating-chip span,
.innovation-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 700;
}

.floating-chip strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.chip-one {
  top: 1.25rem;
  left: 1.25rem;
  animation: float 7s ease-in-out infinite;
}

.chip-two {
  right: 1.25rem;
  top: 6.4rem;
  animation: float 9s ease-in-out infinite reverse;
}

.visual-copy {
  position: relative;
  z-index: 3;
  max-width: 19rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(5, 10, 21, 0.76), rgba(5, 10, 21, 0.4));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.visual-label,
.mini-title,
.service-index,
.timeline-number,
.stat-label,
.contact-link span {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
}

.visual-copy strong,
.mini-card strong,
.panel strong,
.stat-value,
.contact-link strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.visual-grid,
.service-grid,
.timeline,
.contact-actions,
.stats {
  display: grid;
  gap: 1rem;
}

.visual-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card,
.stat-card,
.service-card,
.timeline-step {
  position: relative;
  border-radius: 1.5rem;
  padding: 1.6rem;
  background: rgba(12, 19, 39, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
  overflow: hidden;
}

.mini-card:hover,
.stat-card:hover,
.service-card:hover,
.timeline-step:hover,
.promise-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  background: rgba(20, 30, 58, 0.7);
  border-color: rgba(106, 226, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.service-card::before,
.timeline-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(106, 226, 255, 0.1), transparent 50%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.service-card:hover::before,
.timeline-step:hover::before {
  opacity: 1;
}

.marquee-section {
  width: 100%;
  overflow: hidden;
  padding: 3rem 0;
  background: rgba(10, 16, 35, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transform: rotate(-1.5deg) scale(1.05);
  margin: 4rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
  width: max-content;
}

.marquee-content span {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  padding: 0 1rem;
}

.marquee-content .marquee-separator {
  color: var(--accent);
  -webkit-text-stroke: 0;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.innovation-layout {
  display: grid;
}

.innovation-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 34rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.4rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(106, 226, 255, 0.16), transparent 24%),
    radial-gradient(circle at 85% 22%, rgba(146, 255, 203, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(12, 19, 39, 0.88), rgba(7, 11, 23, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.innovation-copy {
  max-width: 34rem;
}

.innovation-copy h3 {
  margin: 0.8rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.innovation-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.innovation-orbit {
  position: relative;
  min-height: 30rem;
}

.orbit-ring {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring-one {
  width: 24rem;
  height: 24rem;
}

.orbit-ring-two {
  width: 16rem;
  height: 16rem;
}

.innovation-node {
  position: absolute;
  display: grid;
  gap: 0.3rem;
  width: 10rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.innovation-node span {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 700;
}

.innovation-node strong {
  line-height: 1.2;
}

.node-main {
  top: 50%;
  left: 50%;
  width: 12rem;
  transform: translate(-50%, -50%);
  background: rgba(106, 226, 255, 0.08);
}

.node-a {
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.node-b {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.node-c {
  bottom: 1.5rem;
  left: 20%;
}

.stat-card {
  text-align: center;
}

.stat-value {
  margin-top: 0;
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--text);
}

.stat-label {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.95rem;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.contact-card h2 {
  font-size: clamp(2.2rem, 6vw, 4.3rem);
}

.services-section {
  position: relative;
}

.section-wave {
  position: absolute;
  inset: 0;
  top: 4rem;
  background: url('../assets/paint-wave.svg') center top / 100% auto no-repeat;
  opacity: 0.85;
  pointer-events: none;
}

.service-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-visual {
  position: relative;
  margin: -0.4rem -0.4rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.service-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 32%);
  pointer-events: none;
}

.service-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.service-card h3,
.timeline-step h3,
.promise-card h3 {
  margin: 0.9rem 0 0.8rem;
  font-size: 1.45rem;
  transition: color 300ms ease;
}

.service-card:hover h3,
.timeline-step:hover h3 {
  color: var(--accent);
}

.split-section,
.standards-layout {
  display: grid;
  gap: 1.5rem;
}

.standards-layout {
  grid-template-columns: 1fr 1fr;
}

.promise-card {
  padding: 2.5rem;
  border-radius: 2rem;
  background: rgba(12, 19, 39, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms ease;
}

.check-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.before-after {
  display: grid;
  gap: 1rem;
}

.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 18rem;
  padding: 2rem;
  border-radius: 2rem;
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  pointer-events: none;
}

.panel span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.panel-before {
  background:
    linear-gradient(180deg, rgba(6, 10, 19, 0.4), rgba(6, 10, 19, 0.94)),
    linear-gradient(135deg, rgba(255, 94, 98, 0.42), rgba(8, 13, 28, 0.22)),
    url('../assets/damage-scene.svg') center/cover no-repeat;
}

.panel-after {
  background:
    linear-gradient(180deg, rgba(6, 10, 19, 0.2), rgba(6, 10, 19, 0.9)),
    linear-gradient(135deg, rgba(106, 226, 255, 0.4), rgba(146, 255, 203, 0.25)),
    url('../assets/finish-scene.svg') center/cover no-repeat;
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  align-items: center;
  border-radius: 2.5rem;
  background:
    radial-gradient(circle at top right, rgba(59, 160, 255, 0.15), transparent 40%),
    rgba(12, 19, 39, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-actions-primary {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.contact-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 6.5rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: rgba(106, 226, 255, 0.4);
  background: rgba(106, 226, 255, 0.06);
}

.footer {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 2rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(11, 18, 35, 0.95), rgba(6, 10, 20, 0.98)),
    radial-gradient(circle at top right, rgba(106, 226, 255, 0.12), transparent 30%);
  box-shadow: var(--shadow);
}

.footer p {
  margin: 0;
}

.footer-brand {
  display: grid;
  gap: 0.55rem;
  max-width: 42rem;
}

.footer-kicker,
.footer-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-brand h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.footer-card {
  display: grid;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
}

.footer-address {
  display: grid;
  gap: 0.35rem;
  color: var(--text);
  font-style: normal;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.75rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  min-width: 0;
  padding: 0.2rem 0;
  color: var(--text);
}

.footer-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(106, 226, 255, 0.18);
  border-radius: 999px;
  background: rgba(106, 226, 255, 0.08);
  color: var(--accent);
}

.footer-link-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }

/* --- QUOTE FORM --- */
.quote-form-container {
  width: 100%;
}

.quote-form {
  display: grid;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.form-group input[aria-invalid='true'],
.form-group textarea[aria-invalid='true'] {
  border-color: #ff7a7a;
  box-shadow: 0 0 0 1px rgba(255, 122, 122, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.field-error {
  min-height: 1rem;
  margin: 0;
  color: #ff9c9c;
  font-size: 0.82rem;
}

.consent-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.consent-field input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
}

.consent-field a {
  color: var(--accent);
}

.form-hint,
.form-status {
  margin: 0;
  font-size: 0.9rem;
}

.form-hint {
  color: var(--muted);
}

.form-status {
  color: var(--accent);
}

.form-status.is-error {
  color: #ff9c9c;
}

.form-status.is-success {
  color: #8ff0b3;
}

.quote-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.5rem;
}

.footer-legal-links a {
  color: var(--accent);
  font-size: 0.92rem;
}

.legal-page {
  min-height: 100vh;
  padding: 2rem;
  background:
    radial-gradient(circle at top, rgba(106, 226, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #050816 0%, #081020 100%);
}

.legal-shell {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.legal-back {
  color: var(--accent);
  width: fit-content;
}

.legal-card {
  display: grid;
  gap: 1.4rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: linear-gradient(180deg, rgba(15, 24, 48, 0.9), rgba(8, 13, 28, 0.96));
  box-shadow: var(--shadow);
}

.legal-card h1,
.legal-card h2 {
  margin: 0;
}

.last-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.3rem !important;
  margin-bottom: 1.5rem !important;
  font-style: italic;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

@media (max-width: 720px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .quote-form {
    padding: 1.5rem;
  }
}
.coo-badge {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  max-width: 22rem;
}

.coo-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #020611;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.coo-name {
  display: block;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: bold;
}

.coo-title {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  display: block;
  margin-bottom: 0.2rem;
}

.coo-desc {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-coo-badge {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  width: fit-content;
}

.footer-coo-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #020611;
  font-size: 0.95rem;
}

.footer-coo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-coo-name {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: bold;
}

.footer-coo-title {
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.designer-credit {
  font-weight: 500;
  color: #dce7ff;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(4, 9, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  padding: 1rem;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  width: min(100%, 900px);
  max-height: 90vh;
  background: linear-gradient(180deg, rgba(15, 24, 48, 0.95), rgba(8, 13, 28, 0.98));
  border: 1px solid rgba(106, 226, 255, 0.15);
  border-radius: 1.5rem;
  padding: 3rem;
  overflow-y: auto;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.98);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal-overlay.is-open .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.5rem 0 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.modal-body {
  display: grid;
  gap: 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.modal-body h3 {
  color: var(--text);
  font-size: 1.4rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-body p {
  margin: 0 0 1rem;
}

@media (max-width: 720px) {
  .modal-content {
    padding: 2rem 1.5rem;
  }
}

.enhanced-effects body {
  cursor: none;
}

#cursor-dot, #cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

#cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--text);
  margin: -3px 0 0 -3px;
  transition: width 0.2s, height 0.2s, background 0.2s;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

#cursor-ring {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(106, 226, 255, 0.4);
  margin: -22px 0 0 -22px;
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}

#cursor-dot.hovered {
  width: 0px;
  height: 0px;
}

#cursor-ring.hovered {
  width: 60px;
  height: 60px;
  background: rgba(106, 226, 255, 0.05);
  border-color: var(--accent);
  backdrop-filter: blur(2px);
}

#ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(106, 226, 255, 0.08) 0%, transparent 60%);
  margin: -400px 0 0 -400px;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  #cursor-dot, #cursor-ring, #ambient-glow {
    display: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.96);
  filter: blur(8px);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  body {
    background-attachment: scroll;
  }

  body::before {
    opacity: 0.18;
  }

  .topbar,
  .hero,
  .stats,
  .service-grid,
  .standards-layout,
  .timeline,
  .contact-card,
  .innovation-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    justify-content: stretch;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 1.8rem;
    padding: 1rem;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
  }

  .nav a,
  .nav button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  .nav a::after,
  .nav button::after {
    display: none;
  }

  .button-small {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .innovation-orbit {
    min-height: 26rem;
  }

  .orbit-ring-one {
    width: 22rem;
    height: 22rem;
  }

  .orbit-ring-two {
    width: 14rem;
    height: 14rem;
  }

  .section-wave,
  .floating-chip {
    display: none;
  }

  .node-a {
    top: 1rem;
  }

  .node-b {
    right: 0;
  }

  .node-c {
    bottom: 0;
    left: 10%;
  }

  .contact-actions {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    display: grid;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 1rem, 1200px);
  }

  .topbar,
  .main-visual,
  .service-card,
  .promise-card,
  .panel,
  .timeline-step,
  .contact-card,
  .stat-card,
  .mini-card {
    border-radius: 1.4rem;
  }

  .section {
    padding: 3.8rem 0;
  }

  .service-visual {
    margin: 0 0 1rem;
  }

  .hero h1 {
    max-width: none;
  }

  .visual-grid {
    grid-template-columns: 1fr;
  }

  .hero-signature {
    gap: 0.8rem;
    justify-content: center;
  }

  .hero-logo-secondary {
    max-width: 18rem;
  }
  .hero-logo-wrapper {
    margin-bottom: 1.5rem;
  }

  .signature-pill {
    width: 100%;
    justify-content: center;
  }

  .innovation-panel {
    min-height: auto;
    padding: 1.4rem;
  }

  .innovation-orbit {
    min-height: 22rem;
    margin: 1rem 0;
  }

  .orbit-ring-one {
    width: 17rem;
    height: 17rem;
  }

  .orbit-ring-two {
    width: 11rem;
    height: 11rem;
  }

  .innovation-node {
    width: 8.5rem;
    padding: 0.75rem;
  }

  .innovation-node span {
    font-size: 0.6rem;
  }

  .innovation-node strong {
    font-size: 0.95rem;
  }

  .node-main {
    width: 10rem;
  }

  .node-a {
    top: 0;
  }

  .node-b {
    right: -0.5rem;
  }

  .node-c {
    bottom: -1rem;
    left: 5%;
  }

  .footer {
    padding: 1.4rem;
  }

  .footer-bottom {
    align-items: center;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar,
  .button-secondary,
  .button-ghost,
  .signature-pill,
  .floating-chip,
  .visual-copy,
  .promise-card,
  .innovation-node,
  .contact-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
