/**
 * Дополнительные стили темы Санэк
 * Тестовый сайт: https://sanek.zabota-64.ru/
 * По мотивам lab-ecostar.ru
 */

/* ===== Header ===== */
.site-header {
    background: white !important;
    padding: 15px 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
}

.header-wrapper {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 30px !important;
    flex-wrap: nowrap !important;
}

.site-branding {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex-shrink: 0 !important;
    min-width: 200px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.site-title {
    margin: 0;
    font-size: 1.5em;
    color: #000;
}

.site-title a {
    color: #000;
    text-decoration: none;
}

.site-description {
    margin: 0;
    font-size: 0.9em;
    color: #666;
    display: none;
}

@media (min-width: 768px) {
    .site-description {
        display: block;
    }
}

/* ===== Навигация ===== */
.main-navigation {
    flex: 1;
    display: block !important;
}

#primary-menu,
.menu {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 25px !important;
    align-items: center !important;
    flex-wrap: wrap;
}

#primary-menu li,
.menu li {
    position: relative;
    margin: 0 !important;
    list-style: none !important;
}

#primary-menu a,
.menu a {
    color: #333 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 10px 15px !important;
    display: block !important;
    transition: all 0.3s ease !important;
    white-space: nowrap;
    border-radius: 5px;
}

#primary-menu a:hover,
.menu a:hover {
    color: #FF6600 !important;
    background: #fff8f0;
}

.menu-item-has-children > a {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.dropdown-arrow {
    font-size: 0.7em !important;
    transition: transform 0.3s ease !important;
    margin-left: 5px;
}

.menu-item-has-children:hover .dropdown-arrow {
    transform: rotate(180deg);
}

#primary-menu .sub-menu,
.menu .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: white !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    border-radius: 8px !important;
    min-width: 280px !important;
    padding: 10px 0 !important;
    margin-top: 5px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    list-style: none !important;
    z-index: 1000 !important;
    display: block !important;
    flex-direction: column !important;
}

.menu-item-has-children:hover .sub-menu,
#primary-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.sub-menu li {
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

.sub-menu a {
    padding: 12px 20px !important;
    display: block !important;
    color: #333 !important;
    font-size: 0.95em !important;
    white-space: normal !important;
    border-radius: 0 !important;
}

.sub-menu a:hover {
    background: #f8f8f8 !important;
    color: #FF6600 !important;
}

.header-phone {
    flex-shrink: 0;
}

.phone-link {
    color: #FF6600;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    white-space: nowrap;
}

.phone-link:hover {
    text-decoration: underline;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .menu {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-wrap: wrap;
        position: relative;
    }
    
    .main-navigation {
        order: 3;
        width: 100%;
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 20px;
    }
    
    .main-navigation.active {
        display: block !important;
    }
    
    #primary-menu,
    .menu {
        flex-direction: column !important;
        gap: 0 !important;
        align-items: stretch !important;
    }
    
    #primary-menu li,
    .menu li {
        width: 100% !important;
        border-bottom: 1px solid #e0e0e0;
    }
    
    #primary-menu li:last-child,
    .menu li:last-child {
        border-bottom: none;
    }
    
    #primary-menu a,
    .menu a {
        padding: 15px !important;
        width: 100% !important;
    }
    
    .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        margin-top: 0 !important;
        padding-left: 20px !important;
        background: #f8f8f8 !important;
        border-radius: 0 !important;
        min-width: auto !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .site-description {
        display: none;
    }
    
    .header-phone {
        order: 2;
    }
}

/* ===== Hero секция ===== */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #808080 0%, #FF6600 50%, #000 100%);
    color: white;
    padding: 80px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23FFD700" width="1200" height="600"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-contacts {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1.1em;
}

.hero-contacts a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
}

.hero-contacts a:hover {
    text-decoration: underline;
}

/* ===== Кнопки ===== */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #FF6600;
    color: white;
}

.btn-primary:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
    background: #000;
    color: white;
}

.btn-secondary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-service {
    background: #FF6600;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
}

.btn-service-outline {
    background: transparent;
    color: #FF6600;
    border: 2px solid #FF6600;
    padding: 10px 20px;
    font-size: 14px;
}

.btn-service-outline:hover {
    background: #FF6600;
    color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ===== Секции ===== */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #000;
    font-weight: bold;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF6600, #FFD700);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== Слайдер услуг ===== */
.services-slider-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
    padding: 80px 0;
    position: relative;
}

.services-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.services-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

@media (max-width: 768px) {
    .services-slider-wrapper {
        padding: 0 20px;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-prev {
        left: 5px;
    }
    
    .slider-next {
        right: 5px;
    }
}

.services-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-slider::-webkit-scrollbar {
    display: none;
}

.service-slide {
    flex: 0 0 280px;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6600, #FFD700);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.2);
    border-color: #FF6600;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon {
    font-size: 3.5em;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.service-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-thumbnail {
    opacity: 1;
}

.service-card:hover .service-icon {
    opacity: 0;
}

.service-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-title {
    font-size: 1.2em;
    margin-bottom: 12px;
    color: #000;
    font-weight: bold;
    line-height: 1.3;
    min-height: 2.6em;
}

.service-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: #FF6600;
}

.service-price {
    font-size: 1.4em;
    font-weight: bold;
    color: #FF6600;
    margin-bottom: 15px;
    text-align: center;
}

.price-value {
    font-size: 1.2em;
    color: #000;
}

.service-excerpt {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
    font-size: 0.9em;
    text-align: center;
    min-height: 3.5em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-service {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
}

.btn-service-outline {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-prev,
.slider-next,
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #FF6600;
    border: 2px solid #FF6600;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

.slider-prev:hover,
.slider-next:hover,
.carousel-prev:hover,
.carousel-next:hover {
    background: #FF6600;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}

/* ===== Преимущества ===== */
.advantages-section {
    background: white;
    position: relative;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: #fafafa;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advantage-item:hover {
    background: white;
    border-color: #FF6600;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 102, 0, 0.15);
}

.advantage-icon {
    font-size: 3.5em;
    color: #FF6600;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(255, 102, 0, 0.2));
}

.advantage-title {
    font-size: 1.2em;
    color: #333;
    line-height: 1.5;
    font-weight: 600;
}

.achievements-counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 50px;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: 15px;
    margin-top: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.counter-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.counter-number {
    font-size: 3em;
    font-weight: bold;
    color: #FF6600;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(255, 102, 0, 0.2);
}

.counter-text {
    font-size: 1.1em;
    color: #666;
    font-weight: 500;
}

/* ===== Лицензии ===== */
.licenses-section {
    background: #f8f8f8;
}

.licenses-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.licenses-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
    scrollbar-width: none;
}

.license-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

/* ===== Как мы работаем ===== */
.how-we-work-section {
    background: white;
}

.steps-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #FF6600;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-content {
    padding: 0 15px;
}

.step-title {
    font-size: 1.3em;
    color: #000;
    margin-bottom: 10px;
    font-weight: bold;
}

.step-desc {
    color: #666;
    line-height: 1.6;
}

.step-connector {
    position: absolute;
    top: 40px;
    right: -15px;
    font-size: 2em;
    color: #FF6600;
}

/* ===== Отзывы ===== */
.reviews-section {
    background: #f8f8f8;
}

.reviews-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-header h4 {
    margin: 0;
    color: #000;
}

.review-rating {
    color: #FFD700;
    font-size: 1.2em;
}

.review-content {
    color: #666;
    line-height: 1.6;
}

.review-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.review-form-wrapper h3 {
    margin-top: 0;
    color: #000;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    margin-top: 15px;
    color: #999;
    font-size: 0.9em;
}

/* ===== Калькулятор ===== */
.calculator-section {
    background: white;
}

.calculator-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-form {
    background: #f8f8f8;
    padding: 40px;
    border-radius: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkbox-label:hover {
    background: #f0f0f0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.service-price-label {
    color: #FF6600;
    font-weight: bold;
    margin-left: auto;
}

.calculator-result {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    border: 2px solid #FF6600;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.result-total {
    font-size: 1.5em;
    font-weight: bold;
    color: #FF6600;
    padding-top: 15px;
    border-top: 2px solid #ddd;
    margin-top: 15px;
}

/* ===== FAQ ===== */
.faq-section {
    background: #f8f8f8;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f8f8;
}

.faq-question h3 {
    margin: 0;
    color: #FF6600;
    font-size: 1.2em;
    flex: 1;
}

.faq-toggle {
    font-size: 2em;
    color: #FF6600;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== Наша команда ===== */
.team-section {
    background: white;
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    background: #f8f8f8;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    background: white;
}

.team-photo {
    margin-bottom: 20px;
}

.team-photo-placeholder {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6600, #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4em;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.team-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.team-name {
    font-size: 1.3em;
    color: #000;
    margin-bottom: 8px;
    font-weight: bold;
}

.team-position {
    color: #FF6600;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.team-experience {
    color: #666;
    font-size: 0.95em;
}

/* ===== Контакты ===== */
.contacts-section {
    background: white;
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.contact-info h3 {
    color: #FF6600;
    margin-top: 30px;
    margin-bottom: 15px;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    color: #666;
    line-height: 1.8;
}

.contact-info a {
    color: #FF6600;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form-wrapper h3 {
    color: #000;
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-form {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.contact-form-wrapper h3 {
    color: #000;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.contact-form-wrapper > p {
    color: #666;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    border-color: #FF6600;
    background: #fff8f0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
    cursor: pointer;
}

.calculator-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.review-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.map-placeholder {
    text-align: center;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 8px;
    color: #999;
}

/* ===== Адаптивность ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.2em;
    }
    
    .steps-timeline {
        flex-direction: column;
    }
    
    .step-connector {
        display: none;
    }
    
    .reviews-content {
        grid-template-columns: 1fr;
    }
    
    .contacts-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .services-slider-wrapper {
        padding: 0 20px;
    }
    
    .service-slide {
        flex: 0 0 260px;
    }
    
    .service-icon {
        font-size: 3em;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-counters {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .contact-form,
    .calculator-form,
    .review-form {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .achievements-counters {
        grid-template-columns: 1fr;
    }
}

/* ===== Лендинг услуги ===== */
.service-landing {
    background: #fff;
}

/* Hero услуги */
.service-hero {
    background: linear-gradient(135deg, #808080 0%, #FF6600 50%, #000 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.service-hero-title {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
}

.service-hero-price {
    font-size: 2em;
    margin-bottom: 20px;
}

.price-big {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.service-hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.service-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.service-hero-contacts {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1.1em;
}

.contact-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    color: #FFD700;
    text-decoration: none;
}

/* Преимущества услуги */
.service-benefits {
    background: #f8f8f8;
    padding: 60px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: #FF6600;
    box-shadow: 0 5px 25px rgba(255, 102, 0, 0.2);
}

.benefit-icon {
    font-size: 3em;
    color: #FF6600;
    margin-bottom: 15px;
}

.benefit-item p {
    margin: 0;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
}

/* Цена и условия */
.service-pricing {
    background: white;
    padding: 60px 0;
}

.pricing-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #FF6600;
    text-align: center;
}

.pricing-title {
    font-size: 2em;
    color: #000;
    margin-bottom: 30px;
}

.pricing-main {
    margin-bottom: 30px;
}

.pricing-amount {
    font-size: 2.5em;
    font-weight: bold;
    color: #FF6600;
    margin-bottom: 15px;
}

.pricing-discount {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 20px;
}

.pricing-note {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #FF6600;
}

.pricing-note p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Что это + Для чего */
.service-about {
    background: #f8f8f8;
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-item {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.about-item h2 {
    color: #FF6600;
    font-size: 1.8em;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #FF6600;
}

.about-content {
    color: #666;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 15px;
}

/* Что входит */
.service-includes {
    background: white;
    padding: 60px 0;
}

.includes-content {
    max-width: 900px;
    margin: 0 auto 40px;
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
    line-height: 1.8;
    color: #666;
}

.stages-list {
    max-width: 900px;
    margin: 0 auto;
}

.stages-list h3 {
    color: #000;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.stages-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stages-ul li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #f8f8f8;
    border-left: 4px solid #FF6600;
    border-radius: 5px;
    position: relative;
    padding-left: 50px;
}

.stages-ul li::before {
    content: '✓';
    position: absolute;
    left: 20px;
    color: #FF6600;
    font-weight: bold;
    font-size: 1.2em;
}

/* Нормативная база */
.service-regulations {
    background: #f8f8f8;
    padding: 60px 0;
}

.regulations-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.regulations-content > p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
}

.regulations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.regulations-list li {
    padding: 12px 15px;
    margin-bottom: 8px;
    background: #f8f8f8;
    border-left: 3px solid #FF6600;
    border-radius: 5px;
    color: #666;
}

/* Штрафы */
.service-penalties {
    background: #fff5f5;
    padding: 60px 0;
    border-top: 3px solid #ff4444;
    border-bottom: 3px solid #ff4444;
}

.penalties-warning {
    max-width: 900px;
    margin: 0 auto 30px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(255, 68, 68, 0.2);
    border: 2px solid #ff4444;
    display: flex;
    align-items: center;
    gap: 20px;
}

.warning-icon {
    font-size: 3em;
    flex-shrink: 0;
}

.warning-text {
    font-size: 1.2em;
    color: #333;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

.penalties-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.penalties-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Документы */
.service-documents {
    background: white;
    padding: 60px 0;
}

.documents-content {
    max-width: 900px;
    margin: 0 auto;
    background: #f8f8f8;
    padding: 40px;
    border-radius: 12px;
}

.documents-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.documents-list li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: white;
    border-left: 4px solid #FF6600;
    border-radius: 5px;
    position: relative;
    padding-left: 50px;
}

.documents-list li::before {
    content: '📄';
    position: absolute;
    left: 20px;
    font-size: 1.2em;
}

/* Галерея */
.service-gallery {
    background: #f8f8f8;
    padding: 60px 0;
}

.gallery-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    color: #999;
}

/* Форма заказа */
.service-order-form {
    background: linear-gradient(135deg, #808080 0%, #FF6600 100%);
    padding: 80px 0;
    color: white;
}

.order-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.order-form-content {
    background: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    color: #333;
}

.order-form-content h2 {
    color: #000;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 2em;
}

.order-form-content > p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.service-order-form-element {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 10px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

/* Похожие услуги */
.related-services {
    background: #f8f8f8;
    padding: 60px 0;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.related-service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.related-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 102, 0, 0.2);
}

.related-service-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.related-service-card h3 a {
    color: #FF6600;
    text-decoration: none;
    font-size: 1.3em;
}

.related-service-card h3 a:hover {
    text-decoration: underline;
}

.related-price {
    font-size: 1.5em;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.related-service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Калькулятор мини */
.service-calculator-mini {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.calculator-mini {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f8f8;
    padding: 40px;
    border-radius: 12px;
}

.calculator-mini p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1em;
}

/* FAQ на странице услуги */
.service-faq {
    background: white;
    padding: 60px 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f8f8;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #FF6600;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #fff8f0;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5em;
    color: #FF6600;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f8f8;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.8;
}

/* Стили для форм */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6600;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.checkbox-label:hover {
    border-color: #FF6600;
    background: #fff8f0;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #FF6600;
}

.checkbox-label span {
    color: #333;
    font-weight: 500;
}

.form-note {
    margin-top: 15px;
    text-align: center;
    color: #999;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1em;
    font-weight: 600;
}

/* Калькулятор мини */
.service-calculator-mini {
    background: white;
    padding: 60px 0;
    text-align: center;
}

.calculator-mini {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f8f8;
    padding: 40px;
    border-radius: 12px;
}

.calculator-mini p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1em;
}

/* Адаптивность для лендинга */
@media (max-width: 768px) {
    .service-hero {
        padding: 60px 0;
    }
    
    .service-hero-title {
        font-size: 2em;
    }
    
    .service-hero-price {
        font-size: 1.5em;
    }
    
    .service-hero-subtitle {
        font-size: 1.1em;
    }
    
    .service-hero-cta {
        flex-direction: column;
    }
    
    .service-hero-contacts {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .order-form-content {
        padding: 30px 20px;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .related-services-grid {
        grid-template-columns: 1fr;
    }
}
