/* =============================================================== */
/* =============================================================== */
/* ========================= LOADER ============================== */
/* =============================================================== */
/* =============================================================== */
.loader {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-bg-color) url("../images/house/sketch1.jpg") center / cover no-repeat;

    clip-path: inset(0 0 0 0);
    will-change: clip-path;
}

.loader__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);

    opacity: 0;
    transform: translateY(2rem);
    filter: var(--filter);
}

.loader__logo {
    height: clamp(6rem, 8vw, 10rem);
}

.loader__titles {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader__title,
.loader__title * {
    font-size: clamp(4.5rem, 8vw, 7.5rem) !important;
}

@media (min-width: 768px) {
    .loader__content {
        flex-direction: row;
    }
    .loader__titles {
        align-items: start;
        justify-content: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loader {
        display: none;
        z-index: -1;
    }
}
/* =============================================================== */
/* =============================================================== */
/* ====================== HERO SECTION =========================== */
/* =============================================================== */
/* =============================================================== */
#hero {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100dvh;
    min-height: 630px;
    overflow: hidden;

    background: radial-gradient(circle at center, rgba(12, 14, 18, 0.66) 0%, rgba(12, 14, 18, 0.11) 100%), url("../images/house/hero.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    opacity: 0;
    will-change: opacity;
}

.hero__content {
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hero__content-half {
    width: 100%;
    height: 100%;
}

.hero__content-half.top {
    flex: 7 1 0;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;
}

.hero__content-half.bottom {
    flex: 5 1 0;

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: var(--space-md);
}

/* === HERO STAMP === */
.hero__stamp {
    display: none;
    position: absolute;
    bottom: var(--section-radius);
    right: 0;

    width: 8.5rem;
    height: 8.5rem;
    z-index: 1;
    pointer-events: none;
}

.hero__stamp-rotator {
    width: 100%;
    height: 100%;
    overflow: visible;
    animation: hero-stamp-rotate 60s linear infinite;
}

.hero__stamp-text {
    fill: rgba(255, 255, 255, 0.75);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.42rem;
    text-transform: uppercase;
}

.hero__stamp-center {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 1.5rem;
    height: 4rem;
    transform: translate(-50%, -50%);
}

.hero__stamp-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
}

.hero__stamp-dot {
    position: absolute;
    top: 2px;
    left: 50%;
    width: 0.5rem;
    height: 1rem;
    transform: translateX(-50%);
    border-radius: 999px;
    background: var(--brand-color);
    animation: hero-stamp-dot 3.5s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@keyframes hero-stamp-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes hero-stamp-dot {
    0% {
        top: 2px;
        opacity: 0;
    }
    12% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: calc(100% - 18px);
        opacity: 0;
    }
}

@media (min-width: 768px) {
    #hero {
        min-height: 700px;
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .hero__content-half.top {
        flex: 5 1 0;
    }

    .hero__content-half.bottom {
        flex: 3 1 0;
    }
    .hero__stamp {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero {
        opacity: 1;
    }
    .hero__stamp-rotator {
        animation: none;
    }
}

/* =============================================================== */
/* =============================================================== */
/* =============-====== WHY US SECTION =========================== */
/* =============================================================== */
/* =============================================================== */
.about-logo-wrapper {
    overflow: hidden;
    width: 100%;
    padding: var(--space-md);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.about-logo-track {
    width: max-content;
    display: flex;
    gap: var(--space-md);
    animation: logoz 30s linear infinite;
    will-change: transform;
}

.about-logo-track img {
    height: 3rem;
    max-width: 12rem;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

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

@media (prefers-reduced-motion: reduce) {
    .about-logo-track {
        animation: none;
    }
}

/* =============================================================== */
/* =============================================================== */
/* ======================== PATH SECTION ========================= */
/* =============================================================== */
/* =============================================================== */
.path__timeline {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.path__step {
    padding: var(--space-md);

    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: var(--space-semi-section);
}

.path__step-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.path__step-content .description {
    max-width: 68ch;
}

@media (min-width: 768px) {
    .path__step {
        padding: var(--space-xl);
        align-items: center;
        flex-direction: row;
    }
}
