/* ===== V07 · SECTORES ESTRATÉGICOS — usa los tokens de body.bgsc-home (styles.css) ===== */

body.bgsc-home .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Encabezado ---------- */
body.bgsc-home .sc-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(260px, 17vw, 330px); display: flex; align-items: center;
  padding: clamp(18px, 1.8vw, 26px) 0 clamp(26px, 2.4vw, 36px);
  background: radial-gradient(60% 90% at 75% 40%, rgba(182,0,255,.28), transparent 70%), var(--bg-2);
}
body.bgsc-home .sc-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
body.bgsc-home .sc-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,8,23,.94) 0%, rgba(10,8,23,.78) 28%, rgba(10,8,23,.25) 54%, rgba(10,8,23,0) 70%),
    linear-gradient(180deg, rgba(10,8,23,.2) 0%, rgba(10,8,23,0) 30%, rgba(10,8,23,0) 72%, var(--bg) 100%);
}
body.bgsc-home .sc-crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; font-size: .9rem; color: #e4def8; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
body.bgsc-home .sc-crumbs a:hover { color: #fff; }
body.bgsc-home .sc-crumbs [aria-current] { color: var(--violet); }
body.bgsc-home .sc-crumbs span[aria-hidden] { color: var(--dim); }
body.bgsc-home .sc-hero h1 { margin-top: 14px; font-size: clamp(2rem, 3.3vw, 3.2rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; text-shadow: 0 2px 22px rgba(0,0,0,.45); }
body.bgsc-home .sc-hero h1 > span { display: block; color: #fff; }
body.bgsc-home .sc-hero h1 em { font-style: normal; background: linear-gradient(90deg, #a35bff, #c47dff); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.bgsc-home .sc-lead { margin-top: 14px; max-width: 600px; color: #ece8fb; font-size: clamp(.98rem, 1.15vw, 1.1rem); text-shadow: 0 1px 12px rgba(0,0,0,.5); }

/* ---------- Cuadrícula ---------- */
body.bgsc-home .sc-main { padding: 22px 0 30px; }
body.bgsc-home .sc-h2 { font-size: clamp(1.5rem, 2.1vw, 2rem); font-weight: 800; margin-bottom: 16px; }
body.bgsc-home .sc-h2 span { color: var(--violet); }
body.bgsc-home .sc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body.bgsc-home .sc-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: calc(var(--header-h) + 20px);
  border-radius: 10px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(22, 16, 48, .92), rgba(14, 10, 32, .96));
  transition: border-color .25s, box-shadow .25s;
}
body.bgsc-home .sc-card:hover { border-color: var(--line-2); box-shadow: 0 18px 40px -26px rgba(139,61,255,.7); }
body.bgsc-home .sc-card:target { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
body.bgsc-home .sc-media { position: relative; aspect-ratio: 3.5 / 1; overflow: hidden; background: #120d29; }
body.bgsc-home .sc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
body.bgsc-home .sc-card:hover .sc-media img { transform: scale(1.05); }
body.bgsc-home .sc-media.is-empty { display: grid; place-items: center; background: radial-gradient(60% 90% at 50% 50%, rgba(182,0,255,.24), transparent 70%), #120d29; }
body.bgsc-home .sc-media-ico { width: 46px; height: 46px; color: var(--violet); opacity: .85; }
body.bgsc-home .sc-card.is-soon .sc-media img { filter: saturate(.7) brightness(.8); }
body.bgsc-home .sc-concept, body.bgsc-home .sc-soon {
  position: absolute; z-index: 1; padding: 3px 8px; border-radius: 5px; font-size: .66rem; font-weight: 600;
}
body.bgsc-home .sc-concept { left: 8px; bottom: 8px; background: rgba(10,8,23,.7); color: #e7e1fa; }
body.bgsc-home .sc-soon { right: 8px; top: 8px; padding: 4px 10px; font-size: .72rem; background: rgba(10,8,23,.78); border: 1px solid rgba(200,185,255,.35); color: #e7e1fa; }

body.bgsc-home .sc-body { flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 14px 16px 16px 18px; }
body.bgsc-home .sc-ico { color: var(--violet); }
body.bgsc-home .sc-ico .ico { width: 40px; height: 40px; stroke-width: 1.5; }
body.bgsc-home .sc-txt { min-width: 0; }
body.bgsc-home .sc-card h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
body.bgsc-home .sc-card p { margin-top: 4px; font-size: .82rem; color: #d3cceb; line-height: 1.45; }
body.bgsc-home .sc-link { align-self: end; display: inline-flex; align-items: center; gap: 6px; color: var(--violet); font-weight: 600; font-size: .8rem; white-space: nowrap; }
body.bgsc-home .sc-link .ico { transition: transform .2s var(--ease); }
body.bgsc-home .sc-card:hover .sc-link .ico { transform: translateX(4px); }
body.bgsc-home .sc-stretch { position: absolute; inset: 0; z-index: 3; }

/* Fila compacta: sectores sin proyectos publicados todavía */
body.bgsc-home .sc-h3 { margin: 26px 0 14px; font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 700; }
body.bgsc-home .sc-h3 span { color: var(--violet); }
body.bgsc-home .sc-grid-sm { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
body.bgsc-home .sc-grid-sm .sc-media { aspect-ratio: 2.6 / 1; }
body.bgsc-home .sc-grid-sm .sc-body { grid-template-columns: auto minmax(0, 1fr); padding: 12px 14px 14px; }
body.bgsc-home .sc-grid-sm .sc-ico .ico { width: 30px; height: 30px; }
body.bgsc-home .sc-grid-sm h3 { font-size: 1.05rem; }
body.bgsc-home .sc-grid-sm .sc-link { grid-column: 2; justify-self: start; margin-top: 6px; }

body.bgsc-home .sc-empty { padding: 34px 20px; text-align: center; color: var(--muted); border: 1px dashed rgba(167,128,255,.25); border-radius: var(--radius); }
body.bgsc-home .sc-empty strong { color: #fff; }
body.bgsc-home .sc-empty a { color: var(--violet); font-weight: 600; }
body.bgsc-home .sc-empty-ico { width: 36px; height: 36px; color: var(--violet); margin: 0 auto 10px; }

/* ---------- Cómo explorar ---------- */
body.bgsc-home .sc-band {
  margin-top: 22px; padding: 16px 22px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  border-radius: 10px; border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(26,19,56,.92), rgba(30,18,66,.88));
}
body.bgsc-home .sc-steps { flex: 1 1 640px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body.bgsc-home .sc-steps li { position: relative; display: flex; align-items: center; gap: 14px; }
body.bgsc-home .sc-steps li:not(:last-child)::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border-top: 2px solid var(--violet); border-right: 2px solid var(--violet); transform: rotate(45deg);
}
body.bgsc-home .sc-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--violet); color: var(--violet); font-weight: 700; font-size: 1.1rem; }
body.bgsc-home .sc-steps strong { display: block; font-size: .98rem; }
body.bgsc-home .sc-steps span:not(.sc-num) { display: block; margin-top: 2px; font-size: .8rem; color: var(--muted); padding-right: 22px; }
body.bgsc-home .sc-band .btn { min-width: 240px; }
body.bgsc-home .sc-legal { margin-top: 16px; font-size: .74rem; color: var(--dim); max-width: 120ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
body.bgsc-home .sc-grid, body.bgsc-home .sc-grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
body.bgsc-home .sc-grid, body.bgsc-home .sc-grid-sm { grid-template-columns: 1fr; }
body.bgsc-home .sc-steps { grid-template-columns: 1fr; gap: 12px; }
body.bgsc-home .sc-steps li::after { display: none; }
}
@media (max-width: 760px) {
body.bgsc-home .sc-hero-bg { object-position: 72% 55%; }
body.bgsc-home .sc-hero-shade { background: linear-gradient(180deg, rgba(10,8,23,.55) 0%, rgba(10,8,23,.72) 55%, var(--bg) 100%); }
body.bgsc-home .sc-crumbs { font-size: .82rem; }
body.bgsc-home .sc-media { aspect-ratio: 3 / 1; }
body.bgsc-home .sc-body { grid-template-columns: auto minmax(0, 1fr); padding: 14px; }
body.bgsc-home .sc-ico .ico { width: 32px; height: 32px; }
body.bgsc-home .sc-link { grid-column: 2; justify-self: start; }
body.bgsc-home .sc-band .btn { flex: 1 1 100%; min-width: 0; }
}
