/*
Theme Name: IPTVTA Italia
Theme URI: https://iptvta.com/
Author: IPTVTA Editorial & Tech Team
Author URI: https://iptvta.com/chi-siamo/
Description: Tema WordPress editoriale ad alte prestazioni per IPTVTA.com (it-IT). Design minimalista su fondo bianco, mobile-first, ottimizzato per Core Web Vitals, SEO su Google.it e importazione completa con un clic da Aspetto.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iptvta
Tags: custom-logo, custom-menu, featured-images, full-width-template, blog, translation-ready
*/

/* ==========================================================================
   1. DESIGN TOKENS — CHIAREZZA EDITORIALE (WHITE-DOMINANT IT-IT)
   ========================================================================== */
:root {
  --iptvta-bg: #FFFFFF;
  --iptvta-surface: #F9F8F6;
  --iptvta-surface-alt: #F3F4F6;
  --iptvta-ink: #111827;
  --iptvta-body: #374151;
  --iptvta-muted: #6B7280;
  --iptvta-cobalt: #1E3A8A;
  --iptvta-cobalt-soft: #EFF6FF;
  --iptvta-cta: #EA580C;
  --iptvta-cta-hover: #C2410C;
  --iptvta-pine: #0F766E;
  --iptvta-pine-soft: #F0FDFA;
  --iptvta-wa: #25D366;
  --iptvta-wa-hover: #1EBE5D;
  --iptvta-border: #E5E7EB;
  --iptvta-border-strong: #D1D5DB;
  --iptvta-shadow: 0 8px 24px -8px rgba(17, 24, 39, 0.08);
  --iptvta-shadow-lg: 0 18px 40px -16px rgba(17, 24, 39, 0.12);
  --iptvta-radius-sm: 8px;
  --iptvta-radius: 12px;
  --iptvta-radius-lg: 18px;
  --iptvta-font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --iptvta-font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --iptvta-max-w: 1200px;
  --iptvta-narrow-w: 840px;
  --iptvta-header-h: 72px;
  --iptvta-transition: 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   2. RESET & BASE TYPOGRAPHY
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--iptvta-header-h) + 24px);
}
body {
  margin: 0;
  background-color: var(--iptvta-bg);
  color: var(--iptvta-body);
  font-family: var(--iptvta-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--iptvta-cobalt); text-decoration: none; transition: color var(--iptvta-transition); }
a:hover { color: var(--iptvta-cta); }
:focus-visible { outline: 3px solid var(--iptvta-cobalt); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--iptvta-font-heading);
  color: var(--iptvta-ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.375rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.35rem; }
li { margin-bottom: 0.45rem; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.iptvta-skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 9999;
  background: var(--iptvta-cobalt); color: #fff; padding: 10px 16px;
  border-radius: var(--iptvta-radius-sm); font-weight: 600;
}
.iptvta-skip-link:focus { left: 16px; color: #fff; }

/* ==========================================================================
   3. LAYOUT & SECTIONS
   ========================================================================== */
.iptvta-container {
  width: 100%;
  max-width: var(--iptvta-max-w);
  margin: 0 auto;
  padding: 0 20px;
}
.iptvta-container--narrow { max-width: var(--iptvta-narrow-w); }
.iptvta-section { padding: 72px 0; background: var(--iptvta-bg); }
.iptvta-section--surface { background: var(--iptvta-surface); border-top: 1px solid var(--iptvta-border); border-bottom: 1px solid var(--iptvta-border); }
.iptvta-section--tight { padding: 48px 0; }

.iptvta-section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.iptvta-section-head--left { margin-left: 0; text-align: left; }
.iptvta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--iptvta-cobalt); background: var(--iptvta-cobalt-soft);
  border: 1px solid #DBEAFE; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.iptvta-eyebrow--pine { color: var(--iptvta-pine); background: var(--iptvta-pine-soft); border-color: #CCFBF1; }
.iptvta-lead { font-size: clamp(1.02rem, 1.6vw, 1.175rem); color: var(--iptvta-body); line-height: 1.65; }
.iptvta-muted { color: var(--iptvta-muted); font-size: 0.925rem; }

/* Grid helpers */
.iptvta-grid { display: grid; gap: 24px; }
.iptvta-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.iptvta-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.iptvta-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */
.iptvta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--iptvta-font-body); font-weight: 700; font-size: 0.95rem;
  line-height: 1; padding: 14px 24px; border-radius: var(--iptvta-radius-sm);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color var(--iptvta-transition), border-color var(--iptvta-transition), transform var(--iptvta-transition), box-shadow var(--iptvta-transition), color var(--iptvta-transition);
  min-height: 48px;
}
.iptvta-btn--primary { background: var(--iptvta-cta); color: #fff; }
.iptvta-btn--primary:hover { background: var(--iptvta-cta-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -6px rgba(234, 88, 12, 0.4); }
.iptvta-btn--cobalt { background: var(--iptvta-cobalt); color: #fff; }
.iptvta-btn--cobalt:hover { background: #172554; color: #fff; transform: translateY(-1px); }
.iptvta-btn--outline { background: #fff; color: var(--iptvta-ink); border-color: var(--iptvta-border-strong); }
.iptvta-btn--outline:hover { border-color: var(--iptvta-cobalt); color: var(--iptvta-cobalt); background: var(--iptvta-cobalt-soft); }
.iptvta-btn--whatsapp { background: var(--iptvta-wa); color: #fff; }
.iptvta-btn--whatsapp:hover { background: var(--iptvta-wa-hover); color: #fff; transform: translateY(-1px); }
.iptvta-btn--sm { padding: 10px 16px; font-size: 0.875rem; min-height: 40px; }
.iptvta-btn--block { width: 100%; }
.iptvta-btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.iptvta-btn-group--center { justify-content: center; }

/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */
.iptvta-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--iptvta-border);
  height: var(--iptvta-header-h);
}
.iptvta-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.iptvta-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--iptvta-font-heading); font-weight: 700; font-size: 1.25rem;
  color: var(--iptvta-ink); letter-spacing: -0.03em; flex-shrink: 0;
}
.iptvta-brand:hover { color: var(--iptvta-cobalt); }
.iptvta-brand img { max-height: 36px; width: auto; }
.iptvta-nav { display: flex; align-items: center; }
.iptvta-nav__list {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.iptvta-nav__list a {
  display: inline-block; padding: 8px 12px; font-size: 0.925rem; font-weight: 600;
  color: var(--iptvta-body); border-radius: 6px;
}
.iptvta-nav__list a:hover,
.iptvta-nav__list .current-menu-item > a {
  color: var(--iptvta-cobalt); background: var(--iptvta-cobalt-soft);
}
.iptvta-header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.iptvta-menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--iptvta-border);
  background: #fff; color: var(--iptvta-ink); border-radius: var(--iptvta-radius-sm); cursor: pointer;
}

/* Mobile Drawer */
.iptvta-drawer {
  position: fixed; inset: var(--iptvta-header-h) 0 0 0; z-index: 890;
  background: #fff; padding: 24px 20px 36px; overflow-y: auto;
  border-top: 1px solid var(--iptvta-border);
  transform: translateX(100%); transition: transform 0.25s ease;
  display: none;
}
.iptvta-drawer.is-open { display: block; transform: translateX(0); }
.iptvta-drawer__list { list-style: none; margin: 0 0 24px; padding: 0; }
.iptvta-drawer__list li { margin: 0; border-bottom: 1px solid var(--iptvta-border); }
.iptvta-drawer__list a {
  display: block; padding: 14px 4px; font-size: 1.05rem; font-weight: 600; color: var(--iptvta-ink);
}
body.iptvta-menu-open { overflow: hidden; }
body.iptvta-menu-open .iptvta-wa-float { opacity: 0; pointer-events: none; transform: translateY(16px); }

/* ==========================================================================
   6. HERO & EDITORIAL EPG SHOWCASE
   ========================================================================== */
.iptvta-hero { padding: 64px 0 72px; background: var(--iptvta-bg); }
.iptvta-hero__center { max-width: 860px; margin: 0 auto; text-align: center; }
.iptvta-hero__subtitle {
  max-width: 680px; margin: 16px auto 28px;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--iptvta-body);
}
.iptvta-trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px;
  margin-top: 24px; font-size: 0.875rem; font-weight: 600; color: var(--iptvta-muted);
}
.iptvta-trust-bar span { display: inline-flex; align-items: center; gap: 6px; }
.iptvta-trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--iptvta-pine); display: inline-block; }

.iptvta-epg-showcase {
  margin-top: 44px;
  background: var(--iptvta-surface);
  border: 1px solid var(--iptvta-border);
  border-radius: var(--iptvta-radius-lg);
  padding: 20px;
  box-shadow: var(--iptvta-shadow-lg);
}
.iptvta-epg-frame {
  background: #fff;
  border: 1px solid var(--iptvta-border);
  border-radius: var(--iptvta-radius);
  overflow: hidden;
}
.iptvta-epg-topbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; background: var(--iptvta-ink); color: #fff; font-size: 0.85rem;
}
.iptvta-epg-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.iptvta-epg-pill {
  padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,0.12);
  color: #E5E7EB; font-weight: 600; font-size: 0.78rem;
}
.iptvta-epg-pill--active { background: var(--iptvta-cta); color: #fff; }
.iptvta-epg-grid {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 0;
}
.iptvta-epg-screen {
  padding: 24px; border-right: 1px solid var(--iptvta-border);
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
}
.iptvta-epg-list { padding: 18px 20px; background: #fff; }
.iptvta-epg-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 8px; border: 1px solid var(--iptvta-border);
  margin-bottom: 8px; font-size: 0.875rem;
}
.iptvta-epg-row:last-child { margin-bottom: 0; }
.iptvta-epg-row--live { background: var(--iptvta-cobalt-soft); border-color: #BFDBFE; }
.iptvta-badge {
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
}
.iptvta-badge--pine { background: var(--iptvta-pine-soft); color: var(--iptvta-pine); }
.iptvta-badge--cobalt { background: var(--iptvta-cobalt-soft); color: var(--iptvta-cobalt); }
.iptvta-badge--cta { background: #FFF7ED; color: var(--iptvta-cta); }

/* ==========================================================================
   7. PRICING CARDS (4-COLUMN HORIZONTAL EDITORIAL)
   ========================================================================== */
.iptvta-pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.iptvta-plan {
  position: relative; background: #fff; border: 1px solid var(--iptvta-border);
  border-radius: var(--iptvta-radius); padding: 28px 22px 24px;
  display: flex; flex-direction: column; box-shadow: var(--iptvta-shadow);
  transition: transform var(--iptvta-transition), border-color var(--iptvta-transition);
}
.iptvta-plan:hover { transform: translateY(-3px); border-color: var(--iptvta-cobalt); }
.iptvta-plan--featured {
  border: 2px solid var(--iptvta-cobalt);
  border-top: 6px solid var(--iptvta-cta);
  box-shadow: var(--iptvta-shadow-lg);
}
.iptvta-plan__tag {
  display: inline-block; align-self: flex-start;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
  background: var(--iptvta-pine-soft); color: var(--iptvta-pine);
}
.iptvta-plan--featured .iptvta-plan__tag { background: var(--iptvta-cta); color: #fff; }
.iptvta-plan__title { font-size: 1.25rem; margin-bottom: 4px; }
.iptvta-plan__sub { font-size: 0.875rem; color: var(--iptvta-muted); min-height: 42px; margin-bottom: 16px; }
.iptvta-plan__price {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--iptvta-font-heading); font-size: 2.35rem; font-weight: 700;
  color: var(--iptvta-ink); line-height: 1; margin-bottom: 6px;
}
.iptvta-plan__unit { font-size: 0.875rem; font-weight: 600; color: var(--iptvta-muted); }
.iptvta-plan__per-month { font-size: 0.85rem; font-weight: 700; color: var(--iptvta-pine); margin-bottom: 18px; min-height: 22px; }
.iptvta-plan__features {
  list-style: none; padding: 16px 0 0; margin: 0 0 22px;
  border-top: 1px solid var(--iptvta-border); flex-grow: 1; font-size: 0.9rem;
}
.iptvta-plan__features li {
  position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--iptvta-body);
}
.iptvta-plan__features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--iptvta-pine); font-weight: 700;
}
.iptvta-plan__note { font-size: 0.78rem; color: var(--iptvta-muted); text-align: center; margin-top: 10px; }

/* ==========================================================================
   8. CARDS, METRICS, STEPS, TABS, TABLES & FAQ
   ========================================================================== */
.iptvta-card {
  background: #fff; border: 1px solid var(--iptvta-border);
  border-radius: var(--iptvta-radius); padding: 26px;
  box-shadow: var(--iptvta-shadow);
}
.iptvta-card--flat { box-shadow: none; }
.iptvta-card__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--iptvta-cobalt-soft); color: var(--iptvta-cobalt);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 16px;
}
.iptvta-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--iptvta-cobalt); color: #fff;
  font-family: var(--iptvta-font-heading); font-weight: 700; margin-bottom: 14px;
}

/* Interactive Device & App Finder Tabs */
.iptvta-tabs__nav {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px;
}
.iptvta-tab-btn {
  font-family: var(--iptvta-font-body); font-size: 0.95rem; font-weight: 700;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--iptvta-border-strong);
  background: #fff; color: var(--iptvta-body); cursor: pointer;
  transition: all var(--iptvta-transition);
}
.iptvta-tab-btn:hover { border-color: var(--iptvta-cobalt); color: var(--iptvta-cobalt); }
.iptvta-tab-btn[aria-selected="true"] {
  background: var(--iptvta-cobalt); border-color: var(--iptvta-cobalt); color: #fff;
}
.iptvta-tab-panel {
  background: #fff; border: 1px solid var(--iptvta-border);
  border-radius: var(--iptvta-radius-lg); padding: 32px; box-shadow: var(--iptvta-shadow);
}
.iptvta-tab-panel[hidden] { display: none; }
.iptvta-tab-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.iptvta-app-pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 20px; }
.iptvta-app-pill {
  padding: 6px 12px; border-radius: 8px; background: var(--iptvta-surface-alt);
  border: 1px solid var(--iptvta-border); font-size: 0.85rem; font-weight: 700; color: var(--iptvta-ink);
}

/* Alternating Editorial Showcase */
.iptvta-split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px; align-items: center; margin-bottom: 48px;
}
.iptvta-split:last-child { margin-bottom: 0; }
.iptvta-split--reverse .iptvta-split__media { order: 2; }
.iptvta-visual-box {
  background: var(--iptvta-surface); border: 1px solid var(--iptvta-border);
  border-radius: var(--iptvta-radius-lg); padding: 24px; box-shadow: var(--iptvta-shadow);
}

/* Editorial Comparison Table (Responsive Table -> Cards on Mobile) */
.iptvta-table-wrap {
  background: #fff; border: 1px solid var(--iptvta-border);
  border-radius: var(--iptvta-radius); overflow: hidden; box-shadow: var(--iptvta-shadow);
}
.iptvta-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.iptvta-table th, .iptvta-table td {
  padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--iptvta-border); vertical-align: top;
}
.iptvta-table thead th {
  background: var(--iptvta-ink); color: #fff; font-family: var(--iptvta-font-heading); font-size: 0.92rem;
}
.iptvta-table tbody tr:last-child td { border-bottom: none; }
.iptvta-table tbody tr:nth-child(even) { background: var(--iptvta-surface); }
.iptvta-col-highlight { color: var(--iptvta-cobalt); font-weight: 700; }

/* FAQ Accordion */
.iptvta-faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.iptvta-faq-item {
  background: #fff; border: 1px solid var(--iptvta-border);
  border-radius: var(--iptvta-radius); overflow: hidden;
}
.iptvta-faq-trigger {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--iptvta-font-heading); font-size: 1.03rem; font-weight: 600;
  color: var(--iptvta-ink); cursor: pointer;
}
.iptvta-faq-trigger:hover { background: var(--iptvta-surface); }
.iptvta-faq-icon {
  width: 24px; height: 24px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--iptvta-cobalt-soft); color: var(--iptvta-cobalt);
  font-weight: 700; transition: transform var(--iptvta-transition);
}
.iptvta-faq-trigger[aria-expanded="true"] .iptvta-faq-icon { transform: rotate(45deg); background: var(--iptvta-cobalt); color: #fff; }
.iptvta-faq-panel { padding: 0 24px 20px; color: var(--iptvta-body); border-top: 1px solid var(--iptvta-border); padding-top: 16px; }
.iptvta-faq-panel[hidden] { display: none; }

/* Breadcrumbs & Inner Page Header */
.iptvta-page-hero {
  padding: 44px 0 48px;
  background: var(--iptvta-surface);
  border-bottom: 1px solid var(--iptvta-border);
}
.iptvta-breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; padding: 0; margin: 0 0 16px; font-size: 0.85rem; color: var(--iptvta-muted);
}
.iptvta-breadcrumbs li { margin: 0; }
.iptvta-breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--iptvta-border-strong); }

/* Blog & Article Cards */
.iptvta-post-card {
  background: #fff; border: 1px solid var(--iptvta-border);
  border-radius: var(--iptvta-radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--iptvta-shadow);
}
.iptvta-post-card__body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.iptvta-post-card__meta { font-size: 0.8rem; color: var(--iptvta-muted); margin-bottom: 8px; }
.iptvta-post-card__title { font-size: 1.15rem; margin-bottom: 10px; }
.iptvta-post-card__title a { color: var(--iptvta-ink); }
.iptvta-post-card__title a:hover { color: var(--iptvta-cobalt); }
.iptvta-post-card__excerpt { font-size: 0.92rem; color: var(--iptvta-body); flex-grow: 1; margin-bottom: 16px; }

/* Author E-E-A-T Card */
.iptvta-author-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--iptvta-surface); border: 1px solid var(--iptvta-border);
  border-radius: var(--iptvta-radius); padding: 24px; margin-top: 36px;
}
.iptvta-author-avatar {
  width: 68px; height: 68px; border-radius: 999px; flex-shrink: 0;
  background: var(--iptvta-cobalt); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--iptvta-font-heading); font-weight: 700; font-size: 1.4rem;
}

/* Final CTA Card */
.iptvta-cta-banner {
  background: #fff; border: 1px solid var(--iptvta-border);
  border-left: 5px solid var(--iptvta-cobalt);
  border-radius: var(--iptvta-radius-lg); padding: 36px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  box-shadow: var(--iptvta-shadow);
}

/* Prose / Legal Documents */
.iptvta-prose h2 { margin-top: 2rem; font-size: 1.45rem; }
.iptvta-prose h3 { margin-top: 1.4rem; font-size: 1.15rem; }
.iptvta-legal-notice {
  background: var(--iptvta-cobalt-soft); border: 1px solid #BFDBFE;
  border-radius: var(--iptvta-radius-sm); padding: 16px 20px; margin-bottom: 24px; font-size: 0.92rem;
}

/* Forms */
.iptvta-field { margin-bottom: 16px; }
.iptvta-label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--iptvta-ink); margin-bottom: 6px; }
.iptvta-input, .iptvta-select, .iptvta-textarea {
  width: 100%; padding: 12px 14px; font-family: var(--iptvta-font-body); font-size: 0.95rem;
  border: 1px solid var(--iptvta-border-strong); border-radius: var(--iptvta-radius-sm);
  background: #fff; color: var(--iptvta-ink);
}
.iptvta-textarea { min-height: 120px; resize: vertical; }

/* ==========================================================================
   9. FOOTER & FLOATING WHATSAPP BUTTON
   ========================================================================== */
.iptvta-footer {
  background: var(--iptvta-surface);
  border-top: 1px solid var(--iptvta-border);
  padding: 60px 0 32px;
  font-size: 0.92rem;
}
.iptvta-footer__grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px;
}
.iptvta-footer__title { font-size: 0.95rem; margin-bottom: 14px; color: var(--iptvta-ink); }
.iptvta-footer__list { list-style: none; padding: 0; margin: 0; }
.iptvta-footer__list li { margin-bottom: 8px; }
.iptvta-footer__list a { color: var(--iptvta-body); }
.iptvta-footer__list a:hover { color: var(--iptvta-cobalt); }
.iptvta-footer__bottom {
  padding-top: 24px; border-top: 1px solid var(--iptvta-border);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 0.85rem; color: var(--iptvta-muted);
  padding-bottom: 48px;
}

/* Persistent Floating WhatsApp Button */
.iptvta-wa-float {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 880;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--iptvta-wa); color: #fff;
  font-weight: 700; font-size: 0.92rem;
  padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.55);
  transition: transform var(--iptvta-transition), background-color var(--iptvta-transition), opacity var(--iptvta-transition);
}
.iptvta-wa-float:hover { background: var(--iptvta-wa-hover); color: #fff; transform: translateY(-2px); }
.iptvta-wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS (MOBILE-FIRST QA: 320px TO 1440px)
   ========================================================================== */
@media (max-width: 1080px) {
  .iptvta-pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iptvta-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iptvta-nav { display: none; }
  .iptvta-header__actions .iptvta-btn { display: none; }
  .iptvta-menu-toggle { display: inline-flex; }
}
@media (max-width: 820px) {
  .iptvta-section { padding: 52px 0; }
  .iptvta-grid--2, .iptvta-grid--3, .iptvta-grid--4,
  .iptvta-epg-grid, .iptvta-tab-grid, .iptvta-split { grid-template-columns: 1fr; }
  .iptvta-epg-screen { border-right: 0; border-bottom: 1px solid var(--iptvta-border); }
  .iptvta-split--reverse .iptvta-split__media { order: 0; }
  .iptvta-cta-banner { padding: 24px; }
  .iptvta-author-box { flex-direction: column; }

  /* Table-to-Card Mobile Transform */
  .iptvta-table thead { display: none; }
  .iptvta-table, .iptvta-table tbody, .iptvta-table tr, .iptvta-table td { display: block; width: 100%; }
  .iptvta-table tr { padding: 14px 16px; border-bottom: 1px solid var(--iptvta-border); background: #fff !important; }
  .iptvta-table td {
    padding: 6px 0; border: 0; display: flex; justify-content: space-between; gap: 14px; text-align: right;
  }
  .iptvta-table td::before {
    content: attr(data-label); font-weight: 700; color: var(--iptvta-ink); text-align: left;
  }
}
@media (max-width: 640px) {
  .iptvta-pricing-grid { grid-template-columns: 1fr; }
  .iptvta-footer__grid { grid-template-columns: 1fr; }
  .iptvta-hero { padding: 44px 0 52px; }
  .iptvta-wa-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 56px; height: 56px; padding: 0; justify-content: center;
  }
  .iptvta-wa-float__label { display: none; }
}

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