/* ============================================================
   SISTEM TERRA SOLUTION SRL — Casa Verde Baterii 2026
   Design tokens
   ============================================================ */

:root {
  /* Culori - verde inchis predominant, tema deschisa */
  --forest-900: #0d2e22;
  --forest-800: #10402e;
  --forest-700: #155038;
  --forest-600: #1c6b48;
  --forest-500: #2b8a5f;
  --forest-100: #e5f3ea;
  --forest-50:  #f3f9f5;

  --amber-600: #b8862f;
  --amber-500: #cf9c3f;
  --amber-100: #fbf1de;

  --ink-900: #16211b;
  --ink-700: #3b4a41;
  --ink-500: #667a6e;
  --ink-300: #a7b8ae;

  --paper: #fdfdfb;
  --paper-alt: #f6f7f2;
  --white: #ffffff;
  --border: #e0e5df;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 3px rgba(13, 46, 34, 0.08);
  --shadow-md: 0 8px 24px rgba(13, 46, 34, 0.10);
  --shadow-lg: 0 20px 48px rgba(13, 46, 34, 0.14);

  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest-900);
  line-height: 1.15;
  font-weight: 600;
}

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

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--paper-alt);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest-600);
  background: var(--forest-100);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 17px;
  color: var(--ink-700);
  max-width: 640px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--forest-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--forest-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-amber {
  background: var(--amber-500);
  color: var(--forest-900);
}
.btn-amber:hover { background: var(--amber-600); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--forest-700);
  color: var(--forest-700);
}
.btn-outline:hover { background: var(--forest-100); }

.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(253, 253, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-logo img { height: 42px; width: auto; }
.header-logo .logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--forest-900);
  line-height: 1.1;
}
.header-logo .logo-text span {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-500);
  letter-spacing: 0.03em;
}

/* Header simplificat: doar logo + hamburger. Restul e in dropdown. */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.nav-toggle:hover { background: var(--forest-100); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest-900);
  margin: 3px 0;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.header-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  padding: 8px 24px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.header-menu.open { display: flex; }
.header-menu a {
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
}
.header-menu a:hover { color: var(--forest-700); }
.header-menu-phone {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 700 !important;
  color: var(--forest-800) !important;
}
.header-menu .btn { margin-top: 16px; border-bottom: none !important; }

.header-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 46, 34, 0.35);
  z-index: 480;
}
.header-menu-backdrop.open { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--forest-900) 0%, var(--forest-800) 55%, var(--forest-700) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 64px 0 0;
}

.hero-glow {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(43,138,95,0.55) 0%, rgba(43,138,95,0) 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px 0;
}

.badge-bar {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 9px 18px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.badge-bar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
}
.badge-bar-item img { height: 18px; width: auto; }
.badge-dot { color: rgba(255,255,255,0.35); font-size: 13px; }

.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4.6vw, 52px);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber-500);
}

.hero-sub {
  font-size: 17.5px;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-cta-note {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
}
.hero-stat .label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.35));
}

.hero-wave {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 48px;
}

/* Battery charge motif - signature element */
.charge-meter {
  display: flex;
  align-items: center;
  gap: 10px;
}
.charge-meter .cells {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 22px;
}
.charge-meter .cell {
  width: 5px;
  background: rgba(255,255,255,0.25);
  border-radius: 2px;
}
.charge-meter .cell.on { background: var(--amber-500); }
.charge-meter .cell:nth-child(1){ height: 40%; }
.charge-meter .cell:nth-child(2){ height: 60%; }
.charge-meter .cell:nth-child(3){ height: 80%; }
.charge-meter .cell:nth-child(4){ height: 100%; }

/* ============================================================
   FORMULAR LEAD
   ============================================================ */
.lead-section {
  background: var(--forest-50);
  position: relative;
}

.lead-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
}

.lead-info {
  background: var(--forest-900);
  color: var(--white);
  padding: 48px 40px;
  position: relative;
}
.lead-info h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 16px;
}
.lead-info p {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  margin-bottom: 24px;
}

.lead-checklist { display: flex; flex-direction: column; gap: 14px; }
.lead-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.9);
}
.lead-checklist .check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.lead-form {
  padding: 48px 40px;
}
.lead-form h3 {
  font-size: 21px;
  margin-bottom: 6px;
}
.lead-form .form-sub {
  color: var(--ink-500);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper-alt);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--forest-600);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 90px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}
.form-check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--forest-700); flex-shrink: 0; }
.form-check label { font-size: 13px; color: var(--ink-500); font-weight: 400; line-height: 1.5; }
.form-check a { color: var(--forest-700); text-decoration: underline; font-weight: 600; }

.form-msg {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
  display: none;
}
.form-msg.success { background: var(--forest-100); color: var(--forest-800); display: block; }
.form-msg.error { background: #fdeeee; color: #a13939; display: block; }

/* ============================================================
   RECENZII (stil Google Maps)
   ============================================================ */
.reviews-header {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.reviews-score {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-sm);
}
.reviews-score .big-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--forest-900);
}
.reviews-score .stars-row { color: #f5a623; font-size: 18px; letter-spacing: 2px; }
.reviews-score .count { font-size: 13px; color: var(--ink-500); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-display);
  flex-shrink: 0;
  overflow: hidden;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-name { font-weight: 600; font-size: 14.5px; color: var(--ink-900); }
.review-date { font-size: 12.5px; color: var(--ink-500); }

.review-stars { color: #f5a623; font-size: 14px; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--ink-700); line-height: 1.55; }

.review-media {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.review-media img, .review-media video {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.reviews-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Modal adaugare recenzie */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 46, 34, 0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--paper-alt);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink-700);
}
.star-picker {
  display: flex;
  gap: 6px;
  font-size: 30px;
  color: var(--border);
  cursor: pointer;
  margin-bottom: 4px;
}
.star-picker .star.active { color: #f5a623; }
.file-input-wrap {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-500);
  cursor: pointer;
  background: var(--paper-alt);
}
.file-input-wrap:hover { border-color: var(--forest-500); }

/* ============================================================
   PROGRAM / INFO CARDS
   ============================================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.info-card .info-label {
  font-size: 12.5px;
  color: var(--forest-600);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.info-card .info-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 6px;
}
.info-card .info-desc { font-size: 13.5px; color: var(--ink-500); }

.status-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--amber-100);
  border: 1px solid var(--amber-500);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
}
.status-banner .icon { font-size: 20px; flex-shrink: 0; }
.status-banner strong { color: var(--forest-900); }
.status-banner p { font-size: 14px; color: var(--ink-700); margin: 0; }

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 180px 24px 1fr;
  gap: 20px;
}
.timeline-item .t-period {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-700);
  padding-top: 2px;
}
.timeline-item .t-line {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-item .t-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--forest-600);
  border: 3px solid var(--forest-100);
  flex-shrink: 0;
}
.timeline-item .t-bar {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 4px;
}
.timeline-item:last-child .t-bar { display: none; }
.timeline-item .t-content { padding-bottom: 32px; }
.timeline-item .t-content h4 { font-size: 16px; margin-bottom: 4px; }
.timeline-item .t-content p { font-size: 13.5px; color: var(--ink-500); }
.t-status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
}
.t-status.active { background: var(--forest-100); color: var(--forest-700); }
.t-status.pending { background: var(--amber-100); color: var(--amber-600); }

/* ============================================================
   FAQ / INTREBARI
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--forest-900);
}
.faq-question .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--forest-600);
  color: var(--forest-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: transform 0.2s ease;
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--forest-700); color: var(--white); border-color: var(--forest-700); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p {
  padding: 0 4px 22px;
  font-size: 14.5px;
  color: var(--ink-700);
  max-width: 700px;
}

/* ============================================================
   COMPATIBILITATE INVERTOARE
   ============================================================ */
.inverter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.inverter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.inverter-card h4 { font-size: 16px; margin-bottom: 10px; }
.inverter-card ul { display: flex; flex-direction: column; gap: 6px; }
.inverter-card li {
  font-size: 13.5px;
  color: var(--ink-700);
  padding-left: 16px;
  position: relative;
}
.inverter-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--forest-500);
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: linear-gradient(135deg, var(--forest-800), var(--forest-900));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  margin: 0 24px;
}
.cta-final h2 { color: var(--white); margin-bottom: 14px; }
.cta-final p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 28px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--forest-900);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; max-width: 280px; }
.footer-col h5 {
  color: var(--white);
  font-size: 14px;
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--amber-500); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.footer-legal-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.footer-legal-badge img { height: 24px; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.4s infinite;
}
.wa-float svg { width: 30px; height: 30px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================================
   PAGINI SIMPLE (contact / termeni / confidentialitate)
   ============================================================ */
.page-hero {
  background: var(--forest-900);
  color: var(--white);
  padding: 64px 0 48px;
  text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 4vw, 38px); }
.page-hero p { color: rgba(255,255,255,0.75); margin-top: 10px; }

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 24px;
}
.legal-content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
  font-size: 15px;
  color: var(--ink-700);
  margin-bottom: 12px;
  line-height: 1.7;
}
.legal-content ul { list-style: disc; padding-left: 22px; }
.legal-content strong { color: var(--forest-900); }
.legal-content .update-date {
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-card .c-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--forest-100);
  color: var(--forest-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.contact-card h3 { font-size: 17px; margin-bottom: 8px; }
.contact-card p { font-size: 14.5px; color: var(--ink-700); margin-bottom: 4px; }
.contact-card a.contact-link { color: var(--forest-700); font-weight: 600; }
.company-data {
  grid-column: 1 / -1;
  background: var(--paper-alt);
  border-radius: var(--radius-md);
  padding: 28px 32px;
}
.company-data h3 { font-size: 16px; margin-bottom: 16px; }
.company-data .data-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.company-data .data-row:last-child { border-bottom: none; }
.company-data .data-label { color: var(--ink-500); }
.company-data .data-value { font-weight: 600; color: var(--ink-900); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .lead-card { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .inverter-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .reviews-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline-item { grid-template-columns: 110px 20px 1fr; }
  .lead-info, .lead-form { padding: 32px 24px; }
  .cta-final { padding: 40px 24px; margin: 0 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
  .badge-row { gap: 8px; }
  .official-badge { font-size: 12px; padding: 6px 10px; }
}

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

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--forest-600);
  outline-offset: 2px;
}
/* Containerul principal al header-ului */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px; /* Forțează un spațiu gol obligatoriu între text și buton */
}

/* Containerul care ține imaginea și textul */
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1; /* Îi permite să ocupe spațiul disponibil... */
  min-width: 0; /* ...dar previne textul să depășească lățimea maximă */
}

/* Imaginea logo-ului (STS) */
.header-logo img {
  max-width: 140px; /* Limităm puțin lățimea imaginii pe mobil ca să lase loc textului */
  height: auto;
  flex-shrink: 0; /* Previne turtirea imaginii */
}

/* Textul "Sisteme Fotovoltaice" */
.logo-text {
  font-size: 11px; /* Dimensiune optimă pentru mobil */
  font-weight: 700;
  line-height: 1.2;
  flex: 1;
  word-wrap: break-word; /* Rupe cuvintele lungi dacă este absolut necesar */
}

/* Butonul de meniu (Hamburger) */
.nav-toggle {
  flex-shrink: 0; /* Îi interzice browserului să micșoreze butonul ca să facă loc textului */
  margin-left: auto;
}
/* Transforma logo-ul din footer in alb */
.footer-brand img {
  filter: brightness(0) invert(1);
}