/* ═══════════════════════════════════════
   HERO — Full-screen Italian Estate
   Parallax + shimmer CTA + editorial type
   ═══════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--ticker-h);
    overflow: hidden;
}

/* ── Background image (parallax via JS) ── */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-image {
    position: absolute;
    inset: -20%;
    background-image: url('https://images.unsplash.com/photo-1694269384788-548ce9faaa64?w=1920&q=80&fit=crop');
    background-size: cover;
    background-position: center 40%;
    filter: grayscale(100%) brightness(0.35) contrast(1.15);
    will-change: transform;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.hero.is-loaded .hero-image {
    transform: scale(1);
}

/* Burgundy overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(90, 21, 37, 0.55) 0%,
        rgba(11, 10, 13, 0.75) 50%,
        rgba(11, 10, 13, 0.90) 100%
    );
}

/* Vignette */
.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 70% 60% at center,
        transparent 30%,
        rgba(11, 10, 13, 0.5) 100%
    );
}

/* ── Content ── */
.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 var(--container-pad);
    max-width: 820px;
}

/* Tagline with decorative lines */
.hero-tagline {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--c-primary-light);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: hero-fade-up 1s 0.3s forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.hero-tagline::before,
.hero-tagline::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--c-primary-light);
    opacity: 0.5;
    flex-shrink: 0;
}

/* Editorial title */
.hero-title {
    font-family: var(--f-heading);
    font-size: clamp(2.4rem, 5.5vw, 4.8rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.75rem;
    opacity: 0;
    animation: hero-fade-up 1s 0.5s forwards;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(234, 230, 224, 0.78);
    line-height: 1.8;
    margin-bottom: 3.5rem;
    opacity: 0;
    animation: hero-fade-up 1s 0.7s forwards;
}

/* CTA with shimmer */
.hero-cta {
    display: inline-block;
    padding: 1.1rem 3rem;
    background: var(--c-primary);
    border: 1px solid var(--c-primary-light);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all var(--duration) var(--ease-out);
    opacity: 0;
    animation: hero-fade-up 1s 0.9s forwards;
    position: relative;
    overflow: hidden;
}

.hero-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,0.12) 50%, transparent 75%);
    transform: translateX(-100%);
}

.hero-cta:hover,
.hero-cta:focus-visible {
    background: var(--c-primary-light);
    border-color: var(--c-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 45, 59, 0.35);
}

.hero-cta:hover::after {
    animation: btn-shimmer 0.6s ease forwards;
}

@keyframes btn-shimmer {
    to { transform: translateX(100%); }
}

/* ── Scroll indicator with traveling dot ── */
.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    animation: hero-fade-up 1s 1.2s forwards;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--c-text-dim);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(123, 45, 59, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -1px;
    width: 3px;
    height: 8px;
    border-radius: 2px;
    background: var(--c-primary-light);
    animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
    0%   { top: -8px; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { top: 40px; opacity: 0; }
}

/* ── Hero credentials bar (hidden until needed) ── */
.hero-credentials {
    display: none;
}

/* ── Keyframes ── */
@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
