/*
Theme Name: Abonnement IPTV
Theme URI: https://abonnement-iptv.pro
Description: Thème enfant Hello Elementor pour Abonnement IPTV — design streaming premium (noir / rouge), optimisé Elementor.
Author: Abonnement IPTV
Author URI: https://abonnement-iptv.pro
Template: hello-elementor
Version: 1.0.0
Text Domain: abonnement-iptv
Tags: elementor, dark, iptv, streaming
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  --aip-bg: #000000;
  --aip-bg-2: #141414;
  --aip-card: #181818;
  --aip-card-hover: #222222;
  --aip-text: #ffffff;
  --aip-muted: #b3b3b8;
  --aip-soft: #e5e5e5;
  --aip-accent: #e50914;
  --aip-accent-strong: #f40612;
  --aip-gold: #f5c518;
  --aip-success: #46d369;
  --aip-wa: #25d366;
  --aip-border: rgba(255, 255, 255, 0.08);
  --aip-border-strong: rgba(229, 9, 20, 0.55);
  --aip-radius: 0.65rem;
  --aip-radius-sm: 0.35rem;
  --aip-header-h: 4.75rem;
  --aip-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --aip-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --aip-font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --aip-display: "Bebas Neue", Impact, Haettenschweiler, sans-serif;
}

/* ==========================================================================
   2. Base + Hello Elementor overrides
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body,
body.elementor-page,
body.elementor-default {
  margin: 0;
  background: var(--aip-bg);
  color: var(--aip-text);
  font-family: var(--aip-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Hide Hello Elementor's own header/footer when Elementor or HFE takes over */
body.elementor-page .site-header,
body.elementor-page .site-footer,
body.hfe-header-enabled .site-header,
body.hfe-footer-enabled .site-footer,
body.elementor-page header.site-header,
body.elementor-page footer.site-footer {
  display: none !important;
}

/* Full-bleed Elementor sections used by the migration script */
.elementor-section.aip-bleed > .elementor-container,
.aip-bleed > .elementor-container {
  max-width: 100% !important;
  width: 100% !important;
}

.aip-bleed .elementor-widget-wrap,
.aip-bleed .elementor-column-wrap,
.aip-bleed .elementor-widget-html {
  padding: 0 !important;
  margin: 0 !important;
}

.elementor-widget-html > .elementor-widget-container {
  padding: 0 !important;
}

.site-main,
.page-content,
.elementor,
main {
  background: var(--aip-bg);
}

::selection {
  background: rgba(229, 9, 20, 0.45);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--aip-accent);
  outline-offset: 3px;
}

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

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

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

.aip-wrap {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
}

.aip-wrap-sm {
  width: min(820px, calc(100% - 2rem));
  margin-inline: auto;
}

.aip-section {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.aip-section-tight {
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.aip-section-alt {
  background: linear-gradient(180deg, #000 0%, #0b0b0b 50%, #000 100%);
}

.aip-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aip-accent-strong);
}

.aip-title {
  margin: 0.55rem 0 0;
  font-family: var(--aip-display);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--aip-text);
}

.aip-lead {
  margin: 0.85rem 0 0;
  max-width: 46rem;
  color: var(--aip-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.aip-head {
  margin-bottom: 2.2rem;
}

.aip-card {
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
  box-shadow: var(--aip-shadow);
  padding: 1.5rem;
  transition: border-color 180ms var(--aip-ease), background 180ms var(--aip-ease),
    transform 180ms var(--aip-ease);
}

.aip-card:hover {
  background: var(--aip-card-hover);
  border-color: rgba(255, 255, 255, 0.16);
}

.aip-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--aip-text);
}

.aip-card p {
  margin: 0;
  color: var(--aip-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.aip-grid {
  display: grid;
  gap: 1rem;
}

.aip-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aip-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aip-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.aip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--aip-radius-sm);
  font-family: var(--aip-font);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  text-align: center;
  transition: transform 160ms var(--aip-ease), background-color 160ms var(--aip-ease),
    border-color 160ms var(--aip-ease), color 160ms var(--aip-ease), filter 160ms var(--aip-ease);
}

.aip-btn:hover {
  transform: translateY(-1px);
}

.aip-btn:active {
  transform: translateY(0);
}

.aip-btn-primary {
  background: var(--aip-accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(229, 9, 20, 0.35);
}

.aip-btn-primary:hover {
  background: var(--aip-accent-strong);
  filter: brightness(1.06);
  color: #fff;
}

.aip-btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.aip-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.aip-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.aip-btn-ghost:hover {
  border-color: var(--aip-accent);
  color: #fff;
}

.aip-btn-wa {
  background: var(--aip-wa);
  color: #04220f;
}

.aip-btn-wa:hover {
  background: #1fbe5a;
  color: #04220f;
}

.aip-btn-sm {
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.aip-btn-block {
  width: 100%;
}

.aip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ==========================================================================
   5. Header / navigation
   ========================================================================== */

.ehf-header,
.aip-header-outer {
  position: sticky;
  top: 0;
  z-index: 998;
}

.aip-header {
  position: sticky;
  top: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--aip-border);
}

.aip-header-inner {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--aip-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.aip-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.aip-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.aip-logo-text {
  font-family: var(--aip-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.aip-logo-text span {
  color: var(--aip-accent);
}

.aip-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-inline: auto;
}

.aip-nav a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--aip-soft);
  padding: 0.35rem 0;
  transition: color 160ms var(--aip-ease);
}

.aip-nav a:hover,
.aip-nav a.is-active {
  color: #fff;
}

.aip-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--aip-accent);
}

.aip-header-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}

.aip-burger {
  display: none;
  width: 2.75rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--aip-radius-sm);
  color: #fff;
  cursor: pointer;
}

.aip-burger span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

.aip-burger span::before,
.aip-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
}

.aip-burger span::before {
  top: -6px;
}

.aip-burger span::after {
  top: 6px;
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.aip-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.78) 48%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 1) 100%),
    radial-gradient(900px 500px at 80% 30%, rgba(229, 9, 20, 0.28), transparent 55%), #0a0a0a;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.aip-hero-inner {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}

.aip-hero h1 {
  margin: 1rem 0 0;
  font-family: var(--aip-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.aip-hero h1 .aip-accent {
  display: block;
  color: var(--aip-accent);
}

.aip-hero-lead {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--aip-muted);
}

.aip-hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--aip-soft);
}

.aip-hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.aip-hero-bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--aip-accent);
}

.aip-hero-bullets li.is-gold::before {
  background: var(--aip-gold);
}

.aip-hero-media {
  position: relative;
}

.aip-hero-media::before {
  content: "";
  position: absolute;
  inset: -1.5rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.28), transparent 65%);
  filter: blur(28px);
  pointer-events: none;
}

.aip-hero-media img {
  position: relative;
  width: 100%;
  border-radius: var(--aip-radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}

/* ==========================================================================
   7. Page hero (inner pages)
   ========================================================================== */

.aip-page-hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.95) 100%),
    radial-gradient(700px 340px at 15% 10%, rgba(229, 9, 20, 0.3), transparent 60%), #0a0a0a;
  border-bottom: 1px solid var(--aip-border);
}

.aip-page-hero h1 {
  margin: 0.6rem 0 0;
  font-family: var(--aip-display);
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.aip-page-hero p {
  margin: 1rem 0 0;
  max-width: 46rem;
  color: var(--aip-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.aip-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--aip-muted);
}

.aip-crumbs a:hover {
  color: #fff;
}

.aip-crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   8. Trust bar
   ========================================================================== */

.aip-trust {
  border-block: 1px solid var(--aip-border);
  background: var(--aip-bg-2);
}

.aip-trust-inner {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-block: 1.4rem;
}

.aip-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--aip-soft);
}

.aip-trust-item::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--aip-accent);
  box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.18);
}

/* ==========================================================================
   9. Horizontal media rails (films / sport)
   ========================================================================== */

.aip-rail-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.aip-rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.aip-rail::-webkit-scrollbar {
  display: none;
}

.aip-poster {
  position: relative;
  flex: 0 0 auto;
  width: 190px;
  aspect-ratio: 2 / 3;
  border-radius: var(--aip-radius-sm);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  transition: transform 180ms var(--aip-ease), border-color 180ms var(--aip-ease);
}

.aip-poster:hover {
  transform: scale(1.06);
  border-color: var(--aip-border-strong);
  z-index: 2;
}

.aip-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aip-poster-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 0.9rem 0.75rem 0.7rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.92));
}

.aip-poster-meta strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.aip-poster-meta span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  color: var(--aip-muted);
}

.aip-tile {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  aspect-ratio: 16 / 9;
  border-radius: var(--aip-radius-sm);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  transition: transform 180ms var(--aip-ease), border-color 180ms var(--aip-ease);
}

.aip-tile:hover {
  transform: scale(1.05);
  border-color: var(--aip-border-strong);
  z-index: 2;
}

.aip-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aip-tile-meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 0.9rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
}

.aip-tile-meta strong {
  display: block;
  font-family: var(--aip-display);
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
}

.aip-tile-meta span {
  display: block;
  font-size: 0.78rem;
  color: var(--aip-muted);
}

.aip-note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: rgba(179, 179, 184, 0.8);
}

/* ==========================================================================
   10. Feature / device / step tiles
   ========================================================================== */

.aip-feature {
  position: relative;
  padding: 1.6rem;
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
  transition: border-color 180ms var(--aip-ease), background 180ms var(--aip-ease);
}

.aip-feature:hover {
  border-color: var(--aip-border-strong);
  background: var(--aip-card-hover);
}

.aip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  border-radius: var(--aip-radius-sm);
  background: rgba(229, 9, 20, 0.16);
  color: var(--aip-accent-strong);
  font-size: 1.2rem;
  font-weight: 800;
}

.aip-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
}

.aip-feature p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--aip-muted);
}

.aip-device {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem;
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
  transition: border-color 180ms var(--aip-ease);
}

.aip-device:hover {
  border-color: var(--aip-border-strong);
}

.aip-device-badge {
  flex: 0 0 auto;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aip-muted);
}

.aip-device h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.aip-device p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--aip-muted);
}

.aip-step {
  padding: 1.5rem;
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
}

.aip-step-num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--aip-accent-strong);
}

.aip-step h3 {
  margin: 0.7rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.aip-step p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--aip-muted);
}

/* ==========================================================================
   11. Split / resume block
   ========================================================================== */

.aip-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
}

.aip-resume {
  position: relative;
  min-height: 280px;
  padding: 1.75rem;
  border: 1px solid var(--aip-border-strong);
  border-radius: var(--aip-radius-sm);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.aip-resume::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(20, 0, 0, 0.72) 45%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(135deg, rgba(229, 9, 20, 0.35), transparent 60%);
}

.aip-resume > * {
  position: relative;
  z-index: 1;
}

.aip-resume p.aip-resume-label {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--aip-accent-strong);
}

.aip-resume ul {
  margin: 1.1rem 0 0;
  padding: 0 0 0 1.1rem;
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.9;
}

/* ==========================================================================
   12. Pricing
   ========================================================================== */

.aip-plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.aip-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
  box-shadow: var(--aip-shadow);
  transition: transform 180ms var(--aip-ease), border-color 180ms var(--aip-ease);
}

.aip-plan:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}

.aip-plan.is-featured {
  border-color: var(--aip-accent);
  box-shadow: 0 18px 50px rgba(229, 9, 20, 0.22);
  background: linear-gradient(180deg, #1d1112 0%, var(--aip-card) 45%);
}

.aip-plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--aip-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aip-plan h3 {
  margin: 0;
  font-family: var(--aip-display);
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.aip-plan-quality {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aip-muted);
}

.aip-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.1rem 0 0;
  font-family: var(--aip-display);
  font-size: 3rem;
  line-height: 1;
  color: #fff;
}

.aip-price small {
  font-family: var(--aip-font);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--aip-muted);
}

.aip-plan-list {
  flex: 1 1 auto;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--aip-soft);
}

.aip-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
}

.aip-plan-list li::before {
  content: "✓";
  color: var(--aip-success);
  font-weight: 800;
}

/* ==========================================================================
   13. Tables
   ========================================================================== */

.aip-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
}

.aip-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.aip-table th {
  padding: 0.85rem 1rem;
  background: var(--aip-bg-2);
  color: var(--aip-soft);
  font-weight: 700;
  text-align: left;
}

.aip-table td {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--aip-border);
  color: var(--aip-muted);
}

.aip-table td:first-child {
  color: #fff;
  font-weight: 600;
}

/* ==========================================================================
   14. FAQ (native details/summary)
   ========================================================================== */

.aip-faq {
  display: grid;
  gap: 0.65rem;
}

.aip-faq details {
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius-sm);
  overflow: hidden;
  transition: border-color 180ms var(--aip-ease);
}

.aip-faq details[open] {
  border-color: var(--aip-border-strong);
}

.aip-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.aip-faq summary::-webkit-details-marker {
  display: none;
}

.aip-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--aip-accent-strong);
  transition: transform 180ms var(--aip-ease);
}

.aip-faq details[open] summary::after {
  content: "−";
}

.aip-faq .aip-faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--aip-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.aip-faq .aip-faq-body p {
  margin: 0;
}

/* ==========================================================================
   15. Testimonials
   ========================================================================== */

.aip-quote {
  padding: 1.6rem;
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
}

.aip-stars {
  color: var(--aip-gold);
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}

.aip-quote p {
  margin: 0.8rem 0 1.1rem;
  color: var(--aip-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.aip-quote footer {
  font-size: 0.85rem;
  color: var(--aip-muted);
}

.aip-quote footer strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
}

/* ==========================================================================
   16. CTA bands
   ========================================================================== */

.aip-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.25rem);
  border-radius: var(--aip-radius);
  border: 1px solid var(--aip-border-strong);
  background-size: cover;
  background-position: center;
}

.aip-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.6) 100%),
    linear-gradient(135deg, rgba(229, 9, 20, 0.35), transparent 65%);
}

.aip-cta > * {
  position: relative;
  z-index: 1;
}

.aip-cta h2 {
  margin: 0;
  font-family: var(--aip-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.aip-cta p {
  margin: 0.9rem 0 0;
  max-width: 44rem;
  color: var(--aip-soft);
  line-height: 1.7;
}

.aip-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
}

.aip-banner .aip-btn {
  flex: 0 0 auto;
}

/* ==========================================================================
   17. Prose / editorial content
   ========================================================================== */

.aip-prose {
  color: var(--aip-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.aip-prose h2,
.aip-prose h3 {
  font-family: var(--aip-display);
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.aip-prose h2 {
  margin: 2.5rem 0 0.9rem;
  font-size: 2rem;
}

.aip-prose h3 {
  margin: 1.8rem 0 0.7rem;
  font-size: 1.45rem;
}

.aip-prose h2:first-child,
.aip-prose h3:first-child {
  margin-top: 0;
}

.aip-prose p {
  margin: 0 0 1rem;
}

.aip-prose ul,
.aip-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.aip-prose li {
  margin-bottom: 0.45rem;
}

.aip-prose a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aip-prose a:hover {
  color: var(--aip-accent-strong);
}

.aip-prose strong {
  color: #fff;
}

/* Guide cards */
.aip-guide {
  padding: 1.6rem;
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
}

.aip-guide h2,
.aip-guide h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.aip-guide > p {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--aip-muted);
}

.aip-guide ol {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: aipstep;
}

.aip-guide ol li {
  position: relative;
  padding: 0 0 0 2.4rem;
  margin-bottom: 1rem;
  counter-increment: aipstep;
}

.aip-guide ol li::before {
  content: counter(aipstep);
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.18);
  color: var(--aip-accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.aip-guide ol li strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.aip-guide ol li span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--aip-muted);
}

/* ==========================================================================
   18. Forms
   ========================================================================== */

.aip-form {
  padding: 1.6rem;
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
}

.aip-form h2,
.aip-form h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.aip-form > p {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--aip-muted);
}

.aip-field {
  display: block;
  margin-bottom: 0.9rem;
}

.aip-field > span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--aip-soft);
}

.aip-field input,
.aip-field select,
.aip-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--aip-radius-sm);
  color: #fff;
  font-family: var(--aip-font);
  font-size: 0.95rem;
  transition: border-color 160ms var(--aip-ease);
}

.aip-field input:focus,
.aip-field select:focus,
.aip-field textarea:focus {
  outline: none;
  border-color: var(--aip-accent);
}

.aip-field select option {
  background: #0f0f0f;
  color: #fff;
}

.aip-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 0.9rem;
}

.aip-form-hint {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--aip-muted);
}

/* ==========================================================================
   19. Blog
   ========================================================================== */

.aip-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.aip-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--aip-card);
  border: 1px solid var(--aip-border);
  border-radius: var(--aip-radius);
  transition: transform 180ms var(--aip-ease), border-color 180ms var(--aip-ease);
}

.aip-post-card:hover {
  transform: translateY(-3px);
  border-color: var(--aip-border-strong);
}

.aip-post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.aip-post-body {
  padding: 1.25rem;
}

.aip-post-cat {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.16);
  color: var(--aip-accent-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aip-post-body h3 {
  margin: 0.7rem 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.aip-post-body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--aip-muted);
}

.aip-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  color: var(--aip-muted);
}

/* Single post rendered through Hello Elementor */
.single-post .site-main,
.blog .site-main,
.archive .site-main {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

.single-post .entry-title,
.blog .entry-title,
.archive .entry-title {
  font-family: var(--aip-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.single-post .entry-content,
.page .entry-content {
  color: var(--aip-muted);
}

/* ==========================================================================
   20. Footer + floating WhatsApp
   ========================================================================== */

.aip-footer {
  border-top: 1px solid var(--aip-border);
  background: #0b0b0b;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.aip-footer-grid {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2.5rem;
}

.aip-footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
}

.aip-footer h4 {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.aip-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aip-footer li {
  margin-bottom: 0.6rem;
}

.aip-footer a {
  font-size: 0.88rem;
  color: var(--aip-muted);
  transition: color 160ms var(--aip-ease);
}

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

.aip-footer p {
  color: var(--aip-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.aip-footer-bottom {
  width: min(1280px, calc(100% - 2rem));
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--aip-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--aip-muted);
}

.aip-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 997;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: var(--aip-wa);
  color: #04220f;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition: transform 160ms var(--aip-ease);
}

.aip-fab:hover {
  transform: translateY(-2px);
  color: #04220f;
}

/* ==========================================================================
   21. Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .aip-plans,
  .aip-grid-4,
  .aip-footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aip-grid-3,
  .aip-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .aip-hero-inner,
  .aip-split,
  .aip-footer-grid {
    grid-template-columns: 1fr;
  }

  .aip-hero-media {
    order: -1;
    max-width: 560px;
  }

  .aip-trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aip-nav {
    position: absolute;
    top: var(--aip-header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: rgba(0, 0, 0, 0.97);
    border-bottom: 1px solid var(--aip-border);
    display: none;
  }

  .aip-header.is-open .aip-nav {
    display: flex;
  }

  .aip-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--aip-border);
  }

  .aip-burger {
    display: inline-flex;
  }

  .aip-header-cta .aip-btn {
    display: none;
  }
}

@media (max-width: 720px) {
  .aip-grid-2,
  .aip-grid-3,
  .aip-grid-4,
  .aip-plans,
  .aip-posts,
  .aip-footer-cols,
  .aip-form-row {
    grid-template-columns: 1fr;
  }

  .aip-trust-inner {
    grid-template-columns: 1fr;
  }

  .aip-poster {
    width: 148px;
  }

  .aip-tile {
    width: 260px;
  }

  .aip-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .aip-actions .aip-btn {
    width: 100%;
  }

  .aip-fab {
    padding: 0.75rem 0.95rem;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .aip-btn,
  .aip-card,
  .aip-plan,
  .aip-poster,
  .aip-tile,
  .aip-post-card,
  .aip-fab {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   22. Print
   ========================================================================== */

@media print {
  .aip-header,
  .aip-fab,
  .aip-footer,
  .aip-cta {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
