/* ===== ESTILOS ENCAPSULADOS PARA SECCIÓN DE PAQUETES DE TELECOMUNICACIONES ===== */

/* Variables locales que solo afectan a esta sección */
.telecom-packages-section {
  /* Colores principales */
  --pkg-primary-color: #86ff05;
  --pkg-primary-dark: #86ff05;
  --pkg-primary-light: #86ff05;
  --pkg-secondary-color: #7be107;
  
  /* Colores para categorías específicas */
  --pkg-internet-color: #86ff05;
  --pkg-tv-color: #7be107;
  --pkg-bundle-color: #a3ff33;
  --pkg-phone-color: #ff3366;
  
  /* Colores de texto y fondos */
  --pkg-text-dark: #1a1a1a;
  --pkg-text-light: #ffffff;
  --pkg-bg-dark: #000000;
  --pkg-bg-light: #ffffff;
  --pkg-bg-card: #0a0a0a;
  
  /* Elementos de diseño */
  --pkg-border-radius: 12px;
  --pkg-card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  --pkg-card-shadow-hover: 0 15px 25px rgba(0, 0, 0, 0.15);
  
  /* Transiciones */
  --pkg-transition-fast: 0.2s ease;
  --pkg-transition-medium: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  
  /* Configuración de la sección */
  padding: 60px 0;
  background-color: var(--pkg-bg-light);
  position: relative;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Fondo con patrón simplificado */
.telecom-packages-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(0, 213, 71, 0.05) 0%, transparent 8%),
    radial-gradient(circle at 80% 70%, rgba(0, 213, 71, 0.05) 0%, transparent 8%);
  background-size: 60px 60px;
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}



/* Contenedor personalizado para esta sección */
.telecom-packages-section .containerrrr {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}

/* Selector de categorías */
.telecom-packages-section .category-selector {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.telecom-packages-section .category-selector::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.telecom-packages-section .category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 30px;
  border: none;
  background: white;
  cursor: pointer;
  transition: var(--pkg-transition-medium);
  position: relative;
  color: var(--pkg-text-dark);
  border-radius: var(--pkg-border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  min-width: 140px;
  overflow: hidden;
}

/* Colores específicos para cada categoría */
.telecom-packages-section .category-btn[data-category="internet"] {
  border-bottom: 3px solid var(--pkg-internet-color);
}

.telecom-packages-section .category-btn[data-category="tv"] {
  border-bottom: 3px solid var(--pkg-tv-color);
}

.telecom-packages-section .category-btn[data-category="bundle"] {
  border-bottom: 3px solid var(--pkg-bundle-color);
}

.telecom-packages-section .category-btn[data-category="phone"] {
  border-bottom: 3px solid var(--pkg-phone-color);
}

.telecom-packages-section .category-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
}

.telecom-packages-section .category-btn[data-category="internet"]:hover {
  color: var(--pkg-internet-color);
}

.telecom-packages-section .category-btn[data-category="tv"]:hover {
  color: var(--pkg-tv-color);
}

.telecom-packages-section .category-btn[data-category="bundle"]:hover {
  color: var(--pkg-bundle-color);
}

.telecom-packages-section .category-btn[data-category="phone"]:hover {
  color: var(--pkg-phone-color);
}

.telecom-packages-section .category-btn::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 0;
  height: 3px;
  transition: var(--pkg-transition-medium);
  transform: translateX(-50%);
  border-radius: 3px;
  z-index: 1;
}

.telecom-packages-section .category-btn[data-category="internet"]::after {
  background: var(--pkg-internet-color);
}

.telecom-packages-section .category-btn[data-category="tv"]::after {
  background: var(--pkg-tv-color);
}

.telecom-packages-section .category-btn[data-category="bundle"]::after {
  background: var(--pkg-bundle-color);
}

.telecom-packages-section .category-btn[data-category="phone"]::after {
  background: var(--pkg-phone-color);
}

.telecom-packages-section .category-btn.active {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.telecom-packages-section .category-btn.active[data-category="internet"] {
  color: var(--pkg-internet-color);
  background-color: rgb(0, 0, 0);
}

.telecom-packages-section .category-btn.active[data-category="tv"] {
  color: var(--pkg-tv-color);
  background-color: rgb(0, 0, 0);
}

.telecom-packages-section .category-btn.active[data-category="bundle"] {
  color: var(--pkg-bundle-color);
  background-color: rgb(0, 0, 0);
}

.telecom-packages-section .category-btn.active[data-category="phone"] {
  color: var(--pkg-phone-color);
  background-color: rgba(255, 51, 102, 0.05);
}

.telecom-packages-section .category-btn.active::after {
  width: 80%;
}

.telecom-packages-section .icon-container {
  font-size: 30px;
  margin-bottom: 5px;
  transition: var(--pkg-transition-fast);
  color: inherit;
  position: relative;
  z-index: 2;
}

.telecom-packages-section .category-btn:hover .icon-container,
.telecom-packages-section .category-btn.active .icon-container {
  transform: translateY(-5px);
}

.telecom-packages-section .category-btn span {
  font-weight: 600;
  font-size: 18.5px;
  transition: var(--pkg-transition-fast);
  position: relative;
  z-index: 2;
}

/* Contenedor de paquetes */
.telecom-packages-section .packages-container {
  position: relative;
  min-height: 500px;
  transition: height var(--pkg-transition-medium);
}

.telecom-packages-section .package-category {
  display: none;
  opacity: 0;
  transition: opacity var(--pkg-transition-medium);
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.telecom-packages-section .package-category.active {
  display: block;
  opacity: 1;
  position: relative;
}

.telecom-packages-section #internet-packages {
  display: block;
}

.telecom-packages-section .packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

/* Tarjetas de paquetes */
.telecom-packages-section .package-card {
  background-color: var(--pkg-bg-card);
  border-radius: var(--pkg-border-radius);
  box-shadow: var(--pkg-card-shadow);
  padding: 40px 30px;
  transition: transform var(--pkg-transition-medium), box-shadow var(--pkg-transition-medium);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #86ff05;
}

/* Colores específicos para cada tipo de paquete */
.telecom-packages-section .package-card.internet-card {
  border-top: 4px solid var(--pkg-internet-color);
}

.telecom-packages-section .package-card.tv-card {
  border-top: 4px solid var(--pkg-tv-color);
}

.telecom-packages-section .package-card.bundle-card {
  border-top: 4px solid var(--pkg-bundle-color);
}

.telecom-packages-section .package-card.phone-card {
  border-top: 4px solid var(--pkg-phone-color);
}

.telecom-packages-section .package-card.animated {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--index, 0) * 0.1s);
}

.telecom-packages-section .package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--pkg-card-shadow-hover);
}

/* Tarjeta destacada */
.telecom-packages-section .package-card.featured {
  border: none;
  transform: scale(1.05);
  z-index: 2;
}

.telecom-packages-section .package-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid;
  border-radius: var(--pkg-border-radius);
  z-index: -1;
}

.telecom-packages-section .package-card.featured.internet-card::after {
  border-color: var(--pkg-internet-color);
  box-shadow: 0 0 20px rgba(0, 213, 71, 0.3);
}

.telecom-packages-section .package-card.featured.tv-card::after {
  border-color: var(--pkg-tv-color);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.telecom-packages-section .package-card.featured.bundle-card::after {
  border-color: var(--pkg-bundle-color);
  box-shadow: 0 0 20px rgba(153, 51, 255, 0.3);
}

.telecom-packages-section .package-card.featured.phone-card::after {
  border-color: var(--pkg-phone-color);
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
}

.telecom-packages-section .package-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.telecom-packages-section .package-badge {
  position: absolute;
  top: 30px;
  right: -45px;
  color: rgb(0, 0, 0);
  padding: 8px 40px;
  font-size: 13px;
  font-weight: 700;
  transform: rotate(45deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 3;
}

.telecom-packages-section .internet-card .package-badge {
  background: var(--pkg-internet-color);
}

.telecom-packages-section .tv-card .package-badge {
  background: var(--pkg-tv-color);
}

.telecom-packages-section .bundle-card .package-badge {
  background: var(--pkg-bundle-color);
}

.telecom-packages-section .phone-card .package-badge {
  background: var(--pkg-phone-color);
}

.telecom-packages-section .package-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.telecom-packages-section .package-header h3 {
  font-size: 1.95rem;
  margin-bottom: 10px;
  color: var(--pkg-text-light);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: var(--pkg-transition-fast);
}

.telecom-packages-section .package-card:hover .package-header h3 {
  transform: scale(1.05);
}

.telecom-packages-section .package-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Iconos de velocidad */
.telecom-packages-section .speed-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  transition: var(--pkg-transition-fast);
  overflow: hidden;
}

.telecom-packages-section .internet-card .speed-icon {
  border: 2px solid var(--pkg-internet-color);
}

.telecom-packages-section .tv-card .speed-icon {
  border: 2px solid var(--pkg-tv-color);
}

.telecom-packages-section .bundle-card .speed-icon {
  border: 2px solid var(--pkg-bundle-color);
}

.telecom-packages-section .phone-card .speed-icon {
  border: 2px solid var(--pkg-phone-color);
}

.telecom-packages-section .package-card:hover .speed-icon {
  transform: scale(1.1);
}

.telecom-packages-section .speed-icon i {
  font-size: 32px;
}

.telecom-packages-section .internet-card .speed-icon i {
  color: var(--pkg-internet-color);
}

.telecom-packages-section .tv-card .speed-icon i {
  color: var(--pkg-tv-color);
}

.telecom-packages-section .bundle-card .speed-icon i {
  color: var(--pkg-bundle-color);
}

.telecom-packages-section .phone-card .speed-icon i {
  color: var(--pkg-phone-color);
}

/* Precios */
.telecom-packages-section .package-price {
  text-align: center;
  margin-bottom: 35px;
  position: relative;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.telecom-packages-section .package-card:hover .package-price {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.telecom-packages-section .currency {
  font-size: 1.6rem;
  vertical-align: top;
  position: relative;
  top: 10px;
  margin-right: 5px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.telecom-packages-section .amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: var(--pkg-transition-fast);
}

.telecom-packages-section .package-card:hover .amount {
  transform: scale(1.05);
}

.telecom-packages-section .internet-card .amount {
  color: var(--pkg-internet-color);
}

.telecom-packages-section .tv-card .amount {
  color: var(--pkg-tv-color);
}

.telecom-packages-section .bundle-card .amount {
  color: var(--pkg-bundle-color);
}

.telecom-packages-section .phone-card .amount {
  color: var(--pkg-phone-color);
}

.telecom-packages-section .period {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 5px;
}

/* Lista de características */
.telecom-packages-section .package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  color: var(--pkg-text-light);
  flex-grow: 1;
}

.telecom-packages-section .package-features li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.5;
  transition: var(--pkg-transition-fast);
  position: relative;
}

.telecom-packages-section .package-features li:last-child {
  border-bottom: none;
}

.telecom-packages-section .package-features li.highlight {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
  border-radius: 4px;
  padding-left: 5px;
}

.telecom-packages-section .package-features i {
  margin-right: 12px;
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.telecom-packages-section .internet-card .package-features i {
  color: var(--pkg-internet-color);
}

.telecom-packages-section .tv-card .package-features i {
  color: var(--pkg-tv-color);
}

.telecom-packages-section .bundle-card .package-features i {
  color: var(--pkg-bundle-color);
}

.telecom-packages-section .phone-card .package-features i {
  color: var(--pkg-phone-color);
}

.telecom-packages-section .package-features li:hover {
  color: var(--pkg-text-light);
  transform: translateX(5px);
}

.telecom-packages-section .package-features li:hover i {
  transform: scale(1.2);
}

/* Etiquetas de características */
.telecom-packages-section .feature-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.telecom-packages-section .tag-new {
  background-color: var(--pkg-primary-color);
  color: var(--pkg-text-dark);
}

.telecom-packages-section .tag-popular {
  background-color: var(--pkg-secondary-color);
  color: var(--pkg-text-dark);
}

.telecom-packages-section .tag-limited {
  background-color: var(--pkg-phone-color);
  color: var(--pkg-text-light);
}

/* Botón de contratación */
.telecom-packages-section .package-btn {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  color: var(--pkg-text-dark);
  border: none;
  border-radius: calc(var(--pkg-border-radius) / 2);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: var(--pkg-transition-medium);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
}

.telecom-packages-section .internet-card .package-btn {
  background: var(--pkg-internet-color);
}

.telecom-packages-section .tv-card .package-btn {
  background: var(--pkg-tv-color);
}

.telecom-packages-section .bundle-card .package-btn {
  background: var(--pkg-bundle-color);
}

.telecom-packages-section .phone-card .package-btn {
  background: var(--pkg-phone-color);
}

.telecom-packages-section .package-btn:hover {
  transform: translateY(-3px);
  color: var(--pkg-text-dark);
}

.telecom-packages-section .internet-card .package-btn:hover {
  background: var(--pkg-primary-light);
  box-shadow: 0 10px 20px #86ff054e;
}

.telecom-packages-section .package-btn:active {
  transform: translateY(-1px) scale(0.98);
}

.telecom-packages-section .package-discount {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 15px;
  display: block;
  text-align: center;
}

.telecom-packages-section .package-discount strong {
  font-weight: 700;
}

.telecom-packages-section .internet-card .package-discount strong {
  color: var(--pkg-internet-color);
}

.telecom-packages-section .tv-card .package-discount strong {
  color: var(--pkg-tv-color);
}

.telecom-packages-section .bundle-card .package-discount strong {
  color: var(--pkg-bundle-color);
}

.telecom-packages-section .phone-card .package-discount strong {
  color: var(--pkg-phone-color);
}

.telecom-packages-section .package-footer {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: auto;
}

/* Indicador de velocidad */
.telecom-packages-section .speed-meter {
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin: 10px 0 20px;
  position: relative;
  overflow: hidden;
}

.telecom-packages-section .speed-fill {
  height: 100%;
  border-radius: 3px;
  position: relative;
  transition: width 1s cubic-bezier(0.19, 1, 0.22, 1);
  width: 0;
}

.telecom-packages-section .package-card.animated .speed-fill {
  width: var(--fill-width, 50%);
}

.telecom-packages-section .internet-card .speed-fill {
  background: var(--pkg-internet-color);
}

.telecom-packages-section .tv-card .speed-fill {
  background: var(--pkg-tv-color);
}

.telecom-packages-section .bundle-card .speed-fill {
  background: var(--pkg-bundle-color);
}

.telecom-packages-section .phone-card .speed-fill {
  background: var(--pkg-phone-color);
}

.telecom-packages-section .package-badge {
  font-size: 11px;
  padding: 6px 35px;
  top: 25px;
  right: -45px;
}

/* Etiqueta de velocidad */
.telecom-packages-section .speed-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
}

.telecom-packages-section .speed-value {
  font-weight: 700;
}

.telecom-packages-section .internet-card .speed-value {
  color: var(--pkg-internet-color);
}

.telecom-packages-section .tv-card .speed-value {
  color: var(--pkg-tv-color);
}

.telecom-packages-section .bundle-card .speed-value {
  color: var(--pkg-bundle-color);
}

.telecom-packages-section .phone-card .speed-value {
  color: var(--pkg-phone-color);
}

/* Contador de instalaciones */
.telecom-packages-section .installation-counter {
  margin-top: 60px;
  text-align: center;
  padding: 40px 30px;
  background-color: rgb(0, 0, 0);
  border-radius: var(--pkg-border-radius);
  position: relative;
  overflow: hidden;
  transition: var(--pkg-transition-medium);
}

.telecom-packages-section .installation-counter:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.telecom-packages-section .counter-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.telecom-packages-section .counter-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  bottom: -8px;
  left: 25%;
  background: var(--pkg-primary-color);
  transition: var(--pkg-transition-fast);
}

.telecom-packages-section .counter-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--pkg-primary-color);
  margin-bottom: 10px;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 213, 71, 0.2);
}

.telecom-packages-section .counter-text {
  font-size: 1.05rem;
  color: rgb(255, 255, 255);
  max-width: 600px;
  margin: 0 auto;
}

/* Información de cobertura */
.telecom-packages-section .coverage-info {
  margin-top: 60px;
  padding: 30px;
  background-color: rgb(0, 0, 0);
  border-radius: var(--pkg-border-radius);
  text-align: center;
  border: 1.5px solid #04ff04b5;
  position: relative;
  overflow: hidden;
  transition: var(--pkg-transition-medium);
}

.telecom-packages-section .coverage-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.195);
  border-color: #04ff04d7;
}

.telecom-packages-section .coverage-info h4 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.telecom-packages-section .coverage-info h4::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  bottom: -5px;
  left: 25%;
  background: var(--pkg-primary-color);
  transition: var(--pkg-transition-fast);
}

.telecom-packages-section .coverage-info p {
  color: rgba(255, 255, 255, 0.937);
  margin-bottom: 20px;
}

.telecom-packages-section .coverage-check {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.telecom-packages-section .coverage-input {
  flex-grow: 1;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--pkg-transition-fast);
  background-color: rgba(255, 255, 255, 0.9);
}

.telecom-packages-section .coverage-input:focus {
  outline: none;
  border-color: var(--pkg-primary-color);
  box-shadow: 0 0 0 3px rgba(0, 213, 71, 0.2);
  transform: translateY(-2px);
}

.telecom-packages-section .coverage-input.error {
  border-color: var(--pkg-phone-color);
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.2);
}

.telecom-packages-section .coverage-btn {
  padding: 12px 20px;
  background: var(--pkg-primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--pkg-transition-fast);
  position: relative;
  overflow: hidden;
}

.telecom-packages-section .coverage-btn:hover {
  background: var(--pkg-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 213, 71, 0.3);
}

.telecom-packages-section .coverage-btn:active {
  transform: translateY(0);
}

.telecom-packages-section .section-subtitle {
  font-size: 1.15rem;
  margin-bottom: 50px;
}

.telecom-packages-section .coverage-btn:disabled {
  background: #cccccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Mensaje de error de cobertura */
.telecom-packages-section .coverage-error {
  color: var(--pkg-phone-color);
  font-size: 0.85rem;
  margin-top: 8px;
  text-align: left;
  width: 100%;
}

/* Indicador de disponibilidad */
.telecom-packages-section .availability-indicator {
  display: inline-flex;
  align-items: center;
  margin-top: 15px;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: var(--pkg-transition-fast);
}

.telecom-packages-section .availability-indicator i {
  margin-right: 8px;
  font-size: 16px;
}

.telecom-packages-section .availability-indicator.available {
  background-color: rgba(0, 213, 71, 0.1);
  color: var(--pkg-primary-dark);
  border: 1px solid rgba(0, 213, 71, 0.3);
}

.telecom-packages-section .availability-indicator.available i {
  color: var(--pkg-primary-color);
}

.telecom-packages-section .availability-indicator.limited {
  background-color: rgba(212, 189, 13, 0.1);
  color: var(--pkg-secondary-color);
  border: 1px solid rgba(212, 189, 13, 0.3);
}

.telecom-packages-section .availability-indicator.limited i {
  color: var(--pkg-secondary-color);
}

.telecom-packages-section .availability-indicator.unavailable {
  background-color: rgba(255, 51, 102, 0.1);
  color: var(--pkg-phone-color);
  border: 1px solid rgba(255, 51, 102, 0.3);
}

.telecom-packages-section .availability-indicator.unavailable i {
  color: var(--pkg-phone-color);
}

/* Botón CTA de cobertura */
.telecom-packages-section .coverage-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--pkg-primary-color);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--pkg-transition-medium);
  opacity: 0;
  transform: translateY(10px);
}

.telecom-packages-section .coverage-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.telecom-packages-section .coverage-cta:hover {
  background: var(--pkg-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 213, 71, 0.3);
}

.telecom-packages-section .coverage-cta i {
  margin-right: 8px;
}

/* ===== ESTILOS MEJORADOS PARA TÍTULOS DE SECCIÓN ===== */

/* Título principal de la sección */
.telecom-packages-section .section-title {
  font-size: 3.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--pkg-text-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  position: relative;
  padding-bottom: 25px;
  overflow: hidden;
  transform: translateZ(0);
}

/* Efecto de subrayado animado */
.telecom-packages-section .section-title::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 50%;
  width: 80px;
  height: 4px;
  background: #02e34d;
  transform: translateX(-50%);
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Efecto hover para el subrayado */
.telecom-packages-section:hover .section-title::after {
  width: 120px;
}

/* Efecto de texto con gradiente */
.telecom-packages-section .section-title span {
  background: linear-gradient(90deg, #000000, #000000, #000000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
}

/* Subtítulo de la sección */
.telecom-packages-section .section-subtitle {
  font-size: 1.20rem;
  text-align: center;
  margin-bottom: 60px;
  color: rgba(0, 0, 0, 0.7);
  font-weight: 400;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  transform: translateZ(0);
  transition: transform 0.3s ease;
}

/* Efecto de resaltado para palabras clave */
.telecom-packages-section .section-subtitle strong {
  font-weight: 600;
  color: var(--pkg-text-dark);
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

/* Efecto de subrayado para palabras clave */
.telecom-packages-section .section-subtitle strong::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--pkg-internet-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

/* Activación del efecto al hacer hover */
.telecom-packages-section .section-subtitle:hover strong::after {
  transform: scaleX(1);
  transform-origin: left;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #000000;
  backdrop-filter: blur(5.85px);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(100deg, #86ff05, #d4bd0d);
  backdrop-filter: blur(5.85px);
  border-radius: 25px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgb(94, 255, 0);
}

/* Animación de entrada para el título */
@keyframes titleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación de entrada para el subtítulo */
@keyframes subtitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aplicar animaciones */
.telecom-packages-section .section-title {
  animation: titleFadeIn 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.telecom-packages-section .section-subtitle {
  animation: subtitleFadeIn 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0.2s forwards;
  opacity: 0;
}

/* Estilos responsivos */
@media (max-width: 992px) {
  .telecom-packages-section .section-title {
    font-size: 2.5rem;
    padding-bottom: 20px;
  }
  
  .telecom-packages-section .section-subtitle {
    font-size: 1.15rem;
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .telecom-packages-section .section-title {
    font-size: 2.2rem;
    padding-bottom: 18px;
  }
  
  .telecom-packages-section .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 90%;
  }
}

@media (max-width: 576px) {
  .telecom-packages-section .section-title {
    font-size: 1.9rem;
    padding-bottom: 15px;
  }
  
  .telecom-packages-section .section-title::after {
    bottom: 10px;
    height: 3px;
  }
  
  .telecom-packages-section .section-subtitle {
    font-size: 1rem;
    margin-bottom: 35px;
  }
}


/* Estilos responsivos encapsulados */
@media (max-width: 1200px) {
  .telecom-packages-section .containerrrr {
    max-width: 960px;
  }
  
  .telecom-packages-section .package-card {
    padding: 35px 25px;
  }
  
  .telecom-packages-section .package-header h3 {
    font-size: 1.8rem;
  }
  
  .telecom-packages-section .amount {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .telecom-packages-section .containerrrr {
    max-width: 720px;
  }
  
  .telecom-packages-section {
    padding: 80px 0;
  }
  
  .telecom-packages-section .packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .telecom-packages-section .category-btn {
    padding: 15px 25px;
    min-width: 130px;
  }
  
  .telecom-packages-section .icon-container {
    font-size: 24px;
  }
  
  .telecom-packages-section .package-card.featured {
    transform: scale(1.03);
  }
  
  .telecom-packages-section .package-card.featured:hover {
    transform: translateY(-10px) scale(1.03);
  }
  
  .telecom-packages-section .coverage-check {
    flex-direction: column;
  }
  
  .telecom-packages-section .coverage-input {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .telecom-packages-section .containerrrr {
    max-width: 540px;
    padding: 0 20px;
  }
  
  .telecom-packages-section {
    padding: 70px 0;
  }
  
  .telecom-packages-section .category-selector {
    margin-bottom: 40px;
    gap: 15px;
  }
  
  .telecom-packages-section .category-btn {
    padding: 12px 20px;
    min-width: 110px;
  }
  
  .telecom-packages-section .icon-container {
    font-size: 22px;
    margin-bottom: 8px;
  }
  
  .telecom-packages-section .category-btn span {
    font-size: 13px;
  }
  
  .telecom-packages-section .packages-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .telecom-packages-section .package-card {
    max-width: 450px;
    margin: 0 auto;
    padding: 30px 25px;
  }
  
  .telecom-packages-section .package-card.featured {
    transform: scale(1);
  }
  
  .telecom-packages-section .package-card.featured:hover {
    transform: translateY(-10px) scale(1);
  }
  
  .telecom-packages-section .package-header h3 {
    font-size: 1.7rem;
  }
  
  .telecom-packages-section .package-header p {
    font-size: 1rem;
  }
  
  .telecom-packages-section .amount {
    font-size: 2.8rem;
  }
  
  .telecom-packages-section .currency {
    font-size: 1.4rem;
  }
  
  .telecom-packages-section .package-features li {
    font-size: 1rem;
    padding: 10px 0;
  }
  
  .telecom-packages-section .package-btn {
    padding: 14px;
    font-size: 1rem;
  }
  
  .telecom-packages-section .counter-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .telecom-packages-section .containerrrr {
    padding: 0 15px;
  }
  
  .telecom-packages-section {
    padding: 60px 0;
  }
  
  .telecom-packages-section .category-selector {
    margin-bottom: 35px;
    gap: 10px;
  }
  
  .telecom-packages-section .category-btn {
    padding: 10px 15px;
    min-width: 100px;
  }
  
  .telecom-packages-section .icon-container {
    font-size: 20px;
    margin-bottom: 6px;
  }
  
  .telecom-packages-section .category-btn span {
    font-size: 12px;
  }
  
  .telecom-packages-section .package-card {
    padding: 25px 20px;
  }
  
  .telecom-packages-section .package-header {
    margin-bottom: 20px;
  }
  
  .telecom-packages-section .package-header h3 {
    font-size: 1.5rem;
  }
  
  .telecom-packages-section .speed-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }
  
  .telecom-packages-section .speed-icon i {
    font-size: 28px;
  }
  
  .telecom-packages-section .package-price {
    margin-bottom: 25px;
    padding: 12px 0;
  }
  
  .telecom-packages-section .amount {
    font-size: 2.5rem;
  }
  
  .telecom-packages-section .currency {
    font-size: 1.2rem;
    top: 8px;
  }
  
  .telecom-packages-section .period {
    font-size: 0.9rem;
  }
  
  .telecom-packages-section .package-features {
    margin-bottom: 25px;
  }
  
  .telecom-packages-section .package-features li {
    font-size: 0.95rem;
    padding: 10px 0;
  }
  
  .telecom-packages-section .package-features i {
    font-size: 16px;
    width: 20px;
    margin-right: 10px;
  }
  
  .telecom-packages-section .package-btn {
    padding: 12px;
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .telecom-packages-section .package-discount {
    font-size: 0.85rem;
  }
  
  .telecom-packages-section .package-footer {
    font-size: 0.8rem;
  }
  
  .telecom-packages-section .package-badge {
    font-size: 11px;
    padding: 6px 35px;
    top: 40px;
    right: -45px;
  }
  
  .telecom-packages-section .coverage-info {
    padding: 20px 15px;
  }
  
  .telecom-packages-section .coverage-info h4 {
    font-size: 1.3rem;
  }
  
  .telecom-packages-section .coverage-info p {
    font-size: 0.9rem;
  }
  
  .telecom-packages-section .coverage-btn {
    width: 100%;
  }
  
  .telecom-packages-section .counter-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }
  
  .telecom-packages-section .counter-value {
    font-size: 2.8rem;
  }
  
  .telecom-packages-section .counter-text {
    font-size: 0.9rem;
  }
}

/* Optimizaciones para rendimiento */
.telecom-packages-section .package-card,
.telecom-packages-section .category-btn,
.telecom-packages-section .coverage-info,
.telecom-packages-section .installation-counter {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Optimizaciones para dispositivos táctiles */
@media (hover: none) {
  .telecom-packages-section .package-card:hover,
  .telecom-packages-section .category-btn:hover,
  .telecom-packages-section .coverage-info:hover,
  .telecom-packages-section .installation-counter:hover {
    transform: none;
    box-shadow: var(--pkg-card-shadow);
  }
  
  .telecom-packages-section .package-btn:hover,
  .telecom-packages-section .coverage-btn:hover {
    transform: none;
  }
  
  .telecom-packages-section .package-features li:hover {
    transform: none;
  }
}

/* Animaciones para las tarjetas */
@keyframes pkg-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .telecom-packages-section *,
  .telecom-packages-section *::before,
  .telecom-packages-section *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
