/* ==========================================================================
   Stil comun pentru tot site-ul.
   Paleta este cea a mărcii CivilAsist.ro: albastru pe fundal alb-rece,
   secțiuni alternate cu bleu foarte deschis, carduri albe cu colțuri rotunjite.
   Pentru altă culoare de brand, schimbă --accent și --accent-dark.
   ========================================================================== */

:root {
  /* Paleta preluata de la uzinex.ro: neutre curate, fara tenta albastra,
     cu doua accente — portocaliu si albastru. Albastrul lor, #1e6bb8, e
     aproape identic cu cel al emblemei noastre, deci ramane accentul
     principal; portocaliul lucreaza ca accent secundar. */

  --brand:         #1e6bb8;   /* albastrul marcii */
  --brand-dark:    #14315e;   /* discul interior al emblemei */
  --brand-light:   #6aa9e0;   /* pentru text pe fundal inchis */

  --accent:        #1e6bb8;
  --accent-dark:   #175690;
  --accent-soft:   #e8f0f9;
  --accent-2:      #f5851f;   /* portocaliul, pentru accente mici */
  --accent-2-dark: #ab5d15;  /* portocaliul inchis cat sa fie lizibil:
                                4.87 pe alb, 4.55 pe fundalul alternat */

  --text:          #0e0e12;   /* negru-cenusiu, nu albastrui */
  --text-muted:    #5f5f6b;
  --text-light:    #8a8a95;
  --bg:            #ffffff;
  --bg-alt:        #f7f7f8;
  --bg-deep:       #0e0e12;   /* subsolul, aproape negru */
  --border:        #eeeef0;
  --header:        #0e0e12;   /* bara de navigatie */

  --radius:  8px;
  --shadow:  0 2px 10px rgba(0,0,0,.07);
  --maxw:    1140px;
  --font:       Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-titlu: "Space Grotesk", Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo-text {
  font-family: var(--font-titlu);
  line-height: 1.18; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 .55em;
}
h3 { letter-spacing: -0.02em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.85rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.08rem; }
p  { margin: 0 0 1em; }

a { color: var(--accent-dark); text-underline-offset: 2px; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* --- Contactul rapid, în bara cu meniul --------------------------------- */

.masthead-contact { display: flex; align-items: center; gap: 14px; }
.masthead-contact .loc {
  color: rgba(255,255,255,.72); font-size: .8rem; font-weight: 500; white-space: nowrap;
}
.contact-icoane { display: flex; gap: 8px; }
.contact-icoane a {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.contact-icoane a:hover { background: var(--accent-2); color: #0e0e12; }
.contact-icoane svg { width: 15px; height: 15px; fill: currentColor; display: block; }

/* Pe ecrane înguste, judetele dispar — sunt oricum in subsol si la contact */
@media (max-width: 900px) { .masthead-contact .loc { display: none; } }
@media (max-width: 720px) {
  .masthead .wrap { row-gap: 10px; }
  .masthead-contact { margin-left: auto; }
}

/* --- Bara bleumarin cu logo și navigație -------------------------------- */

.masthead { background: var(--header); position: sticky; top: 0; z-index: 60; }
.masthead .wrap {
  display: flex; align-items: center; gap: 20px;
  min-height: 74px; flex-wrap: wrap;
}

.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; margin-right: auto; }
/* Emblema CivilAsist.ro — cască de protecție în disc bleumarin, inel albastru */
.logo-badge {
  width: 52px; height: 52px; flex: 0 0 52px; display: block; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='32' fill='%231f6fc4'/%3E%3Ccircle cx='32' cy='32' r='26' fill='none' stroke='%23ffffff' stroke-width='3'/%3E%3Ccircle cx='32' cy='32' r='22' fill='%2314315e'/%3E%3Cg fill='%23ffffff'%3E%3Crect x='29' y='17' width='6' height='8' rx='2'/%3E%3Cpath d='M19 40v-5a13 13 0 0 1 26 0v5z'/%3E%3Crect x='14' y='42' width='36' height='6' rx='3'/%3E%3C/g%3E%3C/svg%3E") center/100% no-repeat;
}
.logo-text { color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.logo-text .dot-ro { color: var(--brand-light); }
.logo-text small {
  display: block; font-weight: 400; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.85);
}

.mainnav { display: flex; gap: 22px; flex-wrap: wrap; }
.mainnav a {
  color: #fff; text-decoration: none; font-size: .93rem; font-weight: 500;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.mainnav a:hover { color: #fff; border-bottom-color: var(--accent); }

@media (max-width: 720px) {
  .masthead .wrap { min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .mainnav { gap: 14px; width: 100%; }
  .mainnav a { font-size: .87rem; }
}

/* --- Butoane ------------------------------------------------------------- */

.btn {
  display: inline-block; padding: 14px 34px; border-radius: 4px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; font-size: .95rem; letter-spacing: .05em; text-transform: uppercase;
  border: 2px solid var(--accent); cursor: pointer; transition: background .15s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--accent-dark); }
.btn.ghost:hover { background: var(--accent-soft); }

/* --- Secțiuni ------------------------------------------------------------ */

section { padding: 66px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { margin-bottom: .35em; }
.section-title p { color: var(--text-muted); max-width: 62ch; margin: 0 auto; }

.lead { font-size: 1.08rem; color: var(--text-muted); max-width: 64ch; }
.eyebrow {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent-dark); font-weight: 700; margin-bottom: 10px;
}

/* --- Hero ---------------------------------------------------------------- */

.hero { padding: 48px 0 66px; }
.hero .wrap {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center;
}
.hero h1 { margin-bottom: .5em; }
.hero p { color: var(--text-muted); font-size: 1.08rem; }
.hero .btn { margin-top: 14px; }

.hero-art { width: 100%; }
.hero-art svg { width: 100%; height: auto; display: block; }
/* Fotografia din antet e verticala si inalta. O aratam intreaga, dar cu
   inaltimea limitata, ca sa nu covarseasca textul de alaturi. */
.hero-art img {
  width: auto; max-width: 100%; max-height: 600px;
  height: auto; display: block; margin: 0 auto;
  border-radius: var(--radius);
}
@media (max-width: 860px) { .hero-art img { max-height: 440px; } }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { order: -1; }   /* pe telefon, ilustrația trece deasupra textului */
}

/* --- Grile --------------------------------------------------------------- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }

/* --- Carduri de serviciu, cu pictogramă ---------------------------------- */

.svc {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 24px; text-align: center; text-decoration: none;
  display: flex; flex-direction: column; align-items: center;
  color: var(--text); transition: transform .15s ease, box-shadow .15s ease;
}
.svc:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.11); color: var(--text); }
/* Ilustratia sau fotografia cardului sta intr-o caseta de inaltime fixa, ca
   randurile grilei sa se alinieze indiferent de proportiile pozei. */
.svc svg, .svc img {
  width: 100%; max-width: 220px; height: 148px;
  display: block; margin-bottom: 14px;
}
/* "contain", nu "cover": fotografiile au proportii foarte diferite, de la
   patrat la panoramic, si niciuna nu trebuie taiata. */
.svc img { object-fit: contain; }
.svc h3 { margin-bottom: .45em; }
.svc p { font-size: .93rem; color: var(--text-muted); margin-bottom: 1em; }
.svc .go { margin-top: auto; margin-bottom: 0; color: var(--accent-2-dark); font-weight: 700; font-size: .87rem; text-transform: uppercase; letter-spacing: .05em; }
.svc .tag {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-dark);
  background: var(--accent-soft); padding: 3px 10px; border-radius: 20px; margin-bottom: 14px;
}

/* --- Card simplu --------------------------------------------------------- */

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }

/* --- Calificări ---------------------------------------------------------- */

.quals { list-style: none; padding: 0; margin: 0; }
.quals li {
  display: grid; grid-template-columns: 88px 1fr; gap: 20px;
  padding: 17px 0; border-bottom: 1px solid var(--border);
}
.quals li:last-child { border-bottom: 0; }
.quals .year { color: var(--accent); font-weight: 700; font-size: .95rem; }
.quals .title { font-weight: 700; }
.quals .issuer { color: var(--text-muted); font-size: .91rem; }

@media (max-width: 560px) {
  .quals li { grid-template-columns: 1fr; gap: 3px; }
}

/* --- Portofoliu ---------------------------------------------------------- */

.project { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.project .thumb {
  aspect-ratio: 4 / 3; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: .84rem; text-align: center; padding: 12px;
}
.project .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project .body { padding: 18px 22px 22px; }
.project h3 { margin-bottom: .25em; }
.project .meta { font-size: .86rem; color: var(--text-light); }

/* --- Banda de callback --------------------------------------------------- */

.callback { background: var(--bg-alt); padding: 52px 0; text-align: center; }
.callback h2 { color: var(--accent); margin-bottom: .8em; }
.callback form {
  display: flex; gap: 12px; max-width: 620px; margin: 0 auto; flex-wrap: wrap;
  justify-content: center;
}
.callback input { flex: 1 1 300px; }
.callback .btn { flex: 0 0 auto; }

/* --- Formulare ----------------------------------------------------------- */

form { display: grid; gap: 15px; max-width: 540px; }
label { font-size: .88rem; font-weight: 700; display: block; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 13px 15px; font: inherit; font-size: .96rem;
  color: var(--text); background: #fff;
  border: 1px solid var(--border); border-radius: 4px;
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--text-light); }

/* --- Contact ------------------------------------------------------------- */

.contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .label { display: inline-block; min-width: 96px; color: var(--text-light); font-size: .89rem; }

/* --- Footer -------------------------------------------------------------- */

footer { background: var(--bg-deep); color: #d9dcde; padding: 50px 0 34px; font-size: .93rem; }
footer a { color: #d9dcde; text-decoration: none; }
footer a:hover { color: var(--accent); }
footer .cols { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
footer h4 { margin: 0 0 14px; font-size: 1rem; color: #fff; font-weight: 700; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { padding: 4px 0; }
footer .legal {
  margin-top: 34px; padding-top: 20px; border-top: 1px solid #2a4162;
  color: #8d9497; font-size: .85rem;
}

/* --- Pagini de serviciu -------------------------------------------------- */

/* --- Antet de pagină cu ilustrație (folosit pe paginile de serviciu) ----- */

.page-hero { padding: 42px 0 32px; }
.page-hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.page-hero h1 { text-transform: uppercase; margin-bottom: .25em; }
.page-hero .art { justify-self: center; }
.page-hero .art svg { width: 100%; height: auto; display: block; }
.page-hero .art img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .page-hero .wrap { grid-template-columns: 1fr; gap: 22px; }
  .page-hero .art { order: -1; }
}

/* --- Bandă de îndemn ----------------------------------------------------- */

.cta-strip { background: var(--bg-alt); }
.cta-strip .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap;
}
.cta-strip p { margin: 0; font-weight: 700; font-size: 1.05rem; }

/* --- Coloane cu listă și antet colorat ----------------------------------- */

.listcol {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.listcol h3 {
  background: var(--accent); color: #fff; margin: 0; padding: 17px 22px;
  font-size: .98rem; text-transform: uppercase; letter-spacing: .04em; text-align: center;
}
.listcol ul { list-style: disc; margin: 0; padding: 24px 26px 26px 44px; }
.listcol li { margin-bottom: .55em; }
.listcol li:last-child { margin-bottom: 0; }

.footnote { font-size: .82rem; color: var(--text-light); margin-top: 30px; line-height: 1.55; }

.page-head { padding: 48px 0 36px; background: var(--bg-alt); }

/* Antet cu fotografie: text la stanga, imaginea la dreapta */
.page-head.cu-foto .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
}
.page-head.cu-foto .foto { justify-self: center; }
.page-head.cu-foto .foto img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.page-head.cu-foto .lead { margin-bottom: 0; }
@media (max-width: 860px) {
  .page-head.cu-foto .wrap { grid-template-columns: 1fr; gap: 24px; }
  .page-head.cu-foto .foto { order: -1; }
}
.breadcrumb { font-size: .85rem; color: var(--text-light); margin-bottom: 14px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent); }

.prose { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose h2 { margin-top: 1.9em; }

.callout {
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  padding: 18px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 30px 0;
}
.callout p:last-child { margin-bottom: 0; }

/* --- Galerie de lucrări: imagini late, cu legendă dedesubt --------------- */

.galerie {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px; margin: 0 0 1.6em;
}
.galerie figure { margin: 0; }
.galerie img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.galerie figcaption {
  margin-top: 9px; font-size: .87rem; line-height: 1.5; color: var(--text-muted);
}

/* --- Figură singulară, mai îngustă decât coloana de text ---------------- */

.figura { margin: 0 0 1.6em; max-width: 400px; }
.figura img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.figura figcaption {
  margin-top: 9px; font-size: .87rem; line-height: 1.5; color: var(--text-muted);
}

/* --- Carduri de contact, cu dungă colorată sus ------------------------- */

.carduri-contact {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 18px; margin-bottom: 38px;
}
.card-contact {
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--accent-2);
  border-radius: var(--radius); padding: 19px 22px 21px;
}
.card-contact .eticheta {
  font-size: .71rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-light); margin: 0 0 9px;
}
.card-contact .valoare {
  display: block; font-size: 1.1rem; font-weight: 700; color: var(--text);
  text-decoration: none; margin-bottom: 6px; word-break: break-word;
}
a.valoare:hover { color: var(--accent); }
.card-contact .nota { font-size: .83rem; line-height: 1.5; color: var(--text-muted); margin: 0; }

/* --- Formularul de contact ---------------------------------------------- */

.formular {
  max-width: none; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px;
  gap: 20px;
}
.formular .randuri { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.formular .camp { min-width: 0; }
.formular .oblig { color: var(--accent-2); }
.formular ::placeholder { color: var(--text-light); opacity: .75; }

/* Bifa de acord: caseta si textul pe acelasi rand, aliniate sus */
.acord {
  display: flex; align-items: flex-start; gap: 11px;
  font-weight: 400; font-size: .9rem; line-height: 1.55; color: var(--text-muted);
  cursor: pointer;
}
.acord input { width: auto; flex: 0 0 auto; margin-top: 3px; }

@media (max-width: 640px) {
  .formular { padding: 22px 18px; }
  .formular .randuri { grid-template-columns: 1fr; }
}

/* Datele de identificare ale societatii, cerute de Legea 31/1990 si
   Legea 365/2002. Stau discret, in subsol, pe toate paginile. */
.identificare { display: inline-block; margin-top: 7px; font-size: .78rem; opacity: .72; }

/* --- Carduri cu întrebare și răspuns ------------------------------------ */

/* Întrebarea e capul cardului, deci se citește ca o frază, nu ca un titlu
   de rubrică: aliniată la stânga, cu rândurile apropiate. */
.svc.intrebare { text-align: left; align-items: stretch; }
.svc.intrebare h3 {
  font-size: 1.14rem; line-height: 1.3; margin-bottom: .6em;
}
.svc.intrebare p { text-align: left; }
.svc.intrebare .tag { align-self: flex-start; }
.svc.intrebare .go { align-self: flex-start; }

/* Termenul care conteaza din raspuns iese in fata */
.svc.intrebare p strong { color: var(--accent-2-dark); font-weight: 700; }
.ghiduri-fierbinti .svc.intrebare p strong { color: var(--accent-2); }

/* --- Căutare -------------------------------------------------------------- */

/* Etichetă doar pentru cititoarele de ecran */
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.cautare { position: relative; max-width: 620px; margin: 0 auto 4px; }
/* Caseta stă pe fundalul aproape negru al benzii. Închisă pe închis nu se
   vedea deloc, deci e albă, cu chenar portocaliu: se citește de la distanță
   ca un loc unde se scrie. */
.cautare input {
  width: 100%; padding: 15px 22px; font-size: 1rem;
  border-radius: 999px; border: 2px solid var(--accent-2);
  background: #fff; color: var(--text);
  box-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.cautare input::placeholder { color: var(--text-muted); }
.cautare input:focus {
  outline: none; border-color: var(--accent-2-dark);
  box-shadow: 0 0 0 4px rgba(245,133,31,.35), 0 2px 14px rgba(0,0,0,.35);
}

.rezultate {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 8px);
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(0,0,0,.28); overflow: hidden; text-align: left;
}
.rezultate a {
  display: block; padding: 12px 18px; text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.rezultate a:last-child { border-bottom: 0; }
.rezultate a:hover, .rezultate a:focus-visible {
  background: var(--bg-alt); outline: none;
}
.rezultate .ce   { display: block; color: var(--text); font-weight: 500; line-height: 1.4; }
.rezultate .unde { display: block; color: var(--text-light); font-size: .8rem; margin-top: 3px; }
.rezultate .nimic { margin: 0; padding: 16px 18px; color: var(--text-muted); font-size: .92rem; }
.rezultate .nimic em { color: var(--accent-2-dark); font-style: normal; font-weight: 700; }

/* Pe pagina cu răspunsuri, caseta stă singură pe fundal închis */
.cautare-mare { background: var(--bg-deep); padding: 34px 0 38px; }

/* --- Bandă cu întrebări, care se derulează singură ---------------------- */

.banda-intrebari {
  background: var(--bg-deep); color: #fff; padding: 62px 0 58px; overflow: hidden;
}
.banda-intrebari h2 { color: #fff; margin-bottom: .3em; }
.banda-intrebari .eyebrow { color: var(--accent-2); }
.banda-intrebari .subtitlu { color: #b8b8c0; max-width: 62ch; margin-bottom: 0; }
.banda-intrebari .wrap { text-align: center; }
.banda-intrebari .subtitlu { margin-left: auto; margin-right: auto; }

/* Zonă derulabilă adevărată: se poate trage cu degetul sau cu mouse-ul.
   Mișcarea automată o face scriptul, nu o animație — o transformare CSS
   s-ar bate cap în cap cu derularea nativă. Marginile se topesc, ca
   pastilele să nu apară tăiate brusc. */
.derulare {
  overflow-x: auto; overflow-y: hidden; margin: 32px 0;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab; touch-action: pan-x;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.derulare::-webkit-scrollbar { display: none; }
.derulare.se-trage { cursor: grabbing; }
.derulare.se-trage a { user-select: none; }

.derulare-pista { display: flex; gap: 13px; width: max-content; }

.derulare-pista a {
  flex: 0 0 auto; display: block; max-width: 30ch;
  padding: 13px 20px; border-radius: 999px;
  background: #1a1a20; border: 1px solid #2d2d35;
  color: #eeeef0; text-decoration: none; font-size: .93rem; line-height: 1.35;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.derulare-pista a:hover, .derulare-pista a:focus-visible {
  border-color: var(--accent-2); color: var(--accent-2); background: #16161b;
}

/* Cine a cerut mișcare redusă nu primește mișcare automată — dar poate
   derula banda cu mâna, ca oricine altcineva. De asta se ocupă scriptul. */

/* --- Buton portocaliu ---------------------------------------------------- */

.btn.portocaliu {
  background: var(--accent-2); border-color: var(--accent-2); color: #0e0e12;
}
.btn.portocaliu:hover {
  background: #ffa040; border-color: #ffa040; color: #0e0e12;
}

/* --- Ghidurile scoase în față ------------------------------------------- */

.ghiduri-fierbinti { background: var(--bg-deep); padding: 54px 0 58px; margin-bottom: 46px; }
.ghiduri-fierbinti .eyebrow { color: var(--accent-2); }
.ghiduri-fierbinti > .wrap > h2 { color: #fff; }
.ghiduri-fierbinti > .wrap > p { color: #b8b8c0; max-width: 64ch; margin-bottom: 30px; }

.ghiduri-fierbinti .svc {
  background: #1a1a20; border: 1px solid #2d2d35; border-top: 3px solid var(--accent-2);
  color: #eeeef0; box-shadow: none; text-align: left;
}
.ghiduri-fierbinti .svc:hover {
  background: #1e1e25; border-color: #3a3a44; border-top-color: var(--accent-2);
  color: #eeeef0; box-shadow: 0 10px 26px rgba(0,0,0,.35);
}
.ghiduri-fierbinti .svc h3 { color: #fff; }
.ghiduri-fierbinti .svc p  { color: #b8b8c0; }
.ghiduri-fierbinti .svc .go { color: var(--accent-2); align-self: flex-start; }
.ghiduri-fierbinti .svc .tag {
  background: rgba(245,133,31,.14); color: var(--accent-2); align-self: flex-start;
}

/* --- Întrebarea spre care s-a venit dintr-o legătură -------------------- */

/* Bara de sus e lipită de ecran; fără marginea asta, titlul ar ajunge sub ea. */
.prose h3[id] { scroll-margin-top: 104px; }

/* Se colorează atât întrebarea, cât și răspunsul de sub ea, ca să se vadă
   dintr-o privire unde ai aterizat. */
.prose h3:target,
.prose h3:target + p {
  background: #fff4e8;
  border-left: 3px solid var(--accent-2);
}
.prose h3:target {
  margin-top: 1.7em; padding: 14px 18px 8px;
  border-radius: 6px 6px 0 0;
}
.prose h3:target + p {
  margin-top: 0; padding: 0 18px 16px;
  border-radius: 0 0 6px 6px;
}

/* Fără alunecare lină: la deschiderea unei adrese cu ancoră, ea anulează
   saltul, iar omul ajunge în capul paginii în loc de întrebare. */

.todo { background: #fff3cd; color: #6b4e00; padding: 0 4px; border-radius: 3px; box-decoration-break: clone; }

/* --- Print --------------------------------------------------------------- */

@media print {
  .topbar, .masthead, footer, form, .callback, .btn { display: none; }
  body { font-size: 11pt; color: #000; }
  section { padding: 16px 0; border-top: 1px solid #ccc; }
  a { color: #000; text-decoration: none; }
}
