/* Estilos de components. */

.site-wrapper {
  background: #fff;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e9ecf1;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #12161b;
  flex: none;
}

.brand-name {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 2vw, 10px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link {
  position: relative;
  padding: 9px 12px;
  color: #12161b;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-indicator {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: #1f5fd0;
}

.nav-demo {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #12161b;
  color: #fff;
  padding: 11px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1f5fd0;
  color: #fff;
  padding: 15px 26px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
}

.font-mono {
  font-family: "JetBrains Mono", monospace;
}

.section-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9aa3b0;
  margin-bottom: 20px;
}

.section-muted {
  padding: clamp(56px, 7vw, 100px) 0;
  background: #f7f9fc;
  border-top: 1px solid #e9ecf1;
  border-bottom: 1px solid #e9ecf1;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px);
}

.section-eyebrow-compact {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9aa3b0;
  margin-bottom: 18px;
}

.image-full {
  display: block;
  width: 100%;
}

.bordered-panel {
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  overflow: hidden;
}

.page-description {
  margin: 24px 0 0;
  max-width: 52ch;
  font-size: 17.5px;
  line-height: 1.62;
  color: #525c69;
}

.demo-section {
  background: #12161b;
  color: #fff;
  padding: clamp(56px, 7vw, 104px) 0;
  position: relative;
  overflow: hidden;
}

.demo-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.demo-title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 16ch;
}

.demo-description {
  margin: 20px 0 30px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #9aa3b0;
  max-width: 46ch;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding: 15px 24px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #333b45;
}

.demo-symbol-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  perspective: 900px;
}

.demo-symbol {
  transform-style: preserve-3d;
  animation: scSpin 12s ease-in-out infinite;
  width: 140px;
  height: 140px;
  position: relative;
}

.demo-symbol-layer {
  position: absolute;
  inset: 0;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #e9ecf1;
  padding: clamp(40px, 5vw, 64px) 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e9ecf1;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}

.footer-brand-name {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
}

.footer-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #8a94a2;
  max-width: 30ch;
}

.footer-heading {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b3bbc7;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}

.footer-link {
  color: #12161b;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: #12161b;
}

.text-muted {
  color: #8a94a2;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #a3abb7;
}

.symbol-depth-back-30 {
  transform: translateZ(-30px);
}

.symbol-depth-back-23 {
  transform: translateZ(-23px);
}

.symbol-depth-back-16 {
  transform: translateZ(-16px);
}

.symbol-depth-back-9 {
  transform: translateZ(-9px);
}

.symbol-depth-0 {
  transform: translateZ(0px);
}

.nav-link:hover {
  color: #1f5fd0;
}

.nav-demo:hover {
  background: #1f5fd0;
  color: #fff;
}

.button-primary:hover {
  background: #12161b;
  color: #fff;
}

.button-primary-on-dark:hover {
  background: #fff;
  color: #12161b;
}

.button-outline-light:hover {
  border-color: #fff;
  color: #fff;
}

.footer-link:hover {
  color: #1f5fd0;
}

/* El encabezado crece con el menú en pantallas pequeñas. */
@media (max-width: 760px) {
  .header-inner {
    height: auto;
    min-height: 70px;
    padding-top: 16px;
    padding-bottom: 12px;
    flex-direction: column;
    gap: 12px;
  }
  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 4px;
  }
  .nav-link {
    padding: 10px 8px;
    font-size: 13px;
  }
  .nav-demo {
    margin-left: 0;
    padding: 10px 12px;
  }
  .demo-symbol-stage {
    min-height: 180px;
  }
}
