/* ============================================================
   Prestige AV Digital Business Card — Shared Stylesheet
   meetprestigeav.com/_shared/card.css
   ============================================================ */

:root {
  --bg0:    #060910;
  --bg1:    #0b0f16;
  --card:   #111b2bcc;
  --card2:  #0e1626cc;
  --panel:  rgba(8,12,20,.5);
  --text:   #eef2fb;
  --muted:  #a6b2c7;
  --muted2: #7e8aa1;

  /* Prestige AV brand colors */
  --blue:   #0074c8;   /* primary brand blue  */
  --green:  #70bf42;   /* brand green accent  */
  --cyan:   #0693e3;   /* lighter blue        */

  --line:    rgba(120,140,175,.16);
  --line2:   rgba(120,140,175,.10);
  --shadow:  0 24px 60px rgba(0,0,0,.55);
  --radius:  20px;
  --radius2: 15px;
  --max:     980px;
}

*, *::before, *::after { box-sizing: border-box }
html, body { height: 100% }
html { -webkit-text-size-adjust: 100% }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 12% 8%,  rgba(0,116,200,.20), transparent 60%),
    radial-gradient(820px 420px at 88% 16%, rgba(112,191,66,.10), transparent 60%),
    radial-gradient(900px 620px at 50% 112%, rgba(0,116,200,.12), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  background-attachment: fixed;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
               "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── Layout wrapper ── */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 30px 16px 52px;
}

/* ── Top bar ── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.logo {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.55));
}
.brandline {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .28px;
  margin: 0 auto 18px;
  max-width: 32ch;
  text-wrap: balance;
}

/* ── Main card ── */
.card {
  background: linear-gradient(180deg, var(--card), var(--card2));
  border: 1px solid rgba(60,78,112,.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

/* Prestige brand stripe across the top */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 45%, var(--green) 100%);
  z-index: 2;
}

/* Subtle glow overlay */
.card::after {
  content: "";
  position: absolute; inset: -2px;
  background:
    radial-gradient(560px 300px at 18% -4%, rgba(0,116,200,.22), transparent 60%),
    radial-gradient(480px 260px at 84% 14%, rgba(112,191,66,.09), transparent 62%);
  pointer-events: none;
  z-index: 0;
}

/* ── Hero / profile ── */
.hero {
  position: relative;
  z-index: 1;
  padding: 30px 22px 22px;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 20px;
  align-items: center;
}

.avatar {
  position: relative;
  width: 116px; height: 116px;
  border-radius: 999px;
  padding: 3px;
  background: linear-gradient(150deg, var(--blue), var(--green));
  box-shadow: 0 16px 36px rgba(0,0,0,.55), 0 0 0 6px rgba(0,116,200,.08);
}
.avatar img {
  width: 100%; height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: rgba(255,255,255,.04);
}

.who h1 {
  font-size: 24px;
  margin: 0 0 4px;
  letter-spacing: .2px;
  line-height: 1.1;
}
.who .role {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(0,116,200,.13);
  border: 1px solid rgba(0,116,200,.28);
  color: #dbe7ff;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pill b { color: var(--text) }

/* ── Social icon row ── */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}
.social {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  color: var(--muted);
  transition: transform .12s ease, border-color .15s ease, background .15s ease, color .15s ease;
}
.social svg { width: 19px; height: 19px; display: block }
.social:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(0,116,200,.55);
  background: linear-gradient(180deg, rgba(0,116,200,.22), rgba(0,116,200,.08));
}

/* ── Panel grid ── */
.grid {
  position: relative;
  z-index: 1;
  padding: 4px 18px 20px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
}

/* ── Individual panel ── */
.panel {
  border: 1px solid var(--line2);
  background: var(--panel);
  border-radius: var(--radius2);
  padding: 16px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Section inside a panel ── */
.section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section h2 {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 9px;
}
.section h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

/* ── Button list ── */
.btns { display: grid; gap: 8px }

.btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  transition: transform .12s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(112,191,66,.5);
  background: linear-gradient(180deg, rgba(112,191,66,.10), rgba(0,116,200,.05));
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
}

.btn .icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(0,116,200,.28);
  background: linear-gradient(180deg, rgba(0,116,200,.16), rgba(0,116,200,.05));
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}
.btn .left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.btn .title {
  font-weight: 650;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn .sub {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn .chev {
  flex: 0 0 auto;
  color: var(--muted2);
  font-size: 20px;
  line-height: 1;
  transition: transform .15s ease, color .15s ease;
}
.btn:hover .chev {
  color: var(--green);
  transform: translateX(2px);
}

/* ── Info text block ── */
.info {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.info b { color: var(--text) }
.info-links { margin-top: 8px }

.smalllink {
  color: rgba(232,237,247,.92);
  border-bottom: 1px dashed rgba(0,116,200,.55);
  padding-bottom: 1px;
}
.smalllink:hover { border-bottom-color: var(--green) }

/* ── QR block ── */
.qr {
  position: relative;
  z-index: 1;
  margin: 4px 18px 4px;
  padding: 18px;
  border: 1px solid var(--line2);
  background: var(--panel);
  border-radius: var(--radius2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 18px;
}
.qr .qr-img {
  width: 104px; height: 104px;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 9px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.qr .qr-img img { width: 100%; height: 100%; display: block }
.qr .qr-text { display: flex; flex-direction: column; gap: 3px }
.qr .qr-text .qr-title { font-weight: 650; font-size: 14.5px }
.qr .qr-text .qr-sub   { font-size: 13px; color: var(--muted); line-height: 1.5 }

/* ── Footer ── */
.footer {
  text-align: center;
  color: rgba(166,178,199,.85);
  font-size: 12px;
  margin-top: 22px;
}

/* ── Responsive ── */
@media (max-width: 820px) {
  .grid  { grid-template-columns: 1fr }
}
@media (max-width: 560px) {
  .wrap   { padding: 24px 14px 44px }
  .hero   {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 28px 18px 20px;
    gap: 14px;
  }
  .who h1 { font-size: 22px }
  .pills, .socials { justify-content: center }
  .logo   { height: 38px }
  .qr     { flex-direction: column; text-align: center }
}

/* ── Respect reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important }
}
