:root {
  --bg: #ffffff;
  --tint: #f1f6f4;
  --ink: #0f1f1d;
  --text: #3a4846;
  --muted: #687674;
  --line: #dde6e3;
  --primary: #0b5d52;
  --primary-dark: #08473f;
  --primary-soft: #e3f0ec;
  --accent: #f4b740;
  --dark: #0c2b27;
  --error: #b42318;
  --radius: 16px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.small { font-size: .92rem; color: var(--muted); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 1rem/1 var(--font);
  background: var(--primary); color: #fff; border: 0; border-radius: 999px;
  padding: 16px 28px; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(11, 93, 82, .55);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-light:hover { background: var(--tint); color: var(--ink); }
.btn-full { width: 100%; }

/* Antet */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--primary); color: var(--accent); font-weight: 800; font-size: 1.05rem;
}
.nav { display: flex; gap: 28px; align-items: center; font-size: .97rem; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--primary); }
.nav-cta { background: var(--ink); color: #fff !important; padding: 10px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--primary); }

/* Erou */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, var(--tint) 0%, #fff 100%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 22px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22a06b; box-shadow: 0 0 0 4px rgba(34, 160, 107, .18); }
.hero h1 { max-width: 16ch; }
.lead { font-size: 1.15rem; max-width: 54ch; }

.price {
  display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 4px;
  margin: 28px 0 28px;
}
.price p { margin: 0; }
.price-now { font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price-old { font-size: 1.15rem; color: var(--muted); }
.price-tag {
  flex-basis: 100%; display: inline-block; width: fit-content;
  background: #fff4d9; color: #7a5300; font-size: .9rem; font-weight: 600;
  padding: 5px 12px; border-radius: 8px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; padding: 24px 0 24px 24px; }
.hero-photo {
  width: 100%; aspect-ratio: 8 / 9; object-fit: cover;
  border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(12, 43, 39, .45);
}
.hero-docs {
  position: relative; overflow: hidden;
  background: var(--primary);
  background-image: radial-gradient(circle at 80% 15%, rgba(244, 183, 64, .35), transparent 45%);
}
.doc {
  position: absolute; background: #fff; border-radius: 12px; padding: 22px 22px 18px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45);
}
.doc span { display: block; height: 8px; border-radius: 4px; background: #e6ece9; margin-top: 10px; }
.doc span.short { width: 60%; }
.doc-title { font-weight: 800; color: var(--ink); font-size: .95rem; margin: 0 0 4px; }
.doc-1 { width: 58%; left: 9%; top: 10%; transform: rotate(-6deg); }
.doc-2 { width: 54%; right: 8%; top: 30%; transform: rotate(4deg); }
.doc-3 { width: 60%; left: 14%; bottom: 9%; transform: rotate(-2deg); }
.doc-sign { margin: 14px 0 0; font-size: .78rem; color: var(--muted); border-top: 1.5px solid var(--ink); width: 45%; margin-left: auto; padding-top: 4px; text-align: center; }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: 0 18px 40px -16px rgba(12, 43, 39, .35);
}
.float svg { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--primary-soft); stroke: var(--primary); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.float b { display: block; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.float span { font-size: .85rem; color: var(--muted); }
.float-a { left: -8px; bottom: 64px; }
.float-b { right: -12px; top: 48px; }

/* Cifre */
.stats { background: var(--dark); color: #cfe2dd; }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-in div { padding: 30px 24px; display: flex; align-items: center; gap: 14px; }
.stats-in div + div { border-left: 1px solid rgba(255, 255, 255, .1); }
.stats b { font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stats span { font-size: .95rem; line-height: 1.35; }

/* Secțiuni */
.block { padding: 88px 0; }
.block-tint { background: var(--tint); }
.sec-head { max-width: 640px; margin-bottom: 44px; }
.sec-head.center { text-align: center; margin-inline: auto; }

.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.who p { margin: 0; font-size: .97rem; }
.ico { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-soft); display: grid; place-items: center; margin-bottom: 18px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.program { list-style: none; margin: 0; padding: 0; counter-reset: tema; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.program li {
  counter-increment: tema; background: #fff; border-radius: var(--radius); padding: 26px 24px 24px;
  border: 1px solid var(--line);
}
.program li::before {
  content: "Tema " counter(tema);
  display: inline-block; font-size: .8rem; font-weight: 700; color: var(--primary);
  background: var(--primary-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.program li:last-child { background: var(--primary); border-color: var(--primary); }
.program li:last-child::before { background: var(--accent); color: var(--ink); content: "Final"; }
.program li:last-child h3 { color: #fff; }
.program li:last-child p { color: #d6ebe5; }
.program p { margin: 0; font-size: .97rem; }

/* Examen */
.block-dark { background: var(--dark); color: #c9ddd8; }
.block-dark h2 { color: #fff; }
.exam-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.eyebrow-date { display: inline-block; background: var(--accent); color: var(--ink); font-weight: 700; font-size: .9rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1f1d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks b { color: #fff; }
.block-dark .small { color: #8fb0a8; }

.cert-visual { position: relative; min-height: 380px; }
.cert-paper {
  position: absolute; background: #fffdf7; border-radius: 10px; padding: 30px 30px 24px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  border: 8px solid #fff; outline: 1px solid #e8dfc4; outline-offset: -14px;
}
.cert-paper span { display: block; height: 8px; border-radius: 4px; background: #ece6d3; margin-top: 12px; }
.cert-paper span.short { width: 55%; margin-inline: auto; }
.cp-brand { margin: 0; text-align: center; font-weight: 800; color: var(--primary); letter-spacing: -.01em; }
.cp-title { margin: 6px 0 2px; text-align: center; font-weight: 800; color: var(--ink); font-size: 1.25rem; }
.cp-sub { margin: 0 0 8px; text-align: center; font-size: .85rem; color: var(--muted); }
.cert-back { width: 72%; top: 0; left: 0; transform: rotate(-5deg); opacity: .8; }
.cert-front { width: 80%; right: 0; bottom: 0; transform: rotate(3deg); }
.cp-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 22px; }
.cp-no { margin: 0; font-size: .8rem; color: var(--muted); }
.cp-seal {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--ink); font-weight: 800;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .55);
}

/* Lector */
.lector-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.lector-photo img, .lector-fallback { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; border-radius: 28px; }
.lector-fallback {
  display: grid; place-items: center; background: var(--primary-soft);
  color: var(--primary); font-size: 5rem; font-weight: 800; letter-spacing: -.04em;
}
.role { color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.lector-text p:not(.role) { font-size: 1.08rem; max-width: 60ch; }

/* Formular */
.form-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.sum { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); margin: 24px 0; }
.sum div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; font-size: .95rem; }
.sum div + div { border-top: 1px solid var(--line); }
.sum span { color: var(--muted); }
.sum b { color: var(--ink); text-align: right; }
.form {
  display: grid; gap: 18px; background: #fff; border-radius: 22px; padding: 34px;
  box-shadow: 0 30px 60px -36px rgba(12, 43, 39, .35); border: 1px solid var(--line);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 7px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.opt { font-weight: 500; color: var(--muted); margin-left: 4px; }
.form input[type=text], .form input[type=tel], .form input[type=email], .form select, .form textarea {
  width: 100%; font: 500 1rem/1.4 var(--font); color: var(--ink);
  background: #fbfcfc; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); background: #fff; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .92rem; color: var(--text); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { border-radius: 12px; background: #fdecea; padding: 14px 18px; font-size: .95rem; color: var(--ink); }
.form-errors p { margin: 0 0 4px; font-weight: 700; color: var(--error); }
.form-errors ul { margin: 0; padding-left: 18px; }

/* Întrebări */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1.05rem; list-style: none; position: relative; padding-right: 40px; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1;
}
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; }

/* Pagini simple */
.page { padding: 80px 0; min-height: 55vh; }
.narrow { max-width: 760px; }
.page h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.prose h2 { font-size: 1.25rem; margin-top: 1.8em; }

/* Subsol */
.foot { background: var(--dark); color: #a9c2bc; padding: 44px 0; font-size: .93rem; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { margin: 0 0 4px; }
.foot-logo { font-weight: 800; color: #fff; font-size: 1.15rem; }
.foot-links { display: grid; gap: 4px; align-content: start; }
.foot a { color: #fff; }

@media (max-width: 1000px) {
  .hero-in, .exam-in, .lector-in, .form-grid, .faq { grid-template-columns: 1fr; }
  .hero-in { gap: 40px; }
  .hero-visual { max-width: 560px; }
  .who { grid-template-columns: repeat(2, 1fr); }
  .program { grid-template-columns: repeat(2, 1fr); }
  .stats-in { grid-template-columns: repeat(2, 1fr); }
  .stats-in div:nth-child(3) { border-left: 0; }
  .stats-in div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .cert-visual { min-height: 340px; max-width: 520px; }
  .lector-photo { max-width: 380px; }
  .faq { gap: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 36px 0 56px; }
  .hero-visual { padding: 16px 0 16px 8px; }
  .float { padding: 10px 12px; }
  .float svg { width: 32px; height: 32px; padding: 6px; }
  .float-a { left: -4px; bottom: 28px; }
  .float-b { right: -4px; top: 24px; }
  .who, .program { grid-template-columns: 1fr; }
  .stats-in div { padding: 22px 12px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .row-2 { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .block { padding: 64px 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .sum div { flex-direction: column; gap: 2px; }
  .sum b { text-align: left; }
  .cert-visual { min-height: 300px; }
  .cert-paper { padding: 22px 20px 18px; }
}
.btn-ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.price { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; }
.price-tag { grid-column: 1 / -1; justify-self: start; flex-basis: auto; }

/* De ce merită */
.block-why { padding-top: 24px; }
.why-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; }
.why-paths .sec-head { margin-bottom: 28px; }
.path { border-left: 4px solid var(--accent); padding: 4px 0 4px 22px; margin-bottom: 28px; }
.path:last-child { margin-bottom: 0; }
.path-tag { font-size: .88rem; font-weight: 700; color: var(--primary); margin: 0 0 6px; }
.path h3 { font-size: 1.3rem; margin-bottom: 8px; }
.path p:last-child { margin: 0; }
.why-card {
  background: var(--dark); color: #cfe2dd; border-radius: 22px; padding: 34px 32px;
  box-shadow: 0 30px 60px -30px rgba(12, 43, 39, .55);
}
.why-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 4px; }
.checks-dark { margin: 22px 0 28px; }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: none; }
.btn-accent:hover { background: #ffc85c; color: var(--ink); }
@media (max-width: 1000px) {
  .why-in { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .why-card { padding: 26px 22px; }
  .why-card .btn { width: 100%; }
}
.logo-img { width: 36px; height: 36px; display: block; }
.foot-logo-img { height: 36px; width: auto; margin-bottom: 12px; }
.hero-photo, .lector-photo img { object-position: center top; background: #1b1d1e; }
img.hero-photo, .lector-photo img { height: auto; }
@media (max-width: 640px) {
  .float-b { top: auto; bottom: 104px; right: -4px; }
  .float-a { bottom: 28px; left: -4px; }
}
