*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

:root{
  --bg:#070d14;
  --bg-2:#0c121c;
  --panel:#111b27;
  --panel-2:#0f1722;
  --panel-3:#132030;
  --red:#b11226;
  --red-dark:#7a0c18;
  --gold:#f5b041;
  --blue:#2ea8ff;
  --blue-soft:#66c2ff;
  --text:#ffffff;
  --text-soft:#c6d1db;
  --border:rgba(245,176,65,0.16);
  --shadow-red:0 0 20px rgba(177,18,38,0.18);
  --shadow-blue:0 0 20px rgba(46,168,255,0.14);
  --max:1200px;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top right, rgba(46,168,255,0.08), transparent 28%),
    radial-gradient(circle at top left, rgba(177,18,38,0.08), transparent 22%),
    linear-gradient(180deg, #050910 0%, #0b1017 100%);
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
  height:auto;
}

a{
  color:inherit;
}

button{
  font:inherit;
}

.section-kicker{
  display:inline-block;
  margin-bottom:10px;
  color:var(--gold);
  font-size:12px;
  font-weight:800;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(7,13,20,0.88);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(177,18,38,0.7);
  box-shadow:var(--shadow-red);
}

.header-container{
  width:min(var(--max), 92%);
  margin:0 auto;
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.logo-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  flex-shrink:0;
}

.site-logo{
  height:64px;
  width:auto;
  transition:transform 0.24s ease, filter 0.24s ease;
}

.site-logo:hover{
  transform:translateY(-1px) scale(1.02);
  filter:drop-shadow(0 0 10px rgba(46,168,255,0.35));
}

.main-nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.main-nav a{
  color:#fff;
  text-decoration:none;
  font-size:15px;
  font-weight:800;
}

.main-nav a:hover{
  color:var(--gold);
}

.nav-link-inline{
  white-space:nowrap;
}

.nav-item{
  position:relative;
}

.nav-trigger{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:transparent;
  border:none;
  color:#fff;
  cursor:pointer;
  font-size:15px;
  font-weight:800;
  padding:10px 0;
}

.nav-trigger:hover{
  color:var(--gold);
}

.nav-caret{
  font-size:12px;
}

.dropdown-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:240px;
  padding:16px;
  border-radius:16px;
  background:rgba(11,18,27,0.98);
  border:1px solid rgba(245,176,65,0.14);
  box-shadow:0 18px 32px rgba(0,0,0,0.28);
  display:none;
  z-index:1100;
}

.mega-menu{
  min-width:520px;
  display:none;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.dropdown-column{
  min-width:0;
}

.dropdown-title{
  font-size:13px;
  font-weight:800;
  color:var(--gold);
  margin-bottom:10px;
  text-transform:uppercase;
  letter-spacing:1px;
}

.dropdown-menu a{
  display:block;
  text-decoration:none;
  color:var(--text-soft);
  margin-bottom:10px;
  line-height:1.45;
}

.dropdown-menu a:hover{
  color:var(--gold);
}

.nav-item:hover > .dropdown-menu{
  display:block;
}

.nav-item:hover > .mega-menu{
  display:grid;
}

.cta-system{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 20px;
  border-radius:14px;
  text-decoration:none;
  color:#fff !important;
  font-weight:800;
  border:1px solid var(--gold);
  background:linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  box-shadow:
    0 0 0 1px rgba(245,176,65,0.08) inset,
    0 10px 20px rgba(177,18,38,0.22);
  white-space:nowrap;
}

.mobile-toggle{
  display:none;
  width:48px;
  height:48px;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,0.06);
  color:#fff;
  cursor:pointer;
  font-size:24px;
  flex-shrink:0;
}

.mobile-panel{
  display:none;
  width:min(var(--max), 92%);
  margin:0 auto 14px;
  padding:14px;
  border-radius:16px;
  background:rgba(11,18,27,0.98);
  border:1px solid rgba(245,176,65,0.14);
  box-shadow:0 18px 32px rgba(0,0,0,0.28);
}

.mobile-panel.is-open{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.mobile-panel a{
  text-decoration:none;
  color:#fff;
  font-weight:700;
  padding:10px 12px;
  border-radius:10px;
  background:rgba(255,255,255,0.03);
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:12px 22px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  transition:transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color:#fff;
  border:1px solid var(--gold);
  box-shadow:0 0 16px rgba(177,18,38,0.22);
}

.btn-secondary{
  background:rgba(255,255,255,0.02);
  color:#fff;
  border:1px solid rgba(46,168,255,0.42);
  box-shadow:var(--shadow-blue);
}

/* HERO HOME */
.hero{
  padding:72px 20px 34px;
}

.hero-inner{
  width:min(var(--max), 92%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:34px;
  align-items:center;
  padding:46px;
  border-radius:28px;
  border:1px solid rgba(245,176,65,0.14);
  background:
    radial-gradient(circle at left top, rgba(177,18,38,0.16), transparent 26%),
    radial-gradient(circle at right center, rgba(46,168,255,0.13), transparent 32%),
    linear-gradient(135deg, rgba(17,27,39,0.98), rgba(10,16,26,0.98));
  box-shadow:
    0 24px 42px rgba(0,0,0,0.35),
    0 0 28px rgba(177,18,38,0.10);
}

.hero-copy h1{
  font-size:clamp(42px, 5vw, 72px);
  line-height:1.03;
  margin-bottom:18px;
}

.hero-text{
  color:var(--text-soft);
  font-size:clamp(17px, 2vw, 20px);
  line-height:1.75;
  margin-bottom:20px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:18px;
}

.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.hero-badges span{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
  color:var(--text-soft);
  font-size:14px;
  font-weight:700;
}

.hero-visual{
  display:flex;
  align-items:center;
  justify-content:center;
}

.reactor-card{
  position:relative;
  width:min(100%, 420px);
  aspect-ratio:1 / 1;
  border-radius:28px;
  background:
    radial-gradient(circle at center, rgba(46,168,255,0.16), transparent 36%),
    linear-gradient(180deg, rgba(10,16,26,0.98), rgba(12,18,28,0.98));
  border:1px solid rgba(245,176,65,0.14);
  box-shadow:0 20px 40px rgba(0,0,0,0.28);
  overflow:hidden;
}

.reactor-glow{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(46,168,255,0.18), transparent 28%),
    radial-gradient(circle at center, rgba(177,18,38,0.16), transparent 50%);
}

.reactor-ring{
  position:absolute;
  inset:50%;
  transform:translate(-50%, -50%);
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.18);
}

.ring-1{
  width:52%;
  height:52%;
}

.ring-2{
  width:72%;
  height:72%;
  border-color:rgba(245,176,65,0.22);
}

.reactor-core{
  position:absolute;
  inset:50%;
  transform:translate(-50%, -50%);
  width:24%;
  height:24%;
  border-radius:999px;
  background:radial-gradient(circle, var(--gold), var(--red));
  box-shadow:
    0 0 26px rgba(245,176,65,0.34),
    0 0 42px rgba(177,18,38,0.28);
}

.reactor-label{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  padding:14px 16px;
  border-radius:16px;
  background:rgba(11,18,27,0.82);
  border:1px solid rgba(255,255,255,0.06);
}

.reactor-label strong{
  display:block;
  font-size:16px;
  margin-bottom:4px;
}

.reactor-label span{
  display:block;
  color:var(--text-soft);
  font-size:14px;
  line-height:1.5;
}

/* GUIDES INDEX */
.hero-guides{
  padding:40px 20px 34px;
}

.hero-inner-guides{
  width:min(var(--max), 92%);
  margin:0 auto;
  display:grid;
  grid-template-columns:0.9fr 1.1fr;
  gap:32px;
  align-items:center;
  padding:46px;
  border-radius:28px;
  border:1px solid rgba(245,176,65,0.14);
  background:
    radial-gradient(circle at left top, rgba(177,18,38,0.16), transparent 26%),
    radial-gradient(circle at right center, rgba(46,168,255,0.13), transparent 32%),
    linear-gradient(135deg, rgba(17,27,39,0.98), rgba(10,16,26,0.98));
  box-shadow:
    0 24px 42px rgba(0,0,0,0.35),
    0 0 28px rgba(177,18,38,0.10);
}

.hero-guides-copy h1{
  font-size:clamp(42px, 6vw, 76px);
  line-height:1.02;
  margin-bottom:18px;
}

.hero-guides-offer{
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-offer-card{
  background:rgba(10,15,25,0.78);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  padding:28px;
  max-width:380px;
  box-shadow:0 16px 30px rgba(0,0,0,0.22);
}

.hero-offer-badge{
  display:inline-block;
  font-size:12px;
  letter-spacing:1px;
  color:var(--gold);
  margin-bottom:10px;
  font-weight:800;
}

.hero-offer-card h3{
  font-size:22px;
  margin-bottom:10px;
}

.hero-offer-text{
  color:var(--text-soft);
  line-height:1.7;
  margin-bottom:14px;
}

.hero-offer-list{
  margin:0 0 18px 18px;
  color:#fff;
  line-height:1.8;
}

.hero-offer-btn{
  display:inline-flex;
}

/* CATEGORIES BAND */
.categories-band{
  padding:0 20px 28px;
}

.categories-inner{
  width:min(var(--max), 92%);
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.category-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  text-decoration:none;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(245,176,65,0.10);
  color:#fff;
  font-weight:700;
}

.category-chip:hover{
  border-color:rgba(46,168,255,0.28);
  color:var(--gold);
}

/* SHARED SECTIONS */
.section-shell,
.newsletter-shell{
  width:min(var(--max), 92%);
  margin:0 auto;
}

.section-heading{
  margin-bottom:28px;
}

.section-heading h2{
  font-size:clamp(28px, 4vw, 40px);
  line-height:1.1;
  margin-bottom:12px;
}

.section-text{
  max-width:760px;
  color:var(--text-soft);
  font-size:16px;
  line-height:1.75;
}

/* FEATURED POSTS */
.featured-posts-section{
  padding:18px 20px 34px;
}

.post-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

.post-card{
  display:block;
  text-decoration:none;
  border-radius:20px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(18,24,33,0.96), rgba(12,16,22,0.96));
  border:1px solid rgba(245,176,65,0.12);
  box-shadow:0 16px 30px rgba(0,0,0,0.22);
  transition:transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.post-card:hover{
  transform:translateY(-4px);
  border-color:rgba(46,168,255,0.30);
  box-shadow:
    0 16px 34px rgba(0,0,0,0.28),
    0 0 18px rgba(46,168,255,0.10);
}

.post-thumb{
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:rgba(255,255,255,0.03);
}

.post-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:18px;
}

.post-body{
  padding:22px;
}

.post-tag{
  display:inline-flex;
  margin-bottom:10px;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  color:var(--gold);
}

.post-body h3{
  font-size:24px;
  line-height:1.2;
  margin-bottom:10px;
}

.post-body p{
  color:var(--text-soft);
  line-height:1.7;
}

/* TOOLS */
.tools-section{
  padding:14px 20px 34px;
}

.tools-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

.tool-card{
  padding:24px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(18,24,33,0.96), rgba(12,16,22,0.96));
  border:1px solid rgba(245,176,65,0.12);
  box-shadow:0 16px 30px rgba(0,0,0,0.22);
}

.tool-card.featured{
  border-color:rgba(245,176,65,0.30);
  box-shadow:
    0 16px 34px rgba(0,0,0,0.28),
    0 0 20px rgba(245,176,65,0.12);
}

.tool-badge{
  display:inline-flex;
  margin-bottom:12px;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  color:var(--gold);
}

.tool-card h3{
  font-size:26px;
  margin-bottom:10px;
}

.tool-card p{
  color:var(--text-soft);
  line-height:1.75;
  margin-bottom:16px;
}

.tool-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 16px;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  border:1px solid rgba(46,168,255,0.32);
  background:rgba(255,255,255,0.03);
}

/* MINI PANELS */
.mini-panels-section{
  padding:10px 20px 34px;
}

.mini-panels-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:20px;
}

.mini-panel{
  display:block;
  text-decoration:none;
  padding:24px;
  border-radius:18px;
  background:rgba(16,23,34,0.9);
  border:1px solid rgba(245,176,65,0.10);
  box-shadow:0 14px 24px rgba(0,0,0,0.18);
}

.mini-label{
  display:inline-flex;
  margin-bottom:10px;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  color:var(--gold);
}

.mini-panel h3{
  font-size:24px;
  margin-bottom:10px;
}

.mini-panel p{
  color:var(--text-soft);
  line-height:1.7;
}

/* NEWSLETTER */
.newsletter-section{
  padding:10px 20px 34px;
}

.newsletter-shell{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:28px;
  align-items:center;
  padding:34px;
  border-radius:24px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(17,27,39,0.98), rgba(11,18,27,0.98));
  box-shadow:0 16px 30px rgba(0,0,0,0.25);
}

.newsletter-copy h2{
  font-size:clamp(28px, 4vw, 40px);
  line-height:1.1;
  margin-bottom:12px;
}

.newsletter-copy p{
  color:var(--text-soft);
  line-height:1.8;
}

.newsletter-form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.newsletter-form label{
  font-size:14px;
  font-weight:700;
  color:var(--text-soft);
}

.newsletter-form input{
  min-height:52px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.04);
  color:#fff;
  outline:none;
}

.newsletter-form button{
  min-height:52px;
  border:none;
  border-radius:14px;
  cursor:pointer;
  font-weight:800;
  background:linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color:#fff;
  border:1px solid var(--gold);
}

/* GUIDES GRID */
.guides-section{
  padding:18px 20px 34px;
}

.guides-section-secondary{
  padding-top:0;
}

.guides-container{
  width:min(1100px, 92%);
  margin:0 auto;
}

.guides-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

.guide-card{
  display:block;
  text-decoration:none;
  padding:24px;
  border-radius:18px;
  background:
    linear-gradient(180deg, rgba(18,24,33,0.96), rgba(12,16,22,0.96));
  border:1px solid rgba(245,176,65,0.12);
  box-shadow:0 16px 30px rgba(0,0,0,0.22);
  transition:transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.guide-card:hover{
  transform:translateY(-4px);
  border-color:rgba(46,168,255,0.30);
  box-shadow:
    0 16px 34px rgba(0,0,0,0.28),
    0 0 18px rgba(46,168,255,0.10);
}

.guide-card h3{
  margin-bottom:10px;
  font-size:22px;
  line-height:1.2;
  color:#fff;
}

.guide-card p{
  color:var(--text-soft);
  line-height:1.7;
  font-size:15px;
}

/* ARTICLE PAGE */
.article-page{
  padding-bottom:60px;
}

.article-shell{
  width:min(var(--max), 92%);
  margin:0 auto;
}

.article-hero{
  padding:40px 20px 24px;
}

.article-hero-grid{
  display:grid;
  grid-template-columns:1.2fr 0.8fr;
  gap:28px;
  align-items:start;
  padding:40px;
  border-radius:28px;
  border:1px solid rgba(245,176,65,0.12);
  background:
    radial-gradient(circle at left top, rgba(177,18,38,0.14), transparent 24%),
    radial-gradient(circle at right center, rgba(46,168,255,0.12), transparent 28%),
    linear-gradient(135deg, rgba(17,27,39,0.98), rgba(10,16,26,0.98));
  box-shadow:0 24px 42px rgba(0,0,0,0.35);
}

.article-hero-copy h1{
  font-size:clamp(34px, 5vw, 62px);
  line-height:1.05;
  margin-bottom:18px;
}

.article-intro{
  color:var(--text-soft);
  font-size:18px;
  line-height:1.8;
  margin-bottom:18px;
}

.article-meta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.article-meta span{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
  color:var(--text-soft);
  font-size:14px;
  font-weight:700;
}

.article-affiliate-card{
  padding:24px;
  border-radius:20px;
  background:rgba(10,15,25,0.78);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 16px 30px rgba(0,0,0,0.22);
}

.article-affiliate-card h3{
  font-size:26px;
  margin-bottom:10px;
}

.article-affiliate-card p{
  color:var(--text-soft);
  line-height:1.75;
  margin-bottom:14px;
}

.mini-benefits{
  margin:0 0 18px 18px;
  line-height:1.8;
}

.article-layout{
  padding:20px;
}

.article-main-grid{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:28px;
  align-items:start;
}

.article-content{
  min-width:0;
}

.article-toc{
  padding:22px;
  border-radius:20px;
  background:rgba(16,23,34,0.9);
  border:1px solid rgba(245,176,65,0.10);
  margin-bottom:24px;
}

.article-toc h2{
  font-size:24px;
  margin-bottom:12px;
}

.article-toc a{
  display:block;
  text-decoration:none;
  color:var(--text-soft);
  margin-bottom:10px;
}

.article-toc a:hover{
  color:var(--gold);
}

.article-section{
  margin-bottom:24px;
  padding:28px;
  border-radius:22px;
  background:rgba(12,18,27,0.88);
  border:1px solid rgba(245,176,65,0.08);
  box-shadow:0 14px 24px rgba(0,0,0,0.18);
}

.article-section h2{
  font-size:34px;
  line-height:1.15;
  margin-bottom:14px;
}

.article-section p{
  color:var(--text-soft);
  font-size:18px;
  line-height:1.85;
  margin-bottom:14px;
}

.content-box{
  padding:26px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.08);
}

.content-box h3{
  font-size:26px;
  margin-bottom:12px;
}

.content-box p{
  margin-bottom:14px;
}

.content-box ul{
  margin-left:20px;
  line-height:1.9;
  color:#fff;
}

.example-box{
  background:rgba(46,168,255,0.08);
}

.warning-box{
  background:rgba(245,176,65,0.08);
}

.tool-box-article{
  background:rgba(177,18,38,0.10);
}

.amazon-box{
  background:rgba(255,255,255,0.04);
}

.sistemamaestro-box{
  background:rgba(46,168,255,0.08);
}

.related-guides-section{
  margin-top:10px;
}

.related-guides-section h2{
  font-size:32px;
  margin-bottom:18px;
}

.related-guides-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.related-guide-card{
  display:block;
  text-decoration:none;
  padding:22px;
  border-radius:18px;
  background:rgba(16,23,34,0.9);
  border:1px solid rgba(245,176,65,0.10);
}

.related-guide-card h3{
  font-size:22px;
  margin-bottom:10px;
}

.related-guide-card p{
  color:var(--text-soft);
  line-height:1.7;
}

.ecosystem-box{
  margin-top:24px;
  padding:26px;
  border-radius:20px;
  background:
    radial-gradient(circle at right center, rgba(46,168,255,0.10), transparent 30%),
    linear-gradient(135deg, rgba(17,27,39,0.98), rgba(10,16,26,0.98));
  border:1px solid rgba(245,176,65,0.14);
  box-shadow:0 16px 30px rgba(0,0,0,0.22);
}

.ecosystem-box h3{
  font-size:28px;
  margin-bottom:12px;
}

.ecosystem-box p{
  color:var(--text-soft);
  line-height:1.8;
  margin-bottom:14px;
}

.ecosystem-box a{
  display:inline-block;
  text-decoration:none;
  color:var(--gold);
  font-weight:800;
}

.article-sidebar{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.sidebar-box{
  padding:22px;
  border-radius:18px;
  background:rgba(16,23,34,0.9);
  border:1px solid rgba(245,176,65,0.10);
}

.sidebar-box h3{
  font-size:22px;
  margin-bottom:12px;
}

.sidebar-box a{
  display:block;
  text-decoration:none;
  margin-bottom:10px;
  color:var(--text-soft);
}

.sidebar-box a:hover{
  color:var(--gold);
}

.sidebar-box p{
  color:var(--text-soft);
  line-height:1.75;
}

/* ECOSYSTEM */
.ecosystem-carousel-section{
  width:min(var(--max), 92%);
  margin:0 auto;
  padding:14px 0 74px;
}

.section-inner{
  padding:28px;
  border-radius:24px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(17,27,39,0.98), rgba(11,18,27,0.98));
  box-shadow:0 16px 30px rgba(0,0,0,0.25);
  overflow:hidden;
}

.section-inner h2{
  margin-bottom:12px;
  font-size:clamp(28px, 4vw, 40px);
  line-height:1.1;
}

.logo-marquee{
  position:relative;
  width:100%;
  overflow:hidden;
  padding:10px 0;
}

.logo-marquee::before,
.logo-marquee::after{
  content:"";
  position:absolute;
  top:0;
  width:90px;
  height:100%;
  z-index:2;
  pointer-events:none;
}

.logo-marquee::before{
  left:0;
  background:linear-gradient(to right, rgba(11,18,27,1), rgba(11,18,27,0));
}

.logo-marquee::after{
  right:0;
  background:linear-gradient(to left, rgba(11,18,27,1), rgba(11,18,27,0));
}

.logo-track{
  display:flex;
  align-items:stretch;
  gap:20px;
  width:max-content;
  animation:scrollLogos 28s linear infinite;
}

.logo-track:hover{
  animation-play-state:paused;
}

.project-card{
  width:220px;
  min-width:220px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:22px 18px;
  border-radius:18px;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border:1px solid rgba(245,176,65,0.16);
  box-shadow:
    0 10px 24px rgba(0,0,0,0.22),
    inset 0 0 0 1px rgba(255,255,255,0.02);
}

.project-card img{
  width:88px;
  height:88px;
  object-fit:contain;
}

.project-card span{
  text-align:center;
  font-size:16px;
  font-weight:800;
}

/* FOOTER */
.site-footer{
  border-top:1px solid rgba(245,176,65,0.10);
  background:rgba(7,11,18,0.98);
  padding:42px 20px 52px;
}

.footer-shell{
  width:min(var(--max), 92%);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr;
  gap:28px;
}

.footer-logo{
  width:180px;
  margin-bottom:14px;
}

.footer-brand p{
  color:var(--text-soft);
  line-height:1.75;
}

.footer-col h3{
  margin-bottom:12px;
  font-size:20px;
}

.footer-col a{
  display:block;
  text-decoration:none;
  color:var(--text-soft);
  margin-bottom:10px;
}

.footer-col a:hover{
  color:var(--gold);
}

@keyframes scrollLogos{
  from{ transform:translateX(0); }
  to{ transform:translateX(calc(-50% - 10px)); }
}

/* TABLET */
@media (max-width: 1180px){
  .hero-inner,
  .hero-inner-guides,
  .article-hero-grid,
  .article-main-grid,
  .newsletter-shell,
  .footer-shell{
    grid-template-columns:1fr;
  }

  .post-grid,
  .tools-grid,
  .mini-panels-grid,
  .guides-grid,
  .related-guides-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */
@media (max-width: 860px){
  .site-header{
    position:sticky;
  }

  .header-container{
    width:min(100%, 94%);
    min-height:78px;
    gap:14px;
  }

  .site-logo{
    height:52px;
  }

  .main-nav{
    display:none;
  }

  .mobile-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .hero,
  .hero-guides,
  .featured-posts-section,
  .tools-section,
  .mini-panels-section,
  .newsletter-section,
  .article-layout,
  .article-hero,
  .site-footer,
  .categories-band{
    padding-left:14px;
    padding-right:14px;
  }

  .hero-inner,
  .hero-inner-guides,
  .article-hero-grid,
  .newsletter-shell,
  .section-inner{
    padding:24px;
  }

  .hero-inner,
  .hero-inner-guides{
    grid-template-columns:1fr;
  }

  .hero-copy h1,
  .hero-guides-copy h1,
  .article-hero-copy h1{
    font-size:clamp(30px, 9vw, 44px);
    line-height:1.06;
  }

  .hero-text,
  .article-intro,
  .newsletter-copy p{
    font-size:16px;
    line-height:1.7;
  }

  .hero-actions{
    flex-direction:column;
  }

  .hero-actions .btn{
    width:100%;
  }

  .hero-badges{
    gap:8px;
  }

  .hero-badges span{
    font-size:13px;
    padding:8px 12px;
  }

  .post-grid,
  .tools-grid,
  .mini-panels-grid,
  .guides-grid,
  .related-guides-grid{
    grid-template-columns:1fr;
  }

  .post-thumb{
    aspect-ratio:16 / 9;
  }

  .post-body h3{
    font-size:22px;
  }

  .tool-card h3,
  .mini-panel h3,
  .related-guide-card h3{
    font-size:22px;
  }

  .article-main-grid{
    grid-template-columns:1fr;
  }

  .article-section{
    padding:22px;
  }

  .article-section h2,
  .related-guides-section h2{
    font-size:28px;
  }

  .article-section p{
    font-size:16px;
    line-height:1.75;
  }

  .article-affiliate-card,
  .sidebar-box,
  .article-toc{
    padding:20px;
  }

  .content-box{
    padding:20px;
  }

  .footer-shell{
    grid-template-columns:1fr;
    gap:22px;
  }

  .footer-logo{
    width:150px;
  }

  .project-card{
    width:180px;
    min-width:180px;
    padding:18px 14px;
  }

  .project-card img{
    width:72px;
    height:72px;
  }
}

/* SMALL MOBILE */
@media (max-width: 520px){
  .header-container,
  .section-shell,
  .newsletter-shell,
  .hero-inner,
  .hero-inner-guides,
  .article-shell,
  .footer-shell{
    width:100%;
  }

  .hero-inner,
  .hero-inner-guides,
  .article-hero-grid,
  .newsletter-shell,
  .section-inner{
    padding:18px;
    border-radius:20px;
  }

  .site-logo{
    height:46px;
  }

  .mobile-panel{
    width:94%;
  }

  .categories-inner{
    width:100%;
    justify-content:flex-start;
  }

  .category-chip{
    width:100%;
    justify-content:center;
  }

  .post-body,
  .tool-card,
  .mini-panel,
  .guide-card,
  .related-guide-card,
  .article-section,
  .sidebar-box,
  .article-toc,
  .article-affiliate-card{
    padding:18px;
  }

  .post-body h3,
  .tool-card h3,
  .mini-panel h3,
  .guide-card h3,
  .related-guide-card h3,
  .sidebar-box h3,
  .article-toc h2,
  .content-box h3{
    font-size:20px;
  }

  .article-section h2,
  .newsletter-copy h2,
  .section-heading h2,
  .section-inner h2{
    font-size:24px;
  }

  .project-card{
    width:160px;
    min-width:160px;
  }

  .logo-marquee::before,
  .logo-marquee::after{
    width:40px;
  }
}

/* ===== LEGACY FALLBACK PARA GUIAS ANTIGUAS ===== */

body {
  background:
    radial-gradient(circle at top, rgba(112, 0, 255, 0.12), transparent 35%),
    linear-gradient(90deg, #02040a 0%, #021224 45%, #001a2f 100%);
  color: #e9eef5;
}

body > header:not(.site-header),
body > h1:first-child,
body > main:not(.site-main),
.container.article,
body > .container {
  max-width: 1120px;
  margin: 40px auto;
  padding: 0 24px;
}

body > header:not(.site-header) {
  background: linear-gradient(135deg, rgba(110,67,255,.20), rgba(255,60,120,.10));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 32px;
}

body > header:not(.site-header) h1,
body > h1:first-child,
.container.article h1,
.article h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 18px;
  color: #f7f7fb;
}

body > main:not(.site-main),
.container.article,
.article,
body > .container {
  color: #dbe7f5;
}

body > main:not(.site-main) p,
.container.article p,
.article p,
body > .container p,
.prose p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #d5deea;
}

body > main:not(.site-main) h2,
.container.article h2,
.article h2,
.prose h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-top: 42px;
  margin-bottom: 14px;
  color: #ffffff;
}

body > main:not(.site-main) h3,
.container.article h3,
.article h3,
.prose h3 {
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #ffffff;
}

.meta,
.toc,
.herramienta-recomendada,
.ia-tools-box,
.ecosystem-box,
.tools-box,
.info-box,
blockquote,
.related-box,
.related-guides,
.card,
.box {
  background: linear-gradient(180deg, rgba(5,18,34,.88), rgba(3,14,28,.78));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 22px;
  margin: 24px 0;
}

.toc ul,
.prose ul,
body > main ul,
.article ul {
  padding-left: 22px;
}

.prose li,
body > main li,
.article li {
  margin-bottom: 10px;
}

.topbar,
.navbar,
header.topbar {
  background: rgba(3,10,18,.95);
  border-bottom: 1px solid rgba(255,0,60,.45);
}

.topbar .container,
.nav,
.navbar .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
}

.topbar a,
.nav a,
.navbar a {
  color: #ffffff;
}

.brand img,
.site-logo,
.logo img {
  max-height: 56px;
  width: auto;
}

a.tool-button,
.herramienta-recomendada a,
.ia-system-box a,
body a.system-button,
body a.btn,
body a.button,
body a.cta-button {
  display: inline-block;
  background: #b90b0b;
  color: #fff !important;
  border: 2px solid #f0a51a;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: rgba(5,18,34,.72);
  border-radius: 14px;
  overflow: hidden;
}

th, td {
  border: 1px solid rgba(255,255,255,.08);
  padding: 12px 14px;
  text-align: left;
}

hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 32px 0;
}