/* =====================================================================
   Arbitraj și Mediere — foaia de stil principală (redesign)
   Paletă: verde-pină profund, auriu, crem. Fonturi: Fraunces + Inter.
   ===================================================================== */

:root {
  --pine-950: #0c2a1c;
  --pine-900: #123f2b;
  --pine-800: #175036;
  --pine-700: #1d6144;
  --pine-100: #dcefe3;
  --pine-50:  #eef6f0;
  --gold-600: #a67c1e;
  --gold-500: #b78a2e;
  --gold-400: #c9a24b;
  --gold-200: #ecd9a8;
  --cream:    #faf7ef;
  --paper:    #fffdf8;
  --ink:      #1d241f;
  --stone:    #5b665e;
  --line:     #e4e0d3;
  --danger:   #b3402e;
  --ok:       #2e7d4f;
  --radius:   16px;
  --radius-sm: 10px;
  --shadow:   0 10px 30px rgba(18, 63, 43, .10);
  --shadow-sm: 0 4px 14px rgba(18, 63, 43, .08);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.site {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.site-main { flex: 1 0 auto; }

img { max-width: 100%; display: block; }
a { color: var(--pine-800); text-decoration: none; }
a:hover { color: var(--gold-600); }

.container { width: min(1160px, 92%); margin-inline: auto; }
.container.narrow { width: min(820px, 92%); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--pine-900); color: #fff; padding: .6rem 1rem; z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.icon { width: 1em; height: 1em; vertical-align: -.125em; }
.muted { color: var(--stone); }

/* --------------------------- Typografie --------------------------- */
h1, h2, h3, .section-title { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--gold-600);
  margin: 0 0 .65rem;
}
.eyebrow-light { color: var(--gold-400); }

.section { padding: 4.5rem 0; }
.section-alt { background: var(--pine-50); }

.section-head { max-width: 640px; margin: 0 auto 2.75rem; text-align: center; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; text-align: left; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0; color: var(--pine-950); position: relative; }
.section-head .section-title::after {
  content: ""; display: block; width: 56px; height: 3px;
  background: var(--gold-500); border-radius: 2px; margin: .9rem auto 0;
}
.section-head-row .section-title::after { margin-inline: 0; }
.section-lead { color: var(--stone); margin: 1rem 0 0; }
.section-title-sm { font-size: 1.35rem; margin: 0 0 1.25rem; color: var(--pine-950); }
.link-more { font-weight: 600; white-space: nowrap; }

/* --------------------------- Butoane ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold-500); color: #fff; box-shadow: 0 6px 18px rgba(183, 138, 46, .35); }
.btn-gold:hover { background: var(--gold-600); color: #fff; }
.btn-primary { background: var(--pine-800); color: #fff; }
.btn-primary:hover { background: var(--pine-900); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 2.1rem; font-size: 1.02rem; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
/* Linkurile cu .btn din conținut își păstrează stilul de buton (nu moștenesc culoarea/underline-ul linkurilor) */
a.btn, .page-content a.btn, .article-body a.btn,
.page-cta a.btn, .cta-band a.btn, .hero a.btn {
  color: #fff; text-decoration: none;
}
a.btn:hover, .page-content a.btn:hover, .article-body a.btn:hover,
.page-cta a.btn:hover, .cta-band a.btn:hover, .hero a.btn:hover {
  color: #fff; text-decoration: none;
}

/* --------------------------- Topbar ------------------------------- */
.topbar { background: var(--pine-950); color: var(--pine-100); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.topbar-chip { letter-spacing: .04em; opacity: .85; }
.topbar-right { display: flex; gap: 1.25rem; }
.topbar-link { color: var(--pine-100); display: inline-flex; align-items: center; gap: .4rem; }
.topbar-link:hover { color: var(--gold-400); }

/* --------------------------- Navbar ------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.navbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--pine-950); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--pine-800), var(--pine-950));
  color: var(--gold-400); display: grid; place-items: center;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; }
.brand-text small { font-size: .72rem; color: var(--stone); letter-spacing: .05em; }

.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; flex-wrap: nowrap; }
.nav-item { position: relative; }
.nav-item.has-sub { display: flex; align-items: center; white-space: nowrap; }
.nav-link {
  display: inline-block; padding: .55rem .8rem; border-radius: 8px;
  font-weight: 500; font-size: .95rem; color: var(--ink);
  white-space: nowrap;
}
.nav-link:hover { color: var(--pine-800); background: var(--pine-50); }
.nav-item.is-active > .nav-link { color: var(--pine-900); font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 8px 8px 0 0; }

.nav-caret {
  border: 0; background: none; padding: .25rem .25rem; margin-left: -.45rem;
  color: var(--stone); cursor: pointer; flex: none;
  display: grid; place-items: center; line-height: 0;
  transition: transform .18s ease;
}
.nav-item.open .nav-caret, .nav-item.has-sub:hover .nav-caret { transform: rotate(180deg); }
.nav-item.has-sub:hover > .nav-link { color: var(--pine-800); background: var(--pine-50); }
.nav-caret svg { width: 15px; height: 15px; display: block; }

.sub-list {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; max-width: 330px; z-index: 60;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); list-style: none; margin: 0; padding: .45rem;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-item.has-sub:hover .sub-list,
.nav-item.has-sub:focus-within .sub-list,
.nav-item.has-sub.open .sub-list { opacity: 1; visibility: visible; transform: none; }
.sub-list a { display: block; padding: .5rem .75rem; border-radius: 8px; font-size: .92rem; color: var(--ink); }
.sub-list a:hover { background: var(--pine-50); color: var(--pine-900); }

.nav-cta-item { margin-left: .6rem; }
.nav-cta-item .btn { white-space: nowrap; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .5rem; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--pine-950); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------- Hero --------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--pine-950); color: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12,42,28,.94) 8%, rgba(12,42,28,.72) 55%, rgba(12,42,28,.45));
}
.hero-inner { position: relative; padding: 6.5rem 0 7rem; max-width: 720px; }
.hero-title { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 1.1rem; color: #fff; }
.hero-subtitle { font-size: 1.12rem; color: rgba(255,255,255,.85); margin: 0 0 2rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 2.2rem 0 0; }
.hero-chips li {
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  padding: .35rem .95rem; font-size: .82rem; color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.06);
}

/* --------------------------- Grile & carduri ---------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.card-title { font-size: 1.12rem; margin: 0 0 .5rem; color: var(--pine-950); }
.card-text { color: var(--stone); font-size: .95rem; margin: 0; }
.card-more { display: inline-block; margin-top: 1rem; font-weight: 600; font-size: .9rem; color: var(--gold-600); }
.card-more:hover { color: var(--gold-500); }

.adv-card { text-align: left; }
.adv-icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  background: var(--pine-50); display: grid; place-items: center; margin-bottom: 1rem;
}

.service-card { position: relative; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  opacity: 0; transition: opacity .2s;
}
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 1.6rem; margin-bottom: .8rem; }

/* --------------------------- Despre ------------------------------- */
.about-strip { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  aspect-ratio: 4 / 3; object-fit: cover; width: 100%;
}
.about-badge {
  position: absolute; left: -14px; bottom: -14px;
  background: var(--gold-500); color: #fff; font-weight: 700; font-size: .85rem;
  padding: .7rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow);
  max-width: 75%;
}
.about-body .section-title { margin-bottom: 1.1rem; }
.about-text { color: var(--stone); margin-bottom: 1.6rem; }
.about-text p { margin: 0 0 .9rem; }

/* --------------------------- Stats -------------------------------- */
.stats-band { background: linear-gradient(120deg, var(--pine-950), var(--pine-800)); color: #fff; padding: 3.2rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-number { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--gold-400); }
.stat-label { font-size: .9rem; color: rgba(255,255,255,.8); }

/* --------------------------- Articole (carduri) ------------------- */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-media { display: block; aspect-ratio: 16 / 9; background: var(--pine-50); position: relative; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; color: var(--pine-800); opacity: .45; }
.post-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.post-date { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-600); font-weight: 700; margin-bottom: .5rem; }
.post-body .card-title a { color: inherit; }
.post-body .card-title a:hover { color: var(--pine-700); }

/* --------------------------- CTA band ----------------------------- */
.cta-band { background: var(--gold-500); color: #fff; padding: 3.4rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .5rem; color: #fff; }
.cta-text { margin: 0; color: rgba(255,255,255,.92); max-width: 560px; }
.cta-actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.cta-band .btn-gold { background: var(--pine-950); box-shadow: 0 8px 20px rgba(12,42,28,.35); }
.cta-band .btn-gold:hover { background: var(--pine-900); }
.cta-phone { color: #fff; font-weight: 700; font-size: 1.1rem; font-family: var(--font-display); }
.cta-phone:hover { color: var(--pine-50); }

/* --------------------------- Page hero ---------------------------- */
.page-hero { background: linear-gradient(120deg, var(--pine-950), var(--pine-800)); color: #fff; padding: 4.2rem 0; }
.page-hero.has-bg { background-size: cover; background-position: center; }
.page-hero-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0; color: #fff; }
.article-meta { color: rgba(255,255,255,.75); margin: 1rem 0 0; font-size: .92rem; }

/* --------------------------- Articol / conținut pagină ------------ */
.article-body, .page-content { font-size: 1.04rem; line-height: 1.75; }
.article-body > *:first-child, .page-content > *:first-child { margin-top: 0; }
.article-body > *:last-child, .page-content > *:last-child { margin-bottom: 0; }

.article-body h2, .page-content h2 {
  font-family: var(--font-display);
  font-size: 1.55rem; line-height: 1.25;
  margin: 2.4rem 0 .9rem; padding-bottom: .45rem;
  color: var(--pine-950);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.article-body h2::after, .page-content h2::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 64px; height: 3px; background: var(--gold-500); border-radius: 2px;
}
.article-body h3, .page-content h3 {
  font-family: var(--font-display);
  font-size: 1.22rem; line-height: 1.3;
  margin: 1.9rem 0 .65rem;
  padding-left: .7rem; border-left: 3px solid var(--gold-400);
  color: var(--pine-950);
}
/* evidențieri de tip „lead” moștenite din conținutul vechi (h4) → casete notă */
.article-body h4, .page-content h4 {
  font-family: var(--font-body);
  font-size: 1.02rem; font-weight: 600; line-height: 1.6;
  margin: 1.5rem 0 1rem;
  padding: .9rem 1.1rem;
  background: var(--pine-50);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--pine-900);
}
.article-body h5, .page-content h5,
.article-body h6, .page-content h6 { font-size: 1.02rem; margin: 1.4rem 0 .5rem; color: var(--pine-900); }
.article-body p, .page-content p { margin: 0 0 1.05rem; }
.article-body ul, .page-content ul,
.article-body ol, .page-content ol { margin: 0 0 1.15rem; padding-left: 1.45rem; }
.article-body li, .page-content li { margin-bottom: .45rem; }
.article-body li::marker, .page-content li::marker { color: var(--gold-600); }
.article-body img, .page-content img {
  max-width: 100%; height: auto;
  border-radius: var(--radius-sm); margin: 1.2rem 0; box-shadow: var(--shadow-sm);
}
.article-body a, .page-content a {
  color: var(--pine-800);
  text-decoration: underline; text-decoration-color: var(--gold-400); text-underline-offset: 3px;
}
.article-body a:hover, .page-content a:hover { color: var(--gold-600); }
.article-body blockquote, .page-content blockquote {
  margin: 1.4rem 0; padding: 1rem 1.3rem; border-left: 4px solid var(--gold-500);
  background: var(--pine-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--pine-900); font-style: italic;
}
.article-body blockquote p:last-child, .page-content blockquote p:last-child { margin-bottom: 0; }
.article-body table, .page-content table { border-collapse: collapse; width: 100%; margin: 1.4rem 0; font-size: .95rem; }
.article-body td, .page-content td,
.article-body th, .page-content th { border: 1px solid var(--line); padding: .6rem .85rem; vertical-align: top; text-align: left; }
.article-body th, .page-content th { background: var(--pine-900); color: #fff; font-weight: 600; }
.article-body tr:nth-child(even) td, .page-content tr:nth-child(even) td { background: var(--pine-50); }

/* grile de cursuri & formatori (pagina Cursuri) */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin: 1.4rem 0; }
.course-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.course-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(18, 63, 43, .16); }
.course-card h3 { margin: 0; font-size: 1.08rem; color: var(--pine-950); }
.course-badge {
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold-600); background: rgba(183, 138, 46, .1);
  border-radius: 999px; padding: .28rem .7rem; width: fit-content;
}
.course-card p { margin: 0; font-size: .95rem; color: var(--ink-soft, var(--ink)); flex: 1; }
.course-card a { font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--pine-800); }
.course-card a:hover { color: var(--gold-600); text-decoration: underline; }
.trainers-list { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .55rem; }
.trainers-list li {
  background: var(--pine-50); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .65rem .95rem; font-size: .95rem;
}
.page-cta {
  margin-top: 2rem; padding: 1.5rem 1.6rem; border-radius: var(--radius);
  background: var(--pine-950); color: #fff;
}
.page-cta p { color: rgba(255,255,255,.92); }
.page-cta .btn { margin-right: .6rem; }
@media (max-width: 760px) {
  .course-grid { grid-template-columns: 1fr; }
  .page-cta .btn { display: block; width: 100%; margin: 0 0 .6rem; text-align: center; }
}

/* --------------------------- Contact ------------------------------ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.6rem; align-items: start; }
.contact-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 1rem; }
.contact-list li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem; }
.contact-list strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); margin-bottom: .25rem; }
.contact-list a { font-weight: 600; }
.contact-list address { font-style: normal; }
.contact-note { font-size: .9rem; }

.contact-form { padding: 2rem; }
.form-row { margin-bottom: 1.1rem; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.contact-form label em { color: var(--danger); font-style: normal; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: .75rem .95rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--pine-700);
  box-shadow: 0 0 0 3px rgba(29, 97, 68, .15);
}
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; overflow: hidden; }
.form-msg { font-weight: 600; min-height: 1.4em; margin: 0 0 .8rem; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--danger); }

/* --------------------------- Paginare ----------------------------- */
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.6rem; }
.page-num {
  min-width: 42px; height: 42px; display: inline-grid; place-items: center;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); font-weight: 600;
}
.page-num:hover { border-color: var(--pine-700); color: var(--pine-800); }
.page-num.is-current { background: var(--pine-800); border-color: var(--pine-800); color: #fff; }

/* --------------------------- Footer (sticky) ---------------------- */
.site-footer { margin-top: auto; background: var(--pine-950); color: rgba(255,255,255,.82); }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 2.5rem;
  padding: 3.4rem 0 2.6rem;
}
.footer-title { font-family: var(--font-display); color: var(--gold-400); font-size: 1.02rem; margin: 0 0 1.1rem; }
.brand-light { color: #fff; }
.footer-about { font-size: .92rem; color: rgba(255,255,255,.65); margin: 1rem 0 1.2rem; }
.footer-social { display: flex; gap: .6rem; flex-wrap: wrap; }
.footer-social a {
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  padding: .3rem .9rem; font-size: .8rem; color: rgba(255,255,255,.85);
}
.footer-social a:hover { border-color: var(--gold-400); color: var(--gold-400); }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .93rem; }
.footer-links a { color: rgba(255,255,255,.82); }
.footer-links a:hover { color: var(--gold-400); }
.footer-sub a { padding-left: .8rem; font-size: .87rem; opacity: .8; }
.footer-contact span {
  display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold-400); margin-bottom: .15rem;
}
.footer-contact a, .footer-contact address, .footer-contact div { color: rgba(255,255,255,.85); font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.1rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.55); }
.footer-bottom a { color: rgba(255,255,255,.75); }
.footer-bottom a:hover { color: var(--gold-400); }

/* --------------------------- Setări anunț install ----------------- */
.setup-notice { text-align: center; background: var(--paper); border: 1px dashed var(--gold-400); border-radius: var(--radius); padding: 3rem; }
.setup-notice h1 { font-size: 1.8rem; }

/* --------------------------- Animații ----------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------- Responsive --------------------------- */
/* meniu dens pe ecrane medii (între breakpoint-ul de mobil și desktop larg) */
@media (max-width: 1420px) {
  .brand-text small { display: none; }
  .nav-link { padding: .55rem .6rem; font-size: .9rem; }
  .nav-cta-item .btn { padding: .5rem .85rem; font-size: .88rem; }
}
@media (max-width: 1240px) {
  .nav-link { padding: .55rem .45rem; font-size: .86rem; }
  .nav-list { gap: .1rem; }
  .nav-cta-item { margin-left: .3rem; }
  .nav-cta-item .btn { padding: .5rem .7rem; font-size: .84rem; }
}

/* navigația trece pe hamburger sub 1120px */
@media (max-width: 1120px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none; max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: .8rem; }
  .nav-item.has-sub { display: block; white-space: normal; }
  .nav-link { display: block; padding: .8rem .6rem; white-space: normal; font-size: 1rem; }
  .nav-caret {
    position: absolute; top: .55rem; right: .4rem; margin: 0;
    width: 36px; height: 36px;
  }
  .nav-item.open .nav-caret { transform: rotate(180deg); }
  .nav-caret svg { margin: auto; }
  .sub-list {
    position: static; opacity: 1; visibility: visible; transform: none; z-index: auto;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 .4rem 1rem; display: none;
    max-width: none;
  }
  .nav-item.open .sub-list { display: block; }
  .nav-cta-item { margin: .6rem 0 0; }
  .nav-cta-item .btn { width: 100%; white-space: normal; }
}
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 3.2rem 0; }
  .hero-inner { padding: 4.6rem 0 5rem; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; }
  .form-cols { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-text small { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   Tablou mediatori · Documente · Formular de înscriere
   ===================================================================== */

.block-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .35rem; }
.block-sub { color: var(--stone); margin: 0 0 1.4rem; }

/* — Tabloul mediatorilor — */
.mediators-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.mediators-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 760px; }
.mediators-table thead th {
  background: var(--pine-900);
  color: #fff;
  text-align: left;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .8rem .9rem;
  white-space: nowrap;
}
.mediators-table tbody td { padding: .7rem .9rem; border-top: 1px solid var(--line); vertical-align: top; }
.mediators-table tbody tr:nth-child(even) { background: var(--pine-50); }
.mediators-table tbody tr:hover { background: var(--gold-200); }
.mediators-table .m-nr { color: var(--stone); font-variant-numeric: tabular-nums; width: 1%; white-space: nowrap; }
.mediators-table .m-name { font-weight: 600; color: var(--pine-950); }
.mediators-table .m-office { color: var(--stone); font-size: .84rem; max-width: 260px; }
.mediators-table .m-contact a { color: var(--pine-800); text-decoration: none; border-bottom: 1px solid var(--gold-400); }
.mediators-table .m-contact a:hover { color: var(--gold-600); }
.mediators-empty { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; }

/* — Documente / formulare utile — */
.docs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.docs-item {
  display: flex; align-items: center; gap: .9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
}
.docs-item:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.docs-ico { font-size: 1.5rem; flex: none; }
.docs-info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; flex: 1; }
.docs-title { color: var(--pine-950); }
.docs-desc { color: var(--stone); font-size: .84rem; }
.docs-meta { color: var(--stone); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; }
.docs-btn { flex: none; }
.docs-empty { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; }

/* — Formular de înscriere la cursuri — */
.enroll-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}
.enroll-title { font-family: var(--font-display); margin: 0 0 .4rem; font-size: 1.5rem; }
.enroll-course { margin: 0 0 .6rem; color: var(--stone); }
.enroll-note { color: var(--stone); font-size: .92rem; margin: 0 0 1.4rem; }
.enroll-phone { font-weight: 700; color: var(--pine-800); text-decoration: none; border-bottom: 1px solid var(--gold-400); }
.enroll-form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; }
.enroll-form .req { color: var(--danger); }
.enroll-form input,
.enroll-form select,
.enroll-form textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
}
.enroll-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--pine-800) 50%), linear-gradient(135deg, var(--pine-800) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; cursor: pointer; }
.enroll-form input:focus,
.enroll-form select:focus,
.enroll-form textarea:focus { outline: 2px solid var(--gold-400); border-color: var(--gold-500); }
.enroll-form .form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.enroll-form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.enroll-form .form-msg { min-height: 1.2rem; margin: .2rem 0 .6rem; font-size: .9rem; }
.enroll-form .form-msg.ok { color: var(--ok); font-weight: 600; }
.enroll-form .form-msg.err { color: var(--danger); font-weight: 600; }

@media (max-width: 560px) {
  .enroll-card { padding: 1.25rem; }
  .enroll-form .form-cols { grid-template-columns: 1fr; }
  .docs-item { flex-wrap: wrap; }
  .docs-btn { margin-left: 3rem; }
}
