/*
Theme Name: IPTV España
Theme URI: https://iptv-es.com
Author: IPTV España
Author URI: https://iptv-es.com
Description: Tema WordPress premium, ligero y optimizado para SEO, diseñado específicamente para IPTV España. Paleta clara, enfoque de conversión, totalmente responsive y listo para posicionar en Google.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
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: iptv-espana
Tags: iptv, spain, light-theme, seo-optimized, responsive, conversion, business
*/

/* ============================================
   IPTV ESPAÑA — DESIGN SYSTEM
   Brand palette (provided by owner)
   ============================================ */

:root {
    /* Backgrounds */
    --ies-bg: #FFFFFF;
    --ies-bg-soft: #F8F9FA;
    --ies-bg-soft-2: #F1F3F6;
    /* Headings & text */
    --ies-heading: #1A365D;
    --ies-heading-alt: #0F244A;
    --ies-text: #333333;
    --ies-text-soft: #4A5568;
    --ies-text-muted: #6B7280;
    /* Brand actions */
    --ies-red: #D1111B;
    --ies-red-dark: #A50E16;
    --ies-red-light: #E9303A;
    --ies-yellow: #FFCC00;
    --ies-yellow-dark: #E6B800;
    --ies-wa: #25D366;
    --ies-wa-dark: #1FB955;
    /* Utilities */
    --ies-border: #E2E8F0;
    --ies-border-soft: #EDF0F5;
    --ies-success: #16A34A;
    --ies-shadow-xs: 0 1px 2px rgba(26, 54, 93, 0.04);
    --ies-shadow-sm: 0 2px 10px rgba(26, 54, 93, 0.06);
    --ies-shadow-md: 0 8px 28px rgba(26, 54, 93, 0.10);
    --ies-shadow-lg: 0 20px 55px rgba(26, 54, 93, 0.16);
    --ies-shadow-red: 0 10px 28px rgba(209, 17, 27, 0.28);
    --ies-shadow-yellow: 0 10px 28px rgba(255, 204, 0, 0.32);
    /* Radii */
    --ies-r-xs: 6px;
    --ies-r-sm: 10px;
    --ies-r-md: 16px;
    --ies-r-lg: 24px;
    --ies-r-xl: 34px;
    /* Grid */
    --ies-max: 1220px;
    --ies-t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ies-text);
    background: var(--ies-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ies-red); text-decoration: none; transition: color var(--ies-t); }
a:hover { color: var(--ies-red-dark); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-weight: 800;
    line-height: 1.18;
    color: var(--ies-heading);
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.18rem; }
p { margin-bottom: 1rem; color: var(--ies-text-soft); }
strong { color: var(--ies-heading); }

.container { max-width: var(--ies-max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }
.bg-soft { background: var(--ies-bg-soft); }
.bg-soft-2 { background: var(--ies-bg-soft-2); }
.bg-navy { background: var(--ies-heading); color: white; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: white; }
.bg-navy p { color: rgba(255,255,255,0.88); }
.text-center { text-align: center; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: 100px;
    transition: all var(--ies-t);
    white-space: nowrap;
    line-height: 1.2;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--ies-red);
    color: white !important;
    box-shadow: var(--ies-shadow-red);
}
.btn-primary:hover { background: var(--ies-red-dark); color: white !important; transform: translateY(-2px); }
.btn-outline {
    background: transparent;
    color: var(--ies-heading) !important;
    border-color: var(--ies-heading);
}
.btn-outline:hover { background: var(--ies-heading); color: white !important; }
.btn-yellow {
    background: var(--ies-yellow);
    color: var(--ies-heading) !important;
    box-shadow: var(--ies-shadow-yellow);
}
.btn-yellow:hover { background: var(--ies-yellow-dark); transform: translateY(-2px); }
.btn-wa {
    background: var(--ies-wa);
    color: white !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover { background: var(--ies-wa-dark); color: white !important; transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--ies-border-soft);
}
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
    gap: 24px;
}
.site-logo img { max-height: 52px; width: auto; }
.site-logo-fallback {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--ies-heading);
}
.site-logo-fallback .dot {
    width: 10px; height: 10px; background: var(--ies-red); border-radius: 50%;
}

.main-nav ul { display: flex; gap: 2px; align-items: center; }
.main-nav a {
    color: var(--ies-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 10px;
    transition: all var(--ies-t);
}
.main-nav a:hover, .main-nav .current-menu-item > a {
    color: var(--ies-red);
    background: rgba(209, 17, 27, 0.06);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--ies-wa);
    color: white !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 100px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
    transition: all var(--ies-t);
}
.header-cta-wa:hover { background: var(--ies-wa-dark); color: white !important; transform: translateY(-2px); }

.mobile-toggle {
    display: none;
    width: 44px; height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: var(--ies-bg-soft);
    border-radius: 10px;
}
.mobile-toggle span {
    width: 22px; height: 2px;
    background: var(--ies-heading);
    transition: all var(--ies-t);
    border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO (homepage) ===== */
.hero {
    position: relative;
    padding: 80px 0 100px;
    background:
        radial-gradient(ellipse at 10% 0%, rgba(209, 17, 27, 0.06), transparent 50%),
        radial-gradient(ellipse at 100% 80%, rgba(255, 204, 0, 0.10), transparent 50%),
        linear-gradient(180deg, var(--ies-bg) 0%, var(--ies-bg-soft) 100%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%231A365D' stroke-width='0.4' opacity='0.06'%3E%3Cpath d='M0 30h60M30 0v60'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: white;
    border: 1px solid var(--ies-border);
    border-radius: 100px;
    color: var(--ies-heading);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: var(--ies-shadow-xs);
    margin-bottom: 22px;
}
.hero-pill .star { color: var(--ies-yellow); }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--ies-red); }
.hero-sub {
    font-size: 1.15rem;
    color: var(--ies-text-soft);
    margin-bottom: 32px;
    max-width: 560px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-checks {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 8px;
}
.hero-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--ies-text-soft);
    font-weight: 600;
}
.hero-check svg { color: var(--ies-success); width: 18px; height: 18px; flex-shrink: 0; }

.hero-art {
    position: relative;
}
.hero-art .main-img {
    border-radius: var(--ies-r-lg);
    box-shadow: var(--ies-shadow-lg);
    border: 8px solid white;
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
}
.hero-badge-card {
    position: absolute;
    background: white;
    border-radius: var(--ies-r-md);
    padding: 14px 18px;
    box-shadow: var(--ies-shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--ies-border-soft);
}
.hero-badge-card.top-left { top: -20px; left: -20px; animation: floatMe 4s ease-in-out infinite; }
.hero-badge-card.bot-right { bottom: -20px; right: -20px; animation: floatMe 4s ease-in-out infinite reverse; }
.hero-badge-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--ies-red), var(--ies-yellow));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white;
}
.hero-badge-icon.green { background: linear-gradient(135deg, var(--ies-wa), #16a34a); }
.hero-badge-title { font-weight: 800; color: var(--ies-heading); font-size: 0.92rem; }
.hero-badge-sub { font-size: 0.78rem; color: var(--ies-text-muted); }
@keyframes floatMe { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Logo strip / trust bar */
.trust-bar { padding: 44px 0; background: var(--ies-bg-soft); }
.trust-label { text-align: center; color: var(--ies-text-muted); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 22px; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
    opacity: 0.85;
}
.trust-logo {
    height: 44px; display: flex; align-items: center; justify-content: center;
    color: var(--ies-heading);
    font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.05rem;
    padding: 10px 18px;
    background: white;
    border-radius: var(--ies-r-sm);
    border: 1px solid var(--ies-border-soft);
    width: 100%;
    text-align: center;
}

/* ===== SECTION HEADING ===== */
.sect-heading { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sect-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(209, 17, 27, 0.08);
    color: var(--ies-red);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}
.sect-eyebrow.yellow { background: rgba(255, 204, 0, 0.18); color: #8a6d00; }
.sect-heading h2 { margin-bottom: 14px; }
.sect-heading p { font-size: 1.08rem; }

/* ===== PRICING (diverse, not stacked) ===== */
.pricing-wrap { position: relative; }
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1140px;
    margin: 0 auto;
}
.pcard {
    position: relative;
    background: var(--ies-bg-soft);
    border: 2px solid var(--ies-border);
    border-radius: var(--ies-r-lg);
    padding: 34px 28px;
    transition: all var(--ies-t);
    display: flex;
    flex-direction: column;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--ies-shadow-md); border-color: var(--ies-red); }
.pcard.best {
    background: white;
    border-color: var(--ies-yellow);
    box-shadow: 0 20px 55px rgba(255, 204, 0, 0.20);
    transform: scale(1.03);
}
.pcard.best:hover { transform: scale(1.03) translateY(-6px); }
.pcard-ribbon {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--ies-yellow);
    color: var(--ies-heading);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 16px;
    border-radius: 100px;
    box-shadow: 0 6px 14px rgba(255, 204, 0, 0.4);
}
.pcard-name { font-family: 'Sora', sans-serif; font-weight: 700; color: var(--ies-heading); font-size: 1.15rem; margin-bottom: 4px; }
.pcard-desc { color: var(--ies-text-muted); font-size: 0.88rem; margin-bottom: 22px; }
.pcard-price {
    font-family: 'Sora', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--ies-heading);
    line-height: 1;
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.pcard-price .cur { font-size: 1.4rem; color: var(--ies-red); }
.pcard-price .cents { font-size: 1.5rem; }
.pcard-period { color: var(--ies-text-muted); font-size: 0.9rem; margin-bottom: 24px; }
.pcard-features { flex: 1; margin-bottom: 24px; }
.pcard-features li {
    display: flex; gap: 10px;
    padding: 8px 0;
    font-size: 0.93rem;
    color: var(--ies-text-soft);
    align-items: flex-start;
}
.pcard-features li svg { width: 18px; height: 18px; color: var(--ies-success); flex-shrink: 0; margin-top: 3px; }
.pcard-save {
    display: inline-block;
    background: rgba(22, 163, 74, 0.1);
    color: var(--ies-success);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 12px;
}

/* ===== ICON GRID (features) ===== */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}
.icon-card {
    background: white;
    border-radius: var(--ies-r-md);
    padding: 28px 24px;
    border: 1px solid var(--ies-border-soft);
    transition: all var(--ies-t);
}
.icon-card:hover { border-color: var(--ies-red); transform: translateY(-4px); box-shadow: var(--ies-shadow-sm); }
.icon-card .icon-box {
    width: 48px; height: 48px;
    background: rgba(209, 17, 27, 0.08);
    color: var(--ies-red);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.icon-card .icon-box svg { width: 24px; height: 24px; }
.icon-card.yellow .icon-box { background: rgba(255, 204, 0, 0.18); color: #8a6d00; }
.icon-card.navy .icon-box { background: rgba(26, 54, 93, 0.08); color: var(--ies-heading); }
.icon-card.green .icon-box { background: rgba(37, 211, 102, 0.12); color: var(--ies-wa-dark); }
.icon-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.icon-card p { margin: 0; font-size: 0.93rem; }

/* ===== IMAGE-TEXT SPLIT ===== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
    position: relative;
    border-radius: var(--ies-r-lg);
    overflow: hidden;
    box-shadow: var(--ies-shadow-md);
}
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 30%;
    background: linear-gradient(0deg, rgba(26, 54, 93, 0.3), transparent);
    pointer-events: none;
}
.split-text h2 { margin-bottom: 18px; }
.split-text p { font-size: 1.04rem; margin-bottom: 16px; line-height: 1.75; }

/* ===== STEPS (numbered) ===== */
.steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: stp;
}
.stp {
    counter-increment: stp;
    position: relative;
    padding: 32px 24px 24px;
    background: white;
    border-radius: var(--ies-r-md);
    border: 1px solid var(--ies-border-soft);
}
.stp::before {
    content: counter(stp, decimal-leading-zero);
    position: absolute;
    top: -18px;
    left: 22px;
    width: 48px; height: 48px;
    background: var(--ies-heading);
    color: white;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 8px 18px rgba(26, 54, 93, 0.3);
}
.stp:nth-child(even)::before { background: var(--ies-red); box-shadow: var(--ies-shadow-red); }
.stp h3 { margin-top: 14px; margin-bottom: 8px; font-size: 1.08rem; }
.stp p { margin: 0; font-size: 0.92rem; }

/* ===== DEVICE ROW ===== */
.device-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
}
.dev-item {
    background: white;
    border: 1px solid var(--ies-border-soft);
    border-radius: var(--ies-r-md);
    padding: 24px 14px;
    text-align: center;
    transition: all var(--ies-t);
}
.dev-item:hover { transform: translateY(-4px); border-color: var(--ies-red); box-shadow: var(--ies-shadow-sm); }
.dev-icon {
    width: 44px; height: 44px;
    margin: 0 auto 12px;
    color: var(--ies-heading);
    display: flex; align-items: center; justify-content: center;
}
.dev-icon svg { width: 100%; height: 100%; }
.dev-name { font-weight: 700; color: var(--ies-heading); font-size: 0.88rem; }

/* ===== CHANNEL SHOWCASE ===== */
.channel-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.cshow {
    position: relative;
    border-radius: var(--ies-r-md);
    overflow: hidden;
    background: white;
    border: 1px solid var(--ies-border-soft);
    transition: all var(--ies-t);
}
.cshow:hover { transform: translateY(-5px); box-shadow: var(--ies-shadow-md); }
.cshow-media {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}
.cshow-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cshow:hover .cshow-media img { transform: scale(1.06); }
.cshow-tag {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--ies-red);
    color: white;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.cshow-tag.yellow { background: var(--ies-yellow); color: var(--ies-heading); }
.cshow-body { padding: 22px 24px; }
.cshow-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cshow-body p { font-size: 0.92rem; margin: 0; }

/* ===== STATS STRIP ===== */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    padding: 0;
    background: white;
    border-radius: var(--ies-r-lg);
    border: 1px solid var(--ies-border);
    overflow: hidden;
}
.stat-cell {
    padding: 34px 20px;
    text-align: center;
    border-right: 1px solid var(--ies-border-soft);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2rem, 3.6vw, 2.6rem);
    font-weight: 800;
    color: var(--ies-heading);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-num .unit { font-size: 1.2rem; color: var(--ies-red); }
.stat-lbl { font-size: 0.88rem; color: var(--ies-text-muted); font-weight: 600; }

/* ===== COMPARISON TABLE ===== */
.cmp-wrap { max-width: 960px; margin: 0 auto; overflow-x: auto; }
.cmp {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: var(--ies-r-md);
    overflow: hidden;
    border: 1px solid var(--ies-border);
    box-shadow: var(--ies-shadow-sm);
}
.cmp th, .cmp td {
    padding: 16px 22px;
    text-align: left;
    border-bottom: 1px solid var(--ies-border-soft);
}
.cmp thead th {
    background: var(--ies-heading);
    color: white;
    font-weight: 700;
    font-size: 0.92rem;
}
.cmp thead th.hi { background: var(--ies-red); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody tr:nth-child(even) { background: var(--ies-bg-soft); }
.cmp .yes { color: var(--ies-success); font-weight: 800; text-align: center; }
.cmp .no { color: #DC2626; font-weight: 800; text-align: center; }

/* ===== TESTIMONIAL CAROUSEL-STYLE (card grid) ===== */
.t-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}
.tcard {
    background: white;
    border-radius: var(--ies-r-md);
    padding: 28px 28px 26px;
    border: 1px solid var(--ies-border-soft);
    position: relative;
    transition: transform var(--ies-t);
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--ies-shadow-sm); }
.tcard::before {
    content: "\201C";
    position: absolute;
    top: 8px; right: 20px;
    font-family: 'Sora', serif;
    font-size: 4.2rem;
    color: var(--ies-red);
    opacity: 0.15;
    line-height: 1;
}
.tstars { color: var(--ies-yellow); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.98rem; }
.ttext { color: var(--ies-text); margin-bottom: 22px; font-size: 0.98rem; line-height: 1.65; font-style: italic; }
.tauthor { display: flex; gap: 12px; align-items: center; }
.tav {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--ies-heading), var(--ies-red));
    color: white; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
}
.tname { font-weight: 800; color: var(--ies-heading); font-size: 0.92rem; }
.trole { font-size: 0.82rem; color: var(--ies-text-muted); }

/* ===== FAQ ACCORDION ===== */
.faq-block { max-width: 820px; margin: 0 auto; }
.faq-item {
    background: white;
    border: 1px solid var(--ies-border-soft);
    border-radius: var(--ies-r-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--ies-t);
}
.faq-item.open { border-color: var(--ies-red); box-shadow: var(--ies-shadow-xs); }
.faq-q {
    width: 100%;
    padding: 20px 26px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ies-heading);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
}
.faq-toggle {
    width: 30px; height: 30px;
    flex-shrink: 0;
    background: var(--ies-bg-soft);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ies-red);
    font-size: 1.3rem;
    font-weight: 300;
    transition: all var(--ies-t);
}
.faq-item.open .faq-toggle { background: var(--ies-red); color: white; transform: rotate(45deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 26px 22px; color: var(--ies-text-soft); line-height: 1.7; font-size: 0.96rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--ies-heading) 0%, var(--ies-heading-alt) 100%);
    color: white;
    border-radius: var(--ies-r-xl);
    padding: 64px 48px;
    text-align: center;
    overflow: hidden;
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(209, 17, 27, 0.25), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(255, 204, 0, 0.22), transparent 45%);
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: white; margin-bottom: 14px; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.08rem; margin-bottom: 30px; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    position: relative;
    padding: 64px 0 56px;
    background: linear-gradient(180deg, var(--ies-bg-soft) 0%, var(--ies-bg) 100%);
    text-align: center;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 5% 100%, rgba(255, 204, 0, 0.10), transparent 40%),
        radial-gradient(circle at 95% 0%, rgba(209, 17, 27, 0.06), transparent 40%);
    pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.breadcrumbs {
    display: flex; justify-content: center; gap: 8px;
    font-size: 0.82rem;
    color: var(--ies-text-muted);
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.breadcrumbs a { color: var(--ies-red); font-weight: 600; }
.breadcrumbs span { opacity: 0.5; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { font-size: 1.08rem; max-width: 680px; margin: 0 auto; color: var(--ies-text-soft); }

/* ===== CONTACT ===== */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}
.contact-info {
    background: var(--ies-heading);
    color: white;
    border-radius: var(--ies-r-lg);
    padding: 42px 36px;
    position: relative;
    overflow: hidden;
}
.contact-info::before {
    content: "";
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.22), transparent);
}
.contact-info > * { position: relative; z-index: 2; }
.contact-info h2 { color: white; margin-bottom: 10px; }
.contact-info > p { color: rgba(255,255,255,0.85); margin-bottom: 32px; }
.ci-item { display: flex; gap: 14px; margin-bottom: 22px; }
.ci-icon {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ies-yellow);
    flex-shrink: 0;
}
.ci-icon svg { width: 18px; height: 18px; }
.ci-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.65); margin-bottom: 4px; }
.ci-val { color: white; font-weight: 600; font-size: 0.98rem; }
.ci-val a { color: white; }
.ci-val a:hover { color: var(--ies-yellow); }

.contact-form-card {
    background: white;
    border: 1px solid var(--ies-border-soft);
    padding: 40px;
    border-radius: var(--ies-r-lg);
    box-shadow: var(--ies-shadow-xs);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.86rem; font-weight: 700; color: var(--ies-heading); margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--ies-border);
    border-radius: var(--ies-r-sm);
    font-family: inherit;
    font-size: 0.96rem;
    color: var(--ies-text);
    background: white;
    transition: border-color var(--ies-t);
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--ies-red);
    box-shadow: 0 0 0 4px rgba(209, 17, 27, 0.08);
}
.field textarea { min-height: 130px; resize: vertical; }

/* ===== CHANNEL CATEGORIES (channels page) ===== */
.chan-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.chcat {
    background: white;
    border: 1px solid var(--ies-border-soft);
    border-radius: var(--ies-r-md);
    padding: 28px 26px;
    transition: all var(--ies-t);
    border-top: 4px solid var(--ies-red);
}
.chcat:nth-child(3n+2) { border-top-color: var(--ies-yellow); }
.chcat:nth-child(3n+3) { border-top-color: var(--ies-heading); }
.chcat:hover { transform: translateY(-4px); box-shadow: var(--ies-shadow-sm); }
.chcat-count {
    display: inline-block;
    background: rgba(209, 17, 27, 0.08);
    color: var(--ies-red);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.chcat h3 { font-size: 1.1rem; margin-bottom: 10px; }
.chcat p { font-size: 0.92rem; margin: 0; }

/* ===== ABOUT / VALUES ===== */
.values-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}
.val-card {
    padding: 30px 24px;
    background: white;
    border-radius: var(--ies-r-md);
    border: 1px solid var(--ies-border-soft);
    text-align: center;
}
.val-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--ies-red), var(--ies-yellow));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: white;
}
.val-icon svg { width: 26px; height: 26px; }
.val-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.val-card p { font-size: 0.9rem; margin: 0; }

/* ===== BIG QUOTE (about page unique section) ===== */
.big-quote {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: var(--ies-bg-soft);
    border-radius: var(--ies-r-lg);
    position: relative;
}
.big-quote::before {
    content: "\201C";
    font-family: 'Sora', serif;
    font-size: 5rem;
    color: var(--ies-red);
    opacity: 0.18;
    line-height: 1;
    display: block;
}
.big-quote p { font-size: 1.35rem; color: var(--ies-heading); font-weight: 500; font-style: italic; margin: 0; line-height: 1.5; }
.big-quote-author { margin-top: 18px; font-size: 0.9rem; color: var(--ies-text-muted); font-weight: 600; }

/* ===== LEGAL CONTENT ===== */
.legal-wrap {
    max-width: 820px;
    margin: 0 auto;
    background: white;
    padding: 52px 56px;
    border-radius: var(--ies-r-lg);
    border: 1px solid var(--ies-border-soft);
    box-shadow: var(--ies-shadow-xs);
}
.legal-wrap h2 { margin: 2em 0 0.7em; padding-top: 20px; border-top: 1px solid var(--ies-border-soft); font-size: 1.35rem; }
.legal-wrap h2:first-child { border: none; padding: 0; margin-top: 0; }
.legal-wrap h3 { margin: 1.5em 0 0.5em; font-size: 1.08rem; color: var(--ies-heading-alt); }
.legal-wrap p { margin-bottom: 1em; line-height: 1.75; }
.legal-wrap ul { margin: 1em 0 1em 1.3em; list-style: disc; }
.legal-wrap li { margin-bottom: 0.5em; color: var(--ies-text-soft); line-height: 1.7; }
.legal-meta {
    background: var(--ies-bg-soft);
    padding: 14px 18px;
    border-radius: var(--ies-r-sm);
    border-left: 4px solid var(--ies-red);
    margin-bottom: 32px;
    font-size: 0.9rem;
    color: var(--ies-text-soft);
}

/* ===== BLOG ===== */
.blog-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.bcard {
    background: white;
    border-radius: var(--ies-r-md);
    overflow: hidden;
    border: 1px solid var(--ies-border-soft);
    transition: all var(--ies-t);
    display: flex;
    flex-direction: column;
}
.bcard:hover { transform: translateY(-4px); box-shadow: var(--ies-shadow-md); }
.bthumb { aspect-ratio: 16/10; overflow: hidden; background: var(--ies-bg-soft); }
.bthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.bcard:hover .bthumb img { transform: scale(1.04); }
.bbody { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.bmeta { display: flex; gap: 14px; font-size: 0.78rem; color: var(--ies-text-muted); margin-bottom: 10px; font-weight: 600; }
.bmeta .cat { color: var(--ies-red); text-transform: uppercase; letter-spacing: 0.06em; }
.bcard h3 { font-size: 1.12rem; margin-bottom: 8px; }
.bcard h3 a { color: var(--ies-heading); }
.bcard h3 a:hover { color: var(--ies-red); }
.bcard p { font-size: 0.92rem; margin-bottom: 14px; flex: 1; }
.bmore { color: var(--ies-red); font-weight: 700; font-size: 0.88rem; display: inline-flex; gap: 6px; align-items: center; }
.bmore:hover { gap: 10px; }

/* ===== SINGLE POST ===== */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}
.post-wrap {
    background: white;
    padding: 44px;
    border-radius: var(--ies-r-lg);
    border: 1px solid var(--ies-border-soft);
}
.post-feat { aspect-ratio: 16/9; border-radius: var(--ies-r-md); overflow: hidden; margin-bottom: 26px; }
.post-feat img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.86rem; color: var(--ies-text-muted); padding: 14px 0; border-bottom: 1px solid var(--ies-border-soft); margin-bottom: 22px; }
.post-wrap h1 { margin-bottom: 14px; }
.post-wrap h2, .post-wrap h3 { margin: 1.6em 0 0.7em; }
.post-wrap p { margin-bottom: 1.1em; line-height: 1.8; font-size: 1.02rem; }
.post-wrap ul, .post-wrap ol { margin: 1em 0 1.4em 1.4em; }
.post-wrap li { margin-bottom: 0.4em; color: var(--ies-text-soft); line-height: 1.7; }
.post-wrap blockquote { border-left: 4px solid var(--ies-red); padding: 14px 22px; background: var(--ies-bg-soft); border-radius: 0 var(--ies-r-sm) var(--ies-r-sm) 0; margin: 20px 0; font-style: italic; color: var(--ies-heading); }
.post-wrap a { color: var(--ies-red); text-decoration: underline; }
.post-wrap img { border-radius: var(--ies-r-sm); margin: 22px 0; }

.sidebar-box { background: white; padding: 26px; border: 1px solid var(--ies-border-soft); border-radius: var(--ies-r-md); margin-bottom: 22px; }
.sidebar-box h3 { font-size: 1.02rem; margin-bottom: 14px; }
.sidebar-cta {
    background: linear-gradient(135deg, var(--ies-heading), var(--ies-heading-alt));
    color: white;
    padding: 30px 24px;
    border-radius: var(--ies-r-md);
    text-align: center;
}
.sidebar-cta h3 { color: white; font-size: 1.05rem; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,0.9); font-size: 0.88rem; margin-bottom: 16px; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--ies-heading);
    color: rgba(255,255,255,0.75);
    padding: 64px 0 0;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ies-red) 0%, var(--ies-yellow) 50%, var(--ies-red) 100%);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand-wrap { display: flex; flex-direction: column; gap: 16px; }
.footer-brand-wrap img { max-height: 48px; width: auto; filter: brightness(0) invert(1); }
.footer-brand-fallback { color: white; font-weight: 800; font-family: 'Sora', sans-serif; font-size: 1.3rem; }
.footer-about { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.72); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    transition: all var(--ies-t);
}
.footer-social a:hover { background: var(--ies-red); transform: translateY(-3px); }

.footer-col h4 {
    color: white;
    font-size: 0.98rem;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 28px; height: 2px;
    background: var(--ies-yellow);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.72); font-size: 0.9rem; transition: all var(--ies-t); }
.footer-col ul a:hover { color: var(--ies-yellow); padding-left: 4px; }

.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.88rem; align-items: flex-start; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--ies-yellow); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,0.82); }
.footer-contact-item a:hover { color: var(--ies-yellow); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

/* ===== FLOATING WHATSAPP ===== */
.float-wa {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 58px; height: 58px;
    background: var(--ies-wa);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
    z-index: 999;
    animation: waPulse 2.6s infinite;
    transition: transform var(--ies-t);
}
.float-wa:hover { transform: scale(1.1); color: white; }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 54px;
}
.pagination a, .pagination span {
    min-width: 42px; height: 42px;
    padding: 0 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: white;
    border: 1px solid var(--ies-border);
    border-radius: var(--ies-r-sm);
    color: var(--ies-heading);
    font-weight: 700;
    transition: all var(--ies-t);
    font-size: 0.92rem;
}
.pagination a:hover, .pagination .current { background: var(--ies-red); color: white; border-color: var(--ies-red); }

/* ===== UTILITIES ===== */
.mb-0 { margin-bottom: 0 !important; }
.mt-3 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin: 0 auto 24px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid, .contact-split, .single-layout, .split { grid-template-columns: 1fr; gap: 40px; }
    .split.reverse .split-media { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .section { padding: 70px 0; }
    .hero { padding: 60px 0 80px; }
    .pcard.best { transform: none; }
    .pcard.best:hover { transform: translateY(-6px); }
}
@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 82px; left: 0; right: 0; background: white; flex-direction: column; padding: 18px 22px; border-bottom: 1px solid var(--ies-border-soft); box-shadow: var(--ies-shadow-md); }
    .main-nav.open { display: flex; }
    .main-nav ul { flex-direction: column; gap: 0; width: 100%; }
    .main-nav li { width: 100%; }
    .main-nav a { display: block; padding: 13px 14px; }
    .header-cta-wa { display: none; }
    .mobile-toggle { display: flex; }
    .grid-2, .footer-grid { grid-template-columns: 1fr; }
    .legal-wrap { padding: 32px 26px; }
    .post-wrap { padding: 30px 24px; }
    .contact-form-card { padding: 28px 22px; }
    .stat-cell { border-right: none; border-bottom: 1px solid var(--ies-border-soft); }
    .stat-cell:last-child { border-bottom: none; }
    .hero-badge-card { display: none; }
    .cta-banner { padding: 44px 26px; }
    .section { padding: 56px 0; }
}
@media (max-width: 480px) {
    .hero { padding: 44px 0 60px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
    .pcard { padding: 28px 22px; }
    .float-wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
