/* ===== Page sections ===== */
.section{ margin-top:24px; }
.section > h2{ margin:0 0 12px; font-size:24px; letter-spacing:.2px; }
.section-cta{ margin-top:12px; }

/* ===== HERO ===== */
.hero{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:18px;
  align-items:start;
}
.hero-card h1{ margin:0 0 10px; font-size:30px; line-height:1.2; }
.hero-card p{ margin:8px 0; }
.badges{ display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
.badge.warn{ border-color: var(--warn) !important; }
.cta{ display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }

.media{ padding:0; }
.media img{
  width:100%; height:auto; display:block;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.08);
}
.place-flag{
  margin-top:10px; display:inline-block;
}

/* ===== GRID helpers ===== */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}

/* ===== Teaser produse ===== */
.teaser-grid{ /* folosește .catalog-grid global, dar aici dăm un fallback */
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:14px;
}
.prod-card{
  display:flex; flex-direction:column; gap:10px;
  padding:10px; border-radius:14px; text-decoration:none;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  color:#E6ECFF;
}
.prod-card:hover{
  transform: translateY(-2px);
  border-color: rgba(122,179,255,.35);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.prod-media{
  width:100%; aspect-ratio:4/3;
  border-radius:12px; border:1px solid rgba(255,255,255,.08);
  background:#0b1220; display:flex; align-items:center; justify-content:center;
  overflow:hidden;
}
.prod-media img{ max-width:100%; max-height:100%; object-fit:contain; display:block; }
.prod-meta{ display:grid; gap:4px; }
.prod-title{ font-weight:700; line-height:1.25; }
.prod-sub{ font-size:.9rem; color:rgba(230,236,255,.75); }

/* ===== Timeline ===== */
.timeline{
  position:relative; padding-left:28px; display:grid; gap:10px;
}
.timeline:before{
  content:""; position:absolute; left:10px; top:0; bottom:0; width:2px;
  background:linear-gradient(180deg, var(--brand), transparent);
}
.milestone{ position:relative; margin:4px 0; }
.milestone time{ display:inline-block; font-weight:600; margin-bottom:6px; color:#bcd2ff; }

/* ===== Compliance ===== */
.compliance-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);
  gap:18px; align-items:start;
}
.list{ list-style:none; padding:0; margin:0; }
.list li{ margin:10px 0; padding-left:24px; position:relative; }
.list li:before{
  content:"✓"; position:absolute; left:0; top:0;
  color:#27d980; font-weight:700;
}

/* ===== Contact (în pagina about) ===== */
#contact .cta{ display:flex; flex-wrap:wrap; gap:10px; }

/* ===== Responsive ===== */
@media (max-width:1180px){
  .teaser-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:980px){
  .hero{ grid-template-columns:1fr; }
  .hero-card h1{ font-size:26px; }

  .grid-3{ grid-template-columns:1fr 1fr; gap:12px; }

  .teaser-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }

  .compliance-grid{ grid-template-columns:1fr; gap:14px; }

  .timeline{ padding-left:22px; }
  .timeline:before{ left:8px; }
}
@media (max-width:640px){
  .hero-card h1{ font-size:22px; }
  .grid-3{ grid-template-columns:1fr; }
  .teaser-grid{ grid-template-columns:1fr; }

  .timeline{ padding-left:18px; }
  .timeline:before{ left:6px; }
}


/* ====== CTA sub produsele din sectiunea About ====== */
#produse .btn {
  display: inline-block;
  margin-top: 20px;   /* spațiere față de grila de produse */
  padding: 10px 16px;
}

#produse .catalog-grid {
  margin-bottom: 20px; /* spațiere suplimentară între grilă și buton */
}
