/* === Sección de precios === */
.pricing {
  background: linear-gradient(to bottom, #ffffff, #f9f9f9);
  padding: 5rem 1rem;
  color: #111;
}

.pricing h1 {
  font-size: 2.5rem;
  text-align: center;
  color: #004080;
  margin-bottom: 1rem;
}

.pricing p {
  text-align: center;
  font-size: 1.2rem;
  color: #2a2a2a;
  margin-bottom: 1rem;
}

.pricing .note {
  text-align: center;
  font-style: italic;
  color: #187b51;
  margin-top: 3rem;
}

/* === Sección de precios === */
.pricing {
  background: linear-gradient(to bottom, #ffffff, #f9f9f9);
  padding: 5rem 1rem;
  color: #111;
}

.pricing h1 {
  font-size: 2.5rem;
  text-align: center;
  color: #004080;
  margin-bottom: 1rem;
}

.pricing p {
  text-align: center;
  font-size: 1.2rem;
  color: #2a2a2a;
  margin-bottom: 1rem;
}

.pricing .note {
  text-align: center;
  font-style: italic;
  color: #187b51;
  margin-top: 3rem;
}

/* === Grilla de precios === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-left: 6px solid #004080;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pricing-card h2 {
  font-size: 1.75rem;
  color: #003366;
  margin-bottom: 0.25rem;
}

.pricing-card h3 {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #0b5e32;
}

.pricing-card .price s {
  color: #999;
  font-size: 1rem;
  margin-right: 0.5rem;
}

.pricing-card .price strong {
  font-size: 1.4rem;
  color: #0b5e32;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.pricing-card ul li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  color: #222;
}

.pricing-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #157245;
  font-weight: bold;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.pricing-card ul {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.pricing-card .btn-primary {
  align-self: center;
  margin-top: auto;
}


/* === Botones === */
.btn-primary {
  display: inline-block;
  background-color: #ffc107;
  color: #111;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, outline 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #e6b300;
  outline: 2px solid #222;
}

/* === Etiqueta popular === */
.popular {
  border-left: 6px solid #ff5722;
  position: relative;
}

.badge {
  position: absolute;
  top: -1rem;
  left: 1rem;
  background-color: #ff5722;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
}

.discount-tag {
  background-color: #e53935;
  color: white;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
}
/* === Botones === */
.btn-primary {
  display: inline-block;
  background-color: #ffc107;
  color: #111;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, outline 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #e6b300;
  outline: 2px solid #222;
}

/* === Etiqueta popular === */
.popular {
  border-left: 6px solid #ff5722;
  position: relative;
}

.badge {
  position: absolute;
  top: -1rem;
  left: 1rem;
  background-color: #ff5722;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: bold;
}

/* === Responsive === */
@media (max-width: 768px) {
  .pricing h1 {
    font-size: 2rem;
  }

  .pricing p {
    font-size: 1rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }
}

/* WhatsApp flotante */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-decoration: none;
  font-size: 1rem;
  z-index: 1000;
  transition: background 0.3s;
}

.floating-whatsapp-btn:hover {
  background: #1ebc5c;
}

/* === POPUP CENTRADO === */
.popup {
  position: fixed;
  width: 800px;
  height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url('../assets/anuncio-popup.png'); /* Ruta de tu imagen */
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.popup-content {
  background-color: rgba(255, 255, 255, 0.93);
  border-radius: 12px;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  text-align: center;
}

.popup h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-popup {
  display: block;
  background-color: #d32f2f;
  color: white;
  padding: 0.75rem;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.2s;
}

.btn-popup:hover {
  background-color: #b71c1c;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 50%;
  transition: background 0.3s;
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.hidden {
  display: none;
}

