/*
Theme Name: IPTV Nomads – Rediseño Bento Grid (estilo Apple)
Theme URI: https://iptvnomads.shop
Author: IPTV Nomads
Description: Legal streaming + VPN guides for digital nomads, plus a community-sourced internet speed database by country. No unlicensed IPTV — licensed platforms only.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: iptvnomads
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* ==========================================================================
   TOKENS — "Boarding Pass" system: travel-doc palette, stamp-ink accent
   ========================================================================== */
:root{
  --bg:#F3F6F6;
  --surface:#FFFFFF;
  --surface-2:#E8EDEC;
  --border:#D8E0DF;
  --ink:#12201E;
  --ink-muted:#4C5E5B;
  --ink-faint:#859492;

  --accent:#C6821E;
  --accent-dk:#A3690F;
  --accent-ink:#FFFFFF;
  --accent-soft:#FBEFDC;

  --teal:#12736B;
  --teal-soft:#E1F1EF;

  --mono-tint:#E8EDEC;
  --radius:14px;
  --radius-sm:9px;
  --shadow:0 1px 2px rgba(18,32,30,.05), 0 10px 28px -16px rgba(18,32,30,.16);
  --container:1180px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --bg:#0E1614;
    --surface:#16211E;
    --surface-2:#1C2925;
    --border:#2A3A36;
    --ink:#EAF0EE;
    --ink-muted:#A8BAB6;
    --ink-faint:#6E8480;

    --accent:#E0A544;
    --accent-dk:#C6821E;
    --accent-ink:#221200;
    --accent-soft:rgba(224,165,68,.14);

    --teal:#3FBDB0;
    --teal-soft:rgba(63,189,176,.13);

    --mono-tint:#1C2925;
    --shadow:0 1px 2px rgba(0,0,0,.35), 0 10px 28px -16px rgba(0,0,0,.55);
  }
}
:root[data-theme="dark"]{
  --bg:#0E1614; --surface:#16211E; --surface-2:#1C2925; --border:#2A3A36;
  --ink:#EAF0EE; --ink-muted:#A8BAB6; --ink-faint:#6E8480;
  --accent:#E0A544; --accent-dk:#C6821E; --accent-ink:#221200; --accent-soft:rgba(224,165,68,.14);
  --teal:#3FBDB0; --teal-soft:rgba(63,189,176,.13);
  --mono-tint:#1C2925;
  --shadow:0 1px 2px rgba(0,0,0,.35), 0 10px 28px -16px rgba(0,0,0,.55);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*,*::before,*::after{ box-sizing:border-box; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'Karla',-apple-system,'Segoe UI',sans-serif;
  font-size:16px; line-height:1.5;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4,h5{ font-family:'Bricolage Grotesque',-apple-system,sans-serif; text-wrap:balance; margin:0; color:var(--ink); font-weight:700; letter-spacing:-.01em; }
p{ margin:0; }
ul{ margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
.mono{ font-family:'JetBrains Mono','SFMono-Regular',Consolas,monospace; }
.tnum{ font-variant-numeric:tabular-nums; }
[hidden]{ display:none!important; }

.container{ max-width:var(--container); margin-inline:auto; padding-inline:20px; }
.section{ padding-block:60px; }
.section-alt{ background:var(--surface); }

.eyebrow{ font-family:'JetBrains Mono',monospace; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:var(--teal); font-weight:600; }
.section-head{ display:flex; flex-direction:column; gap:10px; margin-bottom:32px; max-width:62ch; }
.section-head h2{ font-size:clamp(1.5rem,3vw,2.05rem); }
.section-head p{ color:var(--ink-muted); font-size:.97rem; line-height:1.6; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:700; font-size:.94rem; padding:13px 22px; border-radius:99px; border:1px solid transparent; transition:transform .15s,background .15s,border-color .15s; }
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--accent); color:var(--accent-ink); }
.btn-primary:hover{ background:var(--accent-dk); }
.btn-teal{ background:var(--teal); color:#fff; }
.btn-outline{ background:transparent; border-color:var(--border); color:var(--ink); }
.btn-outline:hover{ border-color:var(--accent); color:var(--accent-dk); }
.btn-block{ width:100%; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{ position:sticky; top:0; z-index:40; background:color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter:blur(10px); border-bottom:1px solid var(--border); padding-top:env(safe-area-inset-top,0px); }
.header-inner{ display:flex; align-items:center; gap:24px; padding-block:14px; }
.logo{ display:flex; align-items:center; gap:9px; font-family:'Bricolage Grotesque',sans-serif; font-weight:800; font-size:1.15rem; color:var(--ink); }
.logo .dot{ width:9px; height:9px; border-radius:50%; background:var(--teal); }
.logo span.n{ color:var(--accent-dk); }
.main-nav{ display:flex; gap:26px; margin-inline:auto; }
.main-nav a{ font-size:.9rem; font-weight:600; color:var(--ink-muted); }
.main-nav a:hover{ color:var(--ink); }
.header-cta{ display:flex; align-items:center; gap:10px; }
.nav-burger{ display:none; background:none; border:none; padding:8px; }
.nav-burger span{ display:block; width:20px; height:2px; background:var(--ink); margin:4px 0; border-radius:2px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{ padding-block:58px 52px; }
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:44px; align-items:center; }
.hero-badge{ display:inline-flex; align-items:center; gap:7px; background:var(--teal-soft); color:var(--teal); font-size:.78rem; font-weight:700; padding:7px 14px; border-radius:99px; margin-bottom:18px; }
.hero h1{ font-size:clamp(2.2rem,5vw,3.2rem); line-height:1.05; }
.hero h1 em{ font-style:normal; color:var(--accent-dk); }
.hero p.lead{ margin-top:16px; font-size:1.05rem; line-height:1.6; color:var(--ink-muted); max-width:50ch; }
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }
.hero-trust{ display:flex; flex-wrap:wrap; gap:20px; margin-top:30px; }
.hero-trust .t{ display:flex; align-items:center; gap:8px; font-size:.82rem; color:var(--ink-muted); font-weight:600; }
.hero-trust svg{ width:16px; height:16px; color:var(--teal); flex-shrink:0; }

.passport-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); padding:24px; }
.passport-card .pc-row{ display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px dashed var(--border); font-size:.86rem; }
.passport-card .pc-row:last-child{ border-bottom:none; }
.passport-card .pc-label{ color:var(--ink-faint); font-family:'JetBrains Mono',monospace; font-size:.72rem; text-transform:uppercase; }
.passport-card .pc-val{ font-weight:700; }
.passport-card .pc-stamp{ margin-top:14px; text-align:center; font-family:'JetBrains Mono',monospace; font-size:.7rem; color:var(--teal); border:2px dashed var(--teal); border-radius:8px; padding:8px; text-transform:uppercase; letter-spacing:.08em; }

/* ==========================================================================
   SPEED REPORTS
   ========================================================================== */
.speed-wrap{ display:grid; grid-template-columns:1.3fr 1fr; gap:24px; align-items:start; }
.speed-table{ width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.speed-table th{ text-align:left; font-size:.68rem; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-faint); font-weight:700; padding:12px 16px; background:var(--surface-2); border-bottom:1px solid var(--border); }
.speed-table td{ padding:13px 16px; font-size:.9rem; border-bottom:1px solid var(--border); }
.speed-table tr:last-child td{ border-bottom:none; }
.speed-table .rank{ font-family:'JetBrains Mono',monospace; color:var(--accent-dk); font-weight:700; width:2em; }
.speed-table .mbps{ font-family:'JetBrains Mono',monospace; font-weight:700; color:var(--teal); }
.speed-table .reports{ color:var(--ink-faint); font-size:.78rem; }
.speed-empty{ padding:40px 24px; text-align:center; color:var(--ink-muted); background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); }

.report-form{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); padding:24px; }
.report-form h3{ font-size:1.05rem; margin-bottom:4px; }
.report-form .sub{ font-size:.82rem; color:var(--ink-muted); margin-bottom:18px; }
.report-form label{ display:block; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-faint); margin-bottom:6px; margin-top:14px; }
.report-form label:first-of-type{ margin-top:0; }
.report-form select, .report-form input{ width:100%; padding:11px 12px; border-radius:var(--radius-sm); border:1px solid var(--border); background:var(--bg); color:var(--ink); font-size:.9rem; font-family:inherit; }
.report-status{ font-size:.82rem; margin-top:12px; font-weight:600; }
.report-status.ok{ color:var(--teal); }
.report-status.err{ color:var(--accent-dk); }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.step-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:22px; box-shadow:var(--shadow); }
.step-card .s-num{ font-family:'JetBrains Mono',monospace; font-size:.72rem; color:var(--teal); }
.step-card h3{ font-size:1rem; margin-top:8px; }
.step-card p{ font-size:.85rem; color:var(--ink-muted); line-height:1.5; margin-top:6px; }

/* ==========================================================================
   GUIDE CARDS / BLOG
   ========================================================================== */
.guide-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column; transition:transform .15s; }
.guide-card:hover{ transform:translateY(-3px); }
.guide-thumb{ aspect-ratio:16/10; background:linear-gradient(135deg,var(--teal-soft),var(--surface-2)); display:flex; align-items:center; justify-content:center; }
.guide-thumb .flag{ font-size:2.1rem; }
.guide-body{ padding:20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.guide-tag{ font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--teal); }
.guide-body h3{ font-size:1.05rem; line-height:1.3; }
.guide-body p{ font-size:.86rem; color:var(--ink-muted); line-height:1.55; }
.guide-meta{ margin-top:auto; padding-top:10px; font-size:.76rem; color:var(--ink-faint); display:flex; justify-content:space-between; }

.post-list{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.pagination{ display:flex; gap:8px; justify-content:center; margin-top:40px; }
.pagination a, .pagination span{ padding:9px 15px; border-radius:var(--radius-sm); border:1px solid var(--border); font-size:.86rem; font-weight:600; }
.pagination .current{ background:var(--accent); color:var(--accent-ink); border-color:var(--accent); }

/* ==========================================================================
   LEAD MAGNET
   ========================================================================== */
.lead-box{ background:var(--teal); color:#fff; border-radius:20px; padding:44px; display:grid; grid-template-columns:1.2fr 1fr; gap:36px; align-items:center; }
.lead-box .eyebrow{ color:var(--accent); }
.lead-box h2{ color:#fff; font-size:clamp(1.4rem,3vw,2rem); margin-top:8px; }
.lead-box p{ color:rgba(255,255,255,.88); margin-top:12px; line-height:1.6; max-width:48ch; }
.lead-form{ background:var(--surface); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow); }
.lead-form .ebook-title{ font-family:'Bricolage Grotesque',sans-serif; font-weight:700; font-size:1.03rem; color:var(--ink); margin-bottom:4px; }
.lead-form .ebook-sub{ font-size:.82rem; color:var(--ink-muted); margin-bottom:16px; }
.lead-form input[type="email"]{ width:100%; padding:13px 14px; border-radius:var(--radius-sm); border:1px solid var(--border); font-size:.92rem; font-family:inherit; margin-bottom:10px; background:var(--bg); color:var(--ink); }
.lead-form .fine{ font-size:.7rem; color:var(--ink-faint); margin-top:10px; line-height:1.5; }
.lead-status{ font-size:.82rem; margin-top:10px; font-weight:600; }
.lead-status.ok{ color:var(--teal); }
.lead-status.err{ color:var(--accent-dk); }

/* ==========================================================================
   MERCH
   ========================================================================== */
.merch-strip{ display:flex; align-items:center; gap:28px; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--radius); padding:26px 32px; }
.merch-strip .mtext{ flex:1; }
.merch-strip h3{ font-size:1.2rem; }
.merch-strip p{ color:var(--ink-muted); font-size:.9rem; margin-top:6px; }
.merch-strip .mtag{ font-family:'JetBrains Mono',monospace; font-size:.7rem; color:var(--accent-dk); background:var(--accent-soft); padding:3px 9px; border-radius:6px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{ border-top:1px solid var(--border); background:var(--surface); padding-block:48px 30px; padding-bottom:calc(30px + env(safe-area-inset-bottom,0px)); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
.footer-desc{ font-size:.86rem; color:var(--ink-muted); line-height:1.6; max-width:34ch; margin-top:12px; }
.footer-col h4{ font-family:'JetBrains Mono',monospace; font-weight:700; font-size:.7rem; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-faint); margin-bottom:14px; }
.footer-col a{ display:block; font-size:.88rem; color:var(--ink-muted); padding-block:6px; }
.footer-col a:hover{ color:var(--accent-dk); }
.footer-bottom{ margin-top:40px; padding-top:22px; border-top:1px solid var(--border); display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.78rem; color:var(--ink-faint); }
.affiliate-disclosure{ font-size:.74rem; color:var(--ink-faint); line-height:1.6; max-width:80ch; margin-top:18px; padding-top:18px; border-top:1px dashed var(--border); }

/* ==========================================================================
   SINGLE / ARCHIVE
   ========================================================================== */
.post-header{ padding-block:48px 30px; }
.post-header .eyebrow{ margin-bottom:12px; }
.post-header h1{ font-size:clamp(1.8rem,4vw,2.5rem); }
.post-meta{ display:flex; gap:16px; margin-top:16px; font-size:.84rem; color:var(--ink-faint); }
.post-content{ max-width:72ch; font-size:1.02rem; line-height:1.75; color:var(--ink); display:flex; flex-direction:column; gap:18px; }
.post-content h2{ font-size:1.45rem; margin-top:10px; }
.post-content h3{ font-size:1.15rem; }
.post-content p{ color:var(--ink); }
.post-content ul, .post-content ol{ padding-left:22px; display:flex; flex-direction:column; gap:8px; }
.post-content a{ color:var(--teal); text-decoration:underline; text-underline-offset:2px; }
.post-content img{ border-radius:var(--radius-sm); }
.post-cta{ margin-top:20px; background:var(--surface-2); border-radius:var(--radius); padding:24px; }
.archive-header{ padding-block:48px 30px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:900px){
  .main-nav{ display:none; }
  .main-nav.open{ display:flex; position:fixed; inset:0; top:64px; padding-top:env(safe-area-inset-top,0px); background:var(--bg); flex-direction:column; gap:4px; padding:24px; z-index:39; }
  .main-nav.open a{ padding:14px 4px; border-bottom:1px solid var(--border); font-size:1.05rem; }
  .nav-burger{ display:block; }
  .hero-grid{ grid-template-columns:1fr; }
  .speed-wrap{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns:1fr 1fr; }
  .grid-3{ grid-template-columns:1fr 1fr; }
  .lead-box{ grid-template-columns:1fr; padding:28px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .post-list{ grid-template-columns:1fr 1fr; }
  .merch-strip{ flex-direction:column; text-align:center; }
}
@media (max-width:600px){
  .grid-4{ grid-template-columns:1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .post-list{ grid-template-columns:1fr; }
  .hero-actions{ flex-direction:column; }
  .hero-actions .btn{ width:100%; }
}

/* === CAPA DE REDISEÑO: BENTO GRID APPLE === */


:root{
  --bg:#F5F5F7;
  --surface:#FFFFFF;
  --surface-2:#F5F5F7;
  --border:transparent;
  --ink:#1D1D1F;
  --ink-muted:#6E6E73;
  --ink-faint:#86868B;

  --accent:#0071E3;
  --accent-dk:#0062C4;
  --accent-ink:#FFFFFF;
  --accent-soft:#E8F1FD;

  --teal:#0071E3;
  --teal-soft:#E8F1FD;

  --mono-tint:#F5F5F7;
  --radius:28px;
  --radius-sm:18px;
  --shadow:0 1px 2px rgba(0,0,0,.02), 0 4px 20px -10px rgba(0,0,0,.06);
  --container:1180px;
}

/* ---------- Base ---------- */
body{
  background:#F5F5F7 !important;
  color:#1D1D1F !important;
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
  font-weight:400;
  letter-spacing:-0.005em;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,h5{
  font-family:'Inter',-apple-system,sans-serif !important;
  color:#1D1D1F !important;
  letter-spacing:-0.025em !important;
  font-weight:700 !important;
  line-height:1.08;
}
body h1{ font-size:clamp(2.4rem,5.5vw,4.2rem) !important; letter-spacing:-0.03em !important; }
body h2{ font-size:clamp(1.8rem,3.4vw,2.8rem) !important; letter-spacing:-0.025em !important; }
body h3{ font-size:clamp(1.15rem,1.6vw,1.4rem) !important; letter-spacing:-0.02em !important; }
body h4,body h5{ font-size:1rem !important; letter-spacing:-0.01em !important; font-weight:600 !important; }

p{ color:#1D1D1F; }
body p.lead{ color:#6E6E73 !important; font-size:clamp(1.05rem,1.4vw,1.3rem) !important; line-height:1.5; letter-spacing:-0.01em; }

a{ color:#0071E3; text-decoration:none; }
a:hover{ color:#0062C4; }

/* ---------- Secciones ---------- */
body .section{
  background:#F5F5F7 !important;
  padding:clamp(3rem,6vw,5.5rem) 1.25rem !important;
  position:relative;
}
body .section-alt{
  background:#FFFFFF !important;
  border-radius:32px;
  margin:1rem auto;
  max-width:calc(var(--container) + 4rem);
  padding:clamp(3rem,6vw,5rem) clamp(1.25rem,3vw,3rem) !important;
}

body .eyebrow{
  color:#0071E3 !important;
  font-size:.78rem !important;
  font-weight:600 !important;
  letter-spacing:0.08em !important;
  text-transform:uppercase;
  background:transparent;
  padding:0;
}

body .section-head{ text-align:center; margin-bottom:clamp(2rem,4vw,3rem); }
body .section-head h2{ margin:0 0 .6rem; }
body .section-head p{ color:#6E6E73 !important; max-width:640px; margin:0 auto; font-size:1.05rem; }

/* ---------- Header ---------- */
body .site-header{
  background:rgba(245,245,247,.78) !important;
  backdrop-filter:saturate(180%) blur(20px);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
  border-bottom:1px solid rgba(0,0,0,.05) !important;
  box-shadow:none !important;
  position:sticky; top:0; z-index:100;
}
body .header-inner{
  height:56px;
  display:flex; align-items:center; justify-content:space-between;
}
body .logo{
  color:#1D1D1F !important;
  font-weight:700 !important;
  letter-spacing:-0.02em !important;
  font-size:1.1rem !important;
}
body .logo .dot{
  background:#0071E3 !important;
  box-shadow:0 0 0 4px rgba(0,113,227,.12);
}
body .logo span.n{ color:#1D1D1F !important; }

body .main-nav a{
  color:#1D1D1F !important;
  font-size:.9rem !important;
  font-weight:500 !important;
  letter-spacing:-0.01em;
  padding:.5rem .9rem !important;
  border-radius:980px;
  transition:background .2s ease,color .2s ease;
}
body .main-nav a:hover{
  background:rgba(0,0,0,.05) !important;
  color:#0071E3 !important;
}
body .nav-burger span{ background:#1D1D1F !important; }

/* ---------- Botones ---------- */
body .btn{
  border-radius:980px !important;
  font-family:'Inter',sans-serif !important;
  font-weight:500 !important;
  font-size:.92rem !important;
  letter-spacing:-0.01em !important;
  padding:.7rem 1.4rem !important;
  border:1px solid transparent !important;
  transition:transform .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease;
  box-shadow:none !important;
}
body .btn:active{ transform:scale(.97); }
body .btn-primary{
  background:#0071E3 !important;
  color:#FFFFFF !important;
  box-shadow:0 1px 3px rgba(0,113,227,.25) !important;
}
body .btn-primary:hover{
  background:#0062C4 !important;
  color:#FFFFFF !important;
}
body .btn-outline{
  background:transparent !important;
  color:#0071E3 !important;
  border:1px solid #0071E3 !important;
}
body .btn-outline:hover{
  background:#0071E3 !important;
  color:#FFFFFF !important;
}
body .btn-teal{
  background:#0071E3 !important;
  color:#FFFFFF !important;
}
body .btn-teal:hover{ background:#0062C4 !important; }
body .btn-block{ width:100%; }

/* ---------- Hero ---------- */
body .hero{
  background:#F5F5F7 !important;
  padding:clamp(3rem,7vw,6rem) 1.25rem clamp(2rem,4vw,4rem) !important;
  position:relative;
  overflow:hidden;
}
body .hero::before{
  content:"";
  position:absolute;
  width:520px; height:520px;
  top:-180px; right:-120px;
  background:radial-gradient(circle,rgba(0,113,227,.10),transparent 65%);
  border-radius:50%;
  pointer-events:none;
}
body .hero-grid{
  gap:2rem;
  align-items:center;
}
body .hero-badge{
  display:inline-flex; align-items:center; gap:.4rem;
  background:#FFFFFF !important;
  color:#0071E3 !important;
  border:1px solid rgba(0,113,227,.15) !important;
  border-radius:980px !important;
  padding:.35rem .9rem !important;
  font-size:.78rem !important;
  font-weight:600 !important;
  letter-spacing:0.02em !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03);
}
body .hero h1 em{
  font-style:normal;
  background:linear-gradient(90deg,#0071E3,#5AC8FA);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 2px 6px rgba(0,113,227,.15));
}
body .hero-actions{ gap:.6rem; }
body .hero-trust{
  color:#6E6E73 !important;
  font-size:.85rem;
}
body .hero-trust .t{ color:#1D1D1F !important; font-weight:600; }
body .hero-trust svg{ color:#0071E3 !important; }

/* ---------- Passport card (bento) ---------- */
body .passport-card{
  background:#FFFFFF !important;
  border:none !important;
  border-radius:28px !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03), 0 20px 50px -30px rgba(0,0,0,.15) !important;
  padding:1.8rem 1.6rem !important;
  position:relative;
  overflow:hidden;
}
body .passport-card::after{
  content:"";
  position:absolute;
  inset:auto -40px -40px auto;
  width:180px; height:180px;
  background:radial-gradient(circle,rgba(0,113,227,.10),transparent 70%);
  border-radius:50%;
  pointer-events:none;
}
body .passport-card .pc-row{
  border-bottom:1px solid rgba(0,0,0,.05) !important;
  padding:.85rem 0 !important;
}
body .passport-card .pc-row:last-child{ border-bottom:none !important; }
body .passport-card .pc-label{
  color:#86868B !important;
  font-size:.78rem !important;
  letter-spacing:0.06em !important;
  text-transform:uppercase;
  font-weight:600;
}
body .passport-card .pc-val{
  color:#1D1D1F !important;
  font-weight:600 !important;
  font-size:1.05rem !important;
  letter-spacing:-0.01em;
}
body .passport-card .pc-stamp{
  background:#0071E3 !important;
  color:#FFFFFF !important;
  border-radius:980px !important;
  padding:.25rem .75rem !important;
  font-size:.7rem !important;
  font-weight:600 !important;
  letter-spacing:0.06em !important;
  text-transform:uppercase;
  border:none !important;
}

/* ---------- Speed table (bento) ---------- */
body .speed-wrap{
  background:#FFFFFF !important;
  border-radius:28px !important;
  padding:1.5rem !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03), 0 20px 50px -30px rgba(0,0,0,.12) !important;
  border:none !important;
}
body .speed-rank-card{
  background:#FFFFFF !important;
  border-radius:24px !important;
  padding:1.5rem !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03), 0 20px 50px -30px rgba(0,0,0,.12) !important;
}
body .speed-table{
  border-collapse:separate !important;
  border-spacing:0 !important;
  width:100%;
}
body .speed-table th{
  color:#86868B !important;
  font-size:.72rem !important;
  font-weight:600 !important;
  letter-spacing:0.08em !important;
  text-transform:uppercase;
  border-bottom:1px solid rgba(0,0,0,.06) !important;
  background:transparent !important;
  padding:.9rem .6rem !important;
}
body .speed-table td{
  padding:1rem .6rem !important;
  border-bottom:1px solid rgba(0,0,0,.05) !important;
  color:#1D1D1F !important;
  font-size:.95rem;
}
body .speed-table tr:last-child td{ border-bottom:none !important; }
body .speed-table .rank{
  color:#86868B !important;
  font-weight:600 !important;
  font-size:.85rem !important;
}
body .speed-table .mbps{
  font-weight:700 !important;
  font-size:1.5rem !important;
  letter-spacing:-0.03em !important;
  color:#1D1D1F !important;
  font-variant-numeric:tabular-nums;
}
body .speed-table .reports{
  color:#6E6E73 !important;
  font-size:.82rem !important;
}
body .speed-empty{
  color:#6E6E73 !important;
  text-align:center;
  padding:2rem 1rem;
}

/* ---------- Formularios ---------- */
body .report-form{
  background:#FFFFFF !important;
  border-radius:28px !important;
  padding:1.8rem !important;
  border:none !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03), 0 20px 50px -30px rgba(0,0,0,.12) !important;
}
body .report-form h3{
  margin:0 0 .4rem;
  font-size:1.25rem !important;
}
body .report-form .sub{
  color:#6E6E73 !important;
  font-size:.88rem !important;
  margin-bottom:1rem;
}
body .report-form label{
  color:#1D1D1F !important;
  font-size:.8rem !important;
  font-weight:600 !important;
  letter-spacing:0.02em;
  margin-top:.6rem;
  display:block;
}
body .report-form select,
body .report-form input{
  background:#F5F5F7 !important;
  border:1px solid transparent !important;
  border-radius:14px !important;
  padding:.8rem 1rem !important;
  color:#1D1D1F !important;
  font-family:'Inter',sans-serif !important;
  font-size:.95rem !important;
  transition:border .2s ease,background .2s ease;
  width:100%;
}
body .report-form select:focus,
body .report-form input:focus{
  outline:none !important;
  background:#FFFFFF !important;
  border-color:#0071E3 !important;
  box-shadow:0 0 0 4px rgba(0,113,227,.12) !important;
}
body .report-status{ font-size:.85rem; }
body .report-status.ok{ color:#0071E3 !important; }
body .report-status.err{ color:#D0021B !important; }
body .hp-field{ display:none; }

/* ---------- Grids y tarjetas ---------- */
body .grid-4,
body .grid-3{ gap:1rem; }

body .step-card{
  background:#FFFFFF !important;
  border-radius:24px !important;
  padding:1.6rem !important;
  border:none !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03), 0 20px 40px -28px rgba(0,0,0,.12) !important;
  transition:transform .3s ease,box-shadow .3s ease;
}
body .step-card:hover{
  transform:translateY(-3px);
  box-shadow:0 1px 2px rgba(0,0,0,.03), 0 30px 60px -30px rgba(0,0,0,.18) !important;
}
body .step-card .s-num{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px;
  background:#0071E3 !important;
  color:#FFFFFF !important;
  border-radius:14px !important;
  font-weight:700 !important;
  font-size:1.1rem !important;
  letter-spacing:-0.02em;
  margin-bottom:1rem;
  box-shadow:0 6px 18px -8px rgba(0,113,227,.5);
}
body .step-card h3{ margin:.2rem 0 .5rem; }
body .step-card p{ color:#6E6E73 !important; font-size:.92rem; line-height:1.5; }

body .guide-card{
  background:#FFFFFF !important;
  border-radius:24px !important;
  overflow:hidden;
  border:none !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03), 0 20px 40px -28px rgba(0,0,0,.12) !important;
  transition:transform .3s ease,box-shadow .3s ease;
}
body .guide-card:hover{
  transform:translateY(-3px);
  box-shadow:0 1px 2px rgba(0,0,0,.03), 0 30px 60px -30px rgba(0,0,0,.18) !important;
}
body .guide-thumb{
  background:#F5F5F7 !important;
  border-radius:0;
  position:relative;
}
body .guide-thumb .flag{
  background:#FFFFFF !important;
  border-radius:980px !important;
  padding:.2rem .6rem !important;
  font-size:.7rem !important;
  font-weight:600 !important;
  color:#1D1D1F !important;
  box-shadow:0 1px 3px rgba(0,0,0,.08);
}
body .guide-body{ padding:1.3rem 1.4rem 1.5rem !important; }
body .guide-tag{
  color:#0071E3 !important;
  font-size:.7rem !important;
  font-weight:600 !important;
  letter-spacing:0.08em !important;
  text-transform:uppercase;
}
body .guide-body h3{ margin:.4rem 0 .5rem; }
body .guide-body p{ color:#6E6E73 !important; font-size:.9rem; line-height:1.5; }
body .guide-meta{
  color:#86868B !important;
  font-size:.75rem !important;
  letter-spacing:0.02em;
}

body .post-list{ gap:1rem; }

/* ---------- Paginación ---------- */
body .pagination a,
body .pagination span{
  background:#FFFFFF !important;
  border:1px solid rgba(0,0,0,.06) !important;
  border-radius:980px !important;
  color:#1D1D1F !important;
  padding:.5rem 1rem !important;
  font-size:.85rem !important;
  font-weight:500 !important;
  transition:background .2s ease,color .2s ease;
}
body .pagination a:hover{
  background:#0071E3 !important;
  color:#FFFFFF !important;
  border-color:#0071E3 !important;
}
body .pagination .current{
  background:#0071E3 !important;
  color:#FFFFFF !important;
  border-color:#0071E3 !important;
}

/* ---------- Lead box ---------- */
body .lead-box{
  background:#FFFFFF !important;
  border-radius:32px !important;
  padding:clamp(2rem,4vw,3.5rem) !important;
  border:none !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03), 0 30px 60px -30px rgba(0,0,0,.15) !important;
  position:relative;
  overflow:hidden;
}
body .lead-box::before{
  content:"";
  position:absolute;
  width:400px; height:400px;
  top:-150px; right:-100px;
  background:radial-gradient(circle,rgba(0,113,227,.10),transparent 65%);
  border-radius:50%;
  pointer-events:none;
}
body .lead-box .eyebrow{ margin-bottom:.6rem; }
body .lead-box h2{ margin:0 0 .8rem; }
body .lead-box p{ color:#6E6E73 !important; max-width:560px; }
body .lead-form{ margin-top:1.5rem; }
body .lead-form .ebook-title{
  font-weight:700 !important;
  color:#1D1D1F !important;
  letter-spacing:-0.02em;
}
body .lead-form .ebook-sub{ color:#6E6E73 !important; font-size:.9rem; }
body .lead-form input[type="email"]{
  background:#F5F5F7 !important;
  border:1px solid transparent !important;
  border-radius:980px !important;
  padding:.85rem 1.2rem !important;
  font-family:'Inter',sans-serif !important;
  font-size:.95rem !important;
  color:#1D1D1F !important;
  transition:border .2s ease,background .2s ease;
}
body .lead-form input[type="email"]:focus{
  outline:none !important;
  background:#FFFFFF !important;
  border-color:#0071E3 !important;
  box-shadow:0 0 0 4px rgba(0,113,227,.12) !important;
}
body .lead-form .fine{
  color:#86868B !important;
  font-size:.75rem !important;
  margin-top:.6rem;
}
body .lead-status{ font-size:.85rem; }
body .lead-status.ok{ color:#0071E3 !important; }
body .lead-status.err{ color:#D0021B !important; }

/* ---------- Merch strip ---------- */
body .merch-strip{
  background:#FFFFFF !important;
  border-radius:28px !important;
  padding:1.8rem !important;
  border:none !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03), 0 20px 40px -28px rgba(0,0,0,.12) !important;
}
body .merch-strip .mtext{ color:#6E6E73 !important; font-size:.9rem; }
body .merch-strip h3{ margin:.3rem 0 .5rem; }
body .merch-strip p{ color:#6E6E73 !important; font-size:.9rem; }
body .merch-strip .mtag{
  background:#0071E3 !important;
  color:#FFFFFF !important;
  border-radius:980px !important;
  padding:.25rem .75rem !important;
  font-size:.7rem !important;
  font-weight:600 !important;
  letter-spacing:0.06em !important;
  text-transform:uppercase;
}

/* ---------- Archive header ---------- */
body .archive-header{
  background:#F5F5F7 !important;
  padding:clamp(2.5rem,5vw,4rem) 1.25rem !important;
  text-align:center;
  position:relative;
}

/* ---------- Post ---------- */
body .post-header{
  background:#F5F5F7 !important;
  padding:clamp(2.5rem,5vw,4rem) 1.25rem 1.5rem !important;
}
body .post-header .eyebrow{ margin-bottom:.6rem; }
body .post-header h1{ margin:0 0 .6rem; }
body .post-meta{
  color:#86868B !important;
  font-size:.85rem !important;
  letter-spacing:0.02em;
}
body .post-content{
  background:#FFFFFF !important;
  border-radius:28px !important;
  padding:clamp(1.5rem,3vw,2.5rem) !important;
  max-width:820px;
  margin:0 auto;
  box-shadow:0 1px 2px rgba(0,0,0,.03), 0 20px 50px -30px rgba(0,0,0,.10) !important;
}
body .post-content h2{ margin-top:2rem; }
body .post-content h3{ margin-top:1.5rem; }
body .post-content p{ color:#1D1D1F; line-height:1.65; }
body .post-content a{
  color:#0071E3 !important;
  text-decoration:underline;
  text-underline-offset:3px;
}
body .post-content ul,
body .post-content ol{ color:#1D1D1F; line-height:1.65; }
body .post-content img{ border-radius:20px; }
body .post-cta{
  background:#F5F5F7 !important;
  border-radius:24px !important;
  padding:1.5rem !important;
  margin-top:2rem;
  border:none !important;
}

/* ---------- Footer ---------- */
body .site-footer{
  background:#FFFFFF !important;
  border-top:1px solid rgba(0,0,0,.06) !important;
  padding:clamp(2.5rem,5vw,4rem) 1.25rem 1.5rem !important;
  color:#6E6E73 !important;
  position:relative;
  overflow:hidden;
}
body .footer-grid{ gap:2.5rem; }
body .footer-brand .logo{ font-size:1.15rem !important; }
body .footer-desc{
  color:#6E6E73 !important;
  font-size:.88rem;
  line-height:1.55;
  max-width:320px;
  margin-top:.8rem;
}
body .footer-col h4{
  color:#1D1D1F !important;
  font-size:.8rem !important;
  letter-spacing:0.06em !important;
  text-transform:uppercase;
  font-weight:600 !important;
  margin-bottom:.9rem;
}
body .footer-col a{
  color:#6E6E73 !important;
  font-size:.88rem !important;
  display:block;
  padding:.25rem 0;
  transition:color .2s ease;
}
body .footer-col a:hover{ color:#0071E3 !important; }
body .footer-stat{
  background:#F5F5F7 !important;
  border-radius:18px !important;
  padding:1rem 1.1rem !important;
  border:none !important;
}
body .footer-stat-number{
  color:#1D1D1F !important;
  font-size:1.6rem !important;
  font-weight:700 !important;
  letter-spacing:-0.03em !important;
  font-variant-numeric:tabular-nums;
}
body .footer-stat-label{
  color:#86868B !important;
  font-size:.75rem !important;
  letter-spacing:0.04em;
  text-transform:uppercase;
}
body .footer-bottom{
  border-top:1px solid rgba(0,0,0,.06) !important;
  margin-top:2.5rem;
  padding-top:1.5rem;
  color:#86868B !important;
  font-size:.8rem;
}
body .affiliate-disclosure{
  color:#86868B !important;
  font-size:.75rem;
  line-height:1.55;
}

/* ---------- Decoraciones ---------- */
.deco-dot,
.deco-pill,
.deco-1,
.deco-2,
.deco-destello{
  position:absolute;
  pointer-events:none;
  z-index:0;
}
.deco-dot{
  width:10px; height:10px;
  background:#0071E3;
  border-radius:50%;
  box-shadow:0 0 0 6px rgba(0,113,227,.12);
  top:1.5rem; right:1.5rem;
}
.deco-pill{
  width:80px; height:14px;
  background:linear-gradient(90deg,#0071E3,#5AC8FA);
  border-radius:980px;
  opacity:.8;
  top:1.5rem; left:1.5rem;
}
.deco-1{
  width:220px; height:220px;
  background:radial-gradient(circle,rgba(0,113,227,.14),transparent 70%);
  border-radius:50%;
  top:-60px; right:-60px;
}
.deco-2{
  width:160px; height:160px;
  background:radial-gradient(circle,rgba(90,200,250,.16),transparent 70%);
  border-radius:50%;
  bottom:-50px; left:-40px;
}
.deco-destello{
  width:14px; height:14px;
  background:#0071E3;
  border-radius:2px;
  transform:rotate(45deg);
  top:2rem; right:2rem;
  opacity:.7;
  box-shadow:0 0 0 6px rgba(0,113,227,.10);
}

/* ---------- Inline overrides ---------- */
[style*="linear-gradient"]{
  background:linear-gradient(180deg,#F5F5F7,#FFFFFF) !important;
}
[style*="color:var(--teal)"]{
  color:#0071E3 !important;
}
[style*="color:var(--ink-muted)"]{
  color:#6E6E73 !important;
}

/* ---------- Mono / tabular ---------- */
body .mono{
  font-family:'SF Mono',ui-monospace,Menlo,monospace !important;
  font-size:.85em !important;
  color:inherit;
}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  body .main-nav.open{
    background:rgba(245,245,247,.98) !important;
    backdrop-filter:blur(20px);
    -webkit-backdrop-filter:blur(20px);
    border-radius:0 0 24px 24px;
    padding:1rem !important;
    box-shadow:0 20px 40px -20px rgba(0,0,0,.15);
  }
  body .main-nav.open a{
    color:#1D1D1F !important;
    padding:.9rem 1rem !important;
    border-radius:14px !important;
    font-size:1rem !important;
  }
  body .main-nav.open a:hover{
    background:rgba(0,113,227,.08) !important;
  }
}

@media (max-width:768px){
  body .section{ padding:2.5rem 1rem !important; }
  body .section-alt{ border-radius:24px; margin:.5rem; }
  body .hero{ padding:2.5rem 1rem 2rem !important; }
  body .hero::before{ width:320px; height:320px; top:-120px; right:-80px; }
  body h1{ font-size:clamp(1.9rem,9vw,2.6rem) !important; }
  body h2{ font-size:clamp(1.5rem,6vw,2rem) !important; }
  body .passport-card,
  body .speed-wrap,
  body .report-form,
  body .step-card,
  body .guide-card,
  body .lead-box,
  body .merch-strip,
  body .post-content{ border-radius:20px !important; }
  body .lead-box{ padding:2rem 1.25rem !important; }
  body .lead-box::before{ width:260px; height:260px; }
  body .footer-grid{ gap:1.75rem; }
  body .hero-actions .btn{ flex:1; text-align:center; }
}

@media (max-width:600px){
  body .hero-actions{ flex-direction:column; align-items:stretch; gap:.5rem; }
  body .hero-actions .btn{ width:100%; }
  body .speed-table .mbps{ font-size:1.2rem !important; }
  body .footer-stat-number{ font-size:1.35rem !important; }
}
</｜｜DSML｜｜ parameter>
</｜｜DSML｜｜ invoke>
</｜｜DSML｜｜ calls>

/* Paleta nueva también para los selectores de tema/modo oscuro del tema original (si no, le ganan a la capa) */
@media (prefers-color-scheme: dark){
:root:not([data-theme="light"]){
  --bg:#F5F5F7;
  --surface:#FFFFFF;
  --surface-2:#F5F5F7;
  --border:transparent;
  --ink:#1D1D1F;
  --ink-muted:#6E6E73;
  --ink-faint:#86868B;

  --accent:#0071E3;
  --accent-dk:#0062C4;
  --accent-ink:#FFFFFF;
  --accent-soft:#E8F1FD;

  --teal:#0071E3;
  --teal-soft:#E8F1FD;

  --mono-tint:#F5F5F7;
  --radius:28px;
  --radius-sm:18px;
  --shadow:0 1px 2px rgba(0,0,0,.02), 0 4px 20px -10px rgba(0,0,0,.06);
  --container:1180px;
}
}
:root[data-theme="dark"]{
  --bg:#F5F5F7;
  --surface:#FFFFFF;
  --surface-2:#F5F5F7;
  --border:transparent;
  --ink:#1D1D1F;
  --ink-muted:#6E6E73;
  --ink-faint:#86868B;

  --accent:#0071E3;
  --accent-dk:#0062C4;
  --accent-ink:#FFFFFF;
  --accent-soft:#E8F1FD;

  --teal:#0071E3;
  --teal-soft:#E8F1FD;

  --mono-tint:#F5F5F7;
  --radius:28px;
  --radius-sm:18px;
  --shadow:0 1px 2px rgba(0,0,0,.02), 0 4px 20px -10px rgba(0,0,0,.06);
  --container:1180px;
}
