:root {
  --ink: #0a0d12;
  --ink-soft: #151923;
  --paper: #f7f6f2;
  --muted: #8c929d;
  --line: rgba(255, 255, 255, 0.13);
  --line-dark: rgba(14, 20, 31, 0.12);
  --navy: #0c1d35;
  --navy-soft: #142943;
  --gold: #c9aa68;
  --gold-soft: rgba(201, 170, 104, 0.18);
  --glass: rgba(10, 13, 18, 0.7);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-display: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-cn);
  line-height: 1.6;
  letter-spacing: 0;
}

body::selection {
  background: rgba(201, 170, 104, 0.35);
}

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

button,
select {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: calc(var(--scroll-progress, 0) * 1%);
  height: 2px;
  background: linear-gradient(90deg, rgba(201, 170, 104, 0), #d8bd79, rgba(255, 255, 255, 0.84));
  box-shadow: 0 0 22px rgba(201, 170, 104, 0.55);
  pointer-events: none;
}

.cursor-light {
  position: fixed;
  z-index: 4;
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 170, 104, 0.15), rgba(12, 29, 53, 0.08) 38%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.35s ease;
  mix-blend-mode: screen;
}

body.has-pointer .cursor-light {
  opacity: 1;
}

.wheel-rail {
  position: fixed;
  z-index: 75;
  top: 50%;
  right: 22px;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 14px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 11, 16, 0.36);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(1.3);
  transform: translateY(-50%);
}

.wheel-rail::before {
  position: absolute;
  top: 44px;
  bottom: 44px;
  left: 50%;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, rgba(201, 170, 104, 0), rgba(201, 170, 104, 0.42), rgba(201, 170, 104, 0));
  transform: translateX(-50%);
}

.wheel-rail span {
  writing-mode: vertical-rl;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wheel-rail a {
  position: relative;
  z-index: 1;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.wheel-rail a:hover,
.wheel-rail a.is-active {
  border-color: rgba(201, 170, 104, 0.94);
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(201, 170, 104, 0.12), 0 0 18px rgba(201, 170, 104, 0.48);
  transform: scale(1.16);
}

.site-shell {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(201, 170, 104, 0.12), transparent 28rem),
    linear-gradient(180deg, #080b10 0%, #101620 45%, #f4f1eb 45%, #f4f1eb 100%);
}

.site-shell::before {
  position: fixed;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 68%);
  pointer-events: none;
}

.nav {
  position: fixed;
  z-index: 70;
  top: 0;
  left: 50%;
  width: min(1180px, calc(100% - 36px));
  height: 76px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 0;
  color: #fff;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, height 0.35s ease,
    padding 0.35s ease;
}

.nav.scrolled {
  height: 64px;
  margin-top: 12px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 11, 16, 0.62);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(201, 170, 104, 0.5);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
}

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

.brand strong {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.brand small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.25s ease;
}

.section {
  position: relative;
  padding: 112px max(24px, calc((100vw - 1180px) / 2));
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 126px;
  padding-bottom: 82px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 12% 34%, rgba(255, 255, 255, 0.08), transparent 22rem),
    radial-gradient(circle at 68% 52%, rgba(201, 170, 104, 0.11), transparent 24rem);
  animation: ambientPulse 7s ease-in-out infinite alternate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(8, 11, 16, 0.98) 0%, rgba(8, 11, 16, 0.78) 46%, rgba(8, 11, 16, 0.52) 100%),
    linear-gradient(180deg, rgba(8, 11, 16, 0.18), #080b10 94%),
    url("./assets/hero-japanese-city.png") center / cover no-repeat;
  transform: scale(1.03);
  animation: slowPan 18s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 220px;
  content: "";
  background: linear-gradient(180deg, transparent, #101620 76%);
}

.particle-canvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.hero-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.hero-lines span {
  position: absolute;
  left: -20%;
  width: 58%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 170, 104, 0.04), rgba(201, 170, 104, 0.45), transparent);
  transform: rotate(-12deg);
  filter: drop-shadow(0 0 14px rgba(201, 170, 104, 0.26));
  animation: lineDrift 8s ease-in-out infinite;
}

.hero-lines span:nth-child(1) {
  top: 22%;
}

.hero-lines span:nth-child(2) {
  top: 44%;
  animation-delay: -2.6s;
  animation-duration: 10s;
}

.hero-lines span:nth-child(3) {
  top: 68%;
  animation-delay: -5.2s;
  animation-duration: 12s;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: end;
}

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

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-lead {
  max-width: 710px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.btn {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  overflow: hidden;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn::after {
  position: absolute;
  inset: -50% auto -50% -48px;
  width: 34px;
  content: "";
  background: rgba(255, 255, 255, 0.5);
  filter: blur(10px);
  transform: rotate(18deg) translateX(-60px);
  transition: transform 0.6s ease;
}

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

.btn:hover::after {
  transform: rotate(18deg) translateX(190px);
}

.btn-primary {
  background: linear-gradient(135deg, #d8bd79, #a9823f);
  color: #101010;
  box-shadow: 0 18px 40px rgba(201, 170, 104, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 24px 58px rgba(201, 170, 104, 0.32);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.25);
}

.hero-panel::before {
  position: absolute;
  inset: -1px;
  content: "";
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.14), transparent 36%);
  transform: translateX(-80%);
  animation: glassSweep 6s ease-in-out infinite;
  pointer-events: none;
}

.panel-topline {
  width: 54px;
  height: 2px;
  margin-bottom: 26px;
  background: var(--gold);
}

.hero-panel p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.hero-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.35;
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.signal-row i {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 170, 104, 0.14), rgba(201, 170, 104, 0.9));
  animation: signalPulse 1.8s ease-in-out infinite alternate;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.mini-metrics div {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 16px;
}

.mini-metrics strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.mini-metrics span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading h2,
.about-card h2,
.contact-panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.16;
}

.section-heading p:not(.eyebrow),
.about-card p,
.contact-panel p {
  margin: 18px 0 0;
  color: #5f6670;
  font-size: 17px;
}

.services,
.route-selector,
.about,
.contact {
  position: relative;
  background: #f4f1eb;
  color: var(--ink);
}

.services::before,
.route-selector::before,
.about::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent 0%, rgba(12, 29, 53, 0.035) 38%, transparent 62%),
    radial-gradient(circle at 90% 20%, rgba(201, 170, 104, 0.16), transparent 20rem);
  pointer-events: none;
}

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

.service-card {
  position: relative;
  min-height: 314px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.36)),
    rgba(236, 232, 223, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 22px 60px rgba(18, 24, 34, 0.06);
  backdrop-filter: blur(18px) saturate(1.12);
  transform-style: preserve-3d;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  will-change: transform;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at var(--mx, 24%) var(--my, 0%), rgba(201, 170, 104, 0.26), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.4), transparent 36%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card::after {
  position: absolute;
  inset: auto 26px 24px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(201, 170, 104, 0.84), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(201, 170, 104, 0.6);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62)),
    #f4f1eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 32px 75px rgba(18, 24, 34, 0.14);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.card-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 170, 104, 0.55);
  border-radius: 50%;
  color: #8b6c32;
  font-size: 12px;
  font-weight: 700;
}

.service-card h3,
.timeline-item h3,
.result-box h3 {
  position: relative;
  z-index: 1;
  margin: 76px 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.service-card p,
.timeline-item p,
.result-box p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #626974;
}

.process,
.advantages {
  position: relative;
  background: #101620;
}

.process::before,
.advantages::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 170, 104, 0.12), transparent 24rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 120px 120px;
  pointer-events: none;
}

.process .section-heading h2,
.advantages .section-heading h2 {
  color: #fff;
}

.process .section-heading p:not(.eyebrow),
.advantages .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.6);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.timeline-line {
  position: absolute;
  top: 29px;
  left: 6%;
  right: 6%;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.timeline-line::after {
  display: block;
  width: calc(var(--timeline-progress, 0) * 100%);
  height: 100%;
  content: "";
  background: linear-gradient(90deg, rgba(201, 170, 104, 0), rgba(201, 170, 104, 0.92), #fff);
  box-shadow: 0 0 22px rgba(201, 170, 104, 0.52);
  transition: width 0.18s ease-out;
}

.timeline-item {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  padding: 66px 20px 22px;
  min-height: 228px;
  background: rgba(255, 255, 255, 0.035);
  transition: transform 0.32s ease, border-color 0.32s ease, background 0.32s ease;
}

.timeline-item.is-active,
.timeline-item:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 170, 104, 0.48);
  background: rgba(255, 255, 255, 0.058);
}

.timeline-item span {
  position: absolute;
  top: 16px;
  left: 20px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #0d1118;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 0 0 0 rgba(201, 170, 104, 0.2);
  transition: box-shadow 0.32s ease;
}

.timeline-item.is-active span {
  box-shadow: 0 0 0 10px rgba(201, 170, 104, 0.1), 0 0 30px rgba(201, 170, 104, 0.42);
}

.timeline-item h3 {
  margin: 0 0 12px;
  color: #fff;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.selector-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.8fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: start;
}

.selector-card,
.about-card,
.contact-panel {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 26px 70px rgba(18, 24, 34, 0.09);
  backdrop-filter: blur(20px) saturate(1.15);
}

.selector-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
}

.selector-card::before {
  position: absolute;
  inset: -1px;
  content: "";
  background: linear-gradient(135deg, rgba(201, 170, 104, 0.16), transparent 30%, rgba(12, 29, 53, 0.08));
  pointer-events: none;
}

.field {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  color: #333a45;
  font-size: 13px;
  font-weight: 800;
}

.field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(14, 20, 31, 0.14);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(249, 247, 241, 0.78);
  color: var(--ink);
  outline: none;
  backdrop-filter: blur(12px);
}

.field select:focus {
  border-color: rgba(201, 170, 104, 0.9);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.selector-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 4px;
}

.result-box {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  border: 1px solid rgba(201, 170, 104, 0.38);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(12, 29, 53, 0.82), rgba(21, 25, 35, 0.82));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 24px 60px rgba(12, 29, 53, 0.22);
  backdrop-filter: blur(18px) saturate(1.18);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.result-box.is-updating {
  transform: translateY(8px);
  opacity: 0.35;
}

.result-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.result-box h3 {
  margin: 0 0 10px;
  color: #fff;
}

.result-box p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.advantage-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.advantage-list {
  display: grid;
  gap: 14px;
}

.advantage-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 0 22px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.advantage-item:hover {
  transform: translateX(10px);
  border-color: rgba(201, 170, 104, 0.34);
}

.advantage-item span {
  width: 9px;
  height: 9px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(201, 170, 104, 0.1);
}

.advantage-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
}

.about-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) 1fr;
  gap: clamp(26px, 5vw, 70px);
  padding: clamp(28px, 5vw, 54px);
  position: relative;
  overflow: hidden;
}

.about-card::after {
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(201, 170, 104, 0.2);
  border-radius: 50%;
  content: "";
  animation: orbitRing 14s linear infinite;
}

.about-points {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-points span {
  border: 1px solid rgba(14, 20, 31, 0.12);
  border-radius: 999px;
  padding: 9px 14px;
  color: #3e4651;
  background: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.contact {
  padding-top: 30px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 64px);
  background:
    linear-gradient(135deg, rgba(12, 29, 53, 0.86), rgba(8, 11, 16, 0.9)),
    #101620;
  color: #fff;
}

.contact-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 48%, transparent 62%);
  transform: translateX(-100%);
  animation: glassSweep 7.5s ease-in-out infinite;
  pointer-events: none;
}

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

.contact-panel p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.66);
}

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

.contact-grid a {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-grid a:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 170, 104, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 24px 50px rgba(0, 0, 0, 0.18);
}

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

.contact-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.contact-grid strong {
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 17px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  background: #080b10;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

footer p {
  margin: 0;
}

footer a {
  color: rgba(255, 255, 255, 0.78);
}

.chat-widget {
  position: fixed;
  z-index: 90;
  right: 28px;
  bottom: 28px;
  display: grid;
  justify-items: end;
  gap: 14px;
  pointer-events: none;
}

.chat-panel {
  width: min(390px, calc(100vw - 36px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(15, 22, 32, 0.86), rgba(8, 11, 16, 0.74)),
    rgba(8, 11, 16, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 30px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(26px) saturate(1.28);
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.chat-widget.is-open .chat-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  padding: 18px 18px 16px;
  background:
    radial-gradient(circle at 16% 0%, rgba(201, 170, 104, 0.18), transparent 15rem),
    rgba(255, 255, 255, 0.04);
}

.chat-header p,
.chat-header strong {
  display: block;
  margin: 0;
}

.chat-header p {
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chat-header strong {
  margin-top: 4px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
}

.chat-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(201, 170, 104, 0.12), 0 0 20px rgba(201, 170, 104, 0.5);
}

.chat-close {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.chat-close::before,
.chat-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.82);
}

.chat-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.chat-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  max-height: 310px;
  min-height: 210px;
  overflow-y: auto;
  padding: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 170, 104, 0.6) rgba(255, 255, 255, 0.08);
}

.chat-message {
  max-width: 88%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 11px 13px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
  animation: messageIn 0.22s ease both;
}

.chat-message p {
  margin: 0;
}

.chat-message a {
  color: #f2d38d;
  font-weight: 800;
}

.chat-message.bot {
  justify-self: start;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chat-message.user {
  justify-self: end;
  border-color: rgba(201, 170, 104, 0.32);
  background: rgba(201, 170, 104, 0.16);
  color: #fff;
}

.chat-message.typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-width: 58px;
}

.chat-message.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(201, 170, 104, 0.92);
  animation: typingPulse 0.8s ease-in-out infinite alternate;
}

.chat-message.typing i:nth-child(2) {
  animation-delay: 0.14s;
}

.chat-message.typing i:nth-child(3) {
  animation-delay: 0.28s;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.chat-quick button {
  border: 1px solid rgba(201, 170, 104, 0.28);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-size: 12px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chat-quick button:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 170, 104, 0.65);
  background: rgba(201, 170, 104, 0.14);
  color: #fff;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.chat-form input {
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.chat-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.chat-form input:focus {
  border-color: rgba(201, 170, 104, 0.74);
  box-shadow: 0 0 0 4px rgba(201, 170, 104, 0.1);
}

.chat-form button,
.chat-launcher {
  border: 1px solid rgba(201, 170, 104, 0.46);
  background: linear-gradient(135deg, #d8bd79, #a9823f);
  color: #101010;
  cursor: pointer;
  font-weight: 900;
}

.chat-form button {
  height: 42px;
  border-radius: 999px;
  padding: 0 15px;
}

.chat-launcher {
  position: relative;
  display: inline-flex;
  min-width: 108px;
  height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(201, 170, 104, 0.18);
  pointer-events: auto;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.chat-launcher:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.34), 0 0 46px rgba(201, 170, 104, 0.28);
}

.chat-launcher span {
  position: relative;
  width: 19px;
  height: 14px;
  border: 2px solid #111;
  border-radius: 6px;
}

.chat-launcher span::after {
  position: absolute;
  right: 2px;
  bottom: -5px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  content: "";
  transform: rotate(35deg);
}

.chat-launcher strong {
  font-size: 14px;
}

.reveal {
  transform: translateY(28px);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.8s ease;
}

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

@keyframes slowPan {
  from {
    transform: scale(1.03) translate3d(-8px, -4px, 0);
  }
  to {
    transform: scale(1.08) translate3d(16px, 8px, 0);
  }
}

@keyframes messageIn {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes typingPulse {
  from {
    transform: translateY(0);
    opacity: 0.35;
  }
  to {
    transform: translateY(-3px);
    opacity: 1;
  }
}

@keyframes ambientPulse {
  from {
    opacity: 0.58;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, -12px, 0);
  }
}

@keyframes lineDrift {
  0% {
    transform: translateX(0) rotate(-12deg);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  82% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(210%) rotate(-12deg);
    opacity: 0;
  }
}

@keyframes glassSweep {
  0%,
  34% {
    transform: translateX(-90%);
  }
  62%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes signalPulse {
  from {
    opacity: 0.45;
    transform: scaleX(0.55);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes orbitRing {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.04);
  }
}

@media (max-width: 980px) {
  .service-grid,
  .timeline,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-line {
    display: none;
  }

  .hero-grid,
  .selector-layout,
  .advantage-wrap,
  .about-card {
    grid-template-columns: 1fr;
  }

  .about-points {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  html {
    scroll-snap-type: none;
  }

  .site-shell {
    background: linear-gradient(180deg, #080b10 0%, #101620 44%, #f4f1eb 44%, #f4f1eb 100%);
  }

  .wheel-rail {
    display: none;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .chat-panel {
    width: 100%;
  }

  .chat-messages {
    max-height: 300px;
  }

  .chat-launcher {
    min-width: 96px;
    height: 50px;
  }

  .nav {
    width: calc(100% - 28px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    width: min(260px, calc(100vw - 28px));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px;
    background: rgba(8, 11, 16, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .brand small {
    display: none;
  }

  .section {
    padding: 82px 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(40px, 12vw, 64px);
  }

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

  .hero-panel {
    padding: 22px;
  }

  .cursor-light {
    display: none;
  }

  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 240px;
  }

  .service-card h3 {
    margin-top: 52px;
  }

  .about-card,
  .contact-panel,
  .selector-card {
    padding: 24px;
  }

  footer {
    display: grid;
    padding: 24px 20px;
  }
}

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