
body.rede-matriz-pilot-blanco-cristal{overflow-x:hidden}
body.rede-matriz-pilot-blanco-cristal .entry-title,
body.rede-matriz-pilot-blanco-cristal .entry-header{display:none!important}

.rede-matrix-page{
  --ink:#171b22;--dark:#111827;--soft:#f7f4ec;--line:#e5e7eb;--green:#1db954;
  width:min(1120px,calc(100% - 32px));margin:26px auto 60px;color:var(--ink)
}

.rede-matrix-hero{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  border:1px solid var(--line);border-radius:24px;overflow:hidden;background:#f8f8f5
}
.rede-matrix-hero-media{
  min-height:430px;display:flex;align-items:center;justify-content:center;
  background:#f4f5f6;padding:10px
}
.rede-matrix-hero-media img{
  display:block;width:100%;height:100%;max-height:510px;object-fit:contain;object-position:center;
  border-radius:14px
}
.rede-matrix-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(32px,4.5vw,58px)}
.rede-kicker{
  width:max-content;max-width:100%;padding:7px 11px;margin-bottom:18px;border-radius:999px;
  background:#151c2a;color:#fff;font-size:12px;font-weight:800
}
.rede-matrix-hero h1{
  max-width:15ch;margin:0 0 18px!important;font-size:clamp(38px,4vw,56px)!important;
  line-height:1.02!important;letter-spacing:-.035em!important;color:var(--ink)!important
}
.rede-emotional{max-width:46ch;margin:0 0 22px;font-size:18px;line-height:1.55;color:#384152}
.rede-points{list-style:none;padding:0;margin:0 0 25px}
.rede-points li{margin:8px 0;font-weight:700}
.rede-points li::before{content:"✓ "}
.rede-cta{
  display:inline-flex;align-items:center;justify-content:center;width:max-content;min-height:48px;
  padding:0 22px;border-radius:14px;background:var(--green);color:#fff!important;text-decoration:none!important;font-weight:800
}

.rede-section{margin-top:22px;padding:clamp(24px,4vw,38px);border:1px solid var(--line);border-radius:24px;background:#fff}
.rede-heading span{color:#667085;font-size:12px;font-weight:800;letter-spacing:.06em}
.rede-heading h2{margin:8px 0!important;font-size:clamp(30px,3vw,42px)!important;line-height:1.08!important}
.rede-heading p{margin:0 0 24px;color:#667085}

.rede-commerce-grid,.rede-project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.rede-commerce-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}
.rede-card-label{margin:12px 12px 0;padding:6px 10px;border-radius:999px;background:#f2f4f7;font-size:12px;font-weight:800}
.rede-card-media{
  height:240px;padding:12px;display:flex;align-items:center;justify-content:center;background:#f8fafc
}
.rede-card-media img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.rede-card-copy{padding:16px}
.rede-card-copy h3{margin:0 0 10px!important;font-size:19px!important;line-height:1.2!important}
.rede-price strong{color:#e11d48;font-size:19px}
.rede-price del{margin-left:4px;color:#444}
.rede-stock{margin:10px 0;color:#16803c;font-weight:800}
.rede-card-link{font-weight:800;text-decoration:none!important}
.rede-finished-products{background:#fffaf0}

.rede-real-projects{border-color:var(--dark);background:var(--dark);color:#fff}
.rede-real-projects .rede-heading span,.rede-real-projects .rede-heading p{color:#cbd5e1}
.rede-real-projects .rede-heading h2{color:#fff!important}
.rede-project-card{
  display:block;overflow:hidden;border:1px solid #374151;border-radius:16px;
  background:#1f2937;color:#fff!important;text-decoration:none!important
}
.rede-project-media{
  aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;background:#0b0f17
}
.rede-project-media img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.rede-project-copy{padding:14px}
.rede-project-copy span{display:inline-block;padding:5px 9px;border-radius:999px;background:var(--green);font-size:11px;font-weight:800}
.rede-project-copy h3{margin:10px 0 6px!important;color:#fff!important;font-size:18px!important;line-height:1.25!important}
.rede-project-copy p{margin:0;color:#d1d5db}
.rede-empty-projects{padding:22px;border:1px dashed #475569;border-radius:14px;color:#d1d5db}

.rede-faq{background:var(--soft)}
.rede-faq details{margin:10px 0;padding:0 16px;border:1px solid #e5e1d6;border-radius:12px;background:#fff}
.rede-faq summary{padding:16px 0;cursor:pointer;font-weight:800}
.rede-faq details p{padding:0 0 16px}

.rede-final{
  margin-top:22px;padding:clamp(34px,5vw,60px);border-radius:24px;background:var(--dark);color:#fff;text-align:center
}
.rede-final h2{
  max-width:24ch;margin:0 auto 14px!important;color:#fff!important;
  font-size:clamp(30px,3.4vw,44px)!important;line-height:1.08!important
}
.rede-final p{max-width:62ch;margin:0 auto 22px;color:#d1d5db;font-size:16px;line-height:1.5}
.rede-final .rede-cta{margin:auto}

@media (max-width:767px){
  .rede-matrix-page{width:100%;margin:0 auto 34px}
  .rede-matrix-hero{display:flex;flex-direction:column;border-left:0;border-right:0;border-radius:0}
  .rede-matrix-hero-media{min-height:0;padding:8px}
  .rede-matrix-hero-media img{width:100%;height:auto;max-height:none;object-fit:contain;border-radius:10px}
  .rede-matrix-hero-copy{padding:24px 18px 28px}
  .rede-matrix-hero h1{max-width:none;font-size:clamp(32px,9vw,40px)!important;line-height:1.06!important}
  .rede-emotional{font-size:17px}
  .rede-cta{width:100%;min-height:54px}
  .rede-section{margin-top:14px;padding:24px 16px;border-left:0;border-right:0;border-radius:0}
  .rede-commerce-grid,.rede-project-grid{grid-template-columns:1fr}
  .rede-card-media{height:auto}
  .rede-card-media img,.rede-project-media img{width:100%;height:auto;max-height:none;object-fit:contain}
  .rede-project-media{aspect-ratio:auto}
  .rede-final{margin-top:14px;padding:36px 18px;border-radius:0}
}


.rede-banner{
  margin:0 0 18px;
  border-radius:20px;
  overflow:hidden;
  display:flex;
  align-items:center;
  gap:18px;
  padding:22px 26px;
  background:linear-gradient(120deg,#0f172a 0%,#101820 48%,#151515 100%);
  color:#fff;
  border:1px solid rgba(245, 200, 20, .22);
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}
.rede-banner-mark{
  flex:0 0 auto;
  min-width:74px;height:74px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  background:#f6cb08;color:#111827;font-weight:900;font-size:18px;letter-spacing:.08em
}
.rede-banner-copy{display:flex;flex-direction:column;gap:4px}
.rede-banner-copy strong{
  color:#f6cb08;font-size:clamp(34px,5vw,58px);line-height:.95;letter-spacing:.02em
}
.rede-banner-copy span{
  color:#fff;font-size:clamp(18px,2.2vw,28px);font-weight:800;letter-spacing:.08em
}
.rede-banner-secondary{
  margin-top:18px;
  padding:18px 24px;
}
.rede-banner-copy--secondary strong{
  color:#fff;font-size:clamp(28px,3vw,42px);line-height:1.1
}
.rede-banner-copy--secondary strong em,
.rede-banner-copy--secondary strong .hl{color:#f6cb08;font-style:normal}

.rede-cta-group{
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:8px
}
.rede-cta{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:0 20px;border-radius:14px;
  font-weight:800;text-decoration:none!important;border:1px solid transparent;
  transition:.2s ease;background:#fff;color:#111827
}
.rede-cta--wa{background:var(--green)!important;color:#fff!important}
.rede-cta--call{background:#fff!important;color:#111827!important;border-color:#cbd5e1!important}
.rede-cta:hover{transform:translateY(-1px);box-shadow:0 10px 20px rgba(17,24,39,.10)}
.rede-cta-group--center{justify-content:center}

.rede-final{position:relative}
.rede-final .rede-cta-group{justify-content:center}

@media (max-width:767px){
  .rede-banner{border-radius:0;padding:16px 18px}
  .rede-banner-mark{min-width:58px;height:58px;border-radius:14px;font-size:14px}
  .rede-banner-copy strong{font-size:clamp(26px,9vw,36px)}
  .rede-banner-copy span{font-size:clamp(14px,4vw,18px)}
  .rede-cta-group{gap:10px}
  .rede-cta{width:100%}
}


/* v0.2.5 — cierre de residuos heredados fuera del bloque REDE aprobado */
body.rede-matriz-pilot-blanco-cristal img[src=""]{
  display:none!important;
}


/* v0.2.6 — compactar cierre y eliminar huecos residuales */
.rede-matrix-page{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
.rede-matrix-page .rede-final{
  margin-bottom:24px!important;
  padding-bottom:24px!important;
}
.rede-matrix-page .rede-final + *,
.rede-matrix-page .rede-final ~ *{
  display:none!important;
}
