/*
Theme Name: Toro Rojo IPTV
Theme URI: https://tororojoiptv.com
Author: Toro Rojo IPTV
Author URI: https://tororojoiptv.com
Description: Tema WordPress premium, ligero y orientado a conversión para IPTV España. Diseño totalmente responsive con paleta inspirada en la bandera española, optimizado para SEO, Core Web Vitals y un flujo de conversión por WhatsApp. v1.2 con mobile rediseñado, header mobile-first y iconos SVG nativos.
Version: 1.2.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: tororojoiptv
Tags: iptv, espana, light, responsive, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   1. RESET & ROOT TOKENS
========================================================= */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}
img,svg,video{max-width:100%;height:auto;display:block}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}

:root{
  /* Brand */
  --tr-red:#C60B1E;
  --tr-red-dark:#9F0817;
  --tr-red-soft:#FDECEE;
  --tr-gold:#FFC400;
  --tr-gold-dark:#E0A800;
  --tr-gold-soft:#FFF8E1;
  --tr-white:#FFFFFF;
  --tr-bg:#FFFFFF;
  --tr-bg-alt:#FAFAFA;
  --tr-bg-soft:#FFF7F8;
  --tr-ink:#0F1115;
  --tr-text:#1F2430;
  --tr-muted:#5A6373;
  --tr-line:#E7EAF0;
  --tr-line-soft:#F1F3F8;
  --tr-success:#16A34A;
  --tr-whatsapp:#25D366;
  --tr-whatsapp-dark:#1FB857;
  --tr-shadow-sm:0 1px 2px rgba(15,17,21,.05);
  --tr-shadow:0 6px 24px rgba(15,17,21,.08);
  --tr-shadow-lg:0 20px 60px rgba(198,11,30,.18);

  /* Typography */
  --tr-font:'Inter','Helvetica Neue',Arial,system-ui,-apple-system,sans-serif;
  --tr-font-display:'Poppins','Inter',Arial,sans-serif;

  /* Layout */
  --tr-radius:14px;
  --tr-radius-sm:10px;
  --tr-radius-lg:22px;
  --tr-container:1200px;
  --tr-gutter:clamp(16px,4vw,32px);
}

body{
  font-family:var(--tr-font);
  color:var(--tr-text);
  background:var(--tr-bg);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  overflow-x:hidden;
}
h1,h2,h3,h4,h5,h6{font-family:var(--tr-font-display);color:var(--tr-ink);line-height:1.2;font-weight:700;letter-spacing:-.01em}
h1{font-size:clamp(1.75rem,4.6vw,3.4rem)}
h2{font-size:clamp(1.5rem,3vw,2.4rem)}
h3{font-size:clamp(1.1rem,2vw,1.5rem)}
p{margin-bottom:1rem}
a:hover{color:var(--tr-red)}

/* =========================================================
   2. ICONS
========================================================= */
.tr-icon{display:inline-block;flex-shrink:0;vertical-align:middle;color:currentColor;line-height:0;max-width:none}
.tr-icon-circle{display:inline-grid;place-items:center;border-radius:12px;background:var(--tr-red-soft);color:var(--tr-red);width:54px;height:54px;flex-shrink:0}
.tr-icon-circle--sm{width:44px;height:44px;border-radius:10px}
.tr-icon-circle--gold{background:var(--tr-gold-soft);color:var(--tr-gold-dark)}

/* =========================================================
   3. LAYOUT HELPERS
========================================================= */
.tr-container{max-width:var(--tr-container);margin:0 auto;padding:0 var(--tr-gutter);width:100%}
.tr-section{padding:clamp(48px,8vw,96px) 0}
.tr-section--alt{background:var(--tr-bg-alt)}
.tr-section--soft{background:var(--tr-bg-soft)}
.tr-eyebrow{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--tr-red);background:var(--tr-red-soft);padding:.5rem .9rem;border-radius:999px;margin-bottom:1rem}
.tr-section-title{text-align:center;max-width:760px;margin:0 auto 2.5rem}
.tr-section-title p{color:var(--tr-muted);font-size:1.05rem;margin-top:.75rem}

/* =========================================================
   4. BUTTONS
========================================================= */
.tr-btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;font-weight:600;font-size:.95rem;padding:.85rem 1.4rem;border-radius:999px;transition:all .25s ease;line-height:1.2;text-align:center;min-height:46px}
.tr-btn__icon{flex-shrink:0}
.tr-btn--primary{background:var(--tr-red);color:#fff;box-shadow:0 8px 22px rgba(198,11,30,.25)}
.tr-btn--primary:hover{background:var(--tr-red-dark);color:#fff;transform:translateY(-2px);box-shadow:0 12px 28px rgba(198,11,30,.35)}
.tr-btn--gold{background:var(--tr-gold);color:#1F1300;box-shadow:0 8px 22px rgba(255,196,0,.35)}
.tr-btn--gold:hover{background:var(--tr-gold-dark);color:#1F1300;transform:translateY(-2px)}
.tr-btn--ghost{background:#fff;color:var(--tr-ink);border:1.5px solid var(--tr-line)}
.tr-btn--ghost:hover{border-color:var(--tr-red);color:var(--tr-red)}
.tr-btn--lg{padding:1rem 1.8rem;font-size:1rem;min-height:52px}
.tr-btn--whatsapp{background:var(--tr-whatsapp);color:#fff}
.tr-btn--whatsapp:hover{background:var(--tr-whatsapp-dark);color:#fff;transform:translateY(-2px)}

/* =========================================================
   5. HEADER — mobile-first, robust
========================================================= */
.tr-header{position:sticky;top:0;z-index:90;background:#fff;border-bottom:1px solid var(--tr-line-soft);box-shadow:0 1px 0 rgba(15,17,21,.04)}
.tr-header__topbar{background:linear-gradient(90deg,var(--tr-red) 0%,var(--tr-red-dark) 100%);color:#fff;font-size:.82rem;display:none}
.tr-header__topbar-inner{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;gap:1.5rem;flex-wrap:nowrap}
.tr-header__topbar a{color:#fff;display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap}
.tr-header__topbar a:hover{color:var(--tr-gold)}
@media (min-width:1024px){.tr-header__topbar{display:block}}

.tr-header__inner{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.65rem 0;min-height:60px}
.tr-logo{display:inline-flex;align-items:center;flex-shrink:0}
.tr-logo img{max-height:42px;width:auto;display:block}

/* Desktop nav (hidden on mobile by default) */
.tr-nav{display:none}
.tr-nav__close{display:none}
.tr-nav__list{display:flex;gap:1.4rem;align-items:center;flex-wrap:nowrap}
.tr-nav a{font-weight:500;font-size:.95rem;color:var(--tr-text);position:relative;padding:.4rem 0;display:inline-block;white-space:nowrap}
.tr-nav a:hover{color:var(--tr-red)}
.tr-nav .current-menu-item>a,.tr-nav .current_page_item>a{color:var(--tr-red);font-weight:600}

/* Header actions (CTA + burger) */
.tr-header__actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}

/* MOBILE CTA — icon-only, compact, never grows */
.tr-header__actions>.tr-btn{padding:0;min-height:44px;width:44px;height:44px;border-radius:12px;flex-shrink:0;gap:0}
.tr-header__actions>.tr-btn>span:not(.tr-btn__icon){display:none}
.tr-header__actions>.tr-btn>.tr-btn__icon{width:20px;height:20px}

/* Burger */
.tr-burger{display:inline-flex;width:44px;height:44px;border-radius:12px;border:1px solid var(--tr-line);align-items:center;justify-content:center;background:#fff;flex-shrink:0;padding:0}
.tr-burger span{display:block;width:20px;height:2px;background:var(--tr-ink);position:relative;border-radius:1px}
.tr-burger span::before,.tr-burger span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--tr-ink);border-radius:1px}
.tr-burger span::before{top:-6px}
.tr-burger span::after{top:6px}

/* Mobile drawer — high z-index, solid background, full-coverage */
@media (max-width:1023px){
  .tr-nav{position:fixed;top:0;right:0;bottom:0;width:min(86vw,340px);background:#fff;display:flex;flex-direction:column;align-items:stretch;padding:5rem 1.25rem 2rem;transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);box-shadow:-12px 0 40px rgba(0,0,0,.18);overflow-y:auto;z-index:200;gap:.25rem;visibility:hidden}
  .tr-nav.is-open{transform:translateX(0);visibility:visible}
  .tr-nav__list{flex-direction:column;align-items:stretch;gap:0;width:100%}
  .tr-nav li{width:100%;list-style:none}
  .tr-nav a{padding:1rem .25rem;border-bottom:1px solid var(--tr-line-soft);width:100%;font-size:1rem;font-weight:500;display:block;white-space:normal}
  .tr-nav__close{display:inline-grid;place-items:center;position:absolute;top:1rem;right:1rem;width:40px;height:40px;border-radius:10px;border:1px solid var(--tr-line);background:#fff;font-size:1.4rem;color:var(--tr-ink);line-height:1;padding:0}
  body.tr-menu-open{overflow:hidden}
  body.tr-menu-open::after{content:"";position:fixed;inset:0;background:rgba(15,17,21,.65);z-index:150;animation:tr-fade-in .25s ease;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
  /* Hide burger when menu is open so the close X is the only control */
  body.tr-menu-open .tr-burger{visibility:hidden}
}

/* Desktop nav (≥1024px) */
@media (min-width:1024px){
  .tr-nav{display:flex;align-items:center;gap:1.5rem;position:static;transform:none;width:auto;background:transparent;padding:0;box-shadow:none;visibility:visible}
  .tr-burger{display:none}
  /* Restore CTA full text on desktop */
  .tr-header__actions>.tr-btn{padding:.7rem 1.2rem;width:auto;height:auto;min-height:44px;gap:.5rem;border-radius:999px}
  .tr-header__actions>.tr-btn>span:not(.tr-btn__icon){display:inline}
}

@keyframes tr-fade-in{from{opacity:0}to{opacity:1}}

/* =========================================================
   6. HERO
========================================================= */
.tr-hero{position:relative;padding:clamp(40px,7vw,90px) 0 clamp(40px,6vw,72px);background:radial-gradient(1100px 480px at 12% 0%,rgba(255,196,0,.16) 0%,transparent 60%),radial-gradient(900px 500px at 95% 30%,rgba(198,11,30,.10) 0%,transparent 60%),#fff;overflow:hidden}
.tr-hero__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,5vw,64px);align-items:center}
.tr-hero__copy{min-width:0}
.tr-hero__badge{display:inline-flex;align-items:center;gap:.55rem;font-size:.85rem;font-weight:600;background:#fff;border:1px solid var(--tr-line);padding:.5rem .95rem;border-radius:999px;margin-bottom:1.2rem;box-shadow:var(--tr-shadow-sm)}
.tr-hero__badge .dot{width:8px;height:8px;border-radius:50%;background:var(--tr-success);box-shadow:0 0 0 4px rgba(22,163,74,.18);flex-shrink:0}
.tr-hero h1{margin-bottom:1.1rem}
.tr-hero h1 strong{color:var(--tr-red);font-weight:inherit}
.tr-hero__sub{font-size:1.05rem;color:var(--tr-muted);max-width:560px;margin-bottom:1.6rem}
.tr-hero__ctas{display:flex;gap:.7rem;flex-wrap:wrap;margin-bottom:1.6rem}
.tr-hero__trust{display:flex;gap:.85rem;align-items:center;flex-wrap:wrap;font-size:.9rem;color:var(--tr-muted)}
.tr-hero__trust .stars{color:var(--tr-gold);display:inline-flex;flex-direction:row;gap:2px;align-items:center;flex-shrink:0}
.tr-hero__trust .stars .tr-icon{width:14px;height:14px;display:inline-block;flex:0 0 14px}
.tr-hero__trust-text{display:inline-flex;align-items:center;gap:.3rem;flex-wrap:wrap}
.tr-hero__trust strong{color:var(--tr-ink);font-weight:700}
.tr-hero__visual{position:relative;min-width:0}
.tr-hero__visual img{border-radius:var(--tr-radius-lg);box-shadow:var(--tr-shadow-lg);width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.tr-hero__floatcard{position:absolute;background:#fff;border-radius:var(--tr-radius);padding:.75rem 1rem;box-shadow:var(--tr-shadow);display:flex;align-items:center;gap:.6rem;font-size:.88rem;font-weight:600;max-width:220px}
.tr-hero__floatcard.is-tl{top:5%;left:-4%}
.tr-hero__floatcard.is-br{bottom:6%;right:-3%}
.tr-hero__floatcard .tr-icon-circle{width:36px;height:36px;border-radius:10px}
.tr-hero__floatcard .tr-icon-circle .tr-icon{width:18px;height:18px}

@media (max-width:1024px){
  .tr-hero__floatcard.is-tl{left:0}
  .tr-hero__floatcard.is-br{right:0}
}

@media (max-width:900px){
  .tr-hero{padding-top:32px;padding-bottom:40px}
  .tr-hero__grid{grid-template-columns:1fr;gap:32px}
  .tr-hero__visual{order:-1;max-width:480px;margin:0 auto;width:100%}
  .tr-hero__floatcard{display:none}
  .tr-hero__sub{font-size:1rem}
  .tr-hero__trust{gap:.8rem;font-size:.85rem}
  .tr-hero__ctas{flex-direction:column;align-items:stretch;width:100%;gap:.6rem}
  .tr-hero__ctas .tr-btn{width:100%;min-height:48px;padding:.85rem 1.2rem;font-size:.95rem}
  .tr-hero__ctas .tr-btn--lg{min-height:48px;padding:.85rem 1.2rem;font-size:.95rem}
}

/* =========================================================
   7. PRICING
========================================================= */
.tr-pricing__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch}
.tr-price{position:relative;background:#fff;border:1.5px solid var(--tr-line);border-radius:var(--tr-radius-lg);padding:2rem 1.4rem;text-align:center;transition:all .3s ease;display:flex;flex-direction:column}
.tr-price:hover{border-color:var(--tr-red);transform:translateY(-6px);box-shadow:var(--tr-shadow)}
.tr-price--featured{border-color:var(--tr-red);background:linear-gradient(180deg,#fff 0%,var(--tr-red-soft) 100%);box-shadow:0 20px 50px rgba(198,11,30,.18)}
.tr-price__tag{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:var(--tr-gold);color:#1F1300;font-weight:700;font-size:.75rem;padding:.4rem .9rem;border-radius:999px;letter-spacing:.05em;white-space:nowrap}
.tr-price__name{font-family:var(--tr-font-display);font-weight:700;font-size:1.1rem;margin-bottom:.5rem}
.tr-price__amount{font-family:var(--tr-font-display);font-size:2.4rem;font-weight:800;color:var(--tr-ink);line-height:1;margin:.4rem 0 .25rem}
.tr-price__amount sup{font-size:1.1rem;font-weight:700;color:var(--tr-red);margin-right:.15rem;top:-.7em}
.tr-price__period{color:var(--tr-muted);font-size:.9rem;margin-bottom:1.2rem;min-height:1.4em}
.tr-price__features{text-align:left;display:flex;flex-direction:column;gap:.55rem;margin:0 0 1.5rem;flex-grow:1}
.tr-price__features li{display:flex;gap:.55rem;align-items:flex-start;font-size:.9rem;color:var(--tr-text)}
.tr-price__features li .tr-icon{color:var(--tr-red);width:16px;height:16px;margin-top:.2rem}
.tr-price .tr-btn{width:100%}

@media (max-width:980px){.tr-pricing__grid{grid-template-columns:repeat(2,1fr);gap:16px}}
@media (max-width:540px){.tr-pricing__grid{grid-template-columns:1fr;gap:14px;max-width:380px;margin:0 auto}}

/* =========================================================
   8. FEATURES
========================================================= */
.tr-features__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tr-feature{background:#fff;border:1px solid var(--tr-line);border-radius:var(--tr-radius);padding:1.8rem;transition:all .3s ease}
.tr-feature:hover{border-color:var(--tr-red);transform:translateY(-4px);box-shadow:var(--tr-shadow)}
.tr-feature__icon{width:54px;height:54px;border-radius:14px;background:linear-gradient(135deg,var(--tr-red) 0%,var(--tr-red-dark) 100%);color:#fff;display:grid;place-items:center;margin-bottom:1.1rem}
.tr-feature__icon .tr-icon{width:26px;height:26px}
.tr-feature h3{font-size:1.1rem;margin-bottom:.5rem}
.tr-feature p{font-size:.94rem;color:var(--tr-muted);margin:0}
@media (max-width:880px){.tr-features__grid{grid-template-columns:repeat(2,1fr);gap:18px}}
@media (max-width:540px){.tr-features__grid{grid-template-columns:1fr}.tr-feature{padding:1.4rem}}

/* =========================================================
   9. STATS
========================================================= */
.tr-stats{background:linear-gradient(135deg,var(--tr-red) 0%,var(--tr-red-dark) 100%);color:#fff;padding:clamp(36px,5vw,64px) 0}
.tr-stats__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.tr-stat__num{font-family:var(--tr-font-display);font-size:clamp(1.8rem,3.5vw,2.8rem);font-weight:800;color:var(--tr-gold);line-height:1}
.tr-stat__label{font-size:.92rem;opacity:.9;margin-top:.4rem}
@media (max-width:760px){.tr-stats__grid{grid-template-columns:repeat(2,1fr);gap:28px 16px}}

/* =========================================================
  10. STEPS
========================================================= */
.tr-steps__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;counter-reset:step;margin-top:1rem}
.tr-step{position:relative;background:#fff;padding:2.2rem 1.4rem 1.6rem;border-radius:var(--tr-radius);border:1px solid var(--tr-line);counter-increment:step}
.tr-step::before{content:counter(step,decimal-leading-zero);position:absolute;top:-18px;left:1.4rem;font-family:var(--tr-font-display);font-weight:800;font-size:1.25rem;color:#fff;background:var(--tr-red);width:46px;height:46px;border-radius:12px;display:grid;place-items:center;box-shadow:0 6px 18px rgba(198,11,30,.3)}
.tr-step h3{margin:.5rem 0 .5rem;font-size:1.05rem}
.tr-step p{color:var(--tr-muted);font-size:.92rem;margin:0}
@media (max-width:880px){.tr-steps__grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.tr-steps__grid{grid-template-columns:1fr}}

/* =========================================================
  11. SHOWCASE
========================================================= */
.tr-showcase{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(28px,5vw,48px);align-items:center}
.tr-showcase img{border-radius:var(--tr-radius-lg);box-shadow:var(--tr-shadow);width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.tr-showcase ul{margin-top:1.2rem;display:grid;grid-template-columns:1fr 1fr;gap:.6rem 1.2rem}
.tr-showcase li{display:flex;gap:.5rem;align-items:flex-start;font-size:.94rem}
.tr-showcase li .tr-icon{color:var(--tr-red);width:16px;height:16px;margin-top:.2rem;flex-shrink:0}
.tr-showcase--reverse{grid-template-columns:.9fr 1.1fr}
.tr-showcase--reverse .tr-showcase__media{order:2}
@media (max-width:900px){
  .tr-showcase,.tr-showcase--reverse{grid-template-columns:1fr;gap:28px}
  .tr-showcase__media{order:0!important;max-width:520px;margin:0 auto;width:100%}
  .tr-showcase ul{grid-template-columns:1fr}
}

/* =========================================================
  12. DEVICES
========================================================= */
.tr-devices__grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.tr-device{background:#fff;border:1px solid var(--tr-line);border-radius:var(--tr-radius);padding:1.4rem 1rem;text-align:center;transition:all .25s ease;display:flex;flex-direction:column;align-items:center;gap:.6rem}
.tr-device:hover{border-color:var(--tr-red);transform:translateY(-3px);box-shadow:var(--tr-shadow)}
.tr-device .tr-icon{color:var(--tr-red);width:28px;height:28px}
.tr-device h4{font-size:.92rem;margin:0;color:var(--tr-ink)}
@media (max-width:880px){.tr-devices__grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:480px){.tr-devices__grid{grid-template-columns:repeat(2,1fr);gap:12px}}

/* =========================================================
  13. TESTIMONIALS
========================================================= */
.tr-testi__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.tr-testi{background:#fff;border:1px solid var(--tr-line);border-radius:var(--tr-radius);padding:1.8rem;position:relative;transition:all .3s ease}
.tr-testi:hover{border-color:var(--tr-gold);box-shadow:var(--tr-shadow);transform:translateY(-4px)}
.tr-testi__stars{color:var(--tr-gold);display:inline-flex;gap:2px;margin-bottom:.8rem}
.tr-testi__stars .tr-icon{width:16px;height:16px}
.tr-testi p{color:var(--tr-text);font-style:italic;margin-bottom:1.2rem;font-size:.94rem}
.tr-testi__author{display:flex;align-items:center;gap:.8rem}
.tr-testi__avatar{width:46px;height:46px;border-radius:50%;background:linear-gradient(135deg,var(--tr-red) 0%,var(--tr-gold) 100%);color:#fff;display:grid;place-items:center;font-weight:700;font-family:var(--tr-font-display);flex-shrink:0}
.tr-testi__name{font-weight:600;color:var(--tr-ink);font-size:.94rem}
.tr-testi__city{font-size:.82rem;color:var(--tr-muted)}
@media (max-width:880px){.tr-testi__grid{grid-template-columns:1fr;max-width:540px;margin:0 auto}}

/* =========================================================
  14. COMPARE TABLE
========================================================= */
.tr-compare{background:#fff;border:1px solid var(--tr-line);border-radius:var(--tr-radius-lg);overflow:hidden;box-shadow:var(--tr-shadow-sm)}
.tr-compare-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--tr-radius-lg)}
.tr-compare table{width:100%;border-collapse:collapse;min-width:520px}
.tr-compare th,.tr-compare td{padding:.95rem 1rem;text-align:left;border-bottom:1px solid var(--tr-line-soft);font-size:.92rem}
.tr-compare th{background:var(--tr-bg-alt);font-family:var(--tr-font-display);font-weight:700;color:var(--tr-ink);white-space:nowrap}
.tr-compare td:nth-child(2),.tr-compare th:nth-child(2){background:var(--tr-red-soft);font-weight:600;color:var(--tr-red);text-align:center}
.tr-compare td:nth-child(3),.tr-compare th:nth-child(3){text-align:center;color:var(--tr-muted)}
.tr-compare tr:last-child td{border-bottom:0}
.tr-compare .tr-icon{color:var(--tr-success);width:18px;height:18px;display:inline-block;vertical-align:middle}
.tr-compare .tr-icon--no{color:var(--tr-muted);width:14px;height:2px;background:currentColor;display:inline-block;vertical-align:middle}

/* =========================================================
  15. FAQ ACCORDION
========================================================= */
.tr-faq{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.tr-faq__item{background:#fff;border:1px solid var(--tr-line);border-radius:var(--tr-radius);overflow:hidden;transition:all .25s ease}
.tr-faq__item[open]{border-color:var(--tr-red);box-shadow:var(--tr-shadow-sm)}
.tr-faq__item summary{padding:1.1rem 1.3rem;cursor:pointer;font-weight:600;color:var(--tr-ink);display:flex;justify-content:space-between;align-items:center;list-style:none;font-family:var(--tr-font-display);gap:1rem;font-size:.98rem}
.tr-faq__item summary::-webkit-details-marker{display:none}
.tr-faq__item__icon{width:14px;height:14px;flex-shrink:0;position:relative;color:var(--tr-red);transition:transform .25s ease}
.tr-faq__item__icon::before,.tr-faq__item__icon::after{content:"";position:absolute;background:currentColor;border-radius:1px}
.tr-faq__item__icon::before{top:50%;left:0;right:0;height:2px;transform:translateY(-50%)}
.tr-faq__item__icon::after{left:50%;top:0;bottom:0;width:2px;transform:translateX(-50%)}
.tr-faq__item[open] .tr-faq__item__icon{transform:rotate(45deg)}
.tr-faq__item__body{padding:0 1.3rem 1.2rem;color:var(--tr-muted);font-size:.94rem;line-height:1.7}

/* =========================================================
  16. CTA BANNER
========================================================= */
.tr-cta-banner{background:linear-gradient(135deg,var(--tr-red) 0%,#7A0612 100%);border-radius:var(--tr-radius-lg);padding:clamp(28px,5vw,60px);color:#fff;text-align:center;position:relative;overflow:hidden}
.tr-cta-banner::before{content:"";position:absolute;top:-50%;right:-10%;width:400px;height:400px;background:radial-gradient(circle,rgba(255,196,0,.25) 0%,transparent 60%);border-radius:50%;pointer-events:none}
.tr-cta-banner h2{color:#fff;margin-bottom:1rem;position:relative}
.tr-cta-banner p{color:rgba(255,255,255,.92);font-size:1.05rem;max-width:640px;margin:0 auto 1.6rem;position:relative}
.tr-cta-banner .tr-btn{position:relative}

/* =========================================================
  17. FOOTER
========================================================= */
.tr-footer{background:#0F1115;color:#C9CDD6;padding:56px 0 0}
.tr-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px;padding-bottom:40px}
.tr-footer h4{color:#fff;font-size:1rem;margin-bottom:1rem;font-family:var(--tr-font-display)}
.tr-footer__brand img{max-height:48px;margin-bottom:1rem;filter:brightness(0) invert(1)}
.tr-footer p{color:#A0A6B3;font-size:.92rem;line-height:1.7}
.tr-footer ul{display:flex;flex-direction:column;gap:.55rem}
.tr-footer ul a{color:#C9CDD6;font-size:.93rem}
.tr-footer ul a:hover{color:var(--tr-gold)}
.tr-footer__contact li{display:flex;gap:.7rem;align-items:flex-start;font-size:.92rem;color:#C9CDD6}
.tr-footer__contact li .tr-icon{color:var(--tr-red);flex-shrink:0;margin-top:.2rem;width:18px;height:18px}
.tr-footer__bottom{border-top:1px solid #1F2430;padding:1.2rem 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.85rem;color:#7C8290}
.tr-footer__bottom a{color:#A0A6B3}
.tr-footer__bottom a:hover{color:var(--tr-gold)}
.tr-footer__legal{display:flex;gap:1rem;flex-wrap:wrap}
@media (max-width:900px){.tr-footer__grid{grid-template-columns:1fr 1fr;gap:28px}}
@media (max-width:540px){.tr-footer__grid{grid-template-columns:1fr;gap:24px;text-align:center}.tr-footer__contact li{justify-content:center}.tr-footer__bottom{justify-content:center;text-align:center}.tr-footer ul{align-items:center}}

/* =========================================================
  18. WHATSAPP FLOAT
========================================================= */
.tr-wa-float{position:fixed;bottom:20px;right:20px;background:var(--tr-whatsapp);color:#fff;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;box-shadow:0 8px 24px rgba(37,211,102,.4);z-index:80;transition:transform .25s ease;border:0}
.tr-wa-float:hover{transform:scale(1.08);color:#fff;background:var(--tr-whatsapp-dark)}
.tr-wa-float .tr-icon{width:26px;height:26px;color:#fff}
.tr-wa-float::before{content:"";position:absolute;inset:0;border-radius:50%;background:rgba(37,211,102,.4);animation:tr-pulse 2.4s ease-out infinite;z-index:-1}
@keyframes tr-pulse{0%{transform:scale(1);opacity:.6}100%{transform:scale(1.5);opacity:0}}
@media (max-width:540px){.tr-wa-float{bottom:14px;right:14px;width:50px;height:50px}.tr-wa-float .tr-icon{width:24px;height:24px}}

/* =========================================================
  19. PAGE HEADERS
========================================================= */
.tr-page-header{background:linear-gradient(135deg,var(--tr-red-soft) 0%,#fff 100%);padding:clamp(36px,6vw,72px) 0;border-bottom:1px solid var(--tr-line-soft);text-align:center}
.tr-page-header h1{margin-bottom:.6rem}
.tr-breadcrumbs{font-size:.86rem;color:var(--tr-muted)}
.tr-breadcrumbs a{color:var(--tr-red)}
.tr-breadcrumbs span{margin:0 .35rem;color:var(--tr-line)}

/* =========================================================
  20. BLOG / SINGLE
========================================================= */
.tr-blog__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.tr-card{background:#fff;border:1px solid var(--tr-line);border-radius:var(--tr-radius);overflow:hidden;display:flex;flex-direction:column;transition:all .3s ease}
.tr-card:hover{border-color:var(--tr-red);transform:translateY(-4px);box-shadow:var(--tr-shadow)}
.tr-card__thumb{aspect-ratio:16/9;background:var(--tr-bg-alt);overflow:hidden;display:block}
.tr-card__thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.tr-card:hover .tr-card__thumb img{transform:scale(1.06)}
.tr-card__body{padding:1.4rem;display:flex;flex-direction:column;flex-grow:1}
.tr-card__meta{font-size:.78rem;color:var(--tr-muted);margin-bottom:.6rem;text-transform:uppercase;letter-spacing:.06em}
.tr-card__meta .cat{color:var(--tr-red);font-weight:600}
.tr-card h3{font-size:1.1rem;margin-bottom:.6rem;line-height:1.35}
.tr-card h3 a:hover{color:var(--tr-red)}
.tr-card p{font-size:.92rem;color:var(--tr-muted);flex-grow:1;margin-bottom:1rem}
.tr-card__more{font-weight:600;color:var(--tr-red);font-size:.9rem;display:inline-flex;align-items:center;gap:.3rem}
@media (max-width:980px){.tr-blog__grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.tr-blog__grid{grid-template-columns:1fr;max-width:480px;margin:0 auto}}

.tr-pagination{margin-top:3rem;display:flex;justify-content:center;gap:.4rem;flex-wrap:wrap}
.tr-pagination .page-numbers{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:10px;border:1px solid var(--tr-line);background:#fff;color:var(--tr-text);font-weight:600;font-size:.9rem}
.tr-pagination .page-numbers.current,.tr-pagination .page-numbers:hover{background:var(--tr-red);color:#fff;border-color:var(--tr-red)}

.tr-article{max-width:780px;margin:0 auto;padding:clamp(28px,5vw,56px) 0}
.tr-article__hero{margin-bottom:2rem}
.tr-article__meta{display:flex;gap:1rem;align-items:center;color:var(--tr-muted);font-size:.88rem;margin:1rem 0 1.6rem;flex-wrap:wrap}
.tr-article__meta>span{display:inline-flex;align-items:center;gap:.4rem}
.tr-article__meta .tr-icon{width:14px;height:14px}
.tr-article__meta .cat{background:var(--tr-red-soft);color:var(--tr-red);padding:.3rem .7rem;border-radius:6px;font-weight:600;font-size:.78rem;text-transform:uppercase;letter-spacing:.05em}
.tr-article__thumb{border-radius:var(--tr-radius-lg);overflow:hidden;margin-bottom:2rem;aspect-ratio:16/9}
.tr-article__thumb img{width:100%;height:100%;object-fit:cover}
.tr-article__content{font-size:1.04rem;line-height:1.78;color:var(--tr-text)}
.tr-article__content h2{margin:2.2rem 0 1rem;font-size:1.6rem}
.tr-article__content h3{margin:1.6rem 0 .8rem;font-size:1.25rem}
.tr-article__content p{margin-bottom:1.2rem}
.tr-article__content ul,.tr-article__content ol{padding-left:1.4rem;margin-bottom:1.2rem}
.tr-article__content ul{list-style:disc}
.tr-article__content ol{list-style:decimal}
.tr-article__content li{margin-bottom:.4rem}
.tr-article__content blockquote{border-left:4px solid var(--tr-red);padding:.8rem 1.4rem;color:var(--tr-muted);background:var(--tr-bg-alt);border-radius:0 10px 10px 0;margin:1.6rem 0;font-style:italic}
.tr-article__content a{color:var(--tr-red);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.tr-article__content img{border-radius:var(--tr-radius);margin:1.4rem 0}
.tr-article__cta{margin-top:2.6rem;padding:1.6rem;background:linear-gradient(135deg,var(--tr-red-soft) 0%,var(--tr-gold-soft) 100%);border-radius:var(--tr-radius-lg);text-align:center}
.tr-article__cta h3{margin-bottom:.6rem}
.tr-article__cta p{margin-bottom:1.2rem;color:var(--tr-text)}

/* =========================================================
  21. CONTACT PAGE
========================================================= */
.tr-contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(24px,4vw,48px);align-items:start}
.tr-contact-info{background:#fff;border:1px solid var(--tr-line);border-radius:var(--tr-radius-lg);padding:1.8rem;display:flex;flex-direction:column;gap:1.2rem}
.tr-contact-info__item{display:flex;gap:.9rem;align-items:flex-start}
.tr-contact-info__item .tr-icon-circle{width:42px;height:42px;flex-shrink:0}
.tr-contact-info__item .tr-icon-circle .tr-icon{width:20px;height:20px}
.tr-contact-info__item h4{margin-bottom:.3rem;font-size:1rem}
.tr-contact-info__item p,.tr-contact-info__item a{margin:0;font-size:.92rem;color:var(--tr-muted)}
.tr-contact-form{background:#fff;border:1px solid var(--tr-line);border-radius:var(--tr-radius-lg);padding:1.8rem}
.tr-contact-form input,.tr-contact-form textarea{width:100%;padding:.85rem 1rem;border:1.5px solid var(--tr-line);border-radius:10px;font-family:inherit;font-size:.95rem;margin-bottom:1rem;transition:border-color .2s ease;background:#fff}
.tr-contact-form input:focus,.tr-contact-form textarea:focus{outline:0;border-color:var(--tr-red)}
.tr-contact-form textarea{resize:vertical;min-height:130px}
.tr-contact-form button{background:var(--tr-red);color:#fff;padding:.95rem 1.8rem;border-radius:999px;font-weight:600;cursor:pointer;border:0;font-size:.95rem}
.tr-contact-form button:hover{background:var(--tr-red-dark)}
@media (max-width:880px){.tr-contact-grid{grid-template-columns:1fr}}

/* =========================================================
  22. LEGAL PAGES
========================================================= */
.tr-legal{max-width:820px;margin:0 auto;padding:clamp(28px,5vw,56px) 0;font-size:1rem;line-height:1.78;color:var(--tr-text)}
.tr-legal h2{margin:2rem 0 .8rem;font-size:1.4rem}
.tr-legal h3{margin:1.4rem 0 .6rem;font-size:1.1rem}
.tr-legal p,.tr-legal li{color:var(--tr-text)}
.tr-legal ul,.tr-legal ol{padding-left:1.4rem;margin-bottom:1.2rem}
.tr-legal ul{list-style:disc}
.tr-legal ol{list-style:decimal}
.tr-legal li{margin-bottom:.4rem}
.tr-legal__updated{display:inline-block;background:var(--tr-bg-alt);padding:.4rem .9rem;border-radius:8px;font-size:.85rem;color:var(--tr-muted);margin-bottom:1.4rem}

/* =========================================================
  23. CHANNELS PAGE
========================================================= */
.tr-cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.tr-cat{background:#fff;border:1px solid var(--tr-line);border-radius:var(--tr-radius);padding:1.6rem;transition:all .3s ease}
.tr-cat:hover{border-color:var(--tr-red);transform:translateY(-4px);box-shadow:var(--tr-shadow)}
.tr-cat__icon{color:var(--tr-red);margin-bottom:.6rem}
.tr-cat__icon .tr-icon{width:32px;height:32px}
.tr-cat h3{font-size:1.05rem;margin-bottom:.4rem}
.tr-cat__count{display:inline-block;background:var(--tr-gold-soft);color:#7A5A00;font-size:.76rem;font-weight:700;padding:.25rem .7rem;border-radius:999px;margin-bottom:.7rem}
.tr-cat p{font-size:.88rem;color:var(--tr-muted);margin:0;line-height:1.6}
@media (max-width:880px){.tr-cat-grid{grid-template-columns:repeat(2,1fr);gap:16px}}
@media (max-width:540px){.tr-cat-grid{grid-template-columns:1fr;max-width:480px;margin:0 auto}}

/* =========================================================
  24. WP CORE OVERRIDES
========================================================= */
.alignleft{float:left;margin:0 1.4rem 1rem 0;max-width:50%}
.alignright{float:right;margin:0 0 1rem 1.4rem;max-width:50%}
.aligncenter{display:block;margin:1rem auto}
.wp-caption{max-width:100%}
.wp-caption-text{font-size:.85rem;color:var(--tr-muted);text-align:center;margin-top:.4rem}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
.skip-link{position:absolute;top:-40px;left:0;background:var(--tr-red);color:#fff;padding:.5rem 1rem;z-index:100}
.skip-link:focus{top:0;color:#fff}

/* =========================================================
  25. UTILITY
========================================================= */
.tr-text-center{text-align:center}
.tr-mb-0{margin-bottom:0!important}
.tr-mt-2{margin-top:2rem}
@media (max-width:480px){
  .tr-eyebrow{font-size:.72rem;padding:.4rem .8rem}
  .tr-section-title{margin-bottom:2rem}
  .tr-stats{padding:32px 0}
}
