/* Completări peste stylesheet-ul TopoDigi. Paleta, tipul și componentele rămân ale lor. */

body > svg[aria-hidden="true"] {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.footer-brand .logo-plate {
  display: inline-flex;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 18px;
}
.footer-brand img { filter: none; height: 32px; margin: 0; }

.poster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100svh - var(--header-h) - 38px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(21, 146, 230, .28), transparent 60%),
    var(--navy-950);
  color: #c9d4e6;
}
.poster-mark {
  position: absolute;
  z-index: 0;
  right: -0.04em;
  top: -0.08em;
  margin: 0;
  line-height: .78;
  pointer-events: none;
  user-select: none;
  text-align: right;
}
.poster-mark span {
  display: block;
  font-weight: 800;
  font-size: clamp(16rem, 42vw, 34rem);
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(60, 176, 242, .75);
}
.poster-mark small {
  display: block;
  margin: -.15em .7em 0 0;
  font-size: clamp(1rem, 1.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--blue-400);
}
.poster-copy {
  position: relative;
  z-index: 1;
  padding-top: clamp(72px, 12vh, 140px);
  padding-bottom: clamp(28px, 5vh, 56px);
}
.poster h1 {
  margin: 0 0 .35em;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(3.6rem, 8.4vw, 7.6rem);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.06em;
}
.poster h1 span {
  display: block;
  margin-top: .12em;
  color: var(--blue-400);
  font-size: .46em;
  letter-spacing: -.04em;
  line-height: 1;
}
.poster-lead {
  max-width: 34rem;
  margin: 0 0 28px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: #b7c6dc;
}
.poster-foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(15rem, 1.15fr);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.poster-foot a,
.poster-foot p {
  margin: 0;
  padding: 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  font-weight: 700;
  letter-spacing: -.02em;
}
.poster-foot a b {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-400);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.poster-foot a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.poster-foot p {
  border-right: 0;
  color: #9fb0ca;
  font-weight: 600;
  align-self: center;
  letter-spacing: 0;
  line-height: 1.45;
  padding-right: 32px;
}
.page-hero h1.display {
  letter-spacing: -.04em;
  line-height: 1.05;
  max-width: 16em;
}
.page-hero .lead { color: #c3cfe2; max-width: 40rem; }


.card {
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.steps.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}
.logo-wall li {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.logo-wall img { height: 48px; width: auto; max-width: 140px; object-fit: contain; }
.logo-wall figcaption, .logo-wall span {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 650;
}

.quote-card { display: flex; flex-direction: column; }
.quote-card blockquote { margin: 0 0 18px; color: var(--ink-soft); font-size: .98rem; }
.quote-card footer { margin-top: auto; }
.quote-card .who { color: var(--navy-900); font-weight: 750; }
.quote-card .role {
  display: block;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  margin-top: 2px;
  background: none;
  border: 0;
  padding: 0;
}

.price-card .amount.words {
  font-size: 1.55rem;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.center-chips { justify-content: center; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 36px; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 18px; }
.mt-lg { margin-top: 28px; }
.prose-block { margin-top: 48px; max-width: 760px; }
.table-auto { min-width: 0; }

.form-ok {
  background: var(--green-100);
  border: 1px solid #c8ead9;
  border-radius: var(--radius);
  padding: 22px;
  color: var(--ink);
}
.form-ok h3 { margin-top: 0; }
.form-ok[hidden] { display: none !important; }

.jump {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.jump-row { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; }
.jump a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: .88rem;
  white-space: nowrap;
}
.jump a:hover { background: var(--paper); color: var(--navy-900); }
#pentru-cine, #problema, #pasi, #intrebari, #design, #aplicatii, #pachet {
  scroll-margin-top: calc(var(--header-h) + 68px);
}

.hero-facts { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-facts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-block: 16px 0;
  color: #d5deee;
  font-weight: 650;
  font-size: .92rem;
}
.hero-facts-row span { display: inline-flex; align-items: center; gap: 8px; }

.problem-board { gap: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.problem-board .card { border-radius: 0; box-shadow: none; background: transparent; }
.problem-board .card:nth-child(odd) { box-shadow: inset -1px 0 0 var(--line); }
.problem-board .card:nth-child(-n+2) { box-shadow: inset 0 -1px 0 var(--line); }
.problem-board .card:nth-child(1) { box-shadow: inset -1px -1px 0 var(--line); }
.problem-board .card:hover { transform: none; background: var(--blue-50); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--navy-800);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  cursor: pointer;
}
.filters button[aria-selected="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}
.pricing.is-filtered { grid-template-columns: minmax(0, 480px); justify-content: center; }

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .poster-mark { animation: poster-in 1s cubic-bezier(.2, .7, .2, 1) both; }
  .poster h1 { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes poster-in {
  from { opacity: 0; transform: translate3d(24px, 12px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .poster { min-height: calc(100svh - var(--header-h)); }
  .poster-mark span { font-size: 11rem; }
  .poster-mark { top: -0.02em; right: -0.2em; }
  .poster h1 { max-width: none; font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .poster-foot { grid-template-columns: 1fr; }
  .poster-foot a, .poster-foot p { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .page-hero h1.display { max-width: none; }
  .steps.steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .steps.steps-5 { grid-template-columns: minmax(0, 1fr); }
  .logo-wall { grid-template-columns: minmax(0, 1fr); }
}
