/* ==========================================================================
   Host Factory · stratul de site (vitrină + portal) peste child theme-ul `hostfactory`
   Se încarcă DUPĂ custom.css. Tokenurile vin din kitul de brand aprobat (18.09.2026).
   Prefix `hf-` peste tot: nu se ciocnește cu Bootstrap 4 / Nexus.
   ========================================================================== */

:root {
  --hf-brand: #0DBE4E;
  --hf-brand-bright: #50D16D;
  --hf-action: #047B30;
  --hf-action-hover: #016123;
  --hf-soft: #EDFCEE;
  --hf-soft-2: #DAF6DD;
  --hf-ink: #0A100B;
  --hf-ink-2: #151B16;
  --hf-ink-3: #1E2620;
  --hf-ink-line: rgba(255, 255, 255, .10);
  --hf-on-ink: #FFFFFF;
  --hf-on-ink-2: #C9D0CA;
  --hf-on-ink-3: #9EA39F;
  --hf-paper: #F1F4F1;
  --hf-card: #FFFFFF;
  --hf-text: #151B16;
  --hf-text-2: #3D413D;
  --hf-muted: #5E635E;
  --hf-line: #E1E5E1;
  --hf-line-2: #D1D6D1;
  --hf-warn-bg: #FFF4E0; --hf-warn-line: #F3D29B; --hf-warn-text: #7A3300;
  --hf-bad-bg: #FDE8E8;  --hf-bad-line: #F4C2C2;  --hf-bad-text: #9B1C1C; --hf-bad: #C81E1E;
  --hf-info-bg: #E8F0FE; --hf-info-text: #123D8C;

  --hf-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --hf-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hf-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;

  --hf-r-sm: 6px; --hf-r-md: 10px; --hf-r-lg: 16px; --hf-r-xl: 24px;
  --hf-wrap: 1240px;
  --hf-gut: clamp(16px, 4vw, 40px);
  --hf-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- bază ---------- */
.hf { font-family: var(--hf-body); color: var(--hf-text); background: var(--hf-paper); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.hf *, .hf *::before, .hf *::after { box-sizing: border-box; }
.hf img, .hf svg { max-width: 100%; }
.hf a { color: var(--hf-action); text-underline-offset: 3px; }
.hf a:hover { color: var(--hf-action-hover); }
:where(.hf) :where(h1, h2, h3, h4) { font-family: var(--hf-display); color: inherit; margin: 0; letter-spacing: -.02em; text-wrap: balance; font-weight: 600; }
:where(.hf) p { margin: 0; }
.hf :focus-visible { outline: 2px solid var(--hf-action); outline-offset: 3px; border-radius: 4px; }
.hf-dark :focus-visible { outline-color: var(--hf-brand-bright); }
.hf-wrap { max-width: var(--hf-wrap); margin: 0 auto; padding-inline: var(--hf-gut); }
.hf-i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.hf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hf-num { font-variant-numeric: tabular-nums; }
.hf-mono { font-family: var(--hf-mono); font-size: .92em; }
.hf-eyebrow { font: 600 .75rem/1.2 var(--hf-body); letter-spacing: .14em; text-transform: uppercase; color: var(--hf-action); display: inline-flex; gap: .5em; align-items: center; }
.hf-dark .hf-eyebrow { color: var(--hf-brand-bright); }
.hf-eyebrow::before { content: '/'; font-family: var(--hf-display); font-weight: 700; letter-spacing: 0; }

/* ---------- butoane ---------- */
.hf-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 1.35rem; border-radius: var(--hf-r-md); font: 600 1rem/1 var(--hf-display); letter-spacing: -.01em; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .18s var(--hf-ease), transform .18s var(--hf-ease), border-color .18s; white-space: nowrap; }
.hf-btn:active { transform: translateY(1px); }
.hf-btn--primary { background: var(--hf-action); color: #fff !important; }
.hf-btn--primary:hover { background: var(--hf-action-hover); }
.hf-dark .hf-btn--primary { background: var(--hf-brand); color: var(--hf-ink) !important; }
.hf-dark .hf-btn--primary:hover { background: var(--hf-brand-bright); }
.hf-btn--ghost { border-color: var(--hf-line-2); color: var(--hf-text) !important; background: transparent; }
.hf-btn--ghost:hover { border-color: var(--hf-text); }
.hf-dark .hf-btn--ghost { border-color: rgba(255,255,255,.28); color: #fff !important; }
.hf-dark .hf-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.hf-btn--danger { background: var(--hf-bad); color: #fff !important; }
.hf-btn--sm { min-height: 38px; padding: 0 .95rem; font-size: .9rem; }
.hf-btn .hf-i { transition: transform .18s var(--hf-ease); }
.hf-btn:hover .hf-i--go { transform: translateX(3px); }
.hf-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.hf-link:hover { text-decoration: underline; }

/* ---------- [DE COMPLETAT]: afirmații neconfirmate de operator ---------- */
.hf-todo { display: inline; padding: .15em .5em; line-height: 1.9; -webkit-box-decoration-break: clone; box-decoration-break: clone; border: 1.5px dashed #C98A1A; border-radius: 6px; background: #FFF7E8; color: #7A4A00; font: 600 .78rem/1.5 var(--hf-mono); letter-spacing: 0; white-space: normal; }
.hf-todo::before { content: 'DE COMPLETAT · '; font-weight: 700; }
.hf-dark .hf-todo { background: rgba(201,138,26,.12); color: #F6C27A; border-color: #B17714; }

/* ---------- bara de ofertă ---------- */
.hf-offer { background: var(--hf-brand); color: var(--hf-ink); font-size: .9rem; }
.hf-offer .hf-wrap { display: flex; gap: .75rem 1.25rem; align-items: center; justify-content: center; min-height: 40px; flex-wrap: wrap; padding-block: 6px; text-align: center; }
.hf-offer b { font-family: var(--hf-display); }
.hf-offer a { color: var(--hf-ink) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.hf-head { background: var(--hf-ink); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--hf-ink-line); }
.hf-head .hf-wrap { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.hf-head__logo { display: flex; align-items: center; flex: none; }
.hf-head__logo img { height: 22px; width: auto; display: block; }
.hf-nav { display: flex; gap: 4px; align-items: center; margin: 0; padding: 0; list-style: none; }
.hf-nav a { display: block; white-space: nowrap; padding: .5rem .7rem; border-radius: 8px; color: var(--hf-on-ink-2) !important; text-decoration: none; font-weight: 500; font-size: .95rem; }
.hf-nav a:hover { color: #fff !important; background: rgba(255,255,255,.06); }
.hf-nav a[aria-current="page"] { color: #fff !important; box-shadow: inset 0 -2px 0 var(--hf-brand); border-radius: 8px 8px 0 0; }
.hf-head__end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.hf-head__tel { white-space: nowrap; color: var(--hf-on-ink-2) !important; text-decoration: none; font: 500 .92rem var(--hf-body); display: inline-flex; gap: .45em; align-items: center; padding: 0 .6rem; }
.hf-head__tel:hover { color: #fff !important; }
.hf-iconbtn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--hf-ink-line); color: #fff !important; background: rgba(255,255,255,.03); }
.hf-iconbtn:hover { background: rgba(255,255,255,.09); }
.hf-iconbtn .hf-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--hf-brand); color: var(--hf-ink); font: 700 .72rem/20px var(--hf-body); text-align: center; }
.hf-head .hf-btn { min-height: 42px; }
.hf-burger { display: none; }
@media (max-width: 1360px) { .hf-head__tel span { display: none; } }
@media (max-width: 1180px) {
  .hf-nav { display: none; }
  .hf-burger { display: inline-grid; }
  .hf-head .hf-btn--account span { display: none; }
  .hf-head .hf-btn--account { padding: 0; width: 42px; }
}
@media (max-width: 520px) {
  .hf-head .hf-wrap { gap: 12px; }
  .hf-head__logo img { height: 17px; }
  .hf-head .hf-btn--account, .hf-portalhead .hf-iconbtn[aria-label^="Coș"] { display: none; }
  .hf-head__tel { width: 42px; height: 42px; justify-content: center; padding: 0; border: 1px solid var(--hf-ink-line); border-radius: 10px; }
  .hf-head__end { gap: 6px; }
}

/* ---------- hero ---------- */
.hf-dark { background: var(--hf-ink); color: var(--hf-on-ink); }
.hf-hero { position: relative; overflow: hidden; background:
    radial-gradient(900px 480px at 78% -8%, rgba(13,190,78,.22), transparent 68%),
    radial-gradient(rgba(255,255,255,.065) 1px, transparent 1.3px) 0 0 / 24px 24px,
    var(--hf-ink); }
.hf-hero > .hf-wrap:first-child { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(28px, 3.5vw, 44px); }
.hf-hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; }
.hf-hero h1 em { font-style: normal; color: var(--hf-brand); }
.hf-hero__lede { margin-top: 22px; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--hf-on-ink-2); max-width: 52ch; }
.hf-hero__lede b { color: #fff; font-weight: 600; }
.hf-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hf-hero__meta { margin-top: 26px; display: flex; gap: 8px 22px; flex-wrap: wrap; color: var(--hf-on-ink-3); font-size: .88rem; }
.hf-hero__meta span { display: inline-flex; gap: .45em; align-items: center; }
.hf-hero__meta .hf-i { color: var(--hf-brand); }
@media (max-width: 960px) { .hf-hero > .hf-wrap:first-child { grid-template-columns: 1fr; } }

/* ---------- SEMNĂTURA: căutarea de domenii în sintaxa logoului  < nume / .ro > ---------- */
.hf-dsearch { --h: 76px; }
.hf-dsearch__form { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto auto; align-items: center; gap: 0; height: var(--h); padding: 0 8px 0 18px; border-radius: var(--hf-r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); transition: border-color .2s, box-shadow .2s, background .2s; }
.hf-dsearch__form:focus-within { border-color: var(--hf-brand); background: rgba(255,255,255,.06); box-shadow: 0 0 0 4px rgba(13,190,78,.18); }
.hf-chev { width: 20px; height: 36px; flex: none; }
.hf-chev--l { fill: var(--hf-brand); margin-right: 14px; }
.hf-chev--r { fill: #fff; margin: 0 14px 0 12px; }
.hf-dsearch__input { min-width: 0; height: 100%; border: 0; outline: 0 !important; background: transparent; color: #fff; font: 500 clamp(1.25rem, 2.2vw, 1.75rem)/1 var(--hf-display); letter-spacing: -.02em; }
.hf-dsearch__input::placeholder { color: rgba(255,255,255,.38); }
.hf-slash { width: 14px; height: 34px; fill: #fff; margin: 0 6px 0 4px; }
.hf-dsearch__tld { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--hf-brand); font: 600 clamp(1.25rem, 2.2vw, 1.75rem)/1 var(--hf-display); letter-spacing: -.02em; padding: 0 22px 0 2px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2350D16D' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.hf-dsearch__tld option { color: #111; }
.hf-dsearch__go { height: calc(var(--h) - 16px); }
.hf-dsearch__hint { margin-top: 12px; color: var(--hf-on-ink-3); font-size: .88rem; display: flex; gap: 6px 18px; flex-wrap: wrap; }
.hf-dsearch__hint b { color: var(--hf-on-ink-2); font-weight: 600; }
.hf-dsearch__tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.hf-dsearch__tabs button { background: transparent; border: 1px solid transparent; color: var(--hf-on-ink-3); font: 500 .88rem var(--hf-body); padding: .35rem .8rem; border-radius: 999px; cursor: pointer; }
.hf-dsearch__tabs button[aria-pressed="true"] { color: #fff; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.05); }
/* momentul de încărcare: chevronii pleacă din centru și încadrează câmpul */
@media (prefers-reduced-motion: no-preference) {
  .hf-dsearch--anim .hf-chev--l { animation: hf-chev-l .9s var(--hf-ease) .15s both; }
  .hf-dsearch--anim .hf-chev--r { animation: hf-chev-r .9s var(--hf-ease) .15s both; }
  .hf-dsearch--anim .hf-dsearch__input, .hf-dsearch--anim .hf-slash, .hf-dsearch--anim .hf-dsearch__tld { animation: hf-fade .6s ease .55s both; }
}
@keyframes hf-chev-l { from { transform: translateX(160px); opacity: .2; } to { transform: none; opacity: 1; } }
@keyframes hf-chev-r { from { transform: translateX(-160px); opacity: .2; } to { transform: none; opacity: 1; } }
@keyframes hf-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .hf-dsearch { --h: 60px; }
  .hf-dsearch__form { grid-template-columns: auto minmax(0, 1fr) auto auto auto; padding: 0 12px; }
  .hf-dsearch__go { grid-column: 1 / -1; width: 100%; margin-top: 10px; height: 52px; }
  .hf-dsearch__form { height: auto; padding-block: 8px 12px; row-gap: 0; }
  .hf-dsearch__input, .hf-dsearch__form > svg, .hf-dsearch__tld { height: 44px; }
  .hf-chev--l { margin-right: 8px; } .hf-chev--r { margin: 0 0 0 8px; }
  .hf-chev { width: 14px; height: 26px; } .hf-slash { width: 10px; height: 26px; }
}

/* ---------- rack: pachetele ca unități de server ---------- */
.hf-rack { background: #0F1611; border: 1px solid var(--hf-ink-line); border-radius: var(--hf-r-lg); padding: 14px 14px 12px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.04); }
.hf-rack__cap { display: flex; justify-content: space-between; color: var(--hf-on-ink-3); font: 500 .72rem var(--hf-mono); letter-spacing: .06em; text-transform: uppercase; padding: 0 4px 10px; }
.hf-rack__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hf-unit { display: grid; grid-template-columns: 8px 1fr auto 8px; align-items: center; gap: 12px; height: 46px; padding: 0 10px; border-radius: 6px; background: linear-gradient(#1B231D, #151C17); border: 1px solid rgba(255,255,255,.06); color: var(--hf-on-ink-2); text-decoration: none; position: relative; transition: border-color .2s, background .2s; }
.hf-unit::before, .hf-unit::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2A332C; box-shadow: inset 0 1px 1px rgba(0,0,0,.6); }
.hf-unit::before { grid-column: 1; } .hf-unit::after { grid-column: 4; }
.hf-unit__name { font: 600 .95rem var(--hf-display); color: #fff; display: flex; align-items: center; gap: 10px; }
.hf-unit__led { width: 7px; height: 7px; border-radius: 50%; background: var(--hf-brand); box-shadow: 0 0 8px rgba(13,190,78,.8); flex: none; }
.hf-unit__vent { flex: 1; height: 14px; margin-left: 6px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 2px, transparent 2px 6px); border-radius: 2px; min-width: 20px; }
.hf-unit__disk { font: 500 .82rem var(--hf-mono); color: var(--hf-on-ink-2); text-align: right; }
.hf-unit__disk b { color: #fff; font-weight: 600; }
a.hf-unit:hover { border-color: rgba(13,190,78,.5); background: linear-gradient(#1F2A22, #18211A); }
@media (prefers-reduced-motion: no-preference) {
  .hf-unit:nth-child(3) .hf-unit__led { animation: hf-blink 2.8s steps(1) infinite; }
}
@keyframes hf-blink { 0%, 86% { opacity: 1; } 88% { opacity: .25; } 90% { opacity: 1; } 93% { opacity: .3; } 95% { opacity: 1; } }
.hf-rack__foot { display: flex; justify-content: space-between; padding: 10px 4px 0; color: var(--hf-on-ink-3); font-size: .8rem; }

/* ---------- secțiuni ---------- */
.hf-sec { padding-block: clamp(56px, 8vw, 104px); }
.hf-sec--tight { padding-block: clamp(40px, 5vw, 64px); }
.hf-sec__head { display: flex; justify-content: space-between; align-items: end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.hf-sec__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1.08; max-width: 20ch; margin-top: 10px; }
.hf-sec__head p { color: var(--hf-muted); max-width: 46ch; }
.hf-white { background: var(--hf-card); }

/* ---------- carduri de pachet ---------- */
.hf-cycle { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--hf-card); border: 1px solid var(--hf-line); }
.hf-cycle button { border: 0; background: transparent; padding: .55rem 1rem; border-radius: 9px; font: 600 .92rem var(--hf-display); color: var(--hf-muted); cursor: pointer; display: inline-flex; gap: .4em; align-items: center; }
.hf-cycle button small { font: 600 .72rem var(--hf-body); color: var(--hf-action); }
.hf-cycle button[aria-pressed="true"] { background: var(--hf-ink); color: #fff; }
.hf-cycle button[aria-pressed="true"] small { color: var(--hf-brand-bright); }
@media (max-width: 520px) {
  .hf-cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
  .hf-cycle button { flex-direction: column; gap: 0; padding: .45rem .2rem; justify-content: center; }
}
.hf-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .hf-plans { grid-template-columns: 1fr; } }
.hf-plan { background: var(--hf-card); border: 1px solid var(--hf-line); border-radius: var(--hf-r-lg); padding: 26px; display: grid; gap: 18px; align-content: start; position: relative; }
.hf-plan__top { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.hf-plan h3 { font-size: 1.35rem; }
.hf-plan__for { color: var(--hf-muted); font-size: .92rem; margin-top: 2px; }
.hf-price { display: grid; gap: 2px; }
.hf-price__main { font: 600 2.6rem/1 var(--hf-display); letter-spacing: -.035em; display: flex; align-items: baseline; gap: .25em; }
.hf-price__main small { font: 500 1rem var(--hf-body); letter-spacing: 0; color: var(--hf-muted); }
.hf-price__sub { color: var(--hf-muted); font-size: .88rem; }
.hf-save { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--hf-soft); color: #004B19; font: 700 .78rem var(--hf-body); white-space: nowrap; }
.hf-save[hidden] { display: none; }
.hf-disk { display: grid; gap: 6px; }
.hf-disk__bar { height: 8px; border-radius: 4px; background: var(--hf-paper); overflow: hidden; }
.hf-disk__bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--hf-action), var(--hf-brand)); }
.hf-disk__lbl { display: flex; justify-content: space-between; font-size: .85rem; color: var(--hf-muted); }
.hf-disk__lbl b { font: 600 1rem var(--hf-display); color: var(--hf-text); }
.hf-specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .95rem; }
.hf-specs li { display: flex; gap: 10px; align-items: center; }
.hf-specs .hf-i { color: var(--hf-action); }
.hf-specs .hf-no { color: var(--hf-muted); }
.hf-specs .hf-no .hf-i { color: var(--hf-line-2); }
.hf-plan .hf-btn { width: 100%; }

/* ---------- utilizări ---------- */
.hf-uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .hf-uses { grid-template-columns: 1fr; } }
.hf-use { border-radius: var(--hf-r-lg); padding: 28px; display: grid; gap: 14px; align-content: start; background: var(--hf-paper); border: 1px solid var(--hf-line); text-decoration: none; color: var(--hf-text) !important; transition: border-color .2s, transform .2s var(--hf-ease); }
.hf-use:hover { border-color: var(--hf-action); transform: translateY(-2px); }
.hf-use__ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--hf-ink); color: var(--hf-brand); }
.hf-use h3 { font-size: 1.3rem; }
.hf-use p { color: var(--hf-muted); font-size: .95rem; }
.hf-use__fit { font: 500 .85rem var(--hf-mono); color: var(--hf-action); border-top: 1px solid var(--hf-line); padding-top: 12px; margin-top: 4px; }

/* ---------- ce primești (fișă tehnică) ---------- */
.hf-sheet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--hf-line); border-radius: var(--hf-r-lg); overflow: hidden; background: var(--hf-line); gap: 1px; }
@media (max-width: 960px) { .hf-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hf-sheet { grid-template-columns: 1fr; } }
.hf-sheet > div { background: var(--hf-card); padding: 22px; display: grid; gap: 8px; align-content: start; }
.hf-sheet .hf-i { width: 22px; height: 22px; color: var(--hf-action); }
.hf-sheet h3 { font-size: 1.05rem; }
.hf-sheet p { font-size: .9rem; color: var(--hf-muted); }
.hf-sheet code { font-family: var(--hf-mono); font-size: .85em; color: var(--hf-text-2); }

/* ---------- familia ---------- */
.hf-family { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hf-family { grid-template-columns: 1fr; } }
.hf-family h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; margin-top: 10px; }
.hf-family p { color: var(--hf-on-ink-2); margin-top: 16px; max-width: 50ch; }
.hf-family__list { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.hf-family__list li { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--hf-ink-line); border-radius: var(--hf-r-md); background: rgba(255,255,255,.02); }
.hf-family__list li.is-here { border-color: rgba(13,190,78,.55); background: rgba(13,190,78,.06); }
.hf-family__list svg, .hf-family__list img { height: 18px; width: auto; display: block; }
.hf-family__list span { color: var(--hf-on-ink-3); font-size: .9rem; }
@media (max-width: 520px) { .hf-family__list li { grid-template-columns: 1fr; gap: 6px; } }
.hf-company { margin-top: 24px; font: 500 .85rem/1.7 var(--hf-mono); color: var(--hf-on-ink-3); }

/* ---------- încredere ---------- */
.hf-trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; }
@media (max-width: 900px) { .hf-trust { grid-template-columns: 1fr; } }
.hf-trust__score, .hf-quote { background: var(--hf-card); border: 1px solid var(--hf-line); border-radius: var(--hf-r-lg); padding: 26px; display: grid; gap: 12px; align-content: start; }
.hf-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 640px) { .hf-quotes { grid-template-columns: 1fr; } }
.hf-quote { margin: 0; }
.hf-quote blockquote { margin: 0; font-size: 1.02rem; color: var(--hf-text-2); }
.hf-quote figcaption { font-size: .88rem; color: var(--hf-muted); }

/* ---------- FAQ ---------- */
.hf-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); }
@media (max-width: 900px) { .hf-faq { grid-template-columns: 1fr; } }
.hf-faq h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; margin-top: 10px; }
.hf-faq__aside p { color: var(--hf-muted); margin-top: 14px; }
.hf-faq__list { display: grid; }
.hf-faq details { border-top: 1px solid var(--hf-line); }
.hf-faq details:last-child { border-bottom: 1px solid var(--hf-line); }
.hf-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font: 600 1.08rem var(--hf-display); }
.hf-faq summary::-webkit-details-marker { display: none; }
.hf-faq summary::after { content: '+'; font: 400 1.6rem/1 var(--hf-display); color: var(--hf-action); transition: transform .2s var(--hf-ease); }
.hf-faq details[open] summary::after { transform: rotate(45deg); }
.hf-faq details > div { padding: 0 0 22px; color: var(--hf-text-2); max-width: 64ch; display: grid; gap: 10px; }

/* ---------- apel final ---------- */
.hf-final { border-radius: var(--hf-r-xl); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 40px; align-items: center; background:
    radial-gradient(600px 300px at 100% 0, rgba(13,190,78,.25), transparent 70%),
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.3px) 0 0 / 24px 24px, var(--hf-ink); color: #fff; }
.hf-final h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.05; }
.hf-final p { color: var(--hf-on-ink-2); margin-top: 12px; }
.hf-final__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) { .hf-final { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.hf-foot { background: var(--hf-ink); color: var(--hf-on-ink-3); font-size: .92rem; border-top: 3px solid var(--hf-brand); }
.hf-foot a { color: var(--hf-on-ink-2) !important; text-decoration: none; }
.hf-foot a:hover { color: #fff !important; text-decoration: underline; }
.hf-foot__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 40px; }
@media (max-width: 900px) { .hf-foot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hf-foot__top { grid-template-columns: 1fr; } }
.hf-foot h4 { font: 600 .78rem var(--hf-body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.hf-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hf-foot__brand img { height: 20px; width: auto; }
.hf-foot__brand p { margin-top: 16px; max-width: 38ch; }
.hf-foot__contact { display: grid; gap: 6px; margin-top: 18px; }
.hf-foot__contact a, .hf-foot__contact span { display: inline-flex; gap: .5em; align-items: center; }
.hf-foot__pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.hf-chip { display: inline-flex; align-items: center; gap: .4em; height: 30px; padding: 0 10px; border: 1px solid var(--hf-ink-line); border-radius: 8px; font-size: .8rem; color: var(--hf-on-ink-2); }
.hf-foot__legal { border-top: 1px solid var(--hf-ink-line); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; font-size: .82rem; }
.hf-foot__anpc { display: flex; gap: 10px; flex-wrap: wrap; }
.hf-foot__anpc a { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border: 1px solid var(--hf-ink-line); border-radius: 8px; font: 600 .75rem var(--hf-body); letter-spacing: .02em; }

/* ---------- pagina de pachete: rack comparativ ---------- */
.hf-pagehead { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 40px); }
.hf-pagehead h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.02; letter-spacing: -.035em; margin-top: 12px; max-width: 16ch; }
.hf-pagehead p { color: var(--hf-on-ink-2); margin-top: 16px; max-width: 58ch; font-size: 1.08rem; }
.hf-crumbs { display: flex; gap: 6px; flex-wrap: wrap; font: 500 .85rem var(--hf-mono); color: var(--hf-on-ink-3); margin: 0; padding: 0; list-style: none; }
.hf-crumbs a { color: var(--hf-on-ink-2) !important; text-decoration: none; }
.hf-crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--hf-brand); }
.hf-toolbar { position: sticky; top: 72px; z-index: 20; background: rgba(241,244,241,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hf-line); }
.hf-toolbar .hf-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; min-height: 68px; flex-wrap: wrap; padding-block: 10px; }
.hf-toolbar p { color: var(--hf-muted); font-size: .9rem; }
.hf-rows { display: grid; gap: 10px; }
.hf-row { display: grid; grid-template-columns: 34px minmax(150px, 1.1fr) minmax(180px, 1.6fr) repeat(3, minmax(64px, .55fr)) minmax(170px, 1fr) auto; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; background: var(--hf-card); border: 1px solid var(--hf-line); border-radius: var(--hf-r-md); position: relative; transition: border-color .2s, box-shadow .2s; }
.hf-row:hover { border-color: var(--hf-line-2); box-shadow: 0 10px 30px -18px rgba(10,16,11,.35); }
.hf-row__u { font: 600 .72rem var(--hf-mono); color: var(--hf-muted); display: grid; justify-items: center; gap: 6px; }
.hf-row__u i { width: 8px; height: 8px; border-radius: 50%; background: var(--hf-brand); box-shadow: 0 0 0 3px var(--hf-soft); }
.hf-row__name h3 { font-size: 1.2rem; }
.hf-row__name p { font-size: .85rem; color: var(--hf-muted); }
.hf-row__stat { display: grid; gap: 1px; }
.hf-row__stat b { font: 600 1.1rem var(--hf-display); }
.hf-row__stat span { font-size: .78rem; color: var(--hf-muted); }
.hf-row__price { display: grid; gap: 2px; justify-items: end; text-align: right; }
.hf-row__price b { font: 600 1.55rem/1 var(--hf-display); letter-spacing: -.03em; }
.hf-row__price > span { font-size: .8rem; color: var(--hf-muted); }
.hf-row__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.hf-tag { display: inline-flex; align-items: center; gap: .3em; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--hf-paper); color: var(--hf-text-2); font: 600 .72rem var(--hf-mono); }
.hf-tag--on { background: var(--hf-ink); color: var(--hf-brand-bright); }
@media (max-width: 1100px) {
  .hf-row { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "u name price" "u disk disk" "u stats stats" "u btn btn"; row-gap: 14px; }
  .hf-row__u { grid-area: u; align-self: start; padding-top: 4px; }
  .hf-row__name { grid-area: name; } .hf-row__price { grid-area: price; }
  .hf-row .hf-disk { grid-area: disk; }
  .hf-row__stats { grid-area: stats; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hf-row .hf-btn { grid-area: btn; width: 100%; }
}
@media (min-width: 1101px) { .hf-row__stats { display: contents; } }

.hf-tablewrap { overflow-x: auto; border: 1px solid var(--hf-line); border-radius: var(--hf-r-lg); background: var(--hf-card); }
.hf-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 880px; font-size: .92rem; }
.hf-table th, .hf-table td { padding: 12px 16px; border-bottom: 1px solid var(--hf-line); text-align: center; white-space: nowrap; }
.hf-table thead th { font: 600 .95rem var(--hf-display); background: var(--hf-card); position: sticky; top: 0; }
.hf-table tbody th { text-align: left; font-weight: 500; color: var(--hf-text-2); position: sticky; left: 0; background: var(--hf-card); z-index: 1; box-shadow: 1px 0 0 var(--hf-line); }
.hf-table thead th:first-child { position: sticky; left: 0; z-index: 2; text-align: left; }
.hf-table .hf-grp th { background: var(--hf-paper); font: 600 .72rem var(--hf-body); letter-spacing: .12em; text-transform: uppercase; color: var(--hf-muted); text-align: left; }
.hf-table td { font-variant-numeric: tabular-nums; }
.hf-table .hf-yes { color: var(--hf-action); font-weight: 700; }
.hf-table .hf-dash { color: var(--hf-line-2); }
.hf-table tr:last-child td, .hf-table tr:last-child th { border-bottom: 0; }

.hf-addon { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px 28px; align-items: center; padding: 26px; border-radius: var(--hf-r-lg); background: var(--hf-card); border: 1px solid var(--hf-line); }
.hf-addon__ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--hf-ink); color: var(--hf-brand); }
.hf-addon h3 { font-size: 1.25rem; }
.hf-addon p { color: var(--hf-muted); margin-top: 4px; max-width: 70ch; }
@media (max-width: 760px) { .hf-addon { grid-template-columns: 1fr; } }

/* ---------- PORTAL ---------- */
.hf-portal { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 28px; padding-block: 28px 64px; }
.hf-side { display: grid; gap: 4px; align-content: start; position: sticky; top: 96px; }
.hf-side a { display: flex; gap: 12px; align-items: center; padding: .6rem .8rem; border-radius: 10px; color: var(--hf-text-2) !important; text-decoration: none; font-weight: 500; }
.hf-side a:hover { background: var(--hf-card); }
.hf-side a[aria-current="page"] { background: var(--hf-card); color: var(--hf-text) !important; box-shadow: inset 3px 0 0 var(--hf-action), 0 1px 2px rgba(0,0,0,.04); }
.hf-side a .hf-i { color: var(--hf-muted); }
.hf-side a[aria-current="page"] .hf-i { color: var(--hf-action); }
.hf-side__n { margin-left: auto; font: 700 .72rem var(--hf-body); padding: 2px 7px; border-radius: 999px; background: var(--hf-bad-bg); color: var(--hf-bad-text); }
@media (max-width: 1000px) { .hf-portal { grid-template-columns: 1fr; } .hf-side { display: none; } }
.hf-side hr { border: 0; border-top: 1px solid var(--hf-line); margin: 10px 0; }
.hf-greet { display: flex; justify-content: space-between; align-items: end; gap: 12px 24px; flex-wrap: wrap; }
.hf-greet h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.hf-greet p { color: var(--hf-muted); }
.hf-main { display: grid; gap: 20px; align-content: start; }

.hf-alert { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 20px; align-items: center; padding: 20px 22px; border-radius: var(--hf-r-lg); border: 1px solid; }
.hf-alert--bad { background: var(--hf-bad-bg); border-color: var(--hf-bad-line); color: var(--hf-bad-text); }
.hf-alert--warn { background: var(--hf-warn-bg); border-color: var(--hf-warn-line); color: var(--hf-warn-text); }
.hf-alert__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; }
.hf-alert h2 { font-size: 1.15rem; color: inherit; }
.hf-alert p { font-size: .95rem; margin-top: 2px; }
.hf-alert__sum { font: 600 1.6rem/1 var(--hf-display); letter-spacing: -.03em; color: var(--hf-text); text-align: right; }
.hf-alert__sum small { display: block; font: 500 .78rem var(--hf-body); color: var(--hf-muted); letter-spacing: 0; margin-top: 4px; }
.hf-alert__act { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: end; }
@media (max-width: 760px) { .hf-alert { grid-template-columns: auto minmax(0, 1fr); } .hf-alert__act { grid-column: 1 / -1; justify-content: stretch; } .hf-alert__act .hf-btn { flex: 1; } .hf-alert__sum { text-align: left; } }

.hf-card { background: var(--hf-card); border: 1px solid var(--hf-line); border-radius: var(--hf-r-lg); }
.hf-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--hf-line); }
.hf-card__head h2 { font-size: 1.1rem; }
.hf-card__head a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.hf-svc { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px 24px; align-items: center; padding: 20px 22px; }
.hf-svc + .hf-svc { border-top: 1px solid var(--hf-line); }
.hf-svc__name { display: grid; gap: 4px; }
.hf-svc__name b { font: 600 1.05rem var(--hf-display); }
.hf-svc__name span:not(.hf-status) { font: 500 .88rem var(--hf-mono); color: var(--hf-muted); }
.hf-svc__meta { font-size: .88rem; color: var(--hf-muted); display: grid; gap: 2px; }
.hf-svc__meta b { color: var(--hf-text); font-weight: 600; }
.hf-svc__act { display: flex; gap: 8px; }
@media (max-width: 900px) { .hf-svc { grid-template-columns: 1fr 1fr; } .hf-svc__act { grid-column: 1 / -1; } .hf-svc__act .hf-btn { flex: 1; } }
.hf-usage { display: grid; gap: 6px; font-size: .84rem; color: var(--hf-muted); }
.hf-usage__bar { height: 8px; border-radius: 4px; background: var(--hf-paper); overflow: hidden; }
.hf-usage__bar i { display: block; height: 100%; border-radius: 4px; background: var(--hf-action); }
.hf-usage--80 .hf-usage__bar i { background: #C27803; }
.hf-usage--95 .hf-usage__bar i { background: var(--hf-bad); }
.hf-usage b { color: var(--hf-text); font-weight: 600; }

.hf-status { display: inline-flex; align-items: center; gap: .4em; height: 26px; padding: 0 10px; border-radius: 999px; font: 600 .78rem var(--hf-body); white-space: nowrap; width: max-content; }
.hf-status .hf-i { width: 14px; height: 14px; }
.hf-status--ok { background: var(--hf-soft); color: #004B19; }
.hf-status--warn { background: var(--hf-warn-bg); color: #8A3B00; }
.hf-status--bad { background: var(--hf-bad-bg); color: var(--hf-bad-text); }
.hf-status--info { background: var(--hf-info-bg); color: var(--hf-info-text); }
.hf-status--mute { background: var(--hf-paper); color: var(--hf-text-2); }

.hf-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 900px) { .hf-grid2 { grid-template-columns: 1fr; } }
.hf-list { list-style: none; margin: 0; padding: 0; }
.hf-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 22px; border-top: 1px solid var(--hf-line); align-items: center; }
.hf-list li:first-child { border-top: 0; }
.hf-list b { font-weight: 600; }
.hf-list small { color: var(--hf-muted); font-size: .84rem; grid-column: 1; }
.hf-list a { text-decoration: none; color: var(--hf-text) !important; }
.hf-list a:hover b { color: var(--hf-action); }
.hf-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .hf-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hf-quick a { display: grid; gap: 10px; padding: 18px; background: var(--hf-card); border: 1px solid var(--hf-line); border-radius: var(--hf-r-md); text-decoration: none; color: var(--hf-text) !important; font-weight: 600; }
.hf-quick a:hover { border-color: var(--hf-action); }
.hf-quick .hf-i { width: 22px; height: 22px; color: var(--hf-action); }
.hf-quick span { font-weight: 400; font-size: .85rem; color: var(--hf-muted); }

.hf-portalhead { background: var(--hf-ink); }
.hf-portalhead .hf-wrap { min-height: 64px; }
.hf-who { color: var(--hf-on-ink-2) !important; line-height: 1.3; display: inline-flex; gap: 10px; align-items: center; color: var(--hf-on-ink-2); font-size: .9rem; padding-left: 12px; border-left: 1px solid var(--hf-ink-line); }
.hf-who b { color: #fff; font-weight: 600; }
.hf-avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--hf-ink-3); color: var(--hf-brand-bright); font: 700 .8rem var(--hf-display); }
@media (max-width: 700px) { .hf-who span { display: none; } }

/* bara de test, doar în machete */
.hf-demo { background: #FFF7E8; color: #7A4A00; font: 600 .78rem var(--hf-mono); text-align: center; padding: 6px 12px; border-bottom: 1px dashed #C98A1A; }

/* ---------- mobil: ajustări fine ---------- */
@media (max-width: 640px) {
  .hf-offer { font-size: .82rem; }
  .hf-hero h1 { font-size: 2.2rem; }
  .hf-unit { grid-template-columns: 8px 1fr auto 8px; gap: 8px; }
  .hf-unit__vent, .hf-unit__pret { display: none; }
  .hf-unit__name { white-space: nowrap; font-size: .9rem; }
  .hf-dsearch__tabs button { font-size: .8rem; white-space: nowrap; padding: .35rem .6rem; }
  .hf-row { grid-template-columns: 30px minmax(0, 1fr); grid-template-areas: "u name" "u disk" "u stats" "u price" "u btn"; }
  .hf-row__price { justify-items: start; text-align: left; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 8px; }
  .hf-row__price .hf-save { grid-column: 1 / -1; margin-bottom: 4px; }
  .hf-row__price > span[data-lunar] { grid-column: 1 / -1; }
  .hf-alert__ico { display: none; }
  .hf-alert { grid-template-columns: 1fr; }
}
