/* precios.css */

/* Contenedor general */
.price-section {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fafafa;
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
  color: #222;
}

/* Wrapper para control ancho */
.price-wrapper {
  overflow: hidden;
}

/* Títulos */
.price-top-label {
  font-weight: 700;
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.price-main-title {
  font-weight: 900;
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: #111;
  user-select: none;
  line-height: 1.2;
}

/* Tabs list container */
.price-tablist {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  border-bottom: 3px solid #ddd;
  padding-left: 0;
  list-style: none;
}

/* Tab item */
.price-tabitem {
  margin: 0;
}

/* Botones de tabs */
.price-tabbtn {
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 10px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #777;
  border-radius: 6px 6px 0 0;
  transition: 
    color 0.3s ease, 
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  outline-offset: 2px;
  user-select: none;
}

.price-tabbtn:hover,
.price-tabbtn:focus {
  color: #222;
  background-color: #eee;
  outline: none;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}

.price-tabbtn--active {
  color: white;
  background-color: #005f73;
  box-shadow: inset 0 -3px 0 0 #0a9396;
  font-weight: 700;
  cursor: default;
  user-select: text;
}

/* Paneles */
.price-tabpanels {
  position: relative;
}

/* Cada panel */
.price-tabpanel {
  display: none;
  animation: fadeInTab 0.4s ease forwards;
  outline: none;
}

.price-tabpanel--active {
  display: block;
}

/* Animación para la transición */
@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Contenedor fila cards */
.price-cards-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* Tarjetas individuales */
.price-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.07);
  flex: 1 1 280px;
  max-width: 320px;
  padding: 35px 25px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  user-select: none;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgb(0 0 0 / 0.12);
}

/* Etiqueta / título de servicio */
.price-card-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 18px;
  line-height: 1.3;
  white-space: pre-line;
  user-select: text;
}

/* Precio destacado */
.price-card-price {
  font-weight: 900;
  font-size: 2.3rem;
  margin-bottom: 22px;
  color: #008891;
  user-select: text;
}

/* Lista de características */
.price-features-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
  text-align: left;
  color: #555;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.5;
}

.price-features-list li {
  margin-bottom: 7px;
  position: relative;
  padding-left: 22px;
}

.price-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0a9396;
  font-weight: 700;
  font-size: 1rem;
  top: 2px;
  user-select: none;
}

/* Botón de reservar */
.price-btn {
  align-self: center;
  background-color: #0a9396;
  color: white;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgb(10 147 150 / 0.35);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.price-btn:hover,
.price-btn:focus {
  background-color: #00707a;
  box-shadow: 0 8px 24px rgb(0 112 122 / 0.5);
  outline: none;
}

/* Responsive */
@media (max-width: 768px) {
  .price-cards-row {
    justify-content: center;
  }
  .price-card {
    max-width: 90vw;
    flex: 1 1 90vw;
  }
  .price-tabbtn {
    padding: 8px 14px;
    font-size: 1rem;
  }
}
