.page-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #920026;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-preloader__star {
    width: 12vw;
    height: auto;
    /* animation: preloader-spin 3s linear infinite; */
}

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

.page.home .hero-section {
    visibility: hidden;
}

.page.home .site-header {
    background-color: #FDEDE0;
}

.homepage {
    width: 100%;
    background: linear-gradient(180deg, #FDEDE0 0%, #fff 100%);
}

.hero-section {
    position: relative;
    min-height: 46vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0vw 8.28vw 6vw;
        margin-bottom: 3.5vw;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 36vw;
}

.hero-title {
    font-family: 'Spartan', sans-serif;
    font-size: 2.6vw;
    font-weight: 700;
    color: #070707;
    line-height: 1.2;
    margin-bottom: 1.25vw;
    letter-spacing: -0.03em;
}

.hero-title--accent {
    font-family: 'ShantellSans', cursive;
    font-weight: 600;
    color: #920026;
}

/* .hero-subtitle {
    margin-bottom: 1.6vw;
} */
.hero-subtitle p{
    font-family: 'Spartan', sans-serif;
    font-size: 0.9375vw;
    font-weight: 600;
    color: #212121;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.6vw;
    max-width: 26vw;
}
.hero-cta { 
    position: relative;
    display: inline-block;
    font-family: 'Spartan', sans-serif;
    font-size: 0.9375vw;
    font-weight: 700;
    color: #920026;
    text-decoration: none;
    padding-bottom: 0.25vw;
}

.hero-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.5px;
    background-color: #920026;
    transform-origin: center;
    transform: scaleX(1);
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.hero-cta:hover::after {
    transform: scaleX(0);
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: -1.6vw;
    right: -0.6vw;
    width: 1.24vw;
    height: 1.65vw;
    background-image: url('../img/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: scaleX(-1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-cta:hover::before {
    transform: scaleX(-1) translateY(0.10vw) rotate(-10deg);
}

.hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-star {
    position: absolute;
}

.hero-star--blue {
    top: 0.5vw;
    left: 24.4vw;
    width: 4.5vw;
}

.hero-star--color {
    top: 6.2vw;
    right: 18vw;
    width: 3.7vw;
}

.hero-star--blue2 {
    bottom: 12vw;
    left: 19.5vw;
    width: 3.5vw;
    opacity: 0.6;
    transform: rotate(45deg) !important;
    opacity: 0.6;
}

.hero-star--blue3 {
    bottom: 4vw;
    right: 35vw;
    width: 4.5vw;
    transform: rotateX(180deg) !important;
    opacity: 0.7;
}

.hero-star--extra1,
.hero-star--extra2 {
    display: none;
}

.hero-photo {
    position: absolute;
    overflow: hidden;
    z-index: 1;
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-photo--1 {
    top: 4.8vw;
    left: 13.5vw;
    width: 17.24vw;
    height: 11.5vw;
}

.hero-photo--2 {
    top: 8.8vw;
    right: 13.1vw;
    width: 12.55vw;
    height: 15.68vw;
}

.hero-photo--3 {
    top: 18.9vw;
    right: 20vw;
    width: 12.55vw;
    height: 15.68vw;
}

.hero-photo--4 {
    top: 31.5vw;
    left: 21.3vw;
    width: 17.1vw;
    height: 11.3vw;
}

.hero-bottom-photos {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cases-section {
    padding: 4.2vw 1.3vw;
}

.cases-grid {
    display: flex;
    gap: 1.04vw;
        max-width: 1900px;
    width: 100%;
    margin-bottom: 1.6vw;
}

.case-item {
    flex: 1;
    border-radius: 1.04vw;
    overflow: hidden;
    display: block;
    aspect-ratio: 0.82;
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.case-item:hover img {
    transform: scale(1.04);
}

.cases-cta {
    text-align: center;
}

.cases-cta .btn-animated {
    font-family: 'Spartan', sans-serif;
    font-size: 0.9375vw;
    font-weight: 700;
    color: #920026;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.agence-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 5.2vw 16.5vw;
    gap: 2.2vw;
}

.agence-content p strong {
    display: block;
    font-family: 'Spartan', sans-serif;
    font-size: 0.729vw;
    font-weight: 700;
    color: #7d002a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25vw;
}

.agence-content h2 {
    font-family: 'Spartan', sans-serif;
    font-size: 2.08vw;
    font-weight: 700;
    color: #070707;
    line-height: 1.25;
    margin-bottom: 1.56vw;
    letter-spacing: -0.02em;
}

.agence-content h2 em {
    font-family: 'ShantellSans', cursive;
    font-weight: 600;
    color: #7d002a;
    font-size: 2.6vw;
}

.agence-content p { 
    font-family: 'Spartan', sans-serif;
    font-size: 0.9375vw;
    font-weight: 500;
    color: #212121;
    line-height: 1.7;
    margin-bottom: 1.04vw;
    max-width: 28.3vw;
}

.agence-content .btn-animated {
    margin-top: 0.83vw;
    font-family: 'Spartan', sans-serif;
    font-size: 0.9375vw;
    font-weight: 700;
    color: #920026;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.agence-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 800px;
}

.agence-phone::before {
    content: '';
    position: absolute;
    width: 22vw;
    height: 28vw;
    border-radius: 1vw;
    background: linear-gradient(160deg, #ddb898 0%, #920026 100%);
    z-index: 0;
}

.phone-img {
       width: 75%;
    height: auto;
    top: -1vw;
    left: 2vw;
    display: block;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    transform: rotate(-2deg);
    filter: drop-shadow(0 2vw 3vw rgba(146, 0, 38, 0.25));
    position: relative;
    z-index: 1;
}

.agence-phone:hover .phone-img {
    transform: rotateY(-15deg);
}

.stats-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 3vw 16.5vw 10vw;
    gap: 5.2vw;
}

.stats-title {
    font-family: 'Spartan', sans-serif;
    font-size: 2.08vw;
    font-weight: 700;
    color: #070707;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.stats-title--accent {
    color: #920026;
}


.stats-right {
    display: flex;
    align-items: flex-start;
    gap: 3.13vw;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.52vw;
}

.stat-number {
   font-family: 'Spartan', sans-serif;
    font-size: 3.646vw;
        font-weight: 500;
    color: #920026;
    line-height: 1;
    display: block;
}

.stat-suffix {
    font-size: 1.823vw;
  font-family: 'Spartan', sans-serif;
    color: #920026;
}

.stat-label {
    font-family: 'Spartan', sans-serif;
    font-size: 0.677vw;
    font-weight: 600;
    color: #070707;
    display: block;
}

@media only screen and (max-width: 767px) {

    .page-preloader__star {
        width: 50vw;
    }

    .hero-section {
        flex-direction: column;
        min-height: unset;
        padding: 2vw 0 2vw;
        align-items: center;
        overflow: hidden;
        margin-bottom: 0;
        position: relative;
    }

    .hero-photo--1 {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        order: 1;
        width: 52vw;
        height: 34vw;
        border-radius: 0vw;
        margin-left: auto;
        margin-right: 5vw;
        flex-shrink: 0;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        order: 2;
        max-width: 100%;
        padding: 8vw 5vw 6vw;
    }

    .hero-title {
        font-size: 7.5vw;
        margin-bottom: 3vw;
    }

    /* .hero-subtitle{
        
    } */
    .hero-subtitle p{
        font-size: 3.1vw;
        margin-bottom: 5vw;
        max-width: 100%;
    }
    .hero-cta {
        font-size: 3.1vw;
    }

    .hero-cta::before {
        width: 4vw;
        height: 5.5vw;
        top: -5vw;
        right: -2vw;
    }

    .hero-bottom-photos {
        position: relative !important;
        order: 3;
        width: 100%;
        height: 55vw;
    }

    .hero-photo--2 {
        width: 20vw;
        height: 25vw;
        right: unset;
        left: 8vw;
        top: 0;
    }

    .hero-photo--3 {
      width: 20vw;
        height: 25vw;
        right: unset;
        left: 22vw;
        top: 17vw;
    }

    .hero-photo--4 {
        width: 25vw;
        height: 16vw;
        right: 22vw;
        bottom: 10vw;
        left: unset;
        top: unset;
    }

    .hero-star--blue {
        top: 2vw;
        left: 6vw;
        right: auto;
        width: 12vw;
    }

    .hero-star--color {
        top: 16vw;
        right: unset;
        left: 21vw;
        bottom: auto;
        width: 10vw;
        transform: rotate(45deg) !important;
    }

    .hero-star--blue2 {
        display: block;
        top: auto;
        left: 6vw;
        right: auto;
        bottom: 52vw;
        width: 7vw;
        transform: rotate(25deg) !important;
        opacity: 0.7;
    }

    .hero-star--blue3 {
        display: block;
        top: auto;
        left: auto;
        right: 8vw;
        bottom: 18vw;
        width: 10vw;
        transform: rotateX(180deg) !important;
        opacity: 0.7;
    }

    .hero-star--extra1 {
        display: block;
        top: 31vw;
        left: auto;
        right: 2vw;
        bottom: 100vw;
        width: 6vw;
        opacity: 0.5;
    }

    .hero-star--extra2 {
        display: block;
        top: auto;
        left: 42vw;
        right: auto;
        bottom: 2vw;
        width: 8vw;
        opacity: 0.6;
        transform: rotate(15deg) !important;
    }


    .cases-section {
        padding: 10vw 0 8vw 5%;
        overflow: hidden;
    }

    .cases-grid {
        display: none;
    }

    .cases-grid-mobile {
        display: block;
        margin-bottom: 5vw;
    }

    .cases-grid-mobile .slick-slide {
        padding: 0 3vw 0 0;
            height: 70vw;
    }

    .case-item {
        border-radius: 5vw;
                height: 100%;
        width: 100%;
        aspect-ratio: 0.75;
        display: block;
    }

    .cases-cta .btn-animated {
        font-size: 3.2vw;
    }

    .agence-section {
        grid-template-columns: 1fr;
        padding: 12vw 6%;
        gap: 10vw;
    }

    .agence-content p strong {
        font-size: 3.1vw;
        margin-bottom: 6vw;
    }

    .agence-content h2 {
        font-size: 5.5vw;
        margin-bottom: 6vw;
    }

    .agence-content h2 em {
        font-size: 7vw;
    }

    .agence-content p { 
        font-size: 3.1vw;
        max-width: 100%;
        margin-bottom: 3vw
    }

    .agence-content .btn-animated {
        font-size: 3.2vw;
    }

    .agence-phone {
        
    }

    .agence-phone::before {
        width: 85%;
        height: 75vw;
        border-radius: 3vw;
    }

    .phone-img {
              width: 75%;
        top: -6vw;
        left: 2vw;
    }

    .stats-section {
        grid-template-columns: 1fr;
        padding: 8vw 6% 25vw;
        gap: 12vw;
    }

    .stats-title {
        font-size: 5.5vw;
    }

    .stats-right {
        justify-content: space-between;
        gap: 4vw;
    }

    .stat-number {
        font-size: 9vw;
    }

    .stat-suffix {
        font-size: 5.5vw;
    }

    .stat-label {
        font-size: 2.8vw;
    }

}
