/* ===== HEADINGS ===== */
h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0;
}

/* ===== PLANS WRAPPER ===== */
.plans {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ===== CARD ===== */
.plan {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  width: 300px;
  text-align: center;
  overflow: hidden;
  margin-bottom: 20px;
}

/* ===== TOP BAR ===== */
.plan-bar {
  color: #fff;
  padding: 6px;
  font-size: 13px;
  border-radius: 8px 8px 0 0;
}

/* Colors */
.plan-basic { background: #adb5bd; }
.plan-premium { background: #2c7be5; }
.plan-ppl { background: #27ae60; }

/* ===== CONTENT ===== */
.plan-content {
  padding: 20px;
}

/* ===== IMAGES ===== */
.plan img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== PRICE ===== */
.price {
  font-size: 32px;
  margin: 10px 0;
}

/* ===== FEATURES ===== */
.features,
.features ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.features {
  text-align: left;
  margin-top: 2px;
  margin-bottom: 0;
  font-size: 14px;
}

.features li {
  margin: 5px 0;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: #27ae60;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.btn:hover {
  background: #219150;
}

/* ===== DIVIDERS ===== */
.plan hr {
  margin: 20px 0;
  border: none;
  border-top: 2px dotted #ccc;
}

/* ===== OBSERVACIONES ===== */
.observaciones {
  max-width: 700px;
  margin: 10px auto 0;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: left;
}

.observaciones h3 {
  text-align: center;
  text-decoration: underline;
}
.observaciones-wrapper {
  max-width: 700px;
  margin: 20px auto;
  text-align: center;
}

.observaciones-toggle {
  background: #2c7be5;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.observaciones-toggle:hover {
  background: #1a68d1;
}

.observaciones-content {
  display: none;
  margin-top: 15px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
}

/* Hidden-by-default example images (the "see more examples" toggles) */
.plan-image {
  display: none;
}

.plan-image img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
}

/* Example images that should always be visible (one per plan) —
   bypasses the display:none above without needing inline styles. */
.plan-image.plan-image--visible {
  display: block;
}

/* Small caption shown right above every always-visible example image,
   so it's obvious at a glance what the image is. */
.example-label {
  font-size: 13px;
  color: #666;
  font-weight: 600;
  margin: 10px 0 6px;
}
/* Space between the plan button and "Así se verá tu anuncio" (needs .plan to beat ".plan p" margin) */
.plan .example-label {
  margin: 24px 0 6px;
}

.plan h4 {
  margin: 8px 0 5px;
}
.plan p {
  margin: 5px 0; /* reduce all paragraph spacing */
}

/*
 * Real button style for the "see more examples" toggles, reusing the
 * same visual language as .observaciones-toggle below — a plain text
 * link was easy to miss; a real button isn't.
 */
.toggle-title {
  display: inline-block;
  width: auto;
  background: #2c7be5;
  color: #fff;
  border: none;
  padding: 8px 16px;
  margin: 8px 0 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.toggle-title:hover {
  background: #1a68d1;
  color: #fff;
}