:root {
  --ink: #12151c;
  --ink-soft: #3d4452;
  --muted: #6f7685;
  --line: #e6e3dc;
  --paper: #f4f1ea;
  --white: #ffffff;
  --navy: #0c1220;
  --navy-2: #161e30;
  --accent: #c45c26;
  --accent-2: #e07a3d;
  --gold: #c9a15b;
  --ok: #2f7d57;
  --shadow: 0 18px 50px rgba(18, 21, 28, 0.08);
  --radius: 18px;
  --header: 58px;
  --max: 1180px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Noto Serif SC", "Songti SC", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
.home-form {
  max-width: 820px;
  margin-top: 8px;
}
html, body { max-width: 100%; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header);
  display: flex;
  align-items: center;
  pointer-events: auto;
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  position: relative;
  z-index: 1;
}
.site-header.scrolled {
  background: rgba(12, 18, 32, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.site-header.is-light {
  background: rgba(12, 18, 32, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header.is-light.scrolled {
  background: rgba(12, 18, 32, 0.92);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 16px; letter-spacing: .08em; }
.logo-text span { font-size: 11px; color: rgba(255,255,255,.62); letter-spacing: .18em; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}
.nav a {
  color: rgba(255,255,255,.78);
  font-size: 14px;
  letter-spacing: .06em;
  position: relative;
}
.nav a:hover,
.nav a.active { color: #fff; }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--gold);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-danger {
  background: #b42318;
  color: #fff;
  border: 1px solid #b42318;
}
.btn-danger:hover { background: #912018; }
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: #fff;
  content: "";
}
.menu-toggle span { top: 20px; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header) + 28px) 0 36px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(196,92,38,.28), transparent 46%),
    radial-gradient(ellipse at 10% 80%, rgba(201,161,91,.16), transparent 40%),
    url("../assets/cases/hotspring-screen.png") center/cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,18,32,.55) 0%, rgba(12,18,32,.72) 42%, rgba(12,18,32,.94) 100%);
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  letter-spacing: .28em;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.2;
  font-weight: 700;
  max-width: 16ch;
}
.hero p.lead {
  margin-top: 12px;
  max-width: 42ch;
  color: rgba(255,255,255,.78);
  font-size: 15px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-meta strong {
  display: block;
  font-size: 28px;
  font-family: var(--display);
  color: #fff;
}
.hero-meta span { color: rgba(255,255,255,.58); font-size: 13px; }

/* Sections */
.section { padding: 88px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 36px;
}
.section-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
}
.section-head p { color: var(--muted); max-width: 42ch; }
.kicker {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: .2em;
  margin-bottom: 8px;
}

/* Case cards */
.case-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
}
.case-card {
  position: relative;
  display: block;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
}
.case-card.tall { min-height: 560px; }
.case-card img.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.02);
  transition: transform .6s ease;
}
.case-card:hover img.cover { transform: scale(1.08); }
.case-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,18,32,.08) 20%, rgba(12,18,32,.82) 100%);
}
.case-card .body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  color: #fff;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  letter-spacing: .04em;
}
.case-card h3 {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.3;
}
.case-card .meta { margin-top: 8px; color: rgba(255,255,255,.72); font-size: 13px; }
.case-stack {
  display: grid;
  gap: 22px;
}

.list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.list-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.list-card .thumb {
  height: 240px;
  overflow: hidden;
  background: #111;
}
.list-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s;
}
.list-card:hover .thumb img { transform: scale(1.05); }
.list-card .info { padding: 22px 22px 24px; }
.list-card .info h3 { font-size: 22px; font-family: var(--display); margin: 8px 0 8px; }
.list-card .info p { color: var(--muted); font-size: 14px; }
.chip {
  display: inline-block;
  font-size: 12px;
  color: var(--accent);
  background: #f8ebe3;
  padding: 3px 10px;
  border-radius: 999px;
}
.list-card .info .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 13px;
}

/* Capabilities */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cap {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--line);
}
.cap .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #f8ebe3;
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 18px;
}
.cap h3 { font-size: 17px; margin-bottom: 8px; }
.cap p { color: var(--muted); font-size: 14px; }
.cap-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Process */
.process {
  background: var(--navy);
  color: #fff;
}
.process .kicker { color: var(--gold); }
.process ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.process li {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}
.process li em {
  display: block;
  font-style: normal;
  color: var(--gold);
  font-family: var(--display);
  font-size: 28px;
  margin-bottom: 10px;
}
.process li p { color: rgba(255,255,255,.66); font-size: 14px; margin-top: 8px; }

/* Page banner — continues dark header into a compact page head */
.page-banner {
  background: var(--navy);
  color: #fff;
  padding: calc(var(--header) + 22px) 0 28px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 180px at 12% 0%, rgba(196, 92, 38, 0.18), transparent 70%),
    radial-gradient(420px 160px at 88% 100%, rgba(201, 161, 91, 0.12), transparent 70%);
  pointer-events: none;
}
.page-banner .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 16px 40px;
  align-items: end;
}
.page-banner .crumbs {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  margin-bottom: 0;
}
.page-banner h1 {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.page-banner p {
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.65;
  justify-self: end;
}
.page-banner + .section {
  padding-top: 40px;
}

/* Case detail */
.detail-hero-img {
  margin-top: 22px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 0;
}
.detail-hero-img img { width: 100%; max-height: 560px; object-fit: cover; object-position: top; }
.case-video {
  margin-top: 16px;
  border-radius: 22px;
  overflow: hidden;
  background: #0b0d12;
  box-shadow: var(--shadow);
  border: 0;
}
.case-video video {
  width: 100%;
  display: block;
  max-height: 560px;
  background: #000;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  margin-top: 36px;
}
.prose h2 { font-family: var(--display); font-size: 26px; margin: 28px 0 12px; }
.prose p { color: var(--ink-soft); margin-bottom: 14px; }
.prose ul { padding-left: 18px; color: var(--ink-soft); margin-bottom: 16px; }
.side-card {
  background: var(--white);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header) + 18px);
}
.side-card h3 { font-size: 16px; margin-bottom: 14px; }
.kv { display: grid; gap: 12px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.kv span { color: var(--muted); }
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.gallery a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16/10;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery.phones {
  grid-template-columns: repeat(4, 1fr);
}
.gallery.phones a { aspect-ratio: 9/16; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
}
.info-panel {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 32px;
}
.info-panel h2 { font-family: var(--display); font-size: 28px; margin-bottom: 12px; }
.info-panel p { color: rgba(255,255,255,.7); }
.info-panel ul { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.info-panel li { font-size: 15px; }
.info-panel li small { display: block; color: rgba(255,255,255,.5); font-size: 12px; }
.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted); }
.field input,
.field textarea,
.field select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #faf9f6;
  outline: none;
}
.field input:focus,
.field textarea:focus { border-color: var(--accent); background: #fff; }
.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid select {
  border-color: #c0392b;
  background: #fff7f6;
}
.field-error {
  color: #c0392b;
  font-size: 12px;
  line-height: 1.3;
}
.form-note { margin-top: 12px; color: var(--ok); font-size: 14px; display: none; }
.form-note.show { display: block; }
.form-note.is-error { color: #c0392b; }

/* Standalone message admin */
.admin-app {
  background: #eef1f6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.admin-top {
  background: #0c1220;
  color: #fff;
  height: 56px;
  display: flex;
  align-items: center;
}
.admin-top-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-top-inner strong { font-size: 16px; letter-spacing: .04em; }
.admin-top-inner span { font-size: 12px; color: rgba(255,255,255,.45); margin-right: auto; }
.admin-logout {
  border: 1px solid rgba(255,255,255,.2);
  background: transparent;
  color: rgba(255,255,255,.85);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
}
.admin-logout:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(520px 240px at 20% 0%, rgba(196, 92, 38, 0.22), transparent 70%),
    #0c1220;
}
.admin-login[hidden],
.admin-shell[hidden] { display: none !important; }
.admin-login-card {
  width: min(400px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.admin-login-card h1 {
  font-size: 22px;
  margin-bottom: 6px;
}
.admin-login-card > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.admin-login-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--muted);
}
.admin-login-card input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #faf9f6;
  outline: none;
}
.admin-login-card input:focus {
  border-color: var(--accent);
  background: #fff;
}
.admin-login-error {
  color: #c0392b;
  font-size: 13px;
  margin: 0 0 10px;
}
.admin-main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 40px;
  flex: 1;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.admin-stat {
  background: var(--white);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.admin-stat b { display: block; font-size: 26px; line-height: 1.2; }
.admin-stat span { color: var(--muted); font-size: 13px; }
.admin-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-toolbar input {
  flex: 1;
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  background: #fff;
  outline: none;
}
.admin-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-filters button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink-soft);
}
.admin-filters button.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.admin-board {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) 1.08fr;
  gap: 16px;
  min-height: 460px;
}
.admin-list, .admin-detail {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.admin-list { padding: 10px; overflow: auto; max-height: 70vh; }
.admin-card {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 14px;
  padding: 14px 14px 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.admin-card + .admin-card { border-top: 1px dashed var(--line); }
.admin-card.is-on, .admin-card:hover { background: #f7f4ee; }
.admin-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.admin-card p {
  color: var(--ink-soft);
  font-size: 13px;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.admin-card-meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.st {
  font-size: 12px;
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}
.st-pending { background: #f3e4d4; color: #a45a24; }
.st-doing { background: #e4edf8; color: #2b5f9e; }
.st-done { background: #dceee4; color: #2f7d57; }
.admin-detail { padding: 22px; }
.admin-detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.admin-detail h2 { font-size: 22px; margin-bottom: 4px; }
.admin-detail h3 { font-size: 14px; margin: 18px 0 8px; }
.admin-detail p { color: var(--ink-soft); }
.admin-phone {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
}
.admin-body { white-space: pre-wrap; }
.admin-label { display: block; margin: 16px 0 8px; font-size: 13px; color: var(--muted); }
.admin-detail textarea, .admin-sheet textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #faf9f6;
  font: inherit;
  outline: none;
}
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.admin-empty { color: var(--muted); padding: 40px 20px; text-align: center; }
.admin-sheet {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 16, .45);
  z-index: 160;
  display: grid;
  align-items: end;
}
.admin-sheet[hidden] { display: none; }
.admin-sheet-inner {
  background: var(--paper);
  border-radius: 20px 20px 0 0;
  padding: 16px 16px 28px;
  max-height: 86vh;
  overflow: auto;
}
.admin-sheet-close {
  width: 100%;
  margin-bottom: 12px;
  border: 0;
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-board { grid-template-columns: 1fr; }
  .admin-detail { display: none; }
  .admin-list { max-height: none; }
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding: 48px 0 24px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer h4 { color: #fff; margin-bottom: 12px; }
.site-footer a { display: block; margin: 6px 0; color: rgba(255,255,255,.64); }
.site-footer a:hover { color: #fff; }
.copy { padding-top: 18px; font-size: 13px; color: rgba(255,255,255,.42); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,10,16,.92);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 88vh; border-radius: 12px; }
.lightbox .close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
}

/* Float */
.float-bar {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-bar a {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  font-size: 12px;
}

@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed;
    top: var(--header);
    left: 0; right: 0;
    background: #0c1220;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 24px;
    gap: 0;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-header.is-light .nav a { color: rgba(255,255,255,.78); }
  .site-header.is-light .nav a:hover,
  .site-header.is-light .nav a.active { color: #fff; }
  .nav .btn { margin-top: 12px; width: 100%; }
  .hero-meta, .cap-grid, .cap-grid.cols-3, .process ol, .list-grid, .contact-grid, .detail-layout, .footer-grid, .case-grid {
    grid-template-columns: 1fr;
  }
  .case-card.tall { min-height: 360px; }
  .gallery, .gallery.phones, .form-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .side-card { position: static; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero { padding: calc(var(--header) + 20px) 0 28px; align-items: flex-end; }
  .page-banner { padding: calc(var(--header) + 18px) 0 22px; }
  .page-banner .container {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .page-banner p { justify-self: start; }
  .page-banner + .section { padding-top: 28px; }
  .detail-hero-img { margin-top: 16px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .gallery, .gallery.phones { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
