/* ==========================================================================
   Best IPTV Provider Reviews — Stylesheet
   Vanilla CSS, mobile first, no frameworks.
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8fb;
  --color-ink: #101828;
  --color-ink-soft: #475066;
  --color-border: #e3e7ee;
  --color-brand: #1454b8;
  --color-brand-dark: #0d3c86;
  --color-brand-light: #e8f0fd;
  --color-accent: #12a883;
  --color-accent-dark: #0c7f64;
  --color-whatsapp: #21bd5f;
  --color-whatsapp-dark: #189b4d;
  --color-card: #ffffff;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 4px 10px rgba(16, 24, 40, 0.08), 0 2px 4px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 12px 28px rgba(16, 24, 40, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1180px;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--color-brand);
  outline-offset: 2px;
}

ul, ol {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 2.4em; }
h3 { font-size: 1.25rem; margin-top: 1.8em; }
p { margin: 0 0 1.1em; color: var(--color-ink-soft); }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-brand);
  color: #fff;
  padding: 0.75em 1.2em;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

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

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  width: auto;
  height: 34px;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
}

.menu-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
  position: fixed;
  top: 63px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  padding: 10px 20px 30px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 99;
}

.primary-nav.is-open {
  transform: translateX(0);
}

.primary-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.primary-nav li {
  border-bottom: 1px solid var(--color-border);
}

.primary-nav a {
  display: block;
  padding: 16px 4px;
  color: var(--color-ink);
  font-weight: 600;
  font-size: 1.05rem;
}

.primary-nav a:hover {
  color: var(--color-brand);
  text-decoration: none;
}

.primary-nav a.active {
  color: var(--color-brand);
}

.primary-nav a.nav-cta {
  color: var(--color-brand);
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    transform: none;
    background: none;
    padding: 0;
    overflow: visible;
  }

  .primary-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 6px;
  }

  .primary-nav li {
    border-bottom: none;
  }

  .primary-nav a {
    padding: 8px 12px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  .primary-nav a:hover {
    background: var(--color-bg-alt);
  }

  .primary-nav a.nav-cta {
    background: var(--color-brand);
    color: #fff;
    font-weight: 700;
  }

  .primary-nav a.nav-cta:hover {
    background: var(--color-brand-dark);
  }
}

/* ---------------------------------- Buttons ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  line-height: 1.2;
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
}

.btn-primary {
  background: var(--color-brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-brand-dark);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-ink);
}

.btn-secondary:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.btn-block {
  width: 100%;
}

/* ---------------------------------- Breadcrumbs ---------------------------------- */

.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px 0;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-ink-soft);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--color-border);
}

.breadcrumbs a {
  color: var(--color-ink-soft);
}

.breadcrumbs [aria-current="page"] {
  color: var(--color-ink);
  font-weight: 600;
}

/* ---------------------------------- Promo strip ---------------------------------- */

.promo-strip {
  background: var(--color-brand-dark);
}

.promo-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
  text-align: center;
}

.promo-strip-item {
  color: #dce8fc;
  font-size: 0.8rem;
  font-weight: 600;
}

.promo-strip-item::before {
  content: "\2713";
  color: #7ee2c4;
  margin-right: 6px;
}

.promo-strip-cta {
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .promo-strip-item:nth-child(3),
  .promo-strip-item:nth-child(4) {
    display: none;
  }
}

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  padding: 40px 0 56px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-eyebrow {
  display: inline-block;
  color: var(--color-brand);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  margin-bottom: 0.4em;
}

.hero-lede {
  font-size: 1.1rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-media {
  width: 100%;
}

.section {
  padding: 44px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  max-width: 70ch;
  margin-bottom: 8px;
}

/* ---------------------------------- Cards ---------------------------------- */

.card-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 28px;
}

@media (min-width: 640px) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-brand-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  margin-bottom: 14px;
}

/* ---------------------------------- Feature image strip ---------------------------------- */

.feature-strip {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  margin: 32px 0;
  text-align: center;
}

@media (min-width: 700px) {
  .feature-strip {
    grid-template-columns: repeat(5, 1fr);
  }
}

.feature-strip-item img {
  width: 84px;
  height: 84px;
  margin: 0 auto 12px;
}

.feature-strip-item h3 {
  font-size: 0.95rem;
  margin: 0;
}

/* ---------------------------------- CTA banner ---------------------------------- */

.cta-banner {
  background: linear-gradient(135deg, var(--color-brand-dark), var(--color-brand));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cta-banner h2,
.cta-banner p {
  color: #fff;
  margin-top: 0;
}

.cta-banner p {
  opacity: 0.92;
  margin-bottom: 0;
}

.cta-banner .btn-whatsapp {
  flex-shrink: 0;
}

.cta-text {
  max-width: 56ch;
}

.cta-inline {
  margin: 28px 0;
  padding: 22px;
  border: 1px dashed var(--color-brand);
  border-radius: var(--radius-md);
  background: var(--color-brand-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-inline p {
  margin: 0;
  font-weight: 600;
  color: var(--color-ink);
}

/* ---------------------------------- Pricing ---------------------------------- */

.pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 30px;
}

@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(5, 1fr); }
}

.price-card {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.price-card.is-featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.price-card h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-brand-dark);
  margin: 4px 0 16px;
}

.price-features {
  list-style: none;
  margin: 0 0 22px;
  flex-grow: 1;
}

.price-features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* ---------------------------------- Tables ---------------------------------- */

.table-scroll {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

table.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}

.compare-table th {
  background: var(--color-bg-alt);
  font-weight: 700;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* ---------------------------------- FAQ accordion ---------------------------------- */

.faq-list {
  margin-top: 26px;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 32px 18px 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--color-ink);
  position: relative;
  font-family: inherit;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-brand);
  transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}

.faq-answer-inner {
  padding: 0 0 20px;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------- Lists ---------------------------------- */

.check-list {
  list-style: none;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--color-ink-soft);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent-dark);
  font-weight: 700;
}

.step-list {
  counter-reset: step;
  list-style: none;
  margin: 24px 0;
  display: grid;
  gap: 18px;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 46px;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.step-list h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.step-list p {
  margin-bottom: 0;
}

/* ---------------------------------- Two column content ---------------------------------- */

.content-columns {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .content-columns.with-aside {
    grid-template-columns: 2fr 1fr;
  }
}

.aside-box {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 90px;
}

.aside-box h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.aside-box ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.aside-box a {
  font-weight: 600;
}

/* ---------------------------------- Article body ---------------------------------- */

article.page-content {
  max-width: 78ch;
}

article.page-content ul,
article.page-content ol {
  padding-left: 1.3em;
  margin: 0 0 1.1em;
  color: var(--color-ink-soft);
}

article.page-content li {
  margin-bottom: 0.4em;
}

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
  background: #0e1a2b;
  color: #cbd5e1;
  margin-top: 60px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-logo {
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: #9fb0c6;
  max-width: 42ch;
}

.footer-whatsapp {
  display: inline-block;
  margin-top: 14px;
  color: #4ade80;
  font-weight: 700;
}

.footer-nav h2 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-nav a {
  color: #b7c4d6;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-money-link {
  font-weight: 700;
  color: #7db8ff !important;
}

.footer-share {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-share-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}

.footer-share-label {
  color: #9fb0c6;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-share-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-share-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 0.82rem;
}

.footer-share-list a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
}

.footer-share-list svg {
  flex-shrink: 0;
}

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-disclaimer p {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 20px;
  color: #8393a8;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 16px 20px 26px;
}

.footer-bottom p {
  color: #7386a0;
  font-size: 0.82rem;
  margin: 0;
}

/* ---------------------------------- WhatsApp float ---------------------------------- */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
}

.whatsapp-float:hover {
  background: var(--color-whatsapp-dark);
}

/* ---------------------------------- 404 ---------------------------------- */

.error-page {
  text-align: center;
  padding: 80px 20px;
}

.error-page h1 {
  font-size: 3rem;
}

.error-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}

/* ---------------------------------- Utility ---------------------------------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.small-note {
  font-size: 0.85rem;
  color: var(--color-ink-soft);
}
