:root {
  --vc-bg: #061527;
  --vc-bg-deep: #030b16;
  --vc-panel: rgba(10, 31, 51, .78);
  --vc-panel-solid: #0a2034;
  --vc-card: rgba(255, 255, 255, .055);
  --vc-border: rgba(137, 211, 230, .15);
  --vc-border-strong: rgba(105, 224, 235, .27);
  --vc-text: #f4fbff;
  --vc-muted: #9db4c6;
  --vc-teal: #1dd8e7;
  --vc-teal-dark: #00a4b5;
  --vc-lime: #a9ef55;
  --vc-orange: #ff9d24;
  --vc-whatsapp: #25d366;
  --vc-shadow: 0 28px 80px rgba(0, 6, 14, .38);
  --vc-radius: 28px;
  --vc-shell: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.vcard-body {
  margin: 0;
  min-width: 320px;
  color: var(--vc-text);
  background: var(--vc-bg-deep);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.vcard-body img { display: block; max-width: 100%; height: auto; }
body.vcard-body button, body.vcard-body a { font: inherit; }
body.vcard-body button { color: inherit; }
body.vcard-body a { color: inherit; }
body.vcard-body :focus-visible { outline: 3px solid var(--vc-lime); outline-offset: 3px; }

.vcard-skip { position: fixed; z-index: 9999; top: -70px; left: 18px; padding: 10px 16px; color: #061527 !important; background: #fff; border-radius: 10px; text-decoration: none; transition: top .2s ease; }
.vcard-skip:focus { top: 18px; }

.vcard-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px max(20px, env(safe-area-inset-left)) calc(52px + env(safe-area-inset-bottom));
  isolation: isolate;
  background:
    linear-gradient(rgba(6, 21, 39, .93), rgba(3, 11, 22, .98)),
    radial-gradient(circle at 12% 7%, rgba(29, 216, 231, .16), transparent 29%),
    radial-gradient(circle at 88% 44%, rgba(90, 120, 255, .13), transparent 33%);
}
.vcard-page::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: .27;
  background-image:
    linear-gradient(rgba(65, 168, 203, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 168, 203, .14) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.vcard-page::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 760px;
  height: 760px;
  top: -390px;
  left: 50%;
  border: 1px solid rgba(29, 216, 231, .11);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 110px rgba(29,216,231,.025), 0 0 0 220px rgba(29,216,231,.018);
}
.vcard-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.vcard-orb-one { width: 420px; height: 420px; top: 210px; left: -270px; background: rgba(0, 187, 211, .12); box-shadow: 0 0 130px rgba(0,187,211,.18); }
.vcard-orb-two { width: 300px; height: 300px; right: -210px; bottom: 8%; background: rgba(255,157,36,.09); box-shadow: 0 0 120px rgba(255,157,36,.12); }

.vcard-nav {
  width: min(100%, var(--vc-shell));
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 auto 28px;
}
.vcard-home { display: inline-flex; align-items: center; text-decoration: none; }
.vcard-home img { width: 155px; max-height: 48px; object-fit: contain; object-position: left center; }
.vcard-nav-label { flex: 1; padding-left: 18px; border-left: 1px solid var(--vc-border); color: var(--vc-muted); font-size: 11px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.vcard-nav-actions { display: flex; gap: 8px; }
.vcard-nav-actions button {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--vc-border);
  border-radius: 50%;
  color: #dffaff;
  background: rgba(255,255,255,.045);
  cursor: pointer;
  transition: .2s ease;
}
.vcard-nav-actions button:hover { color: #051421; background: var(--vc-teal); border-color: var(--vc-teal); transform: translateY(-2px); }
.vcard-nav-actions svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.vcard-layout { width: min(100%, var(--vc-shell)); display: grid; grid-template-columns: 370px minmax(0, 1fr); align-items: start; gap: 24px; margin: 0 auto; }
.vcard-profile {
  position: sticky;
  top: 24px;
  overflow: hidden;
  padding: 37px 32px 30px;
  border: 1px solid var(--vc-border-strong);
  border-radius: var(--vc-radius);
  background:
    linear-gradient(155deg, rgba(14, 51, 73, .94), rgba(5, 20, 35, .98)),
    var(--vc-panel-solid);
  box-shadow: var(--vc-shadow);
}
.vcard-profile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 28%); }
.vcard-profile-glow { position: absolute; top: -145px; right: -115px; width: 330px; height: 330px; border-radius: 50%; background: rgba(29,216,231,.15); filter: blur(4px); box-shadow: 0 0 80px rgba(29,216,231,.16); pointer-events: none; }
.vcard-photo-wrap { position: relative; z-index: 2; width: 128px; height: 128px; margin-bottom: 28px; }
.vcard-photo-wrap::before { content: ""; position: absolute; inset: -7px; border: 1px solid rgba(29,216,231,.6); border-radius: 27px; transform: rotate(5deg); }
.vcard-photo { position: relative; width: 128px; height: 128px !important; object-fit: cover; border: 4px solid rgba(255,255,255,.10); border-radius: 24px; box-shadow: 0 18px 42px rgba(0,0,0,.35); }
.vcard-verified { position: absolute; right: -10px; bottom: -7px; width: 31px; height: 31px; display: grid; place-items: center; color: #061527; background: var(--vc-lime); border: 4px solid #0a2034; border-radius: 50%; font-size: 13px; font-weight: 900; }
.vcard-kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; color: #b8cbd8; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.vcard-kicker span { width: 7px; height: 7px; background: var(--vc-lime); border-radius: 50%; box-shadow: 0 0 0 5px rgba(169,239,85,.09); }
.vcard-profile h1 { margin: 0; color: #fff; font-size: clamp(40px, 4vw, 52px); line-height: 1.02; letter-spacing: -.045em; }
.vcard-roles { display: grid; gap: 6px; margin-top: 20px; }
.vcard-roles span { color: #a9c0ce; font-size: 13px; }
.vcard-roles b { margin-left: 5px; color: #fff; font-weight: 760; }
.vcard-intro { margin: 23px 0 0; color: #b5c7d3; font-size: 14px; line-height: 1.75; }
.vcard-primary-actions { display: grid; grid-template-columns: 1.08fr .92fr; gap: 9px; margin-top: 26px; }
.vcard-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 12px; border-radius: 14px; font-size: 11px; font-weight: 850; text-decoration: none; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.vcard-button:hover { transform: translateY(-2px); }
.vcard-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vcard-button-primary { color: #02131d !important; background: linear-gradient(135deg, #58ebf2, var(--vc-teal)); box-shadow: 0 12px 26px rgba(29,216,231,.18); }
.vcard-button-whatsapp { color: #fff !important; background: rgba(37,211,102,.15); border: 1px solid rgba(37,211,102,.35); }
.vcard-button-whatsapp:hover { background: rgba(37,211,102,.24); box-shadow: 0 12px 26px rgba(37,211,102,.11); }
.vcard-quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; padding-top: 18px; border-top: 1px solid var(--vc-border); }
.vcard-quick-actions a, .vcard-quick-actions button { min-width: 0; display: grid; justify-items: center; gap: 5px; padding: 8px 2px; border: 0; border-radius: 11px; color: #acc2cf; background: transparent; cursor: pointer; font-size: 9px; font-weight: 750; text-decoration: none; transition: .2s ease; }
.vcard-quick-actions a:hover, .vcard-quick-actions button:hover { color: var(--vc-teal); background: rgba(255,255,255,.035); }
.vcard-quick-actions svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.vcard-content { display: grid; gap: 24px; }
.vcard-section { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--vc-border); border-radius: var(--vc-radius); background: var(--vc-panel); box-shadow: 0 22px 65px rgba(0,5,12,.25); backdrop-filter: blur(18px); }
.vcard-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.vcard-section-heading > svg { width: 34px; height: 34px; flex: 0 0 auto; color: rgba(29,216,231,.55); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.vcard-eyebrow { display: block; margin-bottom: 8px; color: var(--vc-teal); font-size: 10px; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.vcard-section h2, .vcard-dialog h2 { margin: 0; color: #fff; font-size: clamp(25px, 3vw, 34px); line-height: 1.15; letter-spacing: -.028em; }
.vcard-company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vcard-company { position: relative; min-width: 0; overflow: hidden; padding: 22px; border: 1px solid var(--vc-border); border-radius: 20px; background: rgba(255,255,255,.035); }
.vcard-company::after { content: ""; position: absolute; width: 170px; height: 170px; right: -100px; top: -100px; border-radius: 50%; pointer-events: none; }
.vcard-company-php::after { background: rgba(29,216,231,.12); }
.vcard-company-jenex::after { background: rgba(255,157,36,.13); }
.vcard-company-logo { width: 74px; height: 56px; display: flex; align-items: center; margin-bottom: 22px; }
.vcard-company-logo img { max-width: 100%; max-height: 100%; object-fit: contain; object-position: left center; }
.vcard-company-logo-php { width: 125px; }
.vcard-company-logo-jenex { width: 62px; height: 62px; overflow: hidden; border-radius: 14px; background: #030707; }
.vcard-company-logo-jenex img { width: 100%; height: 100%; object-fit: cover; }
.vcard-company-role { display: inline-flex; padding: 5px 9px; color: #9fb8c7; background: rgba(255,255,255,.055); border-radius: 999px; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.vcard-company-jenex .vcard-company-role { color: #ffc47c; background: rgba(255,157,36,.1); }
.vcard-company h3 { margin: 15px 0 10px; color: #fff; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.vcard-company p { margin: 0; color: var(--vc-muted); font-size: 12px; line-height: 1.7; }
.vcard-company > a { display: inline-flex; align-items: center; gap: 7px; margin-top: 19px; color: var(--vc-teal); font-size: 11px; font-weight: 850; text-decoration: none; }
.vcard-company-jenex > a { color: var(--vc-orange); }
.vcard-company > a svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.vcard-company > a:hover svg { transform: translateX(3px); }

.vcard-contact-list { display: grid; gap: 9px; }
.vcard-contact-row { min-width: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 13px; padding: 12px 14px; border: 1px solid transparent; border-radius: 16px; background: rgba(255,255,255,.032); text-decoration: none; transition: .2s ease; }
.vcard-contact-row:hover { border-color: var(--vc-border-strong); background: rgba(255,255,255,.055); transform: translateX(3px); }
.vcard-contact-icon { width: 42px; height: 42px; display: grid; place-items: center; color: var(--vc-teal); background: rgba(29,216,231,.10); border-radius: 13px; }
.vcard-contact-icon-orange { color: var(--vc-orange); background: rgba(255,157,36,.1); }
.vcard-contact-row svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vcard-contact-row > svg { width: 15px; color: #6e899b; }
.vcard-contact-row small { display: block; color: #7893a4; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.vcard-contact-row strong { display: block; overflow-wrap: anywhere; margin-top: 2px; color: #edfaff; font-size: 13px; font-weight: 680; }

.vcard-connect { display: grid; grid-template-columns: 1fr 165px; align-items: center; gap: 35px; background: linear-gradient(135deg, rgba(8,37,57,.95), rgba(8,25,42,.95)); }
.vcard-connect p { max-width: 490px; margin: 14px 0 0; color: var(--vc-muted); font-size: 13px; }
.vcard-connect-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.vcard-connect-actions a, .vcard-connect-actions button { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid var(--vc-border); border-radius: 11px; color: #dffaff; background: rgba(255,255,255,.04); cursor: pointer; font-size: 11px; font-weight: 800; text-decoration: none; }
.vcard-connect-actions a:hover, .vcard-connect-actions button:hover { color: #03121c; background: var(--vc-teal); border-color: var(--vc-teal); }
.vcard-connect-actions svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vcard-qr-card { justify-self: end; padding: 12px; color: #061527; background: #fff; border-radius: 18px; box-shadow: 0 15px 40px rgba(0,0,0,.26); text-align: center; }
.vcard-qr-card [data-qr-code] { width: 116px; height: 116px; }
.vcard-qr-card svg { width: 100%; height: 100%; display: block; }
.vcard-qr-card span { display: block; margin-top: 7px; color: #344a58; font-size: 8px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }

.vcard-footer { width: min(100%, var(--vc-shell)); display: flex; justify-content: space-between; gap: 20px; margin: 24px auto 0; padding: 17px 3px 0; border-top: 1px solid rgba(137,211,230,.10); color: #607b8c; font-size: 10px; }
.vcard-mobile-bar { display: none; }

.vcard-dialog { width: min(420px, calc(100vw - 34px)); padding: 33px; color: var(--vc-text); border: 1px solid var(--vc-border-strong); border-radius: 24px; background: #0a2034; box-shadow: 0 30px 100px rgba(0,0,0,.65); }
.vcard-dialog::backdrop { background: rgba(0,8,16,.76); backdrop-filter: blur(8px); }
.vcard-dialog-close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--vc-border); border-radius: 50%; color: #dffaff; background: rgba(255,255,255,.04); cursor: pointer; }
.vcard-dialog-close:hover { color: #061527; background: var(--vc-teal); }
.vcard-dialog-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.vcard-dialog-qr { width: 230px; height: 230px; margin: 27px auto 20px; padding: 13px; background: #fff; border-radius: 17px; }
.vcard-dialog-qr svg { width: 100%; height: 100%; display: block; }
.vcard-dialog p { margin: 0; color: var(--vc-muted); text-align: center; font-size: 13px; }
.vcard-toast { position: fixed; z-index: 999; left: 50%; bottom: 24px; padding: 10px 17px; color: #061527; background: var(--vc-lime); border-radius: 999px; box-shadow: 0 14px 35px rgba(0,0,0,.28); font-size: 12px; font-weight: 850; opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: opacity .2s ease, transform .2s ease; }
.vcard-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .vcard-layout { grid-template-columns: 1fr; }
  .vcard-profile { position: relative; top: auto; }
  .vcard-photo-wrap { margin-inline: auto; }
  .vcard-profile { text-align: center; }
  .vcard-kicker, .vcard-primary-actions { justify-content: center; }
  .vcard-kicker { justify-content: center; }
  .vcard-intro { max-width: 650px; margin-inline: auto; }
  .vcard-roles { justify-items: center; }
  .vcard-primary-actions { max-width: 430px; margin-inline: auto; margin-top: 26px; }
  .vcard-quick-actions { max-width: 430px; margin-inline: auto; margin-top: 16px; }
}

@media (max-width: 620px) {
  body.vcard-body { font-size: 15px; }
  .vcard-page { padding: 15px 14px calc(88px + env(safe-area-inset-bottom)); }
  .vcard-nav { min-height: 50px; margin-bottom: 16px; }
  .vcard-home img { width: 127px; max-height: 42px; }
  .vcard-nav-label { display: none; }
  .vcard-nav-actions { margin-left: auto; }
  .vcard-nav-actions button { width: 41px; height: 41px; }
  .vcard-layout, .vcard-content { gap: 14px; }
  .vcard-profile, .vcard-section { border-radius: 22px; }
  .vcard-profile { padding: 31px 20px 23px; }
  .vcard-photo-wrap, .vcard-photo { width: 112px; height: 112px !important; }
  .vcard-photo-wrap { margin-bottom: 24px; }
  .vcard-profile h1 { font-size: 42px; }
  .vcard-intro { font-size: 13px; }
  .vcard-primary-actions { grid-template-columns: 1fr 1fr; }
  .vcard-button { min-height: 48px; padding-inline: 10px; }
  .vcard-section { padding: 24px 18px; }
  .vcard-section-heading { margin-bottom: 20px; }
  .vcard-section-heading > svg { display: none; }
  .vcard-section h2, .vcard-dialog h2 { font-size: 27px; }
  .vcard-company-grid { grid-template-columns: 1fr; }
  .vcard-company { padding: 21px 19px; }
  .vcard-contact-row { grid-template-columns: 40px minmax(0, 1fr) 14px; gap: 11px; padding: 11px 9px; }
  .vcard-contact-icon { width: 39px; height: 39px; }
  .vcard-contact-row strong { font-size: 12px; }
  .vcard-connect { grid-template-columns: 1fr; text-align: center; }
  .vcard-connect p { margin-inline: auto; }
  .vcard-connect-actions { justify-content: center; }
  .vcard-qr-card { justify-self: center; }
  .vcard-footer { align-items: center; flex-direction: column; margin-top: 18px; text-align: center; }
  .vcard-mobile-bar { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 7px; border: 1px solid var(--vc-border-strong); border-radius: 17px; background: rgba(5,20,35,.92); box-shadow: 0 20px 55px rgba(0,0,0,.48); backdrop-filter: blur(18px); }
  .vcard-mobile-bar a { min-height: 45px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; color: #061527; background: var(--vc-teal); font-size: 11px; font-weight: 850; text-decoration: none; }
  .vcard-mobile-bar a:last-child { color: #fff; background: var(--vc-whatsapp); }
  .vcard-mobile-bar svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .vcard-dialog { padding: 28px 20px; }
  .vcard-dialog-qr { width: 215px; height: 215px; }
  .vcard-toast { bottom: 79px; }
}

@media (max-width: 390px) {
  .vcard-primary-actions { grid-template-columns: 1fr; }
  .vcard-roles span { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  body.vcard-body { color: #111; background: #fff; }
  .vcard-page { padding: 0; background: #fff; }
  .vcard-page::before, .vcard-page::after, .vcard-orb, .vcard-nav-actions, .vcard-mobile-bar, .vcard-connect-actions { display: none !important; }
  .vcard-layout { grid-template-columns: 34% 1fr; }
  .vcard-profile, .vcard-section { color: #111; background: #fff; border-color: #ccc; box-shadow: none; }
  .vcard-profile h1, .vcard-section h2, .vcard-company h3, .vcard-contact-row strong { color: #111; }
}
