/* Dincolo de Limite — stilurile comune ale platformei (previzualizare). */
:root {
  --ddl-noapte: #241a2c;
  --ddl-noapte-2: #3a2a45;
  --ddl-prun: #5a3f5f;
  --ddl-aur: #e3b45c;
  --ddl-aur-2: #b9852d;
  --ddl-aur-text: #8a5f17;
  --ddl-crem: #f8f2e8;
  --ddl-crem-2: #f2e7d5;
  --ddl-alb: #fffdf9;
  --ddl-cerneala: #2a2230;
  --ddl-cerneala-2: #5d5462;
  --ddl-linie: #e8dcc7;
  --ddl-verde: #3f8f5a;
  --ddl-r: 18px;
  --ddl-umbra: 0 10px 30px -18px rgb(58 42 69 / 0.45);
  --ddl-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --ddl-titlu: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --ddl-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
/* Previzualizare privată: pagina rămâne ascunsă până confirmă ddl.js că e contul de administrator. */
html:not(.ddl-acces) body { visibility: hidden; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ddl-crem); color: var(--ddl-cerneala);
  font-family: var(--ddl-sans); font-size: 16px; line-height: 1.55;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
.ddl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- antet ---------- */
.ddl-antet {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 1rem; color: #fff;
}
.ddl-antet--plin { position: sticky; top: 0; background: var(--ddl-noapte); box-shadow: 0 6px 20px -14px rgb(0 0 0 / 0.6); }
.ddl-marca { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; min-width: 0; }
.ddl-marca img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.ddl-marca strong { display: block; font-family: var(--ddl-titlu); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.04em; line-height: 1.1; }
.ddl-marca span { display: block; font-size: 0.66rem; opacity: 0.88; }
@media (min-width: 900px) { .ddl-marca span { font-size: 0.72rem; } }
.ddl-nav { display: none; gap: 1.6rem; font-weight: 600; font-size: 0.95rem; }
.ddl-nav a { text-decoration: none; opacity: 0.92; padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.ddl-nav a:hover, .ddl-nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--ddl-aur); }
.ddl-antet__dreapta { display: flex; align-items: center; gap: 0.6rem; }
.ddl-buton-icon {
  width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgb(255 255 255 / 0.55); background: rgb(255 255 255 / 0.06); color: #fff; text-decoration: none; cursor: pointer;
}
.ddl-buton-icon svg { width: 22px; height: 22px; }
.ddl-doar-desktop { display: none !important; }
@media (min-width: 900px) {
  .ddl-antet { padding: 1rem 2.2rem; }
  .ddl-nav { display: flex; }
  .ddl-doar-desktop { display: inline-flex !important; }
  .ddl-doar-mobil { display: none !important; }
}

/* ---------- butoane ---------- */
.ddl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.7rem 1.4rem; border-radius: 12px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.ddl-btn svg { width: 20px; height: 20px; flex: none; }
.ddl-btn--aur {
  background: linear-gradient(135deg, #ecc472, var(--ddl-aur-2)); color: #fff;
  box-shadow: 0 10px 24px -12px rgb(185 133 45 / 0.9), inset 0 1px 0 rgb(255 255 255 / 0.35);
  text-shadow: 0 1px 1px rgb(90 55 10 / 0.35);
}
.ddl-btn--aur:hover { transform: translateY(-1px); }
.ddl-btn--contur { border-color: rgb(255 255 255 / 0.85); color: #fff; background: rgb(30 20 40 / 0.18); }
.ddl-btn--contur:hover { background: rgb(255 255 255 / 0.12); }
.ddl-btn--deschis { background: var(--ddl-alb); border-color: var(--ddl-linie); color: var(--ddl-cerneala); }
.ddl-btn--deschis:hover { border-color: var(--ddl-aur-2); }
.ddl-btn--mic { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.9rem; border-radius: 999px; }
.ddl-btn[disabled], .ddl-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.ddl-pregatire {
  display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.65rem; border-radius: 999px;
  background: #f1e3c4; color: var(--ddl-aur-text); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap;
}
.ddl-pregatire::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.ddl-eticheta-exemplu {
  display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; border: 1px dashed var(--ddl-aur-2);
  color: var(--ddl-aur-text); font-size: 0.75rem; font-weight: 700;
}
.ddl-real { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.65rem; border-radius: 999px; background: #e1f0e5; color: #2c6b41; font-size: 0.75rem; font-weight: 700; }

/* ---------- hero ---------- */
.ddl-hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(160deg, #3a2840 0%, #7a5160 45%, #d39a6a 100%);
  padding: 6.2rem 1.15rem 2rem;
}
.ddl-hero__foto {
  position: absolute; z-index: -2; right: 0; top: 0; width: 78%; height: 64%;
  background: url(img/hero.jpg) 30% 20% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%), linear-gradient(0deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-composite: intersect;
}
.ddl-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(42 28 48 / 0.72) 0%, rgb(42 28 48 / 0.35) 55%, rgb(42 28 48 / 0) 100%),
              linear-gradient(180deg, rgb(36 26 44 / 0.45) 0%, rgb(36 26 44 / 0) 25%, rgb(36 26 44 / 0) 70%, rgb(248 242 232 / 0.25) 100%);
}
.ddl-hero__continut { position: relative; max-width: 1180px; margin: 0 auto; }
.ddl-hero h1 {
  font-family: var(--ddl-titlu); font-weight: 700; letter-spacing: 0.02em;
  font-size: clamp(2.5rem, 1.6rem + 4.4vw, 4.6rem); line-height: 0.98; text-shadow: 0 4px 30px rgb(30 15 30 / 0.45);
}
.ddl-hero__linie { width: 150px; height: 3px; margin: 0.9rem 0 1.1rem; background: linear-gradient(90deg, transparent, var(--ddl-aur), transparent); border-radius: 3px; }
.ddl-hero__sub { font-family: var(--ddl-serif); font-weight: 600; font-size: clamp(1.4rem, 1.15rem + 1.3vw, 2.1rem); line-height: 1.15; max-width: 22em; text-shadow: 0 2px 16px rgb(30 15 30 / 0.4); }
.ddl-hero__p { margin-top: 0.8rem; font-size: 1rem; max-width: 36em; opacity: 0.96; text-shadow: 0 1px 10px rgb(30 15 30 / 0.45); }
.ddl-hero__butoane { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1.3rem; }
.ddl-hero__butoane .ddl-btn { min-width: 0; padding: 0.7rem 0.6rem; font-size: 0.93rem; }
.ddl-hero__butoane .ddl-btn--aur { grid-column: 1 / -1; font-size: 1rem; }
@media (min-width: 900px) {
  .ddl-hero { padding: 7.5rem 2.2rem 7rem; min-height: 600px; }
  .ddl-hero__foto { width: 62%; height: 100%; background-position: 40% 25%; }
  .ddl-hero__butoane { display: flex; flex-wrap: wrap; }
  .ddl-hero__butoane .ddl-btn { padding: 0.7rem 1.4rem; font-size: 1rem; }
}

/* ---------- cele trei secțiuni ---------- */
.ddl-cadru { max-width: 1180px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 900px) { .ddl-cadru { padding: 0 2.2rem; } }
.ddl-sectiuni { display: grid; gap: 0.9rem; margin-top: 0.4rem; position: relative; z-index: 2; }
@media (min-width: 900px) { .ddl-sectiuni { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: -4.5rem; } }
.ddl-sc {
  position: relative; overflow: hidden; border-radius: var(--ddl-r); color: #fff; text-decoration: none;
  display: flex; flex-direction: column; justify-content: center; min-height: 168px; padding: 1.1rem 4rem 1.1rem 1.15rem;
  box-shadow: 0 18px 40px -24px rgb(40 20 50 / 0.8); isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ddl-sc:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgb(40 20 50 / 0.9); }
.ddl-sc__foto { position: absolute; inset: 0 0 0 auto; width: 58%; background-size: cover; background-position: center top; z-index: -2; }
.ddl-sc::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.ddl-sc--1 { background: #7d5560; }
.ddl-sc--1::before { background: linear-gradient(90deg, #7a5260 0%, #8b5e67 38%, rgb(139 94 103 / 0.55) 58%, rgb(139 94 103 / 0) 85%); }
.ddl-sc--2 { background: #3e3060; }
.ddl-sc--2::before { background: linear-gradient(90deg, #3b2d5c 0%, #45366a 40%, rgb(69 54 106 / 0.5) 60%, rgb(69 54 106 / 0) 85%); }
.ddl-sc--3 { background: #4a3a52; }
.ddl-sc--3::before { background: linear-gradient(90deg, #463650 0%, #574461 40%, rgb(87 68 97 / 0.5) 60%, rgb(87 68 97 / 0) 85%); }
.ddl-sc__icon { width: 54px; height: 40px; color: var(--ddl-aur); margin-bottom: 0.35rem; }
.ddl-sc h2 { font-family: var(--ddl-titlu); font-weight: 700; font-size: 1.32rem; letter-spacing: 0.03em; color: #f6d79a; line-height: 1.05; }
.ddl-sc p { margin-top: 0.45rem; font-size: 0.93rem; line-height: 1.4; max-width: 23em; text-shadow: 0 1px 8px rgb(30 15 30 / 0.4); }
.ddl-sc__sageata {
  position: absolute; right: 1rem; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #f3d48e, var(--ddl-aur)); color: var(--ddl-noapte); display: flex; align-items: center; justify-content: center;
}
.ddl-sc__sageata svg { width: 20px; height: 20px; }
.ddl-sc__btn { display: none; }
@media (min-width: 900px) {
  .ddl-sc { min-height: 290px; justify-content: flex-end; padding: 1.5rem 1.5rem 1.4rem; }
  .ddl-sc__foto { width: 62%; }
  .ddl-sc__icon { width: 64px; height: 50px; margin-bottom: 0.7rem; }
  .ddl-sc h2 { font-size: 1.6rem; }
  .ddl-sc__sageata { display: none; }
  .ddl-sc__btn {
    display: inline-flex; align-self: flex-start; align-items: center; gap: 0.6rem; margin-top: 1rem;
    padding: 0.55rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
    background: linear-gradient(135deg, #f7dea3, var(--ddl-aur)); color: var(--ddl-noapte);
  }
  .ddl-sc__btn svg { width: 18px; height: 18px; }
}

/* ---------- casete & titluri ---------- */
.ddl-bloc { margin-top: 1.4rem; }
.ddl-caseta {
  background: var(--ddl-alb); border: 1px solid var(--ddl-linie); border-radius: var(--ddl-r);
  padding: 1.1rem; box-shadow: var(--ddl-umbra);
}
@media (min-width: 900px) { .ddl-caseta { padding: 1.5rem; } }
.ddl-titlu-sectiune { font-family: var(--ddl-serif); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); color: var(--ddl-cerneala); }
.ddl-subtitlu { color: var(--ddl-cerneala-2); margin-top: 0.3rem; }
.ddl-progres { background: #fff; border: 1px solid var(--ddl-linie); border-radius: 14px; padding: 0.8rem 1rem; min-width: 220px; }
.ddl-progres__rand { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.9rem; }
.ddl-bara { height: 8px; border-radius: 99px; background: #e6e3ef; margin-top: 0.55rem; overflow: hidden; }
.ddl-bara i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ddl-aur-2), var(--ddl-aur)); transition: width 0.6s ease; }

/* ---------- dalele contului ---------- */
.ddl-dale { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; margin-top: 1rem; }
@media (min-width: 560px) { .ddl-dale { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .ddl-dale--7 { grid-template-columns: repeat(7, 1fr); } }
.ddl-dala {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center;
  min-height: 112px; padding: 0.8rem 0.5rem; border-radius: 14px; text-decoration: none;
  background: linear-gradient(180deg, #fbf3e4, var(--ddl-crem-2)); border: 1px solid #efe1c8;
  font-weight: 700; font-size: 0.93rem; line-height: 1.2; color: var(--ddl-cerneala);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ddl-dala:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgb(120 80 20 / 0.6); }
.ddl-dala svg { width: 38px; height: 38px; color: var(--ddl-aur-2); }
.ddl-dala .ddl-pregatire { position: absolute; top: 6px; right: 6px; font-size: 0.62rem; padding: 0.1rem 0.45rem; }
.ddl-dala .ddl-pregatire::before { display: none; }

/* ---------- panou cont (homepage) ---------- */
.ddl-cont { display: grid; gap: 1rem; }
@media (min-width: 900px) { .ddl-cont { grid-template-columns: 270px 1fr; } }
.ddl-meniu-cont { display: none; }
@media (min-width: 900px) {
  .ddl-meniu-cont { display: block; }
  .ddl-meniu-cont h3 { display: flex; align-items: center; gap: 0.5rem; font-family: var(--ddl-serif); font-size: 1.5rem; margin-bottom: 0.8rem; }
  .ddl-meniu-cont h3 svg { width: 24px; height: 24px; }
  .ddl-meniu-cont a {
    display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0.8rem; border-radius: 10px; text-decoration: none;
    font-weight: 600; font-size: 0.93rem; color: var(--ddl-cerneala);
  }
  .ddl-meniu-cont a svg { width: 20px; height: 20px; flex: none; }
  .ddl-meniu-cont a:hover { background: var(--ddl-crem-2); }
  .ddl-meniu-cont a.activ { background: linear-gradient(135deg, #a8792c, #7e5718); color: #fff; }
}
.ddl-cont__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.9rem; }

/* ---------- bara de jos (telefon) ---------- */
.ddl-tab {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.2rem;
  padding: 0.45rem 0.5rem calc(0.45rem + env(safe-area-inset-bottom));
  background: rgb(255 253 249 / 0.97); border-top: 1px solid var(--ddl-linie); backdrop-filter: blur(10px);
}
.ddl-tab a {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.35rem 0.1rem; border-radius: 14px;
  text-decoration: none; font-size: 0.72rem; font-weight: 700; color: var(--ddl-cerneala);
}
.ddl-tab a svg { width: 24px; height: 24px; }
.ddl-tab a[aria-current="page"] { background: linear-gradient(135deg, #e5b964, var(--ddl-aur-2)); color: #fff; }
@media (min-width: 900px) { .ddl-tab { display: none; } }

/* ---------- sertar (meniu telefon) ---------- */
.ddl-sertar-fundal { position: fixed; inset: 0; background: rgb(20 10 25 / 0.45); z-index: 40; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.ddl-sertar {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); z-index: 41; background: var(--ddl-alb);
  transform: translateX(100%); transition: transform 0.28s ease; padding: 1.2rem 1rem; overflow-y: auto;
}
.ddl-sertar.deschis { transform: none; }
.ddl-sertar.deschis + .ddl-sertar-fundal, .ddl-sertar-fundal.vizibil { opacity: 1; pointer-events: auto; }
.ddl-sertar__cap { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-family: var(--ddl-titlu); font-weight: 700; }
.ddl-sertar a { display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 0.6rem; border-radius: 10px; text-decoration: none; font-weight: 600; }
.ddl-sertar a svg { width: 20px; height: 20px; color: var(--ddl-aur-2); }
.ddl-sertar a:hover { background: var(--ddl-crem-2); }
.ddl-sertar hr { border: 0; border-top: 1px solid var(--ddl-linie); margin: 0.6rem 0; }
.ddl-inchide { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--ddl-linie); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ddl-inchide svg { width: 18px; height: 18px; }

/* ---------- pagini interioare ---------- */
.ddl-banner {
  position: relative; color: #fff; overflow: hidden; isolation: isolate;
  padding: 1.6rem 1rem 1.8rem; background: var(--ddl-noapte-2);
}
.ddl-banner__foto { position: absolute; inset: 0 0 0 auto; width: 60%; background-size: cover; background-position: center top; z-index: -2; }
.ddl-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ddl-noapte-2) 0%, rgb(58 42 69 / 0.92) 45%, rgb(58 42 69 / 0.35) 80%, rgb(58 42 69 / 0.2) 100%); }
.ddl-banner .ddl-cadru { position: relative; }
.ddl-banner h1 { font-family: var(--ddl-titlu); font-weight: 700; font-size: clamp(1.8rem, 1.3rem + 2.4vw, 3rem); color: #f6d79a; letter-spacing: 0.02em; }
.ddl-banner p { margin-top: 0.6rem; max-width: 36em; opacity: 0.95; }
@media (min-width: 900px) { .ddl-banner { padding: 2.6rem 2.2rem 3rem; } }
.ddl-fir { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; font-size: 0.85rem; margin-bottom: 0.8rem; opacity: 0.9; }
.ddl-fir a { text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / 0.4); }
.ddl-fir--inchis { color: var(--ddl-cerneala-2); margin: 1rem 0 0.6rem; }
.ddl-fir--inchis a { border-bottom-color: var(--ddl-linie); }

.ddl-tipuri { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }
.ddl-tip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--ddl-crem-2); font-size: 0.82rem; font-weight: 600; color: var(--ddl-cerneala); }
.ddl-tip svg { width: 15px; height: 15px; color: var(--ddl-aur-2); }
.ddl-banner .ddl-tip { background: rgb(255 255 255 / 0.12); color: #fff; }
.ddl-banner .ddl-tip svg { color: var(--ddl-aur); }

/* module / lecții */
.ddl-module { display: grid; gap: 0.7rem; margin-top: 1rem; }
.ddl-modul { background: var(--ddl-alb); border: 1px solid var(--ddl-linie); border-radius: 16px; overflow: hidden; }
.ddl-modul > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.8rem; padding: 0.95rem 1rem; font-weight: 700;
}
.ddl-modul > summary::-webkit-details-marker { display: none; }
.ddl-modul__nr { width: 34px; height: 34px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f1cf83, var(--ddl-aur-2)); color: #fff; font-weight: 800; font-size: 0.9rem; }
.ddl-modul__titlu { flex: 1; min-width: 0; }
.ddl-modul__titlu small { display: block; font-weight: 500; color: var(--ddl-cerneala-2); font-size: 0.82rem; margin-top: 0.1rem; }
.ddl-modul__chev { width: 20px; height: 20px; transition: transform 0.2s; color: var(--ddl-cerneala-2); flex: none; }
.ddl-modul[open] .ddl-modul__chev { transform: rotate(180deg); }
.ddl-lectii { list-style: none; margin: 0; padding: 0 0.6rem 0.7rem; }
.ddl-lectie {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.6rem; border-radius: 12px; text-decoration: none;
  border-top: 1px solid #f1e8d8;
}
.ddl-lectie:hover { background: var(--ddl-crem); }
.ddl-lectie__icon { width: 38px; height: 38px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--ddl-crem-2); color: var(--ddl-aur-2); }
.ddl-lectie__icon svg { width: 19px; height: 19px; }
.ddl-lectie__text { flex: 1; min-width: 0; font-weight: 600; font-size: 0.95rem; }
.ddl-lectie__text small { display: block; font-weight: 500; font-size: 0.8rem; color: var(--ddl-cerneala-2); }
.ddl-bifa { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ddl-linie); flex: none; display: flex; align-items: center; justify-content: center; }
.ddl-bifa.gata { background: var(--ddl-verde); border-color: var(--ddl-verde); color: #fff; }
.ddl-bifa svg { width: 13px; height: 13px; }

/* programe (Transformare totală) */
.ddl-programe { display: grid; gap: 0.8rem; margin-top: 1rem; }
@media (min-width: 640px) { .ddl-programe { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ddl-programe { grid-template-columns: repeat(3, 1fr); } }
.ddl-program {
  display: flex; flex-direction: column; gap: 0.45rem; padding: 1.1rem; border-radius: 16px; text-decoration: none;
  background: var(--ddl-alb); border: 1px solid var(--ddl-linie); min-height: 150px; position: relative;
}
.ddl-program:hover { border-color: var(--ddl-aur-2); }
.ddl-program__icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ddl-noapte-2), var(--ddl-prun)); color: var(--ddl-aur); }
.ddl-program__icon svg { width: 24px; height: 24px; }
.ddl-program h3 { font-family: var(--ddl-serif); font-size: 1.35rem; font-weight: 700; }
.ddl-program p { font-size: 0.88rem; color: var(--ddl-cerneala-2); }
.ddl-program__jos { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-top: 0.4rem; }

/* filtre / căutare */
.ddl-cautare { display: flex; align-items: center; gap: 0.6rem; background: #fff; border: 1px solid var(--ddl-linie); border-radius: 14px; padding: 0 0.9rem; }
.ddl-cautare svg { width: 20px; height: 20px; color: var(--ddl-cerneala-2); flex: none; }
.ddl-cautare input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; padding: 0.85rem 0; }
.ddl-filtre { display: flex; gap: 0.45rem; overflow-x: auto; padding: 0.8rem 0 0.2rem; scrollbar-width: none; }
.ddl-filtre::-webkit-scrollbar { display: none; }
.ddl-chip { flex: none; padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--ddl-linie); background: #fff; font-weight: 600; font-size: 0.88rem; cursor: pointer; }
.ddl-chip[aria-pressed="true"] { background: var(--ddl-noapte-2); border-color: var(--ddl-noapte-2); color: #fff; }
.ddl-rezultate { display: grid; gap: 0.6rem; margin-top: 1rem; }
@media (min-width: 760px) { .ddl-rezultate { grid-template-columns: repeat(2, 1fr); } }
.ddl-inreg { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem; border-radius: 14px; background: var(--ddl-alb); border: 1px solid var(--ddl-linie); text-decoration: none; }
.ddl-inreg__icon { width: 48px; height: 48px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ddl-noapte-2), var(--ddl-prun)); color: var(--ddl-aur); }
.ddl-inreg__icon svg { width: 22px; height: 22px; }
.ddl-inreg__text { flex: 1; min-width: 0; }
.ddl-inreg__text strong { display: block; font-size: 0.95rem; }
.ddl-inreg__text small { color: var(--ddl-cerneala-2); font-size: 0.8rem; }
.ddl-gol { text-align: center; color: var(--ddl-cerneala-2); padding: 1.6rem 1rem; }

/* ---------- lecție ---------- */
.ddl-lectie-pag { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 1000px) { .ddl-lectie-pag { grid-template-columns: 1fr 320px; align-items: start; } }
.ddl-player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--ddl-r); overflow: hidden;
  background: linear-gradient(160deg, #1d2a24, #0b1210); color: #e9e2d2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; text-align: center; padding: 1rem;
}
.ddl-player svg { width: 54px; height: 54px; color: var(--ddl-aur); opacity: 0.9; }
.ddl-player small { opacity: 0.75; max-width: 28em; }
.ddl-audio { display: flex; align-items: center; gap: 0.8rem; padding: 0.8rem 1rem; border-radius: 14px; background: linear-gradient(135deg, var(--ddl-noapte-2), var(--ddl-prun)); color: #fff; }
.ddl-audio__play { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ddl-aur); color: var(--ddl-noapte); display: flex; align-items: center; justify-content: center; flex: none; opacity: 0.6; }
.ddl-audio__play svg { width: 20px; height: 20px; }
.ddl-audio__corp { flex: 1; min-width: 0; }
.ddl-audio__corp strong { display: block; font-size: 0.92rem; }
.ddl-audio__bara { height: 5px; border-radius: 9px; background: rgb(255 255 255 / 0.18); margin-top: 0.45rem; }
.ddl-h3 { font-family: var(--ddl-serif); font-weight: 700; font-size: 1.45rem; display: flex; align-items: center; gap: 0.5rem; }
.ddl-h3 svg { width: 22px; height: 22px; color: var(--ddl-aur-2); flex: none; }
.ddl-pasi { margin: 0.7rem 0 0; padding-left: 1.3rem; display: grid; gap: 0.4rem; }
.ddl-limite { margin-top: 0.9rem; padding: 0.85rem 1rem; border-radius: 12px; background: #fbf1df; border-left: 4px solid var(--ddl-aur-2); font-size: 0.92rem; }
.ddl-limite strong { display: block; margin-bottom: 0.2rem; }
.ddl-formula {
  position: relative; margin-top: 0.8rem; padding: 1.1rem 1.1rem 1.1rem 1.3rem; border-radius: 14px;
  background: var(--ddl-noapte); color: #fbf3e2; font-family: var(--ddl-serif); font-size: 1.3rem; line-height: 1.45;
  border-left: 4px solid var(--ddl-aur);
}
.ddl-formula__eticheta { display: block; font-family: var(--ddl-sans); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ddl-aur); margin-bottom: 0.4rem; }
.ddl-intensitate { margin-top: 0.8rem; }
.ddl-intensitate__cap { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.ddl-intensitate__val { font-size: 1.6rem; font-family: var(--ddl-serif); color: var(--ddl-aur-text); min-width: 2.2ch; text-align: right; }
.ddl-scala { display: grid; grid-template-columns: repeat(11, 1fr); gap: 4px; margin-top: 0.5rem; }
.ddl-scala button {
  min-height: 44px; border-radius: 10px; border: 1px solid var(--ddl-linie); background: #fff; font-weight: 700; font-size: 0.9rem; cursor: pointer; padding: 0;
}
.ddl-scala button[aria-pressed="true"] { background: linear-gradient(135deg, #e9bf68, var(--ddl-aur-2)); border-color: transparent; color: #fff; }
.ddl-scala__capete { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--ddl-cerneala-2); margin-top: 0.3rem; }
.ddl-textarea { width: 100%; min-height: 120px; margin-top: 0.7rem; padding: 0.8rem; border-radius: 12px; border: 1px solid var(--ddl-linie); font: inherit; font-size: 16px; resize: vertical; background: #fff; }
.ddl-textarea:focus, .ddl-cautare:focus-within { outline: 2px solid var(--ddl-aur); outline-offset: 1px; }
.ddl-salvat { font-size: 0.8rem; color: var(--ddl-verde); font-weight: 700; min-height: 1.2em; margin-top: 0.3rem; }
.ddl-material { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem; border-radius: 12px; border: 1px solid var(--ddl-linie); background: #fff; margin-top: 0.5rem; }
.ddl-material svg { width: 26px; height: 26px; color: #b5482f; flex: none; }
.ddl-material div { flex: 1; min-width: 0; font-weight: 600; font-size: 0.9rem; }
.ddl-nav-lectii { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }
.ddl-nota-legala { font-size: 0.8rem; color: var(--ddl-cerneala-2); margin-top: 1rem; }

/* ---------- liste interactive ---------- */
.ddl-lista { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.ddl-item { border: 1px solid var(--ddl-linie); border-radius: 14px; background: #fff; overflow: hidden; }
.ddl-item__cap { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.85rem; cursor: pointer; min-height: 52px; }
.ddl-item__cap input { width: 22px; height: 22px; accent-color: var(--ddl-verde); flex: none; margin: 0; }
.ddl-item__nume { flex: 1; font-weight: 600; }
.ddl-item.bifat .ddl-item__nume { text-decoration: line-through; color: var(--ddl-cerneala-2); }
.ddl-item__nota { font-family: var(--ddl-serif); font-weight: 700; font-size: 1.2rem; color: var(--ddl-aur-text); min-width: 2ch; text-align: right; }
.ddl-item__det { padding: 0 0.85rem 0.85rem; }
.ddl-item__det .ddl-scala button { min-height: 38px; font-size: 0.8rem; border-radius: 8px; }
.ddl-tabs { display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; }

/* ---------- comunitate ---------- */
.ddl-categorii { display: grid; gap: 0.7rem; margin-top: 1rem; }
@media (min-width: 760px) { .ddl-categorii { grid-template-columns: repeat(2, 1fr); } }
.ddl-categorie { display: flex; gap: 0.85rem; padding: 1rem; border-radius: 16px; background: var(--ddl-alb); border: 1px solid var(--ddl-linie); }
.ddl-categorie__icon { width: 46px; height: 46px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--ddl-crem-2); color: var(--ddl-aur-2); }
.ddl-categorie__icon svg { width: 22px; height: 22px; }
.ddl-categorie h3 { font-size: 1.02rem; }
.ddl-categorie p { font-size: 0.86rem; color: var(--ddl-cerneala-2); margin-top: 0.15rem; }
.ddl-categorie__meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.5rem; font-size: 0.8rem; color: var(--ddl-cerneala-2); }
.ddl-reguli { margin: 0.6rem 0 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; font-size: 0.93rem; }
.ddl-camp { width: 100%; padding: 0.8rem; border-radius: 12px; border: 1px solid var(--ddl-linie); font: inherit; font-size: 16px; background: #f7f3ec; color: var(--ddl-cerneala-2); }

/* ---------- subsol ---------- */
.ddl-subsol { margin-top: 2.5rem; padding: 1.6rem 1rem 1.4rem; text-align: center; font-size: 0.85rem; color: var(--ddl-cerneala-2); border-top: 1px solid var(--ddl-linie); }
.ddl-subsol a { color: var(--ddl-aur-text); font-weight: 600; }
.ddl-previz {
  display: table; margin: 0 auto 1.2rem;
  padding: 0.35rem 0.85rem; border-radius: 999px; background: rgb(36 26 44 / 0.88); color: #f6d79a; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  pointer-events: none; white-space: nowrap;
}

/* animație discretă la apariție */
.ddl-apare { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.ddl-apare.vizibil { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ddl-apare { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
