/*
Theme Name: Vcard Cidev
Author: Cidev Concept
Description: Cărți de vizită digitale cu profiluri NFC, coduri QR, descărcare de contact și statistici pentru proprietar.
Version: 2.3.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cidev-card
*/
@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(assets/wp-fonts/dm-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url(assets/wp-fonts/dm-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(assets/wp-fonts/space-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(assets/wp-fonts/space-grotesk-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  color-scheme: light;
  --bg: #f5f6f1;
  --ink: #17241d;
  --muted: #506054;
  --line: #dde4db;
  --green: #164b35;
  --paper: #fff;
  font-family: "DM Sans Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading: "Space Grotesk Variable", "DM Sans Variable", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #347a55; outline-offset: 4px; }
.masthead, .site-footer { max-width: 1200px; margin-inline: auto; padding: 26px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.masthead { flex-wrap: wrap; gap: 6px 12px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; letter-spacing: -.055em; }
.brand-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; background: var(--green); color: #dcf4bb; }
.brand-light { font-weight: 490; }
.brand-dot { color: #447a59; }
.header-label, .site-footer { color: var(--muted); font-size: .9rem; }
.header-label { display: flex; gap: 7px; align-items: center; }
.card-caption { margin-inline-start: auto; }
.profile-layout { width: min(940px, calc(100% - 48px)); margin: clamp(24px, 8vh, 85px) auto 0; display: grid; grid-template-columns: 1.06fr 1fr; gap: 24px; align-items: stretch; }
.identity, .contact { border: 1px solid var(--line); border-radius: 22px; background: var(--paper); overflow: hidden; box-shadow: 0 12px 30px #21372a08; min-width: 0; }
.card-cover { --cover-base: #113f30; --cover-highlight: #276a4b; --cover-ring: #d5efad; --cover-mark: #e4f4ce; position: relative; height: 176px; isolation: isolate; background: radial-gradient(ellipse at 87% 10%, var(--cover-highlight), transparent 65%), var(--cover-base); }
.card-cover[data-cover-style="black"] { --cover-base: #16171a; --cover-highlight: #41444a; --cover-ring: #e4e6eb; --cover-mark: #fff; }
.card-cover[data-cover-style="blue"] { --cover-base: #16386f; --cover-highlight: #3468ad; --cover-ring: #b7d9ff; --cover-mark: #fff; }
.card-cover[data-cover-style="red"] { --cover-base: #801d30; --cover-highlight: #b53f50; --cover-ring: #ffd1d5; --cover-mark: #fff; }
.card-cover[data-cover-style="white"] { --cover-base: #fff; --cover-highlight: #f0f3ef; --cover-ring: #9baaa0; --cover-mark: #26342b; border-bottom: 1px solid var(--line); }
.cover-orbit { position: absolute; z-index: -1; inset: 0; overflow: hidden; border-radius: inherit; }
.cover-orbit::before, .cover-orbit::after { content: ""; position: absolute; display: block; width: 470px; height: 330px; border-radius: 44% 56% 63% 37%; transform: rotate(-23deg); top: -145px; right: -85px; border: 1px solid color-mix(in srgb, var(--cover-ring) 27%, transparent); box-shadow: 0 0 0 14px color-mix(in srgb, var(--cover-ring) 13%, transparent), 0 0 0 28px color-mix(in srgb, var(--cover-ring) 9%, transparent), 0 0 0 43px color-mix(in srgb, var(--cover-ring) 8%, transparent), 0 0 0 58px color-mix(in srgb, var(--cover-ring) 7%, transparent), 0 0 0 73px color-mix(in srgb, var(--cover-ring) 5%, transparent), 0 0 0 87px color-mix(in srgb, var(--cover-ring) 4%, transparent); }
.cover-orbit::after { right: -155px; top: -160px; opacity: .6; }
.nfc-mark { position: absolute; right: 24px; top: 21px; display: inline-flex; align-items: center; gap: 8px; color: var(--cover-mark); font-size: .9rem; letter-spacing: .1em; }
.monogram { position: absolute; left: 32px; bottom: -39px; display: grid; place-items: center; width: 104px; height: 104px; border-radius: 23px; border: 5px solid white; background: #d9efb8; color: #194733; font-size: 32px; font-weight: 780; letter-spacing: -.09em; box-shadow: 0 5px 13px #122e231a; overflow: hidden; }
.monogram img { display: block; width: 100%; height: 100%; object-fit: cover; }
.identity-body { padding: 59px 32px 32px; }
.company { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: .88rem; font-weight: 700; margin: 0 0 9px; }
h1, h2, p { overflow-wrap: anywhere; }
h1, h2, .wordmark, .monogram, .stat-card strong { font-family: var(--heading); }
h1 { margin: 0; font-size: clamp(2.15rem, 5vw, 3.9rem); font-weight: 700; letter-spacing: -.06em; line-height: 1.01; }
.role { margin: 11px 0 0; font-size: 1.13rem; color: var(--muted); }
.bio { margin: 21px 0 0; line-height: 1.56; white-space: pre-line; }
.location { display: flex; gap: 7px; align-items: center; margin: 21px 0 0; color: var(--muted); font-size: .9rem; }
.contact { padding: 30px; }
h2 { margin: 0 0 16px; font-size: 1.42rem; letter-spacing: -.04em; }
.contact-list { display: grid; gap: 8px; margin-bottom: 20px; }
.profile-social { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 15px; }
.contact-row { border: 1px solid var(--line); border-radius: 12px; min-height: 62px; display: flex; align-items: center; gap: 12px; padding: 9px 11px; }
.contact-row:hover, .sub-button:hover, .share-actions button:hover { background: #f0f6ed; }
.contact-row > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.contact-icon { width: 40px; height: 40px; border-radius: 9px; background: #edf4e9; color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
small { display: block; margin-bottom: 2px; color: var(--muted); font-size: .875rem; }
.contact-row strong { font-size: .98rem; }
.save-contact { background: var(--green); color: white; border: 1px solid transparent; border-radius: 12px; min-height: 49px; display: flex; justify-content: center; align-items: center; gap: 9px; padding: 11px 17px; font-weight: 700; text-align: center; }
.save-contact:hover { background: #226246; }
.share-actions { display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; margin-top: 9px; }
.share-actions button, .sub-button { background: white; color: var(--green); border: 1px solid var(--line); border-radius: 10px; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 12px; font-size: .875rem; font-weight: 680; }
.share-actions button svg { flex: 0 0 auto; }
.share-link-input { width: 100%; margin-top: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.feedback { color: var(--green); font-size: .9rem; margin-bottom: 0; }
.error { color: #a32520; }
.qr-box { margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); display: grid; justify-items: center; gap: 8px; }
.qr-box a { text-decoration: underline; font-size: .9rem; }
.site-footer { width: min(940px, calc(100% - 48px)); padding: 23px 0 32px; }
.site-footer a:hover, a.header-label:hover { text-decoration: underline; }
.missing { width: min(550px, calc(100% - 48px)); margin: 72px auto; }
.missing .save-contact { width: fit-content; }
@media (max-width: 690px) {
  .masthead { padding: 17px 18px; }
  .profile-layout { width: calc(100% - 32px); margin-top: 15px; grid-template-columns: 1fr; gap: 12px; }
  .identity, .contact { border-radius: 18px; }
  .card-cover { height: 105px; }
  .monogram { left: 20px; width: 84px; height: 84px; font-size: 29px; bottom: -32px; border-radius: 19px; }
  .identity-body { padding: 44px 20px 20px; }
  .bio, .location { margin-top: 13px; }
  .contact, .editor { padding: 18px; }
  .site-footer { width: calc(100% - 36px); }
}
@media (max-width: 28rem) {
  .card-caption { order: 1; flex-basis: 100%; }
}
@media (max-width: 380px) {
  .masthead { gap: 8px; }
  .header-label { font-size: .84rem; }
  .field-grid { grid-template-columns: 1fr; }
  .share-actions button { padding-inline: 5px; }
}

.cover-image { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cover-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover-image::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 98% 0%, #14282095, transparent 40%); }
.company-logo { grid-column: 1 / -1; display: grid; place-items: center; padding: 17px 22px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.company-logo img { display: block; width: auto; height: auto; max-width: min(220px, 100%); max-height: 72px; object-fit: contain; }

[hidden] { display: none !important; }
.skip-link { position: absolute; transform: translateY(-150%); padding: 8px 14px; background: white; z-index: 4; }
.skip-link:focus { transform: none; }
.page-content { width: min(940px, calc(100% - 48px)); margin: 60px auto; }
.page-content .sub-button { width: fit-content; }
.page-content img { max-width: 100%; height: auto; }
.brand-icon { display: inline-flex; gap: 2px; justify-content: center; align-items: center; }
.brand-icon i { width: 3px; height: 11px; background: currentColor; border-radius: 2px; }
.brand-icon i:nth-child(2){height:19px}.brand-icon i:nth-child(3){height:15px}
.dashicons { width: 1em; height: 1em; line-height: 1; font-size: 1.1em; flex-shrink: 0; }
details .sub-button { cursor: pointer; list-style: none; } summary::-webkit-details-marker { display:none; }
.feedback:empty { display: none; }
.share-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
.qr-box img { display: block; max-width: 100%; height: auto; }

/* Premium Black: public cards only */
body.single-cidev_profile { color-scheme: dark; --bg:#080808; --ink:#f7f4ef; --muted:#b9b4aa; --line:#39342b; --green:#d4af67; --paper:#151515; background:var(--bg); color:var(--ink); }
.single-cidev_profile .profile-layout { max-width:480px; margin:16px auto 0; grid-template-columns:1fr; gap:12px; }
.single-cidev_profile .masthead,.single-cidev_profile .site-footer { max-width:480px; }
.single-cidev_profile .card-caption { display:none; }
.single-cidev_profile .card-cover { height:170px; }
.single-cidev_profile .card-cover[data-cover-style=black] { --cover-base:#101010; --cover-highlight:#3b3020; --cover-ring:#d4af67; --cover-mark:#d4af67; }
.single-cidev_profile .monogram { left:50%; transform:translateX(-50%); bottom:-54px; width:124px; height:124px; border:3px solid #d4af67; border-radius:50%; background:#242424; color:#d4af67; }
.single-cidev_profile .identity-body { padding:74px 24px 24px; text-align:center; }
.single-cidev_profile .identity-body h1 { font-size:clamp(1.8rem,7vw,2.5rem); letter-spacing:-.035em; }
.single-cidev_profile .company,.single-cidev_profile .location { justify-content:center; }
.single-cidev_profile .role { color:#d4af67; }
.single-cidev_profile .save-contact { margin-top:24px; background:#d4af67; color:#111; }
.single-cidev_profile .save-contact:hover { background:#f0ca82; }
.single-cidev_profile .contact-icon,.single-cidev_profile .sub-button,.single-cidev_profile .share-actions button { background:#242424; color:#d4af67; }
.single-cidev_profile .contact-row:hover,.single-cidev_profile .sub-button:hover { background:#302a20; }
.single-cidev_profile .share-link-input { background:#242424; }
.single-cidev_profile .company-logo { grid-column:1; background:#fff; border-radius:12px; padding:12px; justify-self:center; }
.single-cidev_profile :focus-visible { outline-color:#d4af67; }

/* Public profile canvas, including collapsed margins and mobile overscroll. */
html.cidev-public-root { background:#080808 !important; color-scheme:dark; min-height:100%; }
body.single-cidev_profile { margin:0; min-height:100vh; padding-top:0; display:flow-root; }
.single-cidev_profile .profile-layout { margin-top:0; }

/* Compact public profile spacing. */
.single-cidev_profile .identity-body { padding-top:64px; padding-bottom:18px; }
.single-cidev_profile .identity-body .company { margin-bottom:5px; }
.single-cidev_profile .identity-body .role { margin-top:6px; }
.single-cidev_profile .identity-body .bio, .single-cidev_profile .identity-body .location { margin-top:12px; }
.single-cidev_profile .identity-body .save-contact { margin-top:14px; }

.card-cover[data-cover-style="pink"] { --cover-base:#9c416b; --cover-highlight:#e8a0be; --cover-ring:#ffe0ed; --cover-mark:#fff; }

/* Business Prestige – isolated public homepage */
html.vc-prestige,body.vc-landing{background:#101011;color:#f5f4f1;color-scheme:dark;margin:0;min-height:100%;font-family:'DM Sans Variable',Arial,sans-serif}
.vc-landing .vc-shell{width:min(1060px,calc(100% - 48px));margin:auto;min-height:100vh;display:flex;flex-direction:column}
.vc-landing .vc-nav{display:flex;justify-content:space-between;align-items:center;padding:24px 0;border-bottom:1px solid #303030;gap:12px}
.vc-landing a{text-decoration:none;color:inherit}.vc-brand{font-size:28px;font-weight:750;letter-spacing:-1px}.vc-brand span,.vc-hero h1 span,.vc-eyebrow{color:#c9aa71}
.vc-hero{text-align:center;padding:42px 0 28px;animation:vc-enter .8s ease both}.vc-eyebrow{font-size:11px;letter-spacing:2px;font-weight:650;margin:0 0 14px}.vc-hero h1{font-size:clamp(32px,5vw,60px);line-height:1.12;letter-spacing:-.045em;margin:0;font-weight:700}.vc-intro{color:#b2b2b2;font-size:clamp(15px,2vw,18px);margin:16px 0 0}
.vc-visual{max-width:850px;margin:auto;overflow:hidden;border-radius:12px;background:#171717;aspect-ratio:1200/650}.vc-visual img{display:block;width:100%;height:100%;object-fit:cover;animation:vc-zoom 16s ease-in-out infinite alternate}
.vc-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;padding:25px 0 32px}.vc-landing .vc-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;border-radius:7px;padding:12px 20px;font-size:14px;font-weight:650;transition:background .2s,transform .2s;line-height:1.4}.vc-landing .vc-primary{background:#c9aa71;color:#101011}.vc-landing .vc-outline{border:1px solid #555;color:#f5f4f1}.vc-button:hover{transform:translateY(-2px)}.vc-landing a:focus-visible{outline:2px solid #c9aa71;outline-offset:4px}
.vc-features{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #303030;border-bottom:1px solid #303030;padding:24px 0;gap:12px}.vc-features div{display:flex;align-items:center;justify-content:center;gap:10px;font-size:14px}.vc-features .dashicons{color:#c9aa71;font-size:24px;width:24px;height:24px}.vc-footer{text-align:center;color:#999;font-size:12px;padding:24px 0;margin-top:auto}
@keyframes vc-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes vc-zoom{from{transform:scale(1)}to{transform:scale(1.045)}}
@media(max-width:560px){.vc-landing .vc-shell{width:calc(100% - 32px)}.vc-brand{font-size:23px}.vc-landing .vc-button{padding:10px 13px;font-size:12px}.vc-hero{padding:34px 0 24px}.vc-features div{flex-direction:column;text-align:center;font-size:11px}.vc-visual{aspect-ratio:4/3}}
@media(prefers-reduced-motion:reduce){.vc-hero,.vc-visual img{animation:none}.vc-button{transition:none}}

/* Prestige product composition: independent responsive elements, no cropped banner. */
.vc-landing .vc-shell{width:min(1120px,calc(100% - 48px))}.vc-hero{padding:48px 0 30px}.vc-stage{position:relative;isolation:isolate;width:min(100%,900px);max-width:none;aspect-ratio:2/1;display:flex;align-items:center;justify-content:center;gap:7%;padding:4% 7%;box-sizing:border-box;background:radial-gradient(ellipse at 55% 80%,#29251e 0%,#171717 42%,#101011 76%);border-radius:0;overflow:visible;container-type:inline-size}.vc-product-card{width:48%;aspect-ratio:1.586;position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:6%;box-sizing:border-box;border:1px solid #82704e;border-radius:5% / 8%;background:linear-gradient(145deg,#343434,#141414 48%,#222);box-shadow:0 24px 38px #0009,inset 0 1px 1px #ffffff30;transform:rotate(-8deg);color:#d2b57d;animation:vc-card-in 1s ease both}.vc-card-top,.vc-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.vc-card-top{font-size:clamp(14px,3.1cqw,30px);font-weight:500;letter-spacing:-.04em}.vc-card-top b{font-weight:700}.vc-card-bottom{font-size:clamp(7px,1.1cqw,11px);letter-spacing:.12em}.vc-card-chip{width:15%;aspect-ratio:1.25;border-radius:20%;background:linear-gradient(135deg,#a48a59,#e0c895,#8b744a);border:1px solid #d4ba85}.vc-device{width:30%;aspect-ratio:0.49;padding:5px;box-sizing:border-box;border-radius:13% / 6.5%;background:linear-gradient(120deg,#b9a27b,#4d4537 25%,#e0cda7 52%,#5b5140 80%,#c5b18b);box-shadow:16px 24px 38px #000a;transform:rotate(7deg);animation:vc-device-in 1.1s ease both}.vc-screen{height:100%;position:relative;overflow:hidden;border-radius:12% / 6%;background:#111;display:flex;flex-direction:column;align-items:center;color:#f5f4f1;border:3px solid #080808;box-sizing:border-box}.vc-island{position:absolute;top:3%;left:34%;width:32%;height:3.6%;background:#050505;border-radius:20px;z-index:2}.vc-screen-cover{height:27%;width:100%;background:linear-gradient(145deg,#3c3527,#171717 65%,#665337);flex-shrink:0}.vc-stage .vc-portrait{width:36%;height:auto;aspect-ratio:1;object-fit:cover;object-position:center 25%;border-radius:50%;border:2px solid #c9aa71;margin-top:-18%;animation:none;z-index:1}.vc-person{font-size:clamp(10px,2.3cqw,23px);margin-top:5%;line-height:1.2}.vc-role,.vc-company{font-size:clamp(7px,1.25cqw,12px);color:#c9aa71;margin-top:2%}.vc-company{color:#aaa}.vc-save{margin-top:9%;width:86%;padding:4% 0;text-align:center;background:#c9aa71;color:#111;border-radius:5px;font-size:clamp(7px,1.2cqw,12px);font-weight:700}.vc-screen-actions{display:flex;width:86%;gap:4%;margin-top:5%}.vc-screen-actions span{flex:1;background:#242424;border-radius:5px;display:flex;flex-direction:column;align-items:center;padding:5% 0;font-size:clamp(6px,.9cqw,10px);gap:3px}.vc-screen-actions i{color:#c9aa71}.vc-screen-brand{margin-top:auto;margin-bottom:8%;font-size:clamp(7px,1cqw,10px);color:#999}.vc-actions{padding-top:32px}.vc-landing .vc-button{min-height:46px}.vc-features{padding:26px 0}.vc-stage .dashicons{line-height:1}.vc-card-top .dashicons{font-size:clamp(14px,3cqw,26px)}
@keyframes vc-card-in{from{opacity:0;transform:translateY(12px) rotate(-8deg)}to{opacity:1;transform:rotate(-8deg)}}@keyframes vc-device-in{from{opacity:0;transform:translateY(12px) rotate(7deg)}to{opacity:1;transform:rotate(7deg)}}
@media(max-width:560px){.vc-landing .vc-shell{width:calc(100% - 32px)}.vc-stage{aspect-ratio:1.3;gap:5%;padding:5% 3%}.vc-product-card{width:49%;padding:4%}.vc-device{width:39%;padding:3px}.vc-screen{border-width:2px}.vc-hero{padding:32px 0 16px}.vc-actions{padding-top:18px}.vc-screen-actions i{font-size:11px}.vc-landing .vc-button{min-height:40px}}
@media(prefers-reduced-motion:reduce){.vc-product-card,.vc-device{animation:none}}
.vc-landing .vc-premium{max-width:1050px;aspect-ratio:auto;background:#101011;border-radius:16px}.vc-landing .vc-premium img{width:100%;height:auto;object-fit:contain;animation:vc-zoom 18s ease-in-out infinite alternate}@media(prefers-reduced-motion:reduce){.vc-landing .vc-premium img{animation:none}}
