/* =====================================================
   VREAU PANOURI SOLARE — Article styles
   Fisier: /wp-content/themes/vreaupanourisolare/assets/css/article-fotovoltaic.css
   ===================================================== */

/* ── ARTICLE TOKENS (mostenite din tema, redefinite local pt siguranta) ── */
.vps-article {
  --navy:       #0b1628;
  --navy-light: #132040;
  --gold:       #f5a623;
  --gold-pale:  #fff8e8;
  --amber:      #d97706;
  --white:      #ffffff;
  --g100:       #f8f9fb;
  --g200:       #edf0f5;
  --g400:       #94a3b8;
  --g600:       #5a6e85;
  --g800:       #1e293b;
  --green:      #16a34a;
  --green-pale: #f0fdf4;
  --orange-pale:#fff7ed;
  --red:        #dc2626;
  --red-pale:   #fef2f2;
  --radius:     14px;
  --radius-sm:  9px;
  --shadow:     0 4px 24px rgba(11,22,40,.09);
  --shadow-md:  0 8px 40px rgba(11,22,40,.13);
  --tr:         .22s cubic-bezier(.4,0,.2,1);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--g800);
  line-height: 1.7;
}

/* ── READING PROGRESS ── */
.vps-reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--g200);
  z-index: 99999;
}
.vps-reading-bar {
  height: 100%;
  background: linear-gradient(90deg, #f5a623, #d97706);
  width: 0%;
  transition: width .1s linear;
}

/* ── HERO ── */
.vps-article-hero {
  background: linear-gradient(135deg, #0b1628 0%, #0d1f3c 100%);
  padding: 56px 20px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.vps-article-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,.1) 0%, transparent 65%);
  pointer-events: none;
}
.vps-article-hero::after {
  content: '';
  position: absolute; inset: 0;
  opacity: .025;
  background-image:
    linear-gradient(rgba(245,166,35,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.vps-hero-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 1; }

.vps-article-cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.25);
  color: #f5a623;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.vps-article-cat .vps-dot {
  width: 5px; height: 5px;
  background: #f5a623;
  border-radius: 50%;
  animation: vpsBlink 2s infinite;
}
@keyframes vpsBlink { 0%,100%{opacity:1} 50%{opacity:.3} }

.vps-article-hero h1 {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(24px, 4vw, 40px) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  letter-spacing: -.03em !important;
  margin-bottom: 18px !important;
}
.vps-article-hero h1 em {
  font-style: normal;
  color: #f5a623;
}
.vps-article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  margin-top: 18px;
}
.vps-article-meta span { display: flex; align-items: center; gap: 5px; }

/* ── WRAP ── */
.vps-article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* ── TOC ── */
.vps-toc {
  background: var(--g100);
  border: 1.5px solid var(--g200);
  border-left: 4px solid #f5a623;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 36px 0;
}
.vps-toc-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.vps-toc ol { list-style: none; counter-reset: vtoc; padding: 0; margin: 0; }
.vps-toc ol li {
  counter-increment: vtoc;
  padding: 6px 0;
  border-bottom: 1px solid var(--g200);
  font-size: 14px;
  position: relative;
}
.vps-toc ol li:last-child { border-bottom: none; }
.vps-toc ol li::before {
  content: counter(vtoc) ". ";
  color: #f5a623;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}
.vps-toc a { color: var(--g800); text-decoration: none; transition: color var(--tr); }
.vps-toc a:hover { color: #d97706; }

/* ── BODY TYPOGRAPHY ── */
.vps-article-body { margin-top: 36px; }

.vps-article-body h2 {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(19px, 2.8vw, 25px) !important;
  font-weight: 700 !important;
  color: #0b1628 !important;
  letter-spacing: -.025em !important;
  margin: 48px 0 14px !important;
  padding-top: 8px !important;
  border-top: 1px solid var(--g200) !important;
}
.vps-article-body h2:first-of-type { margin-top: 0 !important; border-top: none !important; }
.vps-article-body h3 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0b1628 !important;
  margin: 28px 0 10px !important;
  letter-spacing: -.02em !important;
}
.vps-article-body p {
  margin-bottom: 16px !important;
  font-size: 16px !important;
  color: var(--g600) !important;
  line-height: 1.8 !important;
}
.vps-article-body p strong { color: var(--g800) !important; }
.vps-article-body em { font-style: italic; }

.vps-article-body ul,
.vps-article-body ol {
  margin: 0 0 18px 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}
.vps-article-body ul li,
.vps-article-body ol li {
  padding: 6px 0 6px 26px !important;
  font-size: 15px !important;
  color: var(--g600) !important;
  position: relative !important;
  border-bottom: 1px solid var(--g200) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}
.vps-article-body ul li:last-child,
.vps-article-body ol li:last-child { border-bottom: none !important; }
.vps-article-body ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #f5a623;
  font-weight: 700;
}
.vps-article-body ol { counter-reset: vli; }
.vps-article-body ol li { counter-increment: vli; }
.vps-article-body ol li::before {
  counter-increment: none;
  content: counter(vli);
  position: absolute;
  left: 0; top: 9px;
  width: 18px; height: 18px;
  background: #f5a623;
  color: #0b1628;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
}

/* ── CALLOUTS ── */
.vps-callout {
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.65;
}
.vps-callout-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.vps-callout-body { color: var(--g800); }
.vps-callout-body strong { display: block; margin-bottom: 4px; font-family: 'Outfit', sans-serif; font-size: 14px; }
.vps-callout.tip  { background: #fff8e8;  border: 1.5px solid rgba(245,166,35,.3); }
.vps-callout.warn { background: #fff7ed;  border: 1.5px solid rgba(234,88,12,.25); }
.vps-callout.good { background: #f0fdf4;  border: 1.5px solid rgba(22,163,74,.25); }
.vps-callout.info { background: #eff6ff;  border: 1.5px solid rgba(59,130,246,.25); }

/* ── PRICE TABLE ── */
.vps-price-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 28px 0;
}
.vps-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}
.vps-price-table thead tr { background: #0b1628; }
.vps-price-table thead th {
  padding: 14px 18px;
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-align: left;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.vps-price-table thead th:first-child { border-radius: 14px 0 0 0; }
.vps-price-table thead th:last-child  { border-radius: 0 14px 0 0; }
.vps-price-table tbody tr { border-bottom: 1px solid var(--g200); transition: background var(--tr); }
.vps-price-table tbody tr:hover { background: #fff8e8; }
.vps-price-table tbody tr:last-child { border-bottom: none; }
.vps-price-table td { padding: 13px 18px; vertical-align: middle; }
.vps-price-table td:first-child { font-family: 'Outfit', sans-serif; font-weight: 700; color: #0b1628; font-size: 15px; }
.vps-price-range { font-weight: 600; color: var(--g800); }
.vps-price-note  { font-size: 12px; color: var(--g400); display: block; margin-top: 2px; }
.vps-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; font-family: 'Outfit', sans-serif; }
.vps-tag-pop  { background: #dbeafe; color: #1d4ed8; }
.vps-tag-home { background: #f0fdf4; color: #16a34a; }
.vps-tag-biz  { background: #fce7f3; color: #9d174d; }

/* ── COMPONENT TABLE ── */
.vps-comp-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 20px 0; }
.vps-comp-table tr { border-bottom: 1px solid var(--g200); }
.vps-comp-table tr:last-child { border-bottom: none; }
.vps-comp-table td { padding: 11px 14px; vertical-align: top; }
.vps-comp-table td:first-child { font-weight: 600; color: #0b1628; width: 45%; }
.vps-comp-table td:last-child  { color: var(--g600); }

/* ── RED FLAGS ── */
.vps-red-flags {
  background: #fef2f2;
  border: 1.5px solid rgba(220,38,38,.2);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 24px 0;
}
.vps-red-flags h3 { font-family: 'Outfit', sans-serif; font-size: 15px; color: #dc2626; margin-bottom: 12px; }
.vps-red-flags ul li::before { content: '✗' !important; color: #dc2626 !important; }
.vps-red-flags ul li { border-color: rgba(220,38,38,.1) !important; }

/* ── SEPARATOR ── */
.vps-sep { height: 1px; background: var(--g200); margin: 40px 0; }

/* ── GAMIFICATION ── */
.vps-game-section {
  background: #0b1628;
  border-radius: 20px;
  padding: 36px 32px;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.vps-game-section::before {
  content: '';
  position: absolute; inset: 0;
  opacity: .03;
  background-image:
    linear-gradient(rgba(245,166,35,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,1) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.vps-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.3);
  color: #f5a623;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.vps-game-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(19px, 3vw, 25px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.vps-game-subtitle { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 28px; line-height: 1.6; }

.vps-step-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #f5a623;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vps-step-label::before { content: ''; width: 18px; height: 2px; background: #f5a623; border-radius: 2px; }

/* Slider */
.vps-slider-group { margin-bottom: 28px; }
.vps-slider-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.vps-slider-row label { font-size: 15px; color: rgba(255,255,255,.7); font-weight: 500; }
.vps-slider-val { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: #f5a623; letter-spacing: -.02em; }

.vps-article input[type=range] {
  width: 100%;
  height: 5px;
  border-radius: 3px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,.1);
  outline: none;
  cursor: pointer;
}
.vps-article input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #f5a623;
  box-shadow: 0 2px 10px rgba(245,166,35,.6);
  cursor: pointer;
}
.vps-article input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #f5a623;
  border: none;
}
.vps-slider-hints { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: rgba(255,255,255,.3); }

/* Toggles */
.vps-toggle-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.vps-toggle-btn {
  background: rgba(255,255,255,.06);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 11px 16px;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: all .22s;
  flex: 1;
  min-width: 120px;
  text-align: center;
  position: relative;
}
.vps-toggle-btn:hover { border-color: rgba(245,166,35,.4); color: #ffffff; }
.vps-toggle-btn.active { background: rgba(245,166,35,.15); border-color: #f5a623; color: #ffffff; font-weight: 600; }
.vps-toggle-check {
  display: none;
  position: absolute;
  top: -6px; right: -6px;
  width: 16px; height: 16px;
  background: #f5a623;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #0b1628;
  font-weight: 800;
}
.vps-toggle-btn.active .vps-toggle-check { display: flex; }

/* Result tiers */
.vps-result-tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 8px; }
.vps-tier {
  border-radius: 14px;
  padding: 20px 16px;
  border: 1.5px solid transparent;
  transition: all .22s;
  cursor: pointer;
}
.vps-tier-basic   { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.vps-tier-mid     { background: rgba(245,166,35,.1);   border-color: rgba(245,166,35,.3); }
.vps-tier-premium { background: rgba(99,102,241,.08);  border-color: rgba(99,102,241,.3); }
.vps-tier.active { transform: translateY(-3px); }
.vps-tier-basic.active   { border-color: rgba(255,255,255,.35); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.vps-tier-mid.active     { border-color: #f5a623; box-shadow: 0 8px 24px rgba(245,166,35,.25); }
.vps-tier-premium.active { border-color: #818cf8; box-shadow: 0 8px 24px rgba(99,102,241,.25); }

.vps-tier-dot { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 12px; }
.vps-tier-basic .vps-tier-dot   { background: #94a3b8; }
.vps-tier-mid .vps-tier-dot     { background: #f5a623; }
.vps-tier-premium .vps-tier-dot { background: #818cf8; }

.vps-tier-name { font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; color: #ffffff; margin-bottom: 6px; }
.vps-tier-price { font-family: 'Outfit', sans-serif; font-size: clamp(17px, 2.5vw, 23px); font-weight: 800; color: #f5a623; letter-spacing: -.02em; margin-bottom: 8px; line-height: 1; }
.vps-tier-price .vps-currency { font-size: 13px; font-weight: 600; opacity: .7; margin-right: 2px; }
.vps-tier-price .vps-eur      { font-size: 13px; opacity: .6; }
.vps-tier-desc  { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.5; margin-bottom: 12px; }
.vps-tier-features { list-style: none; padding: 0; margin: 0; }
.vps-tier-features li {
  font-size: 11.5px;
  color: rgba(255,255,255,.55);
  padding: 3px 0 3px 14px !important;
  position: relative !important;
  border: none !important;
  line-height: 1.4 !important;
}
.vps-tier-features li::before { content: '✓' !important; position: absolute !important; left: 0 !important; color: #f5a623 !important; font-size: 10px !important; font-weight: 800 !important; top: auto !important; width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important; }
.vps-tier-premium .vps-tier-features li::before { color: #818cf8 !important; }

/* Amortizare */
.vps-amort-wrap { background: rgba(255,255,255,.07); border-radius: 12px; padding: 18px 20px; margin-top: 16px; }
.vps-amort-label { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 10px; }
.vps-amort-label strong { color: #f5a623; font-family: 'Outfit', sans-serif; font-size: 15px; }
.vps-amort-track { background: rgba(255,255,255,.08); border-radius: 100px; height: 8px; overflow: hidden; }
.vps-amort-fill { height: 100%; background: linear-gradient(90deg, #f5a623, #d97706); border-radius: 100px; transition: width .6s cubic-bezier(.4,0,.2,1); }
.vps-amort-years { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: rgba(255,255,255,.3); }

/* Game CTA */
.vps-game-cta { text-align: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }
.vps-game-cta p { font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 14px; }

/* ── CTA BUTTONS ── */
.vps-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f5a623;
  color: #0b1628 !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: all .22s;
  box-shadow: 0 6px 24px rgba(245,166,35,.35);
  letter-spacing: -.01em;
}
.vps-btn-gold:hover {
  background: #ffc85a;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(245,166,35,.45);
  color: #0b1628 !important;
}

/* ── FAQ ── */
.vps-faq-section { margin: 48px 0 0; }
.vps-faq-title { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: #0b1628; margin-bottom: 6px; letter-spacing: -.025em; }
.vps-faq-sub   { font-size: 14px; color: #94a3b8; margin-bottom: 22px; }
.vps-faq-item  { border: 1.5px solid #edf0f5; border-radius: 9px; margin-bottom: 10px; overflow: hidden; transition: border-color .22s; }
.vps-faq-item.open { border-color: #f5a623; }
.vps-faq-q {
  padding: 16px 18px;
  font-weight: 600;
  font-size: 15px;
  color: #0b1628;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -.01em;
}
.vps-faq-q:hover { background: #fff8e8; }
.vps-faq-icon {
  width: 22px; height: 22px;
  background: #f8f9fb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #d97706;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .22s, background .22s;
}
.vps-faq-item.open .vps-faq-icon { transform: rotate(45deg); background: #f5a623; color: #0b1628; }
.vps-faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; font-size: 14.5px; color: #5a6e85; line-height: 1.75; }
.vps-faq-item.open .vps-faq-a { max-height: 400px; }
.vps-faq-a-inner { padding: 0 18px 18px; }

/* ── ARTICLE FOOTER CTA ── */
.vps-article-cta-footer {
  background: linear-gradient(135deg, #0b1628, #0d1f3c);
  border-radius: 20px;
  padding: 36px 32px;
  margin-top: 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vps-article-cta-footer::before {
  content: '';
  position: absolute; inset: 0;
  opacity: .025;
  background-image:
    linear-gradient(rgba(245,166,35,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,1) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.vps-article-cta-footer h3 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: #ffffff; margin-bottom: 10px; letter-spacing: -.025em; position: relative; }
.vps-article-cta-footer p  { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 22px; position: relative; }
.vps-cta-trust { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 16px; position: relative; }
.vps-cta-trust span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255,255,255,.35); }

/* ── AMORT NOTE ── */
#vpsAmortNote { font-size: 12.5px; color: rgba(255,255,255,.4); margin-top: 10px; line-height: 1.6; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .vps-article-hero     { padding: 38px 16px 34px; }
  .vps-game-section     { padding: 26px 18px; }
  .vps-result-tiers     { grid-template-columns: 1fr; }
  .vps-toggle-row       { flex-direction: column; }
  .vps-toggle-btn       { min-width: unset; }
  .vps-article-cta-footer { padding: 26px 18px; }
  .vps-price-table-wrap { margin: 20px -20px; border-radius: 0; }
  .vps-toc              { margin: 24px 0; }
}
