/* ==========================================================================
   Diseño de fondo artístico en acuarela editorial para páginas de venta
   Psicocreativo & Instituto AMI
   ========================================================================== */

body {
  background-color: #EBEADF;
  background-image:
    linear-gradient(180deg, rgba(251, 249, 243, 0.34) 0%, rgba(235, 234, 223, 0.42) 100%),
    url("./sales-bg-art.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Cabecera con efecto cristal */
.site-header {
  background-color: rgba(244, 242, 235, 0.82) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero editorial dejando lucir la acuarela de fondo */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(251, 249, 243, 0.32) 0%, rgba(235, 234, 223, 0.48) 100%) !important;
}

.hero-section > .container {
  position: relative;
  z-index: 1;
}

.hero-media {
  background-color: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 54px rgba(20, 34, 58, 0.14);
}

/* Secciones claras: transparentes con velo sutil para que el fondo se vea nítido */
.method-section,
.modules-section,
.testimonials-section {
  position: relative;
  background: linear-gradient(180deg, rgba(248, 246, 240, 0.46) 0%, rgba(235, 234, 223, 0.56) 100%) !important;
}

.syllabus-section,
.enroll-wrapper {
  position: relative;
  background: linear-gradient(180deg, rgba(232, 229, 217, 0.52) 0%, rgba(244, 242, 235, 0.48) 100%) !important;
}

.reviews-bar {
  background: rgba(250, 248, 243, 0.72) !important;
  backdrop-filter: blur(8px);
}

/* Tarjetas sobre el fondo artístico: limpias, luminosas y con excelente legibilidad */
.step-item,
.author-quote-card,
.syllabus-card,
.investment-card,
.calendar-box,
.module-item,
.purchase-section {
  background-color: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 36px rgba(24, 34, 52, 0.08);
}

.syllabus-right {
  background: linear-gradient(155deg, #1E4E8C 0%, #163B6B 100%) !important;
}

/* Secciones oscuras: azul noche profundo con destellos y constelación */
.quick-bar,
.problem-section,
.audience-section,
.closing-section,
.closing-banner {
  position: relative;
  overflow: hidden;
  background-color: #141A26 !important;
  background-image:
    radial-gradient(ellipse 55% 65% at 15% 18%, rgba(30, 78, 140, 0.55) 0%, transparent 62%),
    radial-gradient(ellipse 50% 60% at 88% 82%, rgba(139, 180, 231, 0.28) 0%, transparent 60%),
    radial-gradient(circle at 52% 0%, rgba(218, 198, 158, 0.16) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='%238BB4E7' fill-opacity='0.22'%3E%3Ccircle cx='28' cy='34' r='1.3'/%3E%3Ccircle cx='118' cy='22' r='1.6'/%3E%3Ccircle cx='192' cy='76' r='1.1'/%3E%3Ccircle cx='74' cy='112' r='1.3'/%3E%3Ccircle cx='164' cy='158' r='1.5'/%3E%3Ccircle cx='42' cy='188' r='1.1'/%3E%3C/g%3E%3Cg fill='none' stroke='%238BB4E7' stroke-opacity='0.09' stroke-width='0.9'%3E%3Ccircle cx='110' cy='110' r='84'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, #121824 0%, #171B22 52%, #152842 100%) !important;
  background-size: cover, cover, cover, 220px 220px, cover !important;
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }
}
