/* Hero de /diseno-de-paginas-web (ES y EN): fondo ambiental + ventana con un sitio real. */
.hc-ambient{position:absolute;inset:0;overflow:hidden;pointer-events:none;background:rgb(0,0,37)}
.hc-ambient img{position:absolute;inset:-12%;width:124%;height:124%;object-fit:cover;filter:blur(70px) saturate(1.5);opacity:.6}
.hc-ambient::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,37,.94) 0%,rgba(0,0,37,.72) 42%,rgba(0,0,37,.2) 100%),linear-gradient(180deg,rgba(0,0,37,.55) 0%,rgba(0,0,37,0) 24%,rgba(0,0,37,0) 55%,rgb(0,0,37) 94%)}

.hc-body{position:relative;width:100%;max-width:1440px;margin:0 auto;padding:44px 40px 56px;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);column-gap:56px;align-items:center;font-family:'Montserrat',sans-serif}
.hc-copy{display:flex;flex-direction:column;align-items:flex-start}
.hc-kicker{color:rgba(255,255,255,.72);font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;margin:0 0 20px;animation:hc-up .8s cubic-bezier(.22,1,.36,1) both .1s}
.hc-title{color:#fff;font-size:clamp(44px,3.95vw,62px);font-weight:700;line-height:1.06;letter-spacing:-.035em;margin:0 0 22px}
.hc-title em{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;font-size:1.14em;letter-spacing:-.015em;color:#FCBC0E}
.hc-ln{display:block;overflow:hidden;padding-bottom:.12em;margin-bottom:-.12em}
.hc-ln>span{display:block;white-space:nowrap;animation:hc-line .95s cubic-bezier(.22,1,.36,1) both}
.hc-ln:nth-child(2)>span{animation-delay:.1s}
.hc-ln:nth-child(3)>span{animation-delay:.2s}
.hc-ln:nth-child(4)>span{animation-delay:.3s}
.hc-sub{color:rgba(255,255,255,.76);font-size:18px;font-weight:400;line-height:1.5;max-width:540px;margin:0;animation:hc-up .8s cubic-bezier(.22,1,.36,1) both .32s}
.hc-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px;margin-top:30px;animation:hc-up .8s cubic-bezier(.22,1,.36,1) both .42s}
.hc-link{color:#fff;font-size:16px;font-weight:600;border-bottom:1px solid rgba(255,255,255,.4);padding-bottom:3px;transition:border-color .2s ease}
.hc-link:hover{color:#fff;border-color:#FCBC0E}

/* La ventana sale por el borde derecho de la pantalla */
.hc-window{position:relative;margin-right:calc(-1 * max(40px, (100vw - 1440px) / 2 + 40px));aspect-ratio:4/3;max-height:640px;border-radius:16px 0 0 16px;overflow:hidden;background:rgb(12,12,48);box-shadow:0 40px 90px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.12);animation:hc-window 1s cubic-bezier(.22,1,.36,1) both .2s}
.hc-bar{position:absolute;z-index:2;left:0;right:0;top:0;height:40px;display:flex;align-items:center;gap:7px;padding:0 16px;box-sizing:border-box;background:rgba(10,10,44,.92);border-bottom:1px solid rgba(255,255,255,.08)}
.hc-bar i{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.22)}
.hc-url{margin-left:12px;padding:4px 14px;border-radius:999px;background:rgba(255,255,255,.08);color:rgba(255,255,255,.8);font-size:12.5px;font-weight:500}
.hc-window img{position:absolute;left:0;top:40px;width:100%;height:calc(100% - 40px);object-fit:cover;object-position:top center;animation:hc-zoom 7s ease-out both}


@keyframes hc-line{from{transform:translateY(108%)}to{transform:translateY(0)}}
@keyframes hc-up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes hc-window{from{opacity:0;transform:translateX(50px)}to{opacity:1;transform:translateX(0)}}
@keyframes hc-zoom{from{transform:scale(1.05)}to{transform:scale(1)}}

@media (max-width:1100px){
  .hc-body{grid-template-columns:minmax(0,1fr);padding:8px 20px 36px}
  .hc-window{order:-1;margin:0 -20px 28px 0;aspect-ratio:16/11;max-height:40svh}
  .hc-title{font-size:clamp(34px,9vw,60px)}
  .hc-ln>span{white-space:normal}
  .hc-sub{font-size:16px}
  .hc-ambient::after{background:linear-gradient(180deg,rgba(0,0,37,.6) 0%,rgba(0,0,37,.35) 40%,rgb(0,0,37) 94%)}
}
@media (prefers-reduced-motion:reduce){
  .hc-kicker,.hc-ln>span,.hc-sub,.hc-cta,.hc-window,.hc-window img{animation:none}
}
