/* =========================================================
   BADGES DE PROMOCIÓN
   ========================================================= */
.promo-badge {
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.85em;
  letter-spacing: 0.3px;
}

.badge-promocionado {
  background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(255, 152, 0, 0.3);
}

.badge-pagado {
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
}

.badge-patrocinado {
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(33, 150, 243, 0.3);
}

.promo-badge i {
  margin-right: 4px;
  font-size: 0.9em;
  color:#cbd5e1;
}

.promo-badge:hover {
  transform: translateY(-1px);
  transition: transform 0.2s ease;
}

/* =========================================================
   ARTÍCULOS DE BLOG CASA POLSKA
   ========================================================= */
.cp-blog-section {
  background-color: #f3f4f6;
  padding: 2rem 1rem;
}

.cp-blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cp-blog-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cp-blog-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.cp-blog-header .cp-blog-subtitle {
  font-size: 1rem;
  color: #4b5563;
}

.cp-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cp-blog-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cp-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.cp-blog-thumb img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 200px;
  transition: transform 0.3s ease;
}

.cp-blog-thumb img:hover {
  transform: scale(1.05);
}

.cp-blog-content {
  padding: 1rem 1rem 1.5rem;
}

.cp-blog-meta {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.cp-blog-meta time,
.cp-blog-meta .cp-blog-author {
  display: inline-block;
}

.cp-blog-author {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cp-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #3498db;
  vertical-align: middle;
  margin-right: 6px;
}

.cp-blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.25rem 0 0.5rem;
  color: #111827;
}

.cp-blog-title a {
  text-decoration: none;
  color: inherit;
}

.cp-blog-title a:hover {
  color: #2563eb;
}

.cp-blog-excerpt {
  font-size: 1rem;
  line-height: 1.5;
  color: #374151;
  margin-bottom: 1rem;
}

.cp-blog-readmore {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

@media (min-width: 640px) {
  .cp-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cp-blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================================================
   CTA AGENDA CITA
   ========================================================= */
.cp-visita {
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.cp-visita::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    -45deg,
    var(--bg-color-1, #667eea),
    var(--bg-color-2, #764ba2),
    var(--bg-color-3, #f093fb),
    var(--bg-color-4, #4facfe)
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: 0;
}

.cp-visita::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cp-visita-contenedor {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cp-visita-texto {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cp-visita-titulo {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  display: inline-block;
  padding: 1rem 2rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
}

.cp-visita-titulo::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 20px;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  z-index: -1;
  animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.cp-visita-titulo i {
  margin-right: 0.8rem;
  font-size: 1.8rem;
  vertical-align: middle;
}

.cp-visita-subtitulo {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #fff;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
  max-width: 600px;
  margin: 0 auto;
}

.cp-visita-boton {
  display: flex;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.btn-agendar {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.2rem 2.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--btn-text-color, #ffffff);
  background: var(--btn-color, #ff6f61);
  border-radius: 50px;
  text-decoration: none;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.3),
    0 5px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-agendar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  animation: shine 4s infinite;
  animation-delay: 1s;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}

.btn-agendar:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-agendar:active {
  transform: translateY(-1px) scale(1.02);
}

.btn-agendar i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.btn-agendar:hover i {
  transform: rotate(15deg) scale(1.1);
}

@media (max-width: 767px) {
  .cp-visita {
    padding: 3rem 1rem;
    min-height: 250px;
  }

  .cp-visita-contenedor {
    gap: 1.5rem;
  }

  .cp-visita-titulo {
    font-size: 1.6rem;
    padding: 0.8rem 1.5rem;
  }

  .cp-visita-titulo i {
    font-size: 1.4rem;
  }

  .cp-visita-subtitulo {
    font-size: 1rem;
  }

  .btn-agendar {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cp-visita-contenedor {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }

  .cp-visita-texto {
    flex: 1;
    padding-right: 2rem;
  }

  .cp-visita-subtitulo {
    margin: 0;
  }

  .cp-visita-boton {
    flex: 0 0 auto;
  }
}

@media (min-width: 1024px) {
  .cp-visita {
    padding: 5rem 2rem;
  }

  .cp-visita-contenedor {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }

  .cp-visita-texto {
    flex: 1;
    padding-right: 3rem;
  }

  .cp-visita-subtitulo {
    margin: 0;
  }

  .cp-visita-boton {
    flex: 0 0 auto;
  }

  .cp-visita-titulo {
    font-size: 2.5rem;
  }

  .cp-visita-subtitulo {
    font-size: 1.25rem;
  }
}

