/**
 * Ikodak — S02 hero.
 */

.dcip-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 88vh;
    min-height: 88svh;
    padding-top: calc(132px + clamp(24px, 5vh, 64px));
    padding-bottom: clamp(96px, 12vh, 140px);
    overflow: hidden;
    color: #ffffff;
    background: var(--dcip-ink);
}

.dcip-hero__media {
    position: absolute;
    inset: -40px 0;
    z-index: -2;
    will-change: transform;
}

.dcip-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 35%;
}

.dcip-js .dcip-hero__img {
    transform: scale(1.06);
}

.dcip-hero.is-ready .dcip-hero__img {
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.dcip-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(21, 19, 15, 0.78) 0%, rgba(21, 19, 15, 0.28) 38%, rgba(21, 19, 15, 0.82) 100%),
        linear-gradient(90deg, rgba(21, 19, 15, 0.7) 0%, rgba(21, 19, 15, 0.1) 75%);
}

.dcip-hero__content,
.dcip-hero__text {
    display: grid;
    justify-items: start;
    gap: clamp(18px, 2.4vw, 28px);
}

/* Video rechts naast de tekst; onder 1024px eronder */
.dcip-hero__content--video {
    justify-items: stretch;
    gap: clamp(32px, 4vw, 64px);
}

.dcip-hero__video {
    position: relative;
    width: 100%;
    margin: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--dcip-radius-lg);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: var(--dcip-shadow);
}

.dcip-hero__video-el {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dcip-hero__title {
    display: grid;
    max-width: 14ch;
    font-size: clamp(2.6rem, 1.5rem + 5vw, 5.75rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.dcip-hero__line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
}

.dcip-hero__line > span {
    display: inline-block;
}

.dcip-js .dcip-hero__line > span {
    animation: dcip-line-up 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(200ms + var(--i, 0) * 60ms);
}

@keyframes dcip-line-up {
    from {
        transform: translate3d(0, 105%, 0);
        clip-path: inset(0 0 100% 0);
    }

    to {
        transform: translate3d(0, 0, 0);
        clip-path: inset(0 0 -10% 0);
    }
}

.dcip-hero__intro {
    max-width: 52ch;
    font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.3125rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.dcip-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dcip-hero__area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    max-width: 720px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.82);
}

.dcip-hero__area-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--dcip-font-head);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--dc-primary);
}

.dcip-hero__area-label .dcip-icon {
    width: 16px;
    height: 16px;
}

.dcip-hero__area ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
}

.dcip-hero__area li {
    display: inline-flex;
    align-items: center;
}

.dcip-hero__area li + li::before {
    content: "";
    width: 4px;
    height: 4px;
    margin: 0 10px;
    border-radius: 50%;
    background: var(--dc-primary);
}

/* Google Reviews onder het werkgebied: logo, sterren, tekst */
.dcip-hero__reviews {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding: 8px 16px 8px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    font-family: var(--dcip-font-head);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    color: #ffffff;
}

.dcip-hero__g {
    flex: none;
    width: 32px;
    height: 32px;
    padding: 6px;
    border-radius: 50%;
    background: #ffffff;
}

.dcip-hero__stars {
    position: relative;
    display: inline-flex;
    flex: none;
}

.dcip-hero__stars-row {
    display: inline-flex;
    gap: 2px;
}

.dcip-hero__stars-row--on {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill, 100%);
    overflow: hidden;
}

.dcip-hero__star {
    flex: none;
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.25);
}

.dcip-hero__stars-row--on .dcip-hero__star {
    fill: #fbbc05;
}

/* ------------------------------------------------------------------
   Scroll-indicator: eigen SVG, pulseert traag, verdwijnt na 15% scroll
------------------------------------------------------------------ */
.dcip-scroll {
    position: absolute;
    left: 50%;
    bottom: 24px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 72px;
    margin-left: -24px;
    border-radius: 24px;
    transition: opacity 400ms ease-out;
}

.dcip-scroll.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.dcip-scroll__svg {
    width: 28px;
    height: 56px;
    overflow: visible;
}

.dcip-scroll__svg path {
    stroke: #b4a485;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dcip-scroll__track {
    opacity: 0.35;
}

.dcip-scroll__dot {
    animation: dcip-scroll-dot 2s ease-in-out infinite;
}

.dcip-scroll__roof {
    animation: dcip-scroll-pulse 2s ease-in-out infinite;
}

.dcip-scroll__roof--2 {
    animation-delay: 200ms;
}

@keyframes dcip-scroll-dot {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

@keyframes dcip-scroll-pulse {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(4px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dcip-scroll__dot,
    .dcip-scroll__roof,
    .dcip-hero__line > span {
        animation: none !important;
    }

    .dcip-js .dcip-hero__img {
        transform: none;
    }
}

@media (max-width: 639px) {
    .dcip-hero {
        align-items: flex-end;
        padding-top: 150px;
    }

    .dcip-hero__ctas {
        display: grid;
        width: 100%;
    }

    .dcip-hero__ctas .dcip-btn {
        width: 100%;
    }

    .dcip-hero__area {
        font-size: 0.8125rem;
    }

    .dcip-hero__reviews {
        border-radius: 20px;
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .dcip-hero {
        padding-bottom: 240px;
    }

    .dcip-scroll {
        bottom: 150px;
    }

    .dcip-hero__content--video {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
    }
}
