:root {
  --bg: #0d0d0d;
  --bg-elevated: #161616;
  --card: #1a1a1a;
  --card-alt: #171717;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: #a3a3a3;
  --text-dim: #767676;
  --primary: #077cc0;
  --primary-dark: #045a8f;
  --accent: #00aeef;
  --pill-dark: #2c2c2c;
  --success-badge: #16a34a;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* Scrollbars for horizontal carousels */
.scroll-row,
.carousel-track {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
}
.scroll-row::-webkit-scrollbar,
.carousel-track::-webkit-scrollbar {
  display: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover {
  filter: brightness(1.12);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-secondary {
  background: var(--pill-dark);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-sm {
  padding: 9px 20px;
  font-size: 13.5px;
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 36px;
  min-width: 0;
}
.logo img {
  height: 30px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: #e6e6e6;
  transition: color 0.15s ease;
}
.nav a:hover {
  color: var(--accent);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  font-size: 14px;
  font-weight: 600;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  background: #0a0a0a;
}
.mobile-nav a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav.open {
  display: flex;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 2.55/1;
  min-height: 320px;
  max-height: 640px;
  overflow: hidden;
  background: #000;
}
.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-top-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
  pointer-events: none;
}
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 12.5%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 90%;
  padding: 0 20px;
  text-align: center;
}
.hero-content h1 {
  font-size: clamp(20px, 3.1vw, 38px);
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-content .hero-sub {
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  color: #ffffff;
}
.hero-content .hero-tag {
  font-size: clamp(12.5px, 1.2vw, 15px);
  color: #d6d6d6;
  font-weight: 400;
}
.hero-buttons {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-dots {
  position: absolute;
  bottom: 1.5%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}
.hero-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

/* ================= SECTION HEADINGS ================= */
.section {
  padding: 56px 0;
}
.section-head {
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 6px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 640px;
}

/* ================= CARRUSEL GENÉRICO (Planes / Películas / En vivo / Fútbol) ================= */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.carousel-track {
  gap: 18px;
  padding-bottom: 4px;
}
.carousel-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #fff;
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
  z-index: 5;
}
.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}
.carousel-arrow:active {
  transform: scale(0.93);
}
.carousel-arrow[disabled] {
  opacity: 0.25;
  pointer-events: none;
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}
.carousel-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

/* ================= PLANS ================= */
.plans-row {
  scroll-snap-type: x mandatory;
}
.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: 250px;
  scroll-snap-align: start;
}
.plan-card img.plan-img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 14px;
  background: #0a0a0a;
}
.plan-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.plan-price-old {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.plan-discount-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0, 174, 239, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
  margin: 4px 0;
  display: inline-block;
}
.plan-price-now {
  font-size: 24px;
  font-weight: 800;
}
.plan-price-period {
  font-size: 13px;
  color: var(--text-muted);
}
.plan-solo {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-price-tax {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 4px;
  margin-bottom: 14px;
}
.plan-contratar {
  width: 100%;
  margin-bottom: 16px;
}
.plan-included-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.plan-logos {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.plan-logos img {
  height: 26px;
  width: auto;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
}
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  flex: 1;
}
.plan-features li {
  font-size: 13px;
  color: #d8d8d8;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  line-height: 1.4;
}
.plan-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.plan-details-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

/* ================= BANNER HEADERS (channels / football) ================= */
.banner-header {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  min-height: 160px;
  display: flex;
  align-items: center;
}
.banner-header img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.banner-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 10%, rgba(0, 0, 0, 0.35) 80%);
  z-index: 1;
}
.banner-header-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  max-width: 520px;
}
.banner-header-content h2 {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
}
.banner-header-content p {
  font-size: 14px;
  color: #dcdcdc;
}

/* ================= CAROUSEL CARDS (channels / football) ================= */
.carousel-card {
  flex: 0 0 auto;
  width: 230px;
  scroll-snap-align: start;
}
.carousel-card .thumb-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #111;
}
.carousel-card .thumb-wrap img.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-card .channel-logo {
  position: absolute;
  bottom: 8px;
  left: 8px;
  height: 28px;
  width: 42px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  padding: 2px;
}
.carousel-card .time-tag {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 8px;
}
.carousel-card h4 {
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= MOVIES (CATALOGO) ================= */
.movies-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
  border-radius: 20px;
  overflow: hidden;
}
.movies-head-text {
  flex: 1 1 320px;
  min-width: 260px;
}
.movies-head-text h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 6px;
}
.movies-head-text p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 460px;
  margin-bottom: 16px;
}
.personalizar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.movies-head-banner {
  flex: 1 1 420px;
  max-width: 560px;
  border-radius: 16px;
  overflow: hidden;
  background: #d9b400;
}
.movies-head-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.movies-row {
  scroll-snap-type: x mandatory;
}
.movie-card {
  flex: 0 0 auto;
  width: 210px;
  scroll-snap-align: start;
}
.movie-card .thumb-wrap {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #111;
}
.movie-card .thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.movie-card:hover .thumb-wrap img {
  transform: scale(1.06);
}
.movie-card .badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-top: 8px;
}
.movie-card h4 {
  font-size: 13.5px;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= EXTRAS ================= */
.extras-hero {
  margin-bottom: 32px;
  text-align: center;
}
.extras-hero-media {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  line-height: 0;
}
.extras-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.extras-hero-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin-bottom: 10px;
}
.extras-hero-desc {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
}

.extras-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.extra-card {
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}
.extra-card-icon {
  height: 46px;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.extra-card-icon img {
  height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.extra-name {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin-bottom: 6px;
}
.extra-price-line {
  text-align: center;
}
.extra-price-now {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.extra-price-period {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.extra-price-unit {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}
.extra-details {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

/* ================= DEVICES / DOWNLOAD ================= */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 20px;
  align-items: center;
}
.device-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 10px;
  height: 64px;
}
.device-item img {
  max-height: 32px;
  max-width: 100%;
  object-fit: contain;
}

/* ================= FAQ ================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}
.faq-chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-item.open .faq-answer {
  max-height: 640px;
}
.faq-answer-inner {
  padding: 0 20px 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.faq-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* ================= FOOTER ================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
  background: #090909;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-logo img {
  height: 26px;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .carousel-arrow {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
  .account-btn span {
    display: none;
  }
  .account-btn {
    padding: 9px;
  }
  .movies-head {
    flex-direction: column;
    align-items: stretch;
  }
  .movies-head-banner {
    max-width: 100%;
    aspect-ratio: 16/8;
  }
}
@media (max-width: 640px) {
  .section {
    padding: 40px 0;
  }
  .hero {
    aspect-ratio: 4/5;
    max-height: 560px;
  }
  .hero-content {
    max-width: 100%;
    bottom: 34%;
    gap: 4px;
  }
  .hero-content h1 {
    white-space: normal;
    font-size: 22px;
  }
  .hero-content .hero-sub {
    font-size: 14px;
  }
  .hero-content .hero-tag {
    font-size: 12px;
  }
  .hero-buttons {
    bottom: 11%;
    flex-direction: column;
    width: 80%;
    align-items: center;
    gap: 10px;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-dots {
    bottom: 3%;
  }
  .extras-row {
    grid-template-columns: 1fr;
  }
  .banner-header-content {
    padding: 20px;
  }
  .plan-card {
    width: 200px;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
  }
  .carousel {
    gap: 4px;
  }
}
@media (max-width: 420px) {
  .container {
    padding: 0 16px;
  }
  .plan-card {
    width: 175px;
    padding: 14px;
  }
  .movie-card {
    width: 170px;
  }
}

/* ================= AUTH / REGISTRO FLOW ================= */
.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.auth-progress {
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
}
.auth-progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 0 4px 4px 0;
  transition: width 0.3s ease;
}
.auth-main {
  flex: 1;
  padding: 56px 0 72px;
}
.auth-container {
  max-width: 440px;
}
.auth-head {
  text-align: center;
  margin-bottom: 28px;
}
.auth-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.auth-step {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.auth-title {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 700;
}

.auth-form-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-alt);
  overflow: hidden;
  margin-bottom: 22px;
}
.form-field {
  position: relative;
  height: 60px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
}
.form-field:last-of-type {
  border-bottom: none;
}
.form-field input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  padding-top: 18px;
}
.form-field-password input {
  padding-right: 36px;
}
.form-field label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--text-muted);
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}
.form-field label .req {
  color: #ff4d4f;
}
.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label {
  top: 14px;
  font-size: 11px;
  color: var(--text-muted);
}
.toggle-password {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  padding: 4px;
}
.toggle-password:hover {
  color: #fff;
}
.form-hint {
  font-size: 12px;
  color: var(--text-dim);
  padding: 12px 20px 16px;
  line-height: 1.5;
}

.fake-captcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #131313;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.fake-captcha-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fake-captcha-left span {
  font-size: 14.5px;
  color: #f0f0f0;
}
.fake-captcha-checkbox {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fake-captcha-checkbox svg {
  opacity: 0;
  transition: opacity 0.15s ease;
}
.fake-captcha-checkbox.checked {
  border-color: var(--accent);
}
.fake-captcha-checkbox.checked svg {
  opacity: 1;
}
.fake-captcha-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.fake-captcha-label {
  font-size: 10.5px;
  color: var(--text-dim);
  font-weight: 500;
}
.fake-captcha-tiny {
  font-size: 8.5px;
  color: var(--text-dim);
}
.fake-captcha-tiny a {
  color: var(--text-dim);
  text-decoration: underline;
}

.auth-terms {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 24px;
}
.auth-terms a {
  color: var(--accent);
  text-decoration: underline;
}
.auth-submit {
  width: 100%;
}
.auth-submit:disabled {
  background: var(--pill-dark);
  color: var(--text-dim);
  cursor: not-allowed;
  filter: none;
}

.auth-footer .footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.auth-footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
}
.auth-footer-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.auth-footer-legal {
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 16px;
}

.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  z-index: 200;
}
.chat-fab:hover {
  filter: brightness(1.12);
}

@media (max-width: 480px) {
  .auth-container {
    padding: 0 20px;
  }
  .fake-captcha {
    padding: 14px 16px;
  }
  .fake-captcha-left span {
    font-size: 13.5px;
  }
}

/* ================= CHECKOUT / PAGO (casifinal.html) ================= */
.checkout-container {
  max-width: 1000px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.payment-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-alt);
  overflow: hidden;
}
.payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.payment-option:last-child {
  border-bottom: none;
}
.payment-option-icon {
  font-size: 20px;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}
.payment-option-label {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}
.payment-option-sub {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
  font-weight: 400;
}
.payment-radio {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.payment-radio.checked {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.payment-option.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.payment-option.disabled .payment-radio {
  cursor: not-allowed;
}
.coupon-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-alt);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
}
.coupon-icon {
  font-size: 20px;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}
.coupon-label {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}
.coupon-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  display: none;
}
.coupon-toggle {
  color: var(--accent);
  font-weight: 600;
  font-size: 14.5px;
  flex-shrink: 0;
}
.field-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-alt);
  padding: 16px 20px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-row + .field-row {
  margin-top: 16px;
}
.field-box {
  position: relative;
  height: 58px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 16px;
}
.field-box input,
.field-box select {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  padding-top: 18px;
  appearance: none;
  -webkit-appearance: none;
}
.field-box select {
  cursor: pointer;
}
/* Las <option> heredan color:#fff del select de arriba, que sirve para
   el tema oscuro del campo cerrado, pero el navegador abre la lista
   con fondo blanco nativo -> texto blanco invisible salvo al hacer
   hover (resaltado azul del navegador). Se fuerza color oscuro acá. */
.field-box select option {
  color: #111;
  background-color: #fff;
}
.field-box select:disabled {
  cursor: not-allowed;
  color: var(--text-dim);
}
.field-box label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14.5px;
  color: var(--text-muted);
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}
.field-box label .req {
  color: #ff4d4f;
}
.field-box input:focus ~ label,
.field-box input:not(:placeholder-shown) ~ label,
.field-box.has-value label {
  top: 15px;
  font-size: 10.5px;
}
.field-box .field-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.field-box .field-calendar {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.field-hint {
  font-size: 11.5px;
  color: var(--accent);
  margin-top: 6px;
  min-height: 14px;
}
.field-hint.error {
  color: #ff4d4f;
}
.summary-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-alt);
  padding: 20px;
  position: sticky;
  top: 90px;
}
.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.summary-head h3 {
  font-size: 15px;
  font-weight: 700;
}
.summary-edit {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}
.summary-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
}
.summary-row + .summary-row {
  border-top: 1px solid var(--border);
}
.summary-row strong {
  font-weight: 700;
}
.summary-note {
  background: #131313;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 11.5px;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 14px 0 18px;
}
.summary-confirm {
  width: 100%;
}
.summary-confirm:disabled {
  background: var(--pill-dark);
  color: var(--text-dim);
  cursor: not-allowed;
  filter: none;
}

@media (max-width: 860px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .summary-card {
    position: static;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ================= BOTÓN PRIMARIO DESHABILITADO (genérico) ================= */
.btn-primary:disabled {
  background: var(--pill-dark);
  color: var(--text-dim);
  cursor: not-allowed;
  filter: none;
}

/* ================= DATOS DE TARJETA (final.html) ================= */
.accept-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  margin-bottom: 12px;
}
.accept-cards {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.accept-cards img {
  height: 26px;
  width: auto;
  border-radius: 4px;
  background: #2f2f2f;
  padding: 3px 6px;
  object-fit: contain;
}
.card-field-full {
  margin-bottom: 16px;
}
.card-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.card-input-box {
  position: relative;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card-alt);
  padding: 0 16px;
  display: flex;
  align-items: center;
}
.card-input-box input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
}
.card-input-box input::placeholder {
  color: var(--text-muted);
}
.card-input-box.invalid {
  border-color: #ff4d4f;
}
.card-pay-btn {
  min-width: 160px;
}
@media (max-width: 560px) {
  .card-fields-row {
    grid-template-columns: 1fr;
  }
}
