/* ==========================================================================
   iNES Business, Soluții Business
   Același sistem de design ca pagina iNES CONNECT: mediu dark navy,
   Outfit, portocaliu = acțiune, gradient violet spre albastru = emfază.
   ========================================================================== */

:root {
  --bg: #050313;
  --bg-soft: #090919;
  --surface: #0c0c20;
  --surface-2: #11112a;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.30);
  --text: #f6f7fb;
  --muted: #a3abbd;
  --muted-2: #7c8496;
  --accent-a: #8b5cf6;
  --accent-b: #3b82f6;
  --accent-soft: rgba(124, 58, 237, 0.12);
  --accent-border: rgba(139, 92, 246, 0.35);
  --accent-icon: #a5b4fc;
  --blue-soft: #60a5fa;
  --orange: #ff5c00;
  --orange-2: #ff7a00;
  --green: #22c55e;
  --radius-card: 22px;
  --radius-inner: 14px;
  --shadow-card: 0 24px 70px rgba(2, 2, 12, 0.55);
  --max: 1200px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  --grad-accent: linear-gradient(96deg, var(--accent-a) 0%, var(--accent-b) 100%);
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

[id] { scroll-margin-top: 88px; }

::selection { background: rgba(124, 58, 237, 0.45); color: #fff; }

.emph {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Butoane
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--orange);
  color: #140600;
  box-shadow: 0 10px 30px rgba(255, 92, 0, 0.28);
}
.btn-primary:hover {
  background: var(--orange-2);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(255, 92, 0, 0.36);
}

.btn-ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(226, 232, 240, 0.55);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; }

/* --------------------------------------------------------------------------
   Hero, cu harta de rețea desenată în canvas
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 96px;
}

.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* Voal care ține textul lizibil peste rețea */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, var(--bg) 26%, rgba(5, 3, 19, 0.72) 52%, rgba(5, 3, 19, 0.30) 100%),
    radial-gradient(680px 380px at 74% 12%, rgba(124, 58, 237, 0.16), transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero h1 {
  margin: 0;
  font-size: clamp(31px, 3.5vw, 45px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.028em;
  max-width: 33ch;
  text-wrap: balance;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Bandă de dovezi
   -------------------------------------------------------------------------- */
.proof {
  border-top: 1px solid rgba(148, 163, 184, 0.10);
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
  background: var(--bg-soft);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 34px 0;
}

.proof-item strong {
  display: block;
  font-size: clamp(28px, 2.7vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.proof-unit { font-size: 0.5em; font-weight: 600; letter-spacing: 0; }

/* Doar descrierea, copil direct. Unitatea stă în interiorul lui <strong>
   și trebuie să rămână inline. */
.proof-item > span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 26ch;
}

/* --------------------------------------------------------------------------
   Primitive de secțiune
   -------------------------------------------------------------------------- */
.section-title {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 24ch;
  text-wrap: balance;
}

.section-lead {
  margin: 18px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Partener, nu doar furnizor
   -------------------------------------------------------------------------- */
.partner { padding: 96px 0; }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 52px;
}

.partner-item { padding: 4px 34px 4px 0; }
.partner-item + .partner-item {
  padding-left: 34px;
  border-left: 1px solid rgba(148, 163, 184, 0.14);
}

.partner-item h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  max-width: 22ch;
  text-wrap: balance;
}

.partner-item p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

/* --------------------------------------------------------------------------
   De unde începem, orientare pe nevoi
   -------------------------------------------------------------------------- */
.needs {
  padding: 96px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.needs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.need {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 6px 18px;
  padding: 24px 26px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.need:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.need-icon {
  grid-row: 1 / span 2;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-inner);
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-icon);
  flex-shrink: 0;
}
.need-icon svg { width: 23px; height: 23px; }

.need h3 {
  grid-column: 2;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 28ch;
}

.need p {
  grid-column: 2;
  margin: 4px 0 0;
  color: var(--muted-2);
  font-size: 14px;
}

.need-go {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--muted-2);
  font-size: 19px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.need:hover .need-go { color: var(--text); transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Cele mai cerute soluții
   -------------------------------------------------------------------------- */
.featured {
  padding: 96px 0 104px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.feat {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 28px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 260px at 88% 0%, rgba(59, 130, 246, 0.10), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-card);
}

.feat-tag {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: #c4b5fd;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.feat h3 {
  margin: 18px 0 0;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feat > p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}

.feat-specs {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-inner);
  overflow: hidden;
}
.feat-specs li {
  background: var(--bg-soft);
  padding: 13px 16px;
}
.feat-specs strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.feat-specs span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 13px;
}

.feat-link {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--accent-icon);
  font-size: 14px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero { padding: 76px 0 72px; }
  .hero h1 { max-width: 20ch; }
  .proof-band { grid-template-columns: repeat(2, 1fr); gap: 26px 30px; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-item { padding: 22px 0; }
  .partner-item + .partner-item {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
  }
  .partner-item h3, .need h3 { max-width: 40ch; }
  .needs-grid, .featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }

  .hero { padding: 52px 0 56px; }
  .hero::after {
    background:
      linear-gradient(180deg, rgba(5, 3, 19, 0.86) 30%, rgba(5, 3, 19, 0.94) 100%),
      radial-gradient(420px 300px at 80% 6%, rgba(124, 58, 237, 0.18), transparent 70%);
  }
  .hero-lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 auto; }

  .proof-band { grid-template-columns: 1fr; gap: 22px; padding: 28px 0; }
  .proof-item span { max-width: none; }

  .partner, .needs, .featured { padding: 64px 0; }
  .need { padding: 20px; gap: 6px 14px; }
  .need-icon { width: 42px; height: 42px; }
  .need-go { display: none; }
  .feat { padding: 24px 20px; }
  .feat h3 { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   Utilitare
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.table-scroll { overflow-x: auto; }

/* --------------------------------------------------------------------------
   Catalogul de servicii, tratament de tip card
   -------------------------------------------------------------------------- */
.catalog {
  padding: 96px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.cat-group { margin-top: 56px; }

.cat-group-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-icon);
}
.cat-group-count {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}
.cat-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.16);
}

/* Un serviciu este un card care se deschide, nu un rând de text */
.svc {
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.svc + .svc { margin-top: 12px; }
.svc:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 44px rgba(2, 2, 12, 0.45);
}
.svc[open] {
  background: var(--surface-2);
  border-color: var(--accent-border);
  transform: none;
  box-shadow: 0 20px 55px rgba(2, 2, 12, 0.5);
}

.svc > summary {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: start;
  gap: 0 20px;
  padding: 24px 26px;
  cursor: pointer;
  list-style: none;
}
.svc > summary::-webkit-details-marker { display: none; }
.svc > summary:focus-visible { outline-offset: -3px; }

.svc-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-inner);
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-icon);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.svc-icon svg { width: 23px; height: 23px; }
.svc[open] .svc-icon {
  background: var(--grad-accent);
  border-color: transparent;
  color: #fff;
}

.svc-name {
  display: block;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.018em;
}
.svc-short {
  display: block;
  margin-top: 8px;
  max-width: 64ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.svc-chips > span {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 500;
}

/* Indiciul textual face evident că rândul se deschide */
.svc-cue {
  align-self: center;
  color: var(--muted-2);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s ease;
}
.svc:hover .svc-cue { color: var(--text); }
.svc[open] .svc-cue { color: var(--accent-icon); }
.svc[open] .cue-open { display: none; }
.svc:not([open]) .cue-close { display: none; }

.svc-toggle {
  position: relative;
  align-self: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.svc-toggle::before,
.svc-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, background-color 0.18s ease;
}
.svc-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc:hover .svc-toggle { border-color: rgba(226, 232, 240, 0.55); }
.svc:hover .svc-toggle::before,
.svc:hover .svc-toggle::after { background: var(--text); }
.svc[open] .svc-toggle {
  border-color: transparent;
  background: var(--grad-accent);
}
.svc[open] .svc-toggle::before,
.svc[open] .svc-toggle::after { background: #fff; }
.svc[open] .svc-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }

/* Panoul deschis, adâncit vizual față de antet */
.svc-body {
  margin: 0 14px 14px;
  padding: 26px;
  border-radius: var(--radius-inner);
  background: rgba(4, 3, 16, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.10);
}

.svc-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.svc-col h4 {
  margin: 0 0 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.svc-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.svc-col li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.svc-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-a);
}
.svc-col-ideal li::before { background: var(--blue-soft); }

.svc-cta { margin-top: 28px; }

/* Tabelul de planuri */
.plans {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}
.plans th,
.plans td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.plans thead th {
  color: var(--text);
  font-size: 14.5px;
  font-weight: 700;
  border-bottom-color: rgba(148, 163, 184, 0.28);
}
.plans tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.plans td {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.plans .is-reco { background: rgba(124, 58, 237, 0.10); }
.plans thead .is-reco {
  color: #c4b5fd;
  border-bottom-color: var(--accent-a);
}
.plans-note {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Cum lucrăm
   -------------------------------------------------------------------------- */
.process {
  padding: 96px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.steps {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step { position: relative; padding-top: 30px; }
.step::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: -24px;
  height: 1px;
  background: rgba(148, 163, 184, 0.18);
}
.step:last-child::before { right: 0; }
.step::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad-accent);
}

.step-num {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-icon);
  font-variant-numeric: tabular-nums;
}
.step h3 {
  margin: 10px 0 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Întrebări frecvente
   -------------------------------------------------------------------------- */
.faq {
  padding: 96px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.faq-intro { position: sticky; top: 108px; }

.faq-list { display: grid; }

.qa { border-bottom: 1px solid rgba(148, 163, 184, 0.12); }
.qa:first-child { border-top: 1px solid rgba(148, 163, 184, 0.12); }
.qa > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  transition: color 0.15s ease;
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary:hover { color: var(--accent-icon); }

.qa-toggle {
  position: relative;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}
.qa-toggle::before,
.qa-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.5px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease;
}
.qa-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }

.qa > p {
  margin: 0;
  padding: 0 2px 22px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   CTA final și formular
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 104px 0 110px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 420px at 12% 20%, rgba(124, 58, 237, 0.14), transparent 68%),
    radial-gradient(560px 400px at 92% 88%, rgba(59, 130, 246, 0.10), transparent 68%);
  pointer-events: none;
}

.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.cta-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.cta-points li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 15px;
}
.cta-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 8px;
  border-left: 1.8px solid var(--green);
  border-bottom: 1.8px solid var(--green);
  transform: rotate(-45deg);
}

.form-card {
  padding: 28px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: var(--bg-soft);
  box-shadow: var(--shadow-card);
}

.form-title {
  margin: 0 0 20px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.full { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 7px;
  color: #b6bdcc;
  font-size: 13px;
  font-weight: 500;
}
.req { color: var(--orange-2); margin-left: 2px; }
.opt { color: var(--muted-2); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border-radius: var(--radius-inner);
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.field textarea {
  min-height: 92px;
  padding: 13px 15px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #6a7284; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a3abbd' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-soft);
  background: rgba(255, 255, 255, 0.05);
}
.field input.is-invalid { border-color: #f87171; }

.form-error {
  margin: 0;
  color: #fca5a5;
  font-size: 13.5px;
  line-height: 1.5;
}

.btn-block { width: 100%; }

.form-note {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.55;
}

.form-success { text-align: center; padding: 26px 8px 14px; }
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.10);
  color: #86efac;
  margin-bottom: 16px;
}
.success-icon svg { width: 26px; height: 26px; }
.form-success h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.form-success > p {
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 40ch;
}

/* --------------------------------------------------------------------------
   Responsive pentru secțiunile noi
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .svc-cols { grid-template-columns: repeat(2, 1fr); gap: 24px 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .faq-layout { grid-template-columns: 1fr; gap: 34px; }
  .faq-intro { position: static; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .catalog, .process, .faq { padding: 64px 0; }
  .cta { padding: 72px 0 80px; }
  .cat-group { margin-top: 38px; }
  .svc > summary { grid-template-columns: auto 1fr auto; padding: 20px; gap: 0 14px; }
  .svc-cue { display: none; }
  .svc-icon { width: 42px; height: 42px; }
  .svc-body { margin: 0 10px 10px; padding: 20px 18px; }
  .svc-name { font-size: 18.5px; }
  .svc-toggle { width: 34px; height: 34px; }
  .svc-cols { grid-template-columns: 1fr; gap: 22px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { padding-top: 26px; }
  .step::before { right: 0; }
  .form-card { padding: 20px 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* Linkul din cardul featured duce la serviciul corespunzător din catalog */
a.feat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  transition: color 0.15s ease;
}
a.feat-link:hover { color: #fff; }
.feat-link-go { transition: transform 0.18s ease; }
a.feat-link:hover .feat-link-go { transform: translateY(2px); }

/* Serviciul către care tocmai a navigat utilizatorul, evidențiat scurt */
details.svc:target > summary { background: rgba(124, 58, 237, 0.09); }

/* --------------------------------------------------------------------------
   Resursă descărcabilă (prezentare PDF)
   -------------------------------------------------------------------------- */
.resource {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: var(--radius-inner);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.resource:hover {
  border-color: var(--accent-border);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.resource-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-icon);
}
.resource-icon svg { width: 21px; height: 21px; }

.resource-text strong {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
}
.resource-text > span {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.5;
}

.resource-go {
  color: var(--accent-icon);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.resource:hover .resource-go { color: #fff; }

/* Ținte de atingere de cel puțin 44px pe mobil */
a.feat-link { min-height: 44px; }

@media (max-width: 720px) {
  .resource { grid-template-columns: auto 1fr; gap: 12px; }
  .resource-go { grid-column: 2; margin-top: 4px; }
}

/* Pe ecrane tactile, toate butoanele mici ajung la 44px */
@media (max-width: 720px) {
  .btn-sm,
  .svc-cta { min-height: 44px; }
}

/* --------------------------------------------------------------------------
   Filmul de prezentare
   Fațadă: se afișează doar posterul, iar fișierul se încarcă abia la click.
   -------------------------------------------------------------------------- */
.tur {
  padding: 96px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.video {
  position: relative;
  margin-top: 44px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.video-play {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.video-play img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-play:hover img { transform: scale(1.02); }

.video-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(5, 3, 19, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(5, 3, 19, 0.10) 40%, rgba(5, 3, 19, 0.78));
}

.video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 18px 50px rgba(59, 55, 150, 0.55);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.video-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.video-play:hover .video-btn { transform: translate(-50%, -50%) scale(1.07); }

.video-meta {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.4;
}
.video-meta strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.video-meta > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

/* Playerul care înlocuiește fațada după click */
.video video,
.video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

@media (max-width: 720px) {
  .tur { padding: 64px 0; }
  .video { margin-top: 30px; }
  .video-btn { width: 62px; height: 62px; }
  .video-btn svg { width: 23px; height: 23px; }
  .video-meta { left: 16px; right: 16px; bottom: 14px; }
  .video-meta strong { font-size: 14px; }
}

/* Fotografie reală în panoul unui serviciu */
.svc-shot {
  margin: 0 0 26px;
  border-radius: var(--radius-inner);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.svc-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  object-position: center 50%;
}
@media (max-width: 720px) {
  .svc-shot img { aspect-ratio: 16 / 9; }
}
.svc-shot figcaption {
  padding: 11px 16px;
  background: rgba(4, 3, 16, 0.6);
  color: var(--muted-2);
  font-size: 12.5px;
}
#f-service,
#f-locations {
  background-color: #0f0f1a; /* sau culoarea ta de fundal dark */
  color: #ffffff;
}

#f-service option,
#f-locations option {
  background-color: #0f0f1a;
  color: #ffffff;
}
.svc-shot img {
  cursor: zoom-in;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  padding: 24px;
}

.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
