/* Estilos para la seccion de cursos */
.cursos-hero {
  position: relative;
  overflow: hidden;
  padding-top: 76px;
  padding-bottom: 34px;
  background:
    radial-gradient(circle at top left, rgba(212, 140, 11, 0.2), transparent 34%),
    linear-gradient(135deg, #fff8e8 0%, #fffdf8 48%, #f7efe4 100%);
}

.cursos-hero::before,
.cursos-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.cursos-hero::before {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -80px;
  background: rgba(74, 49, 7, 0.06);
}

.cursos-hero::after {
  width: 220px;
  height: 220px;
  bottom: -90px;
  left: -40px;
  background: rgba(212, 140, 11, 0.1);
}

.cursos-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.cursos-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(74, 49, 7, 0.12);
  color: #4A3107;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cursos-hero__title {
  margin-bottom: 18px;
  max-width: 12ch;
  text-align: left;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 1.02;
}

.cursos-hero__title::after {
  left: 0;
  transform: none;
}

.cursos-subtitle {
  max-width: 700px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #5b5b5b;
}

.cursos-hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.cursos-hero__highlights article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(74, 49, 7, 0.08);
  box-shadow: 0 14px 35px rgba(74, 49, 7, 0.06);
}

.cursos-hero__highlights strong {
  display: block;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #4A3107;
}

.cursos-hero__highlights span {
  color: #666;
  font-size: 0.92rem;
}

.cursos-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cursos-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #4A3107;
  font-size: 0.92rem;
  font-weight: 600;
}

.cursos-hero__panel {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(160deg, #4A3107 0%, #2f1f04 100%);
  color: #fff8eb;
  box-shadow: 0 22px 50px rgba(74, 49, 7, 0.22);
}

.cursos-panel__eyebrow {
  margin-bottom: 18px;
  color: rgba(255, 248, 235, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cursos-panel__items {
  display: grid;
  gap: 16px;
}

.cursos-panel__items article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 248, 235, 0.12);
}

.cursos-panel__items article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cursos-panel__items i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffd07a;
}

.cursos-panel__items h2 {
  margin-bottom: 6px;
  font-size: 1.02rem;
  color: #fff;
}

.cursos-panel__items p {
  color: rgba(255, 248, 235, 0.82);
  line-height: 1.7;
  font-size: 0.94rem;
}

.cursos-overview {
  padding-top: 18px;
  padding-bottom: 24px;
}

.cursos-overview__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

.cursos-overview__card {
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #ebe3d7;
  box-shadow: 0 10px 30px rgba(74, 49, 7, 0.06);
}

.cursos-overview__card--accent {
  background: linear-gradient(160deg, #fff7e8 0%, #fff 100%);
}

.cursos-overview__label,
.cursos-browser__eyebrow,
.cursos-bottom-cta__eyebrow {
  margin-bottom: 10px;
  color: #D48C0B;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cursos-overview__card h2,
.cursos-browser__header h2,
.cursos-bottom-cta__box h2,
.cursos-cities-block__head h3 {
  color: #4A3107;
  line-height: 1.15;
}

.cursos-overview__card h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.cursos-overview__card p {
  color: #575757;
  line-height: 1.75;
}

.cursos-overview__list {
  margin: 0;
  padding-left: 18px;
  color: #555;
  line-height: 1.8;
}

.cursos-overview__list--steps li::marker {
  color: #D48C0B;
  font-weight: 700;
}

.cursos-browser {
  padding-top: 20px;
}

.cursos-browser__header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 20px;
}

.cursos-browser__header h2 {
  font-size: 2rem;
}

.cursos-browser__copy,
.cursos-cities-block__head p,
.cursos-results-head__note,
.cursos-bottom-cta__box p {
  color: #616161;
  line-height: 1.7;
}

.cursos-controls--panel {
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid #ece3d5;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #fff9f0 100%);
  box-shadow: 0 10px 28px rgba(74, 49, 7, 0.05);
}

.cursos-filter-grid {
  grid-template-columns: minmax(240px, 1.3fr) repeat(4, minmax(160px, 1fr));
}

.cursos-filter-grid__search {
  min-width: 0;
}

.cursos-filter-note {
  margin-top: -2px;
  margin-bottom: 18px;
  color: #6a6a6a;
  font-size: 0.93rem;
}

.cursos-cities-block {
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #ece3d5;
}

.cursos-cities-block__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.cursos-results-section {
  padding-bottom: 26px;
}

.cursos-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.cursos-bottom-cta {
  padding-top: 12px;
}

.cursos-bottom-cta__box {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff0cf 0%, #fff8ec 55%, #ffffff 100%);
  border: 1px solid #efd8a8;
}

.cursos-bottom-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cursos-city-overview {
  padding-top: 18px;
  padding-bottom: 22px;
}

.cursos-city-overview__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.cursos-city-overview__card {
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #ebe3d7;
  box-shadow: 0 12px 28px rgba(74, 49, 7, 0.06);
}

.cursos-city-overview__card--accent {
  background: linear-gradient(155deg, #fff8ea 0%, #ffffff 100%);
}

.cursos-city-overview__label {
  margin-bottom: 10px;
  color: #D48C0B;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cursos-city-overview__card h2,
.cursos-city-overview__card h3 {
  color: #4A3107;
  line-height: 1.18;
}

.cursos-city-overview__card h2 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.cursos-city-overview__card p,
.cursos-city-overview__card li {
  color: #5b5b5b;
  line-height: 1.75;
}

.cursos-city-overview__list {
  margin: 0;
  padding-left: 18px;
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin: 40px 0;
}
.curso-card {
  background: #fff;
  border: 1px solid #e6e2d8;
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(30,16,3,0.06);
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.curso-card:hover {
  box-shadow: 0 20px 40px rgba(212,140,11,0.14);
  border-color: rgba(212, 140, 11, 0.28);
  transform: translateY(-6px);
}
.curso-titulo {
  font-size: 1.18rem;
  font-weight: 700;
  color: #1E1003;
  margin-bottom: 6px;
}
.curso-meta {
  font-size: .98rem;
  color: #D48C0B;
  margin-bottom: 4px;
}
.curso-centro {
  font-size: .95rem;
  color: #4A3107;
  margin-bottom: 4px;
}
.curso-descripcion {
  font-size: .97rem;
  color: #444;
  margin-bottom: 10px;
}

.curso-card__price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff5df;
  color: #4A3107;
}

.curso-card__price::before {
  content: "Precio";
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a6a0c;
}
.btn.btn-primary {
  background: #D48C0B;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background .2s;
}
.btn.btn-primary:hover {
  background: #b97a0a;
}

.city-guide {
  margin: 0 0 22px;
}

.city-detail-content {
  background: linear-gradient(165deg, #fffaf0 0%, #fff 55%);
  border: 1px solid #ece4d5;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(74, 49, 7, 0.07);
}

.city-guide-intro h2 {
  font-size: 1.45rem;
  color: #4A3107;
  margin-bottom: 10px;
}

.city-guide-intro p {
  color: #4e4e4e;
  line-height: 1.75;
}

.city-guide-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.city-guide-stats article {
  background: #fff;
  border: 1px solid #ece4d5;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.city-guide-stats span {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #4A3107;
}

.city-guide-stats small {
  color: #6f6f6f;
  font-size: 0.84rem;
}

.city-guide-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.city-guide-card {
  background: #fff;
  border: 1px solid #ece4d5;
  border-radius: 12px;
  padding: 14px;
}

.city-guide-card h3 {
  color: #4A3107;
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.city-guide-card ul {
  margin: 0;
  padding-left: 18px;
  color: #505050;
  line-height: 1.65;
}

.city-guide-note {
  margin-top: 12px;
  background: #fff;
  border: 1px dashed #d6b779;
  border-radius: 12px;
  padding: 12px 14px;
}

.city-guide-note p {
  margin: 0 0 8px;
  line-height: 1.65;
  color: #4e4e4e;
}

.city-guide-note p:last-child {
  margin-bottom: 0;
}

.city-faq {
  margin-top: 14px;
}

.city-faq h3 {
  color: #4A3107;
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.city-faq-item {
  background: #fff;
  border: 1px solid #ece4d5;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.city-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: #4A3107;
}

.city-faq-item p {
  margin-top: 8px;
  color: #555;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .cursos-hero__layout,
  .cursos-city-overview__grid,
  .cursos-overview__grid,
  .cursos-bottom-cta__box {
    grid-template-columns: 1fr;
  }

  .cursos-browser__header,
  .cursos-cities-block__head,
  .cursos-results-head {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 768px) {
  .cursos-hero {
    padding-top: 52px;
  }

  .cursos-hero__title {
    max-width: none;
    font-size: 2.45rem;
  }

  .cursos-hero__highlights {
    grid-template-columns: 1fr;
  }

  .cursos-hero__panel,
  .cursos-city-overview__card,
  .cursos-overview__card,
  .cursos-cities-block,
  .cursos-bottom-cta__box,
  .city-detail-content {
    padding: 18px;
  }

  .cursos-filter-grid {
    grid-template-columns: 1fr;
  }

  .cursos-bottom-cta__actions {
    width: 100%;
  }

  .cursos-bottom-cta__actions .btn {
    width: 100%;
  }

  .city-guide-intro h2 {
    font-size: 1.25rem;
  }
}
