body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

h1, h2, h3, h4, h5, h6, .section-title, .card-title, .pricing-header h3, .hero-section .hero-content h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-section .hero-content {
  position: relative;
  z-index: 1;
  text-align: left;
  color: #fff;
  padding: 40px 24px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: #759ff0;
  margin: 16px 0;
  border-radius: 2px;
}

.hero-section .hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  text-align: left;
}

.hero-section .hero-content h1 span {
  color: #99c2e7;
}

.hero-section .hero-content .hero-text {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 1100px;
  margin: 20px auto 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  line-height: 1.6;
}

.hero-logo {
  max-width: 600px;
  height: auto;
  width: 100%;
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 280px;
  }
}

.badge-licenciatura { background: #dbeafe; color: #1d4ed8; }
.badge-maestria    { background: #fce7f3; color: #be185d; }
.badge-posgrado    { background: #d1fae5; color: #047857; }

.card {
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 4px !important;
  overflow: hidden;
  border: none !important;
  background: #fff !important;
  min-height: 200px;
  flex-direction: row !important;
}

.card:hover {
  transform: translateY(-2px);
}

.card-body {
  padding: 1.25rem !important;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #eee;
}

.card-img-hero {
  position: relative;
  width: 280px;
  min-width: 280px;
  height: auto;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  flex-shrink: 0;
}

.card-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.card-title-overlay {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  text-align: center;
  padding-bottom: 12px;
}

.card-title-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: #759ff0;
  border-radius: 2px;
}

.card-body small {
  font-size: 1.1rem !important;
}

.card-title {
  font-size: 1.6rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 1.2rem;
  text-align: justify;
  flex-grow: 1;
  padding-right: 4px;
  overflow-y: auto;
}

.card-desc::-webkit-scrollbar {
  width: 6px;
}

.card-desc::-webkit-scrollbar-track {
  background: transparent;
}

.card-desc::-webkit-scrollbar-thumb {
  background: #0d6efd;
  border-radius: 3px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-left: 4px solid #0070ff;
  height: 100%;
}

.info-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.info-card-body strong {
  display: block;
  font-size: 0.75rem;
  color: #0070ff;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.info-card-body p {
  margin: 0;
  font-weight: 600;
  color: #1a1a2e;
  font-size: 0.9rem;
  line-height: 1.4;
}

.msg-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #e91e63, #ab1639);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.msg-card-body {
  flex: 1;
  text-align: center;
}

.msg-card-body strong {
  display: block;
  font-size: 0.8rem;
  color: #e91e63;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.msg-card-body p {
  margin: 0;
  font-weight: 700;
  color: #1a1a2e;
  font-size: 1.05rem;
}

.section-bg-wrapper {
  width: 100%;
  padding: 0;
  margin-bottom: 0;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #1a1a2e;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: #6e82f0;
  border-radius: 2px;
  margin: 12px auto 0;
}



.section-blockquote {
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 20px 24px 20px 32px;
  background: #fff;
  border-left: 5px solid #e91e63;
  border-radius: 0 4px 4px 0;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: justify;
  color: #4b5563;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.section-blockquote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 3rem;
  color: #e91e63;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.section-sub {
  text-align: center;
  color: #4b5563;
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.section-divider {
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ba174e 20%, #e91e63 80%, transparent);
}



.nav-tabs {
  border-bottom: none;
  gap: 8px;
}

.nav-tabs .nav-link {
  border: 2px solid #000 !important;
  border-radius: 8px !important;
  font-size: 1rem;
  padding: 10px 20px !important;
  color: #6b7280 !important;
  background: transparent !important;
  transition: all 0.2s;
}

.nav-tabs .nav-link:hover {
  color: #fff !important;
  border-color: #000 !important;
  background: #000 !important;
}

.nav-tabs .nav-link.active {
  color: #fff !important;
  border-color: #000 !important;
  background: #000 !important;
}

.pricingTable {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.pricingTable:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.pricing-header {
  border-radius: 4px 4px 0 0;
}

.pricing-header h3 {
  font-size: 1.4rem !important;
  margin: 0;
  font-weight: 700;
}

.pricing-content {
  padding: 0;
}

.pricing-content .row {
  margin: 0;
}

.calendario-tabla {
  width: 100%;
  border-collapse: collapse;
}

.calendario-tabla tr {
  border-bottom: 1px solid #f0f0f0;
}

.calendario-tabla tr:last-child {
  border-bottom: none;
}

.td-label {
  width: 65%;
  padding: 14px 8px 14px 16px;
  font-size: 1.15rem;
  vertical-align: middle;
}

.td-valor {
  width: 35%;
  padding: 14px 16px 14px 8px;
  font-size: 1.15rem;
  font-weight: 600;
  vertical-align: middle;
  text-align: right;
  white-space: nowrap;
}

.w-65 {
  width: 65%;
}

.pricing-title {
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  padding: 16px 16px 8px;
  margin: 0;
}

.pricing-list {
  list-style: none;
  padding: 8px 16px 16px;
  margin: 0;
}

.pricing-list li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

.pricing-list li:last-child {
  border-bottom: none;
}

.alert-becas {
  background: #fef3e2;
  color: #8b5e3c;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border: none;
}

@media (max-width: 768px) {
  header .d-flex.gap-3 {
    display: none !important;
  }

  .card {
    flex-direction: column !important;
    min-height: auto;
  }

  .card-body .d-flex {
    flex-direction: column;
    gap: 6px;
  }

  .card-body .d-flex .btn {
    width: 100%;
  }

  .card-img-hero {
    width: 100% !important;
    min-width: 100% !important;
    min-height: 180px;
  }

  .card-body {
    padding: 1rem !important;
  }

  .card-title-overlay {
    font-size: 1.1rem;
  }

  .card-desc {
    font-size: 1rem;
    max-height: 100px;
  }

  .hero-section .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-section {
    min-height: 360px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-sub {
    font-size: 1rem !important;
  }

  .info-card {
    padding: 16px;
  }

  .pricing-header h3 {
    font-size: 1rem !important;
  }

  .td-label, .td-valor {
    font-size: 0.85rem;
    padding: 10px 6px;
  }

  .nav-tabs .nav-link {
    font-size: 0.85rem;
    padding: 8px 14px !important;
  }
}
