@font-face {
  font-family: 'Druk';
  src: url('../fonts/Druk/Druk-Bold.woff2') format('woff2'),
       url('../fonts/Druk/Druk-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ── Variables (originales del proyecto) ─────────────────────── */
:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-1: #c2c2c2;
  --color-gray-2: #c6c6c6;
  --color-gray-3: #d8d8d8;
  --color-purple-1: #5f0aff;
  --color-purple-2: #c3a4fd;
  --color-purple-3: #5d09fa;
  --color-blue-1: #eff2fc;
  --padding-box-1: 20px;
  --transition-feature: .2s;
  --transition-modal: .4s;
  --fn-header-h: 130px;
  --fn-max-width: 1200px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--color-black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-purple-1); text-decoration: none; }
a:hover { text-decoration: none; color: var(--color-purple-1); }
p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; height: auto; }
input, button { font-family: inherit; }
input:focus, button:focus { outline: 0; }
input { border-radius: 0; border: 1px solid #000; }

/* ── Utility ────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--fn-max-width);
  margin: 0 auto;
  padding: 0 16px;
}
.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ══════════════════════════════════════════════════════════════
   HEADER (transparent on top, solid on scroll, hides on scroll down)
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  height: var(--fn-header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: box-shadow .3s ease;
}
.site-header.header--solid {
  box-shadow: 0 3px 16px rgba(0,0,0,.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: var(--fn-max-width);
  margin: 0 auto;
  padding: 0 20px;
  gap: 16px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.header__logo img {
  width: 180px;
  height: auto;
}

/* Desktop nav */
.header__nav {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0;
}
.header__nav a {
  display: block;
  padding: 0 24px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-black);
  text-decoration: none;
  border-right: 1px solid var(--color-purple-1);
  transition: color .2s;
}
.header__nav a:last-child { border-right: none; }
.header__nav a:hover { color: var(--color-purple-1); }
.header__nav a.is-active { color: var(--color-purple-1); }

/* Phone buttons (desktop) */
.header__phones {
  display: none;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header__phones-divider {
  width: 1px;
  height: 36px;
  background: var(--color-purple-1);
  flex-shrink: 0;
}
.header__phone-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--color-purple-1);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: 28px;
  cursor: pointer;
  transition: transform .25s ease;
}
.header__phone-btn:hover { transform: scale(1.1); }
.header__phone-btn .header__phone-text {
  text-align: center;
}
.header__phone-btn .header__phone-text small {
  font-size: 11px;
  color: rgba(255,255,255,.8);
}
.header__phone-btn .header__phone-text strong {
  font-size: 18px;
  color: var(--color-white);
  font-weight: 800;
}
.header__client-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #f0f0f0;
  color: var(--color-dark);
  padding: 8px 16px;
  border-radius: 28px;
  cursor: pointer;
  transition: transform .25s ease;
}
.header__client-btn:hover { transform: scale(1.1); }
.header__client-btn .header__phone-text {
  text-align: center;
}
.header__client-btn .header__phone-text small {
  font-size: 11px;
  color: #888;
}
.header__client-btn .header__phone-text strong {
  font-size: 18px;
  color: var(--color-dark);
  font-weight: 800;
}
.header__phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

/* Mobile menu */
.mobile-menu a.is-active {
  color: var(--color-purple-1);
  background: rgba(95,10,255,.05);
}
.mobile-menu__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  font-weight: 800;
  font-size: 20px;
  color: var(--color-purple-1) !important;
  background: rgba(95,10,255,.05);
  border-bottom: none !important;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  position: relative;
}
.hamburger__bar {
  width: 28px;
  height: 4px;
  background: var(--color-black);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.hamburger.is-open .hamburger__bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 7px);
}
.hamburger.is-open .hamburger__bar:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger__bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--fn-header-h);
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  z-index: 999;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 18px 24px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-black);
  text-align: center;
  border-bottom: 1px solid #eee;
}
.mobile-menu a:hover { color: var(--color-purple-1); }
.mobile-menu a.is-active {
  color: var(--color-purple-1);
  background: rgba(95,10,255,.05);
}

/* Mobile phone strip */
.mobile-phone-strip {
  display: block;
  background: url('../img/fibraymovil.png') no-repeat center center;
  background-size: cover;
  padding: 12px;
  text-align: center;
}
.mobile-phone-strip a { display: inline-block; }
.mobile-phone-strip img {
  width: 200px;
  height: auto;
  border-radius: 10px;
}

@media (min-width: 992px) {
  .header__logo img { width: 120px; }
  .header__nav { display: flex; }
  .header__nav a { padding: 0 14px; font-size: 15px; }
  .header__phones { display: flex; }
  .header__phone-btn { padding: 6px 12px; }
  .header__phone-btn .header__phone-text strong { font-size: 15px; }
  .header__phone-btn .header__phone-text small { font-size: 10px; }
  .header__client-btn { padding: 6px 12px; }
  .header__client-btn .header__phone-text strong { font-size: 15px; }
  .header__client-btn .header__phone-text small { font-size: 10px; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
  .mobile-phone-strip { display: none; }
}
@media (max-width: 991px) {
  :root { --fn-header-h: 70px; }
  .header__logo img { width: 130px; }
}
@media (min-width: 1200px) {
  .header__logo img { width: 150px; }
  .header__nav a { padding: 0 24px; font-size: 18px; }
  .header__phone-btn { padding: 8px 18px; }
  .header__phone-btn .header__phone-text strong { font-size: 18px; }
  .header__phone-btn .header__phone-text small { font-size: 11px; }
  .header__client-btn { padding: 8px 16px; }
  .header__client-btn .header__phone-text strong { font-size: 18px; }
  .header__client-btn .header__phone-text small { font-size: 11px; }
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  background-image: url('../img/fibraymovil.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 16px 0;
  position: relative;
  overflow: hidden;
}
.hero__title {
  color: var(--color-white);
  font-weight: 700;
  text-align: center;
  font-size: 22px;
  margin: 0 0 8px;
  line-height: 1.2;
  max-width: var(--fn-max-width);
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: var(--fn-max-width);
  padding-bottom: 0;
}
.hero__image {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}
.hero__image img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Mobile: imagen arriba, formulario abajo, sin espacio muerto */
@media (max-width: 575px) {
  .hero { padding: 10px 16px 0; }
  .hero__title { font-size: 20px; margin-bottom: 6px; }
  .hero__image img { max-height: 220px; }
  .c2c-form { max-width: 100%; }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991px) {
  .hero__title { font-size: 26px; }
  .hero__image img { max-height: 320px; }
}

/* Desktop: imagen pegada abajo, form centrado verticalmente */
@media (min-width: 992px) {
  .hero {
    padding: 16px 16px 0;
    min-height: 0;
  }
  .hero__title { font-size: 32px; margin-bottom: 8px; }
  .hero__content {
    flex-direction: row;
    align-items: flex-end;
    gap: 16px;
    padding-bottom: 0;
  }
  .hero__image {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-right: -40px;
  }
  .hero__image img { max-height: 420px; }
  .c2c-form {
    flex-shrink: 0;
    align-self: center;
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  .hero__title { font-size: 36px; }
  .hero__image img { max-height: 480px; }
}

/* Very large */
@media (min-width: 1400px) {
  .hero__image img { max-height: 520px; }
}

/* ══════════════════════════════════════════════════════════════
   HERO BUBBLES (bocadillos editables)
   ══════════════════════════════════════════════════════════════ */
.hero__bubbles {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__bubbles > img {
  position: relative;
  z-index: 1;
}
.bubble {
  position: absolute;
  z-index: 2;
  border-radius: 20px;
  padding: 14px 20px;
  text-align: center;
  font-family: var(--fn-font);
  line-height: 1.3;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.bubble--left {
  background: var(--color-white);
  color: var(--color-black);
  top: 10%;
  left: -5%;
  max-width: 190px;
  border-bottom-left-radius: 6px;
}
.bubble--right {
  background: linear-gradient(135deg, #7b2fff 0%, var(--color-purple-1) 50%, #4a00e0 100%);
  color: #fff;
  animation: bubbleGlow 2.5s ease-in-out infinite;
  top: 5%;
  right: -5%;
  max-width: 170px;
  border-bottom-right-radius: 6px;
}
.bubble__label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.bubble__data {
  display: block;
  font-family: 'Druk', sans-serif;
  font-size: 28px;
  font-weight: bold;
  line-height: 1.1;
  margin: 4px 0;
}
.bubble__sub {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #00c853;
  text-transform: uppercase;
}
.bubble__tag {
  display: block;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}
.bubble__price {
  display: block;
  font-family: 'Druk', sans-serif;
  font-size: 48px;
  font-weight: bold;
  line-height: 1;
}
.bubble__price em {
  font-size: 28px;
  font-style: normal;
  vertical-align: super;
}
.bubble__slogan {
  display: block;
  font-family: 'Druk', sans-serif;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.1;
  color: #fff;
}
.bubble__forever {
  display: block;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 767px) {
  .bubble--left { max-width: 160px; padding: 10px 14px; }
  .bubble--right { max-width: 150px; padding: 10px 14px; }
  .bubble__data { font-size: 20px; }
  .bubble__price { font-size: 36px; }
  .bubble__price em { font-size: 20px; }
}
@media (max-width: 480px) {
  .bubble { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   C2C FORM (fiel al original .data-box)
   ══════════════════════════════════════════════════════════════ */
.c2c-form {
  background: var(--color-white);
  border-radius: 20px;
  padding: 22px 30px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  position: relative;
}
.c2c-form__title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 16px;
  color: var(--color-black);
}
.c2c-form__title strong { font-weight: 900; }

.c2c-form__input {
  width: 100%;
  padding: 12px 30px;
  font-size: 14px;
  border: 1px solid #6e01fd;
  border-radius: 30px;
  margin-bottom: 10px;
  color: var(--color-black);
  transition: border-color .2s;
}
.c2c-form__input::placeholder { color: #b0b0b0; }
.c2c-form__input:focus { border-color: var(--color-purple-1); }
.c2c-form__input.has-error { border-color: #f00; }

/* Checkbox (fiel al original) */
.c2c-form__checkbox {
  display: flex;
  align-items: flex-start;
  margin: 10px auto 0;
  font-size: 13px;
}
.c2c-form__checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.c2c-form__checkbox label {
  display: inline;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.5;
}
.c2c-form__checkbox label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  margin-right: 6px;
  border-radius: 3px;
  transition: background .2s;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.c2c-form__checkbox input[type="checkbox"]:checked + label::before {
  background: var(--color-purple-1);
  border-color: var(--color-purple-1);
}
.c2c-form__checkbox input[type="checkbox"]:checked + label::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid var(--color-white) 0 2px 2px 0;
  transform: rotate(45deg);
}
.c2c-form__checkbox { position: relative; }
.c2c-form__checkbox.has-error label::before {
  border-color: #f00;
}
.c2c-form__privacy-link {
  color: var(--color-purple-1);
  cursor: pointer;
  text-decoration: underline;
  margin-left: 4px;
}

.c2c-form__msg {
  font-size: 13px;
  color: #f00;
  min-height: 18px;
  margin: -6px 0 4px;
}

/* Submit button (fiel al original .button-purple-c2c) */
.c2c-form__submit {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  background: var(--color-purple-3);
  color: var(--color-white);
  border: none;
  border-radius: 20px;
  font-size: 25px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.c2c-form__submit:hover { background: var(--color-black); color: var(--color-white); }
.c2c-form__submit:disabled { opacity: .6; cursor: not-allowed; }

.c2c-form__legal {
  font-size: 10px;
  color: #000;
  line-height: 1.2;
  padding-top: 8px;
}

.c2c-form__response {
  display: none;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--color-white);
  border-radius: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  text-align: center;
}
.c2c-form__response.is-visible { display: flex; }
.c2c-form__response-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-purple-1);
  margin-bottom: 12px;
}
.c2c-form__response p {
  font-size: 14px;
  color: #333;
}

/* Night mode */
.c2c-night { display: none; }
.c2c-night.is-active { display: block; text-align: center; }
.c2c-night a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-purple-1);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .2s;
}
.c2c-night a:hover { background: var(--color-black); color: var(--color-white); }
.c2c-night img { width: 45px; }
.c2c-night p { line-height: 1; color: var(--color-white) !important; }

/* ══════════════════════════════════════════════════════════════
   CATEGORY STRIP
   ══════════════════════════════════════════════════════════════ */
.category-strip {
  background: url('../img/fibraymovil.png') no-repeat center center;
  background-size: cover;
  padding: 20px 0;
}
.category-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--fn-max-width);
  margin: 0 auto;
  padding: 0 16px;
}
.category-strip__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}
.category-strip__link:hover { color: var(--color-white); }
.category-strip__link img { height: 32px; width: auto; }
@media (min-width: 768px) {
  .category-strip__link { font-size: 20px; }
  .category-strip__link img { height: 50px; }
}

/* ══════════════════════════════════════════════════════════════
   SECTION TITLE
   ══════════════════════════════════════════════════════════════ */
.section-title {
  text-align: center;
  padding: 24px 16px 16px;
  font-size: 22px;
  font-weight: 400;
  margin: 0;
}
.section-title strong { font-weight: 800; }
@media (min-width: 768px) { .section-title { font-size: 28px; } }

/* ══════════════════════════════════════════════════════════════
   PLAN SELECTOR (tabs Fibra 1GB / 600MB)
   ══════════════════════════════════════════════════════════════ */
.plan-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 0 16px 16px;
}
.plan-selector__btn {
  padding: 10px 30px;
  background: var(--color-white);
  border: 3px solid var(--color-purple-1);
  border-radius: 25px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-purple-1);
  cursor: pointer;
  transition: all .2s;
}
.plan-selector__btn.is-active,
.plan-selector__btn:hover {
  background: var(--color-purple-1);
  color: var(--color-white);
}

/* ══════════════════════════════════════════════════════════════
   CAROUSEL WRAPPER
   ══════════════════════════════════════════════════════════════ */
.carousel-wrapper {
  position: relative;
  max-width: var(--fn-max-width);
  margin: 0 auto;
  overflow: visible;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--color-purple-1);
  font-size: 60px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, transform .2s;
  line-height: 1;
}
.carousel-arrow:hover { color: var(--color-purple-3); transform: translateY(-50%) scale(1.15); }
.carousel-arrow--prev { left: -8px; }
.carousel-arrow--next { right: -8px; }
@media (max-width: 991px) {
  .carousel-arrow { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARDS (fiel al original .feature-prod)
   ══════════════════════════════════════════════════════════════ */
.products-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 28px 20px 20px;
  max-width: var(--fn-max-width);
  margin: 0 auto;
}
.products-scroll::-webkit-scrollbar { display: none; }
/* Desktop: center cards */
@media (min-width: 992px) {
  .products-scroll {
    justify-content: center;
    overflow: visible;
    padding: 20px;
    flex-wrap: wrap;
  }
}

.product-card {
  scroll-snap-align: start;
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform .2s;
  position: relative;
}
.product-card:hover { transform: scale(1.04); }

/* Promo badge (seal style, floats top-right of card) */
.product-card__promo {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #00c853;
  color: var(--color-white);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  padding: 8px 14px;
  line-height: 1.2;
  border-radius: 12px;
  z-index: 5;
  box-shadow: 0 3px 10px rgba(0,200,83,.35);
  transform: rotate(6deg);
  white-space: nowrap;
}
.product-card { position: relative; overflow: visible; }

.product-card__body {
  background: var(--color-white);
  border: 3px solid var(--color-purple-1);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 0 10px rgba(0,6,5,.25);
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  min-height: 200px;
  justify-content: center;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-white);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-purple-1);
  border-radius: 20px;
  z-index: 5;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(95,10,255,.35);
  letter-spacing: .5px;
}
.product-card__badge img { width: 20px; height: 20px; object-fit: contain; filter: brightness(0) invert(1); }

.product-card__name {
  font-size: 20px;
  font-weight: 800;
  margin: 8px 0 16px;
  padding: 0 20px;
  text-align: center;
  color: var(--color-black);
  line-height: 1.3;
}

.product-card__price {
  font-family: 'Druk', sans-serif;
  font-size: 100px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding: 0 20px 16px;
  width: 100%;
}
.product-card__price-decimal {
  font-size: 55px;
  line-height: 0.55;
  margin-top: 17px;
}
.product-card__price-unit {
  font-size: 30px;
  font-family: 'Druk', sans-serif;
}

/* Ver detalle - bordes redondeados abajo */
.product-card__details-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, var(--color-purple-1), #8b5cf6);
  color: var(--color-white);
  border: none;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  border-radius: 0 0 20px 20px;
  transition: filter .2s;
}
.product-card__details-toggle:hover { filter: brightness(1.1); }
.toggle-arrow {
  font-size: 14px;
  transition: transform .3s;
  display: inline-block;
}
.product-card__details-toggle.is-open .toggle-arrow { transform: rotate(180deg); }

.product-card__details {
  display: none;
  padding: 12px 20px 0;
  list-style: none;
}
.product-card__details.is-open { display: block; }
.product-card__details li {
  display: flex;
  align-items: center;
  padding: 5px 0;
  font-weight: 700;
  font-size: 15px;
}
.product-card__details li::before {
  content: '';
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--color-purple-1);
  border-radius: 50%;
  margin-right: 10px;
}

/* CTA button */
.product-card__cta {
  display: block;
  width: fit-content;
  margin: 12px auto 20px;
  padding: 8px 30px;
  background: var(--color-purple-1);
  color: var(--color-white);
  border: none;
  border-radius: 25px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: background .2s, transform .2s;
}
.product-card__cta:hover { background: var(--color-black); color: var(--color-white); transform: scale(1.05); }

@media (min-width: 768px) {
  .product-card { min-width: 240px; max-width: 280px; }
}
@media (min-width: 992px) {
  .product-card:hover { transform: scale(1.04); }
}
@media (max-width: 991px) {
  .product-card:hover { transform: none; }
  .product-card__cta:hover { background: var(--color-purple-1); color: var(--color-white); transform: none; }
}

/* ══════════════════════════════════════════════════════════════
   TAB CONTENT (show/hide without page reload)
   ══════════════════════════════════════════════════════════════ */
.tab-content { display: none; animation: fadeInUp .4s ease; }
.tab-content.is-active { display: block; }

/* Category strip as tabs (buttons, not links) */
.category-strip__link[data-tab] {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ══════════════════════════════════════════════════════════════
   TARIFF TABLE (estilo oficial finetwork.com)
   ══════════════════════════════════════════════════════════════ */
.tariff-table-wrapper {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 16px;
}
.tariff-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.tariff-table thead tr {
  background: var(--color-black);
  color: var(--color-white);
}
.tariff-table th {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.tariff-table th img { vertical-align: middle; margin-right: 6px; }
.tariff-table td {
  padding: 18px 20px;
  font-size: 16px;
  border-bottom: 1px solid #eee;
  background: var(--color-white);
}
.tariff-table tbody tr:last-child td { border-bottom: none; }
.tariff-table tbody tr {
  transition: background .15s;
}
.tariff-table tbody tr:hover td { background: #f8f6ff; }

/* Featured row (highlighted in green border like official) */
.tariff-table__featured td {
  border-top: 2px solid #00c853;
  border-bottom: 2px solid #00c853;
}
.tariff-table__featured td:first-child { border-left: 2px solid #00c853; }
.tariff-table__featured td:last-child { border-right: 2px solid #00c853; }

.tariff-table__cta {
  padding: 8px 20px;
  background: var(--color-purple-1);
  color: var(--color-white);
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.tariff-table__cta:hover {
  background: var(--color-black);
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .tariff-table th, .tariff-table td { padding: 12px 10px; font-size: 14px; }
  .tariff-table__cta { padding: 6px 14px; font-size: 13px; }
}

/* ══════════════════════════════════════════════════════════════
   FEATURES (iconos de ventajas)
   ══════════════════════════════════════════════════════════════ */
.features, .features-brand {
  padding: 32px 16px;
  background: var(--color-blue-1);
}
@media (max-width: 768px) {
  .features, .features-brand { padding: 20px 12px; }
  .section-title { padding: 16px 12px 10px; font-size: 20px; }
}
.features-brand { background: var(--color-white); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--fn-max-width);
  margin: 0 auto;
}
.feature-item {
  text-align: center;
  padding: 20px 12px;
  background: var(--color-white);
  border-radius: 16px;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(95,10,255,.12);
}
.feature-item img {
  height: 50px;
  margin-bottom: 8px;
}
.feature-item h3 { font-size: 16px; margin: 0 0 6px; min-height: 2.4em; display: flex; align-items: center; }
.feature-item p { font-size: 13px; color: #666; flex: 1; }
@media (max-width: 480px) {
  .features__grid { gap: 6px; }
  .feature-item { padding: 12px 6px; }
  .feature-item img { height: 32px; margin-bottom: 6px; }
  .feature-item h3 { font-size: 12px; min-height: 2em; }
  .feature-item p { font-size: 10px; }
}

/* ══════════════════════════════════════════════════════════════
   TV SECTION (Elige TV / LaLiga)
   ══════════════════════════════════════════════════════════════ */
.tv-section {
  background: var(--color-blue-1);
}
.tv-card {
  display: inline-block;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,6,5,.25);
  overflow: hidden;
  padding: 24px;
  margin-top: 24px;
  max-width: 360px;
  width: 100%;
  transition: transform .3s, box-shadow .3s;
}
.tv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(95,10,255,.2);
}

/* ══════════════════════════════════════════════════════════════
   COBERTURA STRIP (enhanced)
   ══════════════════════════════════════════════════════════════ */
.cobertura-strip {
  position: relative;
  overflow: hidden;
}
.cobertura-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(95,10,255,.15), transparent, rgba(139,92,246,.15));
  background-size: 300% 300%;
  animation: gradientShift 6s ease infinite;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   FALLING CHIPS (como finetwork.com)
   ══════════════════════════════════════════════════════════════ */
.falling-chips {
  background: linear-gradient(160deg, #1a0a3e 0%, #2d1b69 30%, #1a1a2e 70%, #0d1117 100%);
  padding: 80px 24px 100px;
  text-align: center;
  overflow: hidden;
  position: relative;
  min-height: 500px;
}
.falling-chips__title {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-white);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.2;
}
.falling-chips__words {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
  min-height: 200px;
  padding-bottom: 20px;
  border-bottom: 3px solid rgba(255,255,255,.1);
}
.chip {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 22px;
  font-weight: 700;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.15);
  opacity: 0;
  transform: translateY(-300px);
}
.chip.is-fallen {
  animation: chipDrop 1s cubic-bezier(.22,.68,.36,1) forwards;
  animation-delay: var(--chip-delay, 0s);
}
@keyframes chipDrop {
  0%   { opacity: 0; transform: translateY(-300px) rotate(0deg); }
  50%  { opacity: 1; transform: translateY(20px) rotate(var(--chip-rotate, 0deg)); }
  65%  { transform: translateY(-12px) rotate(calc(var(--chip-rotate, 0deg) * -0.5)); }
  78%  { transform: translateY(8px) rotate(var(--chip-rotate, 0deg)); }
  88%  { transform: translateY(-3px) rotate(calc(var(--chip-rotate, 0deg) * 0.3)); }
  100% { opacity: 1; transform: translateY(0) rotate(var(--chip-rotate, 0deg)); }
}
.chip:nth-child(1) { --chip-rotate: -3deg; --chip-delay: 0s; }
.chip:nth-child(2) { --chip-rotate: 2deg; --chip-delay: .15s; }
.chip:nth-child(3) { --chip-rotate: -1deg; --chip-delay: .3s; }
.chip:nth-child(4) { --chip-rotate: 3deg; --chip-delay: .45s; }
.chip:nth-child(5) { --chip-rotate: -2deg; --chip-delay: .6s; }
.chip:nth-child(6) { --chip-rotate: 1deg; --chip-delay: .75s; }
.chip:nth-child(7) { --chip-rotate: -4deg; --chip-delay: .9s; }

@media (max-width: 767px) {
  .falling-chips { padding: 60px 16px 80px; min-height: 400px; }
  .falling-chips__title { font-size: 26px; }
  .chip { font-size: 18px; padding: 10px 20px; }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL-TRIGGERED BG ANIMATION
   ══════════════════════════════════════════════════════════════ */
.scroll-bg-animate {
  position: relative;
}
.scroll-bg-animate::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(95,10,255,.03) 30%,
    rgba(95,10,255,.06) 50%,
    rgba(95,10,255,.03) 70%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
  z-index: 0;
}
.scroll-bg-animate.bg-active::after {
  opacity: 1;
}
.scroll-bg-animate > * { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════ */
.faq {
  padding: 48px 16px;
  max-width: 900px;
  margin: 0 auto;
}
/* Full-width purple bg behind faq */
.faq-wrapper {
  background: #d1ceff;
  padding: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.faq__title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 32px;
  color: var(--color-black);
}
.faq__item {
  border-bottom: none;
  margin-bottom: 12px;
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: rgba(139,92,246,.25);
  border: none;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  color: var(--color-black);
  transition: background .2s;
}
.faq__question:hover { background: rgba(139,92,246,.35); }
.faq__question::after {
  content: '+';
  font-size: 28px;
  font-weight: 400;
  color: var(--color-black);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .3s;
}
.faq__item.is-open .faq__question {
  background: rgba(139,92,246,.4);
  border-radius: 16px 16px 0 0;
}
.faq__item.is-open .faq__question::after { content: '−'; }
.faq__answer {
  display: none;
  padding: 16px 24px 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: rgba(139,92,246,.15);
  border-radius: 0 0 16px 16px;
}
.faq__item.is-open .faq__answer { display: block; }

/* ══════════════════════════════════════════════════════════════
   DOWNLOAD APP SECTION
   ══════════════════════════════════════════════════════════════ */
.download-app {
  background: linear-gradient(135deg, #2d1b69 0%, #5f0aff 50%, #2d1b69 100%);
  padding: 60px 24px;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
/* Animated circles in background */
.download-app::before,
.download-app::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.08);
  pointer-events: none;
}
.download-app::before {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation: floatCircle 12s ease-in-out infinite;
}
.download-app::after {
  width: 300px;
  height: 300px;
  bottom: -80px;
  left: -60px;
  animation: floatCircle 10s ease-in-out infinite reverse;
}
@keyframes floatCircle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -15px) scale(1.05); }
  50% { transform: translate(-10px, 20px) scale(0.95); }
  75% { transform: translate(15px, 10px) scale(1.02); }
}
.download-app > * { position: relative; z-index: 1; }
.download-app__title {
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  margin: 0 0 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.download-app__stores {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.download-app__stores a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.download-app__stores a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.download-app__stores img { height: 28px; width: auto; }

/* ══════════════════════════════════════════════════════════════
   FLOATING CONTACT WIDGET (WhatsApp + Te llamamos)
   ══════════════════════════════════════════════════════════════ */
.float-widget {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
@media (max-width: 991px) {
  .float-widget { bottom: 80px; }
}
.sticky-cta.is-visible ~ .float-widget { bottom: 80px; }

/* Buttons container — pill shape */
.float-widget__buttons {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--color-purple-1);
  border-radius: 30px;
  padding: 6px;
  box-shadow: 0 0 12px rgba(95,10,255,.3), 0 4px 16px rgba(0,0,0,.12);
  animation: glowPulse 2.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(95,10,255,.25), 0 4px 16px rgba(0,0,0,.1); }
  50%      { box-shadow: 0 0 22px rgba(95,10,255,.45), 0 4px 16px rgba(0,0,0,.1); }
}
.float-widget__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform .2s, background .2s;
  text-decoration: none;
  background: transparent;
}
.float-widget__btn:hover {
  transform: scale(1.08);
}
.float-widget__btn--wa svg {
  width: 26px;
  height: 26px;
  fill: #25d366;
}
.float-widget__btn--wa:hover {
  background: rgba(255,255,255,.15);
}
.float-widget__btn--phone {
  color: #fff;
}
.float-widget__btn--phone svg {
  width: 24px;
  height: 24px;
}
.float-widget__btn--phone:hover {
  background: rgba(255,255,255,.15);
}

/* Buttons hide/show */
.float-widget__buttons.is-hidden {
  display: none;
}

/* Mini C2C panel */
.float-widget__panel {
  display: none;
  background: var(--color-white);
  border-radius: 20px;
  padding: 18px;
  width: 280px;
  box-shadow: 0 0 12px rgba(95,10,255,.3), 0 4px 16px rgba(0,0,0,.12);
  animation: glowPulse 2.5s ease-in-out infinite, fadeSlideUp .25s ease;
  position: relative;
}
.float-widget__panel.is-open {
  display: block;
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.float-widget__panel-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  color: #999;
  cursor: pointer;
  line-height: 1;
}
.float-widget__panel-title {
  font-size: 16px;
  margin: 0 0 12px;
  text-align: center;
  color: var(--color-dark);
}
.float-widget__input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #ddd;
  border-radius: 24px;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
  margin-bottom: 6px;
}
.float-widget__input::placeholder { color: #b0b0b0; }
.float-widget__input:focus {
  border-color: var(--color-purple-1);
}
.float-widget__check {
  display: flex;
  align-items: flex-start;
  font-size: 11px;
  margin-bottom: 8px;
  position: relative;
}
.float-widget__check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.float-widget__check label {
  display: inline;
  font-size: 11px;
  cursor: pointer;
  line-height: 1.4;
}
.float-widget__check label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  min-width: 14px;
  border: 1px solid #999;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
  background: #fff;
  transition: background .2s;
}
.float-widget__check input:checked + label::before {
  background: var(--color-purple-1);
  border-color: var(--color-purple-1);
}
.float-widget__check input:checked + label::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff 0 2px 2px 0;
  transform: rotate(45deg);
}
.float-widget__submit {
  width: 100%;
  padding: 10px;
  background: var(--color-purple-1);
  color: var(--color-white);
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s;
}
.float-widget__submit:hover {
  background: var(--color-black);
}
.float-widget__panel .c2c-form__msg {
  margin: 0 0 4px;
}
.float-widget__panel .c2c-form__response {
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 32px 16px;
}
.footer__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: var(--fn-max-width);
  margin: 0 auto;
}
.footer__col h4 { font-size: 15px; margin: 0 0 10px; }
.footer__col a {
  display: block;
  color: #aaa;
  font-size: 13px;
  padding: 3px 0;
  text-decoration: none;
}
.footer__col a:hover { color: var(--color-white); }
.footer__bottom {
  text-align: center;
  font-size: 12px;
  color: #888;
  padding-top: 24px;
  border-top: 1px solid #333;
  margin-top: 24px;
}

@media (min-width: 992px) {
  .footer__inner { grid-template-columns: repeat(4, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   STICKY CTA (mobile)
   ══════════════════════════════════════════════════════════════ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #2a2a2a;
  padding: 0;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__left {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  flex: 1;
}
.sticky-cta__label {
  color: var(--color-white);
  font-size: 14px;
  white-space: nowrap;
}
.sticky-cta__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-purple-2);
  text-decoration: none;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: .5px;
  transition: color .2s;
}
.sticky-cta__phone:hover { color: var(--color-white); }
.sticky-cta__phone img { height: 20px; filter: brightness(0) invert(1); }
.sticky-cta__right {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
}
.sticky-cta__msg {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  white-space: nowrap;
}
.sticky-cta__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 800;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.sticky-cta__action:hover { background: #eee; transform: scale(1.03); }
@media (max-width: 767px) {
  .sticky-cta__left { flex-direction: column; gap: 2px; padding: 10px 12px; }
  .sticky-cta__label { font-size: 11px; }
  .sticky-cta__phone { font-size: 20px; }
  .sticky-cta__right { padding: 10px 12px; }
  .sticky-cta__msg { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   MODALS
   ══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.8);
  transition: opacity .4s;
}
.modal-overlay.is-open { display: flex; }

.modal-box {
  position: relative;
  width: 90%;
  max-width: 460px;
  max-height: 85vh;
  background: var(--color-white);
  border-radius: 24px;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
  animation: modalIn .35s ease;
}
.modal-box--purple {
  background: var(--color-purple-1);
  color: var(--color-white);
}
.modal-box__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,.15);
  border: none;
  border-radius: 50%;
  color: var(--color-black);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .2s;
}
.modal-box__close:hover { background: rgba(0,0,0,.3); }
.modal-box__content { padding: 32px 24px; }
.modal-box__content h2 { font-size: 20px; margin: 20px 0 10px; }
.modal-box__content h3 { font-size: 17px; margin: 15px 0 8px; }
.modal-box__content p { margin-bottom: 10px; font-size: 14px; line-height: 1.6; }

@keyframes modalIn {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@media (max-width: 576px) {
  .modal-box { width: 100%; max-height: 100vh; border-radius: 0; max-width: none; }
  .modal-box__content { padding: 24px 16px; }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { opacity: 0; }
.animate-in.is-visible { animation: fadeInUp .6s ease forwards; }

/* ══════════════════════════════════════════════════════════════
   DYNAMIC VISUAL ENHANCEMENTS
   ══════════════════════════════════════════════════════════════ */

/* ── Hero children z-index ──────────────────────────────────── */
.hero > * { position: relative; z-index: 1; }

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Floating hero image ────────────────────────────────────── */
/* margin-bottom negative pushes image below hero edge;
   overflow:hidden on .hero clips it. When float lifts the image
   up, no purple gap is revealed. */
.hero__image img {
  animation: floatY 4s ease-in-out infinite;
  margin-bottom: -12px;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes bubbleGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(95,10,255,.3); }
  50%      { box-shadow: 0 4px 30px rgba(95,10,255,.6), 0 0 40px rgba(95,10,255,.25); }
}

/* ── Hero Cloud (fibra page) ───────────────────────────────── */
/* Sits between hero__image and c2c-form in the flow */
.hero-cloud {
  background: rgba(255,255,255,.95);
  border-radius: 24px;
  padding: 24px 28px;
  text-align: center;
  width: 240px;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  z-index: 3;
}
@media (min-width: 992px) {
  .hero-cloud { align-self: center; }
}
@media (max-width: 991px) {
  .hero-cloud { width: auto; max-width: 260px; margin: 0 auto; }
}
.hero-cloud__line1 {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-purple-1);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-cloud__price {
  display: block;
  font-size: 52px;
  font-weight: 900;
  color: var(--color-dark);
  line-height: 1.1;
  margin: 4px 0;
}
.hero-cloud__price em {
  font-size: 30px;
  font-style: normal;
  vertical-align: super;
}
.hero-cloud__price small {
  font-size: 18px;
  font-weight: 700;
  color: #888;
}
.hero-cloud__line2 {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark);
  margin-top: 4px;
}
.hero-cloud__line3 {
  display: block;
  font-size: 13px;
  color: #29b36d;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Hero Stamp / Seal (movil page) ────────────────────────── */
/* Sits between hero__image and c2c-form in the flow */
.hero-stamp {
  background: var(--color-purple-1);
  color: var(--color-white);
  border-radius: 16px;
  padding: 14px 22px;
  text-align: center;
  width: 240px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(95,10,255,.3);
  transform: rotate(-2deg);
  border: 3px dashed rgba(255,255,255,.4);
  z-index: 3;
}
.hero-stamp span {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.hero-stamp strong {
  display: block;
  font-size: 17px;
  font-weight: 900;
  margin-top: 2px;
}
@media (min-width: 992px) {
  .hero-stamp { align-self: center; }
}
@media (max-width: 991px) {
  .hero-stamp { width: auto; max-width: 260px; margin: 0 auto; }
}

/* ── Hero Dialog / Speech bubble (fibra+movil page) ────────── */
/* Sits between the image and the c2c form in the hero__content flow */
.hero-dialog {
  background: var(--color-white);
  border-radius: 20px;
  padding: 18px 24px;
  text-align: center;
  width: 260px;
  flex-shrink: 0;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  position: relative;
  z-index: 3;
}
.hero-dialog__badge {
  display: inline-block;
  background: #ff3d00;
  color: var(--color-white);
  font-size: 11px;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 12px;
  letter-spacing: .5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.hero-dialog p {
  margin: 0;
  font-size: 16px;
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.3;
}
.hero-dialog__price {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--color-purple-1);
  margin-top: 2px;
}
.hero-dialog__sub {
  display: block;
  font-size: 12px;
  color: #29b36d;
  font-weight: 700;
  margin-top: 4px;
}
/* Arrow pointing LEFT toward the image */
.hero-dialog__arrow {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--color-white);
}

@media (max-width: 991px) {
  .hero-dialog {
    width: auto;
    max-width: 280px;
    margin: 0 auto;
  }
  /* Arrow pointing DOWN toward the image below */
  .hero-dialog__arrow {
    left: 50%;
    top: auto;
    bottom: -10px;
    transform: translateX(-50%);
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-top: 10px solid var(--color-white);
    border-bottom: 0;
  }
}

/* Desktop: reorder so dialog sits between image and form */
@media (min-width: 992px) {
  .hero-dialog {
    align-self: center;
  }
}

@media (max-width: 575px) {
  .hero-cloud { padding: 16px 20px; }
  .hero-cloud__price { font-size: 42px; }
  .hero-cloud__price em { font-size: 24px; }
}

/* ── Shine effect on product badges ─────────────────────────── */
.product-card__badge {
  position: relative;
  overflow: hidden;
}
.product-card__badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-25deg);
  animation: shine 4s ease-in-out infinite;
}
@keyframes shine {
  0%, 100% { left: -75%; }
  50%      { left: 150%; }
}

/* ── Pulse en botones CTA principales ───────────────────────── */
.c2c-form__submit {
  position: relative;
  overflow: hidden;
}
.c2c-form__submit::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(93,9,250,.6);
  animation: pulse 2.5s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(93,9,250,.5); }
  70%  { box-shadow: 0 0 0 14px rgba(93,9,250,0); }
  100% { box-shadow: 0 0 0 0 rgba(93,9,250,0); }
}

/* ── Stagger animation en cards ─────────────────────────────── */
.product-card.animate-in.is-visible:nth-child(1) { animation-delay: 0s; }
.product-card.animate-in.is-visible:nth-child(2) { animation-delay: .12s; }
.product-card.animate-in.is-visible:nth-child(3) { animation-delay: .24s; }
.product-card.animate-in.is-visible:nth-child(4) { animation-delay: .36s; }

/* ── Hover glow en product cards ────────────────────────────── */
@media (min-width: 992px) {
  .product-card:hover .product-card__body {
    box-shadow: 0 0 24px rgba(95,10,255,.35), 0 8px 32px rgba(0,0,0,.12);
    border-color: var(--color-purple-3);
  }
}

/* ── Category strip hover lift ──────────────────────────────── */
.category-strip__link {
  transition: transform .25s ease, text-shadow .25s ease;
}
.category-strip__link:hover {
  transform: translateY(-3px);
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.category-strip__link img {
  transition: transform .25s ease;
}
.category-strip__link:hover img {
  transform: scale(1.12);
}

/* ── Plan selector active pill glow ─────────────────────────── */
.plan-selector__btn.is-active {
  box-shadow: 0 0 16px rgba(95,10,255,.4);
}
.plan-selector__btn { transition: all .25s ease, box-shadow .25s ease; }

/* (FAQ styles consolidated in FAQ section above) */

/* ── Footer links underline slide ───────────────────────────── */
.footer__col a {
  position: relative;
  display: inline-block;
}
.footer__col a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-purple-2);
  transition: width .3s ease;
}
.footer__col a:hover::after { width: 100%; }

/* ── Smooth header transition ───────────────────────────────── */
.site-header {
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .3s ease;
}
.site-header:not(.header--hidden) {
  box-shadow: 0 5px 0 var(--color-purple-2), 0 4px 16px rgba(0,0,0,.06);
}

/* ── Sticky CTA slide + glow ────────────────────────────────── */
.sticky-cta {
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 20px rgba(95,10,255,.3);
}

/* ── Mobile phone strip gradient animation ──────────────────── */
.mobile-phone-strip {
  background: linear-gradient(135deg, var(--color-purple-1), #8b5cf6, var(--color-purple-1));
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}

/* ── Input focus glow ───────────────────────────────────────── */
.c2c-form__input:focus {
  border-color: var(--color-purple-1);
  box-shadow: 0 0 0 3px rgba(95,10,255,.15);
}

/* ── Modal backdrop blur ────────────────────────────────────── */
.modal-overlay {
  backdrop-filter: blur(6px);
}

/* ── Smooth scroll global ───────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── Selection color ────────────────────────────────────────── */
::selection {
  background: var(--color-purple-2);
  color: var(--color-white);
}

/* ══════════════════════════════════════════════════════════════
   TV PAGE — Plan cards & Channel grid
   ══════════════════════════════════════════════════════════════ */
.tv-plans {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 16px 16px;
  max-width: 800px;
  margin: 0 auto;
}

.tv-plan-card {
  background: var(--color-white);
  border: 3px solid #e0e0e0;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  flex: 1;
  min-width: 0;
  max-width: 360px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tv-plan-card .product-card__cta {
  margin-top: auto;
}

.tv-plan-card--featured {
  border-color: var(--color-purple-1);
  box-shadow: 0 8px 32px rgba(95,10,255,.15);
}

.tv-plan-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-purple-1);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

.tv-plan-card__header {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-purple-1);
  margin-bottom: 12px;
}

.tv-plan-card__price {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-dark);
  line-height: 1;
  margin-bottom: 16px;
}

.tv-plan-card__decimal {
  font-size: 28px;
  vertical-align: super;
}

.tv-plan-card__unit {
  font-size: 16px;
  font-weight: 700;
  color: #888;
}

.tv-plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
}

.tv-plan-card__features li {
  padding: 6px 0;
  font-size: 14px;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 24px;
}

.tv-plan-card__features li::before {
  content: '\2713';
  color: var(--color-purple-1);
  font-weight: 800;
  position: absolute;
  left: 0;
}

/* Category tabs — horizontal scroll on mobile */
.tv-category-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 16px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .tv-category-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .tv-category-tabs::-webkit-scrollbar { display: none; }
  .tv-category-tabs__btn { white-space: nowrap; flex-shrink: 0; }
}

.tv-category-tabs__btn {
  background: var(--color-white);
  border: 2px solid #e0e0e0;
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #555;
  cursor: pointer;
  transition: all .2s;
}

.tv-category-tabs__btn:hover {
  border-color: var(--color-purple-2);
  color: var(--color-purple-1);
}

.tv-category-tabs__btn.is-active {
  background: var(--color-purple-1);
  border-color: var(--color-purple-1);
  color: var(--color-white);
}

/* Channel panels (one per tab) */
.tv-channel-panel {
  display: none;
  max-width: 1000px;
  margin: 0 auto 32px;
  padding: 0 16px;
}

.tv-channel-panel.is-active {
  display: block;
}

/* Tier sub-sections (Básico / Premium) */
.tv-tier {
  margin-bottom: 24px;
}

.tv-tier__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 4px;
}

.tv-tier__title--premium {
  color: var(--color-purple-1);
}

.tv-tier__subtitle {
  font-size: 13px;
  color: #666;
  margin: 0 0 12px;
}

.tv-premium-star {
  color: #29b36d;
  font-size: 1em;
}

.tv-category-tabs__btn--premium {
  border-color: #29b36d;
}

/* Channel grid — carousel on mobile */
.tv-channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .tv-channel-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .tv-channel-grid::-webkit-scrollbar { display: none; }
  .tv-channel-grid .tv-channel-logo {
    flex: 0 0 80px;
  }
}

.tv-channel-logo {
  background: var(--color-white);
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  transition: transform .2s, box-shadow .2s;
}

.tv-channel-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.tv-channel-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.tv-channels-section {
  padding: 16px 0;
}

@media (max-width: 768px) {
  .tv-plans { gap: 10px; padding: 14px 10px; }
  .tv-plan-card { padding: 16px 10px; border-radius: 14px; border-width: 2px; }
  .tv-plan-card__header { font-size: 15px; margin-bottom: 6px; }
  .tv-plan-card__price { font-size: 30px; margin-bottom: 8px; }
  .tv-plan-card__decimal { font-size: 18px; }
  .tv-plan-card__unit { font-size: 12px; }
  .tv-plan-card__features { margin-bottom: 10px; }
  .tv-plan-card__features li { font-size: 11px; padding: 3px 0 3px 18px; }
  .tv-plan-card__badge { font-size: 9px; padding: 2px 8px; top: -10px; }
  .tv-tier__title { font-size: 16px; }
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION (accesibilidad)
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ══════════════════════════════════════════════════════════════
   BOTTOM SHEET (slide-up desde tarifas)
   ══════════════════════════════════════════════════════════════ */
.bottom-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0);
  pointer-events: none;
  transition: background .35s ease;
}
.bottom-sheet-backdrop.is-open {
  background: rgba(0,0,0,.5);
  pointer-events: auto;
}

.bottom-sheet {
  --bs-drag: 0px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2001;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,.2);
  transform: translateY(100%) translateY(var(--bs-drag));
  transition: transform .4s cubic-bezier(.32,.72,.24,1);
  max-height: 90vh;
  overflow-y: auto;
  padding: 0 24px 32px;
}
.bottom-sheet-backdrop.is-open .bottom-sheet {
  transform: translateY(0) translateY(var(--bs-drag));
}

/* Handle (drag indicator) */
.bottom-sheet__handle {
  width: 40px;
  height: 5px;
  background: #d0d0d0;
  border-radius: 3px;
  margin: 12px auto 8px;
}

/* Close button */
.bottom-sheet__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,.08);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  color: #333;
}
.bottom-sheet__close:hover { background: rgba(0,0,0,.15); }

/* Tariff summary card */
.bottom-sheet__tariff {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #f3eeff 0%, #ece5ff 100%);
  border: 2px solid var(--color-purple-1);
  border-radius: 16px;
  padding: 16px;
  margin: 8px 0 20px;
}
.bottom-sheet__check {
  width: 36px;
  height: 36px;
  background: var(--color-purple-1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.bottom-sheet__tariff-details {
  flex: 1;
  min-width: 0;
}
.bottom-sheet__tariff-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #888;
  font-weight: 700;
}
.bottom-sheet__tariff-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #222;
  margin-top: 2px;
}
.bottom-sheet__tariff-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--color-purple-1);
  white-space: nowrap;
}

/* Form area */
.bottom-sheet__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  text-align: center;
  color: #222;
}
.bottom-sheet__subtitle {
  font-size: 14px;
  color: #777;
  text-align: center;
  margin-bottom: 16px;
}
.bottom-sheet__form .c2c-form__input {
  font-size: 18px;
  text-align: center;
  letter-spacing: 2px;
}
.bottom-sheet__form .c2c-form__submit {
  font-size: 17px;
}

/* Desktop: centered floating panel */
@media (min-width: 768px) {
  .bottom-sheet-backdrop {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .bottom-sheet {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 460px;
    max-height: 85vh;
    border-radius: 24px;
    padding-top: 8px;
    box-shadow: 0 24px 80px rgba(0,0,0,.3);
    opacity: 0;
    transition: transform .35s cubic-bezier(.32,.72,.24,1), opacity .25s ease;
  }
  .bottom-sheet-backdrop .bottom-sheet {
    transform: translateY(30px) scale(.96);
  }
  .bottom-sheet-backdrop.is-open .bottom-sheet {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  .bottom-sheet__handle { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   SEO KEYWORDS
   ══════════════════════════════════════════════════════════════ */
.seo-keywords {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  font-size: 1px;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════════════════════════ */
@media print {
  .site-header, .sticky-cta, .site-footer,
  #fn-ck-banner, #fn-ck-panel { display: none !important; }
}
