/* =====================================================================
   CRESC by CEIDA – stiluri generale (antet, meniu, subsol, blog, galerie,
   pagini simple, cookie-uri). Paginile originale își păstrează stilurile lor.
===================================================================== */
:root {
  --teal: #2b5560;
  --teal-dark: #1f4048;
  --coral: #df7f62;
  --mustard: #e3a640;
  --sage: #7f9f80;
  --mauve: #9a7ea0;
  --purple: #6b5b95;
  --purple-dark: #574a7c;
  --pink: #e9a7b8;
  --ink: #263238;
  --text: #53636a;
  --muted: #7a868c;
  --lilac: #f3eff7;
  --light: #faf8f5;
  --line: #e7e2ec;
  --radius: 22px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--purple); }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 4px; }
html.nav-open, html.ck-open { overflow: hidden; }
.wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.ico { flex: none; display: inline-block; vertical-align: middle; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Bara administrator ---------- */
.admin-bar {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center;
  padding: 7px 16px; background: var(--ink); color: #cfd8dc; font-size: 13px;
}
.admin-bar a { color: #fff; font-weight: 600; }
.admin-ph { display: grid; gap: 6px; text-align: center; color: #8a7d86; font-size: 16px; padding: 20px; }
.admin-ph small { font-size: 12px; opacity: .8; }

/* ---------- Bara de sus ---------- */
.topbar { background: var(--teal); color: #dfeceb; font-size: 13.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.topbar-contact { gap: 8px 26px; flex-wrap: wrap; }
.topbar-contact li, .topbar-contact a { display: inline-flex; align-items: center; gap: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-contact a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.topbar-contact .ico { color: var(--mustard); }
.topbar-social { gap: 4px; }
.topbar-social a {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  transition: background .2s ease;
}
.topbar-social a:hover { background: rgba(255, 255, 255, .14); }

/* ---------- Antet fix ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 10px 30px rgba(38, 50, 56, .07); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); transition: min-height .25s ease; }
.site-header.is-stuck .header-inner { min-height: 70px; }
.brand { display: block; flex: none; }
.brand img { display: block; height: 58px; width: auto; transition: height .25s ease; }
.site-header.is-stuck .brand img { height: 48px; }

.main-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 13px; border-radius: 12px;
  color: var(--ink); text-decoration: none; font-size: 15.5px; font-weight: 600;
  transition: color .2s ease, background .2s ease;
}
.nav-item > a:hover, .nav-item.is-open > a { color: var(--purple); background: var(--lilac); }
.nav-item.is-active > a { color: var(--purple); }
.nav-item.is-active > a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: var(--coral);
}
.nav-item.has-sub.is-active > a::after { margin-left: -10px; }
.nav-item .ico-chevron { transition: transform .2s ease; }
.sub-menu {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 22px 50px rgba(38, 50, 56, .12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-item.has-sub:hover .sub-menu, .nav-item.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-item.has-sub:hover .ico-chevron, .nav-item.is-open .ico-chevron { transform: rotate(180deg); }
.sub-menu a {
  display: block; padding: 10px 14px; border-radius: 11px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
}
.sub-menu a:hover, .sub-menu a[aria-current] { background: var(--lilac); color: var(--purple); }

.header-cta {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 22px; border-radius: 50px;
  background: var(--purple); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 20px rgba(107, 91, 149, .25);
  transition: background .2s ease, transform .2s ease;
}
.header-cta:hover { background: var(--purple-dark); transform: translateY(-2px); }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: #fff; color: var(--ink); font: 600 15px var(--font); cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 4px; width: 20px; }
.nav-toggle-bars i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.nav-toggle-bars i:nth-child(2) { width: 70%; }

/* ---------- Meniu mobil ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 200; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(31, 64, 72, .45); opacity: 0; transition: opacity .25s ease; }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw);
  display: flex; flex-direction: column; gap: 18px; padding: 18px 22px 28px;
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .26s ease;
}
.mobile-nav.is-open .mobile-nav-backdrop { opacity: 1; }
.mobile-nav.is-open .mobile-nav-panel { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav-head img { height: 44px; width: auto; }
.mobile-nav-close {
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--lilac); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer;
}
.m-list, .m-sub, .m-social { list-style: none; margin: 0; padding: 0; }
.m-item { border-bottom: 1px solid var(--line); }
.m-row { display: flex; align-items: center; }
.m-row a { flex: 1; padding: 14px 4px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 600; }
.m-item.is-active > .m-row a { color: var(--purple); }
.m-sub-toggle {
  width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--lilac); color: var(--ink); cursor: pointer;
}
.m-sub-toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.m-sub { padding: 0 0 12px 12px; }
.m-sub a { display: block; padding: 9px 4px; color: var(--text); text-decoration: none; font-size: 16px; }
.m-cta { width: 100%; }
.m-contact { display: grid; gap: 12px; font-size: 15px; color: var(--text); }
.m-contact a, .m-contact span { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.m-contact .ico { color: var(--purple); }
.m-social { display: flex; gap: 8px; }
.m-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lilac); color: var(--teal); }

/* ---------- Subsol ---------- */
.site-footer { background: var(--lilac); color: var(--ink); font-size: 15.5px; }
.footer-stripe { display: grid; grid-template-columns: repeat(5, 1fr); height: 6px; }
.footer-stripe i:nth-child(1) { background: var(--teal); }
.footer-stripe i:nth-child(2) { background: var(--coral); }
.footer-stripe i:nth-child(3) { background: var(--mustard); }
.footer-stripe i:nth-child(4) { background: var(--sage); }
.footer-stripe i:nth-child(5) { background: var(--mauve); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr; gap: 48px; padding: 64px 0 48px; }
.footer-logo img { display: block; height: 72px; width: auto; }
.footer-brand p { margin: 18px 0 0; max-width: 360px; color: var(--text); line-height: 1.7; }
.footer-social { list-style: none; margin: 22px 0 0; padding: 0; display: flex; gap: 8px; }
.footer-social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; color: var(--teal); transition: background .2s ease, color .2s ease;
}
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-col h2 { margin: 6px 0 16px; font-size: 16px; color: var(--teal); letter-spacing: .2px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col li.sub { padding-left: 14px; font-size: 14.5px; }
.footer-col a { color: var(--ink); text-decoration: none; }
.footer-col a:hover { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li, .footer-contact li a { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact .ico { margin-top: 3px; color: var(--purple); }
.footer-badges { display: grid; gap: 10px; margin-top: 22px; }
.badge-anpc {
  display: flex; flex-direction: column; max-width: 250px; padding: 9px 14px;
  border: 1px solid #d9d1e3; border-radius: 12px; background: #fff;
  color: var(--ink) !important; text-decoration: none !important; line-height: 1.3;
}
.badge-anpc strong { font-size: 13px; color: var(--teal); }
.badge-anpc span { font-size: 12.5px; color: var(--text); }
.badge-anpc img { display: block; width: 100%; height: auto; }
.footer-bottom { border-top: 1px solid #e2daea; font-size: 14px; color: var(--text); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px 0 24px; }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a, .footer-legal .linklike { color: var(--text); text-decoration: none; font-size: 14px; }
.footer-legal a:hover, .footer-legal .linklike:hover { color: var(--purple); text-decoration: underline; }

/* ---------- Butoane generale ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 26px; border-radius: 50px; border: 2px solid transparent;
  font: 700 15.5px var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--purple); border-color: var(--purple); }
.btn-ghost:hover { background: var(--purple); color: #fff; }

/* ---------- Pagini simple (create din admin, pagini legale, 404) ---------- */
.rt-container { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.rt-hero {
  position: relative; overflow: hidden; padding: 84px 0 64px;
  background: linear-gradient(135deg, #faf7f3 0%, #f4eef7 100%);
}
.rt-hero::after {
  content: ""; position: absolute; right: -110px; top: -120px; width: 340px; height: 340px; border-radius: 50%;
  background: rgba(233, 167, 184, .22); pointer-events: none;
}
.rt-hero .rt-container { position: relative; z-index: 1; }
.rt-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; color: var(--purple); letter-spacing: -1px; }
.rt-kicker { margin: 0 0 12px; color: var(--coral); font-weight: 700; }
.rt-lead { margin: 18px 0 0; max-width: 640px; font-size: 19px; line-height: 1.7; color: var(--text); }
.rt-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rt-body { padding: 56px 0 90px; }

.prose { font-size: 17.5px; line-height: 1.8; color: var(--text); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin: 2em 0 .6em; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; color: var(--ink); }
.prose h3 { margin: 1.6em 0 .5em; font-size: 21px; line-height: 1.3; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--purple); }
.prose strong { color: var(--ink); }
.prose a { color: var(--purple); text-underline-offset: 3px; }
.prose img { display: block; margin: 1.6em auto; border-radius: 18px; }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--pink);
  background: var(--light); border-radius: 0 16px 16px 0; color: var(--ink); font-size: 19px;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--lilac); color: var(--ink); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }

/* ---------- Formulare (completări pentru paginile originale) ---------- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-consent {
  grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 11px;
  font-size: 14px; line-height: 1.55; color: var(--text); text-align: left;
}
.form-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--purple); }
.form-consent label { cursor: pointer; font-weight: 400 !important; font-size: 14px !important; margin: 0 !important; text-transform: none !important; letter-spacing: 0 !important; }
.form-consent a { color: var(--purple); font-weight: 600; }
.form-alert {
  margin: 0 0 20px; padding: 14px 18px; border-radius: 14px; font-size: 15.5px; line-height: 1.5; font-weight: 600;
}
.form-alert.is-success { background: #e4f2ea; color: #23573a; border: 1px solid #bfe0cc; }
.form-alert.is-error { background: #fbe8ea; color: #8a2433; border: 1px solid #f2c4cb; }
button[aria-busy="true"] { opacity: .7; cursor: progress; }

/* ---------- Blog ---------- */
.blog-hero { padding-bottom: 46px; }
.blog-cats { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.blog-cats a {
  display: inline-block; padding: 8px 16px; border-radius: 40px; background: #fff;
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600;
}
.blog-cats a:hover { border-color: var(--purple); color: var(--purple); }
.blog-cats a[aria-current] { background: var(--purple); border-color: var(--purple); color: #fff; }
.blog-list { padding: 56px 0 90px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.post-card { display: flex; flex-direction: column; }
.post-card-img {
  display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 22px; background: #efe8f1;
}
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.post-card:hover .post-card-img img { transform: scale(1.04); }
.post-card-img.is-empty { display: grid; place-items: center; background: linear-gradient(135deg, #f7eef3, #eef6f0); }
.post-card-img.is-empty img { width: 46%; height: auto; opacity: .5; }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 18px 0 8px; font-size: 13.5px; color: var(--muted); }
.post-meta a { color: var(--coral); font-weight: 700; text-decoration: none; }
.post-card h2 { margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--purple); }
.post-card p { margin: 0 0 14px; color: var(--text); font-size: 16px; line-height: 1.65; }
.post-card .read-more { margin-top: auto; font-weight: 700; font-size: 15px; text-decoration: none; }
.post-card .read-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.empty-state { padding: 40px; border-radius: 22px; background: var(--light); text-align: center; color: var(--text); }
.empty-state p { margin: 0; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span {
  display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 14px;
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700;
}
.pagination a:hover { border-color: var(--purple); color: var(--purple); }
.pagination [aria-current] { background: var(--purple); border-color: var(--purple); color: #fff; }

.article-hero { padding: 72px 0 40px; }
.article-hero .post-meta { margin: 0 0 16px; }
.article-cover { width: min(1060px, calc(100% - 40px)); margin: 0 auto; }
.article-cover img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: 28px; }
.article-body { padding: 52px 0 40px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 26px 0 0; margin-top: 36px; border-top: 1px solid var(--line); }
.share > span { font-weight: 700; color: var(--ink); margin-right: 4px; }
.share a, .share button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 40px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 14px var(--font); text-decoration: none; cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--purple); color: var(--purple); }
.related { padding: 30px 0 90px; }
.related h2 { margin: 0 0 26px; font-size: 26px; }

/* ---------- Galerie ---------- */
.gallery-albums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; padding: 56px 0 90px; }
.album-card { text-decoration: none; color: var(--ink); }
.album-cover { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, #f7eef3, #eef6f0); }
.album-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.album-card:hover .album-cover img { transform: scale(1.04); }
.album-card h2 { margin: 16px 0 4px; font-size: 21px; }
.album-card:hover h2 { color: var(--purple); }
.album-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.gallery-grid { columns: 3 280px; column-gap: 18px; padding: 50px 0 90px; }
.gallery-item { display: block; margin: 0 0 18px; break-inside: avoid; border-radius: 18px; overflow: hidden; background: #efe8f1; }
.gallery-item img { display: block; width: 100%; height: auto; transition: transform .4s ease, opacity .3s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-back { display: inline-flex; margin-top: 22px; font-weight: 700; text-decoration: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center;
  background: rgba(20, 30, 34, .94); color: #fff;
}
.lightbox[hidden] { display: none; }
.lb-figure { grid-column: 2; margin: 0; display: grid; justify-items: center; gap: 12px; max-height: 100vh; padding: 60px 0; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 10px; }
.lb-figure figcaption { font-size: 15px; color: #dfe5e7; text-align: center; }
.lightbox button { border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; border-radius: 50%; }
.lb-prev, .lb-next { width: 50px; height: 50px; font-size: 34px; line-height: 1; justify-self: center; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; font-size: 30px; }
.lb-count { position: absolute; top: 18px; left: 22px; margin: 0; font-size: 14px; color: #bfc9cc; }

/* ---------- Cookie-uri ---------- */
.ck-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250;
  max-width: 1080px; margin: 0 auto; padding: 22px 26px;
  background: #fff; border-radius: 22px; border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(31, 64, 72, .22);
}
.ck-banner[hidden], .ck-modal[hidden] { display: none; }
.ck-banner-inner { display: flex; align-items: center; gap: 26px; }
.ck-text h2 { margin: 0 0 6px; font-size: 18px; color: var(--ink); }
.ck-text p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.ck-text a { font-weight: 600; white-space: nowrap; }
.ck-actions { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ck-btn {
  min-height: 46px; padding: 10px 20px; border-radius: 40px; border: 2px solid var(--purple);
  background: var(--purple); color: #fff; font: 700 14.5px var(--font); cursor: pointer;
}
.ck-btn:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.ck-btn-link { background: transparent; color: var(--purple); border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.ck-btn-link:hover { background: var(--lilac); border-color: var(--lilac); }
.ck-modal { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; padding: 16px; }
.ck-modal-backdrop { position: absolute; inset: 0; background: rgba(31, 64, 72, .5); }
.ck-modal-box {
  position: relative; width: min(600px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px rgba(0, 0, 0, .25);
}
.ck-modal-box:focus { outline: none; }
.ck-modal-box h2 { margin: 0 0 8px; font-size: 23px; }
.ck-modal-box > p { margin: 0 0 18px; font-size: 15px; color: var(--text); }
.ck-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--lilac); font-size: 26px; cursor: pointer; color: var(--ink); }
.ck-cat { padding: 16px 0; border-top: 1px solid var(--line); }
.ck-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ck-cat-head label { cursor: pointer; }
.ck-cat p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--text); }
.ck-always { font-size: 13px; font-weight: 700; color: var(--sage); }
.ck-switch { position: relative; width: 50px; height: 28px; flex: none; }
.ck-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.ck-switch span { position: absolute; inset: 0; border-radius: 30px; background: #cfd5d8; transition: background .2s ease; }
.ck-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.ck-switch input:checked + span { background: var(--purple); }
.ck-switch input:checked + span::after { transform: translateX(22px); }
.ck-switch input:focus-visible + span { outline: 3px solid var(--mustard); outline-offset: 2px; }
.ck-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .main-nav, .header-inner > .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { min-height: 72px; }
  .brand img { height: 50px; }
  :root { --header-h: 72px; }
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .post-grid, .gallery-albums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ck-banner-inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .ck-actions { justify-content: flex-end; }
}
@media (max-width: 760px) {
  .topbar .tb-address { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 28px); }
  .topbar { font-size: 13px; }
  .topbar-inner { min-height: 38px; gap: 10px; }
  .topbar-contact { gap: 14px; }
  .topbar .tb-email span { display: none; }
  .topbar-social a { width: 30px; height: 30px; }
  .header-inner { min-height: 64px; gap: 12px; }
  .site-header.is-stuck .header-inner { min-height: 60px; }
  .brand img, .site-header.is-stuck .brand img { height: 42px; }
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 11px 12px; }
  :root { --header-h: 64px; }
  .footer-grid { grid-template-columns: 1fr; padding: 48px 0 34px; gap: 30px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .post-grid, .gallery-albums { grid-template-columns: 1fr; }
  .rt-container { width: calc(100% - 28px); }
  .rt-hero { padding: 58px 0 44px; }
  .rt-body { padding: 40px 0 64px; }
  .prose { font-size: 16.5px; }
  .article-cover { width: calc(100% - 28px); }
  .article-cover img { border-radius: 20px; }
  .ck-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .ck-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .ck-actions .ck-btn-link { grid-column: 1 / -1; order: 3; }
  .ck-modal-box { padding: 24px 20px; }
  .ck-modal-actions { display: grid; grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-figure { grid-column: 1; padding: 64px 8px 80px; }
  .lb-prev, .lb-next { position: absolute; bottom: 18px; grid-row: auto; }
  .lb-prev { left: 22%; }
  .lb-next { right: 22%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .topbar, .site-header, .site-footer, .ck-banner, .ck-modal, .admin-bar { display: none !important; }
}

/* =====================================================================
   Blocuri adăugate din administrare
===================================================================== */
.tb { padding: 84px 0; font-family: inherit; color: var(--ink); }
.tb-bg-white { background: #fff; }
.tb-bg-cream { background: var(--light); }
.tb-bg-lilac { background: var(--lilac); }
.tb-bg-green { background: #eef6f1; }
.tb-bg-pink { background: #fbf0f3; }
.tb-wrap { width: min(1150px, calc(100% - 40px)); margin: 0 auto; }
.tb-narrow { max-width: 820px; margin: 0 auto; }
.tb-head { margin-bottom: 34px; }
.tb-head.tb-center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.tb-kicker { display: inline-block; margin-bottom: 14px; padding: 7px 15px; border-radius: 40px; background: #eee8f7; color: var(--purple); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.tb-title { margin: 0 0 16px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; letter-spacing: -.6px; color: var(--purple); }
.tb-intro { margin: 0; font-size: 18px; line-height: 1.8; color: var(--text); }
.tb .prose { color: var(--text); }
.tb-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 26px; border-radius: 50px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, background .2s; }
.tb-btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 25px rgba(107, 91, 149, .25); }
.tb-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(107, 91, 149, .32); }
.tb-btn-ghost { background: #fff; color: var(--purple); border: 2px solid var(--purple); }
.tb-btn-ghost:hover { background: var(--purple); color: #fff; }
.tb-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

.tb-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.tb-split-left .tb-media { order: -1; }
.tb-split-noimg { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.tb-split .tb-btn { margin-top: 10px; }
.tb-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 30px; box-shadow: 0 25px 60px rgba(38, 50, 56, .12); }

.tb-cards { display: grid; gap: 24px; }
.tb-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tb-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tb-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tb-card { position: relative; overflow: hidden; padding: 30px; border-radius: 26px; background: #fff; border: 1px solid rgba(38, 50, 56, .05); box-shadow: 0 12px 35px rgba(38, 50, 56, .05); transition: transform .3s ease, box-shadow .3s ease; }
.tb-bg-white .tb-card { background: var(--light); box-shadow: none; }
.tb-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(38, 50, 56, .10); }
.tb-card::after { content: ""; position: absolute; right: -45px; bottom: -60px; width: 130px; height: 130px; border-radius: 50%; background: var(--pink); opacity: .16; }
.tb-card:nth-child(4n+2)::after { background: var(--sage); }
.tb-card:nth-child(4n+3)::after { background: var(--mustard); }
.tb-card:nth-child(4n+4)::after { background: #8eb8df; }
.tb-card-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 18px; background: #f3edf8; font-size: 27px; }
.tb-card h3 { position: relative; z-index: 1; margin: 0 0 10px; font-size: 21px; line-height: 1.3; }
.tb-card p { position: relative; z-index: 1; margin: 0; color: var(--text); font-size: 16px; line-height: 1.75; }

.tb-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tb-checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 8px 30px rgba(38, 50, 56, .05); }
.tb-bg-white .tb-checklist li { background: var(--light); box-shadow: none; }
.tb-check { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #8bbf9f; color: #fff; font-weight: 700; }
.tb-checklist p { margin: 4px 0 0; font-size: 17px; line-height: 1.65; color: var(--ink); }

.tb-quote { position: relative; overflow: hidden; max-width: 900px; margin: 0 auto; padding: 56px 46px; border-radius: 34px; background: #fff; text-align: center; box-shadow: 0 18px 45px rgba(38, 50, 56, .06); }
.tb-bg-lilac .tb-quote, .tb-bg-pink .tb-quote, .tb-bg-green .tb-quote, .tb-bg-cream .tb-quote { background: rgba(255, 255, 255, .7); }
.tb-bg-white .tb-quote { background: #eee8f7; box-shadow: none; }
.tb-quote::before { content: "“"; position: absolute; top: -30px; left: 26px; font: 700 160px/1 Georgia, serif; color: var(--pink); opacity: .35; }
.tb-quote blockquote { position: relative; margin: 0; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.8; color: var(--ink); }
.tb-quote figcaption { margin-top: 18px; font-weight: 700; color: var(--purple); }

.tb-cta { text-align: center; max-width: 820px; margin: 0 auto; }

.tb-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tb-gal-item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 18px; background: #efe8f1; }
.tb-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tb-gal-item:hover img { transform: scale(1.05); }
.tb-more { text-align: center; margin: 30px 0 0; }

.tb-faq { display: grid; gap: 12px; }
.tb-faq-item { border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.tb-bg-white .tb-faq-item { background: var(--light); }
.tb-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 17px; color: var(--ink); }
.tb-faq-item summary::-webkit-details-marker { display: none; }
.tb-faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lilac); color: var(--purple); font-size: 20px; transition: transform .2s; }
.tb-faq-item[open] summary::after { transform: rotate(45deg); }
.tb-faq-a { padding: 0 22px 18px; color: var(--text); line-height: 1.75; }
.tb-faq-a p { margin: 0; }
.tb-html { width: min(1150px, calc(100% - 40px)); margin: 40px auto; }
.tb-html iframe { max-width: 100%; border: 0; border-radius: 18px; }

@media (max-width: 900px) {
  .tb-split { grid-template-columns: 1fr; gap: 34px; }
  .tb-split-left .tb-media { order: 0; }
  .tb-cols-3, .tb-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .tb { padding: 60px 0; }
  .tb-wrap { width: calc(100% - 28px); }
  .tb-cols-2, .tb-cols-3, .tb-cols-4 { grid-template-columns: 1fr; }
  .tb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tb-quote { padding: 44px 22px; border-radius: 26px; }
  .tb-card { padding: 24px; }
}

/* =====================================================================
   Blocuri v2 – antet, cifre, informații, cartonașe, carduri cu link
===================================================================== */
.tb { font-family: var(--font); }
.tb-bg-teal { background: var(--teal); color: #fff; }
.tb-bg-teal .tb-title, .tb-bg-teal .tb-intro, .tb-bg-teal .tb-rt, .tb-bg-teal .prose, .tb-bg-teal .tb-note { color: #fff; }
.tb-bg-teal .tb-kicker { background: rgba(255, 255, 255, .14); color: #fff; }
.tb-bg-teal .tb-btn-primary { background: #fff; color: var(--teal); box-shadow: none; }
.tb-bg-teal .tb-btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.tb-bg-teal .tb-btn-ghost:hover { background: #fff; color: var(--teal); }
.tb-rt > :first-child { margin-top: 0; }
.tb-rt > :last-child { margin-bottom: 0; }
.tb-rt p { margin: 0 0 .8em; }
.tb-rt ul, .tb-rt ol { margin: 0 0 .8em; padding-left: 1.2em; }
.tb-rt a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.tb-intro.tb-rt, div.tb-intro { font-size: 18px; line-height: 1.8; color: var(--text); }
.tb-text-center { text-align: center; }
.tb-text-center .prose ul, .tb-text-center .prose ol { text-align: left; display: inline-block; }

/* Antet de pagină */
.tb-type-hero { padding: 72px 0 80px; position: relative; overflow: hidden; }
.tb-type-hero.tb-bg-cream { background: linear-gradient(135deg, #faf7f3 0%, #f6eff4 100%); }
.tb-type-hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -150px; border-radius: 50%; background: rgba(233, 167, 184, .18); pointer-events: none; }
.tb-type-hero::after { content: ""; position: absolute; width: 260px; height: 260px; left: -110px; bottom: -120px; border-radius: 50%; background: rgba(127, 159, 128, .14); pointer-events: none; }
.tb-hero { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.tb-hero-noimg { grid-template-columns: 1fr; max-width: 860px; }
.tb-hero-title { margin: 0 0 18px; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.06; letter-spacing: -1.4px; color: var(--purple); }
.tb-hero-sub { margin: 0 0 22px; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; color: var(--ink); font-weight: 600; }
.tb-hero-body { margin: 0; font-size: 18px; line-height: 1.8; color: var(--text); }
.tb-hero-body.tb-rt p { margin-bottom: .9em; }
.tb-hls { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tb-hl { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 40px; font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.tb-hl::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.tb-hl-0 { background: #fbe4db; color: #9a4a31; }
.tb-hl-1 { background: #fbefd5; color: #7a5717; }
.tb-hl-2 { background: #e4eee4; color: #3f5f41; }
.tb-hl-3 { background: #dcebee; color: #2b5560; }
.tb-hl-4 { background: #efe6f1; color: #6d5574; }
.tb-type-hero .tb-actions { justify-content: flex-start; margin-top: 30px; }
.tb-hero-media img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 32px; box-shadow: 0 28px 60px rgba(38, 50, 56, .14); }

/* Carduri cu link */
.tb-card.has-link { display: flex; flex-direction: column; }
.tb-card-link { position: relative; z-index: 1; display: inline-block; margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--purple); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tb-card-link:hover { color: var(--teal); }
.tb-card .tb-rt, .tb-card > p { position: relative; z-index: 1; color: var(--text); font-size: 16px; line-height: 1.75; margin: 0; }

/* Listă cu bife: text final */
.tb-checklist li > p, .tb-checklist li > .tb-rt { margin: 4px 0 0; font-size: 17px; line-height: 1.65; color: var(--ink); }
.tb-outro { margin: 28px 0 0; font-size: 17.5px; line-height: 1.8; color: var(--text); }

/* Cifre importante */
.tb-type-stats { padding: 56px 0; }
.tb-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.tb-stat { flex: 1 1 200px; max-width: 300px; display: grid; justify-items: center; text-align: center; gap: 4px; padding: 26px 20px; border-radius: 24px; background: #fff; }
.tb-bg-white .tb-stat { background: var(--light); }
.tb-stat strong { font-size: clamp(34px, 4vw, 46px); line-height: 1; letter-spacing: -1px; }
.tb-stat span { font-weight: 700; color: var(--ink); font-size: 16px; }
.tb-stat small { color: var(--text); font-size: 14px; }
.tb-stat-0 strong { color: var(--teal); }
.tb-stat-1 strong { color: #b9583a; }
.tb-stat-2 strong { color: #a8691a; }
.tb-stat-3 strong { color: #557a58; }
.tb-stat-4 strong { color: #7a5f86; }

/* Înscriere și informații */
.tb-info { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.tb-info-nocard { grid-template-columns: 1fr; max-width: 820px; }
.tb-info .tb-actions { justify-content: flex-start; }
.tb-note { margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.tb-info-card { padding: 30px 30px 18px; border-radius: 28px; background: #fff; box-shadow: 0 20px 50px rgba(38, 50, 56, .08); color: var(--ink); }
.tb-info-card h3 { margin: 0 0 8px; font-size: 19px; color: var(--teal); }
.tb-info-card dl { margin: 0; }
.tb-info-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.tb-info-row:last-child { border-bottom: 0; }
.tb-info-row dt { font-size: 13px; font-weight: 700; letter-spacing: .4px; color: var(--muted); padding-top: 2px; }
.tb-info-row dd { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.45; }
.tb-info-row dd a { color: var(--purple); text-decoration: none; }
.tb-info-row dd a:hover { text-decoration: underline; }

/* ===== Întrebări pe cartonașe ===== */
.fc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.fc { perspective: 1400px; }
.fc-inner { position: relative; display: grid; height: 100%; min-height: 240px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2, .75, .25, 1); }
.fc-face { grid-area: 1 / 1; display: flex; flex-direction: column; min-height: 240px; padding: 28px 26px 22px; border-radius: 26px; -webkit-backface-visibility: hidden; backface-visibility: hidden; text-align: left; }
.fc-front { width: 100%; border: 0; margin: 0; font: inherit; cursor: pointer; color: #fff; position: relative; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; box-shadow: 0 14px 32px rgba(38, 50, 56, .12); }
.fc-front::after { content: "?"; position: absolute; right: -8px; bottom: -42px; font: 800 170px/1 var(--font); opacity: .12; pointer-events: none; }
.fc-front:hover { box-shadow: 0 22px 44px rgba(38, 50, 56, .2); }
.fc-front:focus-visible { outline: 3px solid var(--mustard); outline-offset: 4px; }
.fc-tag { align-self: flex-start; margin-bottom: 16px; padding: 5px 12px; border-radius: 30px; background: rgba(255, 255, 255, .2); font-size: 12.5px; font-weight: 700; letter-spacing: .3px; }
.fc-q { position: relative; font-size: clamp(19px, 1.6vw, 22px); font-weight: 800; line-height: 1.32; }
.fc-hint { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 600; opacity: .92; }
.fc-hint::before { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0 1 13.7-5.6M20 4v5h-5M20 12a8 8 0 0 1-13.7 5.6M4 20v-5h5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.fc-back { transform: rotateY(180deg); background: #fff; color: var(--ink); border: 2px solid; box-shadow: 0 14px 32px rgba(38, 50, 56, .1); cursor: pointer; }
.fc-q-small { margin: 0 0 12px; font-size: 13.5px; font-weight: 700; line-height: 1.45; }
.fc-a { font-size: 16.5px; line-height: 1.7; color: var(--ink); }
.fc-a p { margin: 0 0 .7em; }
.fc-a p:last-child { margin-bottom: 0; }
.fc-a ul { margin: 0 0 .7em; padding-left: 1.2em; }
.fc-a a { color: var(--purple); font-weight: 600; }
.fc-back-btn { align-self: flex-start; margin-top: auto; padding: 8px 0 0; border: 0; background: none; font: 700 14px var(--font); color: var(--muted); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fc-back-btn:hover { color: var(--ink); }
.fc.is-flipped .fc-inner { transform: rotateY(180deg); }
.fc-back > .fc-back-btn { margin-top: auto; }
.fc-back .fc-a { margin-bottom: 16px; }

/* culori: logo, pe rând */
.fc-pal-brand .fc-c0 .fc-front { background: #2b5560; }
.fc-pal-brand .fc-c1 .fc-front { background: #b9583a; }
.fc-pal-brand .fc-c2 .fc-front { background: #e3a640; color: #2b2117; }
.fc-pal-brand .fc-c3 .fc-front { background: #557a58; }
.fc-pal-brand .fc-c4 .fc-front { background: #7a5f86; }
.fc-pal-brand .fc-c2 .fc-tag { background: rgba(43, 33, 23, .1); }
.fc-pal-brand .fc-c0 .fc-back { border-color: #2b5560; } .fc-pal-brand .fc-c0 .fc-q-small { color: #2b5560; }
.fc-pal-brand .fc-c1 .fc-back { border-color: #df7f62; } .fc-pal-brand .fc-c1 .fc-q-small { color: #9a4a31; }
.fc-pal-brand .fc-c2 .fc-back { border-color: #e3a640; } .fc-pal-brand .fc-c2 .fc-q-small { color: #7a5717; }
.fc-pal-brand .fc-c3 .fc-back { border-color: #7f9f80; } .fc-pal-brand .fc-c3 .fc-q-small { color: #3f5f41; }
.fc-pal-brand .fc-c4 .fc-back { border-color: #9a7ea0; } .fc-pal-brand .fc-c4 .fc-q-small { color: #6d5574; }
.fc-pal-purple .fc-front { background: var(--purple); }
.fc-pal-purple .fc-back { border-color: var(--purple); } .fc-pal-purple .fc-q-small { color: var(--purple); }
.fc-pal-teal .fc-front { background: var(--teal); }
.fc-pal-teal .fc-back { border-color: var(--teal); } .fc-pal-teal .fc-q-small { color: var(--teal); }
.fc-pal-soft .fc-front { background: #f3edf8; color: var(--ink); }
.fc-pal-soft .fc-c1 .fc-front { background: #fbe9e2; }
.fc-pal-soft .fc-c2 .fc-front { background: #fbf1dc; }
.fc-pal-soft .fc-c3 .fc-front { background: #e8f1e8; }
.fc-pal-soft .fc-c4 .fc-front { background: #e3eff1; }
.fc-pal-soft .fc-tag { background: rgba(38, 50, 56, .07); }
.fc-pal-soft .fc-back { border-color: #d9cfe6; } .fc-pal-soft .fc-q-small { color: var(--purple); }

.fc-pal-brand .fc-c2 .fc-hint::before, .fc-pal-soft .fc-hint::before { background-color: rgba(38, 50, 56, .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23263238' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0 1 13.7-5.6M20 4v5h-5M20 12a8 8 0 0 1-13.7 5.6M4 20v-5h5'/%3E%3C/svg%3E"); }

/* fără JavaScript: răspunsul apare sub întrebare */
.fc-grid:not(.fc-js) .fc-inner { transform: none !important; }
.fc-grid:not(.fc-js) .fc-face { grid-area: auto; -webkit-backface-visibility: visible; backface-visibility: visible; min-height: 0; }
.fc-grid:not(.fc-js) .fc-back { transform: none; margin-top: -18px; border-radius: 0 0 26px 26px; }
.fc-grid:not(.fc-js) .fc-hint, .fc-grid:not(.fc-js) .fc-back-btn, .fc-grid:not(.fc-js) .fc-q-small { display: none; }

@media (prefers-reduced-motion: reduce) {
  .fc-inner { transition: none; transform: none !important; }
  .fc-js .fc-back { transform: none; visibility: hidden; }
  .fc-js .fc.is-flipped .fc-back { visibility: visible; }
  .fc-js .fc.is-flipped .fc-front { visibility: hidden; }
}

/* ===== Responsive v2 ===== */
@media (max-width: 1100px) {
  .fc-grid.tb-cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tb-hero { grid-template-columns: 1fr; gap: 36px; }
  .tb-hero-media { order: -1; }
  .tb-hero-media img { aspect-ratio: 16 / 10; border-radius: 24px; }
  .tb-type-hero { padding: 44px 0 60px; }
  .tb-info { grid-template-columns: 1fr; gap: 34px; }
  .fc-grid.tb-cols-3, .fc-grid.tb-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .tb-hero-title { letter-spacing: -.8px; }
  .tb-hl { font-size: 14.5px; padding: 8px 13px; }
  .tb-type-hero .tb-actions { flex-direction: column; align-items: stretch; }
  .tb-actions .tb-btn { width: 100%; }
  .fc-grid.tb-cols-2, .fc-grid.tb-cols-3, .fc-grid.tb-cols-4 { grid-template-columns: 1fr; }
  .fc-inner, .fc-face { min-height: 200px; }
  .fc-face { padding: 24px 22px 20px; border-radius: 22px; }
  .tb-stats { gap: 12px; }
  .tb-stat { flex: 1 1 140px; padding: 20px 14px; }
  .tb-info-card { padding: 22px 20px 10px; }
  .tb-info-row { grid-template-columns: 1fr; gap: 2px; }
}
.footer-partner { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 20px; font-size: 13.5px; color: var(--text); }
.footer-partner img { display: block; height: 46px; width: auto; max-width: 180px; object-fit: contain; }
.footer-stripe { border-top: 4px solid #fff; }
@media (max-width: 600px) {
  .tb-stats { flex-wrap: nowrap; gap: 8px; }
  .tb-stat { flex: 1 1 0; min-width: 0; padding: 18px 6px; border-radius: 18px; }
  .tb-stat strong { font-size: 27px; letter-spacing: -.5px; }
  .tb-stat span { font-size: 13.5px; line-height: 1.3; }
  .tb-stat small { font-size: 12px; line-height: 1.35; }
}

/* ===== Meniu pe un singur rând ===== */
.site-header .wrap, .topbar .wrap { width: min(1360px, calc(100% - 40px)); }
.main-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
.nav-list { flex-wrap: nowrap; }
.nav-item > a { white-space: nowrap; padding: 10px 12px; }
.header-cta { white-space: nowrap; }
@media (max-width: 1440px) { .nav-item > a { font-size: 15px; padding: 10px 10px; } .header-inner { gap: 20px; } }
/* dacă elementele nu încap pe un rând, meniul devine „Meniu” (setat automat din site.js) */
.site-header.nav-collapsed .main-nav,
.site-header.nav-collapsed .header-inner > .header-cta { display: none; }
.site-header.nav-collapsed .nav-toggle { display: inline-flex; }
.site-header.nav-measuring .main-nav { visibility: hidden; }

/* ===== Pictograme cu linie ===== */
.svg-ic { display: block; width: 28px; height: 28px; }
.svg-ic-inline { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -0.12em; color: var(--teal); }
.tb-card-icon.is-svg { width: 60px; height: 60px; border-radius: 18px; font-size: 0; }
.tb-card-icon .svg-ic { width: 32px; height: 32px; }
.tb-ic-0 { background: #dcebee; color: #2b5560; }
.tb-ic-1 { background: #fbe4db; color: #a64c30; }
.tb-ic-2 { background: #fbefd5; color: #8a6114; }
.tb-ic-3 { background: #e4eee4; color: #44674a; }
.tb-ic-4 { background: #efe6f1; color: #6d5574; }
.tb-card:hover .tb-card-icon.is-svg { transform: translateY(-2px); }
.tb-card-icon { transition: transform .25s ease; }
