:root {
  color-scheme: light;
  --ink: #081018;
  --ink-soft: #4f6070;
  --blue: #0a8ab8;
  --blue-deep: #041018;
  --ice: #e8fbff;
  --mist: #eef5f8;
  --line: rgba(8, 20, 30, 0.13);
  --gold: #7ce8ff;
  --steel: #162733;
  --silver: #d8e6ee;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(4, 16, 24, 0.22);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -20%, rgba(124, 232, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #eaf6fa 0%, #f7fbfd 38%, #eef5f8 100%);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

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

.site-shell {
  overflow: hidden;
}

.site-header {
  position: fixed;
  inset: 16px 20px auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px 14px 12px 18px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(4, 16, 24, 0.58);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease;
}

.site-header.scrolled {
  color: var(--white);
  border-color: rgba(124, 232, 255, 0.24);
  background: rgba(4, 16, 24, 0.86);
  box-shadow: 0 18px 50px rgba(4, 16, 24, 0.28);
}

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

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #d9f7ff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(124, 232, 255, 0.28), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #0a8ab8, #06141d 72%);
  font-weight: 800;
}

.brand-logo {
  width: 156px;
  height: 50px;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 6px 14px rgba(124, 232, 255, 0.14));
}

.brand.has-logo .brand-copy {
  display: none;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 18px;
}

.brand-copy small {
  margin-top: 5px;
  color: currentColor;
  opacity: 0.72;
  font-size: 11px;
  text-transform: uppercase;
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  color: currentColor;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  font-size: 14px;
  white-space: nowrap;
}

.desktop-nav a:hover,
.nav-trigger:hover,
.desktop-nav a.active {
  background: rgba(255, 255, 255, 0.14);
}

.site-header.scrolled .desktop-nav a:hover,
.site-header.scrolled .nav-trigger:hover,
.site-header.scrolled .desktop-nav a.active {
  background: rgba(124, 232, 255, 0.12);
}

.nav-trigger span {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.solid-button,
.ghost-button,
.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  white-space: nowrap;
}

.solid-button {
  color: var(--white);
  border-color: rgba(124, 232, 255, 0.3);
  background: linear-gradient(135deg, #12add7 0%, #0a6382 48%, #06131b 100%);
  box-shadow: 0 14px 34px rgba(10, 138, 184, 0.24);
}

.ghost-button,
.glass-button {
  color: currentColor;
  border-color: rgba(124, 232, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.site-header.scrolled .ghost-button {
  border-color: rgba(124, 232, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.glass-button:hover,
.ghost-button:hover,
.solid-button:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 12px;
  width: min(760px, calc(100vw - 40px));
  padding: 16px;
  color: var(--ink);
  border: 1px solid rgba(124, 232, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(247, 252, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mega-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--ink-soft);
}

.mega-menu a:hover {
  color: var(--blue);
  background: var(--ice);
}

.mega-card {
  min-height: 180px;
  padding: 18px;
  color: var(--white);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(4, 16, 24, 0.08), rgba(4, 16, 24, 0.78)),
    url("https://images.pexels.com/photos/28657994/pexels-photo-28657994.jpeg?cs=srgb&dl=pexels-1892494919-28657994.jpg&fm=jpg") center/cover;
}

.mega-card span {
  display: block;
  margin-bottom: 32px;
  color: #d9f7ff;
  font-size: 12px;
}

.mega-card strong {
  display: block;
  font-size: 19px;
  line-height: 1.35;
}

.mega-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.7;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: flex-end;
  background: rgba(4, 18, 27, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  width: min(380px, 88vw);
  height: 100%;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 240ms ease;
}

.drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.drawer-head button,
.drawer-panel button {
  border: 0;
  border-radius: var(--radius);
  background: var(--mist);
}

.drawer-head button {
  width: 42px;
  height: 42px;
  font-size: 28px;
}

.drawer-panel a,
.drawer-panel > button {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  color: var(--white);
  background: #041018;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08) brightness(0.9);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 16, 24, 0.94), rgba(4, 16, 24, 0.58) 46%, rgba(4, 16, 24, 0.18)),
    linear-gradient(0deg, rgba(4, 16, 24, 0.95), rgba(4, 16, 24, 0) 48%),
    linear-gradient(135deg, rgba(124, 232, 255, 0.18), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 56px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 160px 0 84px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 8vw, 112px);
  line-height: 0.95;
}

.hero-text {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-dashboard {
  align-self: end;
  display: grid;
  gap: 12px;
}

.metric {
  padding: 18px;
  border: 1px solid rgba(124, 232, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(6, 20, 30, 0.42);
  backdrop-filter: blur(18px);
}

.metric span {
  display: block;
  font-size: 26px;
  font-weight: 800;
}

.metric small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0;
}

.intro-band {
  width: 100%;
  padding: 56px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(124, 232, 255, 0.18);
  background: linear-gradient(180deg, #f8fdff 0%, #eef6f9 100%);
}

.section-label {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: end;
}

.intro-grid h2,
.section-head h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.intro-grid p,
.section-head p,
.featured-copy p,
.contact p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.split {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: 36px;
  max-width: none;
  align-items: end;
}

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

.service-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.service-card:hover,
.media-item:hover,
.team-card:hover {
  border-color: rgba(10, 138, 184, 0.3);
  box-shadow: 0 18px 42px rgba(4, 16, 24, 0.14);
  transform: translateY(-4px);
}

.service-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  border: 1px solid rgba(19, 93, 130, 0.18);
  border-radius: 50%;
  background: var(--ice);
  font-weight: 900;
}

.service-card h3,
.media-item h3,
.team-card h3,
.timeline h3,
.featured-copy h3 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.service-card p,
.media-item p,
.team-card p,
.timeline p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.quote-section {
  padding-top: 86px;
}

.quote-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(8, 103, 183, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(226, 248, 255, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(124, 232, 255, 0.22), transparent 40%);
  box-shadow: 0 24px 70px rgba(8, 103, 183, 0.14);
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.input-unit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 48px;
  border: 1px solid rgba(19, 93, 130, 0.2);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.input-unit input,
.quote-form select {
  width: 100%;
  min-height: 48px;
  color: var(--ink);
  border: 1px solid rgba(19, 93, 130, 0.2);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
}

.input-unit input {
  border: 0;
  padding: 0 14px;
}

.input-unit span {
  padding: 0 14px;
  color: var(--ink-soft);
}

.quote-form select {
  padding: 0 14px;
}

.quote-result {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 28px;
  color: var(--white);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #041824 0%, #0867b7 72%, #7ce8ff 120%);
  overflow: hidden;
  position: relative;
}

.quote-result::after {
  content: "";
  position: absolute;
  inset: auto -70px -120px auto;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.quote-result > * {
  position: relative;
  z-index: 1;
}

.quote-result span,
.quote-result p,
.quote-result small {
  color: rgba(241, 249, 252, 0.78);
}

.quote-result strong {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}

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

.quote-metrics div {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
}

.quote-metrics b {
  color: var(--white);
  font-size: 21px;
}

.quote-note {
  margin: 0;
  line-height: 1.8;
}

.quote-contact {
  width: fit-content;
}

.order-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 232, 255, 0.24), transparent 34%),
    linear-gradient(180deg, #f7fcff 0%, #eaf7fb 42%, #ffffff 100%);
}

.order-shell {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.order-hero {
  padding: 24px;
  border: 1px solid rgba(8, 103, 183, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(226, 248, 255, 0.86)),
    radial-gradient(circle at 92% 8%, rgba(8, 103, 183, 0.12), transparent 28%);
  box-shadow: 0 24px 72px rgba(8, 103, 183, 0.12);
}

.order-brand img {
  width: 154px;
  height: auto;
}

.tag-pill {
  display: inline-flex;
  margin-top: 22px;
  padding: 8px 12px;
  color: #064766;
  border: 1px solid rgba(8, 103, 183, 0.18);
  border-radius: 999px;
  background: rgba(124, 232, 255, 0.2);
  font-weight: 800;
}

.order-hero h1 {
  margin: 18px 0 12px;
  color: var(--ink);
  font-size: clamp(42px, 8vw, 78px);
  line-height: 1.02;
}

.order-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.85;
}

.order-phone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.order-phone-row a {
  padding: 12px 14px;
  color: var(--blue);
  text-decoration: none;
  border: 1px solid rgba(8, 103, 183, 0.16);
  border-radius: 8px;
  background: var(--white);
  font-weight: 900;
}

.order-type-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(8, 103, 183, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 52px rgba(8, 103, 183, 0.08);
}

.order-type-head {
  display: grid;
  gap: 6px;
}

.order-type-head span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.order-type-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
}

.order-type-head p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

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

.order-type-option {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 14px;
  text-align: left;
  color: var(--ink);
  border: 1px solid rgba(19, 93, 130, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfd 100%);
  box-shadow: 0 12px 30px rgba(8, 103, 183, 0.06);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.order-type-option:hover,
.order-type-option.active {
  border-color: rgba(8, 103, 183, 0.5);
  box-shadow: 0 18px 42px rgba(8, 103, 183, 0.14);
  transform: translateY(-2px);
}

.order-type-option.active {
  background: linear-gradient(135deg, #eefbff 0%, #ffffff 48%, #d8f7ff 100%);
}

.order-type-code {
  width: fit-content;
  padding: 4px 8px;
  color: var(--white);
  border-radius: 999px;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.order-type-option strong {
  font-size: 17px;
}

.order-type-option small {
  color: var(--ink-soft);
  line-height: 1.55;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 18px;
}

.order-form,
.form-block {
  display: grid;
  gap: 18px;
}

.form-block,
.security-hint {
  padding: 22px;
  border: 1px solid rgba(8, 103, 183, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 52px rgba(8, 103, 183, 0.08);
}

.form-block h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

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

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  border: 1px solid rgba(19, 93, 130, 0.2);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
}

.form-grid textarea {
  min-height: 112px;
  padding-block: 12px;
  resize: vertical;
}

.security-hint strong {
  color: var(--blue-deep);
}

.security-hint p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.order-submit {
  min-height: 54px;
  font-size: 17px;
}

.order-quote {
  min-height: 360px;
}

.order-quote-inline {
  position: static;
  min-height: auto;
  box-shadow: 0 18px 52px rgba(8, 103, 183, 0.14);
}

.order-success {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.order-success[hidden] {
  display: none;
}

.order-success strong {
  font-size: 24px;
}

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

.qr-grid.single-qr {
  grid-template-columns: minmax(0, 430px);
  justify-content: center;
}

.qr-grid article {
  display: grid;
  gap: 12px;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(8, 103, 183, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 52px rgba(8, 103, 183, 0.08);
}

.qr-grid img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 8px;
}

.qr-grid h2 {
  margin: 0;
  font-size: 20px;
}

.qr-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.qr-grid a {
  color: var(--blue);
  font-weight: 900;
}

.media-section {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(124, 232, 255, 0.1), rgba(4, 16, 24, 0) 42%),
    linear-gradient(135deg, #06131b 0%, #101c24 52%, #071119 100%);
  color: var(--white);
}

.media-section .section-head p,
.media-section .featured-copy p,
.media-section .media-item p {
  color: rgba(226, 242, 249, 0.72);
}

.media-section .media-item h3,
.media-section .featured-copy h3 {
  color: var(--white);
}

.featured-media {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 18px;
  margin-bottom: 18px;
}

.video-card,
.featured-copy,
.media-item,
.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.media-section .video-card,
.media-section .featured-copy,
.media-section .media-item {
  border-color: rgba(124, 232, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.2);
}

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

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.05) brightness(0.92);
}

.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
}

.media-item {
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.media-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.06) brightness(0.95);
}

.media-body {
  padding: 20px;
}

.team-section {
  padding-top: 100px;
}

.team-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.team-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfd 100%);
}

.team-tabs button.active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.team-card {
  position: relative;
  min-height: 360px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.team-photo {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--ice);
  background: linear-gradient(135deg, var(--blue), var(--gold));
}

.team-role {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row span {
  padding: 7px 10px;
  border: 1px solid rgba(19, 93, 130, 0.14);
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--ice);
  font-size: 12px;
}

.process {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(124, 232, 255, 0.08), rgba(4, 16, 24, 0)),
    #041018;
  color: var(--white);
}

.process .section-head p,
.process .timeline p {
  color: rgba(255, 255, 255, 0.72);
}

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

.timeline article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(124, 232, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.timeline span {
  color: var(--gold);
  font-weight: 900;
}

.contact {
  width: 100%;
  padding-inline: max(20px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, #f7fcff 0%, #ffffff 100%);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 460px);
  gap: 54px;
  align-items: start;
}


.contact-phones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.contact-phones a {
  display: grid;
  gap: 7px;
  min-height: 92px;
  padding: 18px;
  color: #042033;
  text-decoration: none;
  border: 1px solid rgba(8, 103, 183, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(226, 248, 255, 0.82));
  box-shadow: 0 18px 45px rgba(8, 103, 183, 0.12);
}

.contact-phones span {
  color: #4d6a7c;
  font-size: 14px;
}

.contact-phones strong {
  color: #0867b7;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
}

.contact-form,
.admin-grid {
  display: grid;
  gap: 14px;
}

.contact-form label,
.admin-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.admin-grid input,
.admin-grid textarea,
.admin-grid select,
.login-box input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  outline: none;
}

.contact-form textarea,
.admin-grid textarea {
  min-height: 108px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.admin-grid input:focus,
.admin-grid textarea:focus,
.admin-grid select:focus,
.login-box input:focus {
  border-color: rgba(19, 93, 130, 0.58);
  box-shadow: 0 0 0 4px rgba(19, 93, 130, 0.08);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.74);
  background: #071923;
}

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

.site-footer p {
  margin: 8px 0 0;
}

.site-footer p a {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.site-footer p a:active,
.site-footer p a:hover {
  color: var(--cyan);
}

.admin-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  padding: 24px;
  background: rgba(4, 18, 27, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.admin-layer.open {
  opacity: 1;
  pointer-events: auto;
}

.admin-panel {
  width: min(1120px, 100%);
  max-height: min(86vh, 900px);
  padding: 24px;
  overflow: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(16px);
  transition: transform 200ms ease;
}

.admin-layer.open .admin-panel {
  transform: translateY(0);
}

.admin-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-top h2 {
  margin: 0;
}

.admin-top button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: var(--mist);
  font-size: 28px;
}

.login-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.login-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(180px, 1fr) auto;
  gap: 12px;
}

.login-form input {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  outline: none;
}

.form-message {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--blue);
  font-size: 14px;
}

.form-message.error {
  color: #9a2020;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--mist);
}

.admin-site-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-left: auto;
  padding: 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.admin-tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}

.dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-head h3 {
  margin: 0;
  font-size: 25px;
}

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

.stat-box,
.dashboard-card,
.security-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfd 100%);
}

.stat-box {
  padding: 16px;
}

.stat-box span {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
}

.stat-box strong {
  display: block;
  margin-top: 8px;
  color: var(--blue-deep);
  font-size: 28px;
}

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

.dashboard-card,
.security-note {
  padding: 16px;
}

.dashboard-card h4 {
  margin: 0 0 14px;
  font-size: 16px;
}

.bar-chart {
  display: flex;
  min-height: 176px;
  align-items: end;
  gap: 8px;
  padding-top: 10px;
}

.bar-item {
  display: grid;
  flex: 1;
  min-width: 0;
  grid-template-rows: 1fr auto;
  gap: 8px;
  align-items: end;
  color: var(--ink-soft);
  font-size: 11px;
  text-align: center;
}

.bar {
  position: relative;
  min-height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #7ce8ff 0%, #0a8ab8 100%);
}

.bar b {
  position: absolute;
  inset: -20px 0 auto;
  color: var(--blue-deep);
  font-size: 11px;
}

.hourly {
  gap: 3px;
}

.hourly .bar-item span {
  display: none;
}

.hourly .bar-item:nth-child(4n + 1) span {
  display: block;
}

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

.metric-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.metric-line strong {
  color: var(--blue-deep);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  min-width: 100px;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--blue-deep);
  white-space: nowrap;
}

td select {
  min-height: 38px;
  padding: 0 10px;
  color: var(--ink);
  border: 1px solid rgba(19, 93, 130, 0.2);
  border-radius: 8px;
  background: var(--white);
}

.table-danger-button {
  min-height: 36px;
  padding: 0 12px;
  color: #8a1f1f;
  border: 1px solid rgba(138, 31, 31, 0.2);
  border-radius: 8px;
  background: #fff4f4;
  font-weight: 800;
  white-space: nowrap;
}

.table-danger-button:hover {
  border-color: rgba(138, 31, 31, 0.36);
  background: #ffe8e8;
}

.security-note p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.reset-password-result[hidden] {
  display: none;
}

.reset-password-line {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.reset-password-line input {
  min-width: 0;
  flex: 1;
}

.reset-password-line button {
  flex: 0 0 auto;
}

.admin-tabs button.active {
  color: var(--white);
  background: var(--blue);
}

.admin-view {
  display: none;
}

.admin-view.active {
  display: grid;
  gap: 18px;
}

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

.admin-grid button {
  align-self: end;
}

.quote-type-admin {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fcff;
}

.quote-type-admin h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.quote-type-admin p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}

.quote-type-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 120px minmax(220px, 1.3fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(19, 93, 130, 0.12);
}

.quote-type-row label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.admin-help {
  margin: -8px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.contact-admin-list {
  display: grid;
  gap: 12px;
}

.contact-admin-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(120px, 0.8fr) minmax(150px, 1fr) minmax(180px, 1.2fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.contact-admin-row label {
  display: grid;
  gap: 8px;
  min-width: 0;
  font-weight: 800;
}

.contact-admin-row button {
  min-height: 46px;
  padding: 0 14px;
  color: #8a1f1f;
  border: 1px solid rgba(138, 31, 31, 0.18);
  border-radius: var(--radius);
  background: #fff4f4;
}

.contact-save-actions {
  justify-content: flex-start;
}

.admin-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
  box-shadow: none;
}

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

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.admin-row strong {
  display: block;
}

.admin-row small {
  color: var(--ink-soft);
}

.admin-actions {
  display: inline-flex;
  gap: 8px;
}

.admin-row button {
  min-height: 38px;
  padding: 0 12px;
  color: var(--blue-deep);
  border: 1px solid rgba(10, 138, 184, 0.18);
  border-radius: var(--radius);
  background: var(--ice);
}

.admin-row button.danger {
  color: #8a1f1f;
  border-color: rgba(138, 31, 31, 0.18);
  background: #fff4f4;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .desktop-nav,
  .header-actions .ghost-button,
  .header-actions .solid-button {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-content,
  .intro-grid,
  .section-head.split,
  .featured-media,
  .order-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .order-quote {
    position: static;
  }

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

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

@media (max-width: 700px) {
  .site-header {
    inset: 10px 10px auto;
    min-height: 62px;
    padding: 9px 10px;
  }

  .brand-copy small {
    display: none;
  }

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

  .brand-logo {
    width: 128px;
    height: 42px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: calc(100% - 28px);
    gap: 26px;
    padding: 120px 0 54px;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-dashboard,
  .quote-panel,
  .service-grid,
  .media-grid,
  .team-grid,
  .timeline,
  .admin-grid,
  .inline-form,
  .login-form,
  .stats-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-layer {
    padding: 8px;
  }

  .admin-panel {
    max-height: 94vh;
    padding: 16px;
  }

  .admin-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .admin-tabs button,
  .admin-site-link {
    flex: 0 0 auto;
  }

  .admin-site-link {
    margin-left: 0;
  }

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

  .section {
    width: calc(100% - 28px);
    padding: 64px 0;
  }

  .intro-band,
  .media-section,
  .process,
  .contact {
    padding-inline: 14px;
  }

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

  .team-tabs {
    justify-content: flex-start;
  }


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

  .quote-form,
  .quote-result {
    padding: 18px;
  }

  .quote-result strong {
    font-size: 30px;
  }

  .quote-metrics,
  .quote-type-row,
  .contact-admin-row,
  .order-type-grid,
  .form-grid,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .order-shell {
    width: min(100% - 20px, 1080px);
    padding-top: 10px;
  }

  .order-hero,
  .form-block,
  .security-hint {
    padding: 18px;
  }

  .form-grid .wide {
    grid-column: auto;
  }

  .quote-contact {
    width: 100%;
    justify-content: center;
  }

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

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

/* SEO landing pages */
.seo-page {
  background: #04111c;
  color: #eaf7ff;
}

.seo-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(124, 232, 255, 0.16);
  background: rgba(4, 17, 28, 0.9);
  backdrop-filter: blur(18px);
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f5fbff;
  font-weight: 800;
}

.seo-brand img {
  width: 118px;
  height: auto;
  display: block;
}

.seo-header nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.seo-header nav a,
.seo-footer a {
  color: rgba(230, 247, 255, 0.82);
}

.seo-hero {
  min-height: 68vh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.seo-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.seo-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 13, 22, 0.94), rgba(3, 13, 22, 0.58), rgba(3, 13, 22, 0.22)), linear-gradient(0deg, #04111c 0%, rgba(4, 17, 28, 0) 46%);
}

.seo-hero-copy {
  position: relative;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 72px;
}

.seo-hero-copy h1 {
  margin: 10px 0 16px;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.96;
  max-width: 850px;
}

.seo-hero-copy p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(226, 242, 249, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.seo-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.seo-article,
.seo-side,
.seo-entry-grid a,
.seo-link-grid a {
  border: 1px solid rgba(124, 232, 255, 0.16);
  background: rgba(7, 28, 44, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
}

.seo-article,
.seo-side {
  padding: clamp(22px, 4vw, 42px);
}

.seo-article p {
  margin: 0 0 20px;
  color: rgba(226, 242, 249, 0.84);
  font-size: 17px;
  line-height: 2;
}

.seo-side h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seo-tags span {
  border: 1px solid rgba(124, 232, 255, 0.22);
  color: #cdefff;
  padding: 8px 10px;
  background: rgba(14, 55, 79, 0.55);
}

.seo-phone {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  padding: 16px;
  color: #061421;
  background: linear-gradient(135deg, #7ce8ff, #d8f8ff);
  font-weight: 800;
}

.seo-phone span {
  color: rgba(6, 20, 33, 0.62);
  font-size: 13px;
}

.seo-phone strong {
  font-size: 24px;
}

.seo-link-grid,
.seo-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-link-grid a,
.seo-entry-grid a {
  color: #eaf7ff;
  padding: 18px;
  min-height: 92px;
}

.seo-entry-grid a {
  display: grid;
  gap: 8px;
}

.seo-entry-grid span {
  color: var(--cyan);
  font-weight: 800;
}

.seo-entry-grid strong {
  color: rgba(226, 242, 249, 0.76);
  font-size: 14px;
}

.seo-footer {
  margin-top: 40px;
}

@media (max-width: 860px) {
  .seo-header,
  .seo-header nav,
  .seo-content {
    grid-template-columns: 1fr;
  }

  .seo-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .seo-hero-copy {
    padding: 96px 0 54px;
  }

  .seo-content,
  .seo-link-grid,
  .seo-entry-grid {
    grid-template-columns: 1fr;
  }
}
