/* Digital business card page */
.cardpage{min-height:100dvh;background:#0c1228;color:#fff;padding-bottom:0;margin:0}
.cardpage .sticky{display:none}
.cardpage .top{position:relative;overflow:hidden;background:#121C3A;border-bottom:4px solid var(--gold)}
.cardpage .top .bar{padding:14px 0;justify-content:center}
.cardpage .brand img{width:150px;height:auto}
@media(min-width:820px){.cardpage .brand img{width:180px}}
.card-preview-note{background:#F8B200;color:#121C3A;font-weight:600;font-size:.9rem;padding:8px 20px;text-align:center}
.card-preview-note p{margin:0}
.card-stage{position:relative;isolation:isolate;padding:28px 16px 48px;display:flex;justify-content:center}
.card-stage::before{content:"";position:absolute;inset:0;z-index:-1;background:
  radial-gradient(ellipse 80% 50% at 50% 18%, rgba(248,178,0,.16), transparent 58%),
  linear-gradient(180deg,#121C3A 0%,#0c1228 55%,#0a1022 100%)}
.vcard{width:100%;max-width:420px;text-align:center;animation:cardin .7s ease both}
@keyframes cardin{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.vphoto{width:168px;height:168px;margin:0 auto 18px;position:relative}
.vphoto img{width:168px;height:168px;border-radius:50%;object-fit:cover;border:4px solid var(--gold);box-shadow:0 0 0 6px rgba(248,178,0,.18),0 16px 40px rgba(0,0,0,.35);animation:photoin .8s ease both}
@keyframes photoin{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
.vcard .kicker{margin:0 0 6px;letter-spacing:.16em;font-size:.72rem;color:var(--gold);font-weight:700;text-transform:uppercase}
.vcard h1{font-family:Montserrat,Arial,sans-serif;font-weight:700;font-size:clamp(2rem,7vw,2.5rem);color:#fff;margin:0 0 6px;line-height:1.1}
.vcard .org{margin:0 0 4px;font-weight:600;font-size:1.05rem;color:#fff}
.vcard .role{margin:0;color:#D5DAE3;font-size:1.02rem}
.vcard .place{margin:4px 0 0;color:#C4CAD6}
.vcard .slogan{margin:14px 0 0;color:var(--gold);font-weight:700;font-size:1rem}
.vacts{display:flex;flex-direction:column;gap:10px;margin:22px 0 0}
.vacts .btn{justify-content:center;width:100%;gap:10px;border-radius:8px;min-height:52px;font-weight:700;letter-spacing:.01em}
.vacts .btn svg{width:20px;height:20px;flex-shrink:0}
.vacts .btn.call{background:#075E94;border-color:#075E94;color:#fff}
.vacts .btn.mail,.vacts .btn.visit{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.vacts .btn.save{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.vacts .btn:hover,.vacts .btn:focus-visible{filter:brightness(1.08)}
.vacts .btn:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.vqr{margin:28px auto 0;padding:16px 16px 12px;background:#fff;color:var(--navy);border-radius:12px;max-width:240px;box-shadow:0 8px 28px rgba(0,0,0,.25)}
.vqr img,.vqr svg{width:200px;height:200px;margin:0 auto;display:block}
.vqr p{margin:8px 0 0;font-size:.85rem;font-weight:600;color:var(--ink)}
.vsoc{display:flex;justify-content:center;gap:12px;margin:22px 0 0}
.vsoc a{width:44px;height:44px;border-radius:50%;border:2px solid #fff;color:#fff;display:flex;align-items:center;justify-content:center;font:700 .85rem Montserrat,sans-serif;text-decoration:none}
.vsoc a:hover,.vsoc a:focus-visible{background:var(--gold);color:var(--navy);border-color:var(--gold)}
.card-foot{background:transparent;color:#C4CAD6;padding:8px 20px 28px;text-align:center;font-size:.9rem}
.card-foot a{color:#fff;display:inline}
.card-foot p{margin:0}
@media(max-height:740px){
  .vphoto,.vphoto img{width:140px;height:140px}
  .card-stage{padding:18px 16px 32px}
  .vqr{margin-top:20px}
}
@media(min-width:768px){
  .vcard{max-width:460px}
  .cardpage .top .bar{justify-content:center}
}
@media(min-width:1100px){
  .card-stage{padding:56px 24px 72px}
  .vcard{max-width:960px;display:grid;grid-template-columns:220px minmax(300px,1fr) 220px;grid-template-areas:"photo copy qr";gap:28px 36px;align-items:center;text-align:left;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));border:1px solid rgba(248,178,0,.28);border-radius:20px;padding:44px 40px;box-shadow:0 24px 60px rgba(0,0,0,.35)}
  .vphoto{grid-area:photo;margin:0;width:220px;height:220px}
  .vphoto img{width:220px;height:220px}
  .vcopy{grid-area:copy;min-width:0}
  .vqrwrap{grid-area:qr;align-self:center;justify-self:end}
  .vacts{display:flex;flex-direction:column;gap:10px}
  .vqr{margin:0;max-width:200px;padding:14px 14px 10px}
  .vqr img,.vqr svg{width:172px;height:172px}
  .vsoc{justify-content:flex-start}
  .vcard h1{font-size:2.55rem}
}


@media(prefers-reduced-motion:reduce){
  .vcard,.vphoto img{animation:none}
  .vacts .btn{transition:none}
  .card-stage::before{background:#121C3A}
}
