﻿:root {
  --ink: #07111f;
  --ink-2: #182a44;
  --muted: #607086;
  --line: rgba(137, 158, 185, .24);
  --line-strong: rgba(137, 158, 185, .42);
  --bg: #f5f8fc;
  --surface: #ffffff;
  --navy: #07172e;
  --navy-2: #0c2447;
  --blue: #1769ff;
  --cyan: #12c8df;
  --teal: #06a6a6;
  --green: #13a36f;
  --amber: #f5b84b;
  --coral: #ef6f4f;
  --shadow: 0 22px 55px rgba(7, 23, 46, .12);
  --shadow-strong: 0 36px 90px rgba(7, 23, 46, .24);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, #f1f7fb 420px, #f8fafc 100%),
    var(--bg);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3,
p {
  word-break: keep-all;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 50% 38%, rgba(18, 200, 223, .22), transparent 32%),
    linear-gradient(135deg, #07172e, #0b2448 52%, #05101f);
  transition: opacity .45s ease, visibility .45s ease;
}

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

.loader-panel {
  display: grid;
  justify-items: center;
  width: min(360px, calc(100vw - 48px));
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
  backdrop-filter: blur(18px);
}

.loader-panel img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(18, 200, 223, .26));
  animation: loaderFloat 2.6s ease-in-out infinite;
}

.loader-panel span {
  margin-top: 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
}

.loader-panel strong {
  margin-top: 8px;
  text-align: center;
  font-size: 20px;
}

.loader-progress {
  width: 100%;
  height: 4px;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
}

.loader-progress i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #fff, var(--cyan), var(--blue));
  animation: loaderProgress 1.35s ease-in-out infinite;
}

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

@keyframes loaderProgress {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(250%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(7, 23, 46, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(7, 23, 46, .95);
  box-shadow: 0 18px 40px rgba(7, 23, 46, .18);
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  color: #fff;
  font-size: 18px;
  font-weight: 950;
}

.brand small {
  margin-top: -2px;
  color: rgba(255, 255, 255, .64);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  font-weight: 850;
}

.site-nav a {
  padding: 9px 0;
  transition: color .2s ease, background .2s ease, border .2s ease;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav .admin-menu {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: #c7f8ff;
  background: rgba(255, 255, 255, .07);
}

.site-nav .nav-cta {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 16px 30px rgba(18, 200, 223, .22);
}

.site-nav .nav-cta:hover {
  color: var(--navy);
  border-color: rgba(18, 200, 223, .55);
  background: #e9fbff;
  box-shadow: 0 18px 34px rgba(18, 200, 223, .28);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 0;
  padding: 0;
  color: #fff;
  background: var(--navy);
}

.hero-slider {
  position: relative;
  inset: auto;
  height: clamp(680px, 92vh, 1040px);
  z-index: 0;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(7, 23, 46, .04) 0%, rgba(7, 23, 46, .12) 76%, rgba(7, 23, 46, .28) 100%),
    linear-gradient(90deg, rgba(7, 23, 46, .18), rgba(7, 23, 46, .03) 48%, rgba(7, 23, 46, .20));
  pointer-events: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: var(--slide-image) center / cover no-repeat;
  transform: none;
  transition: opacity .75s ease;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
  transform: none;
}

.hero-media,
.hero-youtube {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
  filter: brightness(1.26) contrast(1.06) saturate(1.08);
}

.hero-youtube {
  transform: scale(1.18);
  transform-origin: center;
  pointer-events: none;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: clamp(46px, 6vw, 78px) clamp(18px, 4vw, 56px) clamp(44px, 6vw, 74px);
  background:
    linear-gradient(180deg, rgba(6, 19, 38, .88), rgba(7, 23, 46, .95)),
    radial-gradient(circle at 82% 18%, rgba(18, 200, 223, .12), transparent 30%),
    linear-gradient(180deg, #061326 0%, #07172e 58%, #0a2447 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.hero-copy {
  display: grid;
  justify-items: center;
  max-width: 980px;
  min-width: 0;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 920px;
  color: #fff;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 1.08;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .42);
}

.hero-lead {
  max-width: 760px;
  margin-top: 20px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .36);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #1769ff, #0648bd);
  box-shadow: 0 18px 38px rgba(23, 105, 255, .28);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .22);
  backdrop-filter: blur(12px);
}

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 920px;
  margin-top: 28px;
}

.hero-stack span {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .08);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-video-showcase {
  position: relative;
  width: min(100%, 440px);
  justify-self: end;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .06)),
    rgba(7, 23, 46, .58);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
  backdrop-filter: blur(18px);
}

.hero-video-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .84);
  font-size: 12px;
  font-weight: 900;
}

.hero-video-head span {
  color: var(--cyan);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-video-head strong {
  text-align: right;
}

.hero-video-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: #06111f;
}

.hero-video-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 28%),
    linear-gradient(90deg, rgba(18, 200, 223, .18), transparent 46%);
  pointer-events: none;
}

.hero-video-scene {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  animation: heroVideoCycle 12s ease-in-out infinite;
}

.hero-video-scene:nth-child(2) {
  animation-delay: 4s;
}

.hero-video-scene:nth-child(3) {
  animation-delay: 8s;
}

.hero-video-scene img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-caption {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
}

.hero-video-caption span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
}

.hero-video-caption strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
}

@keyframes heroVideoCycle {
  0%, 28% {
    opacity: 1;
    transform: scale(1);
  }
  34%, 100% {
    opacity: 0;
    transform: scale(1.04);
  }
}

.quick-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: -34px auto 0;
  border: 1px solid rgba(137, 158, 185, .28);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 23, 46, .12);
}

.quick-metrics div {
  min-height: 118px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
}

.quick-metrics strong {
  display: block;
  color: var(--blue);
  font-size: 14px;
  letter-spacing: .08em;
}

.quick-metrics span {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(82px, 9vw, 124px) clamp(18px, 4vw, 0px) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

h2 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
}

h3 {
  color: var(--ink);
  font-size: 22px;
}

.section-lead {
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: 34px auto 0;
  padding: 0 clamp(18px, 4vw, 0px);
}

.service-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 14px 34px rgba(7, 23, 46, .06);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.service-card::after {
  content: none;
}

.service-card:hover {
  border-color: rgba(23, 105, 255, .26);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card-large {
  grid-column: span 2;
  border-color: rgba(23, 105, 255, .22);
  background: linear-gradient(135deg, #f7fbff, #eef8ff);
}

.service-card-sub {
  min-height: 190px;
  background: #fff;
}

.service-card-sub .card-kicker {
  color: var(--coral);
}

.service-card-sub h3 {
  font-size: 20px;
}

.service-card-sub p {
  font-size: 14px;
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-card-large .card-kicker {
  color: var(--blue);
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.service-card-large p {
  color: var(--muted);
}

.service-more {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(23, 105, 255, .28);
  text-underline-offset: 4px;
}

.service-more:hover,
.service-more:focus-visible {
  text-decoration-color: currentColor;
}

.tech-stack {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(440px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  max-width: var(--max);
  margin: clamp(76px, 9vw, 116px) auto 0;
  padding: 0 clamp(18px, 4vw, 0px);
}

.tech-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tech-grid article,
.operations-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 23, 46, .06);
}

.tech-grid span,
.operations-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tech-grid strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.tech-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.video-showcase {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(430px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: var(--max);
  margin: clamp(86px, 10vw, 128px) auto 0;
  padding: 0 clamp(18px, 4vw, 0px);
}

.video-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

.video-slider {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow-strong);
}

.video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .5s ease, transform .5s ease;
}

.video-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.video-slide img,
.video-slide video,
.video-slide iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--navy);
}

.video-slide iframe {
  border: 0;
}

.video-slide div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 23, 46, .82);
  backdrop-filter: blur(12px);
}

.video-slide span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.video-slide strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.video-controls {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
}

.video-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  font-weight: 900;
}

.video-controls button.is-active {
  color: var(--navy);
  background: #fff;
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, .86fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: var(--max);
  margin: clamp(86px, 10vw, 128px) auto 0;
  padding: 0 clamp(18px, 4vw, 0px);
}

.platform-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.platform-actions .button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.platform-actions .button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
}

.platform-visual {
  position: relative;
}

.platform-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(137, 158, 185, .28);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.dashboard-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 280px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 23, 46, .88);
  backdrop-filter: blur(14px);
}

.dashboard-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dashboard-card strong {
  display: block;
  margin-top: 5px;
  line-height: 1.35;
}

.admin-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .58fr);
  gap: 34px;
  max-width: var(--max);
  margin: clamp(82px, 10vw, 126px) auto 0;
  padding: clamp(30px, 5vw, 48px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 23, 46, .98), rgba(23, 105, 255, .80)),
    var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.admin-band h2 {
  color: #fff;
}

.admin-band p {
  max-width: 780px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .75);
}

.admin-band ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-band li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
}

.portfolio-panel {
  max-width: var(--max);
  margin: 34px auto 0;
  padding: 0 clamp(18px, 4vw, 0px);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filters button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
  background: #fff;
  font-weight: 900;
}

.filters button.is-active {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

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

.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(7, 23, 46, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.portfolio-card div {
  padding: 20px;
}

.portfolio-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portfolio-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.client-sites {
  max-width: var(--max);
  margin: clamp(76px, 9vw, 118px) auto 0;
  padding: 0 clamp(18px, 4vw, 0px);
}

.client-sites-head {
  max-width: 760px;
}

.client-sites-head p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.client-site-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.client-site-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(7, 23, 46, .08);
}

.client-site-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.client-site-card div {
  padding: 20px;
}

.client-site-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.client-site-card h3 {
  margin-top: 8px;
}

.client-site-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.case-points {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.case-points li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}

.case-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.client-site-card a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #f7fbfc;
  font-weight: 950;
}

.estimate-print-note {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  line-height: 1.5;
}

.quote-builder {
  max-width: none;
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
}

.quote-heading {
  max-width: var(--max);
  margin: 0 auto 26px;
}

.quote-heading .section-lead {
  max-width: 780px;
  margin-top: 14px;
}

.quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: start;
}

.estimate-form {
  display: grid;
  gap: 14px;
}

fieldset {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(7, 23, 46, .05);
}

legend {
  padding: 0 8px;
  color: var(--ink);
  font-weight: 950;
}

.estimate-form fieldset:first-child,
.estimate-form fieldset:last-child {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.estimate-form label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 760;
}

.estimate-help {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: rgba(7, 23, 46, .58);
  font-size: 13px;
  line-height: 1.55;
}

.estimate-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blue);
}

.estimate-unit {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--blue);
  background: #edf6fb;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.range-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}

.range-row input {
  accent-color: var(--blue);
}

.range-row output {
  min-width: 86px;
  padding: 8px 10px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.estimate-result {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 23, 46, .98), rgba(23, 105, 255, .92)),
    var(--navy);
  box-shadow: var(--shadow-strong);
}

.estimate-result span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.estimate-result strong {
  display: block;
  margin-top: 12px;
  font-size: 30px;
  line-height: 1.2;
}

.estimate-result p {
  margin-top: 12px;
  color: rgba(255, 255, 255, .78);
}

.estimate-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.estimate-result .button.primary {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}

.estimate-result .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .22);
}

.workflow-section {
  max-width: var(--max);
}

.workflow-heading {
  max-width: 820px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.workflow article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 23, 46, .06);
}

.workflow span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
}

.workflow p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.operations-section {
  max-width: var(--max);
  margin: clamp(80px, 10vw, 126px) auto 0;
  padding: 0 clamp(18px, 4vw, 0px);
}

.operations-head {
  max-width: 860px;
}

.operations-head p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.operations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.operations-grid h3 {
  margin-bottom: 14px;
}

.operations-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.operations-grid li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.operations-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .64em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.chatbot-service {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(340px, .7fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
}

.chatbot-preview {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.bot-message,
.user-message {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  white-space: pre-line;
}

.bot-message {
  color: var(--ink-2);
  background: #edf6fb;
}

.user-message {
  justify-self: end;
  color: #fff;
  background: var(--blue);
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, .56fr) minmax(380px, 1fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(7, 23, 46, .04);
}

summary {
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

details p {
  padding: 0 20px 18px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(430px, .8fr);
  grid-template-areas:
    "copy form"
    "lookup form";
  gap: clamp(28px, 5vw, 70px);
  max-width: var(--max);
  margin: clamp(88px, 10vw, 128px) auto 0;
  padding: clamp(32px, 5vw, 54px) clamp(18px, 4vw, 54px);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 23, 46, .98), rgba(12, 36, 71, .94)),
    url("../images/hero/contact-cloud.png?v=20260624-studio") center / cover no-repeat;
  box-shadow: var(--shadow-strong);
}

.contact-copy {
  grid-area: copy;
}

.contact-copy h2 {
  color: #fff;
}

.contact-copy p {
  margin-top: 16px;
  color: rgba(255, 255, 255, .78);
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-direct a,
.contact-direct div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.contact-direct span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-direct strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.35;
}

.contact-note {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.contact-note strong,
.contact-note span {
  display: block;
}

.contact-note span {
  margin-top: 6px;
  color: rgba(255, 255, 255, .74);
}

.contact-checklist {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.contact-checklist strong {
  display: block;
  color: #fff;
}

.contact-checklist ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.contact-checklist li {
  position: relative;
  padding-left: 16px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  line-height: 1.5;
}

.contact-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cyan);
}

.contact-form {
  grid-area: form;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, .12);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .full,
.form-note,
.quote-output {
  grid-column: 1 / -1;
}

.consent-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #d8e7f2;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fcff, #f2f8fc);
}

.consent-box > strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
}

.consent-box > p,
.consent-box > small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.contact-form .consent-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  min-height: auto;
  color: #26394d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.contact-form .consent-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--blue);
}

.contact-form .consent-item b {
  color: var(--blue);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-note,
.quote-output {
  color: var(--muted);
  font-size: 14px;
}

.quote-output {
  padding: 12px;
  border-radius: 8px;
  background: #edf6fb;
}

.quote-output strong,
.quote-output span,
.quote-output a {
  display: block;
}

.quote-output strong {
  color: var(--ink);
  font-size: 15px;
}

.quote-output a {
  width: fit-content;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-output span {
  margin-top: 8px;
}

.project-lookup-form {
  grid-area: lookup;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-self: end;
  margin-top: -44px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 23, 46, .72);
  box-shadow: 0 20px 58px rgba(7, 23, 46, .18);
  backdrop-filter: blur(14px);
}

.project-lookup-form > div,
.project-lookup-form .form-note {
  grid-column: 1 / -1;
}

.project-lookup-form h3,
.project-lookup-form p {
  margin: 0;
}

.project-lookup-form h3 {
  margin-top: 3px;
  color: #ffd84d;
  font-size: 24px;
}

.project-lookup-form span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
}

.project-lookup-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  font-weight: 900;
}

.project-lookup-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  padding: 0 13px;
  color: #07111f;
  background: #fff;
}

.project-lookup-form button {
  align-self: end;
  min-height: 46px;
  border-color: rgba(255, 255, 255, .3);
  color: #07111f;
  background: #dffaff;
}

.project-lookup-form .form-note {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.status-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 12%, rgba(18, 200, 223, .16), transparent 32%),
    linear-gradient(135deg, #061326, #0a2447 46%, #f4f8fc 46.2%, #f8fbfd 100%);
}

.status-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.status-logo {
  display: inline-flex;
  align-items: center;
  width: 230px;
  min-height: 56px;
  margin-bottom: clamp(34px, 6vw, 76px);
}

.status-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.status-hero {
  max-width: 760px;
  color: #fff;
}

.status-hero h1 {
  margin-top: 12px;
  font-size: clamp(38px, 7vw, 72px);
}

.status-hero p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.status-search-card {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) auto minmax(160px, .8fr) minmax(190px, .9fr) auto;
  align-items: end;
  gap: 12px;
  margin-top: 38px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 28px 80px rgba(7, 23, 46, .2);
}

.status-search-card label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 900;
}

.status-search-card > span {
  align-self: center;
  color: var(--muted);
  font-weight: 900;
}

.status-search-card input {
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
}

.status-search-card button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue);
  font-weight: 950;
}

.status-empty {
  margin: 18px 0 0;
  padding: 16px;
  border: 1px solid #f6cfb8;
  border-radius: 8px;
  color: #8b421c;
  background: #fff3ec;
  font-weight: 800;
}

.status-results {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.status-result-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #dce8f3;
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 70px rgba(7, 23, 46, .12);
}

.status-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-card-head span,
.status-card-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
}

.status-card-head span {
  color: var(--blue);
  background: #eef6ff;
}

.status-card-head strong {
  color: #064d55;
  background: #dffaff;
}

.status-result-card h2 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 42px);
}

.status-result-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.status-progress {
  height: 12px;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 999px;
  background: #e8f0f8;
}

.status-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.status-result-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.status-result-card dl div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #e1edf5;
}

.status-result-card dt,
.status-result-card dd {
  margin: 0;
}

.status-result-card dt {
  color: var(--muted);
  font-weight: 900;
}

.status-result-card dd {
  color: var(--ink);
  font-weight: 800;
}

.status-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.status-card-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.status-guide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.status-guide article {
  padding: 18px;
  border: 1px solid #dce8f3;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
}

.status-guide strong,
.status-guide span {
  display: block;
}

.status-guide strong {
  color: var(--blue);
  font-size: 28px;
}

.status-guide span {
  margin-top: 8px;
  color: var(--ink);
  font-weight: 900;
}

.chatbot-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  min-height: 0;
  padding: 0;
  border: 0;
  color: var(--navy);
  background: transparent;
  filter: none;
  font-weight: 950;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.chatbot-toggle.is-panel-open {
  pointer-events: none;
}

.chatbot-toggle.is-dragging {
  cursor: grabbing;
  transition: none !important;
}

.chatbot-character {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 8px;
}

.chatbot-bubble-label {
  position: relative;
  display: grid;
  align-items: center;
  justify-self: center;
  width: min(238px, calc(100vw - 44px));
  min-height: 72px;
  margin-bottom: -18px;
  padding: 15px 18px;
  border: 1px solid rgba(23, 105, 255, .16);
  border-radius: 14px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(239, 252, 255, .96));
  box-shadow: 0 18px 42px rgba(7, 23, 46, .18);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.35;
  backdrop-filter: blur(14px);
}

.chatbot-bubble-label::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(23, 105, 255, .16);
  border-bottom: 1px solid rgba(23, 105, 255, .16);
  background: rgba(244, 253, 255, .98);
  transform: translateX(-50%) rotate(45deg);
}

.chatbot-bubble-label::after {
  content: "";
  position: absolute;
  display: none;
  left: 18px;
  right: 18px;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(18, 200, 223, .35), transparent);
  opacity: .75;
}

.chatbot-bubble-label span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  opacity: 1;
  transform: none;
  animation: none;
}

.chatbot-bubble-label span::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.08em;
  margin-left: 3px;
  border-radius: 999px;
  background: var(--blue);
  animation: chatbotTypingCursor .86s steps(1) infinite;
}

.chatbot-lottie {
  display: block;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .72), rgba(18, 200, 223, .18) 44%, rgba(23, 105, 255, .06) 68%, transparent 72%);
}

.chatbot-lottie svg {
  display: block;
}

.chatbot-fallback {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 86px;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
}

.robot-wave {
  position: relative;
  display: block;
  width: 572px;
  height: 572px;
  transform: none;
  animation: none;
}

.chatbot-video-wrap {
  overflow: visible;
  border-radius: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.chatbot-video-wrap.native-video-ready {
  overflow: visible;
  border-radius: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.robot-wave::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: 0;
  border-radius: 50%;
  background: transparent;
  opacity: 0;
  animation: none;
}

.robot-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: none;
}

.chatbot-video-source {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}

.chatbot-video-wrap.no-canvas .chatbot-video-source {
  opacity: 0;
  mix-blend-mode: normal;
}

.chatbot-video-wrap.native-video-ready .chatbot-video-source {
  opacity: 0 !important;
  visibility: hidden;
  mix-blend-mode: normal;
  filter: none;
}

.chatbot-video-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  opacity: 0;
  filter: none;
  transition: opacity .28s ease;
}

.chatbot-video-wrap.is-video-ready .chatbot-video-canvas {
  opacity: 1;
}

.chatbot-video-wrap.native-video-ready .chatbot-video-canvas {
  opacity: 0;
}

@keyframes robotFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1.02);
  }
  50% {
    transform: translate3d(0, -6px, 0) scale(1.02);
  }
}

@keyframes robotAura {
  0%, 100% {
    transform: scale(.92);
    opacity: .58;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes chatbotTypingCursor {
  0%, 48% {
    opacity: 1;
  }
  49%, 100% {
    opacity: 0;
  }
}

.chatbot-panel {
  position: fixed;
  right: 24px;
  bottom: clamp(238px, 31vh, 302px);
  z-index: 90;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(540px, calc(100vw - 32px));
  height: min(480px, calc(100vh - 24px));
  height: min(480px, calc(100dvh - 24px));
  max-height: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 28px 82px rgba(7, 23, 46, .24);
}

.chatbot-panel[hidden] {
  display: none;
}

.chatbot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 23, 46, .98), rgba(23, 105, 255, .88)),
    var(--navy);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.chatbot-panel.is-dragging .chatbot-head {
  cursor: grabbing;
}

.chatbot-panel.is-dragging {
  transition: none !important;
}

.chatbot-head strong,
.chatbot-head span {
  display: block;
}

.chatbot-head span {
  margin-top: 3px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
}

.chatbot-head button {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  color: #fff;
  background: transparent;
  font-size: 20px;
}

.chatbot-messages {
  display: grid;
  gap: 12px;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding: 14px 16px 10px;
  scroll-behavior: smooth;
}

.chatbot-panel .bot-message,
.chatbot-panel .user-message {
  max-width: 92%;
  padding: 13px 15px;
  border-radius: 13px;
  font-size: 14.5px;
  line-height: 1.62;
}

.chatbot-panel .bot-message {
  border: 1px solid rgba(23, 105, 255, .1);
  background: #f2f8ff;
}

.chatbot-call-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 10px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 950;
  text-decoration: none;
}

.chatbot-call-link:hover {
  background: var(--navy);
}

.chatbot-panel .user-message {
  border-top-right-radius: 4px;
  box-shadow: 0 10px 24px rgba(23, 105, 255, .18);
}

.quick-questions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-height: 136px;
  overflow-y: auto;
  padding: 2px 16px 10px;
}

.quick-questions button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-2);
  background: #fff;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.quick-questions button:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.chatbot-form {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 76px;
  gap: 8px;
  padding: 11px 16px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .82);
}

.chatbot-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
}

.chatbot-form button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.floating-actions {
  display: none;
}

.floating-call,
.floating-quote {
  text-decoration: none;
}

.pwa-install-guide {
  display: none;
}

.pwa-install-guide {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 47;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(440px, calc(100vw - 44px));
  padding: 14px 15px;
  border: 1px solid rgba(23, 105, 255, .18);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(14px);
}

.pwa-install-guide.is-visible {
  display: grid;
}

.pwa-install-guide strong,
.pwa-install-guide span {
  display: block;
}

.pwa-install-guide strong {
  font-size: 14px;
}

.pwa-install-guide span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.pwa-install-actions {
  display: flex;
  gap: 6px;
}

.pwa-install-actions button,
.pwa-install-actions a {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--navy);
  background: #fff;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.pwa-install-actions button[data-pwa-install-action],
.pwa-install-actions a[data-pwa-open-chrome] {
  min-width: 66px;
  border-color: transparent;
  color: #fff;
  background: var(--blue);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  max-width: var(--max);
  margin: 60px auto 0;
  padding: 30px clamp(18px, 4vw, 0px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span,
.site-footer small {
  display: block;
}

.site-footer strong {
  color: var(--ink);
}

.footer-company {
  max-width: 820px;
}

.site-footer small {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  font-weight: 900;
}

.legal-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 130px clamp(18px, 4vw, 0px) 20px;
}

.legal-hero {
  padding: 48px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.legal-hero h1 {
  margin: 8px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
}

.legal-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.75;
}

.legal-hero span {
  display: inline-block;
  margin-top: 18px;
  color: var(--cyan);
  font-weight: 900;
}

.service-page-visual {
  width: 100%;
  margin: 24px 0 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 7;
  background: #eaf1fa;
}

.service-page-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.service-page-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 6px;
  color: #fff;
  font-weight: 900;
}

.service-page-actions a:first-child {
  border-color: var(--cyan);
  color: var(--ink);
  background: var(--cyan);
}

.legal-content {
  display: grid;
  gap: 26px;
  margin-top: 34px;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-content h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--ink);
}

.legal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content details {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.legal-content details:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-content summary {
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.legal-content details p {
  margin-top: 10px;
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 12px;
    font-size: 14px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-video-showcase {
    justify-self: start;
    width: min(540px, 100%);
    margin-top: 8px;
  }

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

  .platform-section,
  .video-showcase,
  .contact-section,
  .section-intro,
  .tech-stack,
  .quote-panel,
  .chatbot-service,
  .faq-section,
  .client-site-grid {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-areas:
      "copy"
      "form"
      "lookup";
  }

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

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

  .estimate-result {
    position: static;
  }

  .project-lookup-form {
    margin-top: 16px;
  }

  .status-search-card {
    grid-template-columns: 1fr 52px 1fr 1fr;
  }

  .status-search-card button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 82px;
  }

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

  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
    background: rgba(7, 23, 46, .98);
    box-shadow: var(--shadow-strong);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .admin-menu,
  .site-nav .nav-cta {
    padding: 12px;
    border-radius: 8px;
  }

  .site-nav .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 0;
    background: var(--navy);
  }

  .hero-slider {
    height: clamp(480px, 76vh, 740px);
  }

  .hero-content {
    padding: 34px 16px 32px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-copy {
    justify-items: start;
    text-align: left;
  }

  .hero-video-showcase {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
  }

  .hero-video-head {
    display: grid;
    gap: 4px;
    font-size: 11px;
  }

  .hero-video-head strong {
    text-align: left;
  }

  .hero-video-screen {
    aspect-ratio: 16 / 9;
  }

  .hero-video-caption {
    padding: 10px 11px;
  }

  .hero-video-caption strong {
    font-size: 12px;
  }

  .hero-actions,
  .platform-actions {
    display: grid;
    justify-content: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-stack {
    margin-top: 24px;
    justify-content: start;
  }

  .hero-stack span {
    font-size: 12px;
  }

  .quick-metrics {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 16px;
    transform: translateY(-18px);
  }

  .quick-metrics div {
    min-height: 112px;
    padding: 18px;
  }

  .quick-metrics span {
    font-size: 15px;
  }

  .section {
    padding-top: 66px;
    padding-left: 16px;
    padding-right: 16px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .service-grid,
  .tech-stack,
  .portfolio-panel,
  .operations-section,
  .platform-section,
  .client-sites {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-grid,
  .tech-grid,
  .portfolio-grid,
  .client-site-grid,
  .operations-grid,
  .workflow,
  .admin-band,
  .estimate-form fieldset:first-child,
  .estimate-form fieldset:last-child,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card-large {
    grid-column: auto;
  }

  .service-card,
  .workflow article {
    min-height: auto;
  }

  .platform-section,
  .admin-band,
  .contact-section {
    margin-top: 70px;
  }

  .dashboard-card {
    position: static;
    max-width: none;
    margin-top: 10px;
  }

  fieldset,
  .admin-band,
  .contact-form,
  .chatbot-preview {
    padding: 18px;
  }

  .range-row {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 26px 16px;
    border-radius: 0;
  }

  .project-lookup-form {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }

  .status-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 24px;
  }

  .status-logo {
    width: 190px;
    margin-bottom: 38px;
  }

  .status-search-card {
    grid-template-columns: 1fr;
  }

  .status-search-card > span {
    justify-self: center;
  }

  .status-result-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .status-guide {
    grid-template-columns: 1fr;
  }

  .chatbot-toggle {
    left: 50%;
    right: auto;
    bottom: 66px;
    transform: translateX(-50%);
  }

  .chatbot-character {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .chatbot-bubble-label {
    display: grid;
    width: min(176px, calc(100vw - 28px));
    min-height: 50px;
    margin-bottom: -2px;
    padding: 9px 11px;
    font-size: 11px;
  }

  .chatbot-bubble-label::before {
    left: 50%;
    bottom: -6px;
    width: 12px;
    height: 12px;
  }

  .chatbot-bubble-label span {
    min-height: 28px;
  }

  .chatbot-lottie {
    width: 82px;
    height: 82px;
  }

  .robot-wave {
    width: 390px;
    height: 390px;
  }

  .chatbot-panel {
    right: 14px;
    bottom: 170px;
    width: calc(100vw - 28px);
    height: min(420px, calc(100vh - 104px));
    height: min(420px, calc(100dvh - 104px - env(safe-area-inset-bottom)));
    max-height: none;
  }

  .chatbot-messages {
    min-height: 0;
    max-height: none;
  }

  .quick-questions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 112px;
  }

  .floating-actions {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 44;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(260px, calc(100vw - 112px));
    transform: translateX(-50%);
  }

  .floating-actions a {
    display: grid;
    place-items: center;
    min-height: 48px;
    border-radius: 8px;
    font-weight: 950;
    text-align: center;
  }

  .floating-call {
    border: 1px solid var(--line);
    color: var(--navy);
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
  }

  .floating-quote {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--navy));
    box-shadow: var(--shadow);
  }

  .pwa-install-guide {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 72px;
    z-index: 47;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid rgba(23, 105, 255, .18);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(14px);
  }

  .pwa-install-guide.is-visible {
    display: grid;
  }

  .pwa-install-guide strong,
  .pwa-install-guide span {
    display: block;
  }

  .pwa-install-guide strong {
    font-size: 14px;
  }

  .pwa-install-guide span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
  }

  .pwa-install-actions {
    display: flex;
    gap: 6px;
  }

  .pwa-install-actions button,
  .pwa-install-actions a {
    display: inline-grid;
    place-items: center;
    min-width: 38px;
    min-height: 38px;
    border-radius: 8px;
    border: 1px solid var(--line);
    color: var(--navy);
    background: #fff;
    font-weight: 950;
    text-decoration: none;
  }

  .pwa-install-actions button[data-pwa-install-action],
  .pwa-install-actions a[data-pwa-open-chrome] {
    min-width: 66px;
    border-color: transparent;
    color: #fff;
    background: var(--blue);
  }

  .site-footer {
    display: grid;
    gap: 18px;
    margin-top: 44px;
    padding: 24px 16px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-page {
    padding: 96px 16px 12px;
  }

  .legal-hero,
  .legal-content {
    padding: 24px;
  }
}

.chatbot-apng-character {
  min-width: 0;
  min-height: 0;
}

.chatbot-apng-wrap {
  position: relative;
  display: block;
  width: clamp(260px, 28vw, 356px);
  aspect-ratio: 518 / 768;
}

.chatbot-apng-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(7, 23, 46, .18));
}

@media (max-width: 760px) {
  .chatbot-apng-wrap {
    width: min(266px, calc(100vw - 36px));
  }
}

