/* ===========================================================
   IPCCTV.ro — Premium light theme
   =========================================================== */

:root {
  --blue: #1456ff;
  --blue-dark: #0b3bcc;
  --blue-soft: #eaf1ff;
  --navy: #0a1730;
  --navy-2: #11203f;

  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-tint: #f0f5ff;

  --ink: #0c1626;
  --text: #2c3a52;
  --muted: #6b7a93;
  --line: #e7ecf4;
  --line-soft: #eef2f8;

  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 13px;
  --shadow-sm: 0 2px 10px rgba(16, 30, 60, 0.05);
  --shadow: 0 18px 50px -24px rgba(16, 30, 60, 0.22);
  --shadow-lg: 0 30px 70px -30px rgba(16, 30, 60, 0.28);
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 840px; }

h1, h2, h3, h4 { line-height: 1.14; font-weight: 800; letter-spacing: -0.025em; color: var(--ink); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.2rem; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 0.8rem;
}

.accent { color: var(--blue); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.97rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(20, 86, 255, 0.6);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(20, 86, 255, 0.65); }
.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #cdd8ea; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }

/* ===== Iconițe SVG ===== */
.card-icon svg { width: 28px; height: 28px; color: var(--blue); }

/* ===== Topbar ===== */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}
.topbar-inner { display: flex; align-items: center; gap: 1.2rem; height: 42px; }
.topbar-spacer { flex: 1; }
.topbar-phone { color: var(--white); font-weight: 600; }
.topbar-phone:hover { color: #9cc0ff; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--blue); }
.logo-text { font-size: 1.32rem; font-weight: 800; color: var(--ink); letter-spacing: -0.035em; }
.logo-dot { color: var(--blue); }

.main-nav { display: flex; align-items: center; gap: 0.3rem; }
.main-nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover { color: var(--blue); background: var(--blue-soft); }
.main-nav a.active { color: var(--blue); font-weight: 600; }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 700 !important;
  margin-left: 0.5rem;
  box-shadow: 0 12px 24px -12px rgba(20, 86, 255, 0.6);
}
.nav-cta:hover { background: var(--blue-dark) !important; }

/* Header actions + coș */
.header-actions { display: flex; align-items: center; gap: 0.4rem; }

/* Selector de limbă (steaguri) */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 0.35rem;
  height: 44px; padding: 0 0.6rem;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--muted); cursor: pointer;
  box-shadow: var(--shadow-sm); transition: 0.16s;
}
.lang-btn:hover { border-color: #cfddf8; }
.lang-switch .flag { border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 168px; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: 0.18s var(--ease);
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-item {
  display: flex; align-items: center; gap: 0.6rem; width: 100%;
  padding: 0.55rem 0.7rem; border: 0; border-radius: 8px;
  background: none; color: var(--text); font-family: inherit; font-size: 0.92rem; cursor: pointer;
  text-align: left;
}
.lang-item:hover { background: var(--blue-soft); color: var(--blue); }
.lang-item.active { font-weight: 700; color: var(--ink); }
html[data-theme="dark"] .lang-btn { background: #131d31; }
html[data-theme="dark"] .lang-menu { background: #131d31; }
.cart-btn {
  position: relative;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: 0.16s;
}
.cart-btn:hover { border-color: #cfddf8; color: var(--blue); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 19px; height: 19px;
  display: none; place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem; font-weight: 800;
  border: 2px solid var(--white);
}
.cart-count.pulse { animation: cartPulse 0.4s var(--ease); }
@keyframes cartPulse { 0% { transform: scale(0.5); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  background:
    radial-gradient(800px 420px at 82% -8%, rgba(20, 86, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #fbfcff, #ffffff 60%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); margin-bottom: 1.2rem; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 33rem; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.2rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  padding-top: 1.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}
.hero-trust strong { color: var(--ink); font-weight: 800; display: block; font-size: 1.08rem; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.cam-card {
  width: 100%;
  max-width: 400px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 15px;
  box-shadow: var(--shadow-lg);
}
.cam-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 13px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #15294e, #0c1830),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 4px);
}
.cam-frame {
  position: absolute;
  inset: 14%;
  border: 2px solid rgba(120, 170, 255, 0.6);
  border-radius: 6px;
  animation: framePulse 3s var(--ease) infinite;
}
@keyframes framePulse { 0%,100% { transform: translate(0,0); } 50% { transform: translate(8%, 5%) scale(0.92); } }
.scan-line {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(120,170,255,0.20), transparent);
  animation: scan 3.5s linear infinite;
}
@keyframes scan { 0% { top: -38%; } 100% { top: 100%; } }
.rec {
  position: absolute; top: 11px; left: 13px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; color: #ff6b6b;
}
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: #ff6b6b; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }
.cam-time { position: absolute; bottom: 11px; right: 13px; font-size: 0.72rem; color: #8ea3c7; font-variant-numeric: tabular-nums; }
.cam-meta { display: flex; justify-content: space-between; align-items: center; padding: 13px 6px 4px; font-size: 0.82rem; color: #8ea3c7; }
.cam-status.online { color: #4ade80; font-weight: 600; }

.float-badge {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: floaty 4s ease-in-out infinite;
}
.badge-1 { top: 7%; left: -5%; }
.badge-2 { bottom: 11%; right: -3%; animation-delay: 1.2s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ===== Brands ===== */
.brands { padding: 2.6rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.brands-label { text-align: center; color: var(--muted); font-size: 0.84rem; font-weight: 500; margin-bottom: 1.3rem; text-transform: uppercase; letter-spacing: 0.1em; }
.brands-list {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 3rem;
  list-style: none;
}
.brands-list li { font-size: 1.22rem; font-weight: 800; color: #aab6cb; letter-spacing: -0.03em; transition: color 0.2s; }
.brands-list li:hover { color: var(--ink); }

/* ===== Section ===== */
.section { padding: clamp(4rem, 7.5vw, 7rem) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 3.2rem; }
.section-sub { color: var(--muted); font-size: 1.07rem; margin-top: 0.7rem; }

/* ===== Grid ===== */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Cards / Servicii ===== */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.card:hover { transform: translateY(-6px); border-color: #d3e0f7; box-shadow: var(--shadow); }
.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  border-radius: 15px;
  background: var(--blue-soft);
  border: 1px solid #d9e6ff;
  margin-bottom: 1.2rem;
}
.service-card h3 { margin-bottom: 0.55rem; }
.service-card p { color: var(--muted); font-size: 0.97rem; }

/* ===== Soluții ===== */
.solution-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
}
.solution-card:hover { transform: translateY(-6px); border-color: #d3e0f7; box-shadow: var(--shadow); }
.solution-img {
  position: relative;
  height: 150px;
  display: grid; place-items: center;
  font-size: 3.1rem;
  background: linear-gradient(135deg, #eef3fc, #e3ecfb);
}
.solution-img::after {
  content: attr(data-label);
  position: absolute; top: 14px; left: 14px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--blue);
  background: var(--white);
  border: 1px solid #d9e6ff;
  padding: 4px 10px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.solution-body { padding: 1.7rem; }
.solution-body h3 { margin-bottom: 0.5rem; }
.solution-body p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1.1rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.check-list li { position: relative; padding-left: 1.6rem; font-size: 0.92rem; color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #16a34a; font-weight: 800;
}

/* ===== De ce noi ===== */
.why-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.why-text .section-head { text-align: left; margin: 0 0 1.8rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 1.4rem; }
.why-list li { display: flex; gap: 1rem; }
.why-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #e6f7ee;
  color: #16a34a;
  font-weight: 800;
  font-size: 0.85rem;
}
.why-list strong { display: block; margin-bottom: 0.15rem; color: var(--ink); }
.why-list p { color: var(--muted); font-size: 0.94rem; }

.stats-card {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat { background: var(--white); padding: 2rem 1.5rem; text-align: center; }
.stat-num { font-size: 2.7rem; font-weight: 800; color: var(--ink); letter-spacing: -0.04em; }
.stat-suffix { font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.stat p { color: var(--muted); font-size: 0.88rem; margin-top: 0.25rem; }

/* ===== Proces ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ===== Testimoniale ===== */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  box-shadow: var(--shadow-sm);
}
.stars { color: #f5b417; letter-spacing: 2px; margin-bottom: 0.9rem; }
.testimonial p { font-size: 1.02rem; margin-bottom: 1.3rem; color: var(--ink); }
.testimonial footer strong { display: block; color: var(--ink); }
.testimonial footer span { color: var(--muted); font-size: 0.86rem; }

/* ===== Recenzii Google ===== */
.reviews-badge {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 640px; margin: 0 auto 2.2rem;
}
.reviews-badge-text { flex: 1; }
.reviews-stars { color: #fbbc05; letter-spacing: 2px; font-size: 1.15rem; }
.reviews-meta { color: var(--muted); font-size: 0.88rem; margin-top: 0.1rem; }
.reviews-cta { white-space: nowrap; }

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.9rem; }
.review-avatar {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--av, var(--blue));
  color: #fff; font-weight: 700; font-size: 1.05rem;
}
.review-who { flex: 1; line-height: 1.3; }
.review-who strong { display: block; color: var(--ink); }
.review-date { font-size: 0.8rem; color: var(--muted); }
.review-g { flex-shrink: 0; }
.review-card .stars { color: #fbbc05; letter-spacing: 2px; margin-bottom: 0.7rem; }
.review-card p { color: var(--text); font-size: 0.98rem; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] { border-color: #cfddf8; box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 0;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 1.2rem; font-size: 0.96rem; }

/* ===== Contact ===== */
.contact-section {
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(20,86,255,0.07), transparent 60%),
    var(--bg);
}
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: start; }
.contact-info .section-head { text-align: left; margin: 0 0 1.6rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.8rem; }
.contact-list li { display: flex; align-items: center; gap: 0.9rem; font-size: 1rem; color: var(--ink); }
.ci-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  border: 1px solid #d9e6ff;
}
.contact-list a:hover { color: var(--blue); }
.social-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.social-btn {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: 0.18s;
}
.social-btn:hover { color: var(--blue); border-color: #cfddf8; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa8bf; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20,86,255,0.14);
}
.field textarea { resize: vertical; }
.field input.invalid, .field select.invalid { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.12); }
.form-note { text-align: center; font-size: 0.9rem; margin-top: 0.9rem; min-height: 1.2em; }
.form-note.success { color: #16a34a; }
.form-note.error { color: #dc2626; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.66); }
.footer-about { padding: 3rem 0 0.5rem; }
.footer-about h2 { color: var(--white); font-size: 1.35rem; margin-bottom: 1rem; }
.footer-about p { color: rgba(255,255,255,0.6); font-size: 0.93rem; line-height: 1.75; max-width: 70rem; margin-bottom: 0.85rem; }
.footer-about strong { color: rgba(255,255,255,0.88); font-weight: 600; }
.footer-about a { color: #9cc0ff; }
.footer-about a:hover { text-decoration: underline; }
.footer-about + .footer-inner { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 1.5rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.6rem 24px 2.8rem;
}
.site-footer .logo-text { color: var(--white); }
.site-footer .logo-dot { color: #6f9bff; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.93rem; margin-top: 1rem; max-width: 23rem; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 1rem; color: var(--white); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a, .footer-col li { color: rgba(255,255,255,0.6); font-size: 0.92rem; transition: color 0.15s; }
.footer-col a:hover { color: #9cc0ff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.3rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-links a:hover { color: #9cc0ff; }

/* ===== Floating CTA (mobile) ===== */
.floating-cta {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 60;
  display: none;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 16px 32px -10px rgba(20,86,255,0.7);
}

/* ===== Section head row (cu buton) ===== */
.section-head-row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem;
  text-align: left; max-width: none;
}
.section-head-row .section-sub { margin-top: 0.4rem; }

/* ===== Product grid & card ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

.product-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-6px); border-color: #d3e0f7; box-shadow: var(--shadow); }
.pc-media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  overflow: hidden;
}
.pc-icon {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--bc);
}
.pc-icon svg { width: 58px; height: 58px; opacity: 0.9; }
.pc-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12%;
  mix-blend-mode: multiply;
  transition: transform 0.4s var(--ease);
}
.product-card:hover .pc-img { transform: scale(1.06); }
.pc-brand {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--bc);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 3px 9px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pc-badge {
  position: absolute; top: 12px; right: 12px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; background: var(--blue);
  padding: 3px 9px; border-radius: 999px;
}
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.pc-name-link { display: block; }
.pc-name-link:hover .pc-name { color: var(--blue); }
.pc-name {
  font-size: 0.97rem; font-weight: 600; line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
  transition: color 0.15s;
}
.pc-spec { font-size: 0.82rem; color: var(--muted); margin-top: 0.35rem; display: block; }
.pc-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.35rem; }
.pc-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  margin-top: auto; padding-top: 1.1rem;
}
.pc-price { font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }

/* Titluri de categorie în magazin (stil ajax.systems) */
.shop-cat { margin-top: 3rem; }
.shop-cat:first-of-type { margin-top: 0.5rem; }
.shop-cat-head { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 1.4rem; }
.shop-cat-title { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.03em; }
.shop-cat-count { color: var(--muted); font-size: 0.95rem; font-weight: 500; }

/* ===== Shop page ===== */
.shop-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, #fbfcff, #fff);
  border-bottom: 1px solid var(--line);
}
.shop-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 0.7rem; }
.shop-hero-sub { color: var(--muted); font-size: 1.07rem; max-width: 42rem; }

.shop-toolbar {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: space-between;
  margin-bottom: 1.4rem;
}
.shop-search {
  position: relative; flex: 1; min-width: 240px;
  display: flex; align-items: center;
}
.shop-search svg { position: absolute; left: 14px; color: var(--muted); }
.shop-search input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-family: inherit; font-size: 0.95rem; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.shop-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,86,255,0.14); }
.shop-controls { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.shop-controls select {
  padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); font-family: inherit; font-size: 0.92rem; color: var(--ink);
  cursor: pointer; box-shadow: var(--shadow-sm);
}
.shop-controls select:focus { outline: none; border-color: var(--blue); }

.chip-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.chip {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: 0.16s;
}
.chip:hover { border-color: #cfddf8; color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.shop-count { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.2rem; }
.shop-empty { color: var(--muted); padding: 2rem 0; }

/* ===== Perks ===== */
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.perk { display: flex; gap: 0.9rem; align-items: flex-start; }
.perk-ico {
  flex-shrink: 0; width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--blue-soft); border: 1px solid #d9e6ff;
  color: var(--blue);
}
.perk-ico svg { width: 22px; height: 22px; }
.perk strong { display: block; color: var(--ink); font-size: 0.98rem; }
.perk p { color: var(--muted); font-size: 0.88rem; }

/* ===== Cart drawer ===== */
.cart-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(10,23,48,0.5);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}
.cart-overlay.show { opacity: 1; visibility: visible; pointer-events: auto; }
body.no-scroll { overflow: hidden; }

.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 100;
  width: min(420px, 100%);
  height: 100%;
  background: var(--white);
  display: flex; flex-direction: column;
  box-shadow: -20px 0 60px -20px rgba(10,23,48,0.4);
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
}
.cart-drawer.open { transform: none; }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 1.15rem; }
.cart-close {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--white);
  cursor: pointer; font-size: 0.9rem; color: var(--ink);
}
.cart-close:hover { background: var(--bg-soft); }
.cart-body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }

.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.cart-empty-ico { font-size: 2.5rem; margin-bottom: 0.5rem; }
.cart-empty .btn { margin-top: 1rem; }

.cart-item { display: flex; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.cart-thumb {
  flex-shrink: 0; width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--bc);
}
.cart-thumb svg { width: 28px; height: 28px; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.cart-item-main { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.88rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.cart-item-price { font-size: 0.85rem; font-weight: 700; color: var(--blue); display: block; margin: 0.2rem 0 0.5rem; }
.qty { display: flex; align-items: center; gap: 0.5rem; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--white);
  cursor: pointer; font-size: 1rem; color: var(--ink); line-height: 1;
}
.qty-btn:hover { border-color: var(--blue); color: var(--blue); }
.qty-val { min-width: 22px; text-align: center; font-weight: 700; font-size: 0.9rem; }
.cart-remove {
  margin-left: auto; border: 0; background: none; cursor: pointer;
  color: var(--muted); font-size: 0.82rem; text-decoration: underline;
}
.cart-remove:hover { color: #dc2626; }

.cart-foot { padding: 1.2rem 1.5rem; border-top: 1px solid var(--line); background: var(--bg-soft); }
.cart-note { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.8rem; display: none; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cart-total-row span { color: var(--muted); }
.cart-total-row strong { font-size: 1.35rem; color: var(--ink); }
.cart-checkout-msg { display: none; margin-top: 0.8rem; font-size: 0.86rem; color: #16a34a; text-align: center; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.breadcrumb .container { padding-top: 0.9rem; padding-bottom: 0.9rem; display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: #c2ccdd; }
.breadcrumb strong { color: var(--ink); font-weight: 600; }

/* ===== PDP (pagină produs) ===== */
.pdp { padding: clamp(1.8rem, 3.5vw, 3rem) 0; }
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) 1fr;
  gap: 3.5rem;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.pgallery { position: sticky; top: 96px; }
.pg-main {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  overflow: hidden;
}
.pg-main img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.pg-thumbs { display: flex; gap: 0.55rem; margin-top: 0.7rem; flex-wrap: wrap; }
.pg-thumb {
  width: 64px; height: 64px;
  border: 1px solid var(--line); border-radius: 11px;
  background: #fff; cursor: pointer; overflow: hidden; padding: 0;
  transition: border-color 0.15s;
}
.pg-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.pg-thumb.active, .pg-thumb:hover { border-color: var(--blue); }

.pdp-brand {
  display: inline-block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft); border: 1px solid #d9e6ff;
  padding: 4px 11px; border-radius: 999px; margin-bottom: 0.9rem;
}
.pdp-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.6rem; }
.pdp-spec { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.2rem; }
.pdp-price { font-size: 2.2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 0.6rem; }
.pdp-sku { color: var(--muted); font-size: 0.88rem; margin-bottom: 1.5rem; }
.pdp-sku strong { color: var(--text); }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.6rem; }
.pdp-perks { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pdp-perks li { color: var(--text); font-size: 0.94rem; }

.pdp-desc-section { padding-top: clamp(2rem, 4vw, 3rem); }
.pdp-h2 { font-size: 1.5rem; margin-bottom: 1.3rem; }

/* Conținut descriere (body_html din Shopify) */
.prose { color: var(--text); font-size: 0.97rem; line-height: 1.65; }
.prose > *:first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 1.5rem 0 0.55rem; line-height: 1.25; }
.prose h2 { font-size: 1.25rem; }
.prose h3 {
  font-size: 1.05rem; padding-top: 1.2rem; margin-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
}
.prose h4 { font-size: 0.96rem; color: var(--blue); }
.prose p { margin-bottom: 0.8rem; }
.prose ul, .prose ol { margin: 0 0 0.9rem 1.2rem; }
.prose li { margin-bottom: 0.3rem; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose img { border-radius: 12px; margin: 1rem 0; height: auto; }
.prose .prose-note { font-size: 0.86rem; color: var(--muted); font-style: italic; border-left: 3px solid var(--line); padding-left: 0.9rem; margin-top: 1rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.55rem 0.8rem; text-align: left; }
.prose th { background: var(--bg-soft); }

/* Colaps descriere lungă */
.prose-wrap { position: relative; max-height: 460px; overflow: hidden; transition: max-height 0.3s var(--ease); }
.prose-wrap.open { max-height: none; }
.prose-wrap:not(.open)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--bg) 92%);
  pointer-events: none;
}
.prose-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.1rem;
  padding: 0.7rem 1.4rem;
  background: var(--white); color: var(--blue);
  border: 1px solid var(--line); border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 0.9rem; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: 0.16s;
}
.prose-toggle:hover { border-color: var(--blue); background: var(--blue-soft); }
.prose-toggle::after { content: "↓"; }
.prose-wrap.open + .prose-toggle::after { content: "↑"; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .hero-inner, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 430px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .perks-grid { grid-template-columns: 1fr 1fr; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .pdp-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pgallery { position: static; top: auto; }
  .pg-main { aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  .topbar-item:first-child { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.8rem 24px 1.2rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.22s var(--ease);
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 0.85rem 0.9rem; }
  .nav-cta { text-align: center; margin: 0.4rem 0 0; }
  .floating-cta { display: inline-flex; }
}

@media (max-width: 560px) {
  .grid-3, .steps, .footer-inner, .field-row, .product-grid, .perks-grid { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1; }
  .floating-cta { display: none; }
  .cart-drawer { width: 100%; }
}

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

/* ===========================================================
   Temă întunecată (negru) — comutabilă
   =========================================================== */
html[data-theme="dark"] {
  --bg: #0a111e;
  --bg-soft: #0f1827;
  --bg-tint: #0e1a2e;
  --ink: #eef3fb;
  --text: #c2cce0;
  --muted: #8a97ae;
  --line: rgba(255,255,255,0.10);
  --line-soft: rgba(255,255,255,0.06);
  --navy: #05101f;
  --blue-soft: rgba(20,86,255,0.18);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.4);
  --shadow: 0 18px 50px -24px rgba(0,0,0,0.7);
  --shadow-lg: 0 30px 70px -30px rgba(0,0,0,0.8);
}
html[data-theme="dark"] body { background: var(--bg); }
html[data-theme="dark"] .site-header { background: rgba(10,17,30,0.85); }

/* Suprafețe de tip card → întunecate */
html[data-theme="dark"] .card,
html[data-theme="dark"] .solution-card,
html[data-theme="dark"] .step,
html[data-theme="dark"] .testimonial,
html[data-theme="dark"] .review-card,
html[data-theme="dark"] .reviews-badge,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .contact-form,
html[data-theme="dark"] .stat,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .cart-drawer,
html[data-theme="dark"] .cart-btn,
html[data-theme="dark"] .social-btn,
html[data-theme="dark"] .chip,
html[data-theme="dark"] .pg-thumb,
html[data-theme="dark"] .prose-toggle,
html[data-theme="dark"] .btn-ghost,
html[data-theme="dark"] .cart-close { background: #131d31; }
html[data-theme="dark"] .cart-foot { background: #0e1727; }
html[data-theme="dark"] .stats-card { background: var(--line); }

/* Câmpuri formular */
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .shop-search input,
html[data-theme="dark"] .shop-controls select { background: #0c1524; color: var(--ink); }

/* Hero + shop-hero (aveau fundal alb hardcodat) */
html[data-theme="dark"] .hero {
  background:
    radial-gradient(800px 420px at 82% -8%, rgba(20,86,255,0.16), transparent 60%),
    linear-gradient(180deg, #0c1526, #0a111e 60%);
}
html[data-theme="dark"] .shop-hero { background: linear-gradient(180deg, #0c1526, #0a111e); }
html[data-theme="dark"] .contact-section {
  background: radial-gradient(700px 360px at 90% 0%, rgba(20,86,255,0.10), transparent 60%), var(--bg);
}

/* Accente diverse */
html[data-theme="dark"] .card-icon { background: var(--blue-soft); border-color: rgba(77,148,255,0.3); }
html[data-theme="dark"] .ci-icon, html[data-theme="dark"] .perk-ico { background: var(--blue-soft); border-color: rgba(77,148,255,0.3); }
html[data-theme="dark"] .brands-list li { color: #5f6e88; }
html[data-theme="dark"] .solution-img { background: linear-gradient(135deg, #16233b, #101a2e); }
html[data-theme="dark"] .solution-img::after { background: #131d31; border-color: rgba(77,148,255,0.3); }
html[data-theme="dark"] .pc-brand { background: #131d31; border-color: var(--line); }

/* Caseta imaginii produsului rămâne albă (poza se contopește, fără contur) */
html[data-theme="dark"] .pc-media,
html[data-theme="dark"] .pg-main { background: #ffffff; }

/* Buton comutare temă */
.theme-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--ink); cursor: pointer;
  box-shadow: var(--shadow-sm); transition: 0.16s;
}
.theme-toggle:hover { border-color: #cfddf8; color: var(--blue); }
.theme-toggle .ico-sun { display: none; }
.theme-toggle .ico-moon { display: block; }
html[data-theme="dark"] .theme-toggle { background: #131d31; }
html[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
html[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
