/*
Theme Name: Swiss IPTV Hub
Theme URI: https://swissiptvhub.com/
Author: Swiss IPTV Hub
Author URI: https://swissiptvhub.com/
Description: Theme WordPress sur mesure, rapide et accessible pour Swiss IPTV Hub. Design « Nordic Minimal Suisse » : fond blanc, grille de précision, typographie nette et parcours de conversion localisé pour la Suisse romande. Mobile-first, schema intégré, SEO technique propre.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: swissiptvhub
Tags: custom-menu, featured-images, threaded-comments, translation-ready, blog
*/

/* =================================================================
   SWISS IPTV HUB — DESIGN TOKENS
   Design family: Nordic Minimal SaaS (Swiss precision twist)
   Background is white. Brand red used sparingly as the action color.
   ================================================================= */
:root {
    /* Surfaces */
    --siptv-bg: #ffffff;
    --siptv-bg-soft: #f5f7fa;
    --siptv-bg-mist: #eef2f7;
    --siptv-bg-ink: #0e1116;
    --siptv-bg-ink-2: #161b22;

    /* Text */
    --siptv-ink: #0e1116;
    --siptv-heading: #11151b;
    --siptv-body: #515b69;
    --siptv-muted: #8a93a0;
    --siptv-on-dark: #eef2f7;
    --siptv-on-dark-muted: #aab4c2;

    /* Brand / action (from logo) */
    --siptv-primary: #e11324;
    --siptv-primary-dark: #b40e1c;
    --siptv-primary-soft: #fdeaec;
    --siptv-accent: #14233d;      /* deep alpine navy for dark UI / secondary */
    --siptv-accent-2: #2a66f0;    /* cool info blue, links */

    /* States */
    --siptv-success: #18a957;
    --siptv-success-soft: #e7f7ee;
    --siptv-amber: #f6a609;
    --siptv-whatsapp: #25d366;
    --siptv-whatsapp-dark: #1da851;

    /* Lines & shadows */
    --siptv-border: #e7ebf0;
    --siptv-border-strong: #d4dae2;
    --siptv-shadow-sm: 0 1px 2px rgba(16, 22, 34, .06), 0 1px 1px rgba(16, 22, 34, .04);
    --siptv-shadow-md: 0 6px 18px rgba(16, 22, 34, .07), 0 2px 6px rgba(16, 22, 34, .05);
    --siptv-shadow-lg: 0 24px 60px rgba(16, 22, 34, .12), 0 8px 18px rgba(16, 22, 34, .06);
    --siptv-shadow-red: 0 10px 24px rgba(225, 19, 36, .26);

    /* Radii */
    --siptv-r-xs: 8px;
    --siptv-r-sm: 12px;
    --siptv-r-md: 16px;
    --siptv-r-lg: 22px;
    --siptv-r-xl: 30px;
    --siptv-r-pill: 999px;

    /* Typography */
    --siptv-font-head: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --siptv-font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Layout */
    --siptv-container: 1180px;
    --siptv-container-wide: 1320px;
    --siptv-container-narrow: 760px;
    --siptv-gutter: clamp(18px, 4vw, 40px);

    /* Spacing rhythm */
    --siptv-section: clamp(56px, 8vw, 110px);
    --siptv-header-h: 76px;
}

/* =================================================================
   RESET / BASE
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--siptv-font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--siptv-body);
    background: var(--siptv-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--siptv-font-head);
    color: var(--siptv-heading);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }
a { color: var(--siptv-accent-2); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--siptv-primary-dark); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
strong, b { color: var(--siptv-heading); font-weight: 700; }
blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--siptv-primary); background: var(--siptv-bg-soft); border-radius: 0 var(--siptv-r-sm) var(--siptv-r-sm) 0; }

::selection { background: var(--siptv-primary); color: #fff; }

:focus-visible {
    outline: 3px solid var(--siptv-accent-2);
    outline-offset: 2px;
    border-radius: 4px;
}

.siptv-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    background: var(--siptv-ink);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 var(--siptv-r-sm) 0;
    font-weight: 600;
}
.siptv-skip-link:focus { left: 0; color: #fff; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(1px,1px,1px,1px);
    white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* =================================================================
   LAYOUT
   ================================================================= */
.siptv-container { width: 100%; max-width: var(--siptv-container); margin-inline: auto; padding-inline: var(--siptv-gutter); }
.siptv-container--wide { max-width: var(--siptv-container-wide); }
.siptv-container--narrow { max-width: var(--siptv-container-narrow); }

.siptv-section { padding-block: var(--siptv-section); }
.siptv-section--soft { background: var(--siptv-bg-soft); }
.siptv-section--mist { background: linear-gradient(180deg, #fff 0%, var(--siptv-bg-soft) 100%); }
.siptv-section--ink { background: var(--siptv-bg-ink); color: var(--siptv-on-dark); }
.siptv-section--ink h1, .siptv-section--ink h2, .siptv-section--ink h3, .siptv-section--ink h4 { color: #fff; }
.siptv-section--ink p { color: var(--siptv-on-dark-muted); }

.siptv-section-head { max-width: 680px; margin-bottom: clamp(34px, 5vw, 56px); }
.siptv-section-head--center { margin-inline: auto; text-align: center; }

.siptv-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--siptv-font-head);
    font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--siptv-primary);
    margin-bottom: 14px;
}
.siptv-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--siptv-primary); display: inline-block; }
.siptv-section-head--center .siptv-eyebrow { justify-content: center; }

.siptv-lead { font-size: 1.18rem; color: var(--siptv-body); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =================================================================
   BUTTONS
   ================================================================= */
.siptv-btn {
    --_bg: var(--siptv-primary);
    --_fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--siptv-font-head);
    font-weight: 600; font-size: 1rem; line-height: 1;
    padding: 16px 26px;
    border-radius: var(--siptv-r-pill);
    background: var(--_bg); color: var(--_fg);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    will-change: transform;
}
.siptv-btn svg { width: 19px; height: 19px; flex: none; }
.siptv-btn:hover { transform: translateY(-2px); color: var(--_fg); }
.siptv-btn:active { transform: translateY(0); }

.siptv-btn--primary { box-shadow: var(--siptv-shadow-red); }
.siptv-btn--primary:hover { --_bg: var(--siptv-primary-dark); }

.siptv-btn--dark { --_bg: var(--siptv-accent); }
.siptv-btn--dark:hover { --_bg: #0a1322; }

.siptv-btn--ghost {
    --_bg: transparent; --_fg: var(--siptv-heading);
    border-color: var(--siptv-border-strong);
}
.siptv-btn--ghost:hover { --_fg: var(--siptv-heading); border-color: var(--siptv-ink); background: var(--siptv-bg-soft); }

.siptv-btn--white { --_bg: #fff; --_fg: var(--siptv-heading); box-shadow: var(--siptv-shadow-md); }

.siptv-btn--wa { --_bg: var(--siptv-whatsapp); }
.siptv-btn--wa:hover { --_bg: var(--siptv-whatsapp-dark); }

.siptv-btn--lg { padding: 19px 34px; font-size: 1.08rem; }
.siptv-btn--block { display: flex; width: 100%; }

.siptv-link-arrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--siptv-font-head); font-weight: 600; color: var(--siptv-primary);
}
.siptv-link-arrow svg { width: 16px; height: 16px; transition: transform .2s ease; }
.siptv-link-arrow:hover { color: var(--siptv-primary-dark); }
.siptv-link-arrow:hover svg { transform: translateX(4px); }

/* =================================================================
   HEADER / NAV  (floating clean Swiss header)
   ================================================================= */
.siptv-topbar {
    background: var(--siptv-bg-ink);
    color: var(--siptv-on-dark-muted);
    font-size: .85rem;
}
.siptv-topbar .siptv-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.siptv-topbar a { color: var(--siptv-on-dark); }
.siptv-topbar a:hover { color: #fff; }
.siptv-topbar__list { display: flex; gap: 22px; align-items: center; }
.siptv-topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.siptv-topbar__item svg { width: 15px; height: 15px; color: var(--siptv-primary); }

.siptv-header {
    position: sticky; top: 0; z-index: 90;
    background: rgba(255,255,255,.86);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--siptv-border);
    transition: box-shadow .25s ease;
}
.siptv-header.is-stuck { box-shadow: var(--siptv-shadow-md); }
.siptv-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--siptv-header-h); }

.siptv-logo { display: inline-flex; align-items: center; gap: 10px; }
.siptv-logo img { height: 44px; width: auto; }
.siptv-logo__text { font-family: var(--siptv-font-head); font-weight: 700; font-size: 1.15rem; color: var(--siptv-ink); letter-spacing: -.02em; }
.siptv-logo__text span { color: var(--siptv-primary); }

.siptv-nav { display: flex; align-items: center; gap: 4px; }
.siptv-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.siptv-nav li { margin: 0; position: relative; }
.siptv-nav a {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--siptv-font-head); font-weight: 500; font-size: .96rem;
    color: var(--siptv-heading);
    padding: 10px 14px; border-radius: var(--siptv-r-pill);
}
.siptv-nav a:hover, .siptv-nav .current-menu-item > a, .siptv-nav .current_page_item > a {
    background: var(--siptv-bg-soft); color: var(--siptv-primary);
}
.siptv-nav .menu-item-has-children > a::after {
    content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px); display: inline-block; opacity: .6;
}
.siptv-nav .sub-menu {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px;
    background: #fff; border: 1px solid var(--siptv-border); border-radius: var(--siptv-r-md);
    box-shadow: var(--siptv-shadow-lg); padding: 8px; display: block;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; z-index: 5;
}
.siptv-nav li:hover > .sub-menu, .siptv-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.siptv-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: var(--siptv-r-sm); font-size: .92rem; }

.siptv-header__cta { display: flex; align-items: center; gap: 12px; }

.siptv-burger {
    display: none; width: 46px; height: 46px; border: 1px solid var(--siptv-border-strong);
    background: #fff; border-radius: var(--siptv-r-sm); cursor: pointer; padding: 0;
    align-items: center; justify-content: center;
}
.siptv-burger span, .siptv-burger span::before, .siptv-burger span::after {
    content: ""; display: block; width: 20px; height: 2px; background: var(--siptv-ink); border-radius: 2px; position: relative; transition: transform .25s ease, opacity .2s ease;
}
.siptv-burger span::before { position: absolute; top: -6px; }
.siptv-burger span::after { position: absolute; top: 6px; }
.siptv-burger[aria-expanded="true"] span { background: transparent; }
.siptv-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.siptv-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile panel */
.siptv-mobile-panel {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw); background: #fff;
    z-index: 200; transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--siptv-shadow-lg); display: flex; flex-direction: column; padding: 22px; overflow-y: auto;
}
.siptv-mobile-panel.is-open { transform: translateX(0); }
.siptv-mobile-overlay { position: fixed; inset: 0; background: rgba(14,17,22,.45); z-index: 150; opacity: 0; visibility: hidden; transition: opacity .3s ease; }
.siptv-mobile-overlay.is-open { opacity: 1; visibility: visible; }
.siptv-mobile-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.siptv-mobile-close { width: 44px; height: 44px; border: 1px solid var(--siptv-border); background: #fff; border-radius: var(--siptv-r-sm); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.siptv-mobile-panel nav ul { list-style: none; margin: 0; padding: 0; }
.siptv-mobile-panel nav a { display: block; padding: 14px 8px; border-bottom: 1px solid var(--siptv-border); font-family: var(--siptv-font-head); font-weight: 500; color: var(--siptv-heading); font-size: 1.05rem; }
.siptv-mobile-panel nav .sub-menu a { padding-left: 24px; font-size: .96rem; color: var(--siptv-body); }
.siptv-mobile-panel__cta { margin-top: 22px; display: grid; gap: 12px; }

/* =================================================================
   HERO (split: text + device visual)
   ================================================================= */
.siptv-hero { position: relative; padding-block: clamp(44px, 6vw, 84px); overflow: hidden; }
.siptv-hero::before {
    content: ""; position: absolute; top: -160px; right: -120px; width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(225,19,36,.10), transparent 62%); z-index: 0; pointer-events: none;
}
.siptv-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.siptv-hero h1 { margin-bottom: 18px; }
.siptv-hero h1 .accent { color: var(--siptv-primary); }
.siptv-hero__lead { font-size: 1.2rem; max-width: 540px; margin-bottom: 26px; }
.siptv-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.siptv-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.siptv-hero__trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .94rem; font-weight: 500; color: var(--siptv-heading); }
.siptv-hero__trust svg { width: 18px; height: 18px; color: var(--siptv-success); flex: none; }

.siptv-hero__visual { position: relative; }
.siptv-hero__visual img { width: 100%; border-radius: var(--siptv-r-lg); box-shadow: var(--siptv-shadow-lg); }
.siptv-hero__badge {
    position: absolute; background: #fff; border-radius: var(--siptv-r-md); box-shadow: var(--siptv-shadow-lg);
    padding: 14px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--siptv-border);
}
.siptv-hero__badge--tl { top: 18px; left: -18px; }
.siptv-hero__badge--br { bottom: 18px; right: -18px; }
.siptv-hero__badge strong { font-family: var(--siptv-font-head); font-size: 1.25rem; color: var(--siptv-ink); display: block; line-height: 1; }
.siptv-hero__badge small { color: var(--siptv-muted); font-size: .8rem; }
.siptv-hero__badge-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--siptv-primary-soft); display: grid; place-items: center; color: var(--siptv-primary); flex: none; }
.siptv-hero__badge-ico svg { width: 22px; height: 22px; }

/* =================================================================
   TRUST BAR / STATS STRIP
   ================================================================= */
.siptv-trustbar { border-top: 1px solid var(--siptv-border); border-bottom: 1px solid var(--siptv-border); background: #fff; }
.siptv-trustbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding-block: 22px; }
.siptv-trustbar__item { display: flex; align-items: center; gap: 12px; }
.siptv-trustbar__item svg { width: 24px; height: 24px; color: var(--siptv-primary); flex: none; }
.siptv-trustbar__item b { font-family: var(--siptv-font-head); color: var(--siptv-ink); display: block; line-height: 1.1; }
.siptv-trustbar__item span { font-size: .85rem; color: var(--siptv-muted); }

.siptv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 30px); }
.siptv-stat { text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--siptv-border); border-radius: var(--siptv-r-md); }
.siptv-stat__num { font-family: var(--siptv-font-head); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700; color: var(--siptv-ink); line-height: 1; letter-spacing: -.03em; }
.siptv-stat__num .unit { color: var(--siptv-primary); }
.siptv-stat__label { margin-top: 8px; font-size: .92rem; color: var(--siptv-body); }

/* =================================================================
   CARDS / FEATURES
   ================================================================= */
.siptv-card {
    background: #fff; border: 1px solid var(--siptv-border); border-radius: var(--siptv-r-md);
    padding: 28px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.siptv-card:hover { transform: translateY(-4px); box-shadow: var(--siptv-shadow-md); border-color: var(--siptv-border-strong); }
.siptv-card__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--siptv-bg-soft); display: grid; place-items: center; color: var(--siptv-primary); margin-bottom: 18px; }
.siptv-card__ico svg { width: 26px; height: 26px; }
.siptv-card h3 { margin-bottom: 10px; }
.siptv-card p { margin-bottom: 0; font-size: .98rem; }

/* Step cards */
.siptv-steps { counter-reset: step; }
.siptv-step { position: relative; background: #fff; border: 1px solid var(--siptv-border); border-radius: var(--siptv-r-md); padding: 30px 26px 26px; }
.siptv-step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    font-family: var(--siptv-font-head); font-weight: 700; font-size: 1.05rem; color: var(--siptv-primary);
    background: var(--siptv-primary-soft); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
}
.siptv-step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.siptv-step p { margin-bottom: 0; font-size: .96rem; }

/* Device cards */
.siptv-device { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; background: #fff; border: 1px solid var(--siptv-border); border-radius: var(--siptv-r-md); padding: 24px; }
.siptv-device__ico { width: 48px; height: 48px; color: var(--siptv-accent); }
.siptv-device h4 { margin: 0; font-size: 1.05rem; }
.siptv-device p { margin: 0; font-size: .9rem; }

/* =================================================================
   PRICING  (horizontal compare, featured ribbon)
   ================================================================= */
.siptv-pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.siptv-plan {
    position: relative; background: #fff; border: 1.5px solid var(--siptv-border); border-radius: var(--siptv-r-lg);
    padding: 30px 26px; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.siptv-plan:hover { transform: translateY(-5px); box-shadow: var(--siptv-shadow-lg); }
.siptv-plan--featured { border-color: var(--siptv-primary); box-shadow: var(--siptv-shadow-lg); }
.siptv-plan--featured::after {
    content: "Le plus choisi"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--siptv-primary); color: #fff; font-family: var(--siptv-font-head); font-size: .76rem; font-weight: 600;
    letter-spacing: .04em; padding: 6px 16px; border-radius: var(--siptv-r-pill); white-space: nowrap; box-shadow: var(--siptv-shadow-red);
}
.siptv-plan__name { font-family: var(--siptv-font-head); font-weight: 600; font-size: 1.05rem; color: var(--siptv-heading); }
.siptv-plan__duration { color: var(--siptv-muted); font-size: .88rem; margin-bottom: 16px; }
.siptv-plan__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.siptv-plan__price .cur { font-family: var(--siptv-font-head); font-weight: 600; font-size: 1.2rem; color: var(--siptv-ink); }
.siptv-plan__price .amount { font-family: var(--siptv-font-head); font-weight: 700; font-size: 2.7rem; color: var(--siptv-ink); line-height: 1; letter-spacing: -.03em; }
.siptv-plan__per { color: var(--siptv-muted); font-size: .9rem; margin-bottom: 18px; }
.siptv-plan__save { display: inline-block; font-size: .78rem; font-weight: 600; color: var(--siptv-success); background: var(--siptv-success-soft); padding: 4px 10px; border-radius: var(--siptv-r-pill); margin-bottom: 18px; }
.siptv-plan__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.siptv-plan__list li { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; color: var(--siptv-body); margin: 0; }
.siptv-plan__list svg { width: 18px; height: 18px; color: var(--siptv-success); flex: none; margin-top: 2px; }
.siptv-plan .siptv-btn { margin-top: auto; }

/* =================================================================
   FAQ (accordion)
   ================================================================= */
.siptv-faq { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.siptv-faq__item { background: #fff; border: 1px solid var(--siptv-border); border-radius: var(--siptv-r-md); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.siptv-faq__item.is-open { border-color: var(--siptv-border-strong); box-shadow: var(--siptv-shadow-sm); }
.siptv-faq__q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 20px 24px; font-family: var(--siptv-font-head); font-weight: 600; font-size: 1.05rem; color: var(--siptv-heading);
}
.siptv-faq__q .ico { width: 26px; height: 26px; border-radius: 50%; background: var(--siptv-bg-soft); display: grid; place-items: center; flex: none; position: relative; transition: background .2s ease; }
.siptv-faq__q .ico::before, .siptv-faq__q .ico::after { content: ""; position: absolute; background: var(--siptv-primary); border-radius: 2px; }
.siptv-faq__q .ico::before { width: 12px; height: 2px; }
.siptv-faq__q .ico::after { width: 2px; height: 12px; transition: transform .25s ease; }
.siptv-faq__item.is-open .siptv-faq__q .ico { background: var(--siptv-primary); }
.siptv-faq__item.is-open .siptv-faq__q .ico::before, .siptv-faq__item.is-open .siptv-faq__q .ico::after { background: #fff; }
.siptv-faq__item.is-open .siptv-faq__q .ico::after { transform: rotate(90deg); }
.siptv-faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.siptv-faq__a-inner { padding: 0 24px 22px; color: var(--siptv-body); font-size: .98rem; }
.siptv-faq__a-inner p:last-child { margin-bottom: 0; }

/* =================================================================
   CONTENT SHOWCASE (split media + text)
   ================================================================= */
.siptv-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.siptv-split--rev .siptv-split__media { order: 2; }
.siptv-split__media img { width: 100%; border-radius: var(--siptv-r-lg); box-shadow: var(--siptv-shadow-md); }
.siptv-split__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.siptv-split__list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.siptv-split__list svg { width: 22px; height: 22px; color: var(--siptv-primary); flex: none; margin-top: 1px; }

/* =================================================================
   CUSTOMER SCENARIO CARDS (instead of fake reviews)
   ================================================================= */
.siptv-scenario { background: #fff; border: 1px solid var(--siptv-border); border-radius: var(--siptv-r-md); padding: 28px; position: relative; }
.siptv-scenario__tag { display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--siptv-accent-2); background: #eef3ff; padding: 5px 12px; border-radius: var(--siptv-r-pill); margin-bottom: 16px; }
.siptv-scenario p { font-size: 1rem; color: var(--siptv-body); }
.siptv-scenario__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.siptv-scenario__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--siptv-accent); color: #fff; display: grid; place-items: center; font-family: var(--siptv-font-head); font-weight: 600; }
.siptv-scenario__who b { display: block; color: var(--siptv-heading); font-size: .95rem; }
.siptv-scenario__who span { font-size: .82rem; color: var(--siptv-muted); }

/* =================================================================
   CTA BANNER
   ================================================================= */
.siptv-cta {
    background: var(--siptv-bg-ink); color: #fff; border-radius: var(--siptv-r-xl);
    padding: clamp(36px, 6vw, 64px); position: relative; overflow: hidden; text-align: center;
}
.siptv-cta::before { content: ""; position: absolute; top: -80px; left: -60px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(225,19,36,.30), transparent 60%); }
.siptv-cta::after { content: ""; position: absolute; bottom: -120px; right: -60px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(42,102,240,.22), transparent 62%); }
.siptv-cta > * { position: relative; z-index: 1; }
.siptv-cta h2 { color: #fff; margin-bottom: 14px; }
.siptv-cta p { color: var(--siptv-on-dark-muted); max-width: 560px; margin-inline: auto; margin-bottom: 26px; font-size: 1.1rem; }
.siptv-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =================================================================
   FORMS
   ================================================================= */
.siptv-form { display: grid; gap: 16px; }
.siptv-field { display: grid; gap: 7px; }
.siptv-field label { font-family: var(--siptv-font-head); font-weight: 500; font-size: .92rem; color: var(--siptv-heading); }
.siptv-field input, .siptv-field textarea, .siptv-field select {
    width: 100%; font-family: var(--siptv-font-body); font-size: 1rem; color: var(--siptv-ink);
    padding: 14px 16px; border: 1.5px solid var(--siptv-border-strong); border-radius: var(--siptv-r-sm); background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.siptv-field input:focus, .siptv-field textarea:focus, .siptv-field select:focus { outline: none; border-color: var(--siptv-primary); box-shadow: 0 0 0 4px var(--siptv-primary-soft); }
.siptv-field textarea { min-height: 140px; resize: vertical; }
.siptv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.siptv-form__note { font-size: .85rem; color: var(--siptv-muted); }

/* =================================================================
   PAGE HEADER (inner pages) + BREADCRUMB
   ================================================================= */
.siptv-pagehead { background: linear-gradient(180deg, var(--siptv-bg-soft), #fff); border-bottom: 1px solid var(--siptv-border); padding-block: clamp(34px, 5vw, 64px); }
.siptv-pagehead h1 { margin-bottom: 14px; }
.siptv-pagehead p { max-width: 640px; font-size: 1.12rem; margin-bottom: 0; }
.siptv-pagehead--media { position: relative; color: #fff; border: 0; overflow: hidden; }
.siptv-pagehead--media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.siptv-pagehead--media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(14,17,22,.82), rgba(14,17,22,.45)); z-index: 1; }
.siptv-pagehead--media .siptv-container { position: relative; z-index: 2; }
.siptv-pagehead--media h1 { color: #fff; }
.siptv-pagehead--media p { color: rgba(255,255,255,.88); }

.siptv-breadcrumb { font-size: .85rem; margin-bottom: 14px; }
.siptv-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.siptv-breadcrumb li { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--siptv-muted); }
.siptv-breadcrumb li:not(:last-child)::after { content: "/"; color: var(--siptv-border-strong); }
.siptv-pagehead--media .siptv-breadcrumb li { color: rgba(255,255,255,.7); }
.siptv-pagehead--media .siptv-breadcrumb a { color: rgba(255,255,255,.92); }

/* =================================================================
   EDITORIAL / LEGAL / ARTICLE
   ================================================================= */
.siptv-prose { max-width: 760px; }
.siptv-prose h2 { margin-top: 1.8em; }
.siptv-prose h3 { margin-top: 1.4em; }
.siptv-prose ul { padding-left: 1.3em; }
.siptv-prose img { border-radius: var(--siptv-r-md); margin-block: 1.4em; }
.siptv-updated { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--siptv-body); background: var(--siptv-bg-soft); border: 1px solid var(--siptv-border); padding: 8px 14px; border-radius: var(--siptv-r-pill); margin-bottom: 24px; }
.siptv-updated svg { width: 16px; height: 16px; color: var(--siptv-primary); }

/* =================================================================
   BLOG
   ================================================================= */
.siptv-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.siptv-postcard { background: #fff; border: 1px solid var(--siptv-border); border-radius: var(--siptv-r-md); overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; }
.siptv-postcard:hover { transform: translateY(-4px); box-shadow: var(--siptv-shadow-md); }
.siptv-postcard__media { aspect-ratio: 16/10; overflow: hidden; background: var(--siptv-bg-mist); }
.siptv-postcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.siptv-postcard:hover .siptv-postcard__media img { transform: scale(1.05); }
.siptv-postcard__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.siptv-postcard__meta { font-size: .8rem; color: var(--siptv-muted); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.siptv-postcard__cat { color: var(--siptv-primary); font-weight: 600; }
.siptv-postcard h3 { font-size: 1.2rem; margin-bottom: 10px; }
.siptv-postcard h3 a { color: var(--siptv-heading); }
.siptv-postcard h3 a:hover { color: var(--siptv-primary); }
.siptv-postcard p { font-size: .94rem; margin-bottom: 16px; }
.siptv-postcard .siptv-link-arrow { margin-top: auto; }

.siptv-article { max-width: 760px; margin-inline: auto; }
.siptv-article__cover { border-radius: var(--siptv-r-lg); overflow: hidden; margin-bottom: 26px; box-shadow: var(--siptv-shadow-md); }
.siptv-article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--siptv-muted); font-size: .9rem; margin-bottom: 8px; }
.siptv-author { display: flex; align-items: center; gap: 14px; padding: 22px; background: var(--siptv-bg-soft); border-radius: var(--siptv-r-md); margin-top: 36px; }
.siptv-author__avatar { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex: none; background: var(--siptv-accent); }
.siptv-author b { color: var(--siptv-heading); }
.siptv-author p { margin: 4px 0 0; font-size: .92rem; }

.siptv-sidebar { display: grid; gap: 24px; align-content: start; }
.siptv-widget { background: #fff; border: 1px solid var(--siptv-border); border-radius: var(--siptv-r-md); padding: 22px; }
.siptv-widget h4 { font-size: 1.05rem; margin-bottom: 14px; }
.siptv-widget ul { list-style: none; margin: 0; padding: 0; }
.siptv-widget li { margin-bottom: 8px; }

/* Pagination */
.siptv-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.siptv-pagination a, .siptv-pagination span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid var(--siptv-border); border-radius: var(--siptv-r-sm); font-family: var(--siptv-font-head); font-weight: 500; color: var(--siptv-heading); background: #fff; }
.siptv-pagination a:hover { border-color: var(--siptv-ink); color: var(--siptv-primary); }
.siptv-pagination .current { background: var(--siptv-ink); color: #fff; border-color: var(--siptv-ink); }

/* =================================================================
   COMPARISON TABLE
   ================================================================= */
.siptv-table-wrap { overflow-x: auto; border: 1px solid var(--siptv-border); border-radius: var(--siptv-r-md); }
.siptv-compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.siptv-compare th, .siptv-compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--siptv-border); }
.siptv-compare thead th { font-family: var(--siptv-font-head); color: var(--siptv-heading); background: var(--siptv-bg-soft); font-size: .95rem; }
.siptv-compare tbody th { font-weight: 500; color: var(--siptv-body); }
.siptv-compare td.yes { color: var(--siptv-success); font-weight: 600; }
.siptv-compare td.no { color: var(--siptv-muted); }
.siptv-compare .col-us { background: var(--siptv-primary-soft); }

/* =================================================================
   FOOTER
   ================================================================= */
.siptv-footer { background: var(--siptv-bg-ink); color: var(--siptv-on-dark-muted); padding-top: clamp(48px, 7vw, 80px); }
.siptv-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.siptv-footer__brand img { height: 40px; margin-bottom: 18px; }
.siptv-footer__brand p { max-width: 320px; font-size: .95rem; }
.siptv-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.siptv-footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.siptv-footer__social a:hover { background: var(--siptv-primary); }
.siptv-footer__social svg { width: 19px; height: 19px; }
.siptv-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.siptv-footer ul { list-style: none; margin: 0; padding: 0; }
.siptv-footer li { margin-bottom: 10px; }
.siptv-footer a { color: var(--siptv-on-dark-muted); font-size: .93rem; }
.siptv-footer a:hover { color: #fff; }
.siptv-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.siptv-footer__contact svg { width: 18px; height: 18px; color: var(--siptv-primary); flex: none; margin-top: 3px; }
.siptv-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-block: 24px; font-size: .85rem; }
.siptv-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.siptv-footer__disclaimer { font-size: .8rem; color: #6b7585; padding-bottom: 28px; line-height: 1.6; }

/* =================================================================
   STICKY MOBILE CTA + FLOATING WHATSAPP
   ================================================================= */
.siptv-wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 80;
    width: 58px; height: 58px; border-radius: 50%; background: var(--siptv-whatsapp);
    display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45); color: #fff;
    transition: transform .2s ease;
}
.siptv-wa-float:hover { transform: scale(1.07); color: #fff; }
.siptv-wa-float svg { width: 30px; height: 30px; }
.siptv-mobile-cta { display: none; }

/* =================================================================
   UTILITIES
   ================================================================= */
.t-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.siptv-badge { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--siptv-primary); background: var(--siptv-primary-soft); padding: 6px 14px; border-radius: var(--siptv-r-pill); }
.siptv-badge--green { color: var(--siptv-success); background: var(--siptv-success-soft); }
.siptv-flag { display: inline-block; width: 18px; height: 18px; vertical-align: -3px; }

[hidden] { display: none !important; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1040px) {
    .siptv-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .siptv-pricing { grid-template-columns: repeat(2, 1fr); }
    .siptv-postgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
    :root { --siptv-header-h: 66px; }
    .siptv-nav, .siptv-header__cta .siptv-btn--ghost { display: none; }
    .siptv-burger { display: inline-flex; }
    .siptv-hero__grid { grid-template-columns: 1fr; }
    .siptv-hero__visual { order: -1; }
    .siptv-hero__badge--tl { left: 8px; }
    .siptv-hero__badge--br { right: 8px; }
    .siptv-split, .siptv-split--rev .siptv-split__media { grid-template-columns: 1fr; }
    .siptv-split--rev .siptv-split__media { order: 0; }
    .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
    .siptv-stats { grid-template-columns: 1fr 1fr; }
    .siptv-blog-layout { grid-template-columns: 1fr !important; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .grid-2, .grid-3, .grid-4, .siptv-pricing, .siptv-postgrid, .siptv-stats { grid-template-columns: 1fr; }
    .siptv-form__row { grid-template-columns: 1fr; }
    .siptv-footer__top { grid-template-columns: 1fr; }
    .siptv-hero__cta .siptv-btn, .siptv-cta__btns .siptv-btn { width: 100%; }
    .siptv-wa-float { bottom: 76px; }
    .siptv-mobile-cta {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 79;
        background: #fff; border-top: 1px solid var(--siptv-border); padding: 10px 14px env(safe-area-inset-bottom);
        gap: 10px; box-shadow: 0 -6px 20px rgba(16,22,34,.08);
    }
    .siptv-mobile-cta .siptv-btn { flex: 1; padding: 14px; }
    body.has-mobile-cta { padding-bottom: 74px; }
}

/* =================================================================
   REDUCED MOTION
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text { font-size: .85rem; color: var(--siptv-muted); text-align: center; }
.sticky, .gallery-caption { display: block; }
.bypostauthor { display: block; }
