:root {
    --bg-main: #595a5f;      
    --bg-price: #6d6e73;     
    --text-pink: #eec4c4;    
    --text-pink-dim: #d4a5a5; 
    --font-main: 'Montserrat', sans-serif;
    --font-price: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-pink);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 50px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
    flex: 1;
}

/* --- Стили для Главной Страницы (Центрирование) --- */
.center-layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh; /* Чтобы контент был по центру высоты экрана */
}

/* --- Стили для фото на Главной --- */
.photo-frame-large {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.photo-frame-large img {
    width: 100%;
    height: auto;
    display: block;
}

.master-name-large {
    font-size: 2.2rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 3px;
    margin-bottom: 50px;
    font-weight: 500;
}

/* --- Ссылка "УСЛУГИ" --- */
.link-container {
    text-align: center;
    margin-bottom: 50px;
}

.services-link {
    font-size: 1.5rem;
    color: var(--text-pink);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--text-pink);
    transition: all 0.3s ease;
}

.services-link:hover {
    color: white;
    border-color: white;
}

/* --- Шапка --- */
header {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

header img {
    width: 100%;
    max-width: 350px; 
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- Сетка для страницы Услуг --- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: stretch;
}

/* --- Прайс-лист (Стекло) --- */
.price-list {
    background: rgba(255, 255, 255, 0.15); 
    backdrop-filter: blur(25px);         
    -webkit-backdrop-filter: blur(25px); 
    border: 1px solid rgba(255, 255, 255, 0.3); 
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 20px;
    color: var(--text-pink);
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;     
    font-size: 1rem;
    letter-spacing: 0px;   
    line-height: 1.6;
    height: 100%;           
    display: flex;          
    flex-direction: column; 
    justify-content: flex-start;
}

/* --- Новые черточки-разделители --- */
.separator-line {
    width: 45%;
    height: 1px;
    background-color: var(--text-pink);
    opacity: 0.4;
    margin: auto;
}

.price-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.3;
    color: var(--text-pink);
}

.price-category {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(238, 196, 196, 0.3); 
    padding-bottom: 5px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

/* Класс для сложных пунктов у Ольги (с описанием) */
.price-item.column-layout {
    flex-direction: column;
}

.item-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.item-desc {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 5px;
    font-style: italic;
}

.service-cost {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;     
    white-space: nowrap;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    margin-left: 10px;
}

.price-note {
    margin-top: 30px;
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.8;
    line-height: 1.5;
    font-style: italic;
    border-top: 1px solid rgba(238, 196, 196, 0.2);
    padding-top: 20px;
}

/* --- Иконки --- */
.contacts-section {
    text-align: center;
    margin-bottom: 40px;
}

.dev-banner {
    background-color: var(--text-pink);
    color: #333;
    text-align: center;
    padding: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* --- Стили для контактов --- */

.contacts-section {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 40px;
}

.contacts-header {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 500;
    color: var(--text-pink);
}

.contact-block {
    margin-bottom: 40px;
}


.contact-block:last-child {
    margin-bottom: 0;
}

/* Стили для номера телефона */
.phone-link {
    display: inline-block; 
    font-size: 1.3rem;
    color: var(--text-pink);
    text-decoration: none;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(238, 196, 196, 0.5); 
    padding-bottom: 3px;
    
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: white;
    border-color: white;
}

/* Ряд иконок */
.icons-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    align-items: center;
}

.icon-link {
    display: inline-block;
    border: none;
    background: none;
    padding: 0;
    transition: transform 0.3s ease;
    text-decoration: none;
    line-height: 0;
}

/* Настройки для SVG */
.icon-link svg, 
.icon-link img {
    width: 40px;
    height: 40px;
    display: block;
}

/* Эффект при наведении (просто легкое всплытие) */
.icon-link:hover {
    transform: translateY(-3px);
    background: none; 
    border: none;
}

.legal-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: var(--text-pink);
    opacity: 0.6;
    line-height: 1.6;
}

.legal-footer p {
    margin-bottom: 5px;
}

.center-layout .contacts-section {
    margin-bottom: 20px;
    margin-top: 30px;
}

.center-layout .legal-footer {
    width: 100%;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); 
}

/* --- Стили для Дисклеймера (надпись под иконкой) --- */
.privacy-notice {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    line-height: 1.4;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Open Sans', sans-serif;
}

.privacy-notice a {
    color: var(--text-pink);
    text-decoration: underline;
    transition: color 0.3s;
}

.privacy-notice a:hover {
    color: white;
}


/* --- Стили для Страницы Политики (policy.html) --- */
.policy-document {
    /* Используем стиль матового стекла, как у прайс-листа */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    color: #ddd;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 50px;
    text-align: left;
}

.policy-document h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--text-pink);
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.policy-document h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--text-pink);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-document ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.policy-document li {
    margin-bottom: 5px;
}

/* --- Чтобы не синел текст у сафари --- */
a[x-apple-data-detectors] {
    color: inherit !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .price-list {
        padding: 30px 15px;
        height: auto;
        min-height: 600px;
    }

    .separator-line {
        margin: 20px auto;
        width: 40%;
    }

    .photo-frame-large {
        width: 100%;
        max-width: 100%;
    }
    
    .price-item {
        font-size: 0.8rem;
    }

    .service-cost {
        margin-left: 20px;
        font-size: 0.9rem;
    }
    
    .contact-phone {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .contact-phone a {
        margin-left: 0;
        font-size: 1.4rem;
        border-bottom: 1px solid rgba(238, 196, 196, 0.5);
    }
}
/* Адаптив для политики на телефоне */
@media (max-width: 768px) {
    .policy-document {
        padding: 20px;
        font-size: 0.85rem;
    }
}