/* Digital business card pages (/card/<name>). Standalone: no site header,
   one card, made to be opened from a WhatsApp link on a phone. */
:root {
  --ink: #152024;
  --teal: #1f6b66;
  --brass: #b08a4f;
  --paper: #f4f0e8;
  --surface: #ffffff;
  --muted: #5c6560;
  --line: rgba(21, 32, 36, 0.12);
  --wa: #1f9d55;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Heebo, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.bc-wrap { min-height: 100dvh; padding: 24px 16px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bc {
  width: 100%; max-width: 400px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(21, 32, 36, 0.10), 0 2px 6px rgba(21, 32, 36, 0.05);
  padding: 24px 22px 22px;
  text-align: center;
}
.bc-logo { display: inline-block; margin-bottom: 18px; }
.bc-logo img { display: block; height: 34px; width: auto; }
.bc-photo {
  display: block; margin: 0 auto 14px;
  width: 132px; height: 132px; border-radius: 50%;
  object-fit: cover; object-position: center 18%;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line);
}
.bc h1 { font-size: 1.6rem; line-height: 1.2; margin: 0; }
.bc-role { margin: 4px 0 0; color: #84652f; font-weight: 500; }
.bc-org { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }

.bc-quicks { display: flex; justify-content: center; gap: 22px; margin: 20px 0 18px; }
.bc-quick { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--muted); font-size: 0.875rem; }
.bc-quick svg {
  width: 44px; height: 44px; padding: 12px; border-radius: 50%;
  border: 1px solid var(--line); fill: var(--ink); background: #fff;
  transition: border-color 160ms ease, background 160ms ease;
}
.bc-quick--wa svg { fill: var(--wa); }
.bc-quick:hover svg { border-color: var(--teal); background: rgba(31, 107, 102, 0.05); }

.bc-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); text-align: start; }
.bc-rows li { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.bc-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.bc-ico svg { width: 16px; height: 16px; fill: var(--teal); }
.bc-row { display: flex; flex-direction: column; min-width: 0; }
.bc-row small { color: var(--muted); font-size: 0.8rem; line-height: 1.2; }
.bc-row a { text-decoration: none; font-weight: 500; overflow-wrap: anywhere; unicode-bidi: isolate; }
.bc-row a[dir="ltr"] { text-align: right; }

.bc-actions { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; margin-top: 18px; }
.bc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 12px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-weight: 500; font-size: 0.95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.bc-btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.bc-btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.bc-btn:hover { border-color: var(--teal); }
.bc-btn--ink:hover { background: var(--teal); border-color: var(--teal); }
.bc-note { margin: 10px 0 0; color: var(--teal); font-size: 0.9rem; }
.bc-foot { margin: 18px 0 0; color: var(--muted); font-size: 0.9rem; }
.bc-foot a { text-decoration: none; }
.bc-foot a:hover { text-decoration: underline; }
