/* curs.viorelspinu.com: un singur fișier de stil pentru tot site-ul (pagina de start, lecții, despre,
   termeni, confirmare). Culorile și stilul lecțiilor: teal + portocaliu pe crem. */
:root {
    --lp-bg: #FFFFFF;
    --lp-cream: #FBF7F0;
    --lp-dark: #0B3D3F;
    --lp-text: #1F2A2B;
    --lp-muted: #4A5455;
    --lp-teal: #0D7377;
    --lp-teal-tint: #E0F2F1;
    --lp-accent: #E87817;
    --lp-cta: #B8530A;
    --lp-cta-hover: #9A3F06;
    --lp-border: #E4DED3;
    --lp-input-border: #8A8F8F;
    --lp-radius: 16px;
    --lp-shadow: 0 1px 2px rgba(11, 61, 63, .06), 0 8px 24px rgba(11, 61, 63, .08);
    --lp-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (max-width: 767px) { html { scroll-padding-bottom: 96px; } }
body { margin: 0; background: var(--lp-bg); overflow-x: hidden; font-family: var(--lp-font); color: var(--lp-text); line-height: 1.6; }
img, picture, svg { vertical-align: middle; }
button, input, textarea { font-family: inherit; font-size: inherit; line-height: inherit; margin: 0; }
b, strong { font-weight: 700; }

.lp {
    font-family: var(--lp-font);
    color: var(--lp-text);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.lp p { margin: 0 0 1rem; }
.lp a { color: var(--lp-teal); text-underline-offset: 3px; }
.lp a:hover { color: var(--lp-dark); }

.lp-container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.lp-container--narrow { max-width: 760px; }
.lp-container--faq .lp-faq { max-width: 760px; }

.lp-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Titluri ---------- */
.lp-h1 {
    font-family: var(--lp-font);
    font-weight: 800;
    font-size: clamp(2.1rem, 5.4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin: 0 0 .9rem;
    color: var(--lp-text);
}
@media (max-width: 640px) { .lp-h1 { margin-bottom: .6rem; } }
@media (min-width: 992px) { .lp-h1 { margin-bottom: 2rem; } }
.lp-h2 {
    font-family: var(--lp-font);
    font-weight: 800;
    font-size: clamp(1.65rem, 3.6vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem;
    color: inherit;
    max-width: 42ch;
    text-wrap: balance;
}
.lp-small { font-size: .95rem; color: var(--lp-muted); }

/* ---------- Secțiuni ---------- */
.lp-section { padding: 72px 0; }
@media (min-width: 992px) { .lp-section { padding: 96px 0; } }
.lp-section--cream { background: var(--lp-cream); }
.lp-section--dark { background: var(--lp-dark); color: #F2F7F7; }
.lp-section--dark a { color: #9FE0DD; }
.lp-section--dark a:hover { color: #FFFFFF; }
.lp-section__intro { color: var(--lp-muted); max-width: 40em; font-size: 1.05rem; margin-bottom: 2rem !important; }
.lp-section--dark .lp-section__intro { color: #C9DCDC; }

/* ---------- Butoane ---------- */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 56px; padding: 0 28px; border-radius: 12px; border: 2px solid transparent;
    font-family: var(--lp-font); font-weight: 700; font-size: 1.08rem; line-height: 1.2;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.lp-btn--cta {
    background: var(--lp-cta); color: #FFFFFF !important;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .12), 0 6px 16px rgba(184, 83, 10, .25);
}
.lp-btn--cta:hover { background: var(--lp-cta-hover); transform: translateY(-1px); }
.lp-btn--cta:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 3px; }
.lp-btn--cta:disabled { opacity: .7; cursor: wait; transform: none; }
.lp-btn--block { width: 100%; }
@media (max-width: 767px) { .lp-btn--cta.lp-btn--block { min-height: 52px; } }
.lp-btn--ghost {
    background: #FFFFFF; color: var(--lp-dark) !important; border-color: var(--lp-teal);
    min-height: 48px; font-size: 1rem; padding: 0 18px;
}
.lp-btn--ghost:hover { background: var(--lp-teal-tint); }
.lp-btn--ghost-light { background: transparent; color: #FFFFFF !important; border: 2px solid rgba(255,255,255,.55); text-decoration: none; }
.lp-btn--ghost, .lp-btn--ghost-light { min-height: 48px; font-size: 1rem; padding: 0 18px; }
.lp-btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #FFFFFF; }

.lp-linkbtn {
    background: none; border: 0; padding: 0; min-height: 32px; font: inherit; color: var(--lp-teal);
    text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.lp-linkbtn:hover { color: var(--lp-dark); }

/* ---------- Hero ---------- */
.lp-hero { padding: 32px 0 56px; background: linear-gradient(180deg, #FFFFFF 0%, var(--lp-cream) 100%); }
@media (max-width: 767px) { .lp-hero { padding-top: 20px; } }
@media (min-width: 992px) { .lp-hero { padding: 32px 0 48px; } }
.lp-hero__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 992px) {
    .lp-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; }
    .lp-hero__text { max-width: 600px; }
}

/* Subtitlul: avatar (doar pe telefon) + trei rânduri */
.lp-hero__intro {
    display: flex; gap: 14px; align-items: flex-start; margin: 0 !important; max-width: 680px;
    font-size: 1.15rem; line-height: 1.5; color: var(--lp-muted);
}
.lp-hero__intro picture { flex: 0 0 auto; display: inline-flex; margin-top: 2px; }
.lp-hero__intro > span { display: flex; flex-direction: column; gap: 4px; }
.lp-hero__intro b { display: block; color: var(--lp-teal); font-weight: 800; font-size: 1.3rem; margin-bottom: 4px; }
.lp-hero__intro-line { display: block; }
.lp-eyebrow__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lp-teal-tint); }
@media (max-width: 767px) { .lp-eyebrow__avatar { width: 44px; height: 44px; } }
@media (max-width: 640px) {
    .lp-hero__intro { font-size: 1rem; gap: 12px; }
    .lp-hero__intro > span { gap: 2px; }
    .lp-hero__intro b { font-size: 1.1rem; }
}
@media (min-width: 992px) { .lp-hero__intro picture { display: none; } }

.lp-hero__form { margin-top: 1.75rem; max-width: 560px; scroll-margin-top: 140px; }
@media (min-width: 992px) { .lp-hero__form { margin-top: 2.5rem; max-width: 600px; } }
.lp-next { margin: 12px 0 0 !important; font-size: .95rem; color: var(--lp-muted); max-width: 640px; }
@media (min-width: 992px) { .lp-next { margin-top: 18px !important; } }

/* Portretul (doar desktop) + două coperte */
.lp-hero__media { display: none; }
@media (min-width: 992px) { .lp-hero__media { display: block; position: relative; z-index: 0; margin-top: 48px; } }
.lp-hero__photo { position: relative; }
.lp-hero__photo > picture img {
    display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
    border-radius: 24px; box-shadow: var(--lp-shadow);
}
.lp-hero__covers { position: absolute; left: -48px; bottom: -12px; display: flex; pointer-events: none; }
.lp-hero__covers img { width: 118px; height: auto; border-radius: 8px; box-shadow: 0 10px 24px rgba(11, 61, 63, .22); border: 3px solid #FFFFFF; }
.lp-hero__covers img:first-child { transform: rotate(-8deg); }
.lp-hero__covers img:last-child { transform: rotate(5deg) translate(-22px, 10px); }

/* ---------- Formular ---------- */
.lp-form {
    background: #FFFFFF; border: 1px solid var(--lp-border); border-radius: var(--lp-radius);
    padding: 18px; box-shadow: var(--lp-shadow); color: var(--lp-text); text-align: left;
}
.lp-form__fields { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 12px; }
@media (min-width: 560px) { .lp-form__fields { grid-template-columns: 1fr 1.4fr; } }
.lp-input {
    width: 100%; min-height: 54px; padding: 0 16px; font-size: 1.05rem !important; font-family: var(--lp-font);
    color: var(--lp-text); background: #FFFFFF; border: 1.5px solid var(--lp-input-border); border-radius: 12px;
}
.lp-input::placeholder { color: #545E5E; }
.lp-input:focus { outline: none; border-color: var(--lp-teal); box-shadow: 0 0 0 3px rgba(13, 115, 119, .2); }
.lp-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.5; color: var(--lp-text); margin-bottom: 14px; padding: 4px 0; cursor: pointer; }
.lp-consent input { flex: 0 0 auto; width: 24px; height: 24px; margin-top: 0; accent-color: var(--lp-teal); cursor: pointer; }
.lp-form a { color: var(--lp-teal); } /* ține linkurile teal și în formularul de pe fundal închis */
.lp-form a:hover { color: var(--lp-dark); }
.lp-form__warning { color: #9B2C12; font-size: .92rem; font-weight: 600; margin: 0 0 10px !important; }
.lp-form--done { border-color: var(--lp-teal); }
.lp-form__done-title { font-weight: 800; font-size: 1.2rem; line-height: 1.25; color: var(--lp-dark); margin-bottom: .5rem !important; text-wrap: balance; }
.lp-form--dark { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
@media (max-width: 767px) {
    .lp-form { padding: 14px; }
    .lp-form__fields { gap: 8px; margin-bottom: 10px; }
    .lp-input { min-height: 50px; }
    .lp-consent { margin-bottom: 10px; padding: 0; font-size: .92rem; line-height: 1.45; }
}

.lp-share { border-top: 1px solid var(--lp-border); margin-top: 14px; padding-top: 14px; }
.lp-share__title { font-weight: 700; margin-bottom: 10px !important; }
.lp-share__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) { .lp-share__buttons .lp-btn { width: 100%; } }

/* ---------- Banda cu dovezi ---------- */
.lp-proof { border-top: 1px solid var(--lp-border); border-bottom: 1px solid var(--lp-border); background: #FFFFFF; padding: 18px 0; }
.lp-proof p { margin: 0 !important; text-align: center; color: var(--lp-muted); font-size: .98rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.lp-dot { color: var(--lp-accent); font-weight: 800; }
/* Linkurile au același font și aceeași culoare ca textul (și la hover), doar sublinierea e teal. */
.lp-proof .lp-proof__link, .lp-proof .lp-proof__link:hover {
    color: inherit; font-weight: inherit; text-decoration: underline; text-underline-offset: 3px;
    text-decoration-color: var(--lp-teal); white-space: nowrap; margin-left: 4px;
}
@media (max-width: 1199px) { .lp-dot { display: none; } .lp-proof p { flex-direction: column; gap: 6px; } }
/* Sub 640px textul e aliniat stânga. */
@media (max-width: 640px) { .lp-proof p { text-align: left; } }

/* ---------- „Primești o lecție în fiecare săptămână”: trei pași cu săgeți ---------- */
[data-track="cum-functioneaza"] .lp-h2 { margin-bottom: 2.75rem; }
.lp-flow { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; gap: 16px; }
.lp-flow__step { position: relative; margin: 0; padding: 24px; background: var(--lp-cream); border: 1px solid var(--lp-border); border-radius: var(--lp-radius); text-align: center; }
.lp-flow__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #FFFFFF; color: var(--lp-teal); box-shadow: var(--lp-shadow); margin-bottom: 14px; }
.lp-flow__num { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-teal); margin-bottom: 4px; }
.lp-flow__title { margin: 0 0 6px !important; font-weight: 800; font-size: 1.15rem; color: var(--lp-text); }
.lp-flow__text { margin: 0 !important; color: var(--lp-muted); font-size: 1rem; line-height: 1.5; }
@media (min-width: 900px) {
    .lp-flow { grid-template-columns: repeat(3, 1fr); gap: 48px; }
    .lp-flow__step:not(:last-child)::after { content: "→"; position: absolute; right: -36px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 700; color: var(--lp-teal); }
}
/* Pe telefon și tabletă: rânduri compacte, iconița în stânga, fără săgeți */
@media (max-width: 899px) {
    [data-track="cum-functioneaza"] .lp-h2 { margin-bottom: 1.5rem; }
    .lp-flow { gap: 10px; margin-top: 0; }
    .lp-flow__step { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; text-align: left; padding: 14px 16px; }
    .lp-flow__icon { width: 48px; height: 48px; grid-row: 1 / span 3; margin: 0; }
    .lp-flow__icon svg { width: 24px; height: 24px; }
}

/* ---------- Despre ---------- */
.lp-about { display: grid; gap: 40px; align-items: start; }
@media (max-width: 991px) { .lp-about { gap: 24px; } }
@media (min-width: 992px) { .lp-about { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } .lp-about__media .lp-video { margin-top: 6px; } }
.lp-about__lead { color: #DCE9E9; font-size: 1.15rem; line-height: 1.55; }
.lp-about__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 640px) { .lp-about__links .lp-btn { flex: 1 1 100%; justify-content: center; } }

.lp-video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--lp-radius); overflow: hidden; background: #000; margin-top: 20px; border: 0; padding: 0; }
.lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lp-video--thumb { cursor: pointer; }
.lp-video--thumb picture, .lp-video--thumb img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity .2s ease; }
.lp-video--thumb:hover img { opacity: .9; }
.lp-video__play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 16px; color: #FFFFFF; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.lp-video__play svg { width: 64px; height: 64px; padding: 6px; border-radius: 50%; background: rgba(11, 61, 63, .88); transition: transform .2s ease; }
.lp-video--thumb:hover .lp-video__play svg { transform: scale(1.06); }
.lp-video--thumb:focus-visible { outline: 3px solid #9FE0DD; outline-offset: 3px; }
.lp-video__caption { font-size: .92rem; color: #A9C4C4 !important; margin-top: 8px !important; }

/* Zidul „Unde am vorbit despre AI”: 3 / 6 / 8 pe rând, ultimul rând centrat */
.lp-inaction { margin-top: 56px; }
.lp-inaction__title { font-size: 1.4rem; font-weight: 800; color: #FFFFFF; margin: 0 0 4px; }
.lp-inaction__intro { color: #A9C4C4; margin: 0 0 18px !important; }
.lp-inaction__grid { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-inaction__grid li { flex: 0 0 calc((100% - 2 * 8px) / 3); }
@media (min-width: 640px) { .lp-inaction__grid li { flex-basis: calc((100% - 5 * 8px) / 6); } }
@media (min-width: 992px) {
    .lp-inaction__grid { gap: 10px; }
    .lp-inaction__grid li { flex-basis: calc((100% - 7 * 10px) / 8); }
}
.lp-inaction__grid a { display: block; border-radius: 8px; overflow: hidden; transition: transform .15s ease; }
.lp-inaction__grid a:hover { transform: scale(1.04); }
.lp-inaction__grid a:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 2px; }
.lp-inaction__grid img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.lp-inaction__more { display: none; margin-top: 14px; font-weight: 700; color: #9FE0DD; }
/* zidul arată toate aparițiile și pe telefon (Viorel: să se vadă cât e de solicitat) */

/* ---------- „De ce o singură lecție pe săptămână” ---------- */
.lp-story { max-width: 720px; }
.lp-story p { font-size: 1.15rem; line-height: 1.65; color: var(--lp-muted); margin: 0 0 1.1rem !important; }
.lp-story p:last-child { margin-bottom: 0 !important; }
.lp-story b { color: var(--lp-text); font-weight: 700; }

/* ---------- Ce înveți ---------- */
.lp-stages { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 768px) { .lp-stages { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1100px) { .lp-stages { grid-template-columns: repeat(3, 1fr); } }
.lp-stage { background: #FFFFFF; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 24px; }
@media (max-width: 767px) { .lp-stage { padding: 18px 18px 12px; } }
.lp-stage__name { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; margin: 0 0 4px !important; }
.lp-stage__text { color: var(--lp-muted); margin: 0 0 12px !important; }
.lp-stage__list { list-style: none; padding: 0; margin: 0; }
.lp-stage__more { margin-top: 14px; }
.lp-stage__more summary { display: inline-block; cursor: pointer; list-style: none; padding: 5px 12px; font-weight: 500; font-size: .88rem; color: var(--lp-teal); background: transparent; border: 1px solid var(--lp-border); border-radius: 999px; }
.lp-stage__more summary:hover { border-color: var(--lp-teal); }
.lp-stage__more summary::-webkit-details-marker { display: none; }
.lp-stage__more[open] { margin-top: 0; }
.lp-stage__more[open] summary { display: none; }
.lp-stage__list li { position: relative; padding-left: 16px !important; }
.lp-stage__list li::before { content: ""; position: absolute; left: 2px; top: calc(9px + .62em); width: 5px; height: 5px; border-radius: 50%; background: var(--lp-teal); }
.lp-stage__list a { color: var(--lp-text); text-decoration: none; font-size: .98rem; }
.lp-stage__list a:hover { color: var(--lp-teal); text-decoration: underline; text-underline-offset: 3px; }
.lp-stage__list li { padding: 9px 0; border-top: 1px solid var(--lp-border); font-weight: 400; line-height: 1.4; color: var(--lp-text); }

.lp-all { margin-top: 16px; }
.lp-all summary {
    display: inline-block; cursor: pointer; list-style: none; padding: 14px 24px; font-weight: 700; font-size: 1.05rem; color: var(--lp-teal);
    background: #FFFFFF; border: 2px solid var(--lp-teal); border-radius: var(--lp-radius);
}
.lp-all summary:hover { background: var(--lp-teal); color: #FFFFFF; }
@media (max-width: 640px) { .lp-all summary { display: block; text-align: center; } }
.lp-all summary::-webkit-details-marker { display: none; }
.lp-all summary::after { content: " +"; }
.lp-all[open] { background: #FFFFFF; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); }
.lp-all[open] summary { padding: 16px 22px; }
.lp-all[open] summary::after { content: " −"; }
.lp-all[open] summary { text-decoration: none; display: block; text-align: left; border: 0; border-bottom: 1px solid var(--lp-border); border-radius: 0; background: none; color: var(--lp-teal); }
.lp-all__list { margin: 0; padding: 0 22px 18px 52px; line-height: 1.45; }
.lp-all__list li { padding: 3px 0; break-inside: avoid; }
@media (min-width: 768px) { .lp-all__list { columns: 2; column-gap: 48px; } }

.lp-midcta { margin-top: 32px; text-align: left; }
@media (max-width: 767px) { .lp-midcta { display: none; } }

/* ---------- Cum arată o lecție ---------- */
.lp-lesson-points { margin: -1rem 0 2rem; padding-left: 1.4rem; color: var(--lp-text); font-size: 1.05rem; line-height: 1.6; max-width: 40em; }
.lp-lesson-points li::marker { color: var(--lp-teal); font-weight: 700; }
.lp-preview { display: grid; gap: 24px; align-items: start; }
.lp-excerpt { position: relative; padding: 0; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); background: #FFFFFF; overflow: hidden; cursor: zoom-in; box-shadow: var(--lp-shadow); }
.lp-excerpt img { display: block; width: 100%; height: auto; }
.lp-excerpt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(rgba(255,255,255,0), #FFFFFF); pointer-events: none; }
.lp-excerpt:focus-visible { outline: 3px solid var(--lp-teal); outline-offset: 3px; }
.lp-excerpt__hint { margin: 8px 0 0 !important; font-size: .92rem; color: var(--lp-muted); }
@media (min-width: 900px) {
    .lp-preview { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; }
    .lp-excerpt__hint { grid-column: 1; grid-row: 2; margin-top: -28px !important; }
    .lp-preview__side { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 96px; }
}
.lp-preview__note { font-size: 1rem; color: var(--lp-muted); margin: 0 0 10px !important; }
.lp-pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 10px; }
.lp-page {
    padding: 0; border: 1px solid var(--lp-border); border-radius: 10px;
    background: #FFFFFF; cursor: zoom-in; box-shadow: var(--lp-shadow); overflow: hidden; transition: transform .2s ease;
}
.lp-page:hover { transform: translateY(-3px); }
.lp-page:focus-visible { outline: 3px solid var(--lp-teal); outline-offset: 3px; }
.lp-page img { display: block; width: 100%; height: auto; }
.lp-download { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 20px 0 28px; }
.lp-download__btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
@media (max-width: 640px) { .lp-download__btn { width: 100%; justify-content: center; } }
.lp-download__note { margin: 0 !important; color: var(--lp-muted); font-size: .98rem; }
.lp-quote { margin: 8px 0 0; max-width: 760px; text-align: left; padding-left: 18px; border-left: 4px solid var(--lp-teal); }
.lp-quote blockquote { margin: 0 0 8px; font-weight: 600; font-size: 1.1rem; color: var(--lp-text); }
.lp-quote figcaption { color: var(--lp-muted); }
.lp-quote__text { margin: 0 0 8px; font-weight: 600; font-size: 1.1rem; color: var(--lp-text); }

.lp-lightbox {
    position: fixed; inset: 0; z-index: 2000; background: rgba(10, 25, 26, .88);
    display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 56px 12px 24px; cursor: zoom-out;
}
.lp-lightbox__page { cursor: default; }
.lp-lightbox img { display: block; max-width: min(880px, 100%); height: auto; border-radius: 6px; }
.lp-lightbox__close {
    position: fixed; top: 10px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: #FFFFFF; color: var(--lp-dark); font-size: 28px; line-height: 1; cursor: pointer;
}
/* Cât e deschisă fereastra, antetul lipicios și bara de jos nu se mai văd peste ea. */
body:has(.lp-lightbox) header, body:has(.lp-lightbox) .lp-sticky { visibility: hidden; }

/* ---------- Mesaje de la cursanți ---------- */
@media (max-width: 767px) { .lp-stage, .lp-voice { padding: 18px; } }
.lp-voices { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .lp-voices { columns: 2; } }
@media (min-width: 992px) { .lp-voices { columns: 3; column-gap: 20px; } }
.lp-voice { break-inside: avoid; margin: 0 0 16px; padding: 24px; border-radius: 16px; border: 1px solid var(--lp-border); background: #FFFFFF; }
@media (min-width: 992px) { .lp-voice { margin-bottom: 20px; } }
.lp-voice:focus { outline: none; }
.lp-voice:focus-visible { outline: 3px solid var(--lp-teal); outline-offset: 2px; }
.lp-voice blockquote { margin: 0 0 12px; font-size: 1.02rem; line-height: 1.55; color: var(--lp-text); }
.lp-voice blockquote::before { content: "„"; color: var(--lp-muted); font-weight: 800; }
.lp-voice blockquote::after { content: "”"; color: var(--lp-muted); font-weight: 800; }
.lp-voice figcaption { font-size: .88rem; font-weight: 500; color: var(--lp-muted); }
.lp-voices__more { display: none; margin-top: 4px; font-weight: 700; }
@media (max-width: 639px) {
    .lp-voices:not(.is-all) .lp-voice--more { display: none; }
    .lp-voices__more { display: inline-block; }
}

/* ---------- Întrebări frecvente ---------- */
.lp-faq details { border-bottom: 1px solid var(--lp-border); }
.lp-faq summary {
    list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
    font-weight: 700; font-size: 1.08rem;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
    content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-54%);
    font-size: 1.6rem; font-weight: 400; color: var(--lp-teal); line-height: 1;
}
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq summary:focus-visible { outline: 3px solid var(--lp-teal); outline-offset: 2px; border-radius: 4px; }
.lp-faq details p { color: var(--lp-muted); padding: 0 0 18px; margin: 0 !important; }

/* ---------- Formularul final ---------- */
.lp-final { text-align: center; }
.lp-final .lp-h2 { margin-left: auto; margin-right: auto; }
.lp-final .lp-section__intro { margin-left: auto; margin-right: auto; }
.lp-final .lp-form { max-width: 560px; margin: 0 auto; }

/* ---------- Bara de jos pe telefon ---------- */
.lp-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
    transform: translateY(110%); transition: transform .25s ease; display: none;
}
.lp-sticky .lp-btn--cta { box-shadow: none; }
.lp-sticky.is-visible { transform: translateY(0); }
@media (max-width: 767px) { .lp-sticky { display: block; } }

/* ---------- Pentru firme ---------- */
.lp-companies { background: #F3EEE5; padding: 32px 0 8px; }
.lp-companies .lp-container { border-bottom: 1px solid var(--lp-border); max-width: 1120px; padding-left: 0; padding-right: 0; margin-left: 20px; margin-right: 20px; }
@media (min-width: 1160px) { .lp-companies .lp-container { margin-left: auto; margin-right: auto; } }
.lp-companies__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-bottom: 28px; }
.lp-companies__inner > div { flex: 1 1 420px; }
.lp-companies__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--lp-teal); margin-bottom: 4px !important; }
.lp-companies__text { margin: 0 !important; max-width: 46em; font-size: 1.05rem; }
.lp-companies__link { font-weight: 700; color: var(--lp-teal) !important; text-decoration: none; white-space: nowrap; }
.lp-companies__link:hover { color: var(--lp-teal) !important; }
.lp-companies__link, .lp-companies__write { display: inline-flex; align-items: center; min-height: 48px; }

/* ---------- Paginile de termeni și confidențialitate ---------- */
.lp-legal { padding: 40px 0 64px; font-family: var(--lp-font); color: var(--lp-text); line-height: 1.65; }
.lp-legal a { color: var(--lp-teal); }
.lp-legal h1 { font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.lp-legal h2 { font-weight: 700; font-size: 1.25rem; margin-top: 1rem; }
.lp-legal pre { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Fereastra de contact (<dialog>) ---------- */
.lp-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 24px; border: 0; border-radius: 16px; background: #FFFFFF; color: var(--lp-text); font-family: var(--lp-font); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.lp-dialog::backdrop { background: rgba(10, 25, 26, .6); }
.lp-dialog form { display: grid; gap: 14px; margin-top: 16px; }
.lp-dialog textarea { width: 100%; min-height: 170px; padding: 12px 14px; border: 1.5px solid var(--lp-input-border); border-radius: 12px; resize: vertical; color: var(--lp-text); }
.lp-dialog textarea:focus, .lp-dialog .lp-input:focus { outline: none; border-color: var(--lp-teal); box-shadow: 0 0 0 3px rgba(13, 115, 119, .2); }
.lp-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.lp-dialog__actions .lp-btn { min-height: 48px; font-size: 1rem; padding: 0 20px; }
.lp-dialog__status { margin: 0 !important; padding: 12px 14px; border-radius: 12px; background: var(--lp-cream); border: 1px solid var(--lp-border); font-weight: 600; }
.lp-dialog__status--ok { background: var(--lp-teal-tint); border-color: #BFE3E1; color: var(--lp-dark); }
.lp-dialog__status--err { background: #FBEDE8; border-color: #F2C4B8; color: #9B2C12; }
.lp-dialog__status:empty { display: none; }
.lp-modal__title { font-family: var(--lp-font); font-weight: 800; font-size: 1.5rem; margin: 0 0 .25rem; color: var(--lp-text); }
.lp-modal__intro { color: var(--lp-muted); margin: 0 0 .5rem; font-size: 1rem; }
@media (max-width: 480px) { .lp-dialog { padding: 18px; } }

/* ---------- Pagini mici: confirmare email, dezabonare, 404 ---------- */
.lp-card-page { min-height: 60vh; padding: 48px 0 80px; }
.lp-card { max-width: 640px; margin: 0 auto; background: #FFFFFF; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 28px; box-shadow: var(--lp-shadow); }
.lp-card h1 { font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 0 0 12px; letter-spacing: -0.02em; }
.lp-card__status { font-size: 1.1rem; padding: 14px 16px; border-radius: 12px; background: var(--lp-cream); border: 1px solid var(--lp-border); }
.lp-card__status--ok { background: var(--lp-teal-tint); border-color: #BFE3E1; color: var(--lp-dark); }
.lp-card__status--err { background: #FBEDE8; border-color: #F2C4B8; color: #9B2C12; }
.lp-card__actions { margin-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.lp-progress { height: 8px; border-radius: 4px; background: var(--lp-teal-tint); overflow: hidden; margin: 14px 0; }
.lp-progress > span { display: block; height: 100%; width: 0; background: var(--lp-teal); transition: width .4s linear; }
.lp-progress[hidden] { display: none; }

/* ---------- Antet ---------- */
.lp-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: saturate(160%) blur(8px); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid #ECE6DB; font-family: var(--lp-font); }
.lp-header__inner { max-width: 1160px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-header__brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.lp-header__name { font-weight: 800; font-size: 1.1rem; color: #1F2A2B; letter-spacing: -0.01em; }
.lp-header__sub { font-size: .82rem; font-weight: 600; color: var(--lp-teal); }
.lp-header__ask { background: #FFFFFF; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--lp-teal); border-radius: 12px; color: var(--lp-dark); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: background-color .15s ease; }
.lp-header__ask:hover { background: var(--lp-teal-tint); }
.lp-header__ask:focus-visible { outline: 3px solid var(--lp-teal); outline-offset: 2px; }
@media (max-width: 480px) { .lp-header__ask { border-color: #CFE3E2; font-weight: 600; font-size: .9rem; padding: 0 12px; } }

/* ---------- Subsol ---------- */
.lp-footer { background: #F3EEE5; color: #5B6465; font-family: var(--lp-font); padding: 28px 0 40px; }
.lp-footer__inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.lp-footer p { margin: 0; }
.lp-footer__brand { color: #1F2A2B; font-weight: 800; font-size: 1.1rem; }
.lp-footer__line { margin-top: 2px !important; }
.lp-footer__copy { margin-top: 12px !important; font-size: .88rem; }
.lp-footer__links { display: flex; flex-direction: column; gap: 0; font-size: .95rem; }
.lp-footer__links a, .lp-footer__btn { display: inline-flex; align-items: center; min-height: 40px; color: var(--lp-dark); text-decoration: underline; text-underline-offset: 3px; }
.lp-footer__links a:hover, .lp-footer__btn:hover { color: var(--lp-teal); }
.lp-footer__btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
@media (min-width: 768px) { .lp-footer__links { flex-direction: row; flex-wrap: wrap; gap: 0 24px; align-self: flex-start; } }

/* ---------- Paginile lecțiilor (/lectii/) ---------- */
.lp-kicker { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-teal); margin: 0 0 14px !important; }
.lp-kicker a { color: inherit; text-decoration: none; }
.lp-kicker a:hover { text-decoration: underline; }
.lp-lesson__hero { padding: 32px 0 56px; background: linear-gradient(180deg, #FFFFFF 0%, var(--lp-cream) 100%); }
.lp-lesson__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .lp-lesson__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 64px; } }
.lp-lesson__hero .lp-h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.lp-lesson__lead { font-size: 1.15rem; line-height: 1.6; color: var(--lp-muted); max-width: 40em; }
.lp-lesson__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 640px) { .lp-lesson__actions .lp-btn { width: 100%; } }
.lp-lesson__meta { margin: 14px 0 0 !important; font-size: .95rem; color: var(--lp-muted); }
.lp-lesson__cover { display: block; width: 100%; max-width: 360px; height: auto; border-radius: 14px; box-shadow: var(--lp-shadow); border: 1px solid var(--lp-border); }
@media (max-width: 899px) { .lp-lesson__media { display: none; } }
.lp-lesson__body h2 { font-family: var(--lp-font); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.015em; margin: 2.2rem 0 .8rem; }
.lp-lesson__body h2:first-child { margin-top: 0; }
.lp-lesson__body p { font-size: 1.08rem; line-height: 1.65; color: var(--lp-text); }
.lp-lesson__body .lp-lesson__sub { font-family: var(--lp-font); font-weight: 700; font-size: 1.08rem; color: var(--lp-teal); margin: 1.4rem 0 .3rem; }
.lp-lesson__body .lp-lesson__sub + p { margin-top: 0; }
.lp-lesson__body .lp-lesson__q { font-family: var(--lp-font); font-weight: 700; font-size: 1.12rem; color: var(--lp-text); margin: 1.6rem 0 .35rem; }
.lp-lesson__body .lp-lesson__q + p { margin-top: 0; }
.lp-lesson__body .lp-lesson-points { margin: 0 0 1.5rem; }
.lp-lesson__body .lp-quote { margin: 1.5rem 0 2rem; }
.lp-lesson__body .lp-lesson__note { background: #FFFFFF; border: 1px solid var(--lp-border); border-left: 4px solid var(--lp-teal); border-radius: var(--lp-radius); padding: 18px 22px; margin: 2rem 0; }
.lp-lesson__body .lp-lesson__note-label { font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-teal); margin: 0 0 .4rem; }
.lp-lesson__body .lp-lesson__note p:last-child { margin: 0; }
.lp-lesson__body .lp-lesson__cta { margin: 1.5rem 0 2rem; }
@media (max-width: 640px) { .lp-lesson__body .lp-lesson__cta .lp-btn { width: 100%; } }
.lp-lesson__for { background: var(--lp-cream); border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 16px 18px; }
.lp-lesson__for b { color: var(--lp-teal); }
.lp-lesson__nav { display: grid; gap: 12px; padding: 24px 0; border-top: 1px solid var(--lp-border); border-bottom: 1px solid var(--lp-border); }
@media (min-width: 768px) { .lp-lesson__nav { grid-template-columns: 1fr auto 1fr; align-items: center; } .lp-lesson__nav .is-next { text-align: right; } }
.lp-lesson__nav a { text-decoration: none; color: var(--lp-text); font-weight: 600; line-height: 1.35; }
.lp-lesson__nav a:hover { color: var(--lp-teal); }
.lp-lesson__nav small { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--lp-teal); margin-bottom: 2px; }
.lp-lesson__nav .is-all { text-align: center; }
.lp-lesson__nav .is-all a { text-decoration: underline; text-underline-offset: 3px; color: var(--lp-teal); }
.lp-author { display: flex; gap: 18px; align-items: flex-start; background: #FFFFFF; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 20px; max-width: 760px; }
.lp-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 2px solid var(--lp-teal-tint); }
.lp-author p { margin: 0 0 6px !important; }
.lp-author__name { font-weight: 800; font-size: 1.1rem; }
.lp-author__links a { margin-right: 14px; }
.lp-video--yt { margin-top: 0; max-width: 760px; }

/* Lista tuturor lecțiilor (/lectii/) */
.lp-lesson-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.lp-lesson-list li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: start; background: #FFFFFF; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 14px; }
.lp-lesson-list img { width: 72px; height: auto; border-radius: 8px; border: 1px solid var(--lp-border); }
.lp-lesson-list h2 { font-family: var(--lp-font); font-size: 1.12rem; font-weight: 700; margin: 2px 0 4px; letter-spacing: 0; }
.lp-lesson-list h2 a { color: var(--lp-text); text-decoration: none; }
.lp-lesson-list h2 a:hover { color: var(--lp-teal); text-decoration: underline; }
.lp-lesson-list p { margin: 0 !important; color: var(--lp-muted); font-size: .98rem; line-height: 1.5; }
.lp-lesson-list small { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--lp-teal); }
@media (min-width: 768px) { .lp-lesson-list { grid-template-columns: 1fr 1fr; } }

/* ---------- Pagina „Despre” ---------- */
.lp-about-page .lp-h1 { font-size: clamp(2rem, 4.6vw, 3rem); }
.lp-about-page__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .lp-about-page__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 64px; } }
.lp-about-page__portrait { display: block; width: 100%; max-width: 420px; height: auto; border-radius: 24px; box-shadow: var(--lp-shadow); }
.lp-prose { max-width: 720px; }
.lp-prose p { font-size: 1.12rem; line-height: 1.65; color: var(--lp-text); }
.lp-prose h2 { font-family: var(--lp-font); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.015em; margin: 2.4rem 0 .8rem; }
.lp-prose ul { padding-left: 1.3rem; font-size: 1.08rem; line-height: 1.6; }
.lp-prose li { margin: 0 0 .4rem; }
.lp-facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.lp-facts li { background: #FFFFFF; border: 1px solid var(--lp-border); border-radius: 12px; padding: 12px 14px; font-size: 1rem; }
.lp-facts b { color: var(--lp-teal); }
.lp-about-page .lp-inaction { margin-top: 0; }

/* ---------- Mișcare redusă ---------- */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .lp-sticky, .lp-btn, .lp-page { transition: none; } }

[hidden] { display: none !important; }
.lp-lesson__body .lp-lesson__nav { margin-top: 40px; }
.lp-btn { text-align: center; }
.lp-legal { overflow-wrap: anywhere; }
.lp-about__links { align-items: center; column-gap: 24px; }
.lp-about__link { color: #FFFFFF !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.lp-about__link:hover { text-decoration-thickness: 2px; }
@media (max-width: 640px) { .lp-about__links .lp-about__link { flex: 0 0 auto; } }
.lp-textlink { color: var(--lp-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; align-self: center; }
.lp-textlink:hover { text-decoration-thickness: 2px; }
.lp-lesson__actions { align-items: center; column-gap: 24px; }
.lp-footer__brand a { color: inherit; text-decoration: none; }
.lp-footer__brand a:hover { text-decoration: underline; }
/* hero pe telefon: mai mult aer (Viorel) */
@media (max-width: 991px) {
    .lp-hero { padding-top: 48px; }
    .lp-hero .lp-h1 { margin-bottom: 28px; }
    .lp-hero__form { margin-top: 2.25rem; }
}
