/* ===================================
   SECCIÓN DE SERVICIOS - NUESTRA OFERTA
   =================================== */

/* Variables de color */
:root {
    --color-eventos: #E31941;
    --color-laboral: #1A9F72;
    --color-fiscal: #3A9ACC;
    --color-mercantil: #3C225F;
}

/* ===================================
   NAVEGACIÓN DE TABS
   =================================== */

.oferta-nav {
    margin-bottom: 3rem;
}

.oferta-tab {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--bs-primary);
    background: transparent;
    color: var(--bs-primary);
    cursor: pointer;
    font-size: 0.95rem;
}

.oferta-tab:hover {
    background-color: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.oferta-tab.active {
    background-color: var(--bs-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===================================
   CONTENIDO DE SUBSECCIONES
   =================================== */

.oferta-content-wrapper {
    position: relative;
    min-height: 500px;
}

.oferta-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.oferta-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.5s ease-out;
}

/* ===================================
   IMÁGENES DE OFERTAS
   =================================== */

.oferta-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.oferta-image {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.oferta-image:hover {
    transform: scale(1.05);
}

/* ===================================
   TÍTULOS Y DESCRIPCIONES
   =================================== */

.oferta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.oferta-descripcion {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.oferta-horario {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.oferta-horario i {
    font-size: 1.1rem;
}

/* ===================================
   LISTAS DE CARACTERÍSTICAS
   =================================== */

.oferta-list {
    margin-bottom: 1.5rem;
}

.oferta-list-item {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.oferta-list-item:hover {
    padding-left: 0.5rem;
}

.oferta-list-item i {
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.oferta-list-item span {
    color: var(--dark);
}

/* ===================================
   CALL TO ACTION
   =================================== */

.oferta-cta .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.oferta-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.oferta-cta .btn i {
    transition: transform 0.3s ease;
}

.oferta-cta .btn:hover i {
    transform: translateX(5px);
}

/* ===================================
   ANIMACIONES
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section#servicios [data-aos='fade-up'] {
    animation: fadeInUp 0.6s ease-out;
}

.section#servicios [data-aos-delay='100'] {
    animation-delay: 0.1s;
}

.section#servicios [data-aos-delay='200'] {
    animation-delay: 0.2s;
}

.section#servicios [data-aos-delay='300'] {
    animation-delay: 0.3s;
}

.section#servicios [data-aos-delay='400'] {
    animation-delay: 0.4s;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 991.98px) {
  .oferta-title {
    font-size: 1.75rem;
  }

  .oferta-image {
    min-height: 250px;
  }

  .oferta-nav {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .oferta-tab {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .oferta-title {
    font-size: 1.5rem;
  }

  .oferta-descripcion {
    font-size: 1rem;
  }

  .oferta-image {
    min-height: 200px;
  }

  .oferta-list-item {
    font-size: 0.9rem;
  }

  .oferta-cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .section__subtitle {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 576px) {
  .oferta-nav .d-flex {
    flex-direction: column;
    align-items: stretch;
  }

  .oferta-tab {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .oferta-title {
    font-size: 1.35rem;
  }

  .oferta-descripcion {
    font-size: 0.95rem;
  }

  .oferta-image {
    min-height: 180px;
  }

  .oferta-list-item {
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }

  .oferta-list-item i {
    font-size: 1rem;
  }

  .oferta-cta .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }

  .section__title {
    font-size: 1.75rem !important;
  }

  .section__subtitle {
    font-size: 0.9rem !important;
  }

  .oferta-horario {
    font-size: 0.9rem;
  }
}

.oferta__title-mb {
    margin-bottom: 0 !important;
}

.oferta__title-mb2 {
    margin-bottom: 2rem !important;
}

.oferta__mt {
    margin-top: 2rem !important;
}

.oferta__mt2 {
    margin-top: 4.5rem !important;
}