  @import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap";

      @media(min-width: 769px) {
        .mobileColumnGroup {
          display: none;
        }
      }

      @media(max-width: 769px) {

        .rowHeader,
        .emptyCell {
          display: none;
        }

        .mobileColumnGroup th {
          text-align: center !important;
        }
      }

      .tableContainer {
        overflow: auto;
        overflow-anchor: none;
        position: relative;
      }

      .tableContainer caption {
        height: 0px;
      }

      thead tr {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 999;
        font-size: 18px;
      }

      .rowHeader,
      [scope="colgroup"] span {
        left: 0;
        position: sticky;
      }

      table {
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%;
        table-layout: auto;
        border: 5px solid #f5f5f561;
      }

      td,
      th {
        border: 1px solid #dddddd;
        text-align: center;
        padding: 8px;
        min-width: 100px;
        max-width: 100px;
        background: #ffffff;
        font-weight: 600;
      }

      .mobileColumnGroup th {
        text-align: left;
      }

      .rowHeader {
        text-align: center;
        font-weight: 500;
      }

      .featureCheck {
        color: green;
      }

      .featureX {
        color: red;
      }

      thead.stickyHeader {
        position: fixed;
        z-index: 999;
        overflow-x: scroll;
        top: 0px;
      }

      thead.stickyHeader.atBottom {
        position: absolute;
        z-index: 999;
        bottom: 0px;
        left: 0px !important;
        top: initial;
        width: initial !important;
        overflow-x: clip;
      }

      thead::-webkit-scrollbar {
        height: 0px;
      }

      .horizontal-scroller {
        position: fixed;
        bottom: 0;
        height: 30px;
        overflow: auto;
        overflow-y: hidden;
      }

      .horizontal-scroller-content {
        height: 30px;
      }

/* Comparativa de calidad: diseño destacado y fácil de leer. */
.quality-section { background: linear-gradient(180deg, #fff 0%, #f6f8ff 100%); }
.quality-intro h2 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.035em; }
.quality-intro p { margin: 0 auto; max-width: 650px; color: #62708a; font-size: 17px; line-height: 1.65; }
.quality-comparison { max-width: 1120px; margin: 0 auto; overflow: hidden; border: 1px solid #e3e9f5; border-radius: 24px; background: #fff; box-shadow: 0 20px 50px rgba(28, 55, 108, .12); }
.quality-comparison .quality-table { width: 100%; margin: 0; border: 0; table-layout: fixed; background: #fff; }
.quality-comparison thead tr { position: static; font-size: inherit; }
.quality-comparison .quality-table th, .quality-comparison .quality-table td { min-width: 0; max-width: none; padding: 16px 20px; border: 0; border-bottom: 1px solid #e9edf5; background: transparent; color: #233552; }
.quality-comparison .quality-table thead th { padding: 20px; color: #172a4a; font-size: 17px; font-weight: 700; }
.quality-comparison .quality-table thead .emptyCell { width: 42%; text-align: left; background: #f8faff; }
.quality-comparison .quality-table thead .quality-brand { background: linear-gradient(135deg, #516dff, #7258ec); color: #fff; box-shadow: inset 0 -4px 0 rgba(255,255,255,.16); }
.quality-comparison .quality-table thead .quality-others { background: #f3f5fa; color: #65718a; }
.quality-comparison .quality-table thead strong, .quality-comparison .quality-table thead small { display: block; }
.quality-comparison .quality-table thead small { margin-top: 4px; font-size: 12px; font-weight: 500; opacity: .8; }
.quality-comparison .quality-table .rowHeader { position: static; text-align: left; font-weight: 600; color: #304566; }
.quality-comparison .quality-table tbody td { font-size: 18px; }
.quality-comparison .quality-table tbody td:nth-child(2) { background: #f5f7ff; }
.quality-comparison .quality-table tbody tr { transition: background .2s ease, transform .2s ease; }
.quality-comparison .quality-table tbody tr:hover { background: #fbfcff; }
.quality-comparison .quality-table tbody tr:hover td:nth-child(2) { background: #edf0ff; }
.quality-comparison .quality-table tbody tr:last-child th, .quality-comparison .quality-table tbody tr:last-child td { border-bottom: 0; }
.quality-comparison .featureCheck, .quality-comparison .featureX { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 16px; font-weight: 900; }
.quality-comparison .featureCheck { color: #fff; background: #16b874; box-shadow: 0 5px 12px rgba(22,184,116,.25); }
.quality-comparison .featureX { color: #9ca9bd; background: #eef1f6; }
@media (max-width: 769px) {
  .quality-section { padding-bottom: 38px !important; }
  .quality-intro h2 { font-size: 34px; }
  .quality-intro p { font-size: 15px; }
  .quality-comparison { border-radius: 18px; overflow: hidden; }
  .quality-comparison .quality-table th, .quality-comparison .quality-table td { padding: 13px 10px; }
  .quality-comparison .quality-table thead .emptyCell { display: none; }
  .quality-comparison .quality-table thead th { font-size: 15px; }
  .quality-comparison .quality-table thead small { font-size: 10px; }
  .quality-comparison .mobileColumnGroup th { display: table-cell; padding: 13px 14px; text-align: left !important; background: #f8faff; color: #304566; font-weight: 700; }
  .quality-comparison .quality-table tbody td { font-size: 16px; }
}

/* Versión compacta: comparación en tarjetas, no en una tabla pesada. */
.quality-section { padding-top: 46px !important; padding-bottom: 42px !important; }
.quality-intro { margin-bottom: 18px !important; }
.quality-intro h2 { margin-bottom: 6px !important; font-size: clamp(30px, 3.2vw, 42px); }
.quality-intro p { font-size: 15px; }
.quality-comparison { max-width: 940px; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.quality-comparison .quality-table { border-collapse: separate; border-spacing: 0 7px; background: transparent; }
.quality-comparison .quality-table thead th { padding: 12px 16px; border: 0; }
.quality-comparison .quality-table thead .emptyCell { background: transparent; color: #71809a; font-size: 14px; }
.quality-comparison .quality-table thead .quality-brand { border-radius: 14px 0 0 14px; box-shadow: none; }
.quality-comparison .quality-table thead .quality-others { border-radius: 0 14px 14px 0; }
.quality-comparison .quality-table th, .quality-comparison .quality-table td { padding: 9px 16px; border: 0 !important; background: #fff; box-shadow: 0 4px 14px rgba(29, 53, 93, .06); }
.quality-comparison .quality-table .rowHeader { border-radius: 13px 0 0 13px; padding-left: 20px; font-size: 15px; }
.quality-comparison .quality-table tbody td { font-size: 15px; }
.quality-comparison .quality-table tbody td:nth-child(2) { background: #f0f3ff; }
.quality-comparison .quality-table tbody td:last-child { border-radius: 0 13px 13px 0; }
.quality-comparison .quality-table .featureCheck, .quality-comparison .quality-table .featureX { width: 25px; height: 25px; font-size: 13px; box-shadow: none; }
.quality-comparison .quality-table tbody tr:hover { transform: translateY(-1px); background: transparent; }
.quality-comparison .quality-table tbody tr:hover td:nth-child(2) { background: #e8edff; }
@media (max-width: 769px) {
  .quality-section { padding-top: 34px !important; padding-bottom: 30px !important; }
  .quality-comparison .quality-table { border-spacing: 0 5px; }
  .quality-comparison .quality-table thead .quality-brand { border-radius: 12px 0 0 12px; }
  .quality-comparison .quality-table thead .quality-others { border-radius: 0 12px 12px 0; }
  .quality-comparison .mobileColumnGroup th { border-radius: 10px !important; box-shadow: none; margin-top: 4px; }
  .quality-comparison .quality-table th, .quality-comparison .quality-table td { padding: 8px 10px; }
}
      /* Mantener la imagen como fondo con un <img> */
.slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Hace que la imagen cubra completamente el contenedor */
  z-index: -1; /* Asegura que la imagen esté detrás del contenido */
}

/* Mantener el estilo del contenido */
.slide-title, .slide-text, .slide-btns {
  position: relative;
  z-index: 1; /* Asegura que el contenido esté sobre la imagen */
}

.swiper-slide {
  position: relative;
  width: 100%;
  height: 100%; /* Mantiene la altura completa de la ventana para el slider */

}

/* Carrusel principal a pantalla completa. */
.hero-slider {
  height: 100vh;
  min-height: 680px;
}

.hero-slider .swiper-container {
  height: 100%;
  overflow: hidden;
}

.hero-slider .swiper-wrapper {
  display: flex;
  height: 100%;
}

.hero-slider .swiper-slide {
  flex: 0 0 100%;
  width: 100% !important;
}

.hero-slider .slide-inner {
  display: block;
  text-align: left !important;
  background-repeat: no-repeat;
}

.hero-slider .hero-slide-one { background-image: url("https://elitetves.shop/images/hero/slider-1.webp"); background-position: 49% center; }
.hero-slider .hero-slide-two { background-image: url("https://elitetves.shop/images/hero/slider-2.webp"); background-position: 76% center; }

.hero-slider .slide-inner::before {
  background: linear-gradient(90deg, rgba(4, 8, 16, 0.86) 0%, rgba(4, 8, 16, 0.62) 42%, rgba(4, 8, 16, 0.12) 78%);
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 300px 15px 100px;
}

.hero-style .slide-title h1,
.hero-style .slide-title h2 {
  max-width: 690px;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.12;
  color: #fff !important;
  margin: 0 0 22px;
}

.hero-style .slide-text p {
  max-width: 600px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
  color: #fff !important;
}

.hero-kicker {
  color: #ff5b2d;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.hero-header {
  background: rgba(10, 12, 16, 0.28) !important;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  z-index: 4;
}

@media (max-width: 767px) {
  .hero-slider {
    min-height: 680px;
  }

  .hero-slider .hero-slide-one,
  .hero-slider .hero-slide-two {
    background-position: 64% center;
  }

  .hero-slider .slide-inner::before {
    background: linear-gradient(90deg, rgba(4, 8, 16, 0.9), rgba(4, 8, 16, 0.46));
  }

  .hero-content {
    margin-left: 0;
    padding: 200px 52px 75px 26px;
  }
}

/* Aviso de cookies */
.cookie-consent {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 2147483647;
  width: 100%;
  min-height: 96px;
  padding: 16px 24px;
  color: #fff;
  background: rgba(18, 18, 18, .98);
  box-shadow: 0 -8px 24px rgba(0,0,0,.18);
  font-size: 16px;
  line-height: 1.42;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
}
.cookie-consent p { max-width: 735px; margin: 0; color: #fff; }
.cookie-consent a { color: #54b2ff; text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 16px; }
.cookie-consent button {
  border: 0;
  min-width: 122px;
  padding: 16px 26px;
  border-radius: 999px;
  color: #fff;
  font: 700 16px inherit;
  cursor: pointer;
}
.cookie-consent-accept { background: #536dfe; }
.cookie-consent-reject { background: #4b4b4b; }
@media (max-width: 767px) {
  .cookie-consent { min-height: 0; padding: 17px; font-size: 15px; display: block; }
  .cookie-consent p { margin-bottom: 16px; }
  .cookie-consent-actions { gap: 10px; }
  .cookie-consent button { flex: 1; min-width: 0; padding: 15px 10px; }
}

/* Cabecera estilo Elite IPTV */
.header.headerbg {
  background: rgba(19, 20, 24, 0.86);
  box-shadow: none;
}

.elite-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.8px;
  white-space: nowrap;
}

.elite-brand i {
  color: #5967ff;
  font-size: 32px;
}

.hero-header .menu-section > li > a {
  color: #fff !important;
  font-weight: 500;
}

.hero-header .menu-section > li > a:hover,
.hero-header .menu-section > li > a:focus {
  color: #9aa3ff !important;
}

/* En páginas de fondo claro: logo y menú oscuros y legibles. */
body.lightmode .header:not(.hero-header) .brandlogo .light { display: none !important; }
body.lightmode .header:not(.hero-header) .brandlogo .dark { display: block !important; }

/* Correcciones de la copia completa: menú móvil visible y selector sin solaparse. */
@media (min-width: 1200px) {
  .header .menu .menu-section > li.darkmodeswitch {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    margin-left: 2px !important;
  }
}

@media (max-width: 1199px) {
  body.lightmode .header.hero-header .menu {
    background: #fff !important;
  }
  body.lightmode .header.hero-header .menu .menu-section {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  body.lightmode .header.hero-header .menu > ul > li > a {
    display: block !important;
    color: #14233e !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-bottom-color: #e2e6ee !important;
  }
  body.lightmode .header.hero-header .menu > ul > li > a:hover,
  body.lightmode .header.hero-header .menu > ul > li > a:focus {
    color: #536dfe !important;
    background: #f5f7ff !important;
  }
}

/* En modo oscuro este adorno antiguo cubría el contenido de varias páginas. */
body.darkmode .bg-efffect-1::after { display: none !important; background: none !important; }

/* Menú móvil legible al activar el modo nocturno. */
@media (max-width: 991px) {
  body.darkmode .header .menu { background: #151c2a !important; }
  body.darkmode .header .menu > ul > li > a { color: #f7f9ff !important; border-bottom-color: #2b3548 !important; }
  body.darkmode .header .menu > ul > li > a:hover,
  body.darkmode .header .menu > ul > li > a:focus { color: #fff !important; background: #202b40 !important; }
  body.darkmode .header .menu .menu-mobile-header { border-bottom-color: #2b3548 !important; }
}
body.lightmode .header:not(.hero-header) { background: #fff !important; box-shadow: 0 5px 18px rgba(18, 35, 70, .08); }
body.lightmode .header:not(.hero-header) .menu-section > li > a { color: #14233e !important; font-weight: 500; }
body.lightmode .header:not(.hero-header) .menu-section > li > a:hover,
body.lightmode .header:not(.hero-header) .menu-section > li > a:focus { color: #536dfe !important; }

/* En Inicio se conserva el logo blanco sobre las imágenes de portada. */
.hero-header .brandlogo .light { display: block !important; }
.hero-header .brandlogo .dark { display: none !important; }

/* Inicio al desplazarse: cabecera blanca sólida y elementos oscuros. */
.hero-header.sticky { background: #fff !important; box-shadow: 0 5px 18px rgba(18, 35, 70, .12); }
.hero-header.sticky .brandlogo .light { display: none !important; }
.hero-header.sticky .brandlogo .dark { display: block !important; }
.hero-header.sticky .menu > ul > li > a,
.hero-header.sticky .menu-section > li > a { color: #14233e !important; }

/* Importes en blanco sobre las tarjetas de precios de color. */
.pricing-table .pricemain {
  color: #fff !important;
}

/* El ancla de preguntas queda visible bajo la cabecera fija. */
#faq {
  scroll-margin-top: 110px;
}

/* Navegación central, igual que la referencia: cinco enlaces compactos. */
@media (min-width: 992px) {
  .header .wrapper {
    min-height: 86px;
  }

  .header-item-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .header .menu-section {
    display: flex;
    align-items: center;
    gap: 22px;
  }

  .header .menu > ul > li {
    margin-left: 0;
  }

  .header .menu > ul > li > a {
    font-size: 18px;
    line-height: 86px;
    white-space: nowrap;
  }
}

@media (max-width: 991px) {
  .elite-brand {
    font-size: 22px;
  }
}

/* Formulario de contacto */
.contact-form-card { max-width: 720px; margin: 0 auto; padding: 42px; background: #fff; border-radius: 16px; box-shadow: 0 10px 35px rgba(18, 35, 70, .1); }
.contact-form-card h1 { color: #10264a; font-size: 34px; margin-bottom: 25px; }
.contact-form-card .contact-field { position: relative; margin-bottom: 24px; }
.contact-form-card .contact-field i { position: absolute; top: 19px; left: 5px; color: #10264a; }
.contact-form-card input, .contact-form-card textarea { width: 100%; border: 0; border-bottom: 2px solid #e2e2e2; border-radius: 0; padding: 15px 8px 14px 37px; color: #10264a; background: transparent; outline: 0; }
.contact-form-card textarea { min-height: 118px; resize: vertical; }
.contact-form-card input:focus, .contact-form-card textarea:focus { border-color: #536dfe; }
.contact-form-card .contact-consent { display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 20px; color: #10264a; }
.contact-form-card .contact-consent input { width: 17px; height: 17px; padding: 0; margin-top: 3px; accent-color: #536dfe; }
.contact-form-card .contact-consent label { cursor: pointer; }
.contact-form-card .contact-submit { width: 100%; border: 0; border-radius: 999px; padding: 17px; color: #fff; background: #536dfe; font-weight: 700; font-size: 17px; cursor: pointer; }
.contact-form-card .contact-submit:hover { background: #4058e8; }
@media (max-width: 575px) { .contact-form-card { padding: 28px 22px; } .contact-form-card h1 { font-size: 29px; } }

/* Comparativa final en tarjetas: sustituye por completo la tabla clásica. */
.quality-comparison > .quality-table { display: none !important; }
.quality-comparison { max-width: 980px; background: transparent; }
.quality-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quality-card { min-height: 76px; display: grid; grid-template-columns: 38px minmax(150px, 1fr) auto auto; align-items: center; gap: 8px; padding: 13px 15px; border: 1px solid #e4e9f5; border-radius: 16px; background: #fff; box-shadow: 0 7px 18px rgba(26, 49, 91, .07); transition: transform .2s ease, box-shadow .2s ease; }
.quality-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(26, 49, 91, .12); }
.quality-card > i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: #536dfe; background: #edf0ff; font-size: 16px; }
.quality-card > span { color: #243754; font-weight: 700; font-size: 14px; line-height: 1.25; }
.quality-card b { padding: 6px 8px; border-radius: 8px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.quality-card b em { font-size: 14px; font-style: normal; margin-left: 3px; }
.quality-yes { color: #16885e; background: #e7f8ef; }
.quality-no { color: #8b96a8; background: #f1f3f6; }
.quality-card-wide { grid-column: 1 / -1; max-width: calc(50% - 6px); }
@media (max-width: 769px) { .quality-cards { grid-template-columns: 1fr; gap: 9px; } .quality-card, .quality-card-wide { grid-column: auto; max-width: none; min-height: 64px; grid-template-columns: 34px minmax(0, 1fr) auto auto; padding: 10px 11px; } .quality-card > i { width: 31px; height: 31px; border-radius: 9px; font-size: 14px; } .quality-card > span { font-size: 12px; } .quality-card b { padding: 5px 6px; font-size: 9px; } .quality-card b em { font-size: 12px; } }

/* Encabezado y logotipo coherentes en las páginas interiores. */
.header:not(.hero-header) .brandlogo img { width: 190px; height: 61px; max-height: 61px; object-fit: contain; object-position: left center; }
body.darkmode .header:not(.hero-header) { background: #101827 !important; box-shadow: 0 5px 18px rgba(0, 0, 0, .28) !important; }
body.darkmode .header:not(.hero-header) .menu > ul > li > a { color: #f8fbff !important; }
body.darkmode .header:not(.hero-header) .brandlogo .light { display: block !important; }
body.darkmode .header:not(.hero-header) .brandlogo .dark { display: none !important; }
body.lightmode .header:not(.hero-header) .brandlogo .light { display: none !important; }
body.lightmode .header:not(.hero-header) .brandlogo .dark { display: block !important; }
