.sunat-authorized-section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 32px 24px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.sunat-devices {
  flex: 1 1 320px;
  min-width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sunat-devices img {
  max-width: 520px;
  width: 100%;
  height: auto;
}
.sunat-sello {
  flex: 1 1 220px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.sunat-label {
  background: #1C3D84;
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 16px;
  padding: 8px 24px;
  margin-bottom: 10px;
  display: inline-block;
  letter-spacing: 1px;
}
.sunat-logo {
  max-width: 120px;
  width: 100%;
  height: auto;
  margin-bottom: 8px;
}
.sunat-text {
  font-size: 1.1rem;
  color: #222;
  font-weight: 600;
  letter-spacing: 1px;
}
.sunat-features {
  flex: 2 1 420px;
  min-width: 320px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px 16px;
}
.sunat-feature-item {
  display: flex;
  flex-direction: column;   /* Cambia de fila a columna */
  align-items: center;      /* Centra los elementos */
  gap: 0;                   /* Elimina el gap horizontal */
  text-align: center;       /* Centra el texto */
}

.sunat-feature-icon {
  color: #1C3D84;
  font-size: 2rem;
  flex-shrink: 0;
  margin-bottom: 12px;      /* Agrega separación debajo del ícono */
}
.sunat-feature-title {
  font-weight: 700;
  color: #222;
  font-size: 1.1rem;
}
.sunat-feature-desc {
  color: #555;
  font-size: 0.98rem;
}
@media (max-width: 900px) {
  .sunat-authorized-section {
    flex-direction: column;
    padding: 24px 8px;
  }
  .sunat-features {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .sunat-devices, .sunat-sello, .sunat-features {
    min-width: 0;
    width: 100%;
    justify-content: center;
  }
}

/* ==== OFERTA DE TICKETERA ==== */
.ticketera-oferta-section {
  background: #F37021;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.ticketera-oferta-section .container {
  position: relative;
  z-index: 2;
}
.ticketera-oferta-section h2 {
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 24px;
}
.ticketera-oferta-section p.lead {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0;
}
.ticketera-oferta-section img {
  max-width: 320px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  border-radius: 18px;
  background: #F37021;
  padding: 18px;
  animation: viento-ticketera 3s ease-in-out infinite alternate;
}
.ticketera-oferta-section .decor-top {
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: #ffe600;
  border-radius: 0 0 0 100px;
  opacity: 0.18;
  z-index: 1;
}
.ticketera-oferta-section .decor-bottom {
  position: absolute;
  bottom: 0; left: 0;
  width: 120px; height: 120px;
  background: #ffe600;
  border-radius: 0 100px 0 0;
  opacity: 0.18;
  z-index: 1;
}
@media (max-width: 991px) {
  .ticketera-oferta-section h2 {
    font-size: 2.2rem;
  }
  .ticketera-oferta-section p.lead {
    font-size: 1.1rem;
  }
  .ticketera-oferta-section img {
    max-width: 220px;
    padding: 10px;
  }
}
@media (max-width: 600px) {
  .ticketera-oferta-section {
    padding: 30px 0;
  }
  .ticketera-oferta-section h2 {
    font-size: 1.3rem;
  }
  .ticketera-oferta-section p.lead {
    font-size: 0.98rem;
  }
}

@keyframes viento-ticketera {
  0% {
    transform: translateY(-12px);
  }
  50% {
    transform: translateY(12px);
  }
  100% {
    transform: translateY(-12px);
  }
}

/* ==== ANIMACIONES CSS ==== */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-60px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: none; }
}
.animate__fadeInLeft {
  animation: fadeInLeft 1s both;
}
.animate__fadeInRight {
  animation: fadeInRight 1s both;
}
.animate__delay-1s {
  animation-delay: 0.7s;
}

/* ==== VIDEO YOUTUBE SECTION ==== */
.video-youtube-section {
  background: #fff;
  padding: 40px 0;
}
.video-youtube-section .video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.video-youtube-section .video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  border: none;
}

/* ==== EQUIPOS SECTION ==== */
.equipos-section {
  background: #fff;
  padding: 40px 0 30px 0;
}
.equipos-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #111;
  font-family: 'Montserrat', Arial, sans-serif;
}
.equipo-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  padding: 28px 18px 24px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  transition: box-shadow 0.2s;
}
.equipo-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.16);
}
.equipo-nombre {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.equipo-img {
  max-width: 120px;
  width: 100%;
  margin-bottom: 22px;
  object-fit: contain;
}
.equipo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F37021;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  border-radius: 10px;
  padding: 12px 32px;
  width: auto;
  min-width: 120px;
  max-width: 90%;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.2s;
  letter-spacing: 0.5px;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(20,184,187,0.08);
}
.equipo-btn:hover {
  background: #1C3D84;
  color: #fff;
  text-decoration: none;
}
.equipo-btn-arrow {
  font-size: 1.3em;
  margin-left: 8px;
}
@media (max-width: 991px) {
  .equipos-title {
    font-size: 1.5rem;
  }
  .equipo-card {
    padding: 18px 8px 18px 8px;
  }
  .equipo-img {
    max-width: 90px;
  }
}
@media (max-width: 600px) {
  .equipos-section {
    padding: 24px 0 18px 0;
  }
  .equipos-title {
    font-size: 1.1rem;
  }
  .equipo-card {
    padding: 12px 16px 12px 16px;
    margin-bottom: 10px;
  }
  .equipo-img {
    max-width: 70px;
  }
  /* Eliminar scroll horizontal y nowrap en móviles */
  .equipos-row {
    display: flex; /* Asegura que el grid de Bootstrap funcione bien */
    flex-wrap: wrap !important;
    overflow-x: unset;
    gap: 0;
    padding-bottom: 0;
  }
  .equipos-row > .col-lg-3,
  .equipos-row > .col-md-6,
  .equipos-row > .col-sm-12,
  .equipos-row > div {
    min-width: unset;
    flex: 0 0 50%;
    max-width: 50%;
  }
}


/* ==== CONTACTO SECTION ==== */
.contacto-section {
  background: #fff;
  padding: 40px 0 30px 0;
}
.contacto-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1C3D84;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.contacto-subtitle {
  text-align: center;
  color: #555;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 28px;
}
.contacto-mapa {
  max-width: 100%;
  width: 420px;
  height: auto;
  margin: 0 auto 18px auto;
  display: block;
}
.contacto-bloque {
  margin-bottom: 22px;
}
.contacto-bloque-titulo {
  color: #444;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #444;
  font-size: 1rem;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.contacto-item a {
  color: #1C3D84;
  text-decoration: none;
  font-weight: 500;
}
.contacto-item a:hover {
  text-decoration: underline;
}
.contacto-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 4px;
  font-size: 1.2em;
  text-align: center;
  color: #1C3D84;
  flex-shrink: 0;
}
.contacto-icon.whatsapp:before {
  content: '\f232';
  font-family: 'FontAwesome';
  color: #25d366;
}
.contacto-icon.mail:before {
  content: '\f0e0';
  font-family: 'FontAwesome';
  color: #1C3D84;
}
.contacto-icon.reloj:before {
  content: '\f017';
  font-family: 'FontAwesome';
  color: #888;
}
@media (max-width: 991px) {
  .contacto-title {
    font-size: 1.2rem;
  }
  .contacto-mapa {
    width: 260px;
  }
}
@media (max-width: 600px) {
  .contacto-section {
    padding: 24px 0 18px 0;
  }
  .contacto-title {
    font-size: 1rem;
  }
  .contacto-mapa {
    width: 100%;
    max-width: 180px;
  }
  .contacto-bloque-titulo {
    font-size: 1rem;
  }
  .contacto-item {
    font-size: 0.95rem;
  }
}

/* ==== RUBRO SLIDER SECTION ==== */
.rubro-slider-section {
  background: #fff;
  padding: 24px 0 10px 0;
}
.rubro-slider .rubro-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 12px 0 12px;
  min-width: 260px;
  min-height: 260px;
  transition: transform 0.2s;
}
.rubro-slider .rubro-item:hover {
  transform: translateY(-6px) scale(1.04);
}
.rubro-icon {
  display: block;
  margin-bottom: 10px;
}
.rubro-icon img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(61%) sepia(98%) saturate(370%) hue-rotate(134deg) brightness(97%) contrast(92%);
  transition: transform 0.2s;
}
.rubro-titulo {
  color: #1C3D84;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
}
.owl-carousel .owl-item {
  display: flex;
  justify-content: center;
}
@media (max-width: 900px) {
  .rubro-icon img {
    width: 180px;
    height: 180px;
  }
  .rubro-slider .rubro-item {
    min-width: 200px;
    min-height: 200px;
  }
  .rubro-titulo {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .rubro-slider-section {
    padding: 10px 0 4px 0;
  }
  .rubro-icon img {
    width: 160px;
    height: 160px;
  }
  .rubro-slider .rubro-item {
    min-width: 170px;
    min-height: 170px;
  }
  .rubro-titulo {
    font-size: 0.95rem;
  }
}
/* letras*/
/* Estilos para la sección de precios */
.precios-titulo {
  color: #1C3D84;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-align: center;
}
.precios-subtitulo {
  color: #333;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  text-align: center;
}

.clientes-slider-prev, .clientes-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  opacity: 0.8;
  transition: opacity 0.2s;
}
.clientes-slider-prev:hover, .clientes-slider-next:hover {
  opacity: 1;
}
.clientes-slider-prev {
  left: -60px;
}
.clientes-slider-next {
  right: -60px;
}
@media (max-width: 900px) {
  .clientes-slider-prev {
    left: -30px;
  }
  .clientes-slider-next {
    right: -30px;
  }
}
@media (max-width: 600px) {
  .clientes-slider-prev, .clientes-slider-next {
    width: 36px;
    height: 36px;
    font-size: 1.3rem;
  }
  .clientes-slider-prev {
    left: -18px;
  }
  .clientes-slider-next {
    right: -18px;
  }
}

/*boton naranja*/
.btn-demo-banner {
  display: inline-block;
  background: rgb(243, 112, 33);
  color: #fff !important;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 1.1rem;
  margin-top: 18px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255,152,0,0.15);
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
}
.btn-demo-banner:hover {
  background: #F37021;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,152,0,0.25);
  text-decoration: none;
}

/* ==== PLANES SECTION ==== */
.planes-section {
  background: #f8fafd;
  padding: 60px 0 40px 0;
  /* Nuevo: padding horizontal para móviles */
  padding-left: 16px;
  padding-right: 16px;
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 32px;
  width: 100%;
  max-width: 1400px; /* O elimínalo si quieres que ocupe todo el ancho */
  margin-left: auto;
  margin-right: auto;
}
.plan-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  padding: 32px 18px 24px 18px;
  text-align: center;
  align-items: center;
  transition: box-shadow 0.2s;
  border-top: 8px solid #eee;
}

/* Para pantallas grandes */
@media (min-width: 1200px) {
  .planes-grid {
    gap: 40px;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Para laptops y tablets grandes */
@media (max-width: 1199px) and (min-width: 900px) {
  .planes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Para tablets medianas */
@media (max-width: 899px) and (min-width: 600px) {
  .planes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

/* Para móviles */
@media (max-width: 600px) {
  .planes-section {
    padding: 30px 8px 18px 8px;
  }
  .planes-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .plan-card {
    padding: 18px 8px 18px 8px;
  }
  .plan-header {
    font-size: 1rem;
  }
  .plan-precio-actual {
    font-size: 2rem;
  }
}
.plan-bronce { border-top-color: #f3c16b; }
.plan-plata { border-top-color: #bdbdbd; }
.plan-oro { border-top-color: #f7c948; }
.plan-premium { border-top-color: #222; }
.plan-header {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #fff;
  background: #f3c16b;
  border-radius: 10px;
  padding: 6px 0;
}
.plan-plata .plan-header { background: #bdbdbd; color: #222; }
.plan-oro .plan-header { background: #f7c948; color: #222; }
.plan-premium .plan-header { background: #222; color: #fff; }
.plan-precio {
  margin: 12px 0 0 0;
  font-size: 2.2rem;
  font-weight: bold;
  color: #1C3D84;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.plan-precio-anterior {
  font-size: 1rem;
  color: #888;
  text-decoration: line-through;
  margin-bottom: 2px;
}
.plan-precio-actual {
  font-size: 2.5rem;
  color: #1C3D84;
  font-weight: bold;
}
.plan-precio-igv {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
}
.plan-anual {
  color: #1C3D84;
  font-size: 1.1rem;
  margin: 10px 0 0 0;
  font-weight: 500;
}
.plan-ticketera {
  color: #00b894;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 8px 0 0 0;
}
.plan-lista {
  text-align: left;
  margin: 18px 0 0 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  color: #222;
}
.plan-lista li {
  margin-bottom: 6px;
  font-size: 1rem;
}
.plan-botones {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}
.plan-btn, .plan-btn-wsp {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: none;
  cursor: pointer;
}
.plan-btn {
  background: #1C3D84;
  color: #fff;
}
.plan-btn:hover {
  background: #F37021;
  color: #fff;
}
.plan-btn-wsp {
  background: #25d366;
  color: #fff;
}
.plan-btn-wsp:hover {
  background: #128c7e;
  color: #fff;
}
@media (max-width: 991px) {
  .planes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .plan-card {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .planes-section {
    padding: 30px 0 18px 0;
  }
  .planes-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .plan-card {
    padding: 18px 8px 18px 8px;
  }
  .plan-header {
    font-size: 1rem;
  }
  .plan-precio-actual {
    font-size: 2rem;
  }
}
.planes-section > .container {
  max-width: 1400px; /* o 1200px, ajusta según tu preferencia */
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}