/* ============================================================
   Pagina proiect ConsEDU — paleta proiectului integrată în
   designul editorial CJRAE (funcționează și în dark mode)
   ============================================================ */
.consedu {
  --ce-navy: #1b3a5f;
  --ce-navy-deep: #12294a;
  --ce-teal: #14989a;
  --ce-teal-soft: #4dbcbd;
  --ce-green: #57ad57;
  --ce-coral: #e9615c;
  --ce-sky: #e8f4f5;
}

/* ——— HERO ——— */
.ce-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ce-navy-deep) 0%, var(--ce-navy) 45%, var(--ce-teal) 130%);
  color: #fff;
  padding: 72px 0 80px;
}
.ce-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.18) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 15% 0%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 15% 0%, #000 10%, transparent 70%);
}
.ce-hero::after {
  content: '';
  position: absolute; top: -30%; right: -10%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, var(--ce-teal) 0%, transparent 65%);
  opacity: 0.5; pointer-events: none;
}
.ce-hero > .wrap { position: relative; z-index: 1; }

.ce-hero .crumb, .ce-hero .crumb a, .ce-hero .crumb .cur { color: rgba(255,255,255,0.62); }
.ce-hero .crumb a:hover { color: #fff; }

.ce-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--ce-teal-soft);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
}
.ce-hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(42px, 6.2vw, 78px); line-height: 1.0;
  letter-spacing: -0.03em; margin: 22px 0 0; color: #fff;
  text-wrap: balance;
}
.ce-hero h1 em { font-style: italic; font-weight: 400; color: var(--ce-teal-soft); }

/* Sloganul EDUCAȚIE · CONSILIERE · VIITOR */
.ce-slogan {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin: 26px 0 22px;
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(15px, 1.9vw, 21px);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.ce-slogan span { display: inline-flex; align-items: center; gap: 12px; }
.ce-slogan i {
  width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex-shrink: 0;
}
.ce-slogan .d1 { background: #fff; }
.ce-slogan .d2 { background: var(--ce-teal-soft); }
.ce-slogan .d3 { background: var(--ce-green); }
.ce-slogan .d4 { background: var(--ce-coral); }

.ce-tag {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  font-size: 15px; letter-spacing: 0.02em;
  padding: 9px 20px; border-radius: 999px;
  background: var(--ce-teal); color: #fff;
}
.ce-lead {
  font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.86);
  max-width: 62ch; margin: 24px 0 0;
}
.ce-hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.ce-chip {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.18);
}

/* ——— Banner personalizat Constanța ——— */
.ce-banner-wrap { margin-top: -48px; position: relative; z-index: 2; }
.ce-banner {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}
.ce-banner img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.ce-banner figcaption {
  padding: 14px 22px; font-size: 13px; color: var(--ink-muted);
  font-family: var(--mono); letter-spacing: 0.03em;
  border-top: 1px solid var(--line); background: var(--bg-elev);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ——— Cei 3 piloni ——— */
.ce-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ce-pillar {
  position: relative; padding: 30px 28px 28px;
  border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ce-pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ce-pillar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--p-color, var(--ce-teal));
}
.ce-pillar .ce-ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--p-color) 14%, transparent);
  color: var(--p-color); margin-bottom: 18px;
}
.ce-pillar h3 {
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--p-color); margin-bottom: 10px;
}
.ce-pillar p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 900px) { .ce-pillars { grid-template-columns: 1fr; } }

/* ——— Despre + cifre ——— */
.ce-about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.ce-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  position: sticky; top: 110px;
}
.ce-stat {
  padding: 24px 22px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line);
}
.ce-stat b {
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: 34px; line-height: 1; letter-spacing: -0.02em;
  color: var(--ce-teal); margin-bottom: 8px;
}
.ce-stat span { font-size: 12.5px; color: var(--ink-muted); line-height: 1.45; display: block; }
@media (max-width: 980px) {
  .ce-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .ce-stats { position: static; }
}

/* ——— Ce aduce ConsEDU ——— */
.ce-brings { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ce-bring {
  padding: 26px 20px; text-align: center;
  border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--line); transition: all 0.22s ease;
}
.ce-bring:hover { border-color: var(--ce-teal); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ce-bring .ce-ic {
  width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ce-sky); color: var(--ce-navy);
}
[data-theme="dark"] .ce-bring .ce-ic { background: rgba(20,152,154,0.16); color: var(--ce-teal-soft); }
.ce-bring h4 { font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--ink); }
@media (max-width: 1000px) { .ce-brings { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .ce-brings { grid-template-columns: repeat(2, 1fr); } }

/* ——— Rolul CJRAE (callout) ——— */
.ce-role {
  position: relative; overflow: hidden;
  padding: 44px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--ce-navy-deep), var(--ce-navy) 70%);
  color: #fff;
}
.ce-role::before {
  content: ''; position: absolute; bottom: -55%; right: -12%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, var(--ce-teal) 0%, transparent 65%);
  opacity: 0.55; pointer-events: none;
}
.ce-role > * { position: relative; }
.ce-role h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15;
  letter-spacing: -0.01em; margin-bottom: 16px; color: #fff;
}
.ce-role p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.86); max-width: 70ch; margin-bottom: 14px; }
.ce-role .ce-node {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 10px;
  padding: 11px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  font-size: 14px; font-weight: 500;
}
@media (max-width: 640px) { .ce-role { padding: 30px 24px; } }

/* ——— Activități (3 coloane) ——— */
.ce-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ce-act {
  padding: 30px 26px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line);
  border-top: 4px solid var(--a-color, var(--ce-teal));
}
.ce-act-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.ce-act-head .ce-ic {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in oklab, var(--a-color) 14%, transparent);
  color: var(--a-color);
}
.ce-act-head h3 {
  font-family: var(--serif); font-weight: 400; font-size: 23px;
  letter-spacing: -0.01em; color: var(--ink);
}
.ce-act ul { list-style: none; display: grid; gap: 13px; }
.ce-act li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; line-height: 1.55; color: var(--ink-soft);
}
.ce-act li svg { color: var(--a-color); flex-shrink: 0; margin-top: 3px; }
.ce-act li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) { .ce-acts { grid-template-columns: 1fr; } }

/* ——— Închidere: roll-up + identitate vizuală + finanțare ——— */
.ce-close { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; margin-top: 32px; }
.ce-close-main { display: flex; flex-direction: column; gap: 0; }
.ce-rollup {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-card);
  box-shadow: var(--shadow-sm); transition: all 0.22s ease;
}
.ce-rollup:hover { border-color: var(--ce-teal); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ce-rollup img { display: block; width: 100%; height: auto; cursor: zoom-in; }
@media (max-width: 820px) {
  .ce-close { grid-template-columns: 1fr; }
  .ce-rollup { max-width: 280px; margin: 0 auto; }
}

/* ——— Parteneri + identitate vizuală ——— */
.ce-plabel { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: var(--ink-muted); margin: 28px 0 12px; }
.ce-partners { display: flex; flex-wrap: wrap; gap: 12px; }
.ce-partner {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 18px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft); font-weight: 500;
}
.ce-partner svg { color: var(--ce-teal); flex-shrink: 0; }
.ce-partner.lead-partner { background: var(--ce-navy); color: #fff; border-color: var(--ce-navy); }
.ce-partner.lead-partner svg { color: var(--ce-teal-soft); }

.ce-spider {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.ce-spider img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.ce-funding {
  margin-top: 20px; padding: 20px 24px;
  border-radius: var(--radius); background: var(--bg-elev);
  border: 1px solid var(--line);
  font-size: 13px; line-height: 1.65; color: var(--ink-muted);
}
.ce-funding strong { color: var(--ink-soft); font-weight: 600; }

/* ——— Zonă editabilă + noutăți ——— */
.ce-updates { border-top: 1px solid var(--line); padding-top: 8px; }
