:root {
    --dark: #19191B;
    --gray: #696871;
    --purple: #5454D4;
    --orange: #FF7143;
}

html {
    scroll-padding: 100px;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", sans-serif;
    -webkit-text-size-adjust: 100%;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

[class*="__container"] {
    max-width: 1069px;
    margin-inline: auto;
    padding-inline: 20px;
}

/* --- HEADER --- */
.header {
    position: fixed;
    width: 100%;
    background: white;
    z-index: 999;
    top: 0;
    padding-block: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header__nav > * {
    flex-shrink: 0;
}

.header__logo {
    font-weight: 1000;
    font-size: 30px;
    color: var(--dark);
    text-decoration: none;
}

.header__list {
    display: flex;
    gap: 49px;
}

.header__list-link {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.47px;
    color: var(--gray);
    transition: color 0.3s;
}

.header__list-link.active {
    color: var(--dark);
    border-bottom: 2px solid var(--purple);
    padding-bottom: 10px;
}

.header__list-link:hover {
    color: var(--dark);
}

.header__button, .hero__button {
    display: inline-block;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.53px;
    color: white;
    padding: 19px 59px;
    border-radius: 10px;
    transition: 0.3s;
    text-align: center;
}

.header__button {
    background: var(--orange);
}

.header__button:hover, .hero__button:hover {
    opacity: 90%;
}

/* --- MAIN & HERO --- */
main {
    margin-top: 141px;
}

.hero {
    padding-block: 40px;
}

.hero__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: 40px;
}

.hero__content {
    max-width: 423px;
    padding-block: 0;
}

.hero__image {
    position: relative;
    top: auto;
    right: auto;
}

.hero__title {
    font-weight: 700;
    font-size: 80px;
    letter-spacing: -2.5px;
    line-height: 77px;
    color: var(--dark);
}

.hero__desc {
    font-family: "Mulish", sans-serif;
    font-size: 20px;
    letter-spacing: -0.63px;
    line-height: 30px;
    margin-top: 30px;
}

.hero__buttons {
    margin-top: 50px;
}

.hero__button {
    background: var(--purple);
}

.about__image {
    position: relative;
    top: auto;
    right: auto;
    width: 550px;
    height: 317px;
    object-fit: cover;
}

.price-button {
    display: inline-block;
    background: var(--purple);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    margin-top: 20px;
}

.price-button::-webkit-details-marker {
    display: none;
}

.price-list {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.price-section {
    padding-block: 40px;
}

.price-section .hero__image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* --- ДОДАТКОВІ СТИЛІ ДЛЯ ЛАЗЕРА ТА КОНТАКТІВ --- */
.laser-section {
    padding: 40px 0;
    background: #f9f9f9;
    margin-top: 20px;
    border-radius: 20px;
}

.laser-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.laser-content {
    max-width: 550px;
}

.laser-image {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.contact-footer {
    padding: 20px 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.phone-container {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.phone-number {
    font-weight: 700;
    font-size: 20px;
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
}

#copy-hint {
    font-size: 11px;
    color: var(--purple);
    font-weight: 500;
    margin-top: 2px;
}

.qr-image {
    width: 90px !important;
    height: 90px !important;
    object-fit: contain !important;
    background-color: #ffffff !important;
    border-radius: 8px;
    display: block;
}

/* --- СТИЛІ ДЛЯ ЛОКАЦІЇ ТА МОДАЛЬНОГО ВІКНА --- */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.location-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    padding: 20px;
    border-radius: 15px;
}
.location-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}
.zoomable { cursor: pointer; transition: 0.3s; }
.zoomable:hover { opacity: 0.7; }

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}
.modal-content {
    max-width: 90%; max-height: 85vh;
    border-radius: 10px;
}
.close-modal {
    position: absolute;
    top: 20px; right: 30px;
    color: #fff; font-size: 45px; cursor: pointer;
}

/* --- МОБІЛЬНА АДАПТАЦІЯ (ТІЛЬКИ ДЛЯ ТЕЛЕФОНІВ) --- */
@media (max-width: 768px) {
    .header {
        padding-block: 12px;
    }

    .header__nav {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 10px;
    }

    .header__logo {
        font-size: 22px;
    }

    .header__list {
        grid-column: 1 / -1;
        display: flex;
        justify-content: space-between;
        gap: 15px;
        overflow-x: auto;
        padding-bottom: 5px;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }

    .header__list::-webkit-scrollbar {
        display: none;
    }

    .header__list-link {
        font-size: 14px;
        white-space: nowrap;
    }

    .header__button {
        padding: 10px 18px;
        font-size: 13px;
        width: auto;
        border-radius: 8px;
    }

    main {
        margin-top: 210px !important;
    }

    .hero {
        padding-top: 10px !important;
    }

    .hero__title {
        font-size: 38px;
        line-height: 42px;
        letter-spacing: -1px;
    }

    .hero__container {
        flex-direction: column;
        text-align: left;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__image, .about__image, .laser-image {
        width: 100%;
        height: auto;
    }
    
    .contact-footer {
        justify-content: center;
        padding: 15px 0;
    }
    
    .contact-info {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        padding: 10px 15px;
        gap: 15px;
    }

    .phone-number {
        font-size: 16px;
    }

    .qr-image {
        width: 65px !important;
        height: 65px !important;
        object-fit: contain !important;
        background-color: #ffffff !important;
    }
}
