/*
Theme Name: Casa Verde 2026 – Pre-Launch
Theme URI: https://termohabitat.ro
Author: Termohabitat
Author URI: https://termohabitat.ro
Description: Pagină de captare lead-uri înainte de lansarea programului Casa Verde 2026 – Panouri Fotovoltaice.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: casaverde2026
*/

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: 'Nunito', sans-serif; color: #1a1a1a; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --green:        #01D21E;
  --green-dark:   #00b819;
  --green-deep:   #051F03;
  --green-light:  #eafbec;
  --green-mid:    #c8f5ce;
  --white:        #ffffff;
  --gray-50:      #f8faf8;
  --gray-100:     #f0f4f0;
  --gray-200:     #e2e8e2;
  --gray-400:     #9aaa9a;
  --gray-600:     #4a5e4a;
  --gray-800:     #1e2e1e;
  --shadow-xs:    0 1px 4px rgba(0,0,0,.06);
  --shadow-sm:    0 2px 10px rgba(0,0,0,.08);
  --shadow-md:    0 6px 24px rgba(0,0,0,.10);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.13);
  --shadow-green: 0 6px 24px rgba(1,210,30,.28);
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  36px;
  --t:     .22s ease;
  --wrap:  1120px;
}

/* =========================================================
   UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

/* =========================================================
   PAGINI INTERIOARE (page.php, single.php, index.php)
   ========================================================= */
.cv-page-main {
  min-height: 55vh;
  padding: clamp(28px, 5vw, 52px) 0 clamp(56px, 10vw, 96px);
  background: var(--gray-50);
}
.cv-page-article {
  max-width: 720px;
  margin-inline: auto;
}
.cv-page-header {
  margin-bottom: clamp(20px, 4vw, 28px);
}
.cv-page-title {
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--green-deep);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.cv-page-meta {
  margin-top: 10px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--gray-600);
}
.cv-page-meta-sep { margin: 0 6px; color: var(--gray-400); }
.cv-page-cats a {
  color: var(--green-dark);
  text-decoration: underline;
}
.cv-page-content {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--gray-800);
}
.cv-page-content > *:first-child { margin-top: 0; }
.cv-page-content p { margin-bottom: 1.05em; }
.cv-page-content h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--green-deep);
  margin: 1.5em 0 .5em;
  line-height: 1.25;
}
.cv-page-content h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--green-deep);
  margin: 1.35em 0 .45em;
}
.cv-page-content ul,
.cv-page-content ol {
  margin: 1em 0;
  padding-left: 1.35em;
  list-style: disc;
}
.cv-page-content ol { list-style: decimal; }
.cv-page-content li { margin-bottom: .35em; }
.cv-page-content a {
  color: var(--green-dark);
  text-decoration: underline;
  font-weight: 700;
}
.cv-page-content a:hover { color: var(--green-deep); }
.cv-page-content img,
.cv-page-content .wp-block-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-sm);
}
.cv-page-content blockquote {
  margin: 1.25em 0;
  padding: 14px 18px;
  border-left: 4px solid var(--green);
  background: var(--green-light);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-weight: 700;
  color: var(--green-deep);
}
.cv-page-paged {
  margin-top: 2em;
  padding-top: 1.25em;
  border-top: 1px solid var(--gray-200);
  font-size: .88rem;
  font-weight: 700;
}
.cv-page-paged a { margin-right: 10px; }

.cv-archive-header { margin-bottom: 28px; }
.cv-archive-desc {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 640px;
}

.cv-post-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cv-post-teaser {
  padding: 22px 24px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
}
.cv-post-teaser-title {
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 6px;
}
.cv-post-teaser-title a {
  color: var(--green-deep);
  text-decoration: none;
}
.cv-post-teaser-title a:hover { color: var(--green-dark); text-decoration: underline; }
.cv-post-teaser-date {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  color: var(--gray-400);
  margin-bottom: 10px;
}
.cv-post-teaser-excerpt { font-size: .95rem; color: var(--gray-700); margin-bottom: 12px; }
.cv-post-teaser-excerpt p { margin-bottom: .5em; }
.cv-post-readmore {
  display: inline-flex;
  font-size: .88rem;
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: underline;
}
.cv-post-readmore:hover { color: var(--green-deep); }

.cv-pagination {
  max-width: 720px;
  margin: 36px auto 0;
}
.cv-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.cv-pagination a,
.cv-pagination span {
  display: inline-flex;
  min-width: 40px;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 50px;
  font-weight: 800;
  font-size: .88rem;
}
.cv-pagination a {
  background: #fff;
  border: 1.5px solid var(--gray-200);
  color: var(--green-deep);
}
.cv-pagination a:hover {
  border-color: var(--green);
  background: var(--green-light);
}
.cv-pagination span.current {
  background: var(--green);
  color: var(--green-deep);
  border: 1.5px solid var(--green);
}

.cv-page-empty {
  text-align: center;
  font-weight: 700;
  color: var(--gray-600);
  padding: 40px 20px;
}
.cv-page-actions { margin-top: 1.5rem; }

/* Pagină Mulțumim (thank-you) */
.cv-thankyou-main {
  display: flex;
  align-items: center;
  padding-top: clamp(36px, 8vw, 72px);
  padding-bottom: clamp(48px, 10vw, 100px);
}
.cv-thankyou-article {
  max-width: 520px;
  margin-inline: auto;
  width: 100%;
}
.cv-thankyou-card {
  text-align: center;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  padding: clamp(28px, 5vw, 44px) clamp(22px, 4vw, 36px);
}
.cv-thankyou-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cv-thankyou-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.cv-thankyou-title {
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  font-weight: 900;
  color: var(--green-deep);
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}
.cv-thankyou-lead {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 0;
}
.cv-thankyou-extra {
  text-align: left;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--gray-200);
}
.cv-thankyou-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  align-items: stretch;
}
@media (min-width: 480px) {
  .cv-thankyou-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.btn-thankyou-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50px;
  cursor: pointer;
  padding: 15px 36px;
  background: #fff;
  color: var(--green-deep);
  border: 2px solid var(--gray-200);
  text-decoration: none;
  transition: border-color var(--t), background var(--t), color var(--t);
}
.btn-thankyou-secondary:hover {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-deep);
}
.cv-thankyou-phone {
  margin-top: 24px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray-600);
}
.cv-thankyou-phone a {
  color: var(--green-dark);
  text-decoration: underline;
}
.cv-thankyou-phone a:hover { color: var(--green-deep); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}
.tag-green { background: var(--green-light); color: var(--green-dark); }
.tag-white { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); }

.section-head          { text-align: center; margin-bottom: 56px; }
.section-head .tag     { margin-bottom: 14px; }

.section-title {
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--green-deep);
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -.015em;
}
.section-title em   { font-style: normal; color: var(--green-dark); }

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
  letter-spacing: .01em;
  text-decoration: none;
}
.btn-primary           { background: var(--green); color: var(--green-deep); padding: 15px 36px; box-shadow: var(--shadow-green); }
.btn-primary:hover     { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(1,210,30,.38); }
.btn-primary:active    { transform: translateY(0); }
.btn-ghost             { background: transparent; color: #fff; padding: 13px 30px; border: 2px solid rgba(255,255,255,.50); }
.btn-ghost:hover       { background: rgba(255,255,255,.10); border-color: #fff; }
.btn-lg                { font-size: 1.1rem; padding: 18px 44px; }
.btn-full              { width: 100%; }

/* =========================================================
   NAVBAR
   ========================================================= */
.cv-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5,31,3,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(1,210,30,.15);
  padding: 14px 0;
  transition: box-shadow var(--t);
}
.cv-nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.30); }

.cv-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cv-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.22rem;
  font-weight: 900;
  color: #fff;
}
.cv-logo span { color: var(--green); }

.cv-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@keyframes cv-blink         { 0%,100%{opacity:1} 50%{opacity:.25} }
@keyframes cv-cursor-blink  { 0%,100%{opacity:1} 50%{opacity:0} }

.cv-nav-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.60);
}
.cv-live-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: cv-blink 2s ease-in-out infinite;
}

.cv-nav-cta { padding: 10px 26px; font-size: .88rem; }

/* =========================================================
   HERO
   ========================================================= */
.cv-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/*
  BACKGROUND IMAGE – înlocuiește cu imaginea ta reală:
  Recomandat: casă cu panouri fotovoltaice pe acoperiș, cer albastru,
  lumină naturală, minim 1920×1080px, format WebP optimizat.

  WordPress: url('<?php echo get_template_directory_uri(); ?>/assets/images/solar-panels-roof.jpg')
*/
.cv-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(5,31,3,.94) 0%, rgba(5,31,3,.78) 42%, rgba(5,31,3,.52) 100%),
    url('assets/images/solar-panels-roof.jpg') center / cover no-repeat;
  z-index: 0;
}

.cv-hero-glow {
  position: absolute;
  bottom: -120px;
  right: -100px;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,210,30,.11) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.cv-hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

/* Hero copy */
.cv-hero-copy { color: #fff; }
.cv-hero-copy .tag { margin-bottom: 20px; }

.cv-hero-title {
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  font-weight: 900;
  line-height: 1.10;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.cv-hero-title .hl {
  color: var(--green);
}

.cv-hero-sub {
  font-size: 1.12rem;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 36px;
}
.cv-hero-sub strong { color: #fff; }

.cv-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.cv-hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.cv-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
}
.cv-trust-item svg { color: var(--green); flex-shrink: 0; }

/* Hero card */
.cv-hero-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 36px 30px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(1,210,30,.08);
  position: relative;
}
.cv-hero-card::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--r-xl) + 2px);
  background: linear-gradient(135deg, rgba(1,210,30,.35), transparent 55%);
  z-index: -1;
}

.cv-card-head { text-align: center; margin-bottom: 22px; }
.cv-card-icon {
  width: 54px;
  height: 54px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--green-dark);
}
.cv-card-head h2 {
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--green-deep);
  line-height: 1.25;
  margin-bottom: 5px;
}
.cv-card-head p { font-size: .84rem; color: var(--gray-600); }

.cv-counter {
  background: var(--green-light);
  border-radius: var(--r-md);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.cv-counter-num   {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--green-dark);
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.28s ease;
  min-width: 1.6ch;
  text-align: center;
}
.cv-counter.is-cv-num-fade .cv-counter-num { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .cv-counter-num { transition: none; }
}
.cv-counter-label { font-size: .8rem; font-weight: 700; color: var(--gray-600); line-height: 1.4; }

/* =========================================================
   FORMS
   ========================================================= */
.cv-form { display: flex; flex-direction: column; gap: 12px; }

/* Formular în 2 pași */
.cv-form-multistep .cv-form-step {
  display: none;
  flex-direction: column;
  gap: 12px;
}
.cv-form-multistep .cv-form-step.is-active {
  display: flex;
}
.cv-form-stepper {
  margin-bottom: 8px;
}
.cv-stepbar {
  height: 3px;
  border-radius: 3px;
  background: var(--gray-200);
  overflow: hidden;
  margin-bottom: 5px;
}
.cv-stepbar-fill {
  display: block;
  height: 100%;
  width: 50%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  transition: width 0.22s ease;
}
.cv-form-stepper.is-step-2 .cv-stepbar-fill {
  width: 100%;
}
.cv-step-caption {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.3;
  text-align: center;
}
.cv-form-step-actions { margin-top: 2px; }
.cv-form-step-actions-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.cv-form-back {
  flex: 0 0 auto;
  padding: 15px 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  border-radius: 50px;
  cursor: pointer;
  background: var(--gray-100);
  color: var(--gray-800);
  border: 1.5px solid var(--gray-200);
  transition: border-color var(--t), background var(--t);
}
.cv-form-back:hover {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-deep);
}
.cv-form-submit-btn {
  flex: 1 1 180px;
  min-width: 0;
  justify-content: center;
}

/* Rând cu 2 câmpuri alăturate */
.cv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .cv-form-row { grid-template-columns: 1fr; }
}

.cv-field { display: flex; flex-direction: column; gap: 4px; }
.cv-field label { font-size: .74rem; font-weight: 800; color: var(--gray-800); }
.cv-field label .req { color: var(--green-dark); margin-left: 2px; }

/* Telefon RO: prefix +40 + câmp */
.cv-tel-input-wrap {
  display: flex;
  align-items: stretch;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.cv-tel-input-wrap:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(1,210,30,.13);
  background: #fff;
}
.cv-tel-input-wrap:has(.cv-tel-input.err) {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.10);
}
.cv-tel-prefix {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 10px;
  font-weight: 800;
  font-size: .84rem;
  color: var(--gray-600);
  background: var(--gray-100);
  border-right: 1.5px solid var(--gray-200);
  user-select: none;
}
.cv-tel-input-wrap .cv-tel-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
  min-width: 0;
  background: transparent !important;
}
.cv-tel-input-wrap .cv-tel-input:focus {
  border: none !important;
  box-shadow: none !important;
}
.cv-tel-hint {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  color: var(--gray-400);
  line-height: 1.35;
  margin-top: 2px;
}

/* Select cu săgeată custom */
.cv-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 32px;
  cursor: pointer;
}

/* Radio buttons custom – Monofazat / Trifazat */
.cv-radio-group {
  display: flex;
  gap: 10px;
}
.cv-radio-opt {
  flex: 1;
  cursor: pointer;
}
.cv-radio-opt input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cv-radio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 8px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-600);
  background: var(--gray-50);
  transition: border-color var(--t), background var(--t), color var(--t), box-shadow var(--t);
  text-align: center;
  user-select: none;
}
.cv-radio-btn svg { flex-shrink: 0; }
.cv-radio-opt:hover .cv-radio-btn {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-deep);
}
.cv-radio-opt input[type="radio"]:checked + .cv-radio-btn {
  border-color: var(--green);
  background: var(--green-light);
  color: var(--green-deep);
  box-shadow: 0 0 0 3px rgba(1,210,30,.13);
}
.cv-err-radio { display: none; }
.cv-err-radio.show { display: block; }

.cv-field input:not([type="checkbox"]),
.cv-field select {
  font-family: 'Nunito', sans-serif;
  font-size: 0.84rem;
  padding: 8px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  background: var(--gray-50);
  color: var(--gray-800);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.cv-field input:not([type="checkbox"])::placeholder {
  color: var(--gray-400);
  font-size: 0.8rem;
  opacity: 1;
}
.cv-field input:not([type="checkbox"]):focus,
.cv-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(1,210,30,.13);
  background: #fff;
}
.cv-field input:not([type="checkbox"]).err,
.cv-field select.err { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.10); }

.cv-checkbox-field .cv-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gray-700);
  cursor: pointer;
  line-height: 1.45;
}
.cv-checkbox-field .cv-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green-dark);
  cursor: pointer;
}
.cv-checkbox-field .cv-checkbox-label a { color: var(--green-dark); text-decoration: underline; }
.cv-checkbox-field input[type="checkbox"].err {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
  border-radius: 3px;
}

.cv-err           { display: none; font-size: 0.72rem; color: #ef4444; font-weight: 700; }
.cv-err.show      { display: block; }

.cv-form-note {
  font-size: .75rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}
.cv-form-note a { color: var(--green-dark); text-decoration: underline; }

.cv-form-microcopy {
  background: var(--green-light);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

/* Success */
.cv-success           { display: none; text-align: center; padding: 20px 0; }
.cv-success.show      { display: block; }
.cv-success-icon {
  width: 60px;
  height: 60px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.cv-success h3 { font-size: 1.15rem; font-weight: 900; color: var(--green-deep); margin-bottom: 6px; }
.cv-success p  { font-size: .88rem; color: var(--gray-600); }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.cv-trust-strip {
  background: var(--green-deep);
  padding: 20px 0;
  border-top: 1px solid rgba(1,210,30,.15);
  border-bottom: 1px solid rgba(1,210,30,.15);
  overflow-x: auto;
  scrollbar-width: none;
}
.cv-trust-strip::-webkit-scrollbar { display: none; }
.cv-ts-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  min-width: max-content;
  padding-inline: 20px;
}
.cv-ts-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.80);
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
}
.cv-ts-item svg { color: var(--green); flex-shrink: 0; }
.cv-ts-sep      { width: 1px; height: 24px; background: rgba(255,255,255,.10); flex-shrink: 0; }

/* =========================================================
   WHY SIGN UP
   ========================================================= */
.cv-why { padding: 96px 0; background: var(--gray-50); }

.cv-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.cv-why-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 30px 26px;
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.cv-why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.cv-why-card:hover             { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-mid); }
.cv-why-card:hover::after      { transform: scaleX(1); }

.cv-why-num {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 3rem;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cv-why-icon {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  margin-bottom: 18px;
  transition: background var(--t), color var(--t);
}
.cv-why-card:hover .cv-why-icon { background: var(--green); color: var(--green-deep); }
.cv-why-card h3 { font-size: 1rem; font-weight: 800; color: var(--green-deep); margin-bottom: 8px; line-height: 1.3; }
.cv-why-card p  { font-size: .88rem; color: var(--gray-600); line-height: 1.65; }

/* =========================================================
   EXPERIENCE
   ========================================================= */
.cv-exp { padding: 96px 0; background: #fff; }

.cv-exp-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cv-exp-copy .section-head { text-align: left; margin-bottom: 22px; }
.cv-exp-copy .section-sub  { margin-inline: 0; text-align: left; }
.cv-exp-copy .section-title { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }

.cv-exp-body { font-size: .95rem; color: var(--gray-600); line-height: 1.75; margin-bottom: 26px; }
.cv-exp-body strong { color: var(--green-deep); }

.cv-exp-checks { display: flex; flex-direction: column; gap: 11px; }
.cv-exp-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-deep);
}
.cv-exp-check svg { color: var(--green-dark); flex-shrink: 0; margin-top: 2px; }

/* Photo block */
.cv-photo-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}
.cv-photo-wrap img  { width: 100%; height: 100%; object-fit: cover; }
.cv-exp-photo       { width: 100%; height: 100%; }
.cv-exp-photo img   {
  width: 100%;
  height: 100%;
  min-height: 480px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

/*
  PHOTO PLACEHOLDER – înlocuiește cu imaginea reală:
  <img src="<?php echo get_template_directory_uri(); ?>/assets/images/photovoltaic-installation.jpg"
       alt="Instalare panouri fotovoltaice Termohabitat" loading="lazy">
*/
.cv-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(145deg, #0d3a09 0%, #1a5c14 50%, #0a2e07 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  padding: 20px;
}
.cv-photo-placeholder small { font-size: .72rem; opacity: .55; display: block; }

.cv-photo-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--green-deep);
  color: #fff;
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(1,210,30,.25);
}
.cv-badge-num  { font-size: 1.45rem; font-weight: 900; color: var(--green); line-height: 1; }
.cv-badge-text { font-size: .76rem; font-weight: 700; color: rgba(255,255,255,.72); line-height: 1.35; }

/* Stats grid */
.cv-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.cv-stat-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r-md);
  padding: 22px 18px;
  text-align: center;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.cv-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  opacity: 0;
  transition: opacity var(--t);
}
.cv-stat-card:hover { background: var(--green-light); border-color: var(--green-mid); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.cv-stat-card:hover::after { opacity: 1; }
.cv-stat-num   { font-size: 2.2rem; font-weight: 900; color: var(--green-dark); line-height: 1; margin-bottom: 5px; }
.cv-stat-label { font-size: .76rem; font-weight: 800; color: var(--gray-600); text-transform: uppercase; letter-spacing: .07em; }

/* =========================================================
   SOCIAL PROOF
   ========================================================= */
.cv-proof { padding: 96px 0; background: var(--gray-50); }

.cv-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.cv-proof-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 30px 26px;
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  position: relative;
}
.cv-proof-quote {
  position: absolute;
  top: 14px; right: 20px;
  font-size: 5rem;
  font-weight: 900;
  color: var(--green-light);
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.cv-stars        { display: flex; gap: 3px; margin-bottom: 14px; }
.cv-stars span   { color: #f59e0b; font-size: 1rem; }

.cv-proof-text {
  font-size: .93rem;
  color: var(--gray-600);
  line-height: 1.72;
  margin-bottom: 20px;
  font-style: italic;
}

.cv-proof-author     { display: flex; align-items: center; gap: 12px; }
.cv-author-av        { width: 44px; height: 44px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .92rem; color: var(--green-dark); flex-shrink: 0; }
.cv-author-name      { font-size: .88rem; font-weight: 800; color: var(--green-deep); }
.cv-author-city      { font-size: .78rem; color: var(--gray-400); font-weight: 600; }

/* =========================================================
   MAIN FORM SECTION
   ========================================================= */
.cv-form-section {
  padding: 96px 0;
  background: linear-gradient(155deg, #031602 0%, #072505 45%, #051F03 100%);
  position: relative;
  overflow: hidden;
}
.cv-form-section::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,210,30,.09) 0%, transparent 65%);
  pointer-events: none;
}
.cv-form-section::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,210,30,.07) 0%, transparent 65%);
  pointer-events: none;
}
.cv-form-section .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.cv-form-left { color: #fff; }
.cv-form-left .tag { margin-bottom: 16px; }
.cv-form-left .section-title { color: #fff; font-size: clamp(1.55rem, 3.5vw, 2.35rem); }

.cv-form-left-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.70);
  line-height: 1.75;
  margin-bottom: 30px;
}

.cv-form-perks { display: flex; flex-direction: column; gap: 13px; }
.cv-form-perk  { display: flex; align-items: center; gap: 11px; font-size: .93rem; font-weight: 700; color: rgba(255,255,255,.82); }
.cv-perk-icon  { width: 30px; height: 30px; min-width: 30px; background: rgba(1,210,30,.18); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--green); }

.cv-form-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 40px 34px;
  box-shadow: 0 32px 80px rgba(0,0,0,.30);
}
.cv-form-card-head { text-align: center; margin-bottom: 22px; }
.cv-form-card-head .tag { margin-bottom: 10px; }
.cv-form-card-head h2 { font-size: 1.28rem; font-weight: 900; color: var(--green-deep); line-height: 1.25; margin-bottom: 5px; }
.cv-form-card-head p  { font-size: .84rem; color: var(--gray-600); }

/* =========================================================
   HOW WE HELP
   ========================================================= */
.cv-how { padding: 96px 0; background: #fff; }

.cv-how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.cv-how-steps::before {
  content: '';
  position: absolute;
  top: 34px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 2px;
  background: linear-gradient(90deg, var(--green-mid), var(--green), var(--green-mid));
}

.cv-how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px;
  position: relative;
}
.cv-step-num {
  width: 68px;
  height: 68px;
  background: #fff;
  border: 3px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 18px;
  box-shadow: 0 0 0 6px var(--green-light), var(--shadow-sm);
  transition: all var(--t);
  position: relative;
  z-index: 1;
}
.cv-how-step:hover .cv-step-num { background: var(--green); color: var(--green-deep); box-shadow: 0 0 0 6px var(--green-mid), var(--shadow-green); }
.cv-how-step h3 { font-size: .98rem; font-weight: 800; color: var(--green-deep); margin-bottom: 7px; }
.cv-how-step p  { font-size: .85rem; color: var(--gray-600); line-height: 1.6; }

/* =========================================================
   FAQ
   ========================================================= */
.cv-faq { padding: 96px 0; background: var(--gray-50); }

.cv-faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cv-faq-item {
  background: #fff;
  border-radius: var(--r-md);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.cv-faq-item.open { border-color: var(--green); box-shadow: 0 0 0 3px rgba(1,210,30,.09); }

.cv-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 22px;
  cursor: pointer;
  gap: 14px;
  user-select: none;
  -webkit-user-select: none;
}
.cv-faq-q h3 { font-size: .96rem; font-weight: 800; color: var(--green-deep); line-height: 1.4; }
.cv-faq-item.open .cv-faq-q h3 { color: var(--green-dark); }

.cv-faq-toggle {
  width: 30px; height: 30px; min-width: 30px;
  background: var(--green-light);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  transition: all var(--t);
  flex-shrink: 0;
}
.cv-faq-item.open .cv-faq-toggle { background: var(--green); color: var(--green-deep); transform: rotate(45deg); }

.cv-faq-a { max-height: 0; overflow: hidden; transition: max-height .36s cubic-bezier(.4,0,.2,1); }
.cv-faq-item.open .cv-faq-a { max-height: 400px; }
.cv-faq-a-inner {
  padding: 15px 22px 18px;
  border-top: 1px solid var(--gray-100);
  font-size: .91rem;
  color: var(--gray-600);
  line-height: 1.72;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.cv-final-cta {
  padding: 108px 0;
  background: linear-gradient(135deg, #031602 0%, #072505 55%, #051F03 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cv-final-cta::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,210,30,.10) 0%, transparent 65%);
  pointer-events: none;
}
.cv-final-cta .container { position: relative; z-index: 2; }
.cv-final-cta .tag       { margin-bottom: 16px; }

.cv-final-title {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  max-width: 680px;
  margin-inline: auto;
}
.cv-final-title .hl { color: var(--green); }

.cv-final-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 40px;
  max-width: 480px;
  margin-inline: auto;
}
.cv-final-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cv-phone-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .95rem;
  font-weight: 700;
  color: rgba(255,255,255,.70);
  transition: color var(--t);
}
.cv-phone-link:hover { color: #fff; }
.cv-phone-link svg { color: var(--green); }
.cv-phone-link a   { color: var(--green); }
.cv-phone-link a:hover { text-decoration: underline; }

/* =========================================================
   FOOTER
   ========================================================= */
.cv-footer {
  background: #020e01;
  padding: 32px 0 24px;
  border-top: 1px solid rgba(1,210,30,.08);
}
.cv-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  width: 100%;
}
.cv-footer-start {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  flex: 1 1 auto;
  min-width: 0;
}
.cv-footer-brand { flex: 0 0 auto; }
.cv-footer-logo-img-link {
  display: inline-block;
  line-height: 0;
  transition: opacity var(--t);
}
.cv-footer-logo-img-link:hover { opacity: 0.88; }
.cv-footer-logo {
  font-size: 0.98rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  transition: opacity var(--t);
}
.cv-footer-logo:hover { opacity: 0.88; color: #fff; }
.cv-footer-logo span { color: var(--green); }
.cv-footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 1 auto;
  margin-left: auto;
}
.cv-footer-links a     { font-size: .8rem; color: rgba(255,255,255,.42); font-weight: 700; transition: color var(--t); }
.cv-footer-links a:hover { color: var(--green); }

.cv-footer-banners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  flex: 0 1 auto;
  min-width: 0;
}
.cv-footer-banner-link,
.cv-footer-banner-nolink {
  display: inline-block;
  line-height: 0;
}
.cv-footer-banner-link {
  opacity: 0.88;
  transition: opacity var(--t), transform var(--t);
}
.cv-footer-banner-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.cv-footer-banner-img {
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: min(140px, 42vw);
  object-fit: contain;
  vertical-align: middle;
}

.cv-footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,.28);
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

/* =========================================================
   FLOATING CTA – mobile
   ========================================================= */
.cv-float-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--green-deep);
  padding: 14px 20px;
  border-top: 2px solid var(--green);
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
.cv-float-cta .btn { width: 100%; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.cv-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.cv-reveal.in { opacity: 1; transform: translateY(0); }

.cv-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.cv-stagger.in > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay:.05s; }
.cv-stagger.in > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay:.15s; }
.cv-stagger.in > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay:.25s; }
.cv-stagger.in > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay:.35s; }
.cv-stagger.in > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay:.45s; }

/* =========================================================
   MONITORING SECTION
   ========================================================= */
.cv-monitor {
  padding: 80px 0;
  background: var(--green-deep);
  position: relative;
  overflow: hidden;
}
.cv-monitor::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1,210,30,.09) 0%, transparent 65%);
  pointer-events: none;
}

.cv-monitor-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.cv-monitor-copy { color: #fff; }
.cv-monitor-copy .section-title { color: #fff; margin-bottom: 16px; }
.cv-monitor-copy .tag { display: inline-flex; }

.cv-monitor-sub {
  font-size: .98rem;
  color: rgba(255,255,255,.68);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ── Terminal window ──────────────────────────────────── */
.cv-monitor-terminal {
  background: #0c1a0b;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.45), 0 0 0 1px rgba(1,210,30,.15);
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  flex-direction: column;
  /* Înălțime stabilă: animația nu mai mărește secțiunea și nu împinge conținutul de sub */
  min-height: 328px;
  max-height: 380px;
}

/* Title bar */
.cv-term-bar {
  flex-shrink: 0;
  background: #1a2e19;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(1,210,30,.12);
}
.cv-term-dots  { display: flex; gap: 6px; }
.cv-td         { width: 11px; height: 11px; border-radius: 50%; }
.cv-td-red     { background: #ff5f57; }
.cv-td-yellow  { background: #ffbd2e; }
.cv-td-green   { background: #28ca41; }
.cv-term-title { font-size: .72rem; color: rgba(255,255,255,.35); font-family: 'Nunito', sans-serif; letter-spacing: .04em; flex: 1; text-align: center; }

/* Body */
.cv-term-body {
  flex: 1;
  min-height: 0;
  padding: 18px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

/* Fixed command line */
.cv-term-line {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  flex-wrap: wrap;
}
.cv-tl-prompt { color: #01D21E; font-weight: 700; }
.cv-tl-sep    { color: rgba(255,255,255,.35); }
.cv-tl-dir    { color: #5ba3ff; }
.cv-tl-sym    { color: rgba(255,255,255,.50); margin: 0 4px; }
.cv-tl-cmd    { color: rgba(255,255,255,.80); }

/* Search line */
.cv-term-search-line {
  flex-shrink: 0;
  background: rgba(1,210,30,.07);
  border: 1px solid rgba(1,210,30,.18);
  border-radius: 6px;
  padding: 8px 12px;
  gap: 9px;
  flex-wrap: nowrap;
}
.cv-term-search-icon { color: var(--green); flex-shrink: 0; opacity: .9; }
.cv-term-query       { font-size: .84rem; color: rgba(255,255,255,.85); font-family: 'Nunito', sans-serif; font-weight: 700; flex: 1; min-width: 0; }
.cv-term-cur {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--green);
  border-radius: 1px;
  flex-shrink: 0;
  animation: cv-cursor-blink .75s step-end infinite;
  align-self: center;
}

/* Results area – spațiu rezervat fix; surplus scroll (fără layout shift) */
.cv-term-results {
  flex: 1 1 auto;
  min-height: 92px;
  max-height: 132px;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(1,210,30,.35) transparent;
}
.cv-term-results::-webkit-scrollbar { width: 5px; }
.cv-term-results::-webkit-scrollbar-thumb {
  background: rgba(1,210,30,.35);
  border-radius: 3px;
}

.cv-tr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-family: 'Nunito', sans-serif;
  padding: 5px 0;
}
.cv-tr-wait  { color: rgba(255,255,255,.40); }
.cv-tr-found { color: rgba(255,255,255,.70); }
.cv-tr-found::before { content: '›'; color: var(--green); margin-right: 4px; font-weight: 900; }
.cv-tr-new {
  color: var(--green);
  font-weight: 700;
}
.cv-tr-new::before { content: '✓'; margin-right: 5px; }

/* Spinner */
.cv-tr-spinner {
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(1,210,30,.25);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: cv-spin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes cv-spin { to { transform: rotate(360deg); } }

/* Status bar */
.cv-term-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  color: rgba(255,255,255,.30);
  font-family: 'Nunito', sans-serif;
  border-top: 1px solid rgba(1,210,30,.10);
  padding-top: 10px;
  margin-top: auto;
  flex-shrink: 0;
}
.cv-ts-live-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: cv-blink 2s ease-in-out infinite;
}
.cv-term-status-right {
  margin-left: auto;
  color: rgba(1,210,30,.45);
  font-weight: 700;
}

/* Responsive monitor section */
@media (max-width: 900px) {
  .cv-monitor-inner { grid-template-columns: 1fr; gap: 36px; }
  .cv-monitor-terminal {
    min-height: 310px;
    max-height: 400px;
  }
  .cv-term-results {
    min-height: 88px;
    max-height: 148px;
  }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .cv-hero .container         { grid-template-columns: 1fr; gap: 36px; padding-block: 52px; }
  .cv-hero                    { min-height: auto; }
  .cv-hero-card               { max-width: 540px; margin-inline: auto; width: 100%; }
  .cv-exp-inner               { grid-template-columns: 1fr; gap: 48px; }
  .cv-form-section .container { grid-template-columns: 1fr; gap: 40px; }
  .cv-form-card               { max-width: 540px; margin-inline: auto; width: 100%; }
  .cv-how-steps               { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .cv-how-steps::before       { display: none; }
}

@media (max-width: 768px) {
  .cv-float-cta   { display: block; }
  body            { padding-bottom: 74px; }
  .cv-nav-live    { display: none; }
  .cv-nav-cta     { display: none; }
  .cv-hero-actions { flex-direction: column; }
  .cv-hero-actions .btn { width: 100%; }
  .cv-ts-inner    { justify-content: flex-start; flex-wrap: nowrap; }
  .cv-stats-grid  { grid-template-columns: 1fr 1fr; }
  .cv-final-actions { flex-direction: column; }
  /* Aceleași margini interioare la ambele formulare (hero + secțiunea principală) */
  .cv-hero-card,
  .cv-form-card {
    padding: 24px 16px;
  }
  /* Pasii formularului – mai compacți pe ecran mic */
  .cv-form-stepper { margin-bottom: 5px; }
  .cv-stepbar {
    height: 2px;
    margin-bottom: 3px;
  }
  .cv-step-caption {
    font-size: 0.64rem;
    letter-spacing: 0.02em;
    line-height: 1.25;
  }
  .cv-footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }
  .cv-footer-start {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .cv-footer-banners {
    justify-content: center;
  }
  .cv-footer-links {
    justify-content: center;
    margin-left: 0;
    width: 100%;
  }
  .cv-footer-brand { width: 100%; }
}

@media (max-width: 600px) {
  .cv-why-grid    { grid-template-columns: 1fr; }
  .cv-proof-grid  { grid-template-columns: 1fr; }
  /* Mai mult spațiu util pentru formulare – aceleași valori hero + form principal */
  .cv-hero .container,
  .cv-form-section .container {
    padding-inline: 12px;
  }
  .cv-hero-card,
  .cv-form-card {
    padding: 20px 12px;
  }
  .cv-form-stepper { margin-bottom: 3px; }
  .cv-stepbar       { margin-bottom: 2px; }
  .cv-step-caption  { font-size: 0.6rem; }

  .cv-how-steps   { grid-template-columns: 1fr; gap: 18px; }
  .cv-how-step    { flex-direction: row; text-align: left; align-items: flex-start; }
  .cv-how-steps .cv-step-num {
    flex-shrink: 0;
    margin-bottom: 0;
    margin-right: 12px;
    width: 44px;
    height: 44px;
    font-size: 1rem;
    border-width: 2px;
    box-shadow: 0 0 0 4px var(--green-light), var(--shadow-sm);
  }
  .cv-how-step:hover .cv-step-num {
    box-shadow: 0 0 0 4px var(--green-mid), var(--shadow-green);
  }
  .cv-how-step h3 { font-size: 0.92rem; }
  .cv-how-step p  { font-size: 0.78rem; line-height: 1.55; }
  .cv-how         { padding: 64px 0; }
  .cv-how .container { padding-inline: 12px; }
}
