.company-card {
    position: relative;
}

.company-card .decoration {
    position: absolute;
    inset: 0;
    background-color: rgba(67, 142, 185, 0.5);
    opacity: 0;
    transition-duration: 500s;
    filter: blur(24px);
    border-radius: 1rem;
}

.company-card:hover .decoration {
    opacity: 1;
}

.company-card .inner {
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    border-radius: 1rem;
    backdrop-filter: blur(12px);
}

.company-card .inner:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.company-card .inner .background {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.company-card .inner .background img {
    transition-duration: 700ms;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-card:hover .inner .background img {
    transform: scale(1.1);
}

.company-card .inner .background .img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.company-card .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
}

.company-card .content .badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.company-card .content .badge div {
    width: 0.5rem;
    height: 0.5rem;
    background-color: white;
    border-radius: 9999px;
}

.company-card .content .badge span {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    line-height: calc(1 / 0.75);
}

.company-card .content h3 {
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    line-height: calc(1.75 / 1.25);
}

.company-card .content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    line-height: 1.625;
}

@media (min-width: 640px) {
    .company-card .content {
        padding: 1.5rem;
    }

    .company-card .content h3 {
        font-size: 1.5rem;
        line-height: calc(2 / 1.5);
    }
}

@media (min-width: 768px) {
    .company-card .inner .background {
        aspect-ratio: 16 / 9;
    }

    .company-card .content .badge {
        gap: 0.75rem;
    }

    .company-card .content .badge span {
        font-size: 0.875rem;
        line-height: calc(1.25 / 0.875);
    }

    .company-card .content h3 {
        margin-bottom: 0.75rem;
        font-size: 1.25rem;
        line-height: calc(1.75 / 1.25);
    }

    .company-card .content p {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .company-card .content {
        padding: 2rem;
    }

    .company-card .content h3 {
        font-size: 1.5rem;
        line-height: calc(2 / 1.5);
    }
}

.location-card {
    background-color: white;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.location-card:hover {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.location-card .map {
    position: relative;
    height: 16rem;
    background-color: oklch(92.8% 0.006 264.531);
    overflow: hidden;
}

.location-card .map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-card .map .inner {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.location-card .map .badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-card .map .badge svg {
    width: 1rem;
    height: 1rem;
    color: #1f305c;
}

.location-card .map .badge span {
    font-weight: 600;
    color: #1f305c;
}

.location-card .content {
    padding: 2rem;
}

.location-card .content h3 {
    color: #1f305c;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: calc(2 / 1.5);
}

.location-card .content .contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.location-card .content .contact .info {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: oklch(37.3% 0.034 259.733);
}

.location-card .content .contact .info svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: #84939c;
}

.location-card .content .buttons {
    display: flex;
    gap: 0.75rem;
}

.location-card .content .buttons svg {
    width: 1rem;
    height: 1rem;
}

.location-card .content .buttons a {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    height: fit-content;
}

.location-card .content .buttons a:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.location-card .content .buttons .map {
    flex: 1;
    text-align: center;
    color: white;
    font-weight: 500;
    background-color: #1f305c;
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: calc(1.25 / 0.875);
}

.location-card .content .buttons .website {
    border: 1px solid #84939c;
    color: #84939c;
}

.company-detail .content h2 {
    margin-bottom: 1rem;
    color: #1f305c;
    font-weight: bold;
    font-size: 1.875rem;
    line-height: calc(2.25 / 1.875);
}

.company-detail .content p {
    margin-bottom: 1.5rem;
    line-height: 1.625;
    color: oklch(44.6% 0.03 256.802);
    font-size: 1.125rem;
}

.company-detail .content .service {
    display: flex;
    align-items: start;
}

.company-detail .content .service svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #84939c;
    margin: 0.125rem 0.75rem 0 0;
    flex-shrink: 0;
}

.company-detail .content .service:hover svg {
    color: #1f305c;
    transform: scale(1.1);
}

.company-detail .content .service span {
    color: oklch(21% 0.034 264.665);
}

.company-detail .content .service:hover span {
    color: #1f305c;
}

.company-detail .content .btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #84939c;
    color: white;
    border-radius: 0.5rem;
}

.company-detail .content .btn:hover {
    background-color: #1f305c;
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.company-detail .content .btn svg {
    margin-left: 0.5rem;
    height: 1rem;
    width: 1rem;
}

.company-detail .content .btn:hover svg {
    transform: translateX(0.25rem);
}

.company-detail .re-order {
    order: 1;
}

.company-detail .inv-order {
    order: 2;
}

.company-detail .image {
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.company-detail .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: 700ms;
}

.company-detail .image:hover img {
    transform: scale(1.1);
}

.company-detail .collaborateurs {
    display: none;
    position: absolute;
    bottom: -1.5rem;
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    border: 1px solid oklch(92.8% 0.006 264.531);
}

.company-detail .collaborateurs .value {
    display: none;
    font-weight: bold;
    color: #84939c;
    font-size: 1.875rem;
    line-height: calc(2.25 / 1.875);
}

.company-detail .collaborateurs .label {
    display: none;
    color: oklch(44.6% 0.03 256.802);
    font-size: 0.875rem;
    line-height: calc(1.25 / 0.875);
}

@media (min-width: 1024px) {

    .company-detail .content h2 {
        font-size: 2.25rem;
        line-height: calc(2.5 / 2.25);
    }

    .company-detail .re-order {
        order: 2;
    }

    .company-detail .inv-order {
        order: 1;
    }

    .company-detail .collaborateurs {
        display: block;
    }

    .company-detail .collaborateurs .value {
        display: block;
    }

    .company-detail .collaborateurs .label {
        display: block;
    }
}