/* ============================================================
   HERO — fullscreen, signature: circuito con pulso de señal
   ============================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--ink);
    color: var(--text-on-ink);
    overflow: hidden;
    padding-top: 80px;
}

/* Textura de grano muy leve — sustituye la foto de fondo */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: overlay;
}

.hero-circuit {
    position: absolute;
    top: 0;
    right: -8%;
    height: 100%;
    width: 62%;
    opacity: 0.9;
    pointer-events: none;
}

@media (max-width: 900px) {
    .hero-circuit { width: 100%; right: -18%; opacity: 0.45; }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    width: 100%;
}

.hero h1 {
    color: var(--text-on-ink);
    margin-top: 18px;
    max-width: 100%;
    word-break: break-word;
}

.hero h1 em {
    font-style: italic;
    color: var(--copper-light);
}

.hero-sub {
    margin-top: 22px;
    font-size: 1.12rem;
    color: var(--text-on-ink-muted);
    max-width: 480px;
    line-height: 1.65;
}

.hero-actions {
    margin-top: 38px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Indicador de scroll */
.hero-scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-on-ink-dim);
    z-index: 2;
}

.hero-scroll-cue .line {
    width: 32px;
    height: 1px;
    background: var(--text-on-ink-dim);
    position: relative;
    overflow: hidden;
}

.hero-scroll-cue .line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--copper-light);
    animation: scrollCue 2.4s ease-in-out infinite;
}

@keyframes scrollCue {
    0%   { transform: translateX(-100%); }
    50%  { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

@media (max-width: 700px) {
    .hero { padding-top: 64px; }
    .hero-scroll-cue { display: none; }
    .hero-inner { padding-bottom: 32px; }
    .hero-sub { font-size: 1rem; max-width: 100%; }
    .hero-actions { justify-content: flex-start; }
}