/* Subtle alternating backgrounds for agency sections */
  .hero-section,
  .bg-hero-gradient {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
  }

  .bg-light-subtle {
    background: #fafafa !important;
  }

  section.pt-80.pb-80:nth-of-type(odd) {
    background: #f8fafc;
  }

  section.pt-80.pb-80:nth-of-type(even) {
    background: #ffffff;
  }


  /* Rich content styles for job description */
  .job-description a {
    color: #006272;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s;
  }

  .job-description a:hover {
    color: #00B0B9;
  }

  .job-description {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
    font-size: 1rem !important;
    line-height: 1.7 !important;
    text-align: justify;
  }

  .course-detail-card {
    overflow: hidden;
  }

  /* Closed Banner - Agencia (available in all views) */
  .closed-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-25deg);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 8px 60px;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
    z-index: 10;
    white-space: nowrap;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
  }

  .closed-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
    border-radius: 50px;
  }

  .news-card-image:has(.closed-banner) img,
  .single-service:has(.closed-banner) img {
    filter: grayscale(30%) brightness(0.7);
  }

  .news-card-image {
    position: relative;
    overflow: hidden;
  }

  /* Search box */
  .search-box-simple {
    position: relative;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
  }

  .search-box-simple i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #006272;
    font-size: 18px;
  }

  .search-box-simple input {
    width: 100%;
    border: none;
    padding: 16px 20px 16px 50px;
    font-size: 16px;
    outline: none;
  }

  .search-box-simple input::placeholder {
    color: #94a3b8;
  }

  /* Stats Grid */
  .agencia-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
  }

  a.stat-card {
    cursor: pointer;
  }

  .stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }

  .stat-card.stat-main {
    background: linear-gradient(135deg, #006272 0%, #00B0B9 100%);
    color: #fff;
  }

  .stat-card.stat-main .stat-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
  }

  .stat-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(0, 98, 114, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #006272;
  }

  .stat-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #006272;
  }

  .stat-card.stat-main .stat-number {
    color: #fff;
  }

  .stat-label {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
  }

  .stat-card.stat-main .stat-label {
    color: rgba(255, 255, 255, 0.85);
  }

  .stat-info {
    flex: 1;
    min-width: 0;
  }

  /* Proceso Steps */
  .proceso-step {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
  }

  .proceso-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }

  .proceso-step.active {
    background: linear-gradient(135deg, #006272 0%, #00B0B9 100%);
    color: #fff;
  }

  .proceso-step.active .step-number {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
  }

  .step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #006272 0%, #00B0B9 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
  }

  .proceso-step h4 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .proceso-step p {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
  }

  /* Value number más visible */
  .value-card .value-number {
    color: rgba(0, 98, 114, 0.12);
    font-size: 56px;
  }

  .value-card:hover .value-number {
    color: rgba(0, 176, 185, 0.2);
  }

  @media (max-width: 991px) {
    .agencia-stats-grid {
      margin-top: 40px;
    }
  }

  @media (max-width: 575px) {
    .agencia-stats-grid {
      grid-template-columns: 1fr;
    }
  }