:root{
  --primary:#FE2473;
  --primary-dark:#d91d62;
  --black:#111212;
  --dark:#454645;
  --soft-dark:#1a1b1b;
  --text:#121820;
  --muted:#516070;
  --white:#fff;
  --light:#f6f6f7;
  --success:#25D366;
  --shadow:0 18px 45px rgba(0,0,0,.10);
  --radius:20px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.58;font-size:16px;padding-top:116px}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.blog-container{width:min(var(--max),calc(100% - 32px));margin:auto}
.blog-topbar{position:fixed;top:0;left:0;right:0;z-index:10000;background:var(--dark);color:#fff;font-size:14px}
.blog-topbar a{color:#fff}.blog-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0;flex-wrap:wrap}
.blog-header{position:fixed;top:32px;left:0;right:0;z-index:9999;background:rgba(255,255,255,.97);border-bottom:1px solid rgba(0,0,0,.08);backdrop-filter:blur(18px);box-shadow:0 10px 30px rgba(0,0,0,.06)}
.blog-header.is-scrolled{box-shadow:0 14px 40px rgba(0,0,0,.12)}
.blog-header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0}
.blog-brand{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:230px}.blog-brand img{width:210px;height:auto}.blog-brand span{font-size:12px;font-weight:800;color:var(--dark);line-height:1.15}
.blog-nav{display:flex;align-items:center;justify-content:center;gap:8px;flex:1}.blog-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 13px;border-radius:999px;font-size:15px;font-weight:850;color:#222;white-space:nowrap}.blog-nav a:hover{background:#fff0f6;color:var(--primary)}
.blog-menu-toggle{display:none;width:46px;height:42px;border:0;border-radius:14px;background:var(--primary);cursor:pointer;padding:0;flex-shrink:0}.blog-menu-toggle span{display:block;width:20px;height:2px;background:#fff;border-radius:99px;margin:5px auto;transition:.2s}.blog-menu-toggle.is-active span:nth-child(1){transform:translateY(7px) rotate(45deg)}.blog-menu-toggle.is-active span:nth-child(2){opacity:0}.blog-menu-toggle.is-active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.blog-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:13px 22px;border:2px solid transparent;font-weight:900;transition:.2s ease;text-align:center;cursor:pointer}.blog-btn:hover{transform:translateY(-1px)}.blog-btn-primary{background:var(--primary);color:#fff}.blog-btn-primary:hover{background:#ff4388}.blog-btn-whatsapp{background:var(--success);color:#fff}.blog-btn-dark{background:var(--black);color:#fff}.blog-btn-light{background:#fff;color:#111;border-color:#e1e1e1}
.blog-hero{background:linear-gradient(90deg,rgba(17,18,18,.80),rgba(17,18,18,.62),rgba(17,18,18,.25)),url('/blog/assets/img/portada.webp') center/cover no-repeat;color:#fff;padding:96px 0 84px}.blog-hero-small{padding:76px 0 68px}.blog-eyebrow{display:inline-block;padding:8px 12px;border-radius:999px;background:rgba(254,36,115,.18);border:1px solid rgba(255,255,255,.13);color:#ffc1d7;font-size:14px;margin-bottom:18px;font-weight:800}.blog-hero h1{font-size:clamp(38px,5.6vw,66px);line-height:1.02;margin:0 0 18px;max-width:820px;text-shadow:0 3px 8px rgba(0,0,0,.95),0 8px 22px rgba(0,0,0,.70)}.blog-hero p{font-size:19px;max-width:760px;color:#f1f1f1;text-shadow:0 2px 5px rgba(0,0,0,.90),0 5px 14px rgba(0,0,0,.60)}.blog-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}
.blog-section{padding:78px 0}.blog-section-title{text-align:center;max-width:760px;margin:0 auto 34px}.blog-section-title h2{font-size:clamp(30px,4vw,48px);line-height:1.08;margin:0 0 14px}.blog-section-title p{color:var(--muted);font-size:18px}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.blog-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;height:100%;display:flex;flex-direction:column;transition:.2s ease}.blog-card:hover{transform:translateY(-5px);box-shadow:0 20px 50px rgba(0,0,0,.16)}.blog-card-img img{height:230px;width:100%;object-fit:cover}.blog-card-body{padding:24px;display:flex;flex-direction:column;gap:12px;flex:1}.blog-card-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:13px;font-weight:900;color:var(--muted)}.blog-card-meta a{color:var(--primary)}.blog-card h2{font-size:23px;line-height:1.2;margin:0}.blog-card h2 a:hover{color:var(--primary)}.blog-card p{color:var(--muted);margin:0}.blog-read-more{font-weight:900;color:var(--primary);margin-top:auto;display:inline-block}.blog-empty{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:34px;text-align:center;max-width:820px;margin:0 auto}.blog-empty h1,.blog-empty h2{margin-top:0}.blog-error-page{min-height:55vh;display:flex;align-items:center}
.blog-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:34px;flex-wrap:wrap}.blog-pagination a,.blog-pagination span{padding:10px 16px;border-radius:999px;background:#fff;border:1px solid #e1e1e1;font-weight:900}.blog-pagination a{color:var(--primary)}
.blog-article-hero{background:linear-gradient(135deg,var(--black),var(--dark));color:#fff;padding:80px 0}.blog-article-hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:40px;align-items:center}.blog-article-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.04;margin:14px 0 18px}.blog-article-hero p{font-size:19px;color:#f2f2f2;max-width:760px}.blog-article-hero img{width:100%;height:420px;object-fit:cover;border-radius:28px;box-shadow:0 22px 60px rgba(0,0,0,.35)}.blog-article-meta{justify-content:flex-start}.blog-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:40px;padding:70px 0}.blog-article-content{font-size:18px;line-height:1.75}.blog-article-content h2{font-size:clamp(28px,3vw,40px);line-height:1.15;margin:42px 0 14px}.blog-article-content h3{font-size:26px;line-height:1.25;margin:34px 0 10px}.blog-article-content p{margin:0 0 20px}.blog-article-content a{color:var(--primary);font-weight:900}.blog-article-content ul,.blog-article-content ol{padding-left:24px;margin:0 0 22px}.blog-article-content li{margin-bottom:10px}.blog-article-content img{border-radius:20px;margin:28px 0;box-shadow:var(--shadow)}.blog-sidebar{display:grid;gap:20px;align-content:start;position:sticky;top:140px}.blog-sidebar-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:24px}.blog-sidebar-card h2{font-size:23px;line-height:1.2;margin:0 0 12px}.blog-sidebar-card p{color:var(--muted);margin:0 0 18px}.blog-sidebar-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.blog-sidebar-list a{font-weight:900;color:#222}.blog-sidebar-list a:hover{color:var(--primary)}
.blog-footer{background:#111212;color:#ddd;padding-top:46px}.blog-footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:30px}.blog-footer-logo{width:210px;height:auto;margin-bottom:15px}.blog-footer h3{color:#fff;margin:0 0 12px}.blog-footer ul{list-style:none;padding:0;margin:0}.blog-footer li{margin:0 0 9px}.blog-footer a{color:#ddd}.blog-footer a:hover{color:var(--primary)}.blog-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;margin-top:30px;text-align:center;font-size:13px;color:#aaa}.blog-sticky-mobile{display:none;position:fixed;bottom:0;left:0;right:0;z-index:10001;background:#fff;border-top:1px solid #ddd;padding:10px;box-shadow:0 -8px 20px rgba(0,0,0,.08);grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:1180px){body{padding-top:164px}.blog-header-inner{flex-wrap:wrap}.blog-nav{order:4;width:100%;flex:0 0 100%;justify-content:center;overflow-x:auto;padding-top:6px}.blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.blog-footer-grid{grid-template-columns:1fr 1fr}.blog-article-hero-grid,.blog-article-layout{grid-template-columns:1fr}.blog-sidebar{position:static}}
@media(max-width:768px){body{padding-top:126px;padding-bottom:84px}.blog-topbar-inner{flex-direction:column;align-items:flex-start;gap:4px;padding:8px 0}.blog-header{top:58px}.blog-header-inner{gap:10px}.blog-brand{min-width:0;flex:1 1 auto}.blog-brand img{width:180px}.blog-menu-toggle{display:block}.blog-btn-whatsapp{display:none}.blog-nav{display:none;order:4;width:100%;flex:0 0 100%;flex-direction:column;align-items:stretch;gap:8px;overflow:visible;padding:14px 0 0;border-top:1px solid rgba(0,0,0,.08);max-height:calc(100vh - 145px);overflow-y:auto}.blog-nav.is-open{display:flex}.blog-nav a{justify-content:flex-start;width:100%;background:#f7f7f8;border-radius:14px}.blog-hero{padding:66px 0 60px;background:linear-gradient(180deg,rgba(17,18,18,.66),rgba(17,18,18,.58),rgba(17,18,18,.72)),url('/assets/img/portada.webp') center/cover no-repeat}.blog-section{padding:58px 0}.blog-grid{grid-template-columns:1fr}.blog-card-img img{height:220px}.blog-article-hero{padding:58px 0}.blog-article-hero img{height:300px}.blog-article-layout{padding:52px 0}.blog-footer-grid{grid-template-columns:1fr}.blog-sticky-mobile{display:grid}.blog-sticky-mobile .blog-btn-whatsapp{display:inline-flex}}
@media(max-width:390px){.blog-brand img{width:160px}.blog-brand span{font-size:10px}}

/* ==================================================
   YUNDOG BLOG - FIX LIMPIO HEADER + MENÚ RESPONSIVE
   Este bloque sustituye los parches anteriores.
   Objetivo:
   - En escritorio: topbar/header fijos.
   - En pantallas <=1450px: menú hamburguesa.
   - En móvil real <=768px: topbar/header dejan de ser fixed
     para eliminar definitivamente el hueco/transparencia.
   ================================================== */

html,
body{
  max-width:100% !important;
  overflow-x:hidden !important;
}

/* ESCRITORIO / TABLET GRANDE: cabecera fija normal */
.blog-topbar{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  z-index:10000 !important;
  background:#454645 !important;
  color:#fff !important;
}

.blog-header{
  position:fixed !important;
  top:32px !important;
  left:0 !important;
  right:0 !important;
  z-index:9999 !important;
  background:rgba(255,255,255,.97) !important;
  border-bottom:1px solid rgba(0,0,0,.08) !important;
  box-shadow:0 10px 30px rgba(0,0,0,.06) !important;
  backdrop-filter:blur(18px) !important;
  -webkit-backdrop-filter:blur(18px) !important;
}

body{
  padding-top:116px !important;
}

/* MENÚ COMPLETO SOLO EN PANTALLAS AMPLIAS */
@media(min-width:1451px){
  .blog-menu-toggle{
    display:none !important;
  }

  .blog-header-inner{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:16px !important;
    flex-wrap:nowrap !important;
  }

  .blog-nav{
    display:flex !important;
    position:relative !important;
    z-index:1 !important;
    order:initial !important;
    width:auto !important;
    flex:1 1 auto !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
    padding:0 !important;
    border-top:0 !important;
    overflow:visible !important;
    max-height:none !important;
  }

  .blog-nav a{
    width:auto !important;
    min-height:42px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 13px !important;
    border-radius:999px !important;
    background:transparent !important;
    white-space:nowrap !important;
  }
}

/* PORTÁTIL / VENTANA REDUCIDA / TABLET: HAMBURGUESA */
@media(max-width:1450px){
  .blog-header-inner{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
    flex-wrap:wrap !important;
  }

  .blog-brand{
    position:relative !important;
    z-index:2 !important;
    flex:0 0 auto !important;
    min-width:230px !important;
  }

  .blog-btn-whatsapp{
    position:relative !important;
    z-index:2 !important;
    flex:0 0 auto !important;
  }

  .blog-menu-toggle{
    order:2 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    width:46px !important;
    height:42px !important;
    flex:0 0 46px !important;
    border:0 !important;
    border-radius:14px !important;
    background:#FE2473 !important;
    cursor:pointer !important;
    padding:0 !important;
    margin-left:auto !important;
    position:relative !important;
    z-index:3 !important;
  }

  .blog-menu-toggle span{
    display:block !important;
    width:22px !important;
    height:2px !important;
    background:#fff !important;
    border-radius:99px !important;
    margin:3px 0 !important;
    transition:transform .2s ease, opacity .2s ease !important;
  }

  .blog-menu-toggle.is-active span:nth-child(1){
    transform:translateY(8px) rotate(45deg) !important;
  }

  .blog-menu-toggle.is-active span:nth-child(2){
    opacity:0 !important;
  }

  .blog-menu-toggle.is-active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg) !important;
  }

  .blog-nav{
    display:none !important;
    order:5 !important;
    width:100% !important;
    flex:0 0 100% !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:8px !important;
    padding:14px 0 0 !important;
    border-top:1px solid rgba(0,0,0,.08) !important;
    overflow:visible !important;
    max-height:calc(100vh - 145px) !important;
    overflow-y:auto !important;
  }

  .blog-nav.is-open{
    display:flex !important;
  }

  .blog-nav a{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    min-height:44px !important;
    padding:0 14px !important;
    border-radius:14px !important;
    background:#f7f7f8 !important;
    color:#222 !important;
    font-size:15px !important;
    font-weight:850 !important;
    white-space:normal !important;
  }

  .blog-nav a:hover{
    background:#fff0f6 !important;
    color:#FE2473 !important;
  }
}

/* MÓVIL REAL: SIN CABECERA FIJA PARA ELIMINAR EL HUECO */
@media(max-width:768px){
  body{
    padding-top:0 !important;
    padding-bottom:84px !important;
  }

  .blog-topbar,
  .blog-header{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    z-index:auto !important;
  }

  .blog-topbar{
    background:#454645 !important;
    color:#fff !important;
    overflow:hidden !important;
  }

  .blog-topbar-inner{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    padding:7px 10px !important;
    min-height:auto !important;
    font-size:12px !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-align:center !important;
  }

  .blog-topbar-inner span{
    display:block !important;
    max-width:100% !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }

  .blog-header{
    background:#fff !important;
    border-bottom:1px solid rgba(0,0,0,.08) !important;
    box-shadow:0 10px 30px rgba(0,0,0,.08) !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }

  .blog-header-inner{
    min-height:84px !important;
    padding-top:10px !important;
    padding-bottom:10px !important;
    gap:10px !important;
    flex-wrap:wrap !important;
  }

  .blog-brand{
    flex:1 1 auto !important;
    min-width:0 !important;
    max-width:calc(100% - 62px) !important;
  }

  .blog-brand img{
    width:180px !important;
    max-width:180px !important;
    height:auto !important;
  }

  .blog-brand span{
    font-size:11px !important;
  }

  .blog-btn-whatsapp{
    display:none !important;
  }

  .blog-menu-toggle{
    order:2 !important;
    display:flex !important;
    margin-left:auto !important;
  }

  .blog-nav{
    display:none !important;
    order:4 !important;
    width:100% !important;
    flex:0 0 100% !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:8px !important;
    padding:14px 0 0 !important;
    border-top:1px solid rgba(0,0,0,.08) !important;
    overflow:visible !important;
    max-height:none !important;
  }

  .blog-nav.is-open{
    display:flex !important;
  }

  .blog-nav a{
    width:100% !important;
    justify-content:flex-start !important;
    background:#f7f7f8 !important;
    border-radius:14px !important;
  }

  .blog-hero,
  .blog-article-hero{
    margin-top:0 !important;
  }
}

@media(max-width:390px){
  .blog-brand img{
    width:160px !important;
    max-width:160px !important;
  }

  .blog-brand span{
    font-size:10px !important;
  }
}


/* ==================================================
   YUNDOG BLOG - FOOTER CONTACTO Y REDES
   ================================================== */

.blog-footer-contact-line{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  margin:10px 0 !important;
  color:#fff !important;
  line-height:1.45 !important;
}

.blog-footer-contact-line a,
.blog-footer-contact-line span:not(.blog-footer-contact-icon){
  color:#ddd !important;
  font-size:15px !important;
}

.blog-footer-contact-line a:hover{
  color:#FE2473 !important;
}

.blog-footer-contact-icon{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#FE2473 !important;
  line-height:1 !important;
}

.blog-footer-contact-icon svg{
  width:16px !important;
  height:16px !important;
  display:block !important;
  fill:currentColor !important;
}

.blog-footer-social{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin-top:18px !important;
  flex-wrap:wrap !important;
}

.blog-footer-social a{
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  color:#fff !important;
  transition:transform .2s ease, background .2s ease, color .2s ease !important;
}

.blog-footer-social a:hover{
  transform:translateY(-2px) !important;
  background:#FE2473 !important;
  color:#fff !important;
}

.blog-footer-social svg{
  width:19px !important;
  height:19px !important;
  fill:currentColor !important;
  display:block !important;
}

@media(max-width:768px){
  .blog-footer-contact-line{
    align-items:flex-start !important;
  }

  .blog-footer-social{
    margin-top:16px !important;
  }
}
