/* =====================================================================
   spațiu.ro — sistem de stiluri (tokeni + componente)
   Schimbarea temei se face din variabilele din :root.
   ===================================================================== */

:root {
  /* Accent (azure) */
  --accent: #1E88E5;
  --accent-dark: #1669C0;
  --accent-light: #3D94E8;
  --accent-bg: #E1EEFB;
  --accent-text: #1B5FA8;

  /* Suprafețe / fundaluri */
  --bg: #F6F9FC;
  --bg-alt: #EEF4FA;
  --surface: #fff;
  --surface-soft: #FBFDFF;

  /* Borduri */
  --border: #DCE6F0;
  --border-field: #D5DFEA;
  --border-strong: #C2D2E2;

  /* Text */
  --text: #1E293B;
  --text-2: #334155;
  --text-muted: #5A6B7B;
  --text-soft: #647281;
  --text-fine: #8593A1;
  --text-faint: #94A0AD;

  /* Secțiuni întunecate „cosmic” */
  --navy-1: #15233B;
  --navy-2: #0E1B30;
  --on-dark: #EAF1F8;
  --on-dark-muted: #AEB9C6;

  --green: #5E9E6B;
  --green-bg: #E6F6EC;
  --green-border: #B6E2C6;
  --green-text: #1B7A3D;

  --amber: #E0A93B;
  --amber-bg: #FDF4E3;
  --amber-border: #F0DCB0;
  --amber-text: #B07D1E;

  --red-bg: #FDECEC;
  --red-border: #F3C2C2;
  --red-text: #B42323;

  --font-head: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Hanken Grotesque', system-ui, sans-serif;

  --maxw: 1080px;
  --maxw-wide: 1180px;
  --maxw-narrow: 760px;

  --pad: 28px;

  --radius: 14px;
  --radius-lg: 18px;

  --shadow-card: 0 30px 60px -34px rgba(20,32,54,.4);
  --shadow-search: 0 18px 40px -24px rgba(20,32,54,.35);
}

/* ---------- Bază ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
input::placeholder, textarea::placeholder { color: #9AA7B4; }

@keyframes spFade  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes spFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------- Schelet pagină ---------- */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1; }

/* ---------- Container & secțiuni ---------- */
.container { max-width: var(--maxw); margin: 0 auto; }
.container--wide { max-width: var(--maxw-wide); }
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding: 64px 28px; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--alt-top { background: var(--bg-alt); border-top: 1px solid var(--border); }

.section-head { max-width: var(--maxw); margin: 0 auto 36px; text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }

/* ---------- Tipografie ---------- */
.h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(38px,5vw,60px); line-height: 1.04; letter-spacing: -.025em; margin: 0; }
.h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px,3.6vw,40px); letter-spacing: -.02em; margin: 0 0 10px; }
.h2--sm { font-size: clamp(28px,3.6vw,38px); }
.lead { color: var(--text-muted); font-size: 17px; max-width: 520px; margin: 0; }

.eyebrow {
  display: inline-block;
  background: var(--accent-bg); color: var(--accent-text);
  font-size: 13px; font-weight: 600;
  padding: 6px 13px; border-radius: 30px;
}
.eyebrow--lg { font-size: 13.5px; padding: 7px 14px; }
.eyebrow--self { align-self: flex-start; }
.eyebrow--on-alt { background: #fff; border: 1px solid var(--border); }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  text-decoration: none; border: none; cursor: pointer; font-family: inherit;
  font-weight: 600; font-size: 15px; padding: 13px 20px; border-radius: 11px;
  transition: background .15s, color .15s;
}
.btn--block { width: 100%; padding: 13px; margin-top: auto; }
.btn--lg { font-size: 16px; padding: 15px 28px; border-radius: 12px; }
.btn--sm { font-size: 14.5px; padding: 10px 18px; border-radius: 10px; }
.btn--pill { border-radius: 10px; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: var(--text-2); }
.btn-outline { background: transparent; border: 1.5px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent-bg); }
.btn-outline-soft { background: transparent; border: 1.5px solid var(--border-strong); color: var(--text); }
.btn-outline-soft:hover { background: #E8F1FB; }
.btn-cta { background: var(--accent); color: #fff; }
.btn-cta:hover { background: var(--accent-light); }
.btn-ghost { background: transparent; border: 1.5px solid rgba(234,241,248,.3); color: var(--on-dark); }
.btn-ghost:hover { background: rgba(234,241,248,.08); }

/* ---------- Căutare (input + buton) ---------- */
.search {
  display: flex; flex-wrap: wrap; gap: 8px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px; box-shadow: var(--shadow-search);
}
.search input {
  flex: 1 1 140px; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 16px; font-family: inherit; color: var(--text); padding: 0 14px;
}

/* ---------- Grile ---------- */
.grid-badges { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(210px,100%),1fr)); gap: 18px; }
.grid-cards  { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(280px,100%),1fr)); gap: 20px; }
.grid-plans  { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(260px,100%),1fr)); gap: 20px; align-items: start; }
.grid-tlds   { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.faq-list    { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 28px 64px; background: var(--bg); }
.hero-grid { max-width: var(--maxw-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr)); gap: 54px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.hero-meta strong { color: var(--text); }
.split-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); gap: 46px; align-items: center; }
.media-frame { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--border); box-shadow: var(--shadow-card); }

/* ---------- Iconițe (chip) ---------- */
.icon-chip { display: flex; align-items: center; justify-content: center; background: var(--accent-bg); color: var(--accent); }
.icon-chip--service { width: 50px; height: 50px; border-radius: 13px; }
.icon-chip--badge { flex: none; width: 40px; height: 40px; border-radius: 11px; }
.icon-chip--channel { flex: none; width: 44px; height: 44px; border-radius: 12px; }

/* ---------- Trust badges ---------- */
.badge-item { display: flex; align-items: center; gap: 13px; }
.badge-item .t { font-weight: 700; color: var(--text); font-size: 15.5px; }
.badge-item .s { color: var(--text-soft); font-size: 13px; }

/* ---------- Carduri ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }

.service-card { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.service-card h3 { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin: 0; }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.55; margin: 0; flex: 1; }
.link-arrow { text-decoration: none; color: var(--accent); font-weight: 600; font-size: 15px; }

.plan-card { position: relative; padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; height: 100%; }
.plan-tag { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 5px 12px; border-radius: 20px; }
.plan-name { font-family: var(--font-head); font-weight: 700; font-size: 21px; color: var(--text); }
.plan-tagline { color: var(--text-soft); font-size: 14px; margin-top: 4px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price b { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--text); }
.plan-price span { color: var(--text-soft); font-size: 14px; }
.plan--email .plan-name { font-size: 20px; }
.plan--email .plan-price b { font-size: 34px; }
.plan--email .plan-price span { font-size: 13.5px; }

.divider { height: 1px; background: var(--border); }
.feat-list { display: flex; flex-direction: column; gap: 11px; }
.feat { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.feat svg { flex: none; margin-top: 2px; }
.price-note { text-align: center; color: var(--text-faint); font-size: 13px; margin-top: 22px; }
/* Notele de sub prețuri conțin și linkuri către serviciile conexe; fără regula
   asta ar rămâne albastrul implicit al browserului, singurul din tot site-ul. */
.price-note a { color: var(--accent-text); text-decoration: none; }
.price-note a:hover { text-decoration: underline; }

.tld-card { padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; }
.tld-card .tld { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--text); }
.tld-card .price { color: var(--text-muted); font-size: 14px; }
.tld-card .price strong { color: var(--accent); }

.faq-item { padding: 22px 24px; }
.faq-item .q { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--text); margin-bottom: 7px; }
.faq-item .a { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta { padding: 70px 28px; text-align: center; color: var(--on-dark);
  background: radial-gradient(120% 120% at 50% 0%, var(--navy-1) 0%, var(--navy-2) 70%); }
.cta-inner { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px,4vw,46px); letter-spacing: -.02em; margin: 0; line-height: 1.08; }
.cta p { color: var(--on-dark-muted); font-size: 18px; margin: 0; max-width: 480px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

/* ---------- Header / navigație ---------- */
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(246,249,252,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { max-width: var(--maxw-wide); margin: 0 auto; padding: 16px 28px; display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 26px; margin-left: 8px; }
.nav-link { text-decoration: none; color: #475569; font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-link:hover { color: var(--accent); }
.nav-link.is-active { color: var(--accent); font-weight: 600; }
.nav-link--strong { font-weight: 600; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* ---------- Brand (logo) ---------- */
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.brand-mark { position: relative; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; }
.brand-ring { position: absolute; inset: 0; border: 1.6px solid var(--accent); border-radius: 50%; }
.brand-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.brand-dot2 { position: absolute; top: -1px; right: -1px; width: 5px; height: 5px; border-radius: 50%; background: var(--text); }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand-name b { color: var(--accent); font-weight: 800; }
.brand--sm .brand-mark { width: 24px; height: 24px; }
.brand--sm .brand-dot { width: 6px; height: 6px; }
.brand--sm .brand-name { font-size: 19px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--border); padding: 54px 28px 30px; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer-about { min-width: 0; }
.footer-about p { color: var(--text-soft); font-size: 14px; line-height: 1.6; max-width: 240px; margin: 0; }
.footer-title { font-weight: 700; color: var(--text); font-size: 14px; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { text-decoration: none; color: var(--text-soft); font-size: 14px; }
.footer-bottom { max-width: var(--maxw); margin: 28px auto 0; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--text-faint); font-size: 13px; }
.footer-bottom a { text-decoration: none; color: var(--text-faint); }
.footer-legal { display: flex; gap: 18px; }

/* =====================================================================
   Pagini interioare (hero compact, mockup-uri, comparație, pași, formular)
   ===================================================================== */

/* Hero sub-pagini */
.hero--compact { padding: 68px 28px 58px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.btn--hero { padding: 14px 24px; }

/* Inel decorativ (colț mockup) */
.deco-ring { position: absolute; top: -16px; right: -10px; width: 48px; height: 48px; border: 1.5px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; }
.deco-ring i { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); display: block; }

/* Mockup statistici (Găzduire) */
.stat-grid { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-card); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box { background: var(--surface-soft); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.stat-box b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--text); }
.stat-box b.accent { color: var(--accent); }
.stat-box .s { color: var(--text-soft); font-size: 13.5px; margin-top: 2px; }

/* Mockup inbox (Email) */
.inbox-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-card); }
.inbox-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 14px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.inbox-head .t { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.inbox-head .c { font-size: 12px; color: var(--text-fine); }
.inbox-row { display: flex; gap: 12px; align-items: center; padding: 12px 8px; border-radius: 10px; }
.inbox-row:hover { background: #EEF5FC; }
.inbox-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-bg); color: var(--accent-text); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.inbox-row .body { flex: 1; min-width: 0; }
.inbox-row .top { display: flex; justify-content: space-between; gap: 8px; }
.inbox-row .from { font-weight: 700; font-size: 14.5px; }
.inbox-row .time { font-size: 12px; color: var(--text-faint); }
.inbox-row .subj { font-size: 13.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Mockup disponibilitate domeniu (Domenii) */
.avail-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-card); }
.avail-title { font-size: 13px; color: var(--text-fine); margin-bottom: 16px; font-weight: 600; letter-spacing: .02em; }
.avail-list { display: flex; flex-direction: column; gap: 10px; }
.avail-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: var(--surface-soft); }
.avail-row.is-off { background: var(--bg-alt); }
.avail-row .name { display: flex; align-items: center; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
.avail-right { display: flex; align-items: center; gap: 10px; }
.avail-price { font-size: 13.5px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--ok { background: var(--green); }
.dot--off { background: var(--border-strong); }
.dot--warn { background: #E0A93B; }

/* Status text + stări container rezultate */
.avail-status { font-size: 13.5px; font-weight: 600; }
.avail-status.status--ok { color: var(--green); }
.avail-status.status--no { color: var(--text-fine); font-weight: 500; }
.avail-status.status--unknown { color: #B07D1E; }
.avail-empty { text-align: center; color: var(--text-soft); font-size: 14px; padding: 18px 8px; }
.avail-empty--loading { color: var(--text-muted); }
#rezultate[data-state="loading"] { opacity: .85; }

/* Carduri mici (features / benefits / includes) */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(240px,100%),1fr)); gap: 18px; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.mini-card .t { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; }
.mini-card .d { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }
.mini-card--lg { padding: 26px; gap: 12px; }
.mini-card--lg .t { font-size: 17px; }
.icon-chip--md { width: 42px; height: 42px; border-radius: 11px; }
.icon-chip--lg { width: 44px; height: 44px; border-radius: 12px; }

/* Prețuri TLD (pagina Domenii — coloană cu descriere) */
.grid-tlds-wide { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(240px,100%),1fr)); gap: 16px; }
.tld-card--col { flex-direction: column; align-items: stretch; gap: 8px; border-radius: 16px; }
.tld-card--col .row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.tld-card--col .tld { font-size: 24px; }
.tld-card--col .desc { color: var(--text-soft); font-size: 14px; }

/* Pași numerotați (Domenii — Cum funcționează) */
.grid-steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(240px,100%),1fr)); gap: 20px; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.step .t { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.step .d { color: var(--text-muted); font-size: 15px; line-height: 1.55; }

/* Pași migrare (Găzduire) */
.mig-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.mig-step { display: flex; gap: 14px; align-items: flex-start; }
.mig-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-bg); color: var(--accent); font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mig-step .t { font-weight: 700; font-size: 15.5px; }
.mig-step .d { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

/* Secțiune split generică (text + card) */
.split { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); gap: 48px; align-items: center; }

/* Tabel comparativ (Email) */
.compare { max-width: 980px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-row { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; align-items: center; }
.compare-head { background: var(--navy-2); color: var(--on-dark); }
.compare-body .compare-row { border-top: 1px solid var(--border); }
.compare .label { padding: 16px 22px; font-size: 14.5px; color: var(--text-2); }
.compare-head .label { padding: 18px 22px; font-weight: 600; font-size: 14px; color: var(--on-dark); }
.compare-head .col { padding: 18px 12px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; text-align: center; }
.compare-head .col--hl { background: rgba(30,136,229,.22); }
.compare .cell { padding: 16px 12px; display: flex; justify-content: center; }
.compare .cell--hl { background: #EEF5FC; }
.compare .dash { width: 14px; height: 2px; background: var(--border-strong); border-radius: 2px; }

/* Pagina Contact — coloane + canale + formular */
.contact-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); gap: 54px; align-items: start; }
.contact-intro { display: flex; flex-direction: column; gap: 26px; }
.contact-lead { display: flex; flex-direction: column; gap: 18px; }
.channels { display: flex; flex-direction: column; gap: 14px; }
.channel { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.channel .t { font-weight: 700; font-size: 15.5px; color: var(--text); }
.channel .v { color: var(--text-muted); font-size: 14.5px; margin-top: 2px; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: 0 30px 60px -38px rgba(20,32,54,.4); }
.form { display: flex; flex-direction: column; gap: 18px; }
/* `margin: 0` explicit pentru că pe /comanda titlul formularului e un <h1>
   (pagina nu avea niciun heading), iar marginile implicite ale headingului ar
   fi împins cardul. Pe /contact rămâne <div>, unde regula nu schimbă nimic. */
.form-title { font-family: var(--font-head); font-weight: 700; font-size: 20px; margin: 0 0 2px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: #475569; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(150px,100%),1fr)); gap: 14px; }
.input { border: 1px solid var(--border-field); border-radius: 11px; padding: 13px 14px; font-size: 15px; font-family: inherit; color: var(--text); background: var(--surface-soft); }
textarea.input { resize: vertical; }
.field-error { color: #B42323; font-size: 12.5px; }
.form-note { font-size: 12.5px; color: var(--text-faint); text-align: center; margin: 0; }
.btn--submit { width: 100%; padding: 15px; font-size: 15.5px; border-radius: 12px; }
.alert { border-radius: 11px; padding: 13px 15px; font-size: 14.5px; }
.alert--ok { background: var(--green-bg); border: 1px solid var(--green-border); color: var(--green-text); }
.alert--err { background: var(--red-bg); border: 1px solid var(--red-border); color: var(--red-text); }
.alert--err a { color: var(--red-text); }

/* ---------- Câmpuri formular (pagina Contact) ---------- */
.sp-field { transition: all .15s; }
.sp-field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,136,229,.15); }

/* ---------- Linkuri text accentuate (email/telefon Contact) ---------- */
.link-accent { transition: color .15s; }
.link-accent:hover { color: var(--accent) !important; text-decoration: underline; }

/* ---------- Rând inbox (pagina Email) ---------- */
.inbox-row:hover { background: #EEF5FC; }

/* ---------- Pagina Comandă ---------- */
.order-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.6fr) minmax(260px,1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Grup de opțiuni (serviciu, tip client) */
.radio-group { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(170px,100%),1fr)); gap: 10px; }
.radio-group--2 { grid-template-columns: repeat(auto-fit,minmax(min(150px,100%),1fr)); }
.radio-card { position: relative; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border-field); border-radius: 12px; padding: 13px 14px; background: var(--surface-soft); cursor: pointer; transition: border-color .15s, background .15s; }
.radio-card:hover { border-color: var(--border-strong); }
.radio-card input { margin: 0; accent-color: var(--accent); flex: none; }
.radio-card span { display: flex; flex-direction: column; gap: 2px; }
.radio-card b { font-size: 14.5px; font-weight: 600; color: var(--text); }
.radio-card small { font-size: 12.5px; color: var(--text-soft); }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-bg); }

/* Bifă simplă */
.check { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-muted); cursor: pointer; }
.check input { margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check--acord { font-size: 14px; color: var(--text-2); }
.check--err span { color: #B42323; }

/* Blocurile care se ascund/apar (fără JS rămân toate vizibile) */
.order-block { display: flex; flex-direction: column; gap: 18px; }
.order-block[hidden] { display: none; }

/* Honeypot: ascuns pentru oameni, vizibil pentru boți */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Recapitulativ */
.order-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 90px; }
@media (max-width: 900px) { .order-side { position: static; } }
.order-summary { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.order-summary-title { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.order-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: 14px; }
.order-line b { display: block; font-weight: 600; color: var(--text); }
.order-line small { display: block; font-size: 12.5px; color: var(--text-soft); margin-top: 2px; }
.order-line span { font-weight: 600; white-space: nowrap; }
.order-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 12px; font-size: 15px; }
.order-total b { font-family: var(--font-head); font-size: 18px; color: var(--accent-text); }
.order-empty { margin: 0; font-size: 13.5px; color: var(--text-soft); }
.order-note { margin: 0; font-size: 12px; color: var(--text-faint); }
.order-help { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; font-size: 14px; }
.order-help .t { font-weight: 700; margin-bottom: 6px; }
.order-help .v { color: var(--text-muted); line-height: 1.7; }
.order-help a { color: var(--accent-text); text-decoration: none; }
.order-help a:hover { text-decoration: underline; }

/* Butoane dezactivate (ex. rândurile demo din căutarea de domenii) */
.btn:disabled { opacity: .55; cursor: default; }

/* ---------- Pagina Status servicii ---------- */
.status-section { padding: 92px 28px 104px; }
.status-wrap { max-width: 620px; margin: 0 auto; text-align: center; animation: spFade .5s ease-out both; }

/* Indicatorul: disc plin + două inele care se dilată din centru.
   Reia limbajul .deco-ring (inel subțire + formă plină, pe alb). */
.status-mark { position: relative; width: 132px; height: 132px; margin: 0 auto 34px; display: flex; align-items: center; justify-content: center; }
.status-disc { position: relative; z-index: 2; width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1.5px solid currentColor; box-shadow: 0 18px 40px -22px rgba(20,32,54,.45); }
.status-disc svg { width: 42px; height: 42px; }
.status-pulse { position: absolute; z-index: 1; top: 50%; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; }

/* Culoarea stării — `currentColor` o propagă la inel, bifă și inele. */
.status-tone--ok   { color: var(--green-text); }
.status-tone--warn { color: var(--amber-text); }
.status-tone--err  { color: var(--red-text); }
.status-tone--ok   .status-disc { background: var(--green-bg); }
.status-tone--warn .status-disc { background: var(--amber-bg); }
.status-tone--err  .status-disc { background: var(--red-bg); }

/* Pulsul rulează DOAR când totul e în regulă. Un indicator care pulsează
   liniștitor în timp ce anunță o avarie ar transmite mesajul greșit. */
.status-tone--ok .status-pulse { animation: spPulse 2.4s cubic-bezier(.22,.61,.36,1) infinite; }
.status-tone--ok .status-pulse--2 { animation-delay: 1.2s; }

@keyframes spPulse {
  0%   { transform: scale(1);    opacity: .55; }
  70%  { opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}

.status-title { font-size: clamp(27px,3.4vw,38px); line-height: 1.15; margin: 0 0 14px; color: var(--text); }
.status-sub { margin: 0 auto; max-width: 460px; }
.status-note { max-width: 480px; margin: 18px auto 0; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; font-size: 14.5px; color: var(--text-2); }
.status-checked { margin: 26px 0 0; font-size: 13.5px; color: var(--text-faint); }
.status-help { margin: 30px 0 0; font-size: 14.5px; color: var(--text-soft); }
.status-help a { color: var(--accent-text); text-decoration: none; }
.status-help a:hover { text-decoration: underline; }

/* Cine a cerut mișcare redusă din sistem vede indicatorul static, cu
   inelele fixate vizibil — informația rămâne aceeași. */
@media (prefers-reduced-motion: reduce) {
  .status-wrap { animation: none; }
  .status-tone--ok .status-pulse { animation: none; opacity: .28; }
  .status-tone--ok .status-pulse--2 { transform: scale(1.4); opacity: .16; }
}

/* ---------- Pagini legale (Termeni, Confidențialitate, GDPR) ---------- */
.legal-head { max-width: var(--maxw-narrow); margin: 0 auto 34px; }
.legal-updated { font-size: 13.5px; color: var(--text-faint); margin: 10px 0 0; }
.legal-intro { color: var(--text-muted); font-size: 16px; line-height: 1.65; margin: 16px 0 0; }

/* Cuprins */
.legal-toc { max-width: var(--maxw-narrow); margin: 0 auto 34px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; padding: 20px 24px; }
.legal-toc .t { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.legal-toc li { margin: 0 0 6px; font-size: 14px; }
.legal-toc a { color: var(--text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 620px) { .legal-toc ol { columns: 1; } }

/* Corpul documentului */
.legal-body { max-width: var(--maxw-narrow); margin: 0 auto; }
.legal-article { padding: 0 0 30px; }
.legal-article + .legal-article { border-top: 1px solid var(--border); padding-top: 30px; }
.legal-article h2 { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.3; margin: 0 0 14px; scroll-margin-top: 90px; }
.legal-article h3 { font-family: var(--font-head); font-weight: 700; font-size: 16px; margin: 22px 0 8px; }
.legal-article p { color: var(--text-muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 12px; }
.legal-article ul, .legal-article ol { color: var(--text-muted); font-size: 15.5px; line-height: 1.7; margin: 0 0 12px; padding-left: 22px; }
.legal-article li { margin: 0 0 7px; }
.legal-article li::marker { color: var(--text-fine); }
.legal-article strong { color: var(--text); font-weight: 600; }
.legal-article a { color: var(--accent-text); }
.legal-article a:hover { text-decoration: underline; }
.legal-article > :last-child { margin-bottom: 0; }

/* Tabelul de identificare a firmei */
.legal-id { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 12px; }
.legal-id th, .legal-id td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.legal-id th { width: 40%; font-weight: 600; color: var(--text-2); }
.legal-id td { color: var(--text-muted); }
.legal-id tr:last-child th, .legal-id tr:last-child td { border-bottom: none; }
@media (max-width: 520px) { .legal-id th, .legal-id td { display: block; width: auto; border-bottom: none; padding: 4px 0; } .legal-id tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); } }

/* Casetă de atenționare într-un articol */
.legal-callout { background: var(--accent-bg); border: 1px solid #C6DFF7; border-radius: 12px; padding: 14px 16px; margin: 0 0 12px; }
.legal-callout p { color: var(--accent-text); margin: 0; font-size: 15px; }

/* Linkuri către celelalte documente */
.legal-related { max-width: var(--maxw-narrow); margin: 34px auto 0; display: flex; flex-wrap: wrap; gap: 10px; }
.legal-related a { flex: 1 1 200px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; font-size: 14.5px; font-weight: 600; color: var(--text); text-decoration: none; transition: border-color .15s; }
.legal-related a:hover { border-color: var(--accent); color: var(--accent-text); }

/* =====================================================================
   RESPONSIVE
   Breakpoint-uri: 900px (antet), 700px (subsol, tabel comparație),
   480px (telefon: padding, tipografie, grile de 2 coloane).
   Cele de la 620px și 520px, pentru paginile legale, sunt mai sus.
   ===================================================================== */

/* Text doar pentru cititoare de ecran */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Pe desktop, „Contul meu" stă în dreapta, lângă butonul de acțiune. */
.nav-links { flex: 1; }
.nav-link--account { margin-left: auto; }

/* Comutatorul de meniu: ascuns pe desktop, dar niciodată display:none pe
   checkbox — ar ieși din ordinea de tabulare. */
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav { flex-wrap: wrap; gap: 14px; }
  .nav-links { flex: none; }

  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; margin-left: 10px; order: 3;
    border: 1px solid var(--border); border-radius: 11px;
    background: var(--surface); color: var(--text); cursor: pointer;
  }
  .nav-burger svg { width: 22px; height: 22px; }
  .nav-toggle:focus-visible + .nav-burger { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,136,229,.25); }

  /* Butonul de acțiune rămâne vizibil lângă hamburger. */
  .nav-actions { margin-left: auto; order: 2; }

  /* Meniul propriu-zis: ascuns până la bifarea checkbox-ului. */
  .nav-links { display: none; order: 4; width: 100%; flex-direction: column; gap: 2px; margin-left: 0; padding-top: 6px; border-top: 1px solid var(--border); }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links .nav-link { padding: 11px 2px; font-size: 16px; }
  .nav-link--account { margin-left: 0; }
}

@media (max-width: 700px) {
  /* Subsol: 3 → 2 coloane */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-about { grid-column: 1 / -1; }

  /* Tabelul de comparație își păstrează lățimea lizibilă și primește
     scroll orizontal propriu (vezi overflow-x pe .compare). */
  .compare-row { min-width: 560px; }
}

@media (max-width: 480px) {
  :root { --pad: 18px; }

  /* Padding lateral: 28 → 18px, adică +20px de conținut util */
  .section { padding: 48px 18px; }
  .hero { padding: 52px 18px 44px; }
  .hero--compact { padding: 48px 18px 40px; }
  .cta { padding: 52px 18px; }
  .nav { padding: 14px 18px; }
  .site-footer { padding: 42px 18px 26px; }
  .status-section { padding: 64px 18px 76px; }

  /* Tipografie */
  .h1 { font-size: clamp(28px,7.4vw,38px); }
  .h1 br { display: none; }
  .h2, .h2--sm { font-size: clamp(23px,6vw,28px); }
  .lead { font-size: 15.5px; }
  .brand-name { font-size: 19px; }
  .plan-price b { font-size: 32px; }
  .plan--email .plan-price b { font-size: 28px; }
  .stat-box b { font-size: 24px; }
  .status-title { font-size: clamp(24px,6.4vw,30px); }

  /* Grile de 2 coloane fixe → o coloană */
  .grid-tlds { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }

  /* Carduri: padding mai mic, ca textul să respire */
  .form-card { padding: 22px; }
  .plan-card { padding: 26px 20px; }
  .avail-card { padding: 18px; }
  .service-card { padding: 24px; }
  .stat-grid { padding: 18px; }

  /* Decorația care depășea marginea */
  .deco-ring { display: none; }

  /* Documente legale: URL-uri lungi */
  .legal-article, .legal-id td, .channel .v { overflow-wrap: anywhere; }
  .legal-toc { padding: 16px 18px; }
}
