.plans-hero {
  position: relative;
  width: 100%;
  height: 350px;
  background: url('../images/hero-plans.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.plans-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45); /* oscurece para contraste */
  z-index: 1;
}

.plans-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  color: #fff;
  z-index: 2;
  text-align: left;
  max-width: 1000px;
  padding: 0 20px;
}

.plans-logo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fff;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.plans-text h2 {
  font-size: 42px;
  font-weight: 700;
  margin: 0 0 15px;
  color: #fce7f3; /* rosa pastel suave */
}

.plans-text p {
  font-size: 20px;
  color: #e5e7eb;
  margin: 0;
  max-width: 500px;
}

/* Responsive */
@media (max-width: 768px) {
  .plans-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .plans-logo img {
    width: 120px;
    height: 120px;
  }
  .plans-text h2 {
    font-size: 32px;
  }
  .plans-text p {
    font-size: 16px;
  }
}


.cleaning-packages {
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  font-family: 'Poppins', sans-serif;
}

.package {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Imagen portada */
.package-cover img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

/* Contenido */
.package-content {
  padding: 10px;
}

.package-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #111;
}

.package-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 5px;
}

/* Botón CTA */
.package-button {
  padding: 10px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  transform: scale(1.05);
}

/* Tabla oculta */
.package-table-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.package-table-wrapper.open {
  max-height: 1000px; /* suficiente para contenido */
  overflow-x: auto;
  overflow-y: auto;
}

.package-table-wrapper table {
  width: 100%;
  max-width: 400px; /* el ancho máximo total de la tabla */
  table-layout: fixed; /* fuerza columnas iguales */
  border-collapse: collapse;
  font-size: 10px;
}

.package-table-wrapper th,
.package-table-wrapper td {
  border: 1px solid #ddd;
  padding: 2px;
  text-align: center;
  vertical-align: middle;
  word-wrap: break-word;
  white-space: normal; /* permite salto de línea */
  line-height: 1.2;
}

.package-table-wrapper th {
  background: #f9f9f9;
  font-weight: 600;
}


/* Estilos de íconos */
.fa-check {
  color: #22c55e; /* verde */
  font-size: 20px;
}

.fa-xmark {
  color: #ef4444; /* rojo */
  font-size: 20px;
}