/* Общие стили */
:root {
    --primary-color: #3A4256; /* Темно-синий */
    --secondary-color: #E57C23; /* Оранжевый */
    --secondary-hover: #C66218; /* Темно-оранжевый */
    --accent-color: #6C5CE7; /* Фиолетовый акцент */
    --bg-color: #F9F9F9; /* Светло-серый фон */
    --text-color: #333333; /* Основной текст */
    --light-text: #666666; /* Светлый текст */
    --white: #FFFFFF; /* Белый */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Тень */
    --border-radius: 10px; /* Скругление углов */
    --transition: all 0.3s ease; /* Плавные переходы */
    --content-width: 1200px; /* Ширина контента */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-hover);
}

.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(229, 124, 35, 0.3);
}

.btn:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 124, 35, 0.4);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Шапка */
header {
    background-color: var(--white);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 80px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav a {
    color: var(--primary-color);
    margin-left: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.desktop-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.desktop-nav a:not(.btn):hover {
    color: var(--secondary-color);
}

.desktop-nav a:not(.btn):hover::after {
    width: 100%;
}

.desktop-nav .btn {
    margin-left: 40px;
}

/* Мобильное меню */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--white);
    z-index: 999;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu a {
    display: block;
    color: var(--primary-color);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    font-weight: 500;
}

.mobile-menu a:hover {
    color: var(--secondary-color);
}

/* Главная секция */
.hero {
    padding-top: 180px;
    padding-bottom: 170px;
    background: linear-gradient(rgba(58, 66, 86, 0.8), rgba(58, 66, 86, 0.9)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center top;
    color: var(--white);
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--bg-color), transparent);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero .btn {
    padding: 15px 40px;
    font-size: 16px;
    margin-top: 20px;
}
.hero .btn:hover {
    color: var(--white);
}

/* Услуги */
.services {
    padding: 70px 0;
    position: relative;
}

.services-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.services-tabs .tab-btn {
    padding: 12px 25px;
    margin: 0 8px 15px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    border: 1px solid rgba(58, 66, 86, 0.2);
    transition: var(--transition);
    font-weight: 500;
    font-size: 15px;
}

.services-tabs .tab-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(58, 66, 86, 0.2);
}

.services-tabs .tab-btn:hover:not(.active) {
    background-color: rgba(58, 66, 86, 0.05);
    transform: translateY(-3px);
}

.service-tab-content {
    display: none;
}

.service-tab-content.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

.service-item {
    padding: 30px;
    margin-bottom: 25px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--secondary-color);
}

.service-item h3 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-item h3 .toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 15px;
}

.service-item h3 .toggle-icon:hover {
    transform: rotate(90deg);
    background-color: var(--primary-color);
}

.service-item h4 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 25px 0 15px;
}

.service-item p {
    margin: 0 0 15px;
    line-height: 1.7;
    color: var(--light-text);
    font-size: 16px;
}

.service-item ul {
    margin: 15px 0;
    padding-left: 20px;
}

.service-item ul li {
    margin-bottom: 10px;
    color: var(--light-text);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    opacity: 0;
}

.accordion-content.active {
    max-height: 3000px;
    opacity: 1;
}

/* Стили для вложенных аккордеонов */
.sub-accordion {
    margin: 15px 0;
    padding-left: 15px;
    border-left: 2px solid var(--secondary-color);
}

.sub-accordion h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.sub-accordion h4 .sub-toggle-icon {
    font-size: 22px;
    color: var(--secondary-color);
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    flex-shrink: 0;
}

.sub-accordion h4 .sub-toggle-icon:hover {
    background-color: var(--secondary-color);
}

.sub-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    opacity: 0;
    padding-left: 10px;
    margin-top: 0;
}

.sub-accordion-content.active {
    max-height: 2000px;
    opacity: 1;
    margin-top: 10px;
}

/* Стили для аккордеонов третьего уровня */
.sub-sub-accordion {
    margin: 10px 0;
    padding-left: 15px;
    border-left: 2px solid var(--accent-color);
}

.sub-sub-accordion h5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 8px 0;
    cursor: pointer;
    transition: var(--transition);
}

.sub-sub-accordion h5 .sub-sub-toggle-icon {
    font-size: 18px;
    color: var(--accent-color);
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.sub-sub-accordion h5 .sub-sub-toggle-icon:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.sub-sub-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    opacity: 0;
    padding-left: 10px;
    margin-top: 0;
}

.sub-sub-accordion-content.active {
    max-height: 1000px;
    opacity: 1;
    margin-top: 5px;
}

/* Преимущества */
.advantages {
    padding: 10px 0;
    background-color: var(--white);
    position: relative;
}

.advantages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--bg-color), transparent);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.advantage-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.5s ease;
    z-index: -1;
    opacity: 0.03;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-card:hover::before {
    height: 100%;
}

.advantage-card i {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.advantage-card:hover i {
    transform: scale(1.1);
}

.advantage-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--light-text);
    font-size: 16px;
    line-height: 1.7;
}

/* Этапы работы */
.workflow {
    padding: 70px 0;
    background-color: var(--bg-color);
    position: relative;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.workflow-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
    max-width: 280px;
}

.workflow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -50px;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, var(--secondary-color), transparent);
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(229, 124, 35, 0.2);
}

.workflow-step:hover .step-number {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

.workflow-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.workflow-step p {
    color: var(--light-text);
    font-size: 16px;
    line-height: 1.7;
}

/* Отзывы */
.testimonials {
    padding: 70px 0;
    background-color: var(--white);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--bg-color), transparent);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.8s ease;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.testimonial-card .quote {
    font-size: 22px;
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    line-height: 1.7;
}

.testimonial-card .quote::before {
    content: '\201C';
    font-size: 70px;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: -30px;
    left: -20px;
    font-family: Georgia, serif;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 20px;
    position: relative;
    display: inline-block;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.testimonial-nav {
    text-align: center;
    margin-top: 30px;
}

.testimonial-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.testimonial-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: var(--transition);
}

.testimonial-nav-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Контакты */
.contact {
    padding: 70px 0;
    background-color: var(--bg-color);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 350px;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    transition: var(--transition);
}

.contact-detail:hover {
    transform: translateX(5px);
}

.contact-detail i {
    font-size: 22px;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-text {
    flex: 1;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-text p, .contact-text a {
    color: var(--light-text);
    font-size: 16px;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--secondary-color);
}

.contact-form {
    flex: 1;
    min-width: 350px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(229, 124, 35, 0.1);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-message {
    margin-top: 20px;
    font-size: 15px;
    text-align: center;
}

.form-message.success {
    color: #28a745;
}

.form-message.error {
    color: #dc3545;
}

/* Футер */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding-right: 30px;
}

.footer-column h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-column ul li a::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
    padding-left: 20px;
}

.footer-column ul li a:hover::before {
    left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.social-media {
    margin-top: 20px;
}

.social-media a {
    display: inline-block;
    margin-right: 15px;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-media a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    color: var(--white);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media (max-width: 992px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .hero {
        padding-top: 130px;
        padding-bottom: 60px;
    }
    
    .services,
    .advantages,
    .workflow,
    .testimonials,
    .contact {
        padding: 60px 0;
    }
    
    .workflow-steps {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .workflow-step {
        flex: 0 0 calc(50% - 30px);
        margin-bottom: 50px;
    }
    
    .workflow-step:not(:last-child)::after {
        display: none;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
        height: 70px;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
        top: 70px;
    }
    
    .hero {
        padding-top: 150px;
        padding-bottom: 80px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 50px;
    }
    
    .service-item {
        padding: 25px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .services,
    .advantages,
    .workflow,
    .testimonials,
    .contact {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 25px;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .services-tabs .tab-btn {
        font-size: 14px;
        padding: 10px 20px;
        margin: 0 5px 10px;
    }
    
    .service-item h3 {
        font-size: 20px;
    }
    
    .service-item h4 {
        font-size: 18px;
        flex-wrap: wrap;
    }
    
    .service-item h4 .sub-toggle-icon {
        margin-top: 5px;
    }
    
    .sub-sub-accordion h5 {
        flex-wrap: wrap;
    }
    
    .sub-sub-accordion h5 .sub-sub-toggle-icon {
        margin-top: 5px;
    }
    
    .testimonial-card .quote {
        font-size: 18px;
    }
    
    .contact-form, .contact-info {
        min-width: 100%;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .footer-column {
        min-width: 100%;
        padding-right: 0;
    }
    
    .service-item {
        padding: 20px;
    }
    
    .advantage-card {
        padding: 25px 15px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
}

/* Стили для отдельных страниц услуг */
.page-header {
    padding-top: 180px;
    padding-bottom: 80px;
    background: linear-gradient(rgba(58, 66, 86, 0.8), rgba(58, 66, 86, 0.9)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.service-content {
    padding: 70px 0;
    background-color: var(--bg-color);
}

.service-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--primary-color);
}

.service-item-page {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    overflow: hidden;
}

.service-item-page h2 {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px 30px;
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.content-block {
    padding: 30px;
}

.content-block h3 {
    color: var(--secondary-color);
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin: 25px 0 15px;
}

.content-block h3:first-child {
    margin-top: 0;
}

.content-block p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--light-text);
}

.content-block ul {
    margin: 15px 0;
    padding-left: 20px;
}

.content-block ul li {
    margin-bottom: 10px;
    color: var(--light-text);
    position: relative;
}

.cta-block {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-top: 50px;
    text-align: center;
}

.cta-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.cta-block ul {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 30px;
    padding-left: 20px;
}

.cta-block ul li {
    margin-bottom: 10px;
}

.cta-block .btn {
    background-color: var(--white);
    color: var(--primary-color);
    font-size: 16px;
    padding: 15px 40px;
}

.cta-block .btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Адаптивные стили для страниц услуг */
@media (max-width: 992px) {
    .page-header {
        padding-top: 150px;
        padding-bottom: 60px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .service-item-page h2 {
        font-size: 22px;
        padding: 15px 25px;
    }
    
    .content-block {
        padding: 25px;
    }
    
    .cta-block {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding-top: 120px;
    }
    
    .page-header h1 {
        font-size: 30px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .service-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .page-header h1 {
        font-size: 26px;
    }
    
    .service-item-page h2 {
        font-size: 20px;
        padding: 15px 20px;
    }
    
    .content-block {
        padding: 20px;
    }
    
    .content-block h3 {
        font-size: 18px;
    }
    
    .cta-block {
        padding: 25px 20px;
    }
    
    .cta-block h2 {
        font-size: 22px;
    }
} 