:root {
  --black: #05070b;
  --ink: #111827;
  --navy: #071525;
  --aqua: #67d8c8;
  --gold: #c8a45d;
  --paper: #f5f7f8;
  --white: #ffffff;
  --muted: #6b7280;
  --line: rgba(17, 24, 39, 0.13);
  --line-dark: rgba(255, 255, 255, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.loading,
.maintenance {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(103, 216, 200, 0.16), transparent 42%),
    var(--black);
}

.maintenance {
  align-content: center;
  gap: 18px;
}

.maintenance h1 {
  margin: 0;
  font-family: "Songti SC", Georgia, serif;
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 500;
}

.maintenance p:last-child {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.8;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 0 56px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(245, 247, 248, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark,
.footer-brand > span,
.footer-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--aqua);
  border: 1px solid currentColor;
  font-family: Georgia, serif;
  font-weight: 800;
}

.brand-logo,
.footer-brand .brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border: 0;
}

.brand strong,
.footer-brand strong {
  display: block;
  width: 126px;
  font-family: "Songti SC", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: justify;
  text-align-last: justify;
  white-space: nowrap;
}

.brand small,
.footer-brand p {
  display: block;
  width: 126px;
  margin: 4px 0 0;
  font-size: 10px;
  letter-spacing: 0;
  opacity: 0.68;
  text-align: justify;
  text-align-last: justify;
  text-transform: uppercase;
}

.desktop-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}

.desktop-nav a {
  opacity: 0.78;
}

.desktop-nav a:hover {
  color: var(--aqua);
  opacity: 1;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.site-header.scrolled .menu-button {
  border-color: rgba(17, 24, 39, 0.2);
}

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

.mobile-nav {
  position: fixed;
  inset: 88px 16px auto;
  z-index: 19;
  display: none;
  padding: 8px 18px;
  color: var(--white);
  background: rgba(5, 7, 11, 0.96);
  border: 1px solid var(--line-dark);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-dark);
}

.hero {
  min-height: 100svh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.82), rgba(7, 21, 37, 0.62) 48%, rgba(7, 21, 37, 0.2)),
    var(--image) center/cover no-repeat;
}

.hero-inner {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.54fr);
  align-items: end;
  gap: 76px;
  padding: 154px 56px 58px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--aqua);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Songti SC", Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 860px;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.12;
}

h1 span,
h2 span {
  display: block;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 820px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
  line-height: 1.86;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 850;
}

.button.primary {
  color: var(--black);
  background: var(--aqua);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.hero-about {
  padding: 28px;
  border: 1px solid var(--line-dark);
  background: rgba(5, 7, 11, 0.52);
  backdrop-filter: blur(12px);
}

.hero-about h2 {
  font-size: clamp(28px, 2.8vw, 44px);
}

.hero-about > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.82;
}

.hero-tags {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line-dark);
}

.hero-tags span {
  padding: 13px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-align: center;
}

.section {
  padding: 116px 56px;
}

.section-kicker {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 38px;
}

.section-kicker span {
  height: 1px;
  background: var(--line);
}

.section-top,
.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 76px;
}

.lead,
.section-top > p,
.contact-copy > p {
  margin: 0;
  color: #414a56;
  font-size: 18px;
  line-height: 1.92;
}

.tag-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tag-row span {
  padding: 22px 10px;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-family: Georgia, "Songti SC", serif;
  font-size: 17px;
  text-align: center;
}

.tag-row span:last-child {
  border-right: 0;
}

.business {
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(103, 216, 200, 0.06), transparent 46%),
    var(--black);
}

.business .section-top > p {
  color: rgba(255, 255, 255, 0.64);
}

.section-top.single {
  grid-template-columns: 1fr;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
}

.business-card {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  overflow: hidden;
  background: var(--image) center/cover no-repeat;
}

.business-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.28), rgba(5, 7, 11, 0.92));
  transition: background 0.3s ease;
}

.business-card:hover::before {
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.12), rgba(5, 7, 11, 0.82));
}

.business-num,
.business-copy {
  position: relative;
  z-index: 1;
}

.business-num {
  color: var(--aqua);
  font-family: Georgia, serif;
  font-size: 20px;
}

.business-copy p {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
}

.business-copy h3 {
  margin: 0;
  font-family: "Songti SC", Georgia, serif;
  font-size: 31px;
  font-weight: 500;
}

.business-copy span {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.72;
}

.business-copy em {
  display: inline-flex;
  margin-top: 26px;
  color: var(--aqua);
  font-style: normal;
  font-weight: 850;
}

.contact {
  background: var(--white);
}

.company-card {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.company-card h3 {
  margin: 0 0 8px;
  font-family: "Songti SC", Georgia, serif;
  font-size: 25px;
  font-weight: 500;
}

.company-card p {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.company-card strong {
  color: var(--ink);
}

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

.qr-item {
  display: grid;
}

.qr-item img,
.qr-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: #f8f9fa;
}

.qr-item img {
  object-fit: cover;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  padding: 12px;
  position: relative;
}

.qr-placeholder::before,
.qr-placeholder::after {
  content: "";
  position: absolute;
  background: rgba(17, 24, 39, 0.12);
}

.qr-placeholder::before {
  width: 38%;
  height: 1px;
}

.qr-placeholder::after {
  width: 1px;
  height: 38%;
}

.qr-item strong {
  display: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.consult-form {
  display: grid;
  gap: 16px;
  padding: 34px;
  background: #f8f9fa;
  border: 1px solid var(--line);
}

.consult-form label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 14px;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(17, 24, 39, 0.16);
  font: inherit;
}

.consult-form textarea {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}

.consult-form button {
  min-height: 54px;
  border: 0;
  color: var(--black);
  background: var(--aqua);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-tip {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 22px;
  padding: 38px 56px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  background: var(--black);
  border-top: 1px solid var(--line-dark);
}

.footer-info {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-info a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .hero-inner,
  .section-top,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    height: 72px;
    padding: 0 18px;
  }

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

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

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

  .brand small {
    display: none;
  }

  .mobile-nav {
    inset: 76px 12px auto;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    gap: 42px;
    padding: 122px 20px 38px;
  }

  h1 {
    font-size: 39px;
    line-height: 1.08;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy > p:not(.eyebrow),
  .lead,
  .section-top > p,
  .contact-copy > p {
    font-size: 16px;
    line-height: 1.78;
  }

  .hero-actions {
    display: grid;
  }

  .hero-tags,
  .qr-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 76px 20px;
  }

  .tag-row,
  .business-grid {
    grid-template-columns: 1fr;
  }

  .tag-row span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .business-card {
    min-height: 420px;
  }

  .consult-form {
    padding: 24px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
}
