:root {
    --pink: #FF3199;
    --menu-bg: #193A47;
    --contact-bg: rgba(0, 0, 0, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'PT Sans', sans-serif; }

body { 
    background-color: #555555;
    background-image: url('images/grey_wash_wall.jpg');
    background-repeat: repeat;
    padding: 40px 10px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
}

/* --- ШАПКА И ЛОГОТИП --- */
.header-wrapper { position: relative; width: 100%; display: block; }
.header-banner { width: 100%; display: block; }
.header-logo { position: absolute; top: 50%; left: 5%; transform: translateY(-50%); max-width: 50%; height: auto; z-index: 10; }

.contact-bar { background-color: #333; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; font-size: 18px; }
.contact-bar a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.contact-bar a:hover { text-decoration: underline; }

/* --- МЕНЮ --- */
.hamburger { display: none; background-color: var(--pink); color: #fff; padding: 15px; text-align: center; font-size: 20px; cursor: pointer; font-weight: bold; letter-spacing: 1px; }
.hamburger:hover { background-color: #e01f80; }

.top-menu { display: flex; background-color: var(--menu-bg); list-style: none; transition: 0.3s; }
.top-menu li { flex: 1; }
.top-menu a { display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px 5px; color: #fff; text-decoration: none; font-size: 16px; border-right: 1px solid #112a34; height: 100%; }
.top-menu a.active { background-color: var(--pink); border-radius: 0 0 10px 0; }
.top-menu a:hover:not(.active) { background-color: #6B6B6B; }

/* --- ГЛАВНАЯ СТРАНИЦА (ETUSIVU) --- */
.content-area { display: flex; padding: 40px; gap: 40px; align-items: flex-start; }
.profile-photo { width: 288px; border-radius: 100px; object-fit: cover; }
.intro-text { flex: 1; font-size: 22px; line-height: 1.4; color: #333; margin-top: 20px; }

/* --- ВНУТРЕННИЕ СТРАНИЦЫ ОПИСАНИЯ --- */
.page-content { padding: 40px; }
.page-title { color: var(--menu-bg); margin-bottom: 30px; border-bottom: 2px solid var(--pink); padding-bottom: 10px; font-size: 28px; text-transform: uppercase; }
.content-split { display: flex; gap: 40px; align-items: flex-start; }
.text-column { flex: 1; }
.procedure-block { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px dashed #eee; }
.procedure-block:last-child { border-bottom: none; }
.procedure-block h3 { color: var(--pink); margin-bottom: 10px; font-size: 22px; }
.procedure-block p { font-size: 18px; line-height: 1.6; color: #333; }
.image-column { width: 350px; }
.image-column img { width: 100%; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); margin-bottom: 20px; object-fit: cover;}

/* --- КНОПКИ --- */
.btn-book { display: inline-block; background-color: var(--pink); color: #ffffff; text-decoration: none; padding: 15px 40px; border-radius: 40px; font-size: 20px; font-weight: bold; margin-top: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: 0.2s; }
.btn-book:hover { background-color: #e01f80; transform: scale(1.02); }

/* --- ПРАЙС-ЛИСТ (АККОРДЕОН) --- */
.price-section { padding: 0 40px 40px 40px; }
.price-section h2 { font-size: 24px; color: var(--menu-bg); margin-bottom: 20px; }
details.price-category { margin-bottom: 15px; }
summary.price-header { font-size: 20px; color: var(--pink); text-transform: uppercase; padding: 15px 0; cursor: pointer; font-weight: bold; list-style: none; border-bottom: 2px solid var(--pink); position: relative; outline: none; user-select: none; }
summary.price-header::-webkit-details-marker { display: none; }
summary.price-header::after { content: '▼'; position: absolute; right: 10px; font-size: 16px; color: var(--menu-bg); transition: transform 0.3s ease; }
details[open] summary.price-header::after { transform: rotate(180deg); }
.price-list-items { padding: 10px 0 20px 0; animation: fadeIn 0.4s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.price-row { display: flex; justify-content: space-between; border-bottom: 1px dashed #ccc; padding: 10px 0; font-size: 18px; }
.price-name { font-weight: bold; color: #333; }
.price-val { color: var(--pink); font-weight: bold; }

/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ (ТЕЛЕФОНЫ)
   ========================================= */
@media (max-width: 768px) {
    /* ПОЛНОСТЬЮ УБИРАЕМ СЕРЫЙ ФОН НА ТЕЛЕФОНАХ */
    body { 
        padding: 0; 
        background: #ffffff; /* Заливаем фон белым цветом */
    } 
    
    .container {
        box-shadow: none; /* Убираем тень, так как краев больше нет */
        min-height: 100vh; /* Заставляем белый блок растянуться минимум на 100% высоты экрана */
        margin: 0;
    }

    .hamburger { display: block; }
    .top-menu { display: none; flex-direction: column; }
    .top-menu.show { display: flex; }
    .top-menu a { border-right: none; border-bottom: 1px solid #112a34; padding: 15px; }
    .top-menu a.active { border-radius: 0; }
    
    .contact-bar { flex-direction: column; gap: 10px; font-size: 16px; }
    
    /* Главная страница (мобильный) */
    .content-area { flex-direction: column; align-items: center; text-align: center; padding: 20px 15px; gap: 15px; }
    .profile-photo { width: 180px; height: 180px; border-radius: 50%; margin-bottom: 5px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
    .intro-text { margin-top: 0; font-size: 18px; }
    .price-section { padding: 0 20px 30px 20px; }
    .price-row { font-size: 16px; }
    summary.price-header { font-size: 18px; padding: 10px 0; }
    
    /* Внутренние страницы (мобильный) */
    .page-content { padding: 20px 15px; }
    .content-split { flex-direction: column-reverse; gap: 20px; }
    .procedure-block h3 { font-size: 20px; }
    .procedure-block p { font-size: 16px; text-align: left; }
    .btn-book { display: block; text-align: center; }
    
    /* СКРЫВАЕМ ФОТО УСЛУГ НА ТЕЛЕФОНАХ */
    .image-column { display: none !important; } 
}