/* ============================================================
   WebtasticAI — servicii/servicii.css
   Stratul de bază și componentele partajate au fost mutate în
   /assets/wt-system.css și /assets/wt-components.css, ca toate
   paginile să arate identic. Aici rămâne DOAR ce e propriu
   paginilor de serviciu.
   ============================================================ */
@import url("/assets/wt-system.css");
@import url("/assets/wt-components.css");

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(2.2rem, 4.5vw, 4rem); padding-bottom: var(--section-y); overflow: clip; }
.hero-blob-1 { width: 560px; height: 560px; top: -180px; left: -160px; background: radial-gradient(circle, var(--purple) 0%, transparent 70%); }
.hero-blob-2 { width: 460px; height: 460px; top: 60px; right: -160px; background: radial-gradient(circle, var(--lime-bright) 0%, transparent 70%); opacity: 0.35; }
.hero-blob-3 { width: 360px; height: 360px; bottom: -120px; left: 34%; background: radial-gradient(circle, var(--orange) 0%, transparent 70%); opacity: 0.26; }

.hero-grid { position: relative; z-index: var(--z-raised); display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-grid > * { min-width: 0; }
/* Paginile locale (Cluj) nu au ilustrație în hero. Pe două coloane
   lăsau jumătate de ecran goală; când lipsește .hero-visual, textul
   ia toată lățimea, cu o măsură care ține rândurile lizibile. */
.hero-grid:not(:has(.hero-visual)) { grid-template-columns: minmax(0, 1fr); }
.hero-grid:not(:has(.hero-visual)) .hero-copy { max-width: 66ch; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.95rem 0.45rem 0.7rem; border-radius: var(--r-pill);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  font-size: 0.85rem; font-weight: 600; color: var(--text);
}
/* 26ch: titlul se așază pe două-trei rânduri echilibrate, în loc să
   se rupă aleatoriu pe cinci. */
.hero h1 { margin-top: 1.3rem; max-width: 26ch; }
/* Partea colorată pornește pe rând nou. Altfel ruptura de rând cădea
   în mijlocul span-ului și un rând ieșea jumătate alb, jumătate mov. */
.hero h1 .accent { color: var(--purple); display: block; }
.hero-sub { margin-top: 1.4rem; max-width: 54ch; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-trust { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.hero-trust-item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; font-weight: 600; color: var(--text-dim); }
.hero-trust-item svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.hero-visual { display: flex; justify-content: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
}

/* ---- Browser mockup (real client sites, used as proof) ---- */
.case-media { position: relative; --accent: var(--purple); width: 100%; }
.case-glow { position: absolute; inset: -6% -4% -14% -4%; background: radial-gradient(58% 58% at 50% 42%, color-mix(in srgb, var(--accent) 60%, transparent), transparent 72%); filter: blur(48px); opacity: 0.45; z-index: 0; pointer-events: none; }
[data-theme="dark"] .case-glow { opacity: 0.6; }
.browser { position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-card); }
.browser-bar { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.browser-dots { display: flex; gap: 0.35rem; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.browser-url { flex: 1; font-size: 0.72rem; color: var(--text-dimmer); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 0.3rem 0.85rem; display: flex; align-items: center; gap: 0.45rem; overflow: hidden; white-space: nowrap; }
.browser-url svg { width: 11px; height: 11px; color: var(--lime); flex: none; }
.browser img { width: 100%; display: block; }
.case-phone { position: absolute; z-index: 2; width: 26%; right: -4%; bottom: -10%; border-radius: 20px; border: 3px solid var(--surface); box-shadow: 0 24px 54px -18px rgba(0,0,0,0.55); overflow: hidden; background: var(--surface); }
.case-phone img { width: 100%; display: block; }
@media (max-width: 520px) { .case-phone { width: 30%; right: 2%; bottom: -6%; } }

/* ============================================================
   SHARED SECTION PATTERNS
   ============================================================ */
/* Banda de încredere și antetele de secțiune vin acum din
   wt-components.css / wt-system.css. Le-am scos de aici ca să nu
   suprascrie ritmul nou (marginile duble peste `gap`-ul din flex). */

/* ---- Contrast (pain vs win) ---- */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); align-items: stretch; }
.contrast > * { min-width: 0; }
.contrast-card { border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.2rem); }
.contrast-card.pain { background: var(--surface-2); border: 1px solid var(--border); }
.contrast-card.win { background: var(--surface); border: 1px solid rgba(123,47,255,0.28); box-shadow: var(--glow-brand-soft); position: relative; overflow: hidden; }
.contrast-card.win::before { content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, var(--purple) 0%, transparent 70%); opacity: 0.16; pointer-events: none; }
.contrast-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 1.3rem; }
.contrast-tag .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.contrast-card.pain .contrast-tag .ic { background: rgba(110,105,154,0.16); color: var(--text-dimmer); }
.contrast-card.win .contrast-tag .ic { background: rgba(123,47,255,0.14); color: var(--purple); }
.contrast-list { display: flex; flex-direction: column; gap: 0.95rem; }
.contrast-list li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.98rem; }
.contrast-list li svg { width: 21px; height: 21px; flex: none; margin-top: 1px; }
.contrast-card.pain .contrast-list li { color: var(--text-dim); }
.contrast-card.pain .contrast-list li svg { color: var(--text-dimmer); }
.contrast-card.win .contrast-list li { color: var(--text); font-weight: 500; }
.contrast-card.win .contrast-list li svg { color: var(--lime); }
@media (max-width: 760px) { .contrast { grid-template-columns: 1fr; } }

.fit-note {
  margin-top: 1.6rem; display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1.05rem 1.2rem; border-radius: var(--r-md);
  background: rgba(249,115,22,0.10); border: 1px solid rgba(249,115,22,0.30);
}
.fit-note svg { width: 22px; height: 22px; color: var(--orange-deep); flex: none; margin-top: 2px; }
.fit-note p { font-size: 0.93rem; color: var(--text-dim); }
.fit-note strong { color: var(--text); }

/* ============================================================
   CE PRIMEȘTI (deliverables)
   ============================================================ */
.deliver { background: var(--surface-2); border-block: 1px solid var(--border); }
.deliver-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4.5vw, 3.5rem); align-items: start; }
.deliver-grid > * { min-width: 0; }
.value-list { display: flex; flex-direction: column; gap: 1.15rem; margin-top: 1.8rem; }
.value-item { display: flex; gap: 0.85rem; align-items: flex-start; }
.value-item .vic {
  width: 30px; height: 30px; border-radius: 9px; flex: none; margin-top: 2px;
  display: grid; place-items: center; background: rgba(101,163,13,0.14); color: var(--lime-text);
}
.value-item .vic svg { width: 16px; height: 16px; }
.value-item h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.value-item p { color: var(--text-dim); font-size: 0.93rem; margin-top: 0.25rem; }
@media (max-width: 860px) { .deliver-grid { grid-template-columns: 1fr; } }

/* ---- Included card (replaces a fixed price table when pricing is custom) ---- */
.incl-card { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card); overflow: hidden; }
.incl-head { padding: 1.1rem 1.4rem; background: var(--bg-tint); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dim); }
.incl-row { display: flex; gap: 0.7rem; align-items: flex-start; padding: 1rem 1.4rem; border-top: 1px solid var(--border); font-size: 0.95rem; color: var(--text-dim); }
.incl-row svg { width: 19px; height: 19px; color: var(--lime); flex: none; margin-top: 2px; }
.incl-row b { display: block; color: var(--text); }

/* ============================================================
   PREȚURI (custom-quote framing, no fixed table)
   ============================================================ */
.pricing .sec-head { text-align: center; margin-inline: auto; }
.quote-panel { max-width: 760px; margin: 0 auto; padding: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid rgba(123,47,255,0.28); box-shadow: var(--glow-brand-soft); text-align: center; }
.quote-factors { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.9rem; margin: 1.8rem 0; text-align: left; }
.quote-factor { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.92rem; color: var(--text-dim); }
.quote-factor svg { width: 19px; height: 19px; color: var(--purple); flex: none; margin-top: 2px; }
.quote-factor b { display: block; color: var(--text); }
.quote-panel .btn { margin-top: 0.4rem; }
.price-tva { text-align: center; font-size: 0.85rem; color: var(--text-dimmer); margin-top: 1.3rem; }

/* ============================================================
   COMANDĂ (final CTA — WhatsApp conversation panel)
   ============================================================ */
.order { padding-block: clamp(1rem, 3vw, 2rem) var(--section-y); overflow: clip; }
.order .sec-head { text-align: center; margin-inline: auto; }
.order-blob { width: 420px; height: 420px; left: 50%; bottom: -220px; transform: translateX(-50%); background: radial-gradient(circle, var(--purple) 0%, transparent 70%); opacity: 0.2; }
.wa-panel {
  position: relative; z-index: var(--z-raised);
  max-width: 520px; margin-inline: auto;
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.wa-head { display: flex; align-items: center; gap: 0.75rem; padding: 0.95rem 1.2rem; background: #075E54; color: #fff; }
[data-theme="dark"] .wa-head { background: #0B4A42; }
.wa-head img { width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.wa-head .who b { display: block; font-family: var(--font-display); font-size: 1rem; }
.wa-head .who span { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; color: rgba(255,255,255,0.85); }
.wa-head .who .on { width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.wa-head > svg { margin-left: auto; width: 24px; height: 24px; color: #25D366; background: #fff; border-radius: 50%; padding: 3px; }
.wa-body { padding: 1.2rem 1.1rem 0.9rem; background: var(--bg-tint); display: flex; flex-direction: column; gap: 0.6rem; }
.wa-day { align-self: center; padding: 0.25rem 0.8rem; border-radius: var(--r-pill); background: var(--surface); font-size: 0.72rem; font-weight: 700; color: var(--text-dimmer); }
.wa-msg { max-width: 85%; padding: 0.7rem 0.9rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.5; color: var(--text); position: relative; }
.wa-msg.in { align-self: flex-start; background: var(--surface); border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(21,11,51,0.08); }
.wa-msg.out { align-self: flex-end; background: #D9FDD3; border-bottom-right-radius: 4px; color: #0B2B20; box-shadow: 0 1px 2px rgba(21,11,51,0.08); }
[data-theme="dark"] .wa-msg.out { background: #144D37; color: #E7FCE3; }
.wa-msg .meta { display: flex; justify-content: flex-end; gap: 0.3rem; margin-top: 0.25rem; font-size: 0.68rem; color: var(--text-dimmer); }
.wa-msg.out .meta { color: rgba(11,43,32,0.55); }
[data-theme="dark"] .wa-msg.out .meta { color: rgba(231,252,227,0.6); }
.wa-msg .meta .ticks { color: #34B7F1; font-weight: 700; }
.wa-foot { padding: 0.9rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; background: var(--surface); border-top: 1px solid var(--border); }
.wa-input { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.55rem 0.55rem 1rem; border-radius: var(--r-pill); background: var(--bg-tint); border: 1px solid var(--border); }
.wa-input span { flex: 1; min-width: 0; font-size: 0.85rem; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-input a { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #06281a; transition: transform var(--dur-fast) var(--ease-out-quart); }
.wa-input a:hover { transform: scale(1.06); }
.wa-input a svg { width: 18px; height: 18px; }
.wa-note { text-align: center; font-size: 0.8rem; color: var(--text-dimmer); }
.order-reassure { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.4rem; }
.order-reassure span { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }
.order-reassure svg { width: 16px; height: 16px; color: var(--lime); flex: none; }
