/*
Theme Name: Scanner Dent Laboratory
Theme URI: https://scannerdent.ro
Author: Scanner Dent
Description: Temă WordPress premium pentru laborator de tehnică dentară. Complet editabilă din Customizer, cu CPT Servicii și Testimoniale, schema.org pentru SEO local, compatibilă Yoast/RankMath. Design medical elegant cu gradient de brand.
Version: 1.0.7
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scanner-dent
Tags: business, custom-colors, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* Scanner Dent Laboratory — Elegant medical aesthetic
   ------------------------------------------------------ */
:root {
  /* Brand gradient (from logo) */
  --brand-pink:   #c77bb8;
  --brand-mauve:  #b385c4;
  --brand-purple: #9a8ac9;
  --brand-blue:   #84b6d3;
  --brand-teal:   #7fd0cc;
  --grad-brand: linear-gradient(135deg, #c77bb8 0%, #a48bc8 45%, #7fd0cc 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(199,123,184,.10) 0%, rgba(164,139,200,.10) 45%, rgba(127,208,204,.10) 100%);
  --grad-brand-wash: linear-gradient(135deg, #fbf5fa 0%, #f7f3fb 50%, #effbfa 100%);

  /* Neutrals */
  --ink:        #1a1d2e;
  --ink-2:      #3a3f55;
  --muted:      #6b7184;
  --muted-2:    #9aa0b3;
  --line:       #ebeaf0;
  --line-2:     #f1eff4;
  --bg:         #ffffff;
  --bg-2:       #fafbfd;
  --bg-tint:    #faf7fb;

  /* Type */
  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-script: "Allura", "Pinyon Script", cursive;

  /* Sizing */
  --container: 1240px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(26,29,46,.04), 0 2px 8px rgba(26,29,46,.04);
  --shadow:    0 4px 18px rgba(26,29,46,.06), 0 18px 40px -20px rgba(154,138,201,.18);
  --shadow-lg: 0 30px 80px -30px rgba(154,138,201,.35), 0 8px 30px rgba(26,29,46,.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 5.8vw, 84px); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
h4 { font-size: 20px; line-height: 1.3; font-weight: 600; font-family: var(--font-sans); letter-spacing: 0; }
p  { margin: 0; color: var(--ink-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  display: block;
  width: 28px; height: 1px;
  background: var(--grad-brand);
}

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

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--brand-purple);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 8px 24px -8px rgba(154,138,201,.6);
}
.btn-primary:hover { box-shadow: 0 14px 32px -10px rgba(154,138,201,.7); }
.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--brand-purple); color: var(--brand-purple); }
.btn-arrow svg { transition: transform .2s ease; }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--ink);
  text-transform: uppercase;
}
.brand .brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text small {
  display: block;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--brand-purple); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .2s ease;
}
.nav-phone:hover { border-color: var(--brand-purple); color: var(--brand-purple); }
.nav-phone svg { color: var(--brand-purple); }

/* Submenu */
.has-sub { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .2s ease;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.submenu a::after { display: none; }
.submenu a:hover { background: var(--bg-tint); color: var(--brand-purple); }
.submenu .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--grad-brand-wash);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-purple);
}

.menu-toggle { display: none; }

/* Mobile menu — hidden on desktop, revealed by media query below */
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before, .hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.hero-bg::before {
  width: 620px; height: 620px;
  left: -180px; top: -160px;
  background: radial-gradient(circle, var(--brand-pink) 0%, transparent 65%);
}
.hero-bg::after {
  width: 720px; height: 720px;
  right: -220px; bottom: -240px;
  background: radial-gradient(circle, var(--brand-teal) 0%, transparent 65%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-copy h1 { margin-top: 18px; }
.hero-copy p.lead {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 540px;
  line-height: 1.55;
}
.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  margin-top: 56px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-trust .stat .n {
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
}
.hero-trust .stat .l {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(154,138,201,.35);
}
.hero-art .ring.r1 { inset: 6%; }
.hero-art .ring.r2 { inset: 16%; border-color: rgba(127,208,204,.35); }
.hero-art .ring.r3 { inset: 26%; border-color: rgba(199,123,184,.3); }
.hero-art .glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(199,123,184,.35), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(127,208,204,.35), transparent 60%);
  filter: blur(20px);
}
.hero-art img {
  position: relative;
  width: 72%;
  height: auto;
  z-index: 2;
  mix-blend-mode: multiply;
}
.hero-art .float-tag {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  box-shadow: var(--shadow);
  z-index: 3;
}
.hero-art .float-tag .dot {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--grad-brand-wash);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-purple);
}
.hero-art .float-tag b { display: block; font-weight: 600; }
.hero-art .float-tag span { color: var(--muted); font-size: 12px; }
.hero-art .tag-1 { top: 8%; left: -4%; }
.hero-art .tag-2 { bottom: 14%; right: -6%; }
.hero-art .tag-3 { bottom: 6%; left: 4%; }

/* ---------- Sections ---------- */
section { padding: 100px 0; position: relative; }
section.tight { padding: 70px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::before, .section-head .eyebrow::after {
  content: "";
  display: block;
  width: 28px; height: 1px;
  background: var(--grad-brand);
}
.section-head h2 { margin-top: 16px; }
.section-head p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  min-height: 320px;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand-wash);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 0;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { opacity: 1; }
.svc-card > * { position: relative; z-index: 1; }
.svc-card .ico-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 24px;
}
.svc-card h3 { margin-bottom: 12px; min-height: 1.2em; }
.svc-card p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
  min-height: 4.65em;
}
.svc-card .meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.svc-card .meta a,
.svc-card .meta .meta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
}
.svc-card:hover .meta-link { color: var(--brand-purple); }
.svc-card:hover .meta-link svg { transform: translateX(3px); }
.svc-card .meta a:hover { color: var(--brand-purple); }
.svc-card .meta a svg,
.svc-card .meta .meta-link svg { transition: transform .2s ease; }
.svc-card .meta a:hover svg { transform: translateX(3px); }

/* Featured big card */
.svc-grid-mixed {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}
.svc-grid-mixed .svc-card:nth-child(1) { grid-row: span 2; }

/* ---------- Why us / Features ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.feat {
  padding: 28px 4px;
}
.feat .num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--brand-purple);
  letter-spacing: 0.18em;
  font-weight: 600;
}
.feat h4 { margin: 14px 0 10px; }
.feat p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- Process timeline ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 38px; left: 6%; right: 6%;
  height: 1px;
  background: var(--grad-brand);
  opacity: 0.4;
}
.proc-step { text-align: center; padding: 0 8px; position: relative; }
.proc-step .dot {
  width: 76px; height: 76px;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--brand-purple);
  position: relative; z-index: 1;
  box-shadow: var(--shadow-sm);
}
.proc-step h4 { margin: 20px 0 8px; font-size: 16px; }
.proc-step p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--grad-brand-wash);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-cell {
  text-align: center;
  padding: 20px;
  position: relative;
}
.stat-cell + .stat-cell::before {
  content: "";
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line), transparent);
}
.stat-cell .n {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-cell .l {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 64px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(199,123,184,.35), transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(127,208,204,.3), transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.7); margin-top: 12px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.2); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- About — split content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 1fr; }
.split .visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: var(--grad-brand-wash);
  position: relative;
  overflow: hidden;
}
.split .visual.lab {
  background:
    linear-gradient(135deg, rgba(199,123,184,.18), rgba(127,208,204,.18)),
    radial-gradient(circle at 30% 30%, rgba(199,123,184,.3), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(127,208,204,.3), transparent 50%);
}
.split .visual .placeholder-label {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.split .copy h2 { margin-bottom: 24px; }
.split .copy p { margin-bottom: 18px; color: var(--ink-2); font-size: 16px; }
.split .copy .signoff {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.split .copy .signoff .name { font-weight: 600; }
.split .copy .signoff .role { color: var(--muted); font-size: 13px; }

/* ---------- Materials / tech badges ---------- */
.tech-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.tech-pill {
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--ink-2);
  background: #fff;
  transition: all .2s ease;
}
.tech-pill:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 80px 0 28px;
  margin-top: 100px;
}
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-family: var(--font-sans);
  font-weight: 600;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 56px;
}
.footer-brand p { color: rgba(255,255,255,.6); margin-top: 18px; font-size: 14px; max-width: 320px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,.5); }
.footer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-list a { color: rgba(255,255,255,.65); font-size: 14px; transition: color .2s ease; }
.footer-list a:hover { color: #fff; }
.footer-contact .line { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; align-items: flex-start; }
.footer-contact .line svg { color: var(--brand-teal); flex: none; margin-top: 2px; }
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Sticky floating buttons ---------- */
.sticky-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 60;
}
.sticky-actions a {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 12px 28px -8px rgba(26,29,46,.35);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
}
.sticky-actions a:hover { transform: scale(1.06); box-shadow: 0 18px 36px -10px rgba(26,29,46,.45); }
.sticky-actions .whatsapp { background: #25D366; }
.sticky-actions .call { background: var(--ink); }
.sticky-actions .call::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--grad-brand);
  z-index: -1;
  opacity: 0.4;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}
.sticky-actions a .label {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.sticky-actions a:hover .label { opacity: 1; }

/* ---------- Page hero (smaller, internal) ---------- */
.page-hero {
  position: relative;
  padding: 80px 0 70px;
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
  background: var(--grad-brand-wash);
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,123,184,.18), transparent 60%);
  top: -200px; right: -100px;
  filter: blur(40px);
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,208,204,.22), transparent 60%);
  bottom: -240px; left: -120px;
  filter: blur(40px);
}
.page-hero-inner {
  position: relative; z-index: 1;
  max-width: 760px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-purple); }
.breadcrumb span:not(.sep) { color: var(--ink); }

.page-hero h1 { font-size: clamp(40px, 4.6vw, 68px); }
.page-hero .lead { margin-top: 22px; font-size: 18px; color: var(--ink-2); max-width: 580px; }

/* ---------- Service detail ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 72px;
  align-items: start;
}
.svc-body h2 { margin-top: 48px; margin-bottom: 18px; }
.svc-body h2:first-child { margin-top: 0; }
.svc-body p { font-size: 16px; color: var(--ink-2); margin-bottom: 18px; }
.svc-body ul { padding-left: 0; list-style: none; margin: 18px 0; }
.svc-body ul li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: 15px;
}
.svc-body ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad-brand);
  opacity: 0.18;
}
.svc-body ul li::after {
  content: "";
  position: absolute;
  left: 10px; top: 50%;
  transform: translate(0, -50%) rotate(45deg);
  width: 4px; height: 8px;
  border-right: 2px solid var(--brand-purple);
  border-bottom: 2px solid var(--brand-purple);
  margin-top: -1px;
}

.svc-sidebar {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.svc-sidebar h4 { margin: 0 0 18px; }
.svc-sidebar .meta-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.svc-sidebar .meta-list li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}
.svc-sidebar .meta-list li:last-child { border-bottom: 0; }
.svc-sidebar .meta-list .k { color: var(--muted); }
.svc-sidebar .meta-list .v { font-weight: 600; color: var(--ink); }
.svc-sidebar .other {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
}
.svc-sidebar .other h5 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.svc-sidebar .other ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.svc-sidebar .other a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-2);
  transition: color .2s ease;
}
.svc-sidebar .other a:hover { color: var(--brand-purple); }
.svc-sidebar .other svg { opacity: 0.4; transition: all .2s ease; }
.svc-sidebar .other a:hover svg { opacity: 1; transform: translateX(3px); }
.svc-sidebar .btn { width: 100%; }

/* Spec / quality cards in service detail */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.spec-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.spec-card .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--grad-brand-wash);
  color: var(--brand-purple);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.spec-card h4 { margin: 0 0 6px; font-size: 15px; }
.spec-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(199,123,184,.3), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(127,208,204,.25), transparent 50%);
  pointer-events: none;
}
.contact-info > * { position: relative; z-index: 1; }
.contact-info h3 { color: #fff; margin-bottom: 16px; }
.contact-info > p { color: rgba(255,255,255,.7); margin-bottom: 36px; }
.contact-info .c-line {
  display: flex; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-info .c-line:last-of-type { border-bottom: 0; }
.contact-info .c-line .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-teal);
  flex: none;
}
.contact-info .c-line b { display: block; font-size: 13px; color: rgba(255,255,255,.5); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.contact-info .c-line a, .contact-info .c-line span { color: #fff; font-size: 16px; font-weight: 500; display: block; margin-top: 4px; }
.socials { margin-top: 32px; display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .2s ease;
}
.socials a:hover { background: rgba(255,255,255,.16); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form > p { color: var(--muted); margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-purple);
  box-shadow: 0 0 0 4px rgba(154,138,201,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--muted);
  margin: 6px 0 20px;
}
.checkbox input { margin-top: 3px; }

.map-wrap {
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 460px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  display: flex; flex-direction: column;
}
.testi .quote {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 24px;
  flex: 1;
}
.testi .stars {
  color: var(--brand-pink);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testi .who { display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
}
.testi .name { font-weight: 600; font-size: 14px; }
.testi .role { color: var(--muted); font-size: 13px; }

/* ---------- About page specifics ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.value-card {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 20px;
}
.value-card .ico {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 12px;
  background: var(--grad-brand-wash);
  color: var(--brand-purple);
  display: flex; align-items: center; justify-content: center;
}
.value-card h4 { margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid-mixed { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .svc-grid-mixed .svc-card:nth-child(1) { grid-row: span 1; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .testimonials { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .tech-list { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3)::before { display: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .nav-phone { display: none; }
  .menu-toggle {
    display: flex;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    align-items: center; justify-content: center;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 28px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    transition: transform .25s ease;
    z-index: 49;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px solid var(--line-2);
  }
  .hero { padding: 40px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 420px; margin: 0 auto; }
  .hero-trust { gap: 24px; margin-top: 40px; }
  section { padding: 70px 0; }
  .services-grid, .svc-grid-mixed { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; gap: 8px; }
  .process { grid-template-columns: 1fr; gap: 24px; }
  .process::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { padding: 40px 28px; flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-cell::before { display: none !important; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail { grid-template-columns: 1fr; gap: 40px; }
  .svc-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info, .contact-form { padding: 32px 28px; }
  .field-row { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .tech-list { grid-template-columns: repeat(2, 1fr); }
  .sticky-actions { right: 16px; bottom: 16px; }
  .page-hero { padding: 60px 0 50px; }
}

/* ============================================================
   WordPress core / accessibility helpers
   ============================================================ */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff; clip: auto; clip-path: none;
  color: var(--ink); display: block; font-size: 14px; font-weight: 600;
  height: auto; left: 6px; line-height: normal; padding: 14px 22px;
  text-decoration: none; top: 6px; width: auto; z-index: 100000;
  border-radius: 10px; box-shadow: var(--shadow);
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 6px; top: 6px; }

a:focus-visible, button:focus-visible,
.btn:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand-purple);
  outline-offset: 2px;
}

.alignleft  { float: left;  margin: 0 28px 20px 0; }
.alignright { float: right; margin: 0 0 20px 28px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.alignwide  { width: 100%; }
.alignfull  { width: 100%; }
img.wp-post-image, .post-thumb img { border-radius: var(--radius); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); margin-top: 8px; text-align: center; }
figure { margin: 28px 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Editor-content (single post / page) */
.entry-content { max-width: 760px; margin: 0 auto; }
.entry-content > * + * { margin-top: 22px; }
.entry-content h2 { margin-top: 48px; }
.entry-content h3 { margin-top: 36px; }
.entry-content a { color: var(--brand-purple); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 22px; color: var(--ink-2); }
.entry-content li { margin: 8px 0; }
.entry-content blockquote {
  border-left: 3px solid var(--brand-purple);
  padding: 6px 0 6px 24px; margin: 28px 0;
  font-family: var(--font-serif); font-size: 22px; color: var(--ink);
}
.entry-content code, .entry-content pre {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 8px; font-size: 14px;
}
.entry-content pre { padding: 18px; overflow: auto; }
.entry-content code { padding: 2px 6px; }
.entry-content img { border-radius: var(--radius); }

/* Pagination */
.pagination {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 60px; flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: all .2s ease;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  border-color: transparent; color: #fff; background: var(--grad-brand);
}

/* Form notices */
.form-notice {
  margin-top: 20px; padding: 16px; border-radius: 12px;
  font-size: 14px; font-weight: 500; text-align: center;
}
.form-notice.is-success { background: var(--grad-brand-wash); color: var(--brand-purple); }
.form-notice.is-error   { background: #fff1f1; color: #c0392b; border: 1px solid #f3c8c8; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* Posts grid (blog/news) */
.posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.post-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: #fff; transition: transform .3s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--grad-brand-wash); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.post-card .date { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.post-card h3 { margin: 12px 0; font-size: 22px; }
.post-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.post-card .more { margin-top: auto; font-weight: 600; color: var(--brand-purple); font-size: 14px; }
@media (max-width: 980px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .posts-grid { grid-template-columns: 1fr; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============================================================
   Nav submenu affordance (caret) — added v1.0.1
   ============================================================ */
.nav-links .has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links .has-sub > a .sub-caret {
  transition: transform .2s ease;
  opacity: .6;
  margin-top: 1px;
}
.nav-links .has-sub:hover > a .sub-caret,
.nav-links .has-sub:focus-within > a .sub-caret {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-links .has-sub:hover > a,
.nav-links .has-sub:focus-within > a {
  color: var(--brand-purple);
}

/* ============================================================
   Galerie „Lucrări" + lightbox  (v1.0.4)
   ============================================================ */
.lucrari-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
@media (max-width: 980px) { .lucrari-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lucrari-grid { grid-template-columns: 1fr; gap: 14px; } }

.lucrari-grid a {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-tint);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: zoom-in;
}
.lucrari-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,29,46,.18));
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.lucrari-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.lucrari-grid a:hover::after { opacity: 1; }
.lucrari-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.lucrari-grid a:hover img { transform: scale(1.05); }

.sd-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 23, 38, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px 20px;
  opacity: 0;
  transition: opacity .2s ease;
}
.sd-lightbox.open { display: flex; opacity: 1; }
.sd-lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  background: #fff;
}
.sd-lightbox-close,
.sd-lightbox-prev,
.sd-lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sd-lightbox-close { top: 20px; right: 24px; font-size: 26px; line-height: 1; }
.sd-lightbox-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.sd-lightbox-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.sd-lightbox-close:hover,
.sd-lightbox-prev:hover,
.sd-lightbox-next:hover { background: rgba(255, 255, 255, .22); }
.sd-lightbox-prev:hover { transform: translateY(-50%) translateX(-2px); }
.sd-lightbox-next:hover { transform: translateY(-50%) translateX(2px); }
.sd-lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  letter-spacing: .08em;
  font-weight: 600;
}
@media (max-width: 600px) {
  .sd-lightbox-prev { left: 8px; }
  .sd-lightbox-next { right: 8px; }
  .sd-lightbox-close { top: 12px; right: 12px; }
}
