/* Componente comune pentru site-urile OCP care au portofoliu, instrumente și hero cu ilustrație.
   Se încarcă după style.css doar pe site-urile cu `components=True` (ocptechnology.ro NU îl folosește). */

/* hero cu ilustrație în loc de fotografie */
.hero-web .hero-card{min-height:470px}
.hero-web .hero-card:before{background:radial-gradient(70% 90% at 78% 40%,rgba(34,140,255,.38),rgba(0,0,0,0) 65%),linear-gradient(120deg,#00213f 0%,#003a78 58%,#0a5fc4 100%);animation:none}
.hero-web .hero-in{max-width:640px}.hero-web .hero-in h1{font-size:clamp(1.9rem,3.5vw,2.75rem)}
.hero-scene{position:absolute;right:2.5%;top:50%;transform:translateY(-54%);width:45%;max-width:540px;pointer-events:none}
.hero-scene svg{display:block;width:100%;height:auto}

/* portofoliu: capturi reale în ramă de browser */
.works{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:30px;text-align:left}
.works.c4{grid-template-columns:repeat(4,1fr);gap:16px}
.work{overflow:hidden;display:flex;flex-direction:column;padding:0}
.work .shot{position:relative;background:#eef4fb;border-bottom:1px solid var(--line)}
.work .bar{display:flex;align-items:center;gap:6px;padding:9px 12px;background:#eef4fb;border-bottom:1px solid var(--line)}
.work .bar i{width:9px;height:9px;border-radius:50%;background:#ff8a8a}
.work .bar i:nth-child(2){background:#ffd36b}.work .bar i:nth-child(3){background:#7bd99a}
.work .bar em{flex:1;min-width:0;margin-left:8px;padding:3px 10px;border-radius:99px;background:#fff;border:1px solid var(--line);color:var(--muted);font:600 .72rem/1.4 'Plus Jakarta Sans',system-ui;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.work .shot img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:top}
.work .body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.work .tg{align-self:flex-start;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);background:var(--brand-soft);padding:4px 10px;border-radius:99px}
.work h3{font-size:1.15rem}
.work p{color:var(--muted);font-size:.94rem}
.work .links{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:10px}
.work .links .btn{padding:10px 16px;font-size:.9rem}
.works.c4 .body{padding:16px 18px 18px}.works.c4 h3{font-size:1.02rem}.works.c4 p{font-size:.88rem}
.works.c4 .bar em{display:none}
a.work{text-decoration:none}

/* instrumente încadrate în pagină */
.tool-intro{max-width:820px;margin:0 auto 22px}
.tool-intro p{color:#334155;margin-bottom:12px;font-size:1.02rem}
.tool-box{max-width:1120px;margin:0 auto;padding:10px;border-radius:22px;overflow:hidden}
.tool-frame{display:block;width:100%;min-height:620px;border:0;border-radius:14px;background:#fff}
.tool-box.soft{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(150deg,rgba(0,120,255,.22),rgba(226,232,240,.95) 40%,rgba(34,197,238,.22)) border-box}
.tool-notes{max-width:820px;margin:22px auto 0;display:grid;gap:10px}
.tool-notes p{color:var(--muted);font-size:.9rem;background:var(--soft);border-radius:12px;padding:10px 14px}
.tool-notes b{color:var(--navy)}

/* rând de probleme (reparații) */
.fixes{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:30px}
.fixes .card{padding:22px;text-align:left}
.fixes h3{font-size:1.02rem;margin:12px 0 6px}
.fixes p{color:var(--muted);font-size:.9rem}

@media (max-width:1000px){.works.c4,.fixes{grid-template-columns:1fr 1fr}.hero-scene{width:48%}}
@media (max-width:800px){
  .works,.works.c4,.fixes{grid-template-columns:1fr}
  .hero-web .hero-card{display:block;min-height:0}
  .hero-web .hero-in{padding:30px 22px 8px;max-width:none}
  .hero-scene{position:static;transform:none;width:100%;max-width:420px;margin:0 auto;padding:0 18px 70px}
  .hero-web .hero-card:before{background:radial-gradient(90% 60% at 70% 80%,rgba(34,140,255,.38),rgba(0,0,0,0) 65%),linear-gradient(160deg,#00213f 0%,#003a78 58%,#0a5fc4 100%)}
  .tool-box{padding:6px;border-radius:16px}
}

/* datele firmei (Despre noi) */
.datef p{margin:0 0 12px;display:flex;flex-direction:column;gap:2px}.datef small{color:var(--muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;font-weight:700}.datef b{font-weight:600;color:var(--navy);overflow-wrap:anywhere}
.ocp-linkbtn{background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;text-decoration:underline;text-decoration-color:rgba(230,238,248,.3);text-underline-offset:4px;cursor:pointer}.ocp-linkbtn:hover{text-decoration-color:#22c5ee}

/* Adaosuri doar pentru WordPress (modelul style.css ramane neschimbat) */
.ocp-form-msg{padding:12px 16px;border-radius:12px;margin:0 0 16px;font-weight:600;font-size:.97rem}
.ocp-form-msg.ok{background:#dcfce7;color:#14532d;border:1px solid #86efac}
.ocp-form-msg.err{background:#fee2e2;color:#7f1d1d;border:1px solid #fca5a5}
form.form{position:relative}
.ocp-legal h2{margin-top:26px}.ocp-legal ul{margin:0 0 14px 22px;color:#334155}.ocp-legal li{margin-bottom:6px}
.ocp-legal p,.ocp-legal li{color:#334155}.ocp-legal a{color:#0b5fc7}
.ocp-linkbtn{background:none;border:0;padding:0;margin:0;font:inherit;color:#e6eef8;text-decoration:underline;text-decoration-color:rgba(230,238,248,.3);text-underline-offset:4px;cursor:pointer;transition:.15s}.ocp-linkbtn:hover{color:#fff;text-decoration-color:#22c5ee}

/* bara de administrare WP (doar logat) */
#wpadminbar{z-index:99999}
body.admin-bar header.site{top:32px}
@media(max-width:782px){body.admin-bar header.site{top:46px}}
/* fereastra Google de consimtamant: etichetele lungi in romana pe 2 randuri nu se taie */
.fc-consent-root .fc-button{height:auto!important;min-height:38px;padding:6px 12px!important}
.fc-consent-root .fc-button .fc-button-label{margin:0!important;line-height:1.3!important}

/* lantul de pasi (sistemedesecuritate): componenta .steps din model + marcaj pas curent, navigare, mobil pe verticala */
.chain a.step{display:block;color:inherit;text-decoration:none}
.chain a.step .more{margin-top:12px}
.chain .step.on{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#0078ff,#22c5ee) border-box;border:2px solid transparent;box-shadow:0 14px 34px rgba(0,120,255,.22)}
.chain .chain-now{position:absolute;top:14px;right:14px;font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#0b5fc7;background:#e8f2ff;border-radius:999px;padding:4px 10px}
.chain.compact .step{padding:18px 20px}
.chain.compact .step p{display:none}
.chain.compact .step .n{width:38px;height:38px;border-radius:11px;font-size:1rem;margin-bottom:10px}
.chain.compact .step h3{margin-bottom:0}
.chain-sec{padding-top:34px;padding-bottom:6px}
.chain-sec .eyebrow{margin-bottom:6px}
.chain-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:16px}
.chain-msg{max-width:760px;margin:22px auto 0;color:#334155;font-weight:600}
@media (max-width:1000px){
  .steps.chain{grid-template-columns:1fr;gap:30px}
  .chain .step:not(:last-child):after{content:"";position:absolute;left:49px;bottom:-30px;height:30px;width:2px;background:repeating-linear-gradient(180deg,rgba(0,120,255,.45) 0 5px,transparent 5px 10px)}
  .chain.compact{gap:26px}
  .chain.compact .step:not(:last-child):after{left:39px;bottom:-26px;height:26px}
  .chain-nav .btn{width:100%;text-align:center}
}

/* mega-menu Servicii cu lantul de pasi (sistemedesecuritate): banda sus, grila Sisteme dedesubt */
.dd-menu.mega{width:min(800px,94vw);grid-template-columns:1fr 1fr;gap:4px 8px}
.dd-menu.mega .mchain{grid-column:1/-1;background:linear-gradient(135deg,#e8f2ff,#e0f4fb);border:1px solid #c7defa;border-radius:14px;padding:12px 12px 10px;margin-bottom:6px}
.dd-menu.mega .mc-t,.dd-menu.mega .mg-t{display:block;font-weight:800;font-size:.74rem;letter-spacing:.07em;text-transform:uppercase;color:#0b5fc7}
.dd-menu.mega .mg-t{grid-column:1/-1;margin:6px 4px 2px}
.dd-menu.mega .mc-steps{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.dd-menu.mega .mc-steps li{position:relative;background:#fff;border:1px solid #cfe2fa;border-radius:12px;display:block}
.dd-menu.mega .mc-steps li a{padding:10px 10px 10px 34px;flex-direction:column;gap:6px}
.dd-menu.mega .mc-steps li .ic-sq{width:34px;height:34px}
.dd-menu.mega .mc-n{position:absolute;left:8px;top:10px;width:20px;height:20px;border-radius:7px;background:linear-gradient(135deg,#0078ff,#22a6f0);color:#fff;font-weight:800;font-size:.74rem;display:grid;place-items:center;z-index:1}
.dd-menu.mega .mc-steps li:not(:last-child):after{content:"";position:absolute;right:-16px;top:50%;width:14px;height:14px;margin-top:-7px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230078ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.dd-menu.mega .mc-steps small{display:none}
.dd-menu.mega .mc-note{margin:8px 2px 0;font-size:.8rem;color:#1e3a5f;line-height:1.4}
@media (max-width:1000px){
  .dd-menu.mega{width:auto}
  .dd.open .dd-menu.mega{display:grid;grid-template-columns:1fr}
  .dd-menu.mega .mc-steps{grid-template-columns:1fr;gap:20px}
  .dd-menu.mega .mc-steps li:not(:last-child):after{right:auto;left:50%;top:auto;bottom:-17px;margin:0 0 0 -7px;transform:rotate(90deg)}
  .dd-menu.mega .mc-steps small{display:block}
}

.who.three{grid-template-columns:repeat(3,1fr)}
@media (max-width:1000px){.who.three{grid-template-columns:1fr}}


/* font: plugin-uri de fonturi (ex. Olympus Google Fonts pe sistemedesecuritate) pun inline IBM Plex peste model; modelul ramane pe Plus Jakarta Sans */
body.ocp-v2,body.ocp-v2 #content,body.ocp-v2 footer,body.ocp-v2 h1,body.ocp-v2 h2,body.ocp-v2 h3,body.ocp-v2 h4,body.ocp-v2 h5,body.ocp-v2 h6,body.ocp-v2 p,body.ocp-v2 a,body.ocp-v2 li,body.ocp-v2 label,body.ocp-v2 small,body.ocp-v2 summary,body.ocp-v2 button,body.ocp-v2 input,body.ocp-v2 select,body.ocp-v2 textarea,body.ocp-v2 .elementor-heading-title{font-family:'Plus Jakarta Sans',system-ui,Segoe UI,Roboto,Arial,sans-serif}

/* bara „<- OCP Technology - toate serviciile” pe subsite-uri (cfg hub_link) */
.hubbar{background:#e8f2ff;border-bottom:1px solid #cfe2fa;font-size:.8rem;position:relative;z-index:32}
.hubbar .wrap{display:flex;align-items:center;height:30px}
.hubbar a{color:#0b5fc7;font-weight:700;text-decoration:none;white-space:nowrap}
.hubbar a:hover{text-decoration:underline}

/* sectiunea „Ce facem” pe hub: lantul de 4 carduri cu sageti + bloc „Alte servicii” */
.blk-t{font-size:1.4rem;margin:34px 0 4px;color:var(--navy)}
.blk-s{color:var(--muted);max-width:640px;margin:0 auto}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;margin-top:26px;text-align:left}
.cstep{position:relative;min-width:0}
.chain4 .cstep:not(:last-child):after{content:"";position:absolute;top:92px;right:-23px;width:20px;height:20px;z-index:3;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230078ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.sysrow{margin:20px auto 0;max-width:820px;color:#334155}
.sysrow a{color:#0b5fc7;font-weight:700;text-decoration:none;overflow-wrap:break-word}
.sysrow a:hover{text-decoration:underline}
@media (max-width:1100px){.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.chain4 .cstep:after{display:none}}
@media (max-width:760px){.grid4{grid-template-columns:1fr;gap:36px}.chain4 .cstep:not(:last-child):after{display:block;top:auto;bottom:-31px;right:auto;left:50%;margin-left:-10px;transform:rotate(90deg)}.grid4:not(.chain4){gap:20px}}

.cstep .more{flex-wrap:wrap;row-gap:2px;overflow-wrap:break-word}
.cstep>a.card{height:100%}

/* hub: categorii principale (carduri) cu subcategorii ca linkuri scurte */
.cats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px;text-align:left}
.cats2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px;text-align:left}
.card.cat{display:flex;flex-direction:column;min-width:0;overflow:hidden}
.card.cat .body{display:flex;flex-direction:column;gap:10px;flex:1;padding:22px 24px 24px}
.card.cat h3{font-size:1.3rem}
.card.cat .cat-l{font-size:.74rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#0b5fc7;margin:8px 0 0}
.card.cat .cat-btn{margin-top:auto;align-self:flex-start}
.card.cat .body>p:not(.cat-l){margin:0;color:var(--muted)}
.sublinks{list-style:none;margin:2px 0 6px;display:grid;gap:6px}
.sublinks li{position:relative;padding-left:20px;overflow-wrap:break-word}
.sublinks li:before{content:"";position:absolute;left:2px;top:.55em;width:7px;height:7px;border-radius:50%;background:#0078ff}
.sublinks a{color:var(--navy);font-weight:700;text-decoration:none}
.sublinks a:hover{color:#0b5fc7;text-decoration:underline}
.sublinks ul{list-style:none;margin:4px 0 2px;display:grid;gap:4px}
.sublinks ul li{padding-left:16px}
.sublinks ul li:before{width:5px;height:5px;background:#7ab8ff;top:.65em}
.sublinks ul a{font-weight:600;font-size:.92rem}
.card.cat.row{flex-direction:row}
.card.cat.row .media{flex:0 0 38%;min-height:100%}
@media (max-width:1100px){.cats{grid-template-columns:1fr 1fr}.cats>.cat:first-child{grid-column:1/-1}}
@media (max-width:760px){.cats,.cats2{grid-template-columns:1fr}.card.cat.row{flex-direction:column}.card.cat.row .media{flex:none}}
.card.cat .cat-btn{padding:12px 16px;font-size:.9rem}

@media (max-width:1100px){.cats.r2>.cat:first-child{grid-column:auto}}
