.services-hero {
  position: relative;
  margin-top: 100px;
  height: 600px;
  overflow: hidden;
  max-width: 2000px;
  margin: 0 auto;
}

#page-content {
  margin-top: 0;
  padding-top: 0;
}

.services-hero-images {
  display: flex;
  width: 100%;
  height: 100%;
}

.hero-img-wrapper {
  width: 33.333%;
  height: 100%;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.521);
  padding: 0 20px;
}

.services-hero-overlay h1 {
  font-size: 44px;
  font-weight: 500;
  margin-bottom: 10px;
}

.services-hero-overlay p {
  font-size: 16px;
  max-width: 520px;
  opacity: 0.9;
}

/* =========================
   TABLE SECTION
========================= */

.services-table-section {
  background: #f6f8f7;
  padding: 120px 20px;
}

.services-table-inner {
  max-width: 960px;
  margin: 0 auto;
}

.services-title {
  text-align: center;
  font-size: 36px;
  font-weight: 500;
  color: #1f3d2b;
}

.services-subtitle {
  text-align: center;
  font-size: 15px;
  color: #666;
  margin: 10px 0 50px;
}

.services-table {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
  overflow: hidden;
}

/* =========================
   SINGLE COLUMN FIX (doar servicii)
   Pune la FINAL de tot in CSS
========================= */

/* tabel 1 coloană: toate rândurile să fie centrate uniform */
.services-table .table-row{
  grid-template-columns: 1fr !important;
  column-gap: 0 !important;
  justify-items: center !important;
  text-align: center;
}

/* când rândul are un singur span, îl centrează corect și îi dă culoare normală */
.services-table .table-row span:only-child{
  justify-self: center !important;
  text-align: center !important;
  color: #1f3d2b !important;
  font-weight: 500;
}

/* header-ul rămâne alb pe verde și centrat */
.services-table .table-row.table-header{
  background: #2b6d42;
}

.services-table .table-row.table-header span:only-child{
  color: #ffffff !important;
  font-weight: 600;
}

/* separatorul (Pachete / categorii) să fie centrat și mai “bold” */
.services-table .table-row.table-separator{
  background: #eef4f1;
  padding: 16px 28px !important;
}

.services-table .table-row.table-separator span:only-child{
  color: #1f3d2b !important;
  font-weight: 600;
}
.services-intro-card{
  max-width: 960px;
  margin: -50px auto 40px; /* “intră” puțin peste zona de jos a hero-ului */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.10);
  padding: 26px 28px;
  text-align: center;
}

.services-intro-card h2{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  color: #1f3d2b;
}

.services-intro-card p{
  margin: 0;
  color: #55635b;
  line-height: 1.7;
  font-size: 15px;
}


/* ✅ IMPORTANT: 2 COLOANE (Serviciu | Detalii) */
.table-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* poți pune 1fr auto dacă vrei și mai “lipit” */
  column-gap: 40px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 15px;
  align-items: center;
}

.table-row:last-child {
  border-bottom: none;
}

.table-header {
  background: #2b6d42;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

/* ✅ Detalii la capăt (dreapta) */
.table-row span:last-child {
  text-align: right;
  justify-self: end;
  font-weight: 500;
  color: #2b6d42;
}

/* ✅ FIX: “Detalii” din header să fie ALB (nu verde) */
.table-header span:last-child {
  color: #ffffff;
  text-align: right;
  justify-self: end;
}

.table-separator {
  background: #eef4f1;
  font-weight: 600;
  color: #1f3d2b;

  display: grid;                /* 🔥 cheia */
  grid-template-columns: 1fr;   /* o singură coloană */

  padding: 18px 28px;
  font-size: 15px;
  text-align: center;           /* text centrat */
}

.table-separator span {
  justify-self: center;         /* centru real, nu „vizual” */
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .table-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 20px;
  }

  .table-header {
    display: none;
  }

  .table-row span:last-child {
    text-align: left;
    justify-self: start;
    color: #2b6d42;
  }
}
