:root {
  --red:   #c0392b;
  --cyan:  #00B2FF;
  --dark:  #212529;
  --text:  #5A5A5A;
  --light: #f8f8f8;
  }

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

body { 
  font-family: 'Montserrat', sans-serif; 
  color: var(--text); 
}


/****************/
/*****HEADER*****/
/****************/
.navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0 2rem;
  min-height: 64px;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar .logo img{
  display: block;
  max-width: 250px;
  height: auto;
}

.navbar-nav .nav-link {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.2s;
  color: var(--text);
}
.navbar-nav .nav-link:hover { 
  color: var(--cyan); 
}
.navbar-toggler { 
  border: none; 
}
.navbar-toggler:focus { 
  box-shadow: none; 
}


/***************/
/*****VIDEO*****/
/***************/
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;  
  background: url('../img/fotograma_hero.png') center/cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 2rem 3rem 4rem;
  color: #fff;
}
.hero-content h1 {
  font-size: 45px;
  font-weight: 700;
  line-height: 46px;
  margin-bottom: 3rem;
}
.hero-content .subtitulo {
  font-size: 35px;
  font-weight: 400;
  line-height: 40px;
  margin-bottom: 3rem;
}

.hero-content p {
  font-size: 25px;
  font-weight: 400;
  line-height: 35px;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--cyan);
  color: #fff;
  border: 2px solid var(--cyan);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: 0.4s;
}

.btn-primary:hover { 
  background: transparent;
  color: var(--cyan); 
}

.btn-transparent-cyan {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-transparent-cyan:hover { 
  background: var(--cyan); 
  color: #fff; 
}


/**********************/
/***HEADER SECCIONES***/
/**********************/
.section-heading {
  text-align: center;
  padding-bottom: 1rem;
}

.section-heading .separador {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--cyan);
  margin: 0 auto 1.5rem;
}

.section-heading h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 40px;
}

.section-heading .tagline {
  font-size: 16px;
  color: var(--text);
  line-height: 24px;
}


/************************/
/*****BANNER RAZONES*****/
/************************/
.section { 
  padding: 4rem 0 0; 
}

.section-content .body-text {
  font-size: 16px;
  line-height: 24px;
  color: #364153;
  text-align: center;
  width: 70%;
  margin: 0 auto;
}


/****************/
/*****SLIDER*****/
/****************/
/* .slider-section {
  height: 600px;
  margin: 0 25px;
} */

.slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 10px 0 0;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
}

.mySwiper {
  width: 100%;
  height: 400px;
  overflow: visible !important;
}

.mySwiper > .swiper-pagination {
  display: none !important;
}

.mySwiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  align-items: center;
  border-radius: 25px;
  position: relative;
  height: 100%;
}

.mySwiper .swiper-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .2);
  z-index: 2;
  border-radius: 25px;
}

.mySwiper .swiper-slide p {
  position: absolute;
  bottom: 10px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  z-index: 3;
  text-align: left;
  padding: 0 15px;
}

.mySwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

/* .swiper-slide:nth-child(1) { background: url('../img/razones/slider_la_manga.webp') center 35% / cover no-repeat; }
.swiper-slide:nth-child(2) { background: url('../img/razones/slider_cartagena.webp') center 35% / cover no-repeat; }
.swiper-slide:nth-child(3) { background: url('../img/razones/slider_costa_calida.webp') center 35% / cover no-repeat; }
.swiper-slide:nth-child(4) { background: url('../img/razones/slider_1001_sabores.webp') center 35% / cover no-repeat; }
.swiper-slide:nth-child(5) { background: url('../img/razones/slider_caravaca.webp') center 35% / cover no-repeat; } */

.swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 35px;
}
.swiper-button-prev,
.swiper-button-next {
  position: static !important;
  margin-top: 1px !important;
  width: 15px;
  height: 15px;
  color: var(--dark);
  flex-shrink: 0;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: inherit;
    left: inherit;
    top: inherit;
    width: inherit;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 12px !important;
}

.swiper-button-next {
  margin-left: 6%;
}

.swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 4px;
  background: var(--cyan);
  outline: none;
  border-bottom: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #999;
  opacity: 1;
  outline: none;
  transition: width 0.3s ease, border-radius 0.3s ease;
}

.swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 4px;
  background: var(--cyan);
  outline: none;
}

/**************/
/*****MAPA*****/
/**************/


/******************/
/*****DESTINOS*****/
/******************/
/* .destinos {
  margin: 25px;
} */

.destino {
  position: relative;
  height: 400px;
  overflow: hidden;
  background-color: #000;
  padding: 25px;
  border-radius: 25px;
  margin-bottom: 25px;
}

.destino-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.destino-image {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-out;
}

.destino#destino-murcia .destino-image {
  background: url('../img/destinos/catedral_murcia.webp') center 35% / cover no-repeat;
}

.destino#destino-cartagena .destino-image {
  background: url('../img/destinos/cartagena.webp') center 35% / cover no-repeat;
}

.destino#destino-lorca .destino-image {
  background: url('../img/destinos/lorca.webp') center 35% / cover no-repeat;
}

.destino#destino-aguilas .destino-image {
  background: url('../img/destinos/aguilas.webp') center 35% / cover no-repeat;
}

.destino#destino-manga .destino-image {
  background: url('../img/destinos/Costa-Calida-Region-de-Murcia.webp') bottom / cover no-repeat;
}

.destino-image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,  rgba(0,0,0,0.7) 0%,  rgba(0,0,0,0) 50%);
  z-index: 2;
  pointer-events: none;
}

.destino:hover .destino-image {
  transform: scale(1.1);
}

.destino-content-container {
  position: absolute;
  bottom: 10px;
  z-index: 3;
  color: white;
  transition: .4s;
}

.destino-content-container h4 {
  font-size: 20px;
  font-weight: 600;
  line-height: 36px;
}

.destino-content-container p {
  font-size: 14px;
  line-height: 19px;
  width: 50%;
}

/***FORMATO GRID***/
/* .destinos-grid {
  padding: 0 15px;
} */

.destinos-grid .destino {
  position: relative;
  height: 400px;
  border-radius: 30px;
  overflow: hidden;
  background-color: #1a1a1a;
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.15); */
}

.destino-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
  z-index: 1;
}

#destino-murcia .destino-img-bg {
  background: url('../img/destinos/catedral_murcia.webp') center 20% / cover no-repeat;
}

#destino-cartagena .destino-img-bg {
  background: url('../img/destinos/lorca.webp') center 25% / cover no-repeat;
}

.destino-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right, 
    rgba(0, 0, 0, 0.8) 0%, 
    rgba(0, 0, 0, 0.2) 50%, 
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.destinos-grid .destino:hover .destino-img-bg {
  transform: scale(1.1);
}

.destinos-grid .destino:hover .destino-content-container {
  transform: translateY(-5px);
}


/******************/
/*****OFICINAS*****/
/******************/
.destino#destino-turismo-murcia .destino-image {
  background: url('../img/oficinas/turismo_de_murcia.webp') center 35% / cover no-repeat;
}

.destino#destino-turismo-cartagena .destino-image {
  background: url('../img/oficinas/oficina_congresos_cartagena.webp') center 35% / cover no-repeat;
}


/******************/
/*****PALACIOS*****/
/******************/
.destino#destino-palacios-murcia .destino-image {
  background: url('../img/palacios/audiorio_victor_villegas.webp') center 35% / cover no-repeat;
}

.destino#destino-palacios-cartagena .destino-image {
  background: url('../img/palacios/el_batel_cartagena.webp') center 35% / cover no-repeat;
}

.destino#destino-palacios-aguilas .destino-image {
  background: url('../img/palacios/infanta_dona_elena_aguilas.webp') center 35% / cover no-repeat;
}

.destino#destino-palacios-lorca .destino-image {
  background: url('../img/palacios/margarita_lozano_lorca.webp') center 35% / cover no-repeat;
}


/****************/
/*****VENUES*****/
/****************/

.destino#destino-venues-casino .destino-image {
  background: url('../img/venues/real_casino_murcia.webp') center 35% / cover no-repeat;
}

.destino#destino-venues-murcia .destino-image {
  background: url('../img/venues/teatro_romea_murcia.webp') center 35% / cover no-repeat;
}

.destino#destino-venues-cartagena .destino-image {
  background: url('../img/venues/teatro_romano_cartagena.webp') center 35% / cover no-repeat;
}

/******************/
/*****RECINTOS*****/
/******************/
.destino#destino-recinto-murcia .destino-image {
  background: url('../img/recintos/ifepa.webp') center 35% / cover no-repeat;
}

.destino#destino-recinto-lorca .destino-image {
  background: url('../img/recintos/ifelor.webp') center 35% / cover no-repeat;
}

.destino#destino-recinto-yecla .destino-image {
  background: url('../img/recintos/recinto_ferial_yecla.webp') center 35% / cover no-repeat;
}


/**********************/
/*****ALOJAMIENTOS*****/
/**********************/
.destino#destino-alojamiento-manga .destino-image {
  background: url('../img/alojamientos/manga_club_alojamiento.webp') center 35% / cover no-repeat;
}


/*****************/
/*****EVENTOS*****/
/*****************/
.destino#destino-evento-golf .destino-image {
  background: url('../img/eventos/eventos_golf.webp') center 35% / cover no-repeat;
}

.destino#destino-eventos-incentivo-murcia .destino-image {
  background: url('../img/eventos/eventos_incentivo_murcia.webp') center 35% / cover no-repeat;
}

.destino#destino-evento-nautico .destino-image {
  background: url('../img/eventos/eventos_nautico.webp') center 35% / cover no-repeat;
}


/*********************/
/*****GASTRONOMIA*****/
/*********************/
.destino#destino-gastronomia-1001 .destino-image {
  background: url('../img/gastronomia/gastronomia_1001_sabores.webp') center 35% / cover no-repeat;
}

.destino#destino-gastronomia-gastroexperiencias .destino-image {
  background: url('../img/gastronomia/gastronomia_gastroexperiencias.webp') center 35% / cover no-repeat;
}

.destino#destino-gastronomia-mercados .destino-image {
  background: url('../img/gastronomia/gastronomia_mercados.webp') center 35% / cover no-repeat;
}

.destino#destino-gastronomia-bodegas .destino-image {
  background: url('../img/gastronomia/gastronomia_bodegas.webp') center 35% / cover no-repeat;
}


/*************/
/*****OPC*****/
/*************/
.opc-section .text-content {
  padding-left: 15px;
}

.opc-section .text-content ul {
  margin: 30px 0;
}

.opc-section .text-content ul li {
  margin-bottom: 10px;
}

.opc-section .text-content ul li::marker {
  color: var(--cyan);
}

.destino#destino-opc .destino-image {
  background: url('../img/opc/opc.webp') center 35% / cover no-repeat;
}


/****************/
/*****CONOCE*****/
/****************/
.conoce-section .destinos-grid .destino {
  height: 300px;
}


.gastronomia-section .destino-content-container h4,
.eventos-section .destino-content-container h4,
.conoce-section .destino-content-container h4 {
  font-size: 16px;
  line-height: 22px;
  padding: 0 10px;
}

.destino#destino-conoce-turismo-nautico .destino-image {
  background: url('../img/conoce/conoce_turismo_nautico.webp') center 35% / cover no-repeat;
}

.destino#destino-conoce-rutas-vino .destino-image {
  background: url('../img/conoce/conoce_rutas_vino.webp') center 35% / cover no-repeat;
}

.destino#destino-conoce-golf .destino-image {
  background: url('../img/conoce/conoce_golf.webp') center 35% / cover no-repeat;
}

.destino#destino-conoce-caravaca .destino-image {
  background: url('../img/conoce/conoce_caravaca.webp') center 35% / cover no-repeat;
}

.destino#destino-conoce-balnearios .destino-image {
  background: url('../img/conoce/conoce_balnearios.webp') center 35% / cover no-repeat;
}

.destino#destino-conoce-gastronomia .destino-image {
  background: url('../img/conoce/conoce_gastronomia.webp') center 35% / cover no-repeat;
}

.destino#destino-conoce-turismo-activo .destino-image {
  background: url('../img/conoce/conoce_turismo_activo.webp') center 35% / cover no-repeat;
}

.destino#destino-conoce-compras .destino-image {
  background: url('../img/conoce/conoce_compras.webp') center 35% / cover no-repeat;
}

.destino#destino-conoce-festivales .destino-image {
  background: url('../img/conoce/conoce_festivales.webp') center 35% / cover no-repeat;
}

.destino#destino-conoce-turismo-cultural .destino-image {
  background: url('../img/conoce/conoce_turismo_cultural.webp') center 35% / cover no-repeat;
}


/***************/
/*****DATOS*****/
/***************/
.tables .table-container {
  margin-top: 50px;
}

.table-container h3 {
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
}

.table-container .table-wrapper {
  border: 2px solid #E5E7EB;
  border-radius: 25px;
  /* overflow: hidden; */
  overflow-x: auto;
  border-color: #F3F4F6;
}

.table > :not(caption) > * > * {
  border-color: #F3F4F6;
}

.table-light tr th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  text-align: right;
  line-height: 16px;
  background-color: #F9FAFB;
  height: 40px;
  vertical-align: middle;
}

.table-light tr th:first-child { 
  text-align: left; 
}

tbody td {
  text-align: right !important;
  vertical-align: middle;
  border-left: none !important;
  border-right: none !important;
  color: var(--text) !important;
  font-weight: 400 !important;
}

tbody td:first-child { 
  text-align: left !important; 
}

tbody tr:last-child td {
  border-bottom: none !important;
}

tbody tr:nth-child(odd) td {
  background-color: #ffffff;
}

tbody tr:nth-child(even) td {
  background-color: #F9FAFB;
}

thead th:first-child,
tbody td:first-child {
  padding-left: 15px;
}

thead th:last-child,
tbody td:last-child {
  padding-right: 15px;
}

.tables p {
  margin: 30px 0;
  font-size: 13px;
}

/****************/
/*****FOOTER*****/
/****************/
.footer {
  background-color: var(--dark);
  color: #ffffff;
  margin-top: 5rem;
}

.footer-logo {
  max-width: 180px;
  height: auto;
}

.footer-text {
  color: #ffffff;
  font-size: 14px;
  line-height: 23px;
  max-width: 350px;
}

.footer-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 30px;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: .4s;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-separator {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  margin: 0 25px;
}

.copyright {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 0;
}


/*******************/
/*****RESPONSIVE****/
/*******************/
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 30px;
    line-height: 30px;
  }

  .hero-content .subtitulo {
    font-size: 24px;
    line-height: 32px;
  }

  .hero-content p {
    font-size: 16px;
    line-height: 24px;
  }

  .section-heading h2 {
    font-size: 28px;
    line-height: 35px;
  }

  .section-content .body-text {
    font-size: 14px;
    line-height: 20px;
  }

  .destino {
    height: 300px;
  }

  .destinos-grid .destino,
  .conoce-section .destinos-grid .destino {
    height: 250px;
  }

  .gastronomia-section .destino-content-container h4, 
  .eventos-section .destino-content-container h4, 
  .conoce-section .destino-content-container h4 {
    font-size: 14px;
    line-height: 18px;
    padding: 0;
  }
}

@media (max-width: 992px) {

  #offcanvasNavbar {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .navbar-toggler-icon {
    background-image: url('../img/toggle_menu.svg');
  }

  #offcanvasNavbar .offcanvas-body {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
  }

  #offcanvasNavbar .navbar-nav {
    width: 100%;
    text-align: center;
  }

  .navbar-nav .nav-link {
    font-size: 24px;
  }

  #offcanvasNavbar {
    display: flex;
    flex-direction: column;
  }

  .offcanvas-footer {
    padding: 0 2rem 4rem;
    /* border-top: 1px solid #eee; */
  }

  .offcanvas-footer .btn-text {
    display: block;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text);
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.4s;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0;
  }

  .navbar .logo img {
    max-width: 200px;
  }

  .hero-content {
    padding: 2rem;
  }

  .section-content .body-text {
    width: 90%;
  }

  .destino-content-container h4 {
    font-size: 16px;
    line-height: 24px;
  }

  .swiper-button-next {
    margin-left: 30%;
  }

  .tables .btn-primary {
    display: block;
    text-align: center;
  }

  #destino-opc {
    margin-top: 30px;
  }

/* } */


/* Móvil: neutraliza Bootstrap grid para que Swiper funcione */
/* @media (max-width: 767px) { */
  .destinosSwiperConoce .swiper-wrapper,
  .destinosSwiperVenue .swiper-wrapper,
  .destinosSwiperGastronomia .swiper-wrapper {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
  }

  .destinosSwiperConoce .swiper-slide,
  .destinosSwiperVenue .swiper-slide,
  .destinosSwiperGastronomia .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
    padding: 0;
  }

  .swiper-controls-destinos,
  .swiper-controls-destinos-2,
  .swiper-controls-destinos-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
  }

  /* .swiper-controls-destinos .swiper-button-prev,
  .swiper-controls-destinos .swiper-button-next,
  .swiper-controls-destinos-2 .swiper-button-prev,
  .swiper-controls-destinos-2 .swiper-button-next,
   .swiper-controls-destinos-3 .swiper-button-prev,
  .swiper-controls-destinos-3 .swiper-button-next {
    position: static !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    color: var(--cyan) !important;
    font-size: 12px !important;
  } */

  .swiper-controls-destinos .swiper-pagination,
  .swiper-controls-destinos-2 .swiper-pagination,
  .swiper-controls-destinos-3 .swiper-pagination {
    position: static !important;
    width: auto !important;
  }

  .table thead th,
  .table tbody td {
    min-width: 160px;
  }
}

/* Escritorio: oculta controles del carrusel */
@media (max-width: 768px) {
  .w-75{width:100%!important;}
}

@media (min-width: 768px) {
  .swiper-controls-destinos,
  .swiper-controls-destinos-2,
  .swiper-controls-destinos-3 {
    display: none;
  }
  .col-md-3 {
    width: 25% !important;
  }
  .col-md-4 {
    width: 33.33333333% !important;
  }
  .col-md-6 {
    width: 50% !important;
  }

  .destinosSwiperConoce .swiper-wrapper,
  .destinosSwiperVenue .swiper-wrapper,
  .destinosSwiperGastronomia .swiper-wrapper {
    margin: 0;
    padding: 0;
  }
  .destinosSwiperConoce.swiper,
  .destinosSwiperVenue.swiper,
  .destinosSwiperGastronomia.swiper {
    margin-left: -12px;
    margin-right: -12px;
  }
  /* .table th:nth-child(2),
  .table td:nth-child(2) {
    min-width: 80px;
  } */
}

@media (min-width: 992px) {
  .col-lg-3 {
    width: 25% !important;
  }
  .col-lg-4 {
    width: 33.33333333% !important;
  }
  .col-lg-6 {
    width: 50% !important;
  }
}

.search-box{
border:1px solid #ddd;
border-radius:12px;
padding:20px;
background:white;
}

.category-btn{
background:#eee;
border:none;
border-radius:20px;
padding:6px 14px;
font-size:14px;
margin-right:5px;
margin-bottom:5px;
}

#map{
height:420px;
border-radius:8px;
}

.results{
height:420px;
overflow-y:auto;
padding-right:10px;
}

.result-card{
border:1px solid #ddd;
border-radius:12px;
padding:18px;
background:white;
margin-bottom:15px;
}

.result-label{
background:#00b2ff;
color:white;
font-size:12px;
padding:5px 10px;
border-radius:20px;
display:inline-block;
margin-bottom:8px;
}

.btn-blue, .btn-blue:hover{
background:#00b2ff;
color:white;
border-radius:20px;
padding:6px 16px;
}

.btn-outline-blue{
border:1px solid #00b2ff;
color:#00b2ff;
border-radius:20px;
padding:6px 16px;
}

.legend span{
display:inline-flex;
align-items:center;
margin-right:15px;
font-size:14px;
}

.legend i{
width:10px;
height:10px;
border-radius:50%;
display:inline-block;
margin-right:6px;
}