/* 1c35d8782e */
/* === ОСНОВНЫЕ СТИЛИ === */

body {

    margin: 0;

    padding: 0;

    overflow-x: hidden;

    background-color: #f8f9fa;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    color: #333;

}



/* === СТИЛИ ДЛЯ ШАПКИ === */

#grave-header-banner {

    position: relative;

    width: 100%;

    height: 60vh;

    min-height: 350px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    margin: 0 !important;

    padding: 0 !important;

    z-index: 10;

    box-sizing: border-box;

}

.parallax-background {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-image: url('https://ritual-uslugi31.ru/wp-content/uploads/2025/07/IMG_1592-1-scaled.jpg');

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

    z-index: 1;

}

.gradient-overlay {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(to bottom, rgba(25, 42, 61, 0.5), rgba(25, 42, 61, 0.85));

    z-index: 2;

}

.floating-lights-container {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    pointer-events: none;

    overflow: hidden;

    z-index: 3;

}

.floating-star {

    position: absolute;

    background-color: rgba(255, 255, 255, 0.7);

    border-radius: 50%;

    opacity: 0;

    transform: scale(1);

}

@keyframes twinkle {

    0%, 100% { 

        opacity: 0.2; 

        transform: scale(1); 

    }

    50% { 

        opacity: 0.8; 

        transform: scale(1.05); 

    }

}

.content-wrapper {

    position: relative;

    z-index: 4;

    text-align: center;

    padding: 20px;

    max-width: 900px;

    width: 90%;

}

.text-content {

    opacity: 0;

    animation: textAppear 1.5s ease forwards;

    animation-delay: 0.3s;

}

.title {

    font-size: 3rem;

    font-weight: 700;

    color: #efcc4a;

    text-shadow: 0 2px 8px rgba(0,0,0,0.4);

    margin-bottom: 15px;

    line-height: 1.2;

}

.subtitle {

    font-size: 1.6rem;

    color: #fff;

    text-shadow: 0 1px 4px rgba(0,0,0,0.3);

    line-height: 1.5;

    opacity: 0.9;

    max-width: 800px;

    margin-left: auto;

    margin-right: auto;

}

@keyframes textAppear {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* === РАЗДЕЛИТЕЛИ === */

.section-divider {

    display: block;

    width: 100%;

    height: 4px;

    background: linear-gradient(90deg, #192a3d, #efcc4a, #192a3d);

    animation: gradientAnimation 3s ease infinite;

    background-size: 200% 100%;

    margin: 0;

    padding: 0;

}

@keyframes gradientAnimation {

    0% { background-position: 100% 0; }

    100% { background-position: -100% 0; }

}



/* === СЕКЦИЯ УСЛУГ === */

.grave-services-section {

    background: #ffffff;

    padding: 80px 0;

}

.grave-services-section .container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}

.section-header {

    text-align: center;

    margin-bottom: 50px;

}

.section-title {

    font-size: 2.5rem;

    color: #192a3d;

    font-weight: 700;

    margin-bottom: 15px;

    position: relative;

    display: inline-block;

}

.section-title::after {

    content: "";

    position: absolute;

    bottom: -10px;

    left: 50%;

    transform: translateX(-50%);

    width: 100px;

    height: 4px;

    background: #efcc4a;

    border-radius: 2px;

}

.section-description {

    font-size: 1.25rem;

    color: #4a5568;

    max-width: 800px;

    margin: 30px auto 0;

    line-height: 1.6;

}

.services-grid {

    max-width: 1100px;

    margin: 0 auto;

}

.services-row {

    display: flex;

    justify-content: space-between;

    flex-wrap: wrap;

    margin-bottom: 40px; /* Вертикальный отступ между рядами */

}

.service-card {

    width: calc(50% - 15px); /* Отступы между карточками 30px */

    background: white;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 8px 25px rgba(25, 42, 61, 0.1);

    opacity: 0;

    transform: translateY(30px);

    transition: opacity 0.6s ease, transform 0.6s ease;

    display: flex;

    flex-direction: column;

    margin-bottom: 0;

    

    /* ДОБАВЛЕНЫ ОТСТУПЫ */

    margin-right: 15px; /* Отступ справа */

    margin-left: 15px; /* Отступ слева */

    margin-bottom: 30px; /* Отступ снизу */

}

.service-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 12px 35px rgba(25, 42, 61, 0.15);

}

.image-wrapper {

    height: 300px;

    overflow: hidden;

    flex-shrink: 0;

}

.image-wrapper img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;

}

.service-content {

    padding: 25px;

    background: #fff;

    flex: 1;

    display: flex;

    flex-direction: column;

}

.service-content h3 {

    font-size: 1.5rem;

    color: #192a3d;

    margin-bottom: 15px;

    font-weight: 600;

}

.service-content p {

    font-size: 1.1rem;

    color: #4a5568;

    line-height: 1.6;

    margin-bottom: 20px;

    flex-grow: 1;

}



/* === КНОПКИ "ПОДРОБНЕЕ" С БЛЕСКОМ === */

.service-button {

    display: inline-block;

    position: relative;

    padding: 12px 28px;

    background: linear-gradient(135deg, #efcc4a, #e6b83d);

    color: #192a3d !important;

    text-decoration: none;

    font-size: 1.1rem;

    font-weight: 600;

    border-radius: 6px;

    text-align: center;

    transition: all 0.3s ease;

    border: none;

    cursor: pointer;

    box-shadow: 0 2px 10px rgba(239, 204, 74, 0.3);

    overflow: hidden;

}

.service-button::before {

    content: '';

    position: absolute;

    top: 0;

    left: -100%;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);

    transition: left 0.5s;

    z-index: 1;

}

.service-button:hover::before {

    left: 100%;

}

.service-button:hover {

    background: linear-gradient(135deg, #f7d76a, #efcc4a);

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(239, 204, 74, 0.4);

}

.service-button:active {

    transform: translateY(0);

    box-shadow: 0 2px 8px rgba(239, 204, 74, 0.3);

}



/* === FAQ === */

.grave-faq-section {

    padding: 80px 0;

    background: #f8f9fa;

    position: relative;

}

.grave-faq-section .container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}

.grave-faq-section .section-header {

    text-align: center;

    margin-bottom: 60px;

}

.grave-faq-section .section-title {

    font-size: 2.5rem;

    color: #192a3d;

    font-weight: 700;

    margin-bottom: 15px;

    position: relative;

    display: inline-block;

}

.grave-faq-section .section-title::after {

    content: "";

    position: absolute;

    bottom: -10px;

    left: 50%;

    transform: translateX(-50%);

    width: 100px;

    height: 4px;

    background: #efcc4a;

    border-radius: 2px;

}

.grave-faq-section .section-subtitle {

    font-size: 1.25rem;

    color: #4a5568;

    max-width: 800px;

    margin: 30px auto 0;

    line-height: 1.6;

}

.grave-faq-section .grave-faq {

    max-width: 900px;

    margin: 0 auto;

}

.grave-faq-section .faq-item {

    margin-bottom: 20px;

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);

}

.grave-faq-section .faq-question {

    padding: 20px;

    background: #fff;

    cursor: pointer;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 1.2rem;

    font-weight: 600;

    color: #192a3d;

    transition: all 0.3s ease;

}

.grave-faq-section .faq-question::after {

    content: '+';

    font-size: 1.5rem;

    transition: transform 0.3s ease;

}

.grave-faq-section .faq-question.active {

    background: #efcc4a;

    color: #192a3d;

}

.grave-faq-section .faq-question.active::after {

    transform: rotate(45deg);

}

.grave-faq-section .faq-answer {

    padding: 0 20px;

    max-height: 0;

    overflow: hidden;

    background: #fff;

    transition: max-height 0.3s ease, padding 0.3s ease;

}

.grave-faq-section .faq-answer.active {

    padding: 20px;

    max-height: 300px;

}

.grave-faq-section .faq-answer p {

    margin: 0;

    line-height: 1.6;

    color: #4a5568;

}



/* === КОНСУЛЬТАЦИЯ === */

.grave-consultation-section {

    padding: 80px 0;

    background: #192a3d;

    text-align: center;

    position: relative;

    margin: 0;

    width: 100%;

}

.grave-consultation-section .cta-content {

    position: relative;

    z-index: 2;

    max-width: 700px;

    margin: 0 auto;

    padding: 0 20px;

}

.grave-consultation-section h2 {

    font-size: 2.5rem;

    color: #fff;

    margin-bottom: 15px;

}

.grave-consultation-section p {

    font-size: 1.2rem;

    color: rgba(255,255,255,0.9);

    margin-bottom: 30px;

}

.grave-consultation-section .cta-button {

    display: inline-block;

    padding: 15px 40px;

    background: #efcc4a;

    color: #192a3d !important;

    text-decoration: none;

    font-size: 1.2rem;

    font-weight: 600;

    border-radius: 6px;

    transition: all 0.3s ease;

    border: 2px solid #efcc4a;

}

.grave-consultation-section .cta-button:hover {

    background: #fce772;

    transform: translateY(-3px);

    box-shadow: 0 5px 15px rgba(239, 204, 74, 0.3);

}



/* === АДАПТИВНОСТЬ === */

@media (max-width: 1200px) {

    .title { font-size: 2.6rem; }

    .subtitle { font-size: 1.4rem; }

    .image-wrapper { height: 260px; }

    .service-button {

        padding: 10px 24px;

        font-size: 1rem;

    }

}

@media (max-width: 1024px) {

    .parallax-background { background-attachment: scroll !important; }

    .service-card {

        width: calc(50% - 10px); /* Уменьшаем отступ на планшетах */

        margin-right: 10px; /* Уменьшаем отступы */

        margin-left: 10px;

    }

}

@media (max-width: 992px) {

    #grave-header-banner { height: 50vh; }

    .title { font-size: 2.2rem; }

    .subtitle { font-size: 1.2rem; }

    .section-title { font-size: 2rem; }

    .section-description { font-size: 1.15rem; }

    .image-wrapper { height: 220px; }

    .grave-consultation-section h2 { font-size: 2rem; }

}

@media (max-width: 768px) {

    .services-grid { max-width: 600px; }

    .service-card {

        width: 100%;

        margin-bottom: 30px;

        margin-right: 0;

        margin-left: 0;

    }

    .services-row {

        flex-direction: column;

        margin-bottom: 0;

    }

    .grave-services-section { padding: 60px 0; }

    .section-header { margin-bottom: 40px; }

    .section-divider { height: 3px; }

    .title { font-size: 2rem; }

    .subtitle { font-size: 1.1rem; }

    .grave-consultation-section { padding: 60px 0; }

    .service-content h3 { font-size: 1.4rem; }

    .service-content p { font-size: 1rem; }

    .service-button {

        font-size: 1rem;

        padding: 10px 20px;

    }

}

@media (max-width: 576px) {

    #grave-header-banner { height: 40vh; min-height: 300px; }

    .title { font-size: 1.8rem; }

    .subtitle { font-size: 1rem; }

    .section-title { font-size: 1.7rem; }

    .section-title::after { width: 70px; }

    .section-description { font-size: 1rem; }

    .image-wrapper { height: 250px; }

    .grave-consultation-section h2 { font-size: 1.8rem; }

    .grave-consultation-section p { font-size: 1.1rem; }

    .grave-consultation-section .cta-button { padding: 12px 30px; font-size: 1.1rem; }

    .service-button {

        padding: 12px 24px;

        font-size: 1.05rem;

        width: 100%;

        text-align: center;

    }

}