/* Segunda dirección visual de la portada: un sistema reconocible y rutas comerciales claras. */
.hero {
  background: #0b0e11;
}

.hero::before {
  background:
    radial-gradient(ellipse 620px 480px at 79% 49%, rgba(255, 202, 0, .14), transparent 72%),
    radial-gradient(ellipse 500px 420px at 99% 13%, rgba(101, 214, 209, .12), transparent 72%),
    linear-gradient(120deg, #0b0e11 18%, #11181c 100%);
}

.hero-layout { column-gap: clamp(28px, 3.8vw, 62px); }
.hero-copy { padding-block: 20px; }
.hero h1 { max-width: 650px; font-size: clamp(50px, 5.3vw, 74px); }
.hero h1 em { color: var(--yellow); }
.hero-intro { max-width: 510px; font-size: 17px; }

.hero-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 43px;
  max-width: 620px;
}

.hero-route {
  min-height: 95px;
  padding: 15px 13px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  display: grid;
  align-content: space-between;
  gap: 8px;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}

.hero-route:hover,
.hero-route:focus-visible {
  border-color: var(--yellow);
  background: rgba(255, 202, 0, .1);
  transform: translateY(-3px);
}

.hero-route-tag { color: var(--yellow); font: 700 11px/1 var(--display); letter-spacing: .14em; }
.hero-route strong { display: block; color: #fff; font: 650 14px/1.25 var(--display); }
.hero-route small { display: block; margin-top: 3px; color: #b9c3cb; font-size: 12px; line-height: 1.35; }

.hero-art--impact { min-height: 540px; }
.hero-art--impact::before {
  content: "";
  position: absolute;
  inset: 5% 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) .8px, transparent .8px);
  background-size: 22px 22px;
  opacity: .22;
  -webkit-mask-image: radial-gradient(ellipse, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse, #000 25%, transparent 72%);
}

.hero-art--impact .orbit-one { width: 530px; height: 530px; border-color: rgba(255, 202, 0, .26); }
.hero-art--impact .orbit-two { width: 690px; height: 690px; border-color: rgba(101, 214, 209, .16); }
.hero-art--impact .art-caption { display: none; }

.impact-window {
  width: min(100%, 625px);
  min-height: 456px;
  background: linear-gradient(150deg, #1b252b, #101519 64%);
  border-color: rgba(255, 255, 255, .3);
  box-shadow: 0 48px 100px rgba(0, 0, 0, .65), 0 0 0 8px rgba(255, 255, 255, .025), 0 0 100px rgba(255, 202, 0, .18);
}

.impact-window::before {
  content: "";
  position: absolute;
  inset: 42px 0 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.045) 50%, transparent 50.2%), linear-gradient(0deg, transparent 49.8%, rgba(255,255,255,.045) 50%, transparent 50.2%);
  background-size: 48px 48px;
  opacity: .5;
}

.impact-window .window-bar { font-size: 11px; }
.impact-window .window-status { color: #b7e9d8; }
.impact-head { position: relative; z-index: 1; padding: 23px 27px 0; }
.impact-head span { color: var(--teal); font-size: 11px; font-weight: 750; letter-spacing: .16em; }
.impact-head strong { display: block; margin-top: 4px; color: #fff; font: 650 26px/1.14 var(--display); letter-spacing: -.04em; }
.impact-map { position: relative; height: 314px; margin: 0 21px; }
.impact-wires { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255, 202, 0, .55); stroke-width: 1.3; stroke-dasharray: 5 6; filter: drop-shadow(0 0 6px rgba(255, 202, 0, .35)); }
.impact-wires path:last-child { stroke: rgba(101, 214, 209, .7); }
.impact-core {
  position: absolute;
  z-index: 2;
  width: 154px;
  height: 154px;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 7px solid #1b252b;
  background: radial-gradient(circle at 30% 22%, #ffe87c, var(--yellow) 58%, #c89200 100%);
  color: #101214;
  box-shadow: 0 0 0 1px rgba(255, 202, 0, .7), 0 0 0 18px rgba(255, 202, 0, .07), 0 20px 55px rgba(255, 202, 0, .29);
  display: grid;
  place-content: center;
  text-align: center;
}
.impact-core b { font: 800 38px/1 var(--display); letter-spacing: -.08em; }
.impact-core span { font: 700 13px/1.15 var(--display); }
.impact-core small { font-size: 11px; line-height: 1.25; }
.impact-node {
  position: absolute;
  z-index: 2;
  width: 158px;
  min-height: 78px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
  background: linear-gradient(135deg, #27363d, #192127);
  box-shadow: 0 15px 32px rgba(0, 0, 0, .32);
}
.impact-node::before { content: ""; position: absolute; left: 13px; top: 0; width: 37px; height: 2px; background: var(--yellow); }
.impact-node--web { left: 0; top: 16px; }
.impact-node--software { right: 0; top: 16px; }
.impact-node--ai { left: 50%; bottom: 0; transform: translateX(-50%); border-color: rgba(101, 214, 209, .5); }
.impact-node--ai::before { background: var(--teal); }
.impact-node span { display: block; color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.impact-node--ai span { color: var(--teal); }
.impact-node strong { display: block; margin-top: 4px; color: #fff; font: 650 16px/1.1 var(--display); }
.impact-node small { display: block; margin-top: 2px; color: #c7d1d8; font-size: 11px; line-height: 1.3; }
.impact-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; padding: 10px 27px 14px; border-top: 1px solid rgba(255,255,255,.11); color: #becbd3; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.impact-footer span { white-space: nowrap; }
.impact-footer i { flex: 1; min-width: 12px; height: 1px; margin-top: 8px; background: linear-gradient(90deg, var(--yellow), var(--teal)); }
.impact-note { right: -2%; bottom: 5%; padding: 13px 16px; }
.impact-note b { font-size: 12px; }
.impact-note small { font-size: 11px; }

@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 20px; }
  .hero h1 { font-size: clamp(46px, 5vw, 62px); }
  .hero-routes { grid-template-columns: 1fr; gap: 7px; margin-top: 25px; }
  .hero-route { min-height: 54px; grid-template-columns: 82px 1fr; align-items: center; padding: 9px 12px; }
  .hero-route small { display: none; }
  .hero-art--impact { min-height: 510px; }
}

@media (max-width: 899px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-routes { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
  .hero-route { display: grid; grid-template-columns: 1fr; min-height: 72px; }
  .hero-art--impact { min-height: 540px; }
}

@media (max-width: 599px) {
  .hero { padding-top: 42px; }
  .hero h1 { font-size: clamp(41px, 11vw, 58px); }
  .hero-intro { font-size: 15px; }
  .hero-routes { gap: 6px; margin-top: 25px; }
  .hero-route { min-height: 74px; padding: 9px 8px; }
  .hero-route-tag { font-size: 9px; }
  .hero-route strong { font-size: 12px; }
  .hero-art--impact { min-height: 360px; margin-top: 18px; }
  .impact-window { width: 100%; min-height: 342px; }
  .impact-window .window-bar { height: 34px; font-size: 9px; }
  .impact-window::before { inset-block-start: 34px; }
  .impact-head { padding: 13px 15px 0; }
  .impact-head span { font-size: 9px; }
  .impact-head strong { font-size: 19px; }
  .impact-map { height: 239px; margin: 0 10px; }
  .impact-node { width: 100px; min-height: 62px; padding: 8px; }
  .impact-node::before { left: 8px; width: 23px; }
  .impact-node--web,.impact-node--software { top: 12px; }
  .impact-node span { font-size: 9px; }
  .impact-node strong { font-size: 12px; }
  .impact-node small { display: none; }
  .impact-core { width: 112px; height: 112px; border-width: 5px; }
  .impact-core b { font-size: 27px; }
  .impact-core span { font-size: 10px; }
  .impact-core small { display: none; }
  .impact-node--ai { bottom: 2px; }
  .impact-footer { padding: 9px 14px; font-size: 8px; }
  .impact-note,.hero-art--impact .art-caption { display: none; }
  .hero-art--impact .orbit-one { width: 340px; height: 340px; }
  .hero-art--impact .orbit-two { width: 390px; height: 390px; }
}

.decision-cta {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  padding: 29px 32px;
  border: 1px solid rgba(255, 202, 0, .33);
  border-radius: 17px;
  background: radial-gradient(ellipse at 88% 50%, rgba(255, 202, 0, .13), transparent 40%), linear-gradient(120deg, #171d21, #0d1114);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.decision-cta::after { content: ""; position: absolute; right: 17%; top: -70px; width: 240px; height: 240px; border: 1px solid rgba(255,202,0,.16); border-radius: 50%; box-shadow: 0 0 0 38px rgba(255,202,0,.04), 0 0 0 76px rgba(255,202,0,.025); pointer-events: none; }
.decision-cta > * { position: relative; z-index: 1; }
.decision-cta span { display: block; margin-bottom: 5px; color: var(--yellow); font-size: 11px; font-weight: 750; letter-spacing: .12em; }
.decision-cta strong { display: block; font: 650 clamp(23px, 2.5vw, 34px)/1.1 var(--display); letter-spacing: -.035em; }
.decision-cta p { margin: 8px 0 0; max-width: 620px; color: #bdc6ce; font-size: 14px; line-height: 1.5; }
.decision-cta .button { flex: none; background: var(--yellow); color: var(--ink); }

@media (max-width: 700px) {
  .decision-cta { flex-direction: column; align-items: flex-start; padding: 25px 22px; }
  .decision-cta .button { width: 100%; }
}

@media (max-width: 360px) {
  .hero-route strong { font-size: 11px; }
  .impact-node { width: 90px; }
  .impact-core { width: 100px; height: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-route { transition: none; }
  .hero-route:hover,.hero-route:focus-visible { transform: none; }
}
