/* Varianta C - identitatea siglei. Antet alb cu sigla color, benzi prun, accent magenta.
   Generata din b.css: aceeasi structura, alt sistem de culoare. */

:root {
  --ink: #14181d;
  --ink-soft: #5b656f;
  --line: #e2e5e9;
  --paper: #ffffff;
  --paper-2: #f5f6f8;
  --dark: #1a1020;
  --dark-2: #241630;
  --accent: #a6197c;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-y: scroll; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  letter-spacing: -.005em;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li + li { margin-top: 6px; }
.inline { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.inline li + li { margin-top: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 0; }

/* antet */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 30; }
.bar { max-width: var(--wrap); margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { text-decoration: none; display: block; margin-right: auto; }
.brand-name { display: block; color: #fff; font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.brand-role { display: block; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 14px;
  background: transparent; border: 1px solid rgba(255,255,255,.28); border-radius: 3px;
  font: inherit; font-size: 14px; color: #fff; cursor: pointer;
}
.nav-toggle-bars { width: 18px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }
.nav { display: none; width: 100%; }
.nav[data-open="true"] { display: block; }
.nav ul { list-style: none; margin: 10px 0 6px; padding: 0; }
.nav a {
  display: block; padding: 12px 2px; text-decoration: none; color: #d8dde3;
  border-bottom: 1px solid rgba(255,255,255,.1); font-size: 16px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }

/* Desene proprii pe benzile inchise.
   Regula: fiecare desen se incadreaza INTREG in banda lui. Ancorat pe toata inaltimea
   benzii si scalat cu `contain`, nu poate fi taiat pe jumatate, cum se intampla cand
   arcada era mai inalta decat banda si se vedeau doar fusurile coloanelor. */
.hero, .page-head, .band-contact, .site-footer { position: relative; overflow: hidden; }
.hero > .wrap, .page-head > .wrap, .band-contact > .wrap,
.site-footer > .foot-grid, .site-footer > .foot-legal { position: relative; z-index: 1; }

.hero::after, .page-head::after, .band-contact::after {
  content: ""; position: absolute; pointer-events: none; background-repeat: no-repeat;
  top: 0; bottom: 0;
}
.hero::after {
  left: 0; right: 0;
  background-image: url("img/art-balanta.svg");
  background-position: right 10px center;
  background-size: auto 100%;
  opacity: .34;
}
/* pe ecrane late intra si o coloana in marginea din stanga, ca sa echilibreze balanta;
   apare doar cand marginea libera de langa coloana de text e destul de lata */
@media (min-width: 1340px) {
  .hero::after {
    background-image: url("img/art-balanta.svg"), url("img/art-coloana.svg");
    background-position: right 10px center, left 14px center;
    background-size: auto 100%, auto 88%;
  }
  /* acelasi echilibru pe capetele de pagina, cu varianta scunda a coloanei */
  .page-head:not(.page-head-slim)::after {
    background-image: url("img/art-emblema.svg"), url("img/art-pilastru.svg");
    background-position: right 28px center, left 18px center;
    background-size: auto 100%, auto 92%;
  }
}
.page-head::after {
  left: 0; right: 0;
  background-image: url("img/art-emblema.svg");
  background-position: right 28px center;
  background-size: auto 100%;
  opacity: .30;
}
/* banda joasa a profilurilor nu are loc pentru desene */
.page-head-slim::after { content: none; }
.band-contact::after {
  left: 0; right: 0;
  background-image: url("img/art-coloane.svg");
  background-size: contain; background-position: center bottom;
  opacity: .20;
}

/* friza meandru pe muchia de jos a fiecarei benzi inchise */
.hero::before, .page-head::before, .band-contact::before, .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; height: 18px; pointer-events: none;
  background: url("img/art-meandru.svg") repeat-x left bottom;
  background-size: auto 18px;
}
.hero::before, .page-head::before, .band-contact::before { bottom: 0; opacity: .32; }
.site-footer::before { top: 0; transform: scaleY(-1); opacity: .30; }
/* pe prima pagina subsolul urmeaza imediat dupa banda de contact: o singura friza, nu doua */
main:has(.band-contact:last-child) + .site-footer::before { content: none; }

/* pe telefon desenele mari ar sta sub text si ar ingreuna citirea; ramane doar friza */
@media (max-width: 720px) {
  .hero::after, .page-head::after, .band-contact::after { content: none; }
}

/* sectiuni */
.hero { background: var(--dark); color: #e7eaee; padding: 56px 0 64px; }
.hero h1 { color: #fff; }
.eyebrow { margin: 0 0 18px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
h1 { font-size: 34px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; margin: 0 0 18px; }
h2 { font-weight: 600; letter-spacing: -.01em; }
.hero .lede { color: #b7bfc8; }
.lede { font-size: 19px; line-height: 1.65; color: var(--ink-soft); max-width: 62ch; margin: 0 0 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 24px; background: var(--accent); color: #12161a; text-decoration: none;
  border: 1px solid var(--accent); border-radius: 3px; font-size: 15px; font-weight: 600;
}
.btn:hover { background: #bf2b90; color: #12161a; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

.band { padding: 52px 0; }
.band-alt { background: var(--paper-2); }
.band-contact { background: var(--dark-2); color: #c8cfd6; }
.band-contact h2 { color: #fff; }
.band-contact .lede { color: #b7bfc8; }
.section-title { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 26px; }

.page-head { background: var(--dark); color: #e7eaee; padding: 40px 0 44px; }
.page-head-slim { padding: 20px 0 18px; }
.page-head-slim .crumbs { margin-bottom: 0; }
.page-head h1 { color: #fff; }
.page-head .lede { color: #b7bfc8; }
.crumbs { font-size: 13px; color: #8d97a2; margin-bottom: 16px; }
.crumbs a { color: #b7bfc8; }
.crumbs span { padding: 0 6px; opacity: .5; }

/* carduri: panouri in degrade grafit, in aceeasi familie cu antetul */
.cards { display: grid; gap: 18px; }
.card {
  display: block; position: relative; overflow: hidden;
  padding: 30px 26px 26px; text-decoration: none; color: #e8ecf1;
  background: linear-gradient(155deg, #2c1c38 0%, #1d1226 55%, #150c1c 100%);
  border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
/* halou cald in coltul din dreapta sus, care se aprinde la trecerea cursorului */
.card::after {
  content: ""; position: absolute; top: -60px; right: -60px; width: 190px; height: 190px;
  background: radial-gradient(circle, rgba(166, 25, 124, .38) 0%, rgba(166, 25, 124, 0) 70%);
  opacity: .7; transition: opacity .2s ease; pointer-events: none;
}
/* bara de accent pe muchia de jos, in degrade */
.card::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #d24fa5 40%, rgba(166, 25, 124, 0) 100%);
  transform: scaleX(.35); transform-origin: left; transition: transform .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  background: linear-gradient(155deg, #372343 0%, #24162e 55%, #190f20 100%);
  box-shadow: inset 0 0 0 1px rgba(166, 25, 124, .35), 0 16px 32px rgba(12, 6, 16, .28);
}
.card:hover::before { transform: scaleX(1); }
.card:hover::after { opacity: 1; }
.card h2, .card h3 { font-size: 20px; font-weight: 600; margin: 0 0 12px; letter-spacing: -.01em; color: #fff; }
.card p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: #aab4bf; }
.more { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
/* insolventa: acelasi panou, dar in nuanta calda, ca sa se vada ca duce in alta parte */
.card-external {
  background: linear-gradient(155deg, #3f1436 0%, #2b0d24 55%, #1d0819 100%);
  box-shadow: inset 0 0 0 1px rgba(210, 79, 165, .28);
}
.card-external::before { transform: scaleX(1); }
.card-external p { color: #d3b6cb; }
.card-external:hover {
  background: linear-gradient(155deg, #4b1840 0%, #33102b 55%, #230b1e 100%);
  box-shadow: inset 0 0 0 1px rgba(210, 79, 165, .5), 0 16px 32px rgba(40, 10, 32, .3);
}
.link-more { font-size: 15px; color: var(--accent); font-weight: 600; }

.two-col { display: grid; gap: 40px; }
.team-mini li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-name { display: block; font-size: 17px; font-weight: 600; }
.mini-role { display: block; font-size: 13px; color: var(--ink-soft); }

/* text */
/* corpul de text aliniat pe ambele margini; despartirea in silabe tine golurile in frau */
/* cardurile raman aliniate la stanga: coloana lor e prea ingusta pentru justify */
.prose p, .press-summary, .lede, .two-col p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.article-grid { display: grid; gap: 34px; }
.prose p { margin: 0 0 18px; max-width: 70ch; }
.prose h2 { font-size: 22px; margin: 34px 0 12px; }
/* listele respecta aceeasi latime de coloana ca paragrafele, altfel ies din cadrul textului */
.prose ul, .prose ol { max-width: 70ch; margin: 0 0 18px; padding-left: 1.3em; }
.prose li { margin: 0 0 9px; }
.prose li::marker { color: var(--accent); }
.prose-page { max-width: 74ch; }
.side { background: var(--paper-2); padding: 24px; border-radius: 4px; }
.side-title { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; }
.ticks li { position: relative; padding: 0 0 10px 22px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border: 2px solid var(--accent); border-radius: 50%; }
.side-cta { margin: 22px 0 0; }
.wrap-list { gap: 8px 18px; font-size: 15px; }

/* stiri si presa */
.press { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.press-item {
  position: relative; padding: 26px 26px 22px; border-radius: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
  box-shadow: 0 0 0 1px var(--line);
}
.press-item::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(166, 25, 124, .15));
}
.press-meta { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 12px; }
.press-source { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.press-rubric { letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.press-date { color: #8b95a0; }
.press-item h2 { font-size: 20px; line-height: 1.35; margin: 0 0 10px; font-weight: 600; }
.press-item h2 a { text-decoration: none; }
.press-item h2 a:hover { color: var(--accent); text-decoration: underline; }
.press-summary { margin: 0 0 14px; font-size: 15px; color: var(--ink-soft); }
.press-foot { margin: 0; font-size: 13px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.press-go { color: var(--accent); font-weight: 600; }
.home-press { display: grid; gap: 14px; }
.home-press a { text-decoration: none; display: block; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.home-press a:hover .home-press-title { color: var(--accent); }
.home-press-meta { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.home-press-title { display: block; font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--ink); }

/* echipa */
/* flex, nu grid: un rand incomplet ramane centrat, indiferent de numarul de fise */
.people { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.person { display: block; text-decoration: none; color: var(--ink); flex: 0 1 100%; }
.person:hover .photo { border-color: var(--accent); }
.photo {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 4 / 5; background: var(--paper-2);
  border: 1px solid var(--line); border-radius: 4px; color: #aab2bb; font-size: 44px; font-weight: 300;
}
img.photo { display: block; object-fit: cover; object-position: center top; }
.person picture, .profile-photo picture { display: block; }
.photo-lg { font-size: 64px; }
.bio-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 170px; margin: 0 0 26px; max-width: 70ch;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; color: #aab2bb;
}
.bio-empty-mark { font-size: 40px; font-weight: 300; line-height: 1; }
.bio-empty-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.person-name { display: block; margin-top: 14px; font-size: 17px; font-weight: 600; }
.person-role { display: block; font-size: 13px; color: var(--ink-soft); }
.profile { display: grid; gap: 30px; }
.profile h1 { color: var(--ink); }
.role { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: -8px 0 20px; font-weight: 600; }

/* formular */
.form .field { margin: 0 0 16px; }
.form label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--ink-soft); }
.form input, .form textarea {
  width: 100%; padding: 12px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 3px;
}
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.field-trap { position: absolute; left: -9999px; }
.opt { color: #97a0a9; }
.note { font-size: 13px; color: var(--ink-soft); }
.contact-block { font-style: normal; margin: 0 0 16px; }

/* subsol */
.site-footer { background: var(--dark); color: #9aa4ae; font-size: 15px; }
.site-footer a { color: #dfe4e9; }
.site-footer a:hover { color: var(--accent); }
.foot-grid { max-width: var(--wrap); margin: 0 auto; padding: 46px 20px 14px; display: grid; gap: 30px; }
.foot-title { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.site-footer address { font-style: normal; }
.foot-bar { margin: 0 0 14px; color: #dfe4e9; }
.foot-legal { max-width: var(--wrap); margin: 0 auto; padding: 18px 20px 36px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 12px; font-size: 14px; }
.copy { margin: 0; color: #6f7a85; }

@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .person { flex: 0 1 calc(50% - 11px); }
  .two-col { grid-template-columns: 1fr 1fr; gap: 52px; }
  h1 { font-size: 44px; }
  .hero { padding: 84px 0 88px; }
  .foot-legal { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav { display: block; width: auto; }
  .nav ul { display: flex; gap: 28px; margin: 0; }
  .nav a { border: 0; padding: 6px 0; font-size: 15px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .person { flex: 0 1 calc(25% - 17px); }
  .article-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 58px; }
  .profile { grid-template-columns: 290px minmax(0, 1fr); gap: 48px; }
  .foot-grid { grid-template-columns: 1.35fr 0.85fr 0.9fr 1.15fr; gap: 40px; }
  h1 { font-size: 52px; }
  .band { padding: 70px 0; }
}


/* ---- antet deschis, pentru sigla in culorile ei ---- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand-name { color: #1a1020; }
.brand-role { color: var(--accent); }
.nav a { color: #3d3448; border-bottom-color: var(--line); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav-toggle { color: #1a1020; border-color: var(--line); }


/* ---- sigla in antet ---- */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: block; }
.brand-mark { display: block; width: auto; height: 42px; }
@media (min-width: 700px) { .brand-mark { height: 52px; } }

/* text alb pe butonul magenta: contrastul cu inchis nu e suficient */
.btn { color: #fff; }
.btn:hover { color: #fff; }

/* ---- caseta de eroare a formularului ---- */
.form-eroare {
  margin: 0 0 16px; padding: 12px 14px; border-radius: 4px; font-size: 14px;
  background: #fdecef; color: #7a1024; box-shadow: inset 0 0 0 1px #f3c6cf;
}

/* ---- eticheta fiecarei adrese (sediu profesional / punct de lucru) ---- */
.addr-label {
  display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px;
}
.site-footer address + address { margin-top: 14px; }
.contact-block + .contact-block { margin-top: 4px; }

/* ---- comutatorul de limba, in antet ---- */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; min-height: 34px; padding: 0 10px; margin-left: 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-decoration: none;
  color: var(--accent); border: 1px solid var(--line); border-radius: 3px;
}
.lang-switch:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
@media (max-width: 979px) { .lang-switch { order: 2; margin-left: 0; } }

/* ---- adaugiri pentru site-ul insolvcab ---- */
.about-sub { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 12px; }
.about-sub + p { margin-top: 0; }
.two-col h3.about-sub:not(:first-child) { margin-top: 26px; }

.founder { margin: 0; }
.founder img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--line); }
.founder figcaption { margin-top: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

.cards-principles { margin-top: 26px; }
.cards-principles .card { padding: 24px 22px 20px; }
.cards-principles .card p { margin: 0; }

.stats { display: grid; gap: 22px; align-content: center; height: 100%; }
.stat-value { display: block; font-size: 44px; font-weight: 600; letter-spacing: -.02em; color: var(--accent); line-height: 1.1; }
.stat-label { display: block; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, 1fr); text-align: center; } }

.card-static { cursor: default; }
.card-static:hover { transform: none; }
.cards-why .card p { margin-bottom: 0; }

.schedule { max-width: 420px; }
.schedule li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.sch-day { font-weight: 600; }
.sch-hours { color: var(--ink-soft); }

/* fotografia din sectiunea principiilor: coloana din dreapta introducerii */
.principles-intro { align-items: center; }
.photo-band { margin: 0; }
.photo-band img { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; border-radius: 6px; border: 1px solid var(--line); }

/* selecturile formularului de contact, in acelasi stil cu inputurile */
.form select {
  width: 100%; padding: 12px; font: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 3px;
}
.form select:focus { border-color: var(--accent); }
