/* Nova Kronsoft: stiluri comune pentru toate paginile.
   Layout: antet pe toată lățimea; dedesubt două coloane, conținutul la stânga
   și formularul de contact fixat la dreapta. Sub 960px, o singură coloană. */
:root {
  --bg: #F6F7F4; --surface: #FFFFFF; --fg: #1B2420; --muted: #5B6A63; --line: #DCE2DD;
  --accent: #1F5A4A; --accent-hover: #17463A; --accent-soft: #E3EEE9; --warm: #B7791F;
  --on-accent: #FFFFFF; --danger: #B3261E;
  --display: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #121815; --surface: #19211D; --fg: #E7ECE9; --muted: #9AA9A1; --line: #2B3631;
  --accent: #7CC4AA; --accent-hover: #95D3BC; --accent-soft: #1F2E28; --warm: #E0A64B;
  --on-accent: #10201A; --danger: #F2B8B5; color-scheme: dark } }
:root[data-theme="dark"] {
  --bg: #121815; --surface: #19211D; --fg: #E7ECE9; --muted: #9AA9A1; --line: #2B3631;
  --accent: #7CC4AA; --accent-hover: #95D3BC; --accent-soft: #1F2E28; --warm: #E0A64B;
  --on-accent: #10201A; --danger: #F2B8B5; color-scheme: dark }

* { box-sizing: border-box }
html { scroll-padding-top: 1.5rem }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body);
  font-size: 1.0625rem; line-height: 1.65;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px)) }
a { color: var(--accent) }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px }
p { margin: 0 }

/* antet */
.site-header { max-width: 74rem; margin: 0 auto; padding-block: 1.75rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; flex-wrap: wrap }
.brand { display: flex; align-items: center; text-decoration: none }
.wordmark { height: 26px; width: auto; max-width: 100% }
.nav { display: flex; align-items: center; gap: .5rem 1.25rem; flex-wrap: wrap;
  font-family: var(--display); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase }
.nav a { color: var(--muted); text-decoration: none }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent) }
.nav .nav-cta { color: var(--on-accent); background: var(--accent); padding: .4rem .9rem; border-radius: 999px }
.nav .nav-cta:hover { color: var(--on-accent); background: var(--accent-hover) }

/* cele două coloane */
.page { max-width: 74rem; margin: 0 auto; padding-block: 2.75rem 2rem;
  display: grid; grid-template-columns: minmax(0, 1fr) 23rem;
  grid-template-areas: "hero aside" "rest aside"; gap: 3rem 4rem }
.hero { grid-area: hero; display: flex; flex-direction: column; gap: 1.2rem }
.rest { grid-area: rest; display: flex; flex-direction: column; gap: 3.5rem; min-width: 0 }
.aside { grid-area: aside; align-self: start; position: sticky; top: 1.5rem;
  max-height: calc(100vh - 3rem); overflow-y: auto; min-width: 0 }
.page.single { grid-template-columns: minmax(0, 46rem); grid-template-areas: "hero" "rest"; justify-content: center }
@media (max-width: 960px) {
  .page { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "aside" "rest"; gap: 2.5rem }
  .aside { position: static; max-height: none; overflow: visible }
}

/* tipografie */
h1, h2, h3 { font-family: var(--display); text-wrap: balance; letter-spacing: -.02em; margin: 0 }
h1 { font-size: clamp(1.75rem, 4.6vw, 2.6rem); line-height: 1.15; font-weight: 700; letter-spacing: -.03em }
h1 em { font-style: normal; color: var(--accent) }
h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: .9rem }
h3 { font-size: 1.1rem; font-weight: 600 }
.eyebrow { font-family: var(--display); font-size: .8rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 38rem }
.hero .sign { color: var(--fg); font-weight: 500 }
.section-lead { color: var(--muted); margin-bottom: 1.25rem; max-width: 40rem }

/* roțile dințate */
.hero-top { display: flex; align-items: center; gap: 1.5rem }
.hero-top h1 { flex: 1; min-width: 0 }
.gears { width: 140px; max-width: 100%; height: auto; flex-shrink: 0 }
.gear { transform-origin: 0 0 }
.g1 { fill: var(--accent); animation: spin 12s linear infinite }
.g2 { fill: var(--warm); fill-rule: evenodd; animation: spin 8s linear infinite reverse }
.gear-core { fill: var(--bg) }
.gear-code { fill: var(--accent); font-family: var(--display); font-weight: 700; font-size: 15px }
@keyframes spin { to { transform: rotate(360deg) } }
@media (prefers-reduced-motion: reduce) { .g1, .g2 { animation: none } }
@media (max-width: 560px) { .hero-top { flex-direction: column-reverse; align-items: flex-start; gap: 1rem } .gears { width: 100px } }

/* liste de servicii */
.list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line) }
.list li { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line) }
.list strong { font-weight: 600 }
.list span { color: var(--muted) }
@media (max-width: 560px) { .list li { grid-template-columns: 1fr; gap: .2rem } }

/* soluții pe domenii */
.domains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem }
.domain { display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; color: inherit }
a.domain:hover { border-color: var(--accent) }
.domain b { font-family: var(--display); font-weight: 600 }
.domain span { color: var(--muted); font-size: .95rem }
.domain .go { color: var(--accent); font-weight: 600; font-size: .9rem; margin-top: auto }
.domain.soon .go { color: var(--muted); font-weight: 500 }
@media (max-width: 560px) { .domains { grid-template-columns: 1fr } }

/* poveste, valori, pași */
.story { display: flex; flex-direction: column; gap: 1rem }
.story p, .prose p { color: var(--muted) }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem }
.value { display: flex; flex-direction: column; gap: .45rem; padding-top: 1rem; border-top: 1px solid var(--line) }
.value-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center }
.value-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.value b { font-family: var(--display); font-weight: 600; font-size: 1.05rem }
.value p { color: var(--muted); font-size: .98rem }
@media (max-width: 560px) { .values { grid-template-columns: 1fr } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; counter-reset: s }
.steps li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .8rem; counter-increment: s }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 700; color: var(--warm); font-size: 1.25rem; line-height: 1.4 }
.steps b { font-weight: 600 }
.steps p { color: var(--muted) }
.pains { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem }
.pains li { padding-left: 1.6rem; position: relative; color: var(--muted) }
.pains li::before { content: "×"; position: absolute; left: 0; top: -.05rem; color: var(--warm); font-family: var(--display); font-weight: 700; font-size: 1.15rem }
.note { background: var(--accent-soft); border-radius: 12px; padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .6rem }
.note p { color: var(--fg) }
.closing { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap }
.closing svg { width: 64px; height: auto; flex-shrink: 0 }
.closing p { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 3.6vw, 1.75rem); line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; flex: 1; min-width: 0 }
.closing span { color: var(--accent) }

/* exemplu de SMS (pagina clinici) */
.sms { align-self: flex-start; max-width: 24rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; padding: .9rem 1.1rem; box-shadow: 0 6px 24px rgba(27, 36, 32, .07); display: flex; flex-direction: column; gap: .35rem }
.sms small { font-family: var(--display); font-size: .72rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase }
.sms p { color: var(--fg); font-size: .98rem }

/* textul juridic */
.prose { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem }
.prose h2 { margin: 1rem 0 0 }
.prose ul { margin: 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: .35rem }

/* formularul de contact din coloana a doua */
.contact-card { background: var(--accent-soft); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem }
.contact-card h2 { margin: 0; font-size: 1.35rem }
.contact-card > p { color: var(--muted); font-size: .95rem }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem .8rem }
.field { display: flex; flex-direction: column; gap: .25rem; min-width: 0 }
.field.full { grid-column: 1 / -1 }
.field label { font-size: .85rem; font-weight: 600 }
.field .opt { font-weight: 400; color: var(--muted) }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: .55rem .7rem; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent) }
.form textarea { resize: vertical }
.gdpr { grid-column: 1 / -1; display: flex; gap: .55rem; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.45 }
.gdpr input { margin-top: .2rem; accent-color: var(--accent); flex-shrink: 0 }
.actions { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: stretch; gap: .6rem }
.btn { font: inherit; font-weight: 600; cursor: pointer; border: 0; border-radius: 999px; padding: .7rem 1.4rem; background: var(--accent); color: var(--on-accent) }
.btn:hover { background: var(--accent-hover) }
.btn:disabled { opacity: .6; cursor: wait }
.status { color: var(--accent); font-weight: 600; font-size: .9rem }
.status.error { color: var(--danger) }
.direct { font-size: .85rem; color: var(--muted) }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }

/* subsol */
.site-footer { max-width: 74rem; margin: 0 auto; border-top: 1px solid var(--line); padding-block: 1.25rem 2rem;
  font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-variant-numeric: tabular-nums }
.site-footer a { color: var(--muted) }

/* „Ce te încurcă azi?” (pagina principală) */
.picker { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface) }
.picker h3 { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase }
.chips { display: flex; flex-wrap: wrap; gap: .5rem }
.chip { font: inherit; font-size: .92rem; cursor: pointer; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); transition: background .15s, border-color .15s }
.chip:hover { border-color: var(--accent) }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent) }
.plan { border-top: 1px dashed var(--line); padding-top: 1rem; display: flex; flex-direction: column; gap: .7rem }
.plan ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem }
.plan li::marker { color: var(--warm); font-family: var(--display); font-weight: 700 }
.plan .empty { color: var(--muted); font-size: .95rem }
.link-btn { align-self: flex-start; font: inherit; font-weight: 600; cursor: pointer; border: 1px solid var(--accent); color: var(--accent); background: transparent; border-radius: 999px; padding: .5rem 1.1rem }
.link-btn:hover { background: var(--accent); color: var(--on-accent) }
.link-btn:disabled { opacity: .45; cursor: not-allowed; background: transparent; color: var(--accent) }

/* calculatorul pentru clinici */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 2rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface) }
.calc-inputs { display: flex; flex-direction: column; gap: 1rem }
.slider { display: flex; flex-direction: column; gap: .3rem }
.slider label { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; font-weight: 600 }
.slider output { font-family: var(--display); color: var(--accent); font-variant-numeric: tabular-nums }
.slider input[type="range"] { width: 100%; accent-color: var(--accent) }
.slider.scenario label { color: var(--warm) }
.slider.scenario output { color: var(--warm) }
.calc-results { display: flex; flex-direction: column; gap: .9rem; justify-content: center }
.metric { display: flex; flex-direction: column; gap: .1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line) }
.metric span { font-size: .85rem; color: var(--muted) }
.metric strong { font-family: var(--display); font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em }
.metric.loss strong { color: var(--danger) }
.metric.win strong { color: var(--accent) }
.calc-note { grid-column: 1 / -1; font-size: .85rem; color: var(--muted) }
.calc .link-btn { grid-column: 1 / -1 }
@media (max-width: 640px) { .calc { grid-template-columns: 1fr } }

/* SMS interactiv */
.sms-replies { display: flex; gap: .5rem; justify-content: flex-end; margin-top: .35rem }
.sms-replies button { font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; border: 1px solid var(--accent); border-radius: 14px 14px 4px 14px; padding: .25rem .9rem; background: transparent; color: var(--accent) }
.sms-replies button:hover, .sms-replies button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent) }
.sms-result { font-size: .88rem; color: var(--muted); min-height: 1.3em }
.sms-result b { color: var(--fg) }
.hero-picker { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.2rem }
.hero-picker h2 { margin: 0 }
.hero-picker .section-lead { margin: 0 }
.plan-domain { font-weight: 600 }
.demo { display: flex; flex-direction: column; gap: .6rem }
.domains { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)) }
