/* ===== HEADER - SECCIÓN 1 ===== */
.header-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.header-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0a0a0a 0%, rgba(10,10,10,0.8) 30%, rgba(10,10,10,0.4) 60%, var(--overlay-primary) 100%);
    z-index: 2;
    pointer-events: none;
}

.header-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--overlay-secondary) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.9;
    filter: grayscale(20%) contrast(110%);
}

.header-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    width: 100%;
}

h1 {
    font-size: clamp(3.4rem, 6.2vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeUp 0.8s ease 0.2s both;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

.hero-typing {
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 0.3px;
    margin: 0 0 18px;
    min-height: 2.6rem;
}

.typing-text {
    background: var(--gradient-hover);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 7s ease infinite;
    text-shadow: 0 0 18px var(--shadow-secondary);
}

.typing-caret {
    display: inline-block;
    margin-left: 2px;
    color: var(--text-primary);
    animation: blinkCaret 0.85s steps(1, end) infinite;
}

@keyframes blinkCaret {
    0%, 45% { opacity: 1; }
    46%, 100% { opacity: 0; }
}

.subheadline {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeUp 0.8s ease 0.4s both;
}

.header-buttons {
    display: flex;
    gap: 20px;
    animation: fadeUp 0.8s ease 0.6s both;
    flex-wrap: wrap;
}