/* Core Host – corehost.ro
   Paleta e luată din logo; aceleași valori sunt folosite și în tema WHMCS. */
:root {
  --abis: #010f28;      /* fundal închis, din conturul logo-ului */
  --carcasa: #061a3d;   /* carcasa rack-ului */
  --ocean: #0a3872;     /* albastru închis, linii și suprafețe */
  --regal: #0161e4;     /* albastru regal, linkuri pe fundal deschis */
  --azur: #029af7;      /* albastru „HOST” */
  --semnal: #06d4fb;    /* cyan-ul LED-urilor */
  --crom: #b2d0e1;      /* argintiu, text secundar pe fundal închis */
  --gheata: #f1f5f8;    /* alb rece, text pe închis / fundal deschis */
  --cerneala: #0b1f3f;  /* text pe fundal deschis */
  --gri-albastru: #4d6688;

  --display: "Unbounded", "Segoe UI", sans-serif;
  --text: "IBM Plex Sans", "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--gheata);
  background: var(--abis);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--semnal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.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; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gheata); color: var(--abis); padding: 8px 14px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Butoane: aceleași în site și în WHMCS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 20px;
  font: 600 0.95rem/1.2 var(--text);
  border-radius: 8px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-signal { background: var(--semnal); color: var(--abis); }
.btn-signal:hover { background: #63e5ff; }
.btn-ghost { border-color: rgba(178, 208, 225, .45); color: var(--gheata); }
.btn-ghost:hover { border-color: var(--semnal); color: var(--semnal); }

/* Antet */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(1, 15, 40, .92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(10, 56, 114, .8); }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand img { height: 48px; width: auto; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a.nav-account { display: none; }
.main-nav a { color: var(--crom); text-decoration: none; font-weight: 500; font-size: .98rem; }
.main-nav a:hover { color: var(--gheata); }

/* Hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem); font-weight: 700; max-width: 16ch; }
.lead { margin-top: 22px; max-width: 54ch; color: var(--crom); font-size: 1.12rem; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.text-link { color: var(--crom); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(178, 208, 225, .4); }
.text-link:hover { color: var(--gheata); text-decoration-color: var(--semnal); }
.hero-visual { position: relative; justify-self: center; max-width: 460px; }
.hero-visual::before { /* lumina emisă de logo, nu decor */
  content: ""; position: absolute; inset: 12%;
  background: radial-gradient(closest-side, rgba(2, 154, 247, .35), transparent);
  filter: blur(30px);
}
.hero-visual img { position: relative; }

/* Pachetele ca unități într-un rack */
.plans { padding: 48px 0 88px; }
.plans-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.plans-note { margin-top: 10px; color: var(--crom); max-width: 60ch; }

.cycle { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--carcasa); border: 1px solid var(--ocean); }
.cycle-btn {
  font: 500 .92rem/1 var(--text); color: var(--crom);
  background: transparent; border: 0; border-radius: 7px; padding: 11px 16px; cursor: pointer;
}
.cycle-btn[aria-pressed="true"] { background: var(--ocean); color: var(--gheata); }

.rack {
  border-radius: 14px;
  background: var(--carcasa);
  border: 1px solid var(--ocean);
  padding: 10px 0;
  box-shadow: inset 0 1px 0 rgba(178, 208, 225, .08), 0 30px 60px -30px rgba(2, 154, 247, .35);
}
.unit {
  display: grid;
  grid-template-columns: 26px 14px minmax(0, 1.4fr) minmax(0, 1fr) 132px 132px 26px;
  align-items: center;
  column-gap: 22px;
  padding: 18px 0;
  margin: 0 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #0b2652 0%, #08204a 100%);
  border: 1px solid rgba(10, 56, 114, .9);
  box-shadow: inset 0 1px 0 rgba(178, 208, 225, .10);
}
.unit + .unit { margin-top: 8px; }

/* urechile de prindere ale rack-ului, cu șuruburi */
.ear { align-self: stretch; position: relative; }
.ear::before, .ear::after {
  content: ""; position: absolute; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: #031129; box-shadow: inset 0 0 0 1.5px rgba(178, 208, 225, .25);
}
.ear::before { top: 6px; }
.ear::after { bottom: 6px; }

.led {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--semnal);
  box-shadow: 0 0 0 3px rgba(6, 212, 251, .15), 0 0 12px rgba(6, 212, 251, .8);
}
.unit-name h3 { font-size: 1.12rem; }
.unit-name p { color: var(--crom); font-size: .93rem; margin-top: 4px; }

.unit-disk { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 8px; align-items: baseline; }
.disk-value { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.disk-label { color: var(--crom); font-size: .9rem; }
.meter { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(1, 15, 40, .8); box-shadow: inset 0 0 0 1px rgba(10, 56, 114, .9); overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--fill); border-radius: 3px; background: linear-gradient(90deg, var(--regal), var(--azur) 60%, var(--semnal)); }

.unit-price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.unit-price .amount { font-family: var(--display); font-weight: 600; font-size: 1.45rem; white-space: nowrap; }
.unit-price .per { color: var(--crom); font-size: .88rem; }
.unit-order { width: 100%; }

.rack-foot { margin-top: 18px; color: var(--crom); font-size: .95rem; }

/* LED-urile se aprind o singură dată, pe rând, la încărcare */
@media (prefers-reduced-motion: no-preference) {
  .js .led { animation: led-on .5s ease-out both; }
  .js .unit:nth-child(1) .led { animation-delay: .15s; }
  .js .unit:nth-child(2) .led { animation-delay: .35s; }
  .js .unit:nth-child(3) .led { animation-delay: .55s; }
  .js .unit:nth-child(4) .led { animation-delay: .75s; }
  @keyframes led-on {
    0% { background: #0a2a55; box-shadow: none; }
    40% { background: var(--semnal); box-shadow: 0 0 0 3px rgba(6,212,251,.3), 0 0 22px rgba(6,212,251,1); }
    100% { background: var(--semnal); box-shadow: 0 0 0 3px rgba(6,212,251,.15), 0 0 12px rgba(6,212,251,.8); }
  }
}

/* Secțiuni deschise, la fel ca zona de client WHMCS */
.light { background: var(--gheata); color: var(--cerneala); padding: 88px 0; }
.light-alt { background: #e4edf5; }
.light h2 { color: var(--abis); }

.features { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.features > div { padding: 20px 0 22px; border-top: 1px solid #c9dbe8; }
.features dt { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--abis); }
.features dd { margin: 6px 0 0; color: #2b4466; max-width: 46ch; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.steps { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: pas; }
.steps li { counter-increment: pas; position: relative; padding: 0 0 22px 56px; color: #2b4466; }
.steps li::before {
  content: counter(pas); position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 .95rem/1 var(--display); color: var(--gheata); background: var(--abis);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: #b9cfe0; }
.steps strong { color: var(--abis); font-weight: 600; }

.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid #c3d6e5; padding: 16px 0; }
.faq details:last-of-type { border-bottom: 1px solid #c3d6e5; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--abis); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.3rem/1 var(--display); color: var(--regal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: #2b4466; max-width: 60ch; }

/* Contact */
.contact { padding: 80px 0; background: var(--abis); border-top: 1px solid var(--ocean); }
.contact-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.contact-grid > div { padding-top: 18px; border-top: 2px solid var(--ocean); }
.contact-grid p { color: var(--crom); margin: 6px 0 12px; font-size: .95rem; }
.contact-grid a { color: var(--semnal); font-weight: 600; text-decoration: none; }
.contact-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Subsol */
.site-footer { background: #000a1d; padding: 48px 0 24px; color: var(--crom); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-logo { height: 40px; width: auto; margin-bottom: 12px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a { color: var(--crom); text-decoration: none; }
.site-footer nav a:hover { color: var(--gheata); text-decoration: underline; }
.copyright { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(10, 56, 114, .7); font-size: .85rem; }

/* Tabletă */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 280px; justify-self: start; order: -1; }
  .unit {
    grid-template-columns: 26px 14px 1fr auto 26px;
    grid-template-areas:
      "ear1 led name  price ear2"
      "ear1 .   disk  disk  ear2"
      "ear1 .   order order ear2";
    row-gap: 16px;
  }
  .unit > .ear:first-child { grid-area: ear1; }
  .unit > .ear:last-child { grid-area: ear2; }
  .unit .led { grid-area: led; }
  .unit-name { grid-area: name; }
  .unit-disk { grid-area: disk; }
  .unit-price { grid-area: price; }
  .unit-order { grid-area: order; justify-self: start; width: auto; min-width: 160px; }
  .features { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 56px; }
}

/* Telefon */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .main-nav { display: none; }
  .header-row { justify-content: space-between; min-height: 64px; }
  .brand img { height: 40px; }
  .hero { padding-top: 40px; }
  .unit { column-gap: 12px; grid-template-columns: 18px 12px 1fr auto 18px; }
  .unit-price .amount { font-size: 1.2rem; }
  .unit-order { justify-self: stretch; }
  .cycle { width: 100%; }
  .cycle-btn { flex: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Site multi-pagină
   ========================================================= */

/* Meniu */
.main-nav a[aria-current="page"] { color: var(--gheata); box-shadow: inset 0 -2px 0 var(--semnal); }
.main-nav a { padding: 6px 0; }
.menu-toggle {
  display: none; margin-left: auto;
  min-height: 44px; padding: 8px 14px; border-radius: 8px;
  background: transparent; color: var(--gheata); border: 1px solid rgba(178, 208, 225, .45);
  font: 600 .95rem/1 var(--text); cursor: pointer;
}
.header-row .btn-ghost { flex: none; }

/* Hero pentru paginile interioare */
.page-hero { padding: 64px 0 28px; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 700; max-width: 22ch; }
.page-hero .lead { max-width: 62ch; }
.crumbs { display: flex; gap: 8px; margin-bottom: 18px; font-size: .9rem; color: var(--crom); }
.crumbs a { color: var(--crom); text-decoration: none; }
.crumbs a:hover { color: var(--gheata); text-decoration: underline; }

/* Variante de rack */
.unit-specs { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 2px 26px; }
.unit-specs .v { font-family: var(--display); font-weight: 600; font-size: 1rem; white-space: nowrap; }
.unit-specs .l { color: var(--crom); font-size: .82rem; }
.unit-specs > span { display: flex; flex-direction: column; }
.rack--wide .unit { grid-template-columns: 26px 14px minmax(0, 1fr) minmax(0, 1.7fr) 132px 132px 26px; }
.rack--wide .unit-specs { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 2px 28px; }
.unit-desc { color: var(--crom); font-size: .95rem; max-width: 46ch; }

/* Tabel de specificații */
.table-scroll { margin-top: 32px; overflow-x: auto; border-radius: 12px; border: 1px solid #c9dbe8; background: #fff; }
.spec-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .96rem; }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #e1ebf3; vertical-align: top; }
.spec-table thead th { background: var(--abis); color: var(--gheata); font: 600 1rem/1.2 var(--display); }
.spec-table thead th:first-child { font: 500 .9rem/1.2 var(--text); color: var(--crom); }
.spec-table tbody th { font-weight: 600; color: var(--abis); width: 24%; background: #f6f9fc; }
.spec-table td { color: #23395a; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table .price-row td { font: 600 1.05rem/1.3 var(--display); color: var(--abis); }
.spec-note { margin-top: 14px; color: var(--gri-albastru); font-size: .92rem; max-width: 80ch; }

/* Liste simple pe fundal deschis */
.plain-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.plain-list li { padding: 16px 0; border-top: 1px solid #c9dbe8; color: #2b4466; }
.plain-list strong { color: var(--abis); display: block; font-weight: 600; margin-bottom: 4px; }

/* Puncte pe fundal închis (pagina principală) */
.reasons { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.reasons > div { padding-top: 18px; border-top: 2px solid var(--ocean); }
.reasons h3 { font-size: 1.05rem; }
.reasons p { margin-top: 8px; color: var(--crom); }
.band { padding: 72px 0; border-top: 1px solid var(--ocean); }

/* Căutare domenii */
.domain-search {
  margin-top: 28px; display: flex; gap: 8px; max-width: 680px;
  padding: 6px; border-radius: 12px; background: var(--carcasa); border: 1px solid var(--ocean);
}
.domain-search:focus-within { border-color: var(--semnal); }
.domain-search input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--gheata);
  font: 500 1.1rem/1.2 var(--text); padding: 10px 14px;
}
.domain-search input::placeholder { color: rgba(178, 208, 225, .7); }
.domain-search input:focus { outline: none; }

.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-table th, .price-table td { padding: 13px 18px; border-bottom: 1px solid #e1ebf3; text-align: left; }
.price-table thead th { background: var(--abis); color: var(--gheata); font: 500 .9rem/1.2 var(--text); }
.price-table td:first-child { font: 600 1.05rem/1.2 var(--display); color: var(--abis); }
.price-table td { color: #23395a; }
.price-table td.num { font-variant-numeric: tabular-nums; }
.price-table tr:last-child td { border-bottom: 0; }

/* Contact */
.company-card { margin-top: 40px; padding-top: 18px; border-top: 2px solid var(--ocean); color: var(--crom); }
.company-card h3 { color: var(--gheata); margin-bottom: 8px; }

/* Subsol cu hartă a site-ului */
.footer-grid--4 { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.footer-col h2 { font: 600 .95rem/1.2 var(--display); color: var(--gheata); margin-bottom: 12px; }

/* Pagina 404 */
.notfound { padding: 120px 0; }
.notfound p { margin-top: 16px; color: var(--crom); max-width: 50ch; }

@media (max-width: 1100px) {
  .main-nav { gap: 20px; }
  .main-nav a { font-size: .92rem; }
}
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 16px;
    background: var(--abis); border-bottom: 1px solid var(--ocean);
  }
  .main-nav a { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid rgba(10, 56, 114, .7); }
  .main-nav a[aria-current="page"] { box-shadow: none; color: var(--semnal); }
  .site-header.open .main-nav { display: flex; }
  .site-header { position: sticky; }
  .header-row { position: relative; gap: 12px; }
  .rack--wide .unit { grid-template-columns: 26px 14px 1fr auto 26px; }
  .unit .unit-specs, .unit .unit-desc { grid-area: disk; }
  .unit-specs { grid-template-columns: repeat(3, minmax(0, auto)); }
  .plain-list { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .header-row .btn-ghost { display: none; }
  .main-nav a.nav-account { display: block; color: var(--semnal); border-bottom: 0; }
  .unit-specs { grid-template-columns: 1fr 1fr; }
  .domain-search { flex-direction: column; }
  .domain-search .btn { width: 100%; }
  .footer-grid--4 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .rack--wide .unit-specs,
  .unit-specs { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .unit-specs .v { white-space: normal; }
  .rack--wide .unit-specs > span:first-child { grid-column: 1 / -1; }
}

/* =========================================================
   Runda 3: promoții, formulare, pagini legale, cookie-uri
   ========================================================= */

/* Promoție la găzduire */
.promo-flag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(6, 212, 251, .12); border: 1px solid rgba(6, 212, 251, .45);
  color: var(--gheata); font-weight: 500; font-size: .92rem;
}
.promo-flag b { color: var(--semnal); font-family: var(--display); font-weight: 600; }
.unit-price .was { color: var(--crom); font-size: .9rem; text-decoration: line-through; text-decoration-color: rgba(178, 208, 225, .7); }
.unit-price .badge { margin-top: 4px; font: 600 .75rem/1 var(--display); color: var(--abis); background: var(--semnal); border-radius: 4px; padding: 4px 6px; }
.unit--promo {
  border-color: rgba(6, 212, 251, .6);
  background: linear-gradient(180deg, #0c2b5c 0%, #08214c 100%);
  box-shadow: inset 0 1px 0 rgba(178, 208, 225, .12), 0 0 0 1px rgba(6, 212, 251, .18), 0 12px 30px -16px rgba(6, 212, 251, .55);
}
.disk-extra { grid-column: 1 / -1; color: var(--crom); font-size: .88rem; }
.spec-table del { color: var(--gri-albastru); font-family: var(--text); font-weight: 400; font-size: .9rem; margin-left: 6px; }

/* Formulare (pe fundal deschis) */
.form-wrap { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.form { display: grid; gap: 22px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 16px; }
.form legend { font: 600 1.05rem/1.3 var(--display); color: var(--abis); margin-bottom: 4px; padding: 0; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--abis); font-size: .95rem; }
.field .hint { color: var(--gri-albastru); font-size: .86rem; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 12px; border-radius: 8px;
  border: 1px solid #b9cfe0; background: #fff; color: var(--cerneala);
  font: 400 1rem/1.4 var(--text);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(1, 97, 228, .25); border-color: var(--regal); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: #2b4466; font-size: .93rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--regal); }
.check a { color: var(--regal); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.btn-dark { background: var(--abis); color: var(--gheata); }
.btn-dark:hover { background: var(--ocean); }
.form-alert { display: none; padding: 14px 16px; border-radius: 8px; background: #fde8e8; color: #7a1b1b; border: 1px solid #f3b4b4; }
.form-alert.show { display: block; }

/* Verificare anti-robot */
.captcha {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 16px;
  max-width: 420px; padding: 14px 16px; border-radius: 10px;
  background: #fff; border: 1px solid #c9dbe8; box-shadow: 0 1px 0 rgba(1, 15, 40, .04);
}
.captcha-check { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; color: var(--abis); }
.captcha-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--regal); cursor: pointer; }
.captcha-status { font-size: .88rem; color: #2b4466; display: inline-flex; align-items: center; gap: 8px; min-height: 1.2em; }
.captcha-brand { font-size: .75rem; line-height: 1.25; text-align: right; color: #5b7390; text-transform: uppercase; letter-spacing: .04em; }
.captcha[data-state="working"] .captcha-status::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid #c9dbe8; border-top-color: var(--regal);
  animation: ch-spin .7s linear infinite;
}
.captcha[data-state="done"] { border-color: #6fc79a; }
.captcha[data-state="done"] .captcha-status { color: #136c3e; font-weight: 600; }
.captcha[data-state="done"] .captcha-status::before { content: "✓"; font-weight: 700; }
.captcha[data-state="error"] { border-color: #f3b4b4; }
.captcha[data-state="error"] .captcha-status { color: #7a1b1b; }
@keyframes ch-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .captcha[data-state="working"] .captcha-status::before { animation-duration: 2s; } }
@media (max-width: 480px) {
  .captcha { grid-template-columns: auto 1fr; max-width: none; }
  .captcha-brand { display: none; }
}
.form-note { font-size: .9rem; color: #2b4466; }
.aside-info h3 { font-size: 1rem; color: var(--abis); margin-top: 22px; }
.aside-info h3:first-child { margin-top: 0; }
.aside-info p { color: #2b4466; margin-top: 6px; }
.aside-info a { color: var(--regal); font-weight: 600; text-decoration: none; }
.aside-info a:hover { text-decoration: underline; }

/* Pagina de cont */
.account-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Pagini legale */
.legal { max-width: 74ch; color: #23395a; }
.legal h2 { font-size: 1.25rem; margin: 40px 0 12px; color: var(--abis); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--regal); }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: .94rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #d3e1ec; vertical-align: top; }
.legal th { background: #e4edf5; color: var(--abis); }
.updated { color: var(--crom); margin-top: 12px; font-size: .92rem; }

/* Subsol: buton care arată ca link */
.link-btn { background: none; border: 0; padding: 0; color: var(--crom); font: inherit; text-align: left; cursor: pointer; }
.link-btn:hover { color: var(--gheata); text-decoration: underline; }

/* Banner de consimțământ cookie */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 760px; margin: 0 auto; padding: 20px 22px;
  background: var(--carcasa); color: var(--gheata);
  border: 1px solid var(--ocean); border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar h2 { font-size: 1.05rem; }
.cookie-bar p { margin-top: 8px; color: var(--crom); font-size: .94rem; }
.cookie-bar a { color: var(--semnal); }
.cookie-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn-choice { background: var(--gheata); color: var(--abis); }
.btn-choice:hover { background: #fff; }
.cookie-prefs { margin-top: 14px; display: grid; gap: 10px; }
.cookie-prefs[hidden] { display: none; }
.pref { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .93rem; color: var(--crom); }
.pref strong { color: var(--gheata); display: block; }
.pref input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--semnal); }

@media (max-width: 980px) {
  .form-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .form .row-2 { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .cookie-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 720px) {
  .legal table { display: block; overflow-x: auto; }
}
[hidden] { display: none !important; }
.cookie-bar .btn-ghost { color: var(--gheata); background: transparent; }

/* Subsol, varianta 2: datele firmei sub logo, bara de jos cu ANPC / SAL */
.footer-company { margin-top: 4px; line-height: 1.7; }
.footer-company strong { color: var(--gheata); font-weight: 600; }
.site-footer .footer-col nav { gap: 9px; }
.footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(10, 56, 114, .7);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-bottom .copyright { margin: 0; padding: 0; border: 0; }
.site-footer .footer-badges { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; flex: none; }
.badge-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 8px;
  border: 1px solid rgba(178, 208, 225, .3); color: var(--crom);
  text-decoration: none; font-size: .85rem; line-height: 1.2;
}
.badge-link span { font: 600 .8rem/1 var(--display); color: var(--gheata); padding-right: 10px; border-right: 1px solid rgba(178, 208, 225, .3); }
.badge-link:hover { border-color: var(--semnal); color: var(--gheata); }
@media (max-width: 720px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .site-footer .footer-badges { flex-wrap: wrap; flex: initial; }
}

/* Harta site-ului */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.sitemap-col h2 { font-size: 1.15rem; margin-bottom: 14px; }
.sitemap-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sitemap-col li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid #dbe6ef; }
.sitemap-col a { color: var(--regal); font-weight: 600; text-decoration: none; }
.sitemap-col a:hover { text-decoration: underline; }
.sitemap-col span { color: #2b4466; font-size: .9rem; }
.sitemap-xml { margin-top: 32px; color: #2b4466; font-size: .92rem; }
.sitemap-xml a { color: var(--regal); }
@media (max-width: 980px) { .sitemap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .sitemap-grid { grid-template-columns: 1fr; gap: 28px; } }
