/*
Theme Name: IPTV Plus
Theme URI: https://abonnementiptvplus.com/
Author: IPTV Plus
Author URI: https://abonnementiptvplus.com/
Description: Custom WordPress theme for IPTV Plus — a French IPTV subscription marketing site. Converted from a static HTML/CSS/JS site while preserving the original design, layout, typography, colors, spacing and animations pixel-for-pixel. Includes editable pricing plans, FAQs, testimonials, a native blog and a theme customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iptvplus
Tags: blog, e-commerce, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, theme-options, one-column, two-columns, right-sidebar, accessibility-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* =========================================
   DESIGN SYSTEM
========================================= */
:root {
  --red: #e50914;
  --red-dark: #c4070f;
  --dark: #09091a;
  --ink: #16162a;
  --muted: #888898;
  --bg: #f7f7f9;
  --white: #ffffff;
  --border: rgba(0,0,0,0.07);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.1);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --ease: cubic-bezier(.2,.8,.3,1);
}

/* =========================================
   RESET & BASE
========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f4f5f7;
  color: #1a1a2e;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
table { border-collapse: collapse; width: 100%; }

/* Long unbroken tokens (emails, URLs) must never force a grid/flex track
   wider than its container — grid/flex items default to min-width:auto,
   and overflow-wrap alone lets the browser break the token when needed. */
p, li, span, div, a, h1, h2, h3, h4, td, th { overflow-wrap: break-word; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  top: -100px; left: 0.5rem;
  z-index: 999999;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* Accessibility: consistent visible focus state */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 2px;
}

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden; position: absolute !important;
  word-wrap: normal !important; margin: -1px; padding: 0;
}
.screen-reader-text:focus {
  background: #fff; border-radius: 4px; box-shadow: 0 0 4px rgba(0,0,0,0.4);
  clip: auto !important; clip-path: none; color: #0d0d1a; display: block;
  font-size: 0.9rem; height: auto; left: 6px; line-height: normal;
  padding: 12px 16px; text-decoration: none; top: 6px; width: auto; z-index: 100000;
}

/* Alignment support (Gutenberg) */
.alignwide { max-width: 1180px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.wp-caption, .wp-block-image figcaption, figcaption { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 0.5rem; }

/* =========================================
   HEADER
========================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 110px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  transition: box-shadow 0.35s var(--ease);
}
.header.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.09); }
.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 100px; width: auto; display: block; object-fit: contain; }
.logo-img--footer { height: 80px; border-radius: 6px; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  justify-content: center;
}
.nav a {
  padding: 0.4rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #3a3a5c;
  border-radius: 6px;
  letter-spacing: -0.01em;
  transition: color 0.18s, background 0.18s;
}
.nav a:hover, .nav a.active,
.nav .current-menu-item > a, .nav .current_page_item > a,
.nav .current-menu-ancestor > a, .nav .current_page_ancestor > a { color: #0d0d1a; background: rgba(0,0,0,0.05); }
.nav-mobile-cta { display: none; }

.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.25rem;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 7px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}
.header-cta:hover {
  background: var(--red-dark);
  box-shadow: 0 4px 20px rgba(229,9,20,0.35);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 38px; height: 38px; padding: 6px; border-radius: 8px;
  transition: background 0.18s;
}
.nav-toggle:hover { background: rgba(0,0,0,0.06); }
.nav-toggle span {
  width: 22px; height: 2px; background: #1a1a2e; border-radius: 2px;
  display: block;
  transition: transform 0.28s var(--ease), opacity 0.2s, background 0.18s;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .header { height: 68px; }
  .header-inner { gap: 0.5rem; padding: 0 1rem; align-items: center; }
  .logo { flex: 1; display: flex; align-items: center; }
  .logo-img { height: 60px; }
  .nav-toggle { display: flex; order: 3; flex-shrink: 0; margin-right: 0; }
  .header-cta {
    order: 2; flex-shrink: 0;
    font-size: 0.68rem !important;
    padding: 0.38rem 0.85rem !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap;
  }
  .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0; z-index: 99;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 20px 52px rgba(0,0,0,0.1);
    padding: 0 1.5rem;
    max-height: 0; overflow: hidden;
    transition: max-height 0.42s var(--ease), padding 0.32s var(--ease);
  }
  .nav.open { max-height: 560px; padding: 0.5rem 1.5rem 1.5rem; }
  .nav a {
    padding: 0.85rem 0.15rem;
    font-size: 0.96rem; font-weight: 500; color: var(--ink);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-radius: 0;
  }
  .nav a:last-of-type { border-bottom: none; }
  .nav a:hover, .nav a.active,
  .nav .current-menu-item > a, .nav .current_page_item > a,
  .nav .current-menu-ancestor > a, .nav .current_page_ancestor > a { background: transparent; color: var(--red); }
  .nav-mobile-cta {
    display: flex !important; align-items: center; justify-content: center;
    margin-top: 1rem !important;
    padding: 0.88rem 1rem !important;
    background: var(--red) !important; color: #fff !important;
    border-radius: 10px !important; font-size: 0.9rem !important;
    font-weight: 700 !important; letter-spacing: 0.02em;
    box-shadow: 0 4px 22px rgba(229,9,20,0.32);
    border-bottom: none !important;
  }
  .nav-mobile-cta:hover { background: var(--red-dark) !important; }
}
@media (max-width: 480px) {
  .header-cta { display: none; }
}

/* =========================================
   PAGE HERO (inner pages — slim, dark)
========================================= */
.page-hero {
  background: linear-gradient(160deg, #060811 0%, #0d0d1a 100%);
  padding: 8rem 1.25rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 300px;
  background: radial-gradient(ellipse, rgba(229,9,20,0.13) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.75rem;
}
.page-hero-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900; letter-spacing: -0.04em;
  color: #fff; margin-bottom: 0.75rem; line-height: 1.1;
}
.page-hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7; max-width: 520px; margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
  justify-content: center; margin-top: 1.5rem;
}
.breadcrumb a { color: rgba(255,255,255,0.35); transition: color 0.15s; }
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.breadcrumb .sep { color: rgba(255,255,255,0.2); }
.breadcrumb[aria-current] { color: rgba(255,255,255,0.6); }

/* ── Section helpers ─────────────────────────────────────── */
.section { padding: 5rem 1.25rem; }
.section--alt { background: #ffffff; }
.section--dark { background: #0d0d1a; }
.section-wrap { max-width: 1280px; margin: 0 auto; }
.section-top { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900; letter-spacing: -0.04em;
  color: #0d0d1a; margin-bottom: 0.65rem;
}
.section-sub {
  font-size: 0.92rem; color: #6b6b8a;
  max-width: 520px; margin: 0 auto; line-height: 1.7;
}
.section--dark .section-title { color: #fff; }
.section--dark .section-sub { color: rgba(255,255,255,0.45); }

@media (max-width: 600px) { .section { padding: 3.5rem 1.25rem; } }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-red {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--red); color: #fff;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.03em; border-radius: 9px;
  font-family: inherit; border: none; cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}
.btn-red:hover {
  background: var(--red-dark);
  box-shadow: 0 8px 28px rgba(229,9,20,0.4);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 0.85rem 2rem;
  background: transparent; color: #1a1a2e;
  font-size: 0.88rem; font-weight: 600;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 9px; font-family: inherit; cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.btn-ghost:hover { border-color: #1a1a2e; background: rgba(0,0,0,0.03); }
.btn-ghost--white { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.18); }
.btn-ghost--white:hover { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }
.btn-cta-main {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; background: var(--red); color: #fff;
  font-size: 0.88rem; font-weight: 700; border-radius: 9px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}
.btn-cta-main:hover { background: var(--red-dark); box-shadow: 0 8px 28px rgba(229,9,20,0.4); transform: translateY(-2px); }
.btn-cta-alt {
  display: inline-flex; align-items: center; padding: 0.9rem 2rem;
  background: rgba(255,255,255,0.1); color: #fff; font-size: 0.88rem; font-weight: 600;
  border-radius: 9px; border: 1.5px solid rgba(255,255,255,0.25);
  transition: background 0.18s, border-color 0.18s;
}
.btn-cta-alt:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }
.btn-cta-white {
  display: inline-flex; align-items: center; padding: 0.85rem 1.75rem;
  background: #fff; color: #0d0d1a; font-size: 0.85rem; font-weight: 700;
  border-radius: 9px; transition: transform 0.15s, box-shadow 0.15s;
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-cta-ghost {
  display: inline-flex; align-items: center; padding: 0.85rem 1.75rem;
  background: transparent; color: #fff; font-size: 0.85rem; font-weight: 600;
  border-radius: 9px; border: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color 0.15s, background 0.15s;
}
.btn-cta-ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }

/* ── FAQ (shared across multiple pages) ──────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #fff; border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.faq-question {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem; background: none; border: none;
  cursor: pointer; text-align: left; font-family: inherit;
  font-size: 0.88rem; font-weight: 700; color: #0d0d1a;
  transition: background 0.15s;
}
.faq-question:hover { background: rgba(0,0,0,0.02); }
.faq-icon { font-size: 1.1rem; font-weight: 400; color: var(--red); flex-shrink: 0; transition: transform 0.25s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.4rem 1.1rem; font-size: 0.84rem; color: #6b6b8a; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.faq-answer a { color: var(--red); text-decoration: underline; }
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-top: 0.85em; }

/* ── Pricing cards (shared base) ──────────────────────────── */
.screen-toggle {
  display: inline-flex; background: #fff;
  border: 1px solid rgba(0,0,0,0.1); border-radius: 10px; padding: 4px; gap: 4px;
  margin-bottom: 3rem; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.screen-btn {
  padding: 0.5rem 1.5rem; font-size: 0.8rem; font-weight: 600;
  color: #6b6b8a; background: transparent; border: none;
  border-radius: 7px; cursor: pointer; font-family: inherit;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.screen-btn:hover { color: #1a1a2e; background: rgba(0,0,0,0.04); }
.screen-btn.active { background: var(--red); color: #fff; box-shadow: 0 3px 12px rgba(229,9,20,0.3); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; align-items: end; }
@media (max-width: 1024px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); align-items: start; } }
@media (max-width: 560px)  { .pricing-grid { grid-template-columns: 1fr; } }

.p-card {
  background: #fff; border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: 16px; padding: 2rem 1.5rem; text-align: left;
  position: relative; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.p-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.11); }
.p-card--featured {
  border-color: var(--red);
  background: linear-gradient(160deg, #fff8f8 0%, #fff 100%);
  box-shadow: 0 8px 40px rgba(229,9,20,0.13);
}
.p-card--featured:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(229,9,20,0.18); }
.p-badge {
  position: absolute; top: -0.8rem; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.28rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.p-plan-name { font-size: 1.15rem; font-weight: 900; letter-spacing: -0.03em; color: #0d0d1a; margin-bottom: 0.3rem; }
.p-subtitle { font-size: 0.8rem; color: #9090aa; margin-bottom: 1.25rem; line-height: 1.5; }
.p-old-price-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; }
.p-old-price { font-size: 0.85rem; color: #9090aa; text-decoration: line-through; }
.p-save {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.55rem; border-radius: 4px;
  background: rgba(22,163,74,0.12); color: #16a34a; border: 1px solid rgba(22,163,74,0.25);
}
.p-card--featured .p-save { background: rgba(229,9,20,0.1); color: var(--red); border-color: rgba(229,9,20,0.25); }
.p-price { display: flex; align-items: flex-start; gap: 2px; line-height: 1; margin-bottom: 0.25rem; }
.p-price sup { font-size: 1.2rem; font-weight: 700; color: #0d0d1a; padding-top: 0.4rem; }
.p-value { font-size: 3rem; font-weight: 900; letter-spacing: -0.05em; color: #0d0d1a; transition: opacity 0.12s; }
.p-value.fade { opacity: 0; }
.p-card--featured .p-value { color: var(--red); }
.p-per { font-size: 0.78rem; color: #9090aa; margin-bottom: 1.25rem; min-height: 1.1rem; transition: opacity 0.12s; }
.p-per.fade { opacity: 0; }
.p-btn {
  display: block; width: 100%; text-align: center; padding: 0.75rem 1rem;
  border-radius: 8px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.03em; border: 1.5px solid rgba(0,0,0,0.12);
  color: #1a1a2e; font-family: inherit; cursor: pointer; background: #fff;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.p-btn:hover { background: #1a1a2e; border-color: #1a1a2e; color: #fff; }
.p-btn--featured { background: var(--red); color: #fff; border-color: var(--red); }
.p-btn--featured:hover { background: var(--red-dark); border-color: var(--red-dark); box-shadow: 0 6px 20px rgba(229,9,20,0.35); }
.p-guarantee { font-size: 0.72rem; color: #9090aa; text-align: center; margin-top: 0.6rem; }
.p-divider { height: 1px; background: rgba(0,0,0,0.07); margin: 1.25rem 0; }
.p-features { display: flex; flex-direction: column; gap: 0.6rem; }
.p-features li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.82rem; color: #3a3a5c; }
.feat-icon { width: 16px; height: 16px; color: var(--red); flex-shrink: 0; }

/* ── Forms ───────────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-label { font-size: 0.82rem; font-weight: 600; color: #1a1a2e; }
.form-input, .form-select, .form-textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(0,0,0,0.1); border-radius: 8px;
  font-size: 0.88rem; font-family: inherit; color: #1a1a2e;
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,9,20,0.08);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint { font-size: 0.75rem; color: #9090aa; }
.form-submit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; background: #0d0d1a; color: #fff;
  font-size: 0.88rem; font-weight: 700; border-radius: 9px; border: none; cursor: pointer;
  font-family: inherit; transition: background 0.18s, transform 0.12s;
}
.form-submit:hover { background: #000; transform: translateY(-2px); }
.form-privacy { font-size: 0.75rem; color: #9090aa; margin-top: 1rem; line-height: 1.6; }
.form-privacy a { color: var(--red); text-decoration: underline; }
.form-notice { padding: 0.9rem 1.2rem; border-radius: 10px; font-size: 0.85rem; margin-bottom: 1.5rem; }
.form-notice--error { background: rgba(229,9,20,0.08); border: 1px solid rgba(229,9,20,0.25); color: #c4070f; }
.form-notice--success { background: rgba(22,163,74,0.08); border: 1px solid rgba(22,163,74,0.25); color: #16a34a; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: #08080f; border-top: 1px solid rgba(255,255,255,0.06); padding: 4rem 1.25rem 2rem; }
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 2rem;
}
@media (max-width: 900px)  { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px)  { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.35); line-height: 1.65; max-width: 240px; margin-bottom: 1.25rem; }
.footer-whatsapp {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 1rem;
  background: rgba(37,211,102,0.12); border: 1px solid rgba(37,211,102,0.25);
  border-radius: 7px; font-size: 0.78rem; font-weight: 600; color: #25d166;
  transition: background 0.18s;
}
.footer-whatsapp:hover { background: rgba(37,211,102,0.2); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6);
  transition: background 0.18s, color 0.18s;
}
.footer-social a:hover { background: var(--red); color: #fff; }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.22); }
.footer-legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.22); transition: color 0.15s; }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

@media (max-width: 600px) {
  .footer { padding: 3rem 1.25rem 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; gap: 1rem; }
}

/* ── Prose (legal/policy pages, WP block editor content) ──── */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.25rem; font-weight: 800; color: #0d0d1a; margin: 2.5rem 0 0.75rem; letter-spacing: -0.03em; }
.prose h3 { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin: 1.5rem 0 0.5rem; }
.prose p { font-size: 0.9rem; color: #3a3a5c; line-height: 1.8; margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0.75rem 0 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.prose ul li { font-size: 0.9rem; color: #3a3a5c; line-height: 1.7; list-style: disc; }
.prose ol li { font-size: 0.9rem; color: #3a3a5c; line-height: 1.7; list-style: decimal; }
.prose a { color: var(--red); text-decoration: underline; }
.prose strong { color: #0d0d1a; font-weight: 700; }
.prose .last-updated { font-size: 0.78rem; color: #9090aa; margin-bottom: 2rem; display: block; }

/* ── Scroll reveal (shared across pages) ─────────────────── */
@keyframes srIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.sr { opacity: 0; transform: translateY(22px); }
.sr.in { animation: srIn 0.6s var(--ease) forwards; }
.sr-d1.in { animation-delay: 0.08s; }
.sr-d2.in { animation-delay: 0.16s; }
.sr-d3.in { animation-delay: 0.24s; }

/* ── Article / blog shared component classes ─────────────── */
.article-wrap { max-width: 820px; margin: 0 auto; padding: 6rem 1.25rem 5rem; }
.article-featured-img { width: 100%; border-radius: var(--radius-md); margin-bottom: 1.75rem; aspect-ratio: 16/10; object-fit: cover; }
.article-eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 0.75rem; }
.article-h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 900; letter-spacing: -0.04em; color: #0d0d1a; line-height: 1.15; margin-bottom: 1.25rem; }
.article-meta-bar { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.8rem; color: #9090aa; margin-bottom: 1.5rem; }
.article-meta-badge { color: #16a34a; font-weight: 600; }
.article-body h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; color: #0d0d1a; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin: 1.75rem 0 0.75rem; }
.article-body p { font-size: 0.95rem; color: #3a3a5c; line-height: 1.85; margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.1rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.article-body ul li { font-size: 0.95rem; color: #3a3a5c; line-height: 1.75; list-style: disc; }
.article-body ol li { font-size: 0.95rem; color: #3a3a5c; line-height: 1.75; list-style: decimal; }
.article-body a { color: var(--red); text-decoration: underline; }
.article-body strong { color: #0d0d1a; font-weight: 700; }
.article-img-inline { width: 100%; border-radius: var(--radius-sm); margin: 1.75rem 0 0.5rem; aspect-ratio: 3/2; object-fit: cover; }
.article-img-caption { font-size: 0.8rem; color: #9090aa; font-style: italic; margin-bottom: 1.5rem; text-align: center; }
.callout {
  background: rgba(229,9,20,0.05); border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0; padding: 1.1rem 1.4rem; margin: 1.75rem 0;
  font-size: 0.9rem; color: #3a3a5c; line-height: 1.7;
}
.callout strong { color: #0d0d1a; }
.verdict {
  background: linear-gradient(160deg, #0d0d1a 0%, #1a1a2e 100%);
  border-radius: var(--radius-md); padding: 1.75rem 2rem; margin: 2.5rem 0; color: #fff;
}
.verdict-label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #ff7a82; margin-bottom: 0.6rem; }
.verdict h3 { color: #fff; margin-top: 0; }
.verdict p { color: rgba(255,255,255,0.7); margin-bottom: 0; }
.verdict a { color: #ff7a82; }
.compare-table, .comp-table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem;
  font-size: 0.85rem; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.compare-table th, .comp-table th {
  background: #0d0d1a; color: #fff; padding: 0.9rem 1rem; text-align: left; font-weight: 700; font-size: 0.78rem;
}
.compare-table td, .comp-table td { padding: 0.85rem 1rem; border-bottom: 1px solid rgba(0,0,0,0.06); background: #fff; color: #3a3a5c; }
.compare-table .winner, .comp-table .winner, .compare-table .check, .comp-table .check { color: #16a34a; font-weight: 700; }
.compare-table .loser, .comp-table .loser, .compare-table .cross, .comp-table .cross { color: #c4070f; }
.compare-table .neutral, .comp-table .neutral { color: #6b6b8a; }
.table-wrap { overflow-x: auto; }
.article-cta {
  background: linear-gradient(135deg, var(--red) 0%, #ff5f68 100%);
  border-radius: var(--radius-md); padding: 2.25rem 2rem; margin-top: 3rem; text-align: center; color: #fff;
}
.article-cta h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 0.5rem; }
.article-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.article-cta-btns { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

@media (max-width: 600px) {
  .article-wrap { padding: 5.5rem 1.25rem 3.5rem; }
}
