/*
Theme Name: Talento Inclusivo
Theme URI: https://talentoinclusivo.org
Description: Tema hijo Astra — Aurora v2 (Calm Inclusive)
Author: Talento Inclusivo
Template: astra
Version: 1.5.1
Text Domain: talento-inclusivo
*/

/* Portada: quitar caja Astra (home + hero a ancho completo) */
body.home.ast-separate-container .site-content,
body.home.ast-separate-container .ast-article-single,
body.home .entry-content,
body.home #primary.ti-front-page,
body.home #main.site-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
}

body.home.ast-separate-container #content .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

body.home .ti-home.entry-content > .ti-aurora,
body.home .entry-content > .ti-aurora.ti-home {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

/* ── Mega footer (único en style.css; resto en assets/aurora.css) ── */
body.ti-mega-footer-active .site-primary-footer-wrap,
body.ti-mega-footer-active .site-above-footer-wrap,
body.ti-mega-footer-active .ast-small-footer,
body.ti-mega-footer-active .site-footer-focus-item {
  display: none !important;
}

body.ti-mega-footer-active .site-footer {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

.ti-mega-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.ti-mega-footer__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 12% 0%, rgba(49, 176, 180, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 40% at 88% 100%, rgba(57, 133, 192, 0.2), transparent 50%),
    linear-gradient(165deg, #012a47 0%, #013b66 38%, #0a3d6b 100%);
  z-index: 0;
}

.ti-mega-footer__cta,
.ti-mega-footer__nav,
.ti-mega-footer__legal {
  position: relative;
  z-index: 1;
}

.ti-mega-footer__inner {
  max-width: min(1200px, 100% - 2rem);
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.ti-mega-footer__cta {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ti-mega-footer__cta .ti-mega-footer__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .ti-mega-footer__cta .ti-mega-footer__inner {
    grid-template-columns: 1.4fr 0.8fr;
  }
}

.ti-mega-footer__lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  color: #fff !important;
  writing-mode: horizontal-tb !important;
}

.ti-mega-footer__lockup .ti-emblem--icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.ti-mega-footer__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.ti-mega-footer__brand-text strong {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ti-mega-footer__brand-text span {
  font-size: 0.8rem;
  opacity: 0.78;
  margin-top: 0.15rem;
}

.ti-mega-footer__mission {
  margin: 1rem 0 0;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.ti-mega-footer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ti-mega-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  writing-mode: horizontal-tb !important;
  white-space: nowrap;
}

.ti-mega-footer__btn--primary {
  background: #fff;
  color: #013b66 !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.ti-mega-footer__btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
}

.ti-mega-footer__btn:hover {
  transform: translateY(-1px);
}

.ti-mega-footer__nav {
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.ti-mega-footer__grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
}

.ti-mega-footer__col-title {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ti-mega-footer__col-title a {
  color: #fff !important;
  text-decoration: none !important;
}

.ti-mega-footer__col--academia .ti-mega-footer__col-title a { color: #6dd4d0 !important; }
.ti-mega-footer__col--docentes .ti-mega-footer__col-title a { color: #8ecae6 !important; }
.ti-mega-footer__col--empleo .ti-mega-footer__col-title a { color: #f0c56d !important; }
.ti-mega-footer__col--empresas .ti-mega-footer__col-title a { color: #7eb8e8 !important; }
.ti-mega-footer__col--comunidad .ti-mega-footer__col-title a { color: #9fd4c4 !important; }
.ti-mega-footer__col--ia .ti-mega-footer__col-title a { color: #b8a8f0 !important; }
.ti-mega-footer__col--investigacion .ti-mega-footer__col-title a { color: #7eb8e8 !important; }
.ti-mega-footer__col--gobierno .ti-mega-footer__col-title a { color: #a8c4e0 !important; }
.ti-mega-footer__col--ecosistema .ti-mega-footer__col-title a { color: #fff !important; }

.ti-mega-footer__links,
.ti-mega-footer__familias-meta,
.ti-mega-footer__conds-grid,
.ti-mega-footer__legal-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ti-mega-footer__links a,
.ti-mega-footer__familias-meta a,
.ti-mega-footer__conds-grid a,
.ti-mega-footer__legal-nav a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  line-height: 1.45;
  writing-mode: horizontal-tb !important;
  display: inline-block;
  transition: color 0.15s ease;
}

.ti-mega-footer__links a:hover,
.ti-mega-footer__familias-meta a:hover,
.ti-mega-footer__conds-grid a:hover,
.ti-mega-footer__legal-nav a:hover {
  color: #fff !important;
}

.ti-mega-footer__links li + li {
  margin-top: 0.45rem;
}

.ti-mega-footer__familias {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ti-mega-footer__familias-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ti-mega-footer__familias-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.ti-mega-footer__familias-title a {
  color: #f0c56d !important;
  text-decoration: none !important;
}

.ti-mega-footer__familias-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.ti-mega-footer__conds-label {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.ti-mega-footer__conds-grid {
  display: grid;
  gap: 0.4rem 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.ti-mega-footer__conds-grid li + li {
  margin-top: 0;
}

.ti-mega-footer__legal {
  padding: 1.35rem 0 2rem;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ti-mega-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.ti-mega-footer__legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.ti-mega-footer__legal-nav a {
  font-size: 0.8rem;
}

.ti-mega-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 42ch;
  line-height: 1.5;
}
