/* Stiluri dan.moraru-team.net — designul „Clar”: consultanță modernă, luminoasă; verde-petrol pe alb. */
:root {
  --bg: #fff; --bg-alt: #f5f5f5; --surface: #fff; --text: #111; --muted: #555; --line: #e5e5e5;
  --accent: #0f766e; --accent-ink: #fff; --accent-soft: #e6f4f1;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: var(--font);
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  --radius: 12px; --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(0 0 0 / .06);
  --wrap: 1120px; --gutter: clamp(16px, 4vw, 32px); --section: clamp(44px, 6.5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; }

/* Antet */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font-size: .9rem; letter-spacing: .02em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text small { font-weight: 400; color: var(--muted); font-size: .78rem; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.nav a:hover { background: var(--accent-soft); }
.nav .nav-cta { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.nav .nav-cta:hover { background: var(--accent); filter: brightness(1.08); }
@media (max-width: 820px) { .nav a:not(.nav-cta) { display: none; } }

/* Butoane */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px;
  border-radius: 10px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent;
  transition: transform .15s, filter .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { font-size: 1.1rem; padding: 16px 26px; overflow-wrap: anywhere; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { padding: clamp(40px, 6.5vw, 84px) 0 var(--section); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.accent { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.terminal { margin: 0 0 18px; padding: 16px; border-radius: calc(var(--radius) - 4px); background: #0b1220; color: #d6e2f0;
  font: 13.5px/1.7 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.t-dim { color: #7c8aa0; } .t-ok { color: #4ade80; }
/* Exemplele din terminal stau suprapuse (înălțimea = cel mai lung); js/terminal.js le alternează. */
.terminal { display: grid; }
.t-run { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.t-run.is-on { opacity: 1; visibility: visible; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--font-head); font-size: 1.9rem; line-height: 1; color: var(--accent); }
.stats span { font-size: .82rem; color: var(--muted); margin-top: 6px; line-height: 1.3; }

/* Secțiuni */
.section { padding: var(--section) 0; scroll-margin-top: 68px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-lead { color: var(--muted); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 40px; height: 40px; padding: 8px; margin-bottom: 16px; border-radius: 10px; background: var(--accent-soft);
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.examples { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 18px; }
.example { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.example p { margin: 0; padding: 18px 22px; }
.example .before { color: var(--muted); border-bottom: 1px dashed var(--line); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 2px 8px; border-radius: 999px; margin-right: 8px; vertical-align: 2px; background: var(--line); color: var(--muted); }
.after .tag { background: var(--accent); color: var(--accent-ink); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.steps li { counter-increment: s; position: relative; padding: 24px 20px 20px; border-top: 3px solid var(--accent); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 .85rem var(--font-mono); color: var(--accent); margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; font-size: .96rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.tech { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tech li { font: 500 .82rem var(--font-mono); padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 8px; display: flex; flex-direction: column; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-alt); border: 3px solid var(--accent); }
.timeline strong { margin: 2px 0; }
.timeline span:last-child { color: var(--muted); font-size: .95rem; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.quote { margin: 0; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; }
.quote blockquote { margin: 0 0 18px; font-size: 1.08rem; }
.quote figcaption { color: var(--muted); font-size: .9rem; }
.quote figcaption strong { color: var(--text); }
.note { margin-top: 20px; color: var(--muted); font-size: .92rem; }

.contact-box { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: center; background: var(--accent);
  color: var(--accent-ink); border-radius: calc(var(--radius) * 1.5); padding: clamp(28px, 5vw, 56px); }
@media (max-width: 820px) { .contact-box { grid-template-columns: 1fr; } }
.contact-box .eyebrow { color: inherit; opacity: .8; }
.contact-box .btn-primary { background: var(--accent-ink); color: var(--accent); }
.small { font-size: .86rem; opacity: .85; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .92rem; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-row p { margin: 0; }

/* Accente specifice designului */
:root {
  --bg: #ffffff; --bg-alt: #f4f7f8; --surface: #ffffff; --text: #0f1b24; --muted: #51606c; --line: #e1e8ec;
  --accent: #0f766e; --accent-ink: #ffffff; --accent-soft: #e3f3f0;
  --radius: 14px;
}
.hero { background:
  radial-gradient(900px 420px at 85% -10%, #d9f0ec 0%, transparent 60%),
  radial-gradient(700px 380px at -10% 10%, #e8f1fb 0%, transparent 60%); }
.card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: #b7dcd5; box-shadow: var(--shadow); transform: translateY(-2px); }
.steps li { box-shadow: var(--shadow); }
.contact-box { background: linear-gradient(135deg, #0f766e, #115e59 60%, #134e4a); }

/* Formularul de contact (pe fundalul verde al secțiunii) */
.contact-box { align-items: start; }
.contact-form { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: clamp(16px, 2.4vw, 22px);
  display: grid; gap: 10px; box-shadow: 0 12px 40px rgb(0 0 0 / .18); }
.contact-form label { display: grid; gap: 4px; }
.contact-form .lbl { font-weight: 600; font-size: .85rem; line-height: 1.3; }
.contact-form .req { color: var(--accent); }
.contact-form .opt { font-weight: 400; color: var(--muted); font-size: .8rem; }
.contact-form input, .contact-form textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 11px; width: 100%; font-size: .95rem; }
.contact-form textarea { resize: vertical; min-height: 96px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.contact-form .btn-primary { background: var(--accent); color: var(--accent-ink); justify-self: start; font-size: 1rem; padding: 11px 20px; }
.contact-form .btn-primary:disabled { opacity: .6; transform: none; cursor: progress; }
.contact-form .small { color: var(--muted); opacity: 1; margin: 0; font-size: .8rem; line-height: 1.45; }
.form-status { margin: 0; font-weight: 600; font-size: .9rem; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #b42318; }

/* Oferta de găzduire, sub cardurile de servicii */
.hosting { margin-top: 18px; display: grid; grid-template-columns: auto 1.2fr 1fr; gap: 20px 28px; align-items: center;
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, box-shadow .2s, transform .2s; }
.hosting:hover { border-color: #b7dcd5; box-shadow: var(--shadow); transform: translateY(-2px); }
.hosting .icon { margin: 0; width: 52px; height: 52px; padding: 11px; }
.hosting h3 { margin-bottom: .35em; }
.hosting-text p:last-child { margin: 0; color: var(--muted); }
.badge { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--accent);
  color: var(--accent-ink); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hosting-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .94rem; }
.hosting-list li { position: relative; padding-left: 26px; }
.hosting-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.8' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 900px) { .hosting { grid-template-columns: auto 1fr; } .hosting-list { grid-column: 1 / -1; } }
@media (max-width: 520px) { .hosting { grid-template-columns: 1fr; } }

/* reCAPTCHA v3: insigna Google e ascunsă, informarea obligatorie e textul de sub formular (.recaptcha-note) */
.grecaptcha-badge { visibility: hidden; }
