/*
 * Antetul și footerul site-ului contconsulting.ro – copie vizuală (citit la 29.11.2026, în română și în engleză).
 * Valorile sunt cele din tema Avada a site-ului și din regulile „cc-” ale lui. Clasele au prefixul cs-, ca să nu se
 * amestece cu tp.css. Se încarcă după tp.css, care declară fonturile Montserrat și Oswald.
 * Pe site, Montserrat 500 și Oswald 500 apar ca 400 (site-ul încarcă doar grosimile 400, 600 și 700 / 400),
 * iar 800 apare ca 700; aici se scriu direct grosimile afișate.
 * Telefon și tabletă: până la 800 px lățime, ca pe site.
 */
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("pt-sans-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("pt-sans-latin.woff2") format("woff2");
  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; }

.cs-rand { max-width: 1100px; margin: 0 auto; }
.cs-ic { display: block; }
.cs-ascuns { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cs-sari { position: absolute; left: -9999px; top: 0; z-index: 100001; padding: 8px 12px; background: #fff; color: #12283a; font: 600 15px Montserrat, Arial, Helvetica, sans-serif; }
.cs-sari:focus { left: 8px; top: 8px; }

/* ---------- bara de sus ---------- */
.cs-bara-sus { padding: 0 30px; background: #12283a; color: #fff; font-family: Montserrat, Arial, Helvetica, sans-serif; font-size: 15px; font-weight: 400; line-height: 24px; }
.cs-bara-sus .cs-rand { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.cs-bara-sus a, .cs-bara-sus a:visited, .cs-bara-sus a:hover { color: #fff; text-decoration: none; }
.cs-bara-sus a:hover { opacity: .85; }
.cs-contact { line-height: 44px; white-space: nowrap; }
.cs-sep { padding: 0 6px; }
.cs-mail .cs-plic { display: none; }
.cs-social { padding-top: 3px; }
.cs-social-in { display: flex; align-items: center; }
.cs-social a { display: block; height: 16px; margin-left: 20px; }
.cs-social a:first-child { margin-left: 0; }
.cs-pin img { display: block; filter: brightness(0) invert(1); }

/* ---------- antetul alb ---------- */
.cs-antet-loc { position: relative; z-index: 100; }
/* Pe calculator, când meniul nu încape lângă logo (ferestre înguste, tabletă, telefon ținut orizontal), trece pe rândul al doilea,
   aliniat la dreapta, ca pe site (antetul are atunci 216 px). */
.cs-antet { position: relative; padding: 0 30px; background: #fff; font-family: Montserrat, Arial, Helvetica, sans-serif; }
.cs-antet > .cs-rand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 108px; }
.cs-logo { display: block; flex: 0 0 auto; margin: -4px 0 4px; line-height: 0; }
.cs-logo img { display: block; width: 200px; height: 108px; }
.cs-antet details { margin: 0; }
.cs-antet summary { display: block; list-style: none; cursor: pointer; font-weight: inherit; color: inherit; }
.cs-antet summary::-webkit-details-marker { display: none; }
.cs-antet summary::marker { content: ""; }

/* meniul de pe calculator */
.cs-meniu { position: relative; align-self: stretch; margin-left: auto; max-width: 100%; }
.cs-meniu > ul { display: flex; flex-wrap: wrap; height: 100%; margin: 0; padding: 0; list-style: none; }
.cs-meniu > ul > li { display: flex; padding-right: 25px; }
.cs-meniu > ul > li.cs-cauta-li { padding-right: 0; }
.cs-meniu > ul > li > a { display: flex; align-items: center; box-sizing: border-box; height: 108px; border-top: 3px solid transparent; color: #12283a; font-size: 17px; font-weight: 600; line-height: 17px; text-decoration: none; white-space: nowrap; transition: color .2s linear, border-color .2s linear, background-color .2s linear; }
.cs-meniu > ul > li > a:hover, .cs-meniu > ul > li > a:focus-visible { color: #1a73a8; border-top-color: #1a73a8; }
.cs-meniu > ul > li.cs-limba > a { font-size: 15px; line-height: 15px; color: #1a73a8; }
.cs-limba .cs-l-b { font-weight: 700; }
.cs-limba .cs-l-n { font-weight: 400; }
.cs-meniu > ul > li.cs-prog > a { height: auto; align-self: center; border: 0; padding: 13px 22px; border-radius: 6px; background: #1a73a8; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.2; }
.cs-meniu > ul > li.cs-prog > a:hover, .cs-meniu > ul > li.cs-prog > a:focus-visible { background: #12283a; color: #fff; }

/* meniul mare Servicii (la mouse și la focus, ca pe site) */
.cs-mm { position: absolute; top: 100%; right: 0; z-index: 99999; display: flex; width: 980px; max-width: calc(100vw - 40px); overflow: hidden; background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(18, 40, 58, .18); text-align: left; line-height: 1.5; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.cs-are-mm:hover > .cs-mm, .cs-are-mm:focus-within > .cs-mm { opacity: 1; visibility: visible; transform: none; }
.cs-mm-st { flex: 0 0 290px; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; padding: 28px 26px; background: #fff; color: #222; border-right: 1px solid #e2e8ee; }
.cs-mm-t { font-family: Oswald, Arial, sans-serif; font-size: 28px; line-height: 1.15; font-weight: 400; color: #12283a; }
.cs-mm-d { font-size: 14px; line-height: 1.55; font-weight: 400; color: #333; }
.cs-mm a { text-decoration: none; }
.cs-mm a.cs-mm-btn, .cs-mm a.cs-mm-btn:visited { display: block; margin-top: 6px; padding: 12px 16px; border-radius: 6px; background: #1a73a8; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; transition: background-color .2s linear; }
.cs-mm a.cs-mm-btn:hover { background: #12283a; color: #fff; }
.cs-mm a.cs-mm-all, .cs-mm a.cs-mm-all:visited { display: block; padding: 0; color: #1a73a8; font-size: 14px; font-weight: 600; line-height: 1.3; text-align: center; }
.cs-mm a.cs-mm-all:hover { color: #12283a; }
.cs-mm-lista { flex: 1 1 auto; box-sizing: border-box; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 28px; align-content: start; padding: 24px 28px; }
.cs-mm a.cs-mm-it { display: flex; flex-direction: column; gap: 2px; padding: 11px 0 11px 14px; border-left: 3px solid #e2e8ee; line-height: 1.35; transition: border-color .15s, background .15s; }
.cs-mm a.cs-mm-it.cs-mm-inf { border-left-color: #1a73a8; }
.cs-mm a.cs-mm-it:hover { border-left-color: #1a73a8; background: #f4f8fb; }
.cs-mm-it-t { font-size: 15px; font-weight: 600; color: #12283a; }
.cs-mm-it-d { font-size: 13px; font-weight: 400; color: #555; }
.cs-mm a.cs-mm-it:hover .cs-mm-it-t { color: #1a73a8; }

/* căutarea: lupa deschide un câmp peste meniu, ca pe site */
.cs-cauta > summary { display: flex; align-items: center; height: 108px; color: #12283a; transition: color .2s linear; }
.cs-cauta > summary:hover { color: #1a73a8; }
.cs-cauta .cs-x { display: none; }
/* deschisă: lupa își păstrează locul (meniul nu se mișcă), × stă la marginea dreaptă a meniului, la mijloc, ca pe site */
.cs-cauta[open] > summary { color: #1a73a8; }
.cs-cauta[open] .cs-lupa { visibility: hidden; }
.cs-cauta[open] .cs-x { display: block; position: absolute; top: 50%; right: 0; z-index: 6; margin-top: -6.5px; }
.cs-cauta-form { position: absolute; top: 0; bottom: 0; left: 0; right: 24.6px; z-index: 5; display: flex; align-items: center; margin: 0; background: #fff; }
.cs-cauta-form input { flex: 1; min-width: 0; height: 29px; box-sizing: border-box; margin: 0; padding: 0 0 0 15px; border: 1px solid #d2d2d2; border-radius: 0; background: #fff; color: #aaa9a9; font: 400 13px Montserrat, Arial, Helvetica, sans-serif; -webkit-appearance: none; appearance: none; }
.cs-cauta-form input:focus { outline: none; }
.cs-cauta-form input::placeholder { color: #aaa9a9; opacity: 1; }
.cs-cauta-form input::-webkit-search-cancel-button { -webkit-appearance: none; }
.cs-cauta-form button, .cs-cauta-form button:hover { display: flex; align-items: center; justify-content: center; flex: 0 0 29px; width: 29px; height: 29px; margin: 0; padding: 0; border: 0; border-radius: 0; background: #000; color: #fff; cursor: pointer; }

/* partea de telefon a antetului (ascunsă pe calculator) */
.cs-limba-mobil, .cs-burger { display: none; }

/* ---------- footerul ---------- */
/* Ca pe site: ce iese dintr-o coloană (ex. adresa de e-mail în ferestre de 801–850 px) se taie, pagina nu se lărgește. */
.cs-subsol { margin: 0; padding: 0; border: 0; overflow-x: hidden; overflow-x: clip; font-family: Montserrat, Arial, Helvetica, sans-serif; }
.cs-subsol-sus { padding: 43px 30px 40px; background: #363839 url("site-fundal-subsol.webp") 50% 50% / cover no-repeat; color: #d5dde3; font-size: 15px; line-height: 24px; }
.cs-coloane { display: flex; align-items: flex-start; margin: 0 -15px; }
.cs-col { box-sizing: border-box; width: 25%; padding: 0 15px 20px; }
.cs-subsol strong { font-weight: 400; }
.cs-subsol p { margin: 0; }
.cs-subsol p.cs-titlu { margin: 15px 0; color: #56b3e1; font-size: 15px; }
.cs-subsol p.cs-titlu strong { font-weight: 700; }
.cs-l { font-size: 15px; line-height: 30px; }
.cs-subsol a, .cs-subsol a:visited { color: #fff; text-decoration: none; }
.cs-subsol a:hover { color: #56b3e1; }
.cs-subsol p.cs-program { margin: 0 0 18px; color: #fff; font-size: 15px; }
.cs-netopia { box-sizing: border-box; height: 120px; padding-top: 20px; }
.cs-netopia img { display: block; width: 150px; height: auto; }
.cs-contact-jos { font-size: 15px; line-height: 30px; }
.cs-social-jos { display: flex; gap: 14.9px; padding: 25px 0 14px; }
.cs-social-jos a, .cs-social-jos a:visited { display: block; color: #e6e6e6; }
.cs-subsol-jos { padding: 18px 30px 16px; border-top: 1px solid #1a73a8; background: #191f24; color: #fff; font-size: 13px; line-height: 20.8px; letter-spacing: .5px; }
.cs-bara-mobil { display: none; }

/* ---------- calculator: antetul rămâne lipit sus la derulare ---------- */
/* Locul antetului rămâne ocupat (înălțimea o pune site.js), ca pagina să nu sară. */
@media (min-width: 801px) {
  .cs-lipit .cs-antet { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; box-shadow: rgba(0, 0, 0, .118) 0 1px 3px 0; }
}
/* Tabletă (ecran între 768 și 1024 px): pe site antetul nu se lipește sus, iar lupa are 25 px în dreapta. */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .cs-lipit .cs-antet { position: relative; box-shadow: none; }
  .cs-meniu > ul > li.cs-cauta-li { padding-right: 25px; }
}

/* ---------- telefon și tabletă (până la 800 px) ---------- */
@media (max-width: 800px) {
  .cs-bara-sus { padding: 0; }
  .cs-bara-sus .cs-rand { height: 38px; gap: 12px; padding: 0 12px; }
  .cs-contact { display: flex; align-items: center; flex-grow: 1; gap: 14px; line-height: 38px; }
  .cs-tel { font-weight: 600; }
  .cs-sep, .cs-mail-text { display: none; }
  .cs-mail .cs-plic { display: block; position: relative; top: 1.1px; }
  .cs-social { flex-grow: 1; align-self: flex-start; display: flex; justify-content: center; margin-top: 10px; padding-top: 0; }
  .cs-social-in { align-items: flex-start; margin: 0 -10px; }
  .cs-social a, .cs-social a:first-child { margin: 0 20px 0 10px; }

  .cs-antet { padding: 20px 30px; overflow: hidden; }
  .cs-antet > .cs-rand { flex-wrap: nowrap; min-height: 0; justify-content: flex-start; align-items: flex-start; }
  .cs-logo { margin: 0; }
  .cs-logo img { width: 150px; height: 81px; }
  .cs-meniu { display: none; }
  .cs-limba-mobil { display: flex; align-items: center; gap: 6px; margin: 38px 16px 0 0; color: #12283a; font-size: 15px; line-height: 24px; }
  .cs-limba-mobil a, .cs-limba-mobil a:visited, .cs-limba-mobil a:hover { margin-left: 20px; color: #12283a; font-weight: 400; text-decoration: none; }
  .cs-limba-mobil a.cs-activ { font-weight: 700; }

  .cs-antet .cs-burger { display: block; margin: 0 -30px; }
  .cs-burger > summary { position: absolute; top: 55px; left: 318.3px; width: 30px; height: 30px; color: #12283a; }
  .cs-meniu-mobil { padding-top: 20px; }
  .cs-meniu-mobil ul { margin: 0; padding: 0; list-style: none; }
  .cs-meniu-mobil > ul { border-top: 1px solid #fff; }
  .cs-meniu-mobil li { position: relative; }
  .cs-meniu-mobil a, .cs-meniu-mobil a:visited { display: flex; align-items: center; box-sizing: border-box; height: 35px; padding: 0 12px 0 30px; border-bottom: 1px solid #fff; background: #f9f9f9; color: #333; font: 400 14px/35px "PT Sans", Arial, Helvetica, sans-serif; text-decoration: none; }
  .cs-meniu-mobil a:hover { background: #f6f6f6; color: #333; }
  .cs-sub > summary { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 55px; height: 35px; color: #333; }
  .cs-meniu-mobil .cs-sub ul a { padding-left: 39px; }
  .cs-meniu-mobil .cs-sub ul a::before { content: "-"; margin-right: 2px; color: #333; }
  .cs-meniu-mobil .cs-sub li.cs-mm-inf > a { background: #12283a; color: #fff; }
  .cs-steag img { display: block; width: 18px; height: 12px; }
  .cs-meniu-mobil .cs-prog-m > a, .cs-meniu-mobil .cs-prog-m > a:hover { background: #1a73a8; color: #fff; font-weight: 700; }

  .cs-coloane { display: block; }
  .cs-col { width: auto; margin-bottom: 50px; }
  .cs-subsol-sus { padding-bottom: 40px; }
  .cs-copy { text-align: center; }

  .cs-bara-mobil { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px; background: #fff; border-top: 1px solid #d5dde3; box-shadow: 0 -4px 12px rgba(18, 40, 58, .12); font-family: Montserrat, Arial, Helvetica, sans-serif; }
  .cs-bara-mobil a { display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: 46px; border-radius: 6px; font-size: 16px; font-weight: 700; text-decoration: none; }
  .cs-bara-mobil .cs-bm-tel, .cs-bara-mobil .cs-bm-tel:hover, .cs-bara-mobil .cs-bm-tel:visited { border: 2px solid #1a73a8; color: #1a73a8; }
  .cs-bara-mobil .cs-bm-prog, .cs-bara-mobil .cs-bm-prog:hover, .cs-bara-mobil .cs-bm-prog:visited { background: #1a73a8; color: #fff; }
  body { padding-bottom: 72px; }
}
/* tabletă în poziție verticală (768–1024 px): footerul pe două coloane, ca pe site */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .cs-coloane { display: grid; grid-template-columns: 1fr 1fr; row-gap: 50px; align-items: start; }
  .cs-col { margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-mm, .cs-meniu > ul > li > a, .cs-cauta > summary { transition: none; }
}
