/* ====================================================================
   home.css · Página de inicio pública (landing)
   ==================================================================== */

.home-body { overflow-x: hidden; }

/* ---- Cabecera ---- */
.home-head {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(8,13,23,.78); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.home-nav { display: flex; align-items: center; gap: 14px; }

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  max-width: 720px; margin: 0 auto; padding: 90px 24px 60px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero__stars {
  position: absolute; inset: -60px -140px; z-index: -1; opacity: .9;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, #fff 50%, transparent),
    radial-gradient(1px 1px at 25% 55%, #cfe 50%, transparent),
    radial-gradient(2px 2px at 40% 15%, #fff 50%, transparent),
    radial-gradient(1px 1px at 55% 70%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 70% 30%, #dce 50%, transparent),
    radial-gradient(1px 1px at 85% 60%, #fff 50%, transparent),
    radial-gradient(2px 2px at 92% 20%, #fff 50%, transparent),
    radial-gradient(1px 1px at 15% 80%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 60% 90%, #cfe 50%, transparent);
  background-repeat: no-repeat;
}
.hero__logo { width: 84px; height: 84px; object-fit: contain; margin-bottom: 20px; filter: drop-shadow(0 0 26px rgba(226,164,75,.4)); }
.hero__eyebrow { font-size: .82rem; text-transform: uppercase; letter-spacing: 3px; color: var(--primary-2); font-weight: 600; margin: 0 0 16px; }
.hero__title { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.14; margin: 0 0 20px; letter-spacing: -.5px; }
.hero__tagline { font-size: 1.05rem; color: var(--muted); line-height: 1.6; max-width: 540px; margin: 0 0 34px; }
.hero__tagline em { color: var(--text); font-style: normal; font-weight: 600; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.hero__note { font-size: .8rem; color: var(--muted); }

/* ---- Títulos de sección ---- */
.section-title { font-family: var(--font-display); font-size: 1.7rem; text-align: center; margin: 0 0 10px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 0 36px; font-size: .95rem; }

/* ---- Características ---- */
.feats { max-width: 1080px; margin: 110px auto 0; padding: 0 24px; }
.feats .section-title { margin-bottom: 44px; }
.feats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feat-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .12s ease, border-color .15s ease;
}
.feat-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.feat-card__ic { font-size: 30px; display: block; margin-bottom: 14px; }
.feat-card h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 8px; font-weight: 600; }
.feat-card p { color: var(--muted); font-size: .88rem; line-height: 1.55; margin: 0; }

/* ---- Trackers destacados ---- */
.teaser { max-width: 1080px; margin: 100px auto 0; padding: 0 24px; }
.teaser__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.teaser-card {
  position: relative; display: block; text-decoration: none; color: var(--text);
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; text-align: center; transition: transform .12s ease, border-color .15s ease;
}
.teaser-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.teaser-card__badge {
  position: absolute; top: 14px; right: 14px; font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; padding: 3px 8px; border-radius: 999px;
  background: rgba(226,164,75,.16); color: var(--accent);
}
.teaser-card__ic {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; overflow: hidden;
}
.teaser-card__ic img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
/* La silueta de la ISS es negra: se invierte a blanco para que se vea sobre fondo oscuro */
.teaser-card__ic img.ic-invert { filter: invert(1) brightness(1.5); }
.teaser-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.teaser-card p { color: var(--muted); font-size: .82rem; margin: 0; line-height: 1.5; }

/* ---- Llamada a la acción final ---- */
.cta-band {
  max-width: 680px; margin: 110px auto 70px; padding: 50px 30px; text-align: center;
  background: radial-gradient(600px 300px at 50% -20%, rgba(226,164,75,.14), transparent 70%), var(--panel);
  border: 1px solid var(--border); border-radius: 24px;
}
.cta-band h2 { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 10px; }
.cta-band p { color: var(--muted); margin: 0 0 26px; }

/* ---- Responsive ---- */
@media (max-width: 700px) {
  .home-head { padding: 12px 16px; gap: 10px; }
  .home-nav { gap: 8px; }
  .home-nav .topnav-link span { display: none; }
  .home-head .brand__text small { display: none; }
  .hero { padding: 60px 18px 50px; }
  .feats, .teaser { margin-top: 72px; }
  .cta-band { margin: 80px 16px 50px; padding: 38px 22px; }
}
@media (max-width: 380px) {
  .home-head .brand__text { display: none; }
}
