/* ═══════════════════════════════════════
   Evosion Fluid Hero — Premium Motion
   ═══════════════════════════════════════ */

.efh-hero {
    --efh-height: 500px;
    --efh-accent: #24aeb1;
    --efh-dark: #0f172a;
    position: relative;
    width: 100%;
    height: var(--efh-height);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--efh-dark);
    /* Kill Elementor container padding if used inside one */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

/* Canvas layer — behind everything */
.efh-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Subtle gradient overlay for depth */
.efh-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, var(--efh-dark) 100%),
        linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.5) 100%);
    pointer-events: none;
}

/* Content layer */
.efh-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 680px;
    padding: 0 24px;
    animation: efh-fadeUp 0.8s ease-out both;
}

.efh-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.efh-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 28px;
    line-height: 1.6;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.efh-btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--efh-accent);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 4px 16px rgba(36, 174, 177, 0.3);
}

.efh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(36, 174, 177, 0.4);
    color: #fff;
    text-decoration: none;
}

.efh-btn:active {
    transform: translateY(0);
}

/* Entry animation */
@keyframes efh-fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .efh-canvas { display: none; }
    .efh-content { animation: none; }
    .efh-hero {
        background: linear-gradient(135deg, var(--efh-dark) 0%, color-mix(in srgb, var(--efh-accent) 30%, var(--efh-dark)) 100%);
    }
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .efh-hero {
        --efh-height: 360px;
    }
    .efh-content {
        padding: 0 20px;
    }
    .efh-subtitle {
        display: none; /* cleaner on small screens */
    }
}
