/* Efficera landing: varianta A (verde inchis). Fara fonturi externe: font de sistem. */
:root {
  --forest: #17251c;
  --forest-deep: #101a13;
  --ink: #1c2a21;
  --ink-2: #36423a;
  --muted: #4f5b53;
  --cream: #faf8ef;
  --line: #e6e1d2;
  --white: #ffffff;
  --green: #3f7d32;
  --green-text: #2f6b25;
  --green-soft: #e7f0e3;
  --lime: #8cc63f;
  --yellow: #e8b840;
  --yellow-soft: #fbf1d6;
  --yellow-text: #7a5a0e;
  --navy: #1b3350;
  --on-dark: #f4f1e6;
  --on-dark-2: #d5dcd3;
  --error: #a52a14;
  --radius: 16px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-text); }
a:hover { color: #1f4d18; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--ink); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-text); }
.lead { font-size: 18px; line-height: 1.55; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; border-radius: 12px; font: inherit; font-size: 17px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }
.btn-yellow { background: var(--yellow); color: var(--forest); }
.btn-yellow:hover { background: #f0c757; color: var(--forest); }
.btn-dark { background: var(--forest); color: var(--white); }
.btn-dark:hover { background: #22352a; color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Hero */
.hero { background: var(--forest); color: var(--on-dark); }
/* Banda alba cu logo-ul (logo-ul are fundal alb, deci sta pe alb) */
.site-header, .simple-header { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 10px; }
.logo { display: inline-flex; }
.logo img { height: 40px; width: auto; }
@media (min-width: 768px) { .topbar { padding-block: 12px; } .logo img { height: 52px; } }
.btn-outline { color: var(--forest); font-size: 14px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--forest); border-radius: 999px; padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.btn-outline:hover { background: var(--forest); color: var(--white); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.hero-grid { display: grid; gap: 32px; padding-block: 32px 48px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; padding-block: 56px 88px; align-items: start; } }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.badge { align-self: flex-start; background: var(--green); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.06; }
.hero h1 .hl { color: var(--yellow); }
.hero .sub { font-size: 18px; line-height: 1.55; color: var(--on-dark-2); max-width: 580px; }
@media (min-width: 768px) { .hero .sub { font-size: 19px; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 16px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 1px; }

.hero-visual { display: flex; justify-content: center; order: -1; }
@media (min-width: 960px) { .hero-visual { order: 0; padding-top: 24px; } }
.covers { position: relative; width: 46%; max-width: 420px; }
@media (min-width: 960px) { .covers { width: 100%; } }
.covers .back { position: absolute; top: 9%; left: 16%; width: 82%; transform: rotate(5deg); border-radius: 8px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); opacity: 0.92; display: none; }
@media (min-width: 960px) { .covers .back { display: block; } }
.covers .front { position: relative; width: 100%; transform: rotate(-3deg); border-radius: 8px; box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45); }
@media (min-width: 960px) { .covers .front { width: 86%; } }

/* Form */
.lead-form { background: var(--white); color: var(--ink); border-radius: 20px; padding: 22px; display: grid; gap: 14px; max-width: 580px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25); scroll-margin-top: 16px; }
@media (min-width: 768px) { .lead-form { padding: 28px; gap: 16px; } }
.lead-form h2 { font-size: 22px; font-weight: 800; }
.lead-form .meta { font-size: 15px; color: var(--muted); margin-top: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input { font: inherit; font-size: 16px; padding: 13px 14px; min-height: 48px; border: 1.5px solid #c9cfc4; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
.field input:focus { border-color: var(--green); outline: 3px solid rgba(63, 125, 50, 0.25); outline-offset: 0; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field .err { font-size: 13px; color: var(--error); min-height: 0; }

/* Telefon: prefix cu steag (select nativ transparent peste fata vizibila) + numarul national */
.phone { display: flex; align-items: stretch; border: 1.5px solid #c9cfc4; border-radius: 10px; background: var(--white); }
.phone:focus-within { border-color: var(--green); outline: 3px solid rgba(63, 125, 50, 0.25); }
.phone:has(input[aria-invalid="true"]) { border-color: var(--error); }
.cc { position: relative; flex: none; display: flex; align-items: center; border-right: 1.5px solid #e2e5df; border-radius: 10px 0 0 10px; }
.cc:hover { background: #f4f6f2; }
.cc-face { display: flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; font-size: 16px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cc-face .chev { color: var(--muted); }
.flag { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14); flex: none; }
.cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; border: 0; }
.phone input, .phone input:focus { border: 0; outline: none; border-radius: 0 10px 10px 0; flex: 1; min-width: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-status { font-size: 14px; line-height: 1.45; border-radius: 10px; padding: 12px 14px; background: #f8e4de; color: #6e2414; }
.form-status[hidden] { display: none; }

/* Sections */
.section { padding-block: 56px; }
@media (min-width: 768px) { .section { padding-block: 72px; } }
.section-head { display: grid; gap: 10px; max-width: 760px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }

.cards-3 { display: grid; gap: 16px; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.stat { background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--navy); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.stat.green { border-top-color: var(--green); }
.stat.yellow { border-top-color: var(--yellow); }
.stat .num { font-size: clamp(36px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.stat.green .num { color: var(--green-text); }
.stat.yellow .num { color: #8a6510; }
.stat h3 { font-size: 18px; }
.stat p { font-size: 15px; color: var(--muted); }
.tag { justify-self: start; font-size: 13px; font-weight: 700; background: var(--green-soft); color: var(--green-text); padding: 5px 12px; border-radius: 999px; }
.stat.yellow .tag { background: var(--yellow-soft); color: var(--yellow-text); }

.urgency { background: var(--yellow-soft); border-radius: 24px; padding: 28px 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 960px) { .urgency { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); padding: 48px; gap: 48px; align-items: center; } }
.urgency .eyebrow { color: var(--yellow-text); }
.urgency-copy { display: grid; gap: 16px; justify-items: start; }
.urgency h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
.urgency p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.chart { margin: 0; background: var(--white); border-radius: var(--radius); padding: 20px 14px 14px; min-width: 0; }
@media (min-width: 768px) { .chart { padding: 22px 18px 16px; } }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 180px; border-bottom: 1.5px solid #c9cfc4; }
@media (min-width: 768px) { .bars, .dates { gap: 12px; } }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; font-weight: 700; font-size: 15px; }
.bar span { display: block; width: 100%; border-radius: 8px 8px 0 0; }
.bar:nth-child(1) span { height: 80%; background: var(--green); }
.bar:nth-child(2) span { height: 60%; background: #5e9450; }
.bar:nth-child(3) span { height: 40%; background: #8bae81; }
.bar:nth-child(4) span { height: 20%; background: #b9cdb1; }
.bar:nth-child(5) span { height: 6px; background: var(--yellow); border-radius: 3px 3px 0 0; }
.dates { display: flex; gap: 8px; padding-top: 10px; font-size: 12px; line-height: 1.35; color: var(--muted); text-align: center; }
.dates span { flex: 1; min-width: 0; }
.dates strong { color: var(--ink); display: block; }
@media (min-width: 768px) { .dates { font-size: 13px; } }

.contents { display: grid; gap: 32px; }
@media (min-width: 960px) { .contents { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; } }
.contents-intro { display: grid; gap: 14px; align-content: start; }
.contents-intro h2 { font-size: clamp(28px, 3.6vw, 36px); font-weight: 800; }
.contents-intro p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.contents-intro img { width: 70%; max-width: 320px; border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 16px 32px rgba(23, 37, 28, 0.12); margin-top: 8px; display: none; }
@media (min-width: 960px) { .contents-intro img { display: block; } }
.toc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.toc li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 1.4; }
.toc b { display: block; color: var(--green-text); font-size: 13px; margin-bottom: 2px; }

.rule { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.rule .n { flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--green); color: var(--white); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.rule h3 { font-size: 17px; margin-bottom: 6px; line-height: 1.3; }
.rule p { font-size: 15px; color: var(--muted); }

.author { display: grid; gap: 24px; align-items: center; }
@media (min-width: 768px) { .author { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; } }
.author .photo { width: 160px; height: 160px; border-radius: 999px; background: var(--green-soft); overflow: hidden; }
.author .photo picture, .author .photo img { display: block; width: 100%; height: 100%; }
.author .photo img { object-fit: cover; }
@media (min-width: 768px) { .author .photo { width: 200px; height: 200px; } }
.author-copy { display: grid; gap: 12px; }
.author-copy h2 { font-size: 32px; font-weight: 800; }
.author-role { display: flex; align-items: center; gap: 12px; }
.author-copy .author-role .role { font-size: 18px; font-weight: 600; color: var(--green-text); line-height: 1.3; }
@media (max-width: 767px) { .author-copy .author-role .role { max-width: 12.5em; } }
.author .cert { flex: none; display: block; width: 52px; }
.author .cert img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.author .cert:hover img, .author .cert:focus-visible img { box-shadow: 0 4px 12px rgba(0, 0, 0, .28); }
.author .cert { cursor: zoom-in; }

/* Lightbox (dialog nativ) pentru certificat */
.lightbox { padding: 0; border: 0; border-radius: 10px; background: var(--white); max-width: min(92vw, 640px); max-height: 92vh; overflow: visible; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.lightbox::backdrop { background: rgba(16, 26, 19, .78); }
.lightbox img { display: block; width: 100%; height: auto; max-height: 92vh; object-fit: contain; border-radius: 10px; }
.lightbox-close { position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--white); color: var(--forest); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.lightbox-close:hover { background: var(--yellow); }
@media (max-width: 767px) { .lightbox-close { top: 8px; right: 8px; } }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] { animation: lightbox-in .18s ease-out; } }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.author-copy p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }

.faq-section { padding-bottom: 72px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { font-size: 17px; font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }

.final { background: var(--forest); color: var(--on-dark); }
.final .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 56px; }
.final h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.final p { color: var(--on-dark-2); font-size: 17px; margin-top: 8px; }

.site-footer { background: var(--forest-deep); color: #b7c0b5; font-size: 14px; }
.site-footer .wrap { display: grid; gap: 12px; padding-block: 28px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: #dde3da; }
.site-footer a:hover { color: var(--white); }
.site-footer .small { font-size: 13px; line-height: 1.5; color: #98a396; }

/* Pagini simple: confirmare, Impressum, Datenschutz */
.simple-header .wrap { padding-block: 10px; }
@media (min-width: 768px) { .simple-header .wrap { padding-block: 12px; } }
.simple { max-width: 760px; margin: 0 auto; padding: 56px 20px 72px; display: grid; gap: 24px; }
@media (min-width: 768px) { .simple { padding: 72px 40px 88px; } }
.simple h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; letter-spacing: -0.02em; }
.simple p { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.icon-circle { width: 64px; height: 64px; border-radius: 999px; background: var(--green-soft); display: flex; align-items: center; justify-content: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-size: 17px; }
.steps .n { flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--green); color: var(--white); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.note { font-size: 15px; color: var(--muted); }
.callout-dark { background: var(--forest); color: var(--on-dark); border-radius: 18px; padding: 26px; display: grid; gap: 10px; justify-items: start; }
.callout-dark p { color: var(--on-dark-2); font-size: 16px; }
.placeholder { background: var(--yellow-soft); border: 2px dashed #c9a43c; border-radius: 14px; padding: 20px; font-size: 16px; color: var(--ink-2); }
