/* Ajustes exclusivos de la portada para Apps / Academia / Recursos. */
.index-theme .nav-menu > * { order: 0; }
.index-theme .nav-apps-link { color: #ffd166; }
.index-theme .nav-toggle { padding: 8px; border: 0; background: transparent; cursor: pointer; }
.index-theme .nav-toggle:focus-visible { outline: 3px solid #ffd166; outline-offset: 4px; }
.index-theme .nav-resources-dropdown .dropdown-menu { max-height: 70vh; overflow-y: auto; }
.index-theme .hero-apps-showcase {
  display: block; position: relative; isolation: isolate; width: 100%; max-width: 560px;
  margin-inline: auto; overflow: hidden; border: 1px solid rgba(231, 195, 125, .22);
  border-radius: 24px; background: #0b0c11; color: #f7f2e9; text-decoration: none;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .35), 0 0 65px rgba(186, 133, 50, .06);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.index-theme .hero-apps-eyebrow {
  position: absolute; z-index: 1; inset: 26px auto auto 30px; display: flex;
  align-items: center; gap: 12px; color: #e9cf98; font-size: 10px; font-weight: 700;
  letter-spacing: .2em; line-height: 1.5; text-transform: uppercase;
}
.index-theme .hero-apps-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: #d4af68;
}
.index-theme .hero-apps-art { display: block; }
.index-theme .hero-apps-art img {
  display: block; width: 100%; height: auto; aspect-ratio: 1;
}
.index-theme .hero-apps-caption {
  position: relative; margin-top: -24%; padding: 0 30px 26px; text-align: left;
}
.index-theme .hero-apps-caption h2 {
  margin: 0; font-size: clamp(30px, 2.8vw, 40px); font-weight: 650;
  letter-spacing: -.04em; line-height: 1.12; color: #f7f2e9;
}
.index-theme .hero-apps-caption h2 span { color: #e4c788; }
.index-theme .hero-apps-invitation {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 18px; color: #c6c3bd; font-size: 12px; font-weight: 500;
}
.index-theme .hero-apps-arrow {
  display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px;
  border: 1px solid rgba(231, 195, 125, .45); border-radius: 50%;
  color: #e4c788; font-size: 23px; line-height: 1; transition: background .25s ease, color .25s ease;
}
.index-theme .hero-apps-showcase:focus-visible {
  outline: 3px solid #f3d698; outline-offset: 5px;
}
@media (hover: hover) {
  .index-theme .hero-apps-showcase:hover {
    border-color: rgba(231, 195, 125, .6);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .4), 0 0 45px rgba(186, 133, 50, .13);
  }
  .index-theme .hero-apps-showcase:hover .hero-apps-arrow { background: #e4c788; color: #17130c; }
}
@media (max-width: 600px) {
  .index-theme .hero-apps-showcase { border-radius: 20px; }
  .index-theme .hero-apps-eyebrow { inset: 22px auto auto 24px; font-size: 9px; }
  .index-theme .hero-apps-caption { padding: 0 24px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .index-theme .hero-apps-showcase, .index-theme .hero-apps-arrow { transition: none; }
}
.index-theme .hero-account-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 12px; }
.index-theme .hero-account-links a { color: #c6c7c9; text-decoration: underline; text-underline-offset: 4px; }
.apps-home-section { padding: 72px 0; background: #0d1117; border-block: 1px solid #2b3038; scroll-margin-top: 120px; }
.apps-home-header { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 32px; }
.apps-home-header h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.2; color: #f3f0e8; margin: 0 0 12px; letter-spacing: -.03em; }
.apps-home-header p:not(.apps-eyebrow) { color: #b5bdc9; font-size: 15px; margin: 0; max-width: 660px; }
.apps-home-header > a { flex-shrink: 0; }
.apps-home-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.apps-home-grid .silicio-app-card { padding: 22px; }
.apps-home-grid .silicio-app-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
.apps-home-grid .silicio-app-heading > div { min-height: 80px; }
.apps-home-grid .silicio-app-description { font-size: 13px; }
.apps-home-grid .silicio-app-card h3 { font-size: 18px; }
.apps-home-links { margin-top: auto; display: grid; gap: 12px; }
.apps-home-links .apps-button { padding-inline: 10px; }
.apps-home-links .apps-soon { text-align: center; padding: 10px; }
.apps-home-platform-note { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: #b7bfcc; }
.apps-home-platform-note a { color: #f2d18a; text-underline-offset: 3px; }
.apps-home-tail { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: #b7bfcc; }
.apps-home-tail a { color: #e8d18e; text-underline-offset: 4px; }
.index-theme #recursos { scroll-margin-top: 112px; }
@media (min-width: 769px) and (max-width: 1100px) {
  .index-theme .nav-container { padding-inline: 20px; }
  .index-theme .nav-menu { gap: 12px; }
  .index-theme .nav-link, .index-theme .nav-link-dropdown { font-size: 11px; letter-spacing: 0; }
  .index-theme .nav-logo { margin-right: 12px; }
  .apps-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .index-theme .nav-menu > * { order: 0; }
  .index-theme .nav-resources-dropdown .dropdown-menu { max-height: none; }
  .apps-home-header { flex-direction: column; align-items: start; gap: 22px; }
  .apps-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps-home-section { padding-block: 44px; }
}
@media (max-width: 520px) {
  .apps-home-grid { grid-template-columns: 1fr; }
  .apps-home-grid .silicio-app-heading { flex-direction: row; align-items: center; }
  .apps-home-grid .silicio-app-heading > div { min-height: 0; }
}
