@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Unbounded:wght@200..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: #f6f5f5 !important;
  color: #555555 !important;
  line-height: 1.6;
}

.tagplan {
  font-family: "Unbounded", sans-serif !important;
  color: #ff3e00 !important;
}

/* Encabezados */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Unbounded", sans-serif !important;
  margin-bottom: 1rem;
  font-weight: bold;
  color: #333 !important;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

/* Párrafos y texto */
p {
  margin-bottom: 1rem;
}

/* Enlaces */
a {
  color: #333;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Listas */
ul,
ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* card */
.card-promo {
  max-width: 400px;
  border: 2px solid #0066cc;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-promo img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}

/* Estilos base para las cards */
.cards-container {
  display: grid;
  gap: 2rem;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 1rem;
}

.card-title {
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #0177ff;
}

.card-title a {
  font-family: "Unbounded", sans-serif !important;
}

.card-title a:hover {
  color: #ff3e00 !important;
  text-decoration: none !important;
}

.card-info-add a:hover {
  color: #ff3e00;
  text-decoration: none;
}

.card-text {
  color: #666;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.card-link {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.card-link:hover {
  background-color: #ff3e00;
  text-decoration: none;
}

.card-btn-oferta {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  position: absolute;
  margin-top: 20px;
  margin-left: 20px;
}

.o-promo {
  background-color: #e9f1ed !important;
  color: #00764a;
  border: 1px solid #00764a;
}

.o-happy {
  background-color: #ffd93d !important;
  color: #333 !important;
  border: 1px solid #333;
}

/* Versión móvil - 1 columna */
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .card-content {
    padding: 1.25rem;
  }
}

/* Versión desktop - 3 columnas */
@media (min-width: 769px) {
  .cards-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Opcional: Para tablets (2 columnas) */
@media (min-width: 481px) and (max-width: 768px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
