/* ================== СТИЛИ НАВИГАЦИОННОЙ СТРОКИ ПУТИ ================== */

.tattoo-page-path {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-family: 'Bellota Text', system-ui, sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    width: 100%;
    margin-top: 20px;
    padding: 0 115px; /* Добавлены поля */
}

.tattoo-page-path .path-link {
    color: rgba(225, 219, 232, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    padding: 2px 6px;
    border-radius: 4px;
}

.tattoo-page-path .path-link:hover {
    color: #a300ff;
}

.tattoo-page-path .path-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
}

.tattoo-page-path .path-current {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

/* === БЛОК FAQ === */

/* Контейнер блока */
.tattoo-service-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 40px 60px; /* Добавлены поля со всех сторон */
    position: relative;
    z-index: 10;
}

.tattoo-service-wrapper {
    width: 100%;
}

/* Заголовок */
.tattoo-service-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
    position: relative;
    padding-left: 0; /* Убираем левый отступ при центрировании */
    padding-right: 0;
    text-align: center; /* Центрируем заголовок */
}

/* Контейнер для FAQ-карточек */
.tattoo-content-container {
    display: block;
    height: auto;
    padding: 0 20px; /* Добавлены поля по бокам */
}

/* Подтемы FAQ */
.faq-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(163, 0, 255, 0.7);
}

.faq-subtitle:first-child {
    margin-top: 0;
}

/* Карточки FAQ - СТЕКЛЯННЫЙ СТИЛЬ как у кнопки */
.faq-card {
    background: rgba(23, 19, 33, 0.299);
    /* Убираем backdrop-filter из основного элемента */
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease;
    /* Создаем новый контекст наложения */
    transform: translateZ(0);
}

/* Добавляем размытие через псевдоэлемент */
.faq-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 19, 33, 0.299);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    z-index: -1;
}

/* Эффект свечения по краям для карточки */
.faq-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.2) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.faq-card:hover {
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-3px) translateZ(0);
    box-shadow: 
        0 10px 25px rgba(255, 255, 255, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.05);
}

/* Вопрос - СТЕКЛЯННЫЙ СТИЛЬ */
.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.faq-question:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.2) 100%
    );
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    flex: 1;
}

.faq-icon {
    color: #fff;
    font-size: 20px;
    transition: transform 0.3s ease;
    margin-left: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-card.active .faq-icon {
    transform: rotate(45deg);
}

/* Ответ - СТЕКЛЯННЫЙ ФОН */
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background: rgba(23, 19, 33, 0.5);
    /* Убираем backdrop-filter из основного элемента */
    border-radius: 0 0 12px 12px;
    position: relative;
    z-index: 1;
}

/* Добавляем размытие для ответа через псевдоэлемент */
.faq-answer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 19, 33, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 0 0 12px 12px;
    z-index: -1;
}

.faq-answer p {
    padding: 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 16px;
    padding: 20px 0 20px;
    position: relative;
    z-index: 1;
}

.faq-card.active .faq-answer {
    max-height: 500px;
    padding: 0 20px;
}


/* === АДАПТИВНОСТЬ === */

@media (max-width: 1040px) {
    .tattoo-page-path {
        padding: 0 30px;
        font-size: 15px;
        margin-bottom: 12px;
        justify-content: center;
    }
    
    .tattoo-service-section {
        padding: 30px 30px 50px;
    }
    
    .tattoo-service-title {
        font-size: 36px;
        text-align: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 1024px) {
    .tattoo-content-container {
        padding: 0 15px;
    }
    
    .glass-background {
        padding: 30px;
    }
    
    .faq-subtitle {
        font-size: 26px;
    }
    
    .faq-question h3 {
        font-size: 17px;
    }
    
    .faq-answer p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .tattoo-page-path {
        padding: 0 20px;
        font-size: 14px;
        margin-bottom: 10px;
        margin-top: 10px;
    }
    
    .tattoo-service-section {
        padding: 30px 20px 40px;
    }
    
    .tattoo-service-title {
        font-size: 34px;
        margin-bottom: 40px;
    }
    
    .tattoo-content-container {
        padding: 0 10px;
    }
    
    .glass-background {
        padding: 25px;
    }
    
    .faq-subtitle {
        font-size: 24px;
        margin: 30px 0 15px;
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
    
    .tattoo-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }
    
    .btn-portfolio,
    .btn-appointment {
        width: 100%;
        max-width: 300px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .tattoo-page-path {
        padding: 0 15px;
        font-size: 13px;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .tattoo-service-section {
        padding: 20px 15px 30px;
    }
    
    .tattoo-service-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .glass-background {
        padding: 20px;
        border-radius: 16px;
    }
    
    .faq-subtitle {
        font-size: 22px;
        margin: 25px 0 12px;
    }
    
    .faq-question h3 {
        font-size: 15px;
    }
    
    .faq-icon {
        width: 25px;
        height: 25px;
        font-size: 18px;
        margin-left: 10px;
    }
    
    .faq-answer p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .btn-portfolio,
    .btn-appointment {
        padding: 10px 20px;
        font-size: 16px;
        min-width: auto;
    }
}

@media (max-width: 360px) {
    .tattoo-page-path {
        padding: 0 10px;
        font-size: 12px;
    }
    
    .tattoo-service-section {
        padding: 15px 10px 25px;
    }
    
    .tattoo-service-title {
        font-size: 24px;
    }
    
    .glass-background {
        padding: 18px 15px;
    }
    
    .faq-subtitle {
        font-size: 20px;
    }
    
    .faq-question h3 {
        font-size: 14px;
    }
    
    .faq-answer p {
        font-size: 12px;
    }
    
    .btn-portfolio,
    .btn-appointment {
        padding: 8px 16px;
        font-size: 14px;
    }
}