
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Geologica&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.background-layer1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: black url("/assets/bg/svg-cont-bg.svg") no-repeat center center;
    background-size: cover;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 100px 20px 50px;
}

.title {
    font-size: 64px;
    font-weight: 400;
    line-height: 93px;
    font-family: 'Dela Gothic One', sans-serif;
    color: white;
    margin-left: 370px;
    margin-bottom: 60px;
    text-align: left;
}

.contact-block {
    display: flex;
    flex-direction: row;
    gap: 60px;
    align-items: flex-start;
    justify-content: flex-start;
    margin-left: 250px;
    margin-bottom: 100px;
    flex-wrap: wrap;
}

.big-map {
    width: 489px;
    height: 489px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
            0px 10px 21px rgba(28, 28, 28, 0.18),
            0px 39px 39px rgba(28, 28, 28, 0.15),
            0px 155px 62px rgba(28, 28, 28, 0.03),
            0px 242px 68px rgba(28, 28, 28, 0);
}

.big-map div {
    width: 100%;
    height: 100%;
}

.contact-info {
    position: relative;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    font-size: 32px;
    line-height: 40px;
    font-family: 'Geologica', sans-serif;
    color: white;
    margin-top: 10px;
}

.contact-entry {
    padding-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 10px;
}

.marker-icon {
    position: absolute;
    left: 40%;
    top: 0;
    transform: translateX(-50%);
    width: 24px;
    height: 36px;
}

.contact-info p {
    margin: 6px 0;
}
.contact-entry p {
    margin: 2px 0; /* уменьшает отступы сверху и снизу */
    line-height: 1.2; /* более плотное межстрочное расстояние */
}

.contact-entry .small-note {
    font-size: 20px;
    margin: 2px 0;
    line-height: 1.2;
}

.contact-entry p:first-child {
    font-weight: bold;
    font-size: 32px;
    line-height: 40px;
}

.work-hours {
    margin-top: 20px;
}

.phone-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
    margin-bottom: 100px;
}

.phone-link:hover {
    color: #ccc;
}

/* Responsive */
@media (max-width: 1024px) {
    .title {
        margin-top: 100px;
        font-size: 48px;
        margin-left: 40px;
    }

    .contact-block {
        margin-left: 40px;
        gap: 40px;
        flex-direction: column;
        align-items: center;
    }

    .big-map {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }

    .contact-info {
        font-size: 26px;
        line-height: 36px;
    }

    .marker-icon {
        width: 22px;
        height: 32px;
    }
}

@media (max-width: 500px) {
    .title {
        font-size: 36px;
        line-height: 48px;
        margin: 40px 0 100px;
        text-align: center;
    }

    .contact-block {
        flex-direction: column;
        align-items: center;       /* Центрует всё содержимое */
        text-align: center;        /* Центрует текст */
        margin: 0 auto 40px;
        padding: 0;
        gap: 20px;
        width: 100%;
    }

    .big-map {
        width: 100%;
        height: 250px;
        border-radius: 8px;
    }

    .contact-info {
        padding: 0;
        font-size: 18px;
        line-height: 26px;
        text-align: left;             /* Меняем на выравнивание по левому краю */
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;      /* Выравнивание содержимого по левому краю */
    }

    .contact-entry {
        padding-top: 20px;
        margin-bottom: 4px;
    }

    .marker-icon {
        width: 18px;
        height: 28px;
        left: 50%;
        transform: translateX(-50%);
        top: -10px;
        position: absolute;
    }

    .contact-info p {
        margin: 2px 0;
    }
    .contact-entry p:first-child {
        align-items: center;
    }
    .small-note {
     display: none;
    }
    .contact-entry .small-note {
        font-size: 14px;
        margin: 2px 0;
        line-height: 20px;
    }

    .phone-link {
        margin: 6px 0;
        display: inline-block;
    }

    .work-hours {
        margin-top: 10px;
    }
}
.back-button1 {
    position: absolute;
    top: 22%; /* ← стало 120px вместо 30px */
    left: 30px;
    z-index: 1000;
    background: linear-gradient(105deg, #8744a4, #d035e2);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.back-button1:hover {
    transform: translateY(-2px);
    background: linear-gradient(105deg, #9a57c6, #e14ae8);
}

@media (max-width: 480px) {
    .back-button1 {
        top: 220px;
        left: 16px;
        font-size: 14px;
        padding: 8px 14px;
    }
}

@media (max-width: 400px) {
    .back-button1 {
        top: 200px;
    }
}

@media (max-width: 360px) {
    .back-button1 {
        top: 200px;
    }
}

.qr-social {
    position: absolute;
    top: calc(100% - -3300px);
    right: 200px;
    display: flex;
    gap: 40px;
    z-index: 3;
}


.qr-social a {
    width: 64px;
    height: 64px;

    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.qr-social a img {
    width: 64px;/* или 24px, если нужно меньше */
    height: 64px;
    object-fit: contain;
}


.qr-social a:hover img {
    transform: scale(1.1);
}

/* — Адаптив — */
@media (max-width: 1024px) {
    .qr-social {
        position: relative;
        top: -50px;
        right: auto;
        justify-content: right;

    }
}
@media (max-width: 768px) {
    .qr-social {
        right: 40px;
    }

    .qr-social a {
        width: 56px;
        height: 56px;
    }

    .qr-social a img {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .qr-social {
        right: 30px;
        gap: 30px;
    }

    .qr-social a {
        width: 48px;
        height: 48px;
    }

    .qr-social a img {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 360px) {
    .qr-social {
        right: 20px;
        gap: 24px;
    }

    .qr-social a {
        width: 44px;
        height: 44px;
    }

    .qr-social a img {
        width: 20px;
        height: 20px;
    }
}