/* Components & UI Elements */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family-base);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  line-height: 1.2;
  color: #ffffff !important;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff !important;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #1f2937;
  background-color: #5ba6c9;
  color: #ffffff !important;
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #1f2937;
  color: #ffffff !important;
}

.btn-secondary {
  background-color: #dfa56f;
  color: #ffffff !important;
  box-shadow: var(--shadow-btn);
}

.btn-secondary:hover,
.btn-secondary:focus {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0px #1f2937;
  color: #ffffff !important;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

/* Hero Section & Stacked Cards Area */
.mdw-stacked-card-area {
  --card-scroll-height: 400;
  --card-rotate: 8;
  position: relative;
  width: 100%;
}

.hero-sticky-container {
  position: sticky;
  top: 95px; /* Below the 95px sticky header */
  min-height: calc(100vh - 95px);
  display: flex;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.hero-grid-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
}

.hero-left-content {
  max-width: 540px;
}

.hero-left-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  color: #1a202c;
}

.hero-left-content p {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-left-content p b {
  color: #1a202c;
  font-weight: 700;
}

.hero-social-row {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}

.hero-social-link {
  color: #1a202c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, color 0.15s ease;
}

.hero-social-link:hover {
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.hero-social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Stacked Cards Area */
.mdw-stacked-cards {
  position: relative;
  width: 380px;
  height: 380px;
  margin: 0 auto;
}

.mdw-card {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 350px;
  height: 350px;
  border-radius: 34px;
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  transform-origin: center center;
  transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
  user-select: none;
  cursor: default;
}

.mdw-card .card-topic {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: left;
}

.mdw-card .card-main-title {
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.15;
  color: #1a202c;
  letter-spacing: -0.03em;
  text-align: left;
}

/* Card Individual Background Colors */
.card-blue {
  background-color: #71BED8;
}

.card-pink {
  background-color: #FF7582;
}

.card-orange {
  background-color: #FFC57E;
}

.card-yellow {
  background-color: #E7E77A;
}

/* Active card sliding up and away */
.mdw-card.mdw-active-card {
  transform: translateY(-100vh) rotate(-60deg) !important;
  transition: 1s;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Section 2: "Somos un equipo experimentado" (Matching Screenshot 2) */
.team-intro-section {
  padding: 7rem 0;
}

.team-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.team-intro-image-box {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.team-intro-image-box img.bg-photo {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.team-intro-text h2 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: #1a202c;
}

.team-intro-text p {
  font-size: 1.12rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.team-intro-text p b, .team-intro-text p strong {
  color: #1a202c;
  font-weight: 700;
}

/* Section 3: "Nuestros valores para la terapia" (Matching Screenshot 3) */
.values-section {
  padding: 7rem 0;
}

.values-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.values-card-item {
  border-radius: 28px;
  padding: 2.75rem 2.25rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.values-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.values-card-item h3 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: #1a202c;
}

.values-card-item p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
}

/* Row 1 specific gradients */
.val-esperanza {
  background: radial-gradient(at top right, #D2CADA 43%, #E1E5F5 77%);
}

.val-colaboracion {
  background: linear-gradient(180deg, #81cdf0 0%, #D4EBF5 65%, #E8F5E9 100%);
}

.val-minimalismo {
  background: linear-gradient(180deg, #FFF4D1 0%, #FFE5D9 100%);
}

/* Row 2 specific gradients */
.val-propositivos {
  background: linear-gradient(135deg, #FFDADA 0%, #FFD6DE 100%);
}

.val-nonormativos {
  grid-column: span 2;
  background: linear-gradient(180deg, #71BED8 0%, #BFE3EE 50%, #E5F4F8 100%);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin-bottom: 1rem;
}

/* Problems Grid */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.problem-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.problem-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.problem-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  display: block;
}

.problem-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.problem-card p {
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.review-author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #eef6f9;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-author-name {
  font-size: 1.15rem;
  font-weight: 700;
}

.review-therapist-badge {
  font-size: 0.85rem;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.review-quote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  flex: 1;
}

/* Team Grid */
.team-leader-container {
  max-width: 460px;
  margin: 0 auto 3.5rem auto;
}

.team-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.team-grid-single-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-grid-single-bottom .team-card {
  grid-column: 2;
}

.team-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.team-card-photo {
  width: 100%;
  height: 270px;
  overflow: hidden;
  background-color: var(--color-bg-alt);
  position: relative;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f7fa 0%, #e2eff5 100%);
}

.team-card-placeholder .placeholder-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.team-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.team-card-role {
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.team-card-desc {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.team-card-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}

.team-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #f3f4f6;
  color: var(--color-text-main);
  transition: all 0.15s ease;
}

.team-social-link:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.team-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Formación Feature Rows & Media */
.formacion-feature-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 5.5rem;
}

.formacion-feature-row.reversed {
  grid-template-columns: 1.15fr 1fr;
}

.formacion-img-card {
  width: 100%;
  max-width: 460px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.formacion-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.formacion-text-content h2 {
  font-size: clamp(2.2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.formacion-text-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 1.5rem;
}

.formacion-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.formacion-bullets li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #1f2937;
}

.formacion-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.4rem;
  color: #111827;
}

.formacion-group-banner {
  width: 100%;
  max-width: 960px;
  margin: 1rem auto 5rem auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.formacion-group-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 860px) {
  .formacion-feature-row,
  .formacion-feature-row.reversed {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: left;
  }
  
  .formacion-feature-row.reversed .formacion-img-col {
    order: -1;
  }

  .formacion-img-card {
    max-width: 380px;
    margin: 0 auto;
  }
}

/* Formación Hub Cards */
.formacion-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.formacion-hub-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.formacion-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.formacion-hub-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: var(--color-bg-alt);
  position: relative;
}

.formacion-hub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.formacion-hub-card:hover .formacion-hub-img img {
  transform: scale(1.03);
}

.formacion-hub-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.formacion-hub-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.formacion-hub-body h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.85rem;
}

.formacion-hub-body p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4b5563;
  margin-bottom: 1.75rem;
}

@media (max-width: 991px) {
  .formacion-hub-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Por qué formarte en el CPB Split Layout */
.why-cpb-section {
  background-color: var(--color-bg-alt);
  padding: 6rem 0;
}

.why-cpb-split {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: start;
}

.why-cpb-left {
  position: sticky;
  top: 6.5rem;
}

.why-cpb-left h2 {
  font-size: clamp(2.2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
}

.why-cpb-left p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.why-cpb-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-cpb-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-cpb-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: #cbd5e1;
}

.why-cpb-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.why-cpb-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

.why-cpb-card p a {
  color: var(--color-text-main);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.why-cpb-card p a:hover {
  color: var(--color-secondary);
}

@media (max-width: 991px) {
  .why-cpb-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-cpb-left {
    position: static;
    text-align: left;
  }
}

/* Online Course Cards Grid (Matching User Screenshot Layout) */
.online-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4.5rem;
}

.online-course-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.online-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

.online-course-cover {
  position: relative;
  width: 100%;
  height: 210px;
  padding: 1.25rem 1.25rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.cover-gradient-1 {
  background: linear-gradient(135deg, #e0f4fc 0%, #ccebf7 50%, #b3def0 100%);
}

.cover-gradient-2 {
  background: linear-gradient(135deg, #edf2f7 0%, #dbe4ec 50%, #c4d4e2 100%);
}

.cover-gradient-3 {
  background: linear-gradient(135deg, #e8f7f5 0%, #d1f0eb 50%, #b3e6dd 100%);
}

.online-course-cover-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  z-index: 2;
}

.online-course-icon-circle-small {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.95);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.online-course-card:hover .online-course-icon-circle-small {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.online-course-icon-circle-small .course-canvas-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.online-course-cover-bottom-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  z-index: 2;
}

.badge-cover-level {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.88);
  color: #1e293b;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.badge-cover-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-cover-duration svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  opacity: 0.8;
}

.badge-cover-pill.price {
  font-weight: 800;
  font-size: 0.78rem;
  color: #0369a1;
  background: #ffffff;
  border: 1px solid rgba(125, 211, 252, 0.6);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  letter-spacing: 0.03em;
}

.online-course-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.online-course-title {
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.32;
  color: #111827;
  margin-bottom: 0.75rem;
}

.online-course-desc {
  font-size: 0.93rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Instructors row (Screenshot element 4) */
.online-course-instructors {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid #f3f4f6;
}

.online-course-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.online-course-instructor-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #4b5563;
}

/* Action Button (Screenshot element 5) */
.online-course-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  background-color: var(--color-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  box-shadow: var(--shadow-btn);
  transition: all 0.15s ease;
}

.online-course-btn.disabled,
.online-course-btn[disabled] {
  background-color: #f1f5f9;
  color: #94a3b8 !important;
  box-shadow: none;
  cursor: not-allowed;
  border: 1px solid #e2e8f0;
}

.online-course-btn.disabled:hover,
.online-course-btn[disabled]:hover {
  transform: none;
  box-shadow: none;
  background-color: #f1f5f9;
  color: #94a3b8 !important;
}

.online-course-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform 0.15s ease;
}

.online-course-btn:hover svg {
  transform: translateX(3px);
}

@media (max-width: 991px) {
  .online-courses-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Online Course Steps ("Cómo funcionan los cursos") */
.course-steps-section {
  margin-top: 5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.course-steps-header {
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.course-steps-header h2 {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
  margin-bottom: 1rem;
}

.course-steps-header p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #4b5563;
}

.course-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.course-step-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem 1.6rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease;
}

.course-step-card:hover {
  transform: translateY(-3px);
}

.course-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(110, 181, 212, 0.15);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.course-step-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.course-step-card p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

@media (max-width: 991px) {
  .course-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .course-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Accordions */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.accordion-item.active {
  border-color: var(--color-primary);
}

.accordion-header {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-family-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  text-align: left;
  cursor: pointer;
}

.accordion-icon {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: #ffffff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content-inner {
  padding: 0 1.75rem 1.5rem;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* CTA Banner (Matching Screenshot 3) */
.section-cta-banner {
  background-color: #ebf2f9;
  padding: 5rem 0;
}

.cta-banner-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.cta-banner-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 1.25rem;
}

.cta-banner-text {
  font-size: 1.08rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 2.25rem;
}

/* White Pill Button with Offset Shadow */
.btn-pill-white {
  background-color: #ffffff;
  color: #1a202c !important;
  font-family: var(--font-family-base);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid #1a202c;
  border-radius: var(--radius-full);
  padding: 0.75rem 2.4rem;
  box-shadow: 4px 4px 0px #1a202c;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.btn-pill-white:hover,
.btn-pill-white:focus {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0px #1a202c;
  background-color: #ffffff;
  color: #1a202c !important;
}

.btn-pill-white:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #1a202c;
  color: #1a202c !important;
}

/* Models List (Matching Screenshot 2) */
.models-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.models-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #374151;
}

.models-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -0.1rem;
  font-size: 1.5rem;
  color: #1a202c;
}

.models-list li strong,
.models-list li b {
  color: #1a202c;
  font-weight: 700;
}

.faq-category-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #1a202c;
  margin: 2.75rem auto 1.25rem auto;
  max-width: 860px;
  text-align: left;
}

/* Contact Layout & Form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.5rem 0 0 0;
  box-shadow: none;
}

.contact-info-card h1 {
  font-size: clamp(2.2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #eef6f9;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-info-text .label {
  font-size: 0.82rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-info-text .value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.form-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 1rem;
  color: var(--color-text-main);
  outline: none;
  transition: border-color 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-primary-dark);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fff8f8 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.form-alert {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  font-size: 0.95rem;
  display: none;
  line-height: 1.6;
}

.form-alert.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
}

.form-alert.success {
  display: block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #22c55e;
  padding: 1.25rem 1.4rem;
}

.map-frame-wrapper-left {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border);
  height: 280px;
  width: 100%;
  margin-top: 1.75rem;
}

.map-frame-wrapper-left iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-frame-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  height: 400px;
  width: 100%;
  margin-top: 2rem;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive (Mobile & Tablets) */
@media (max-width: 991px) {
  .hero-sticky-container {
    position: sticky;
    top: 95px;
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-grid-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .hero-left-content {
    max-width: 500px;
    margin: 0 auto;
  }

  .hero-left-content h1 {
    font-size: 2.1rem;
    margin-bottom: 1rem;
  }

  .hero-left-content p {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .hero-social-row {
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .hero-left-content .btn {
    margin-bottom: 1rem;
  }

  .mdw-stacked-card-area {
    --card-scroll-height: 350;
    --card-rotate: 8;
  }

  .mdw-stacked-cards {
    position: relative;
    width: 290px;
    height: 290px;
    margin: 3.5rem auto 1.5rem auto;
  }

  .mdw-card {
    width: 270px;
    height: 270px;
    padding: 26px 24px;
    border-radius: 28px;
    top: 10px;
    left: 10px;
    transform-origin: center center;
  }

  .mdw-card .card-topic {
    font-size: 1.1rem;
  }

  .mdw-card .card-main-title {
    font-size: 1.8rem;
  }

  .team-intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .team-intro-text {
    max-width: 520px;
    margin: 0 auto;
  }

  .values-cards-grid {
    grid-template-columns: 1fr;
  }

  .val-nonormativos {
    grid-column: span 1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .team-grid-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .team-grid-single-bottom {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .team-grid-single-bottom .team-card {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .team-grid-row {
    grid-template-columns: 1fr;
  }

  .team-grid-single-bottom {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-left-content h1 {
    font-size: 1.8rem;
  }

  .mdw-stacked-cards {
    width: 260px;
    height: 260px;
    margin: 3rem auto 1.5rem auto;
  }

  .mdw-card {
    width: 245px;
    height: 245px;
    padding: 22px 20px;
    border-radius: 24px;
    top: 7px;
    left: 7px;
  }

  .mdw-card .card-topic {
    font-size: 0.95rem;
  }

  .mdw-card .card-main-title {
    font-size: 1.5rem;
  }
}

/* Home: Formación Section */
.home-formacion-section {
  padding: 6.5rem 0;
  background-color: #ffffff;
}

.home-formacion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.home-formacion-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.home-formacion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary);
}

.home-formacion-badge-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.home-formacion-pill {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: rgba(110, 181, 212, 0.12);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  line-height: 1.2;
}

.home-formacion-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.home-formacion-card p {
  font-size: 0.98rem;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.home-formacion-link-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.15s ease;
}

.home-formacion-card:hover .home-formacion-link-text {
  gap: 0.6rem;
}

/* Home: Dual CTA Banner Section (Wide Elongated Format Matching Reference) */
.dual-cta-section {
  padding: 6.5rem 0 6.5rem;
  background-color: var(--color-bg-page);
}

.dual-cta-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.dual-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.dual-cta-card {
  border-radius: 26px;
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  min-height: 280px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.dual-cta-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* Card 1: Terapia (Colaboración Gradient) */
.dual-cta-terapia {
  background: linear-gradient(180deg, #81cdf0 0%, #D4EBF5 65%, #E8F5E9 100%);
  color: #0c4a6e;
  border: 1px solid rgba(129, 205, 240, 0.4);
}

.dual-cta-terapia .dual-cta-title {
  color: #07364f;
}

/* Card 2: Formación (Minimalismo Gradient) */
.dual-cta-formacion {
  background: linear-gradient(180deg, #FFF4D1 0%, #FFE5D9 100%);
  color: #633324;
  border: 1px solid rgba(255, 229, 217, 0.6);
}

.dual-cta-formacion .dual-cta-title {
  color: #451e12;
}

.dual-cta-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.dual-cta-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.dual-cta-icon-box svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.dual-cta-top-text {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  max-width: 480px;
}

.dual-cta-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 5rem;
}

.dual-cta-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  transition: opacity 0.15s ease;
}

.dual-cta-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dual-cta-arrow svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.dual-cta-card:hover .dual-cta-arrow {
  transform: translateX(8px);
}

@media (max-width: 991px) {
  .home-formacion-section {
    padding: 4.5rem 0;
  }

  .home-formacion-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 520px;
    margin: 0 auto;
  }

  .home-formacion-card {
    padding: 2rem 1.75rem;
  }

  .dual-cta-section {
    padding: 4.5rem 0 4.5rem;
  }

  .dual-cta-container {
    padding: 0 1.25rem;
  }

  .dual-cta-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .dual-cta-card {
    padding: 2.25rem 2rem;
    min-height: 220px;
  }

  .dual-cta-bottom {
    margin-top: 3rem;
  }
}

@media (max-width: 480px) {
  .home-formacion-card {
    padding: 1.75rem 1.4rem;
  }

  .home-formacion-card h3 {
    font-size: 1.22rem;
  }

  .dual-cta-card {
    padding: 1.85rem 1.5rem;
  }

  .dual-cta-title {
    font-size: 1.65rem;
  }
}

/* ==========================================================================
   Preinscripción Button & Dynamic State
   ========================================================================== */
.preinscripcion-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.preinscripcion-note {
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0;
  max-width: 340px;
}

.preinscripcion-note.closed {
  color: #64748b;
}

.preinscripcion-note.open {
  color: #065f46;
  font-weight: 500;
}

.btn-preinscripcion.btn-disabled {
  background-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  border-color: #cbd5e1 !important;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: none;
}

/* ==========================================================================
   Editorial Reading Page: Programa Docente (programa-experto.html)
   ========================================================================== */
.program-hero {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 4.5rem 0 3.5rem;
}

.program-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.program-back-link:hover {
  color: var(--color-primary-dark);
}

.program-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.program-pill {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: var(--color-bg-alt);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.program-pill.primary {
  background: rgba(136, 178, 192, 0.15);
  color: var(--color-primary-dark);
  border-color: rgba(136, 178, 192, 0.3);
}

.program-pill.blue-highlight {
  background: #ffffff;
  color: #0369a1;
  border: 1.5px solid #7dd3fc;
  box-shadow: 0 2px 10px rgba(3, 105, 161, 0.08);
  font-weight: 700;
}

.program-pill.accent {
  background: rgba(223, 165, 111, 0.15);
  color: #9a4b08;
  border-color: rgba(223, 165, 111, 0.3);
}

.program-hero-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 1.25rem;
  max-width: 900px;
}

.program-hero-desc {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #475569;
  max-width: 780px;
  margin-bottom: 2rem;
}

.program-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4.5rem;
  align-items: start;
  padding: 4rem 0 6rem;
}

/* Sticky Index / Sidebar Navigation */
.program-sidebar {
  position: sticky;
  top: 6.5rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.program-sidebar-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.program-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.program-nav-link {
  display: block;
  font-size: 0.92rem;
  color: #475569;
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.program-nav-link:hover,
.program-nav-link.active {
  color: var(--color-primary-dark);
  background: rgba(136, 178, 192, 0.12);
  font-weight: 600;
}

/* Main Editorial Content */
.program-content {
  max-width: 780px;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #334155;
}

.program-content > section {
  margin-top: 4.5rem;
  padding-top: 1rem;
}

.program-content > section:first-of-type {
  margin-top: 0;
  padding-top: 0;
}

.program-content h2 {
  font-size: 1.95rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-top: 0;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
  scroll-margin-top: 7rem;
}

.program-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.015em;
  scroll-margin-top: 7rem;
}

.program-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #334155;
  margin-top: 1.75rem;
  margin-bottom: 0.85rem;
}

.program-content p {
  margin-bottom: 1.6rem;
}

.program-content p:last-child {
  margin-bottom: 0;
}

.program-list {
  margin: 0 0 1.5rem 0;
  padding-left: 1.4rem;
}

.program-list li {
  margin-bottom: 0.65rem;
  line-height: 1.7;
}

.program-list ul, .program-list ol {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  padding-left: 1.2rem;
}

/* Callout & Highlights */
.program-callout {
  background: #f8fafc;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.program-callout .callout-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.program-callout .callout-text {
  font-size: 1rem;
  line-height: 1.65;
  color: #334155;
}

.program-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 2.5rem;
}

.program-feature-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.program-feature-card h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.program-feature-card p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* Responsiveness */
@media (max-width: 991px) {
  .program-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem 0 4rem;
  }

  .program-sidebar {
    position: static;
    margin-bottom: 1.5rem;
  }
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 460px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  padding: 1.5rem 1.6rem;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: none;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.cookie-banner-text p {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 1.25rem 0;
}

.cookie-banner-text a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
    padding: 1.25rem;
  }
  
  .cookie-banner-actions {
    flex-direction: column-reverse;
  }
  
  .cookie-banner-actions button {
    width: 100%;
  }
}


