:root {
  --obsidian: #040910;
  --midnight: #0b2b4a;
  --ocean: #123e68;
  --ivory: #f4f1e8;
  --silver: #aab8c6;
  --copper: #c8a96a;
  --line: rgb(200 169 106 / 18%);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--obsidian);
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 50% -18%, rgb(18 62 104 / 48%), transparent 38rem),
    linear-gradient(145deg, #03070d 0%, #081a2c 52%, #03070d 100%);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: rgb(200 169 106 / 55%);
  text-underline-offset: 4px;
}

a:hover,
a:focus-visible { color: #f4dfac; }

.page-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(14px, 2.5vw, 32px);
  place-items: center;
}

.page-shell::before {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 2%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 2%) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 76%);
  pointer-events: none;
}

.contact-card {
  position: relative;
  width: min(100%, 1000px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgb(174 187 198 / 17%);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 2.5%), transparent 42%),
    rgb(6 15 25 / 95%);
  box-shadow: 0 30px 90px rgb(0 0 0 / 48%);
}

.contact-card::after {
  position: absolute;
  top: 0;
  left: clamp(28px, 6vw, 68px);
  width: 78px;
  height: 2px;
  background: var(--copper);
  content: "";
}

.intro,
.qr-section,
.details { padding-inline: clamp(26px, 6vw, 68px); }

.intro {
  padding-top: clamp(32px, 5vw, 52px);
  padding-bottom: clamp(24px, 3.5vw, 36px);
  text-align: center;
}

.kicker,
.section-label,
.section-heading span {
  margin: 0;
  color: var(--copper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

h1 {
  margin: 10px 0 0;
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.06;
  text-shadow: 0 8px 30px rgb(0 0 0 / 42%);
}

.intro-note {
  margin: 13px 0 0;
  color: var(--silver);
  font-size: 12px;
  letter-spacing: .1em;
}

.qr-section {
  padding-top: clamp(22px, 3vw, 30px);
  padding-bottom: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(16 47 78 / 32%), rgb(8 12 18 / 16%));
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 720px);
  margin: 0 auto 16px;
}

.section-heading span {
  color: #6f8293;
  font-size: 8px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 40px);
  width: min(100%, 720px);
  margin-inline: auto;
}

figure { margin: 0; }

.qr-frame {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgb(200 169 106 / 36%);
  background: #fff;
  box-shadow: 0 16px 42px rgb(0 0 0 / 32%);
  place-items: center;
}

.qr-frame::after {
  position: absolute;
  inset: 7px;
  border: 1px solid rgb(8 12 18 / 9%);
  content: "";
  pointer-events: none;
}

.qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

figcaption span {
  font-family: "Noto Serif SC", "Songti SC", SimSun, serif;
  font-size: 16px;
  letter-spacing: .07em;
}

figcaption small {
  color: var(--silver);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

.details {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  gap: clamp(34px, 6vw, 72px);
  padding-top: clamp(26px, 3.5vw, 36px);
  padding-bottom: clamp(30px, 4vw, 44px);
}

.detail-group > .section-label { margin-bottom: 16px; }
.address-list { display: grid; gap: 12px; }

address {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  margin: 0;
  font-style: normal;
}

address span,
dt {
  color: #778a9a;
  font-size: 11px;
  letter-spacing: .06em;
}

address p,
dd {
  margin: 0;
  color: #dbe2e7;
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.55;
}

dl { display: grid; gap: 12px; margin: 0; }

dl > div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  align-items: baseline;
}

dd { font-variant-numeric: tabular-nums; }

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 230px);
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgb(200 169 106 / 52%);
  background: linear-gradient(135deg, rgb(18 62 104 / 88%), rgb(11 43 74 / 58%));
  color: var(--ivory);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  border-color: var(--copper);
  background: rgb(18 62 104 / 94%);
  color: var(--ivory);
}

.whatsapp-button b {
  color: #e0c27f;
  font-size: 15px;
  font-weight: 400;
}

@media (max-width: 700px) {
  body {
    background:
      radial-gradient(circle at 50% -8%, rgb(18 62 104 / 42%), transparent 25rem),
      var(--obsidian);
  }

  .page-shell {
    display: grid;
    width: 100%;
    height: 100svh;
    min-height: 0;
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  }

  .contact-card {
    display: grid;
    grid-template-rows: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-height: 0;
    padding-bottom: 0;
    border: 1px solid rgb(200 169 106 / 22%);
    border-radius: 20px;
    background:
      radial-gradient(circle at 50% 0%, rgb(18 62 104 / 32%), transparent 19rem),
      #061526;
    box-shadow: 0 18px 56px rgb(0 0 0 / 42%);
  }

  .contact-card::after {
    left: 22px;
    width: 60px;
  }

  .intro,
  .qr-section,
  .details { padding-inline: 20px; }

  .intro {
    display: grid;
    align-content: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .kicker,
  .section-label { font-size: 9px; }

  h1 {
    margin-top: 8px;
    font-size: clamp(42px, 11.5vw, 48px);
    line-height: 1;
  }

  .intro-note {
    margin-top: 9px;
    font-size: 11px;
  }

  .qr-section {
    display: grid;
    align-content: center;
    min-height: 0;
    padding: 20px 20px 22px;
  }

  .section-heading { margin-bottom: 12px; }
  .section-heading span { font-size: 8px; }

  .qr-grid {
    gap: 20px;
    max-width: 500px;
  }

  .qr-frame {
    border-radius: 10px;
    box-shadow: 0 12px 34px rgb(0 0 0 / 30%);
  }

  .qr-frame::after {
    inset: 4px;
    border-radius: 6px;
  }

  figcaption {
    gap: 6px;
    margin-top: 8px;
  }

  figcaption span { font-size: 14px; }
  figcaption small { font-size: 9px; letter-spacing: 0; }

  .details {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 24px;
    background: linear-gradient(180deg, rgb(11 43 74 / 10%), rgb(4 9 16 / 38%));
  }

  .detail-group > .section-label { margin-bottom: 10px; }
  .address-list { gap: 8px; }

  address {
    grid-template-columns: 36px 1fr;
    gap: 8px;
  }

  address span,
  dt { font-size: 10px; }

  address p,
  dd {
    font-size: clamp(12px, 3.15vw, 13.5px);
    line-height: 1.48;
  }

  .contact-group {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .contact-group > .section-label { margin: 0; }
  .contact-group dl { justify-self: end; }

  .contact-group dl > div {
    grid-template-columns: auto auto;
    gap: 10px;
  }

  .whatsapp-button {
    position: relative;
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 0;
    padding: 10px 42px 10px 16px;
    border-radius: 10px;
    font-size: 11px;
  }

  .whatsapp-button b {
    position: absolute;
    right: 16px;
  }
}

@media (max-width: 700px) and (max-height: 720px) {
  .page-shell { padding: 6px; }
  .contact-card { padding-bottom: 0; border-radius: 14px; }
  .intro { padding-top: 14px; padding-bottom: 10px; }
  h1 { font-size: 36px; }
  .intro-note { margin-top: 5px; font-size: 10px; }
  .qr-section { padding-top: 10px; padding-bottom: 12px; }
  .qr-grid { max-width: 316px; gap: 12px; }
  .section-heading { margin-bottom: 7px; }
  .details { gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .detail-group > .section-label { margin-bottom: 7px; }
  .address-list { gap: 5px; }
  address p, dd { font-size: clamp(10.5px, 2.85vw, 12px); line-height: 1.38; }
  .contact-group { gap: 7px 12px; padding-top: 8px; }
  .whatsapp-button { min-height: 34px; padding-block: 7px; font-size: 9.5px; }
}

@media (max-width: 700px) and (max-height: 640px) {
  .page-shell { height: auto; min-height: 100svh; }
  .contact-card { height: auto; min-height: calc(100svh - 12px); padding-bottom: 0; }
  .qr-grid { max-width: 282px; }
  h1 { font-size: 32px; }
}

@media (max-width: 360px) {
  .intro,
  .details { padding-inline: 14px; }
  .qr-section { padding-inline: 10px; }
  .qr-grid { gap: 8px; }
  figcaption span { font-size: 12px; }
  figcaption small { font-size: 7.5px; }
}
