/* ---------- Fonturi (IBM Plex, OFL, servite local) ---------- */
@font-face {
  font-family: "Plex Sans";
  src: url("assets/fonts/plex-sans-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
  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: "Plex Sans";
  src: url("assets/fonts/plex-sans-latin-ext.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
  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: "Plex Serif";
  src: url("assets/fonts/plex-serif-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  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: "Plex Serif";
  src: url("assets/fonts/plex-serif-latin-ext-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  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: "Plex Serif";
  src: url("assets/fonts/plex-serif-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  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: "Plex Serif";
  src: url("assets/fonts/plex-serif-latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  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;
}

/* ---------- Tokens ----------
   Direcția: un document profesional tipărit (raport de audit, fișă, contract).
   hârtie   #ffffff  fundalul dominant
   filă     #f2f4f6  secțiuni alternante, fișa din hero
   cerneală #17202b  text
   grafit   #4b5866  text secundar
   ștampilă #1f4f99  singurul accent: linkuri, butoane, ștampila
   linie    #d3d9df  separatoare
*/
:root {
  --paper: #ffffff;
  --leaf: #f2f4f6;
  --ink: #17202b;
  --graphite: #4b5866;
  --stamp: #1f4f99;
  --stamp-dark: #173d78;
  --rule: #d3d9df;

  --font-display: "Plex Serif", Georgia, "Times New Roman", serif;
  --font-body: "Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 70rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }

a { color: var(--stamp); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--stamp);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 48rem) { .wrap { padding-inline: 2rem; } }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.9rem;
  background: var(--stamp);
  color: #fff;
}
.skip:focus { top: 0.75rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 48rem) {
  .site-header { position: sticky; top: 0; z-index: 10; }
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.25;
}
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.brand-sub { font-size: 0.85rem; color: var(--graphite); }

.nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.5rem;
  font-size: 0.95rem;
}
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--stamp); text-decoration: underline; }
.nav a.nav-cta {
  color: var(--stamp);
  border: 1px solid var(--stamp);
  padding: 0.35rem 0.9rem;
  border-radius: 3px;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav a.nav-cta:hover { background: var(--stamp); color: #fff; text-decoration: none; }

/* ---------- Butoane ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--stamp); color: #fff; border: 1px solid var(--stamp); }
.btn-primary:hover { background: var(--stamp-dark); border-color: var(--stamp-dark); }
.btn-secondary { color: var(--ink); border: 1px solid var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding-block: 3.5rem 4rem; border-bottom: 1px solid var(--rule); }
@media (min-width: 60rem) { .hero { padding-block: 5.5rem 6rem; } }

.hero-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 5rem; } }

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  max-width: 22ch;
}
.lead {
  font-size: 1.18rem;
  color: var(--graphite);
  max-width: 38rem;
  margin-bottom: 2rem;
}
.hero-note { margin: 1.25rem 0 0; font-size: 0.95rem; color: var(--graphite); }

/* fișa de prezentare */
.sheet {
  position: relative;
  background: var(--leaf);
  border-top: 3px solid var(--ink);
  padding: 1.5rem 1.5rem 3.25rem;
}
@media (min-width: 60rem) { .sheet { margin-top: 0.5rem; } }
.sheet-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  padding-bottom: 0.9rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--rule);
}
.sheet-rows > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}
.sheet-rows > div:last-child { border-bottom: 0; }
.sheet-rows dt { color: var(--graphite); }
.sheet-rows dd { font-weight: 500; }
@media (max-width: 26rem) {
  .sheet-rows > div { grid-template-columns: 1fr; gap: 0.1rem; }
}

.stamp {
  position: absolute;
  right: 1.25rem;
  bottom: -2.75rem;
  width: 6.5rem;
  height: 6.5rem;
  color: var(--stamp);
  opacity: 0.82;
  transform: rotate(-12deg);
  font-family: var(--font-body);
  pointer-events: none;
}

/* ---------- Secțiuni ---------- */
.section { padding-block: 4.5rem; }
@media (min-width: 60rem) { .section { padding-block: 6rem; } }
.section-tint { background: var(--leaf); }
.section:not(.section-tint) + .section:not(.section-tint) { border-top: 1px solid var(--rule); }

.sec-head { margin-bottom: 2.5rem; }
.sec-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -0.005em; }
.sec-intro { color: var(--graphite); font-size: 1.08rem; margin: 0.6rem 0 0; }

/* ---------- Servicii: două principale, restul ca listă ---------- */
.services {
  list-style: none;
  display: grid;
  border-top: 1px solid var(--ink);
}
@media (min-width: 52rem) {
  .services { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}
.svc {
  display: grid;
  gap: 0.4rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--rule);
}
.svc h3 { font-size: 1.15rem; }
.svc p { color: var(--graphite); margin: 0; }
.svc-cta { justify-self: start; font-weight: 600; font-size: 0.95rem; margin-top: 0.3rem; }

.svc-major { padding: 2rem 0 2.25rem; }
.svc-major h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.svc-major p { font-size: 1.05rem; color: var(--ink); max-width: 34rem; }
.svc-major .svc-cta { font-size: 1rem; }

/* ---------- Situații ---------- */
.situations { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.situations > div {
  display: grid;
  gap: 0.4rem 3rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 52rem) { .situations > div { grid-template-columns: 1fr 1.2fr; } }
.situations dt { font-family: var(--font-display); font-weight: 500; font-size: 1.2rem; line-height: 1.35; }
.situations dd { color: var(--graphite); }

/* ---------- Experiență ---------- */
.entries { border-top: 1px solid var(--ink); }
.entry {
  display: grid;
  gap: 0.5rem 3rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 52rem) { .entry { grid-template-columns: 1fr 2fr; } }
.entry-org { font-size: 1.2rem; }
.entry-role { font-weight: 600; margin-bottom: 0.35rem; }
.entry-body p:last-child { color: var(--graphite); margin: 0; }


.about {
  margin: 3.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  max-width: 46rem;
  font-size: 1.08rem;
}

/* ---------- Proces ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--ink);
}
@media (min-width: 64rem) {
  .steps { grid-template-columns: repeat(3, 1fr); border-top: 0; row-gap: 2rem; }
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.steps li::before {
  content: counter(step) ".";
  grid-row: span 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--stamp);
}
.steps h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.steps p { color: var(--graphite); font-size: 0.97rem; margin: 0; }
@media (min-width: 64rem) {
  .steps li {
    display: block;
    padding: 1.25rem 1.5rem 0 0;
    border-bottom: 0;
    border-top: 1px solid var(--ink);
  }
  .steps li + li { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
  .steps li:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .steps li::before { display: block; margin-bottom: 0.5rem; }
}

/* ---------- Întrebări ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--stamp);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--stamp); }
.faq details p { color: var(--graphite); padding-bottom: 1.25rem; margin: 0; max-width: 44rem; }

/* ---------- Contact ---------- */
.contact { background: var(--leaf); border-top: 1px solid var(--ink); }
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 5rem; align-items: start; } }
.contact h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 1rem; }
.contact-lead { color: var(--graphite); font-size: 1.1rem; margin-bottom: 1.75rem; max-width: 34rem; }
.contact-mail { margin: 1.25rem 0 0; color: var(--graphite); }
.contact-mail a { overflow-wrap: anywhere; }

.company { border-top: 1px solid var(--ink); }
.company > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.97rem;
}
.company dt { color: var(--graphite); }
.company dd { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  color: var(--graphite);
  font-size: 0.88rem;
  border-top: 1px solid var(--rule);
  padding-block: 1.5rem;
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.4rem 2rem; }
.site-footer p { margin: 0; }

/* ---------- Layout cu titlul pe margine (ca într-un raport) ---------- */
@media (min-width: 60rem) {
  .margin-layout {
    display: grid;
    grid-template-columns: 17rem 1fr;
    column-gap: 4rem;
    align-items: start;
  }
  .margin-layout > .sec-head {
    grid-row: 1 / span 20;
    position: sticky;
    top: 6.5rem;
    margin-bottom: 0;
  }
  .margin-layout > :not(.sec-head) { grid-column: 2; }
  .margin-layout .sec-head h2 { font-size: 2rem; }
}

/* ---------- Standarde ---------- */
.standards { border-top: 1px solid var(--ink); }
.standards > div {
  display: grid;
  gap: 0.3rem 2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 40rem) { .standards > div { grid-template-columns: 9.5rem 1fr; } }
.standards dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--stamp);
  white-space: nowrap;
}
.standards dd { color: var(--graphite); }

/* ---------- Distincții ---------- */
.honors {
  margin-top: 3rem;
  padding: 1.75rem 1.75rem 2rem;
  background: var(--paper);
  border-top: 1px solid var(--ink);
}
.honors-title { font-size: 1.1rem; color: var(--graphite); font-weight: 500; margin-bottom: 0.5rem; }
.honors-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.honors-cols { display: grid; gap: 1.5rem 2.5rem; }
@media (min-width: 48rem) { .honors-cols { grid-template-columns: repeat(3, 1fr); } }
.honors h4 { font-size: 0.95rem; font-weight: 600; margin: 0 0 0.5rem; }
.honors ul { padding-left: 1.1rem; display: grid; gap: 0.35rem; color: var(--graphite); font-size: 0.97rem; }
.honors li::marker { color: var(--stamp); }

/* ---------- Interacțiuni ---------- */
.svc h3, .entry-org { transition: color 0.15s ease; }
.svc:hover h3 { color: var(--stamp); }
.svc-cta, .contact-mail a { text-decoration-color: color-mix(in srgb, var(--stamp) 40%, transparent); transition: text-decoration-color 0.15s ease; }
.svc-cta:hover, .contact-mail a:hover { text-decoration-color: var(--stamp); }
.situations > div, .standards > div { transition: background-color 0.15s ease; }

/* ---------- Ștampila din contact ---------- */
.company-wrap { position: relative; }
.stamp-contact {
  right: -0.5rem;
  bottom: -4.5rem;
  width: 7.5rem;
  height: 7.5rem;
  transform: rotate(9deg);
  opacity: 0.7;
}
@media (max-width: 59.99rem) { .stamp-contact { bottom: -3.5rem; width: 6rem; height: 6rem; } }
.contact { padding-bottom: 7rem; }

/* ---------- Notă la serviciu ---------- */
.svc-note {
  font-size: 0.93rem;
  color: var(--graphite);
  background: var(--leaf);
  padding: 0.7rem 0.9rem;
  margin-top: 0.4rem !important;
}

/* ---------- Footer: linkuri ---------- */
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem 1.25rem; }
.footer-links a { color: var(--graphite); }
.footer-links a:hover { color: var(--stamp); }

/* ---------- Pagina de informații legale ---------- */
.legal { padding-block: 3.5rem 5rem; }
@media (min-width: 60rem) { .legal { padding-block: 5rem 6rem; } }
.legal h1 { font-size: clamp(1.9rem, 3.6vw, 2.4rem); }
.legal-toc { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.35rem; font-size: 0.95rem; }
@media (max-width: 59.99rem) { .legal-toc { margin-bottom: 1rem; } }
.legal-body { max-width: 46rem; }
.legal-body section { padding-block: 2rem; border-top: 1px solid var(--rule); }
.legal-body section:first-child { border-top: 1px solid var(--ink); }
.legal-body h2 { font-size: 1.45rem; margin-bottom: 1rem; }
.legal-body h3 { font-size: 1.1rem; margin: 1.6rem 0 0.6rem; }
.legal-body ul { padding-left: 1.2rem; display: grid; gap: 0.6rem; margin-bottom: 1em; }
.legal-body li::marker { color: var(--stamp); }
.legal-body .company { margin: 1rem 0 1.25rem; }
.table-scroll { overflow-x: auto; margin-bottom: 1.25rem; }
.legal-body table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.93rem; line-height: 1.5; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 0.75rem 0.9rem 0.75rem 0; border-bottom: 1px solid var(--rule); }
.legal-body th { font-weight: 600; border-bottom: 1px solid var(--ink); }
.legal-body td { color: var(--graphite); }
.nobr { white-space: nowrap; }
.company dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 26rem) { .company > div { grid-template-columns: 1fr; gap: 0.1rem; } }

/* ---------- Link secundar la serviciu, breadcrumb, pagini de serviciu ---------- */
.svc-more { justify-self: start; font-size: 0.95rem; color: var(--graphite); }
.svc-more:hover { color: var(--stamp); }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: 0.9rem; color: var(--graphite); margin-bottom: 2rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--rule); }
.breadcrumb a { color: var(--graphite); }

.hero-sub { padding-block: 2.5rem 4rem; }
@media (min-width: 60rem) { .hero-sub { padding-block: 3rem 5rem; } }

.prose { max-width: 44rem; }
.prose p:last-child { margin-bottom: 0; }

.checklist { list-style: none; display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.checklist li { position: relative; padding-left: 1.75rem; color: var(--graphite); }
.checklist li strong { color: var(--ink); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.45em;
  top: 0.35em;
  width: 0.95rem;
  height: 0.95rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231f4f99' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sheet:not(:has(.stamp)) { padding-bottom: 1.75rem; }

/* ---------- Articole ---------- */
.article-page { padding-block: 2.5rem 5rem; }
@media (min-width: 60rem) { .article-page { padding-block: 3rem 6rem; } }
.article { max-width: 44rem; }
.article-head { padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--ink); }
.article-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; margin-bottom: 0.9rem; }
.article-meta { color: var(--graphite); font-size: 0.93rem; margin: 0; }
.article-body { font-size: 1.1rem; line-height: 1.75; }
.article-body h2 { font-size: 1.5rem; margin: 2.5rem 0 0.8rem; }
.article-body ul, .article-body ol { padding-left: 1.3rem; display: grid; gap: 0.45rem; margin-bottom: 1.2em; }
.article-body li::marker { color: var(--stamp); }
.article-body ol li::marker { font-family: var(--font-display); font-weight: 600; }
.disclaimer {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  background: var(--leaf);
  font-size: 0.95rem;
  color: var(--graphite);
}
.article-cta {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink);
  font-size: 1.05rem;
}
.author {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--leaf);
  border-top: 1px solid var(--ink);
}
.author-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.4rem; }
.author p:not(.author-name) { color: var(--graphite); font-size: 0.97rem; }
.author-links, .profile-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; font-weight: 600; font-size: 0.95rem; }
.profile-links { margin-top: 0.75rem; }

.post-list { list-style: none; border-top: 1px solid var(--ink); }
.post-list li { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.post-list h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover { color: var(--stamp); text-decoration: underline; }
.post-list p { color: var(--graphite); margin-bottom: 0.4rem; }

/* =====================================================================
   v16: index de servicii, pagini de servicii, articole, footer
   ===================================================================== */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* index de servicii (pagina principală) */
.service-index { list-style: none; border-top: 1px solid var(--ink); }
.service-index li { border-bottom: 1px solid var(--rule); }
.service-index a {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.4rem 0.25rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.15s ease, padding 0.15s ease;
}
@media (min-width: 48rem) {
  .service-index a { grid-template-columns: 17rem 1fr auto; align-items: baseline; }
  .service-index a::after { content: "Detalii"; font-size: 0.9rem; font-weight: 600; color: var(--stamp); }
}
.service-index a:hover { background: var(--leaf); padding-inline: 1rem; }
.service-index a:hover .si-name { color: var(--stamp); }
.si-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; line-height: 1.3; transition: color 0.15s ease; }
.si-desc { color: var(--graphite); }

a.more { font-weight: 600; white-space: nowrap; }

/* rânduri definiție (pagini de servicii) */
.rows { border-top: 1px solid var(--ink); }
.rows > div { display: grid; gap: 0.3rem 2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 44rem) { .rows > div { grid-template-columns: 13rem 1fr; } }
.rows dt { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
.rows dd { color: var(--graphite); }
.prose ul, .prose ol { padding-left: 1.2rem; display: grid; gap: 0.55rem; margin-bottom: 1.1em; }
.prose li::marker { color: var(--stamp); }
.prose ul li, .prose ol li { color: var(--graphite); }
.prose li strong { color: var(--ink); }
ol.numbered { list-style: none; padding-left: 0; counter-reset: n; border-top: 1px solid var(--ink); gap: 0; }
ol.numbered li { counter-increment: n; position: relative; padding: 1rem 0 1rem 2.25rem; border-bottom: 1px solid var(--rule); }
ol.numbered li::before { content: counter(n) "."; position: absolute; left: 0; top: 0.95rem; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--stamp); }
ol.numbered li strong { display: block; margin-bottom: 0.15rem; }
.note-box { background: var(--leaf); padding: 1rem 1.2rem; font-size: 0.97rem; color: var(--graphite); }
.section-tint .note-box { background: var(--paper); }

/* servicii și articole conexe */
.related { padding-block: 3.5rem; border-top: 1px solid var(--rule); }
.related-grid { display: grid; gap: 2.5rem; }
@media (min-width: 52rem) { .related-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }
.related-title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; padding-bottom: 0.6rem; margin-bottom: 0; border-bottom: 1px solid var(--ink); }
.related-services, .related-articles { list-style: none; }
.related-services li, .related-articles li { padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.related-services a { font-weight: 600; margin-right: 0.6rem; }
.related-services span { color: var(--graphite); font-size: 0.95rem; }

/* banda de final pe paginile de servicii */
.cta-band { border-top: 1px solid var(--ink); }
.cta-inner { max-width: 46rem; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 0.75rem; }
.cta-inner > p { color: var(--graphite); font-size: 1.08rem; margin-bottom: 1.5rem; }
.cta-inner .btn-secondary { overflow-wrap: anywhere; }

/* articole: cuprins pe margine */
.article-page { padding-block: 2.5rem 5rem; }
.article-layout { display: grid; gap: 2rem; }
@media (min-width: 64rem) {
  .article-layout { grid-template-columns: 15rem minmax(0, 44rem); gap: 4rem; }
  .article-toc { position: sticky; top: 6.5rem; align-self: start; order: 0; }
}
.article-toc ol { list-style: none; counter-reset: t; margin-top: 0.4rem; }
.article-toc li { counter-increment: t; padding: 0.45rem 0; border-bottom: 1px solid var(--rule); font-size: 0.93rem; line-height: 1.4; display: grid; grid-template-columns: 1.6rem 1fr; }
.article-toc li::before { content: counter(t) "."; color: var(--stamp); font-weight: 600; }
.article-toc a { color: var(--graphite); text-decoration: none; }
.article-toc a:hover { color: var(--stamp); text-decoration: underline; }
@media (max-width: 63.99rem) {
  .article-toc { background: var(--leaf); padding: 1rem 1.2rem; order: -1; }
}
.article-body h2 { scroll-margin-top: 6rem; }
.article-topic { font-size: 0.95rem; font-weight: 600; color: var(--stamp); margin-bottom: 0.6rem; }

/* index articole */
.post-group + .post-group { margin-top: 3rem; }
.post-group > h2 { font-size: 1.1rem; font-weight: 600; color: var(--graphite); margin-bottom: 0.6rem; font-family: var(--font-body); }
.post-list h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.post-list h3 a { color: var(--ink); text-decoration: none; }
.post-list h3 a:hover { color: var(--stamp); text-decoration: underline; }

/* footer pe coloane */
.site-footer { padding-block: 3rem 1.5rem; border-top: 1px solid var(--ink); background: var(--paper); }
.footer-cols { display: grid; gap: 2rem; }
@media (min-width: 40rem) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .footer-cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; } }
.footer-cols p { margin-bottom: 0.8rem; line-height: 1.6; }
.footer-cols ul { list-style: none; display: grid; gap: 0.45rem; }
.footer-cols a { color: var(--graphite); }
.footer-cols a:hover { color: var(--stamp); }
.footer-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.footer-title { font-weight: 600; color: var(--ink); }
.footer-bottom { margin: 3rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: 0.85rem; }
