/* Reset and Base Styles */
:root {
    --primary-color: #6366F1; /* Мягкий индиго */
    --secondary-color: #06B6D4; /* Мягкий циан */
    --accent-color: #8B5CF6; /* Мягкий фиолетовый для акцентов */
    --success-color: #10B981; /* Мягкий зеленый */
    --warning-color: #F59E0B; /* Мягкий оранжевый */
    --white-color: #FFFFFF;
    --light-gray-color: #F8FAFC;
    --medium-gray-color: #E2E8F0;
    --dark-gray-color: #64748B;
    --dark-color: #1E293B;
    --font-family: 'Montserrat', sans-serif;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Отступ для якорных ссылок с учетом фиксированного хедера */
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--dark-gray-color);
    background-color: var(--white-color);
    line-height: 1.7;
    padding-top: 70px; /* Отступ для фиксированного хедера */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

main {
    flex-grow: 1;
}

section {
    padding: 80px 0;
    text-align: center;
}

/* Дополнительная защита для якорных ссылок */
section[id] {
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn--primary {
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
    background: #4F46E5;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn--secondary {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.btn--secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}


/* Header */
.header {
    background-color: var(--white-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.header__menu a {
    text-decoration: none;
    color: var(--dark-gray-color);
    font-weight: 500;
    transition: var(--transition);
}

.header__menu a:hover {
    color: var(--primary-color);
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__phone {
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
}

/* Main Screen */
.main-screen {
    padding-top: 150px; /* header height + padding */
    padding-bottom: 80px;
    background-color: var(--light-gray-color);
    text-align: left;
}

.main-screen__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.main-screen__left {
    max-width: 50%;
}

.main-screen__title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.main-screen__subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.main-screen__right {
    width: 450px;
    flex-shrink: 0;
}

/* Forms */
.form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.form__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.form__subtitle {
    margin-bottom: 30px;
}

.form__group {
    margin-bottom: 20px;
    text-align: left;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 0, 224, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__agreement {
    font-size: 0.8rem;
    color: #aaa;
    margin-top: 20px;
}

/* Pricing Section */
.pricing {
    background-color: var(--white-color);
}

.pricing-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-item {
    background-color: var(--light-gray-color);
    padding: 40px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: left;
}

.pricing-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.pricing-item__title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pricing-item__price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.pricing-item__description {
    font-size: 1rem;
}

/* Стили для примеров элементов */

/* Pricing Card */
.pricing-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    max-width: 350px;
    margin: 0 auto;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card__header {
    margin-bottom: 25px;
}

.pricing-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.pricing-card__price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-card__features {
    list-style: none;
    margin-bottom: 25px;
}

.pricing-card__features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-card__features li:last-child {
    border-bottom: none;
}

/* Pricing Grid - новый дизайн */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

/* Маленькие карточки цен */
.pricing-card-small {
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 18px 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.pricing-card-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.pricing-card-small__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.2;
}

.pricing-card-small__price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pricing-card-small__description {
    font-size: 0.8rem;
    color: var(--dark-gray-color);
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}

.pricing-cta {
    text-align: center;
    margin-top: 40px;
}

/* Quick Quote Section */
.quick-quote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.quick-quote-form {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.quick-quote-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr auto;
    gap: 20px;
    align-items: end;
}

.quick-quote-form__field {
    display: flex;
    flex-direction: column;
}

.quick-quote-form__field--wide {
    grid-column: span 1;
}

.quick-quote-form__field--button {
    display: flex;
    align-items: flex-end;
}

.quick-quote-form__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.quick-quote-form__input,
.quick-quote-form__textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    resize: none;
}

.quick-quote-form__input:focus,
.quick-quote-form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 0, 224, 0.1);
}

.quick-quote-form__textarea {
    min-height: 60px;
    font-family: inherit;
}

.quick-quote-form__submit {
    padding: 12px 30px;
    font-size: 1rem;
    white-space: nowrap;
}

/* Адаптивность для quick-quote формы */
@media (max-width: 1024px) {
    .quick-quote-form__row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .quick-quote-form__field--wide {
        grid-column: span 1;
    }
    
    .quick-quote-form__field--button {
        grid-column: span 2;
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .quick-quote-form {
        padding: 30px 20px;
    }
    
    .quick-quote-form__row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .quick-quote-form__field--wide,
    .quick-quote-form__field--button {
        grid-column: span 1;
    }
      .quick-quote-form__label {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .quick-quote-form__input,
    .quick-quote-form__textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
}

/* Projects Section */
.projects {
    background-color: var(--light-gray-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Project Card */
.project-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-card__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 200px;
}

.project-card__before,
.project-card__after {
    position: relative;
    overflow: hidden;
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card__img:hover {
    transform: scale(1.05);
}

.project-card__label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card__label--before {
    background: rgba(255, 87, 87, 0.9);
    color: var(--white-color);
}

.project-card__label--after {
    background: rgba(76, 175, 80, 0.9);
    color: var(--white-color);
}

.project-card__content {
    padding: 20px;
}

.project-card__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.project-card__description {
    color: var(--dark-gray-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.project-card__details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    gap: 10px;
}

.project-card__time {
    background: rgba(74, 0, 224, 0.1);
    color: var(--primary-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.project-card__area {
    background: rgba(0, 201, 167, 0.1);
    color: var(--secondary-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

/* Адаптивность для проектов */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .project-card__images {
        height: 180px;
    }
    
    .project-card__content {
        padding: 15px;
    }
    
    .project-card__title {
        font-size: 1.1rem;
    }
    
    .project-card__description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .project-card__images {
        height: 150px;
    }
    
    .project-card__details {
        flex-direction: column;
        gap: 8px;
    }
    
    .project-card__time,
    .project-card__area {
        text-align: center;
    }
}

/* Benefits Section */
.benefits {
    background-color: var(--white-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Benefit Card */
.benefit-card {
    text-align: center;
    padding: 20px 15px;
    background: var(--light-gray-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.benefit-card__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--white-color);
}

.benefit-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.benefit-card__description {
    color: var(--dark-gray-color);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* P.S. блок для проектов */
.projects-ps {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(74, 0, 224, 0.05);
    border-radius: var(--border-radius);
    border: 2px dashed var(--primary-color);
}

.projects-ps__text {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    font-style: italic;
}

/* Адаптивность для преимуществ */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .benefit-card {
        padding: 15px 10px;
    }
    
    .benefit-card__icon {
        width: 50px;
        height: 50px;
    }
    
    .benefit-card__title {
        font-size: 1rem;
    }
    
    .benefit-card__description {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .projects-ps {
        margin-top: 30px;
        padding: 20px 15px;
    }
    
    .projects-ps__text {
        font-size: 1.1rem;
    }
}

/* ===== TESTIMONIALS SECTION - НОВЫЙ БЛОК ОТЗЫВОВ ===== */
.feedback {
    background-color: var(--light-gray-color);
    padding: 80px 0;
}

.testimonials-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px; /* Добавляем отступы для стрелок */
}

.testimonials-container {
    position: relative;
    height: 300px;
    overflow: hidden; /* overflow перенесен сюда */
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    transform: translateX(30px);
}

.testimonial-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-card {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
    box-sizing: border-box;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    flex-shrink: 0;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex-grow: 1;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.testimonial-rating .star {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark-gray-color);
    margin: 0;
}

/* Стрелки навигации */
.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    color: var(--white-color);
    z-index: 100; /* Увеличен z-index */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    outline: none;
}

.testimonial-arrow:hover {
    background: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.testimonial-arrow:active {
    transform: translateY(-50%) scale(1.05);
}

.testimonial-arrow.prev {
    left: 10px; /* Внутри padding области */
}

.testimonial-arrow.next {
    right: 10px; /* Внутри padding области */
}

/* Адаптивные стили для отзывов */
@media (max-width: 768px) {
    .testimonials-wrapper {
        padding: 0 55px; /* Больше места для стрелок */
    }
    
    .testimonial-arrow {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .testimonial-arrow.prev {
        left: 5px;
    }
    
    .testimonial-arrow.next {
        right: 5px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .testimonials-wrapper {
        padding: 0 50px; /* Еще больше места для стрелок */
    }
    
    .testimonial-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .testimonial-arrow.prev {
        left: 5px;
    }
    
    .testimonial-arrow.next {
        right: 5px;
    }
    
    .testimonials-container {
        height: auto;
        min-height: 280px;
    }
}

/* Detailed Form Sections */
.detailed-form, .detailed-form-alt {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.detailed-form .section-title, .detailed-form-alt .section-title {
    color: var(--white-color);
}
.detailed-form .section-title::after, .detailed-form-alt .section-title::after {
    background: var(--white-color);
}

.detailed-form .section-subtitle, .detailed-form-alt .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.horizontal-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    justify-content: center;
    background: none;
    box-shadow: none;
    padding: 0;
}

.horizontal-form .form__group {
    flex: 1 1 250px;
}

.horizontal-form .btn {
    flex-shrink: 0;
}

.detailed-form-alt {
    padding: 60px 0;
    background: var(--light-gray-color);
}

.detailed-form-alt .horizontal-form {
    max-width: 800px;
    margin: 0 auto;
}

.detailed-form-alt .form__input {
    background-color: var(--white-color);
}

.detailed-form-alt .btn {
     background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 201, 167, 0.3);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-answer p {
    padding: 0 20px 20px;
    margin: 0;
}

/* Third Form Section */
.third-form {
    background: url('/images/hero-bg.jpg') no-repeat center center/cover;
    position: relative;
}

.third-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(74, 0, 224, 0.8);
}

.third-form__inner {
    position: relative;
    z-index: 2;
}

.third-form__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 10px;
}

.third-form__subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.third-form .form {
    max-width: 500px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-gray-color);
    padding: 60px 0;
    flex-shrink: 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer__left, .footer__center, .footer__right {
    flex: 1;
    min-width: 250px;
}

.footer__logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white-color);
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
}

.footer__copy {
    color: var(--dark-gray-color);
}

.footer__title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer__menu {
    list-style: none;
}

.footer__menu li {
    margin-bottom: 10px;
}

.footer__menu a {
    text-decoration: none;
    color: var(--dark-gray-color);
    transition: var(--transition);
}

.footer__menu a:hover {
    color: var(--white-color);
}

.footer__right .btn {
    margin-bottom: 20px;
}

.footer__admin-link {
    display: block;
    color: var(--dark-gray-color);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer__admin-link:hover {
    color: var(--white-color);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    background-color: var(--white-color);
    padding: 50px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 95%;
    text-align: center;
    transform: translateY(-50px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-gray-color);
    cursor: pointer;
    background: none;
    border: none;
}

.modal__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.modal__subtitle {
    margin-bottom: 30px;
}

/* Fixed Phone Button */
.fixed-phone-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 201, 167, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.fixed-phone-button:hover {
    transform: scale(1.1);
}

.fixed-phone-button svg {
    color: var(--white-color);
    width: 28px;
    height: 28px;
}

/* Admin page simple styles */
.admin-panel {
    padding: 120px 15px 40px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th, .table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.table th {
    background-color: var(--light-gray-color);
    font-weight: 700;
    color: var(--dark-color);
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 992px) {
    .header__menu, .header__contacts {
        display: none; /* Simple solution for now, can be replaced with a burger menu */
    }
    .main-screen__inner {
        flex-direction: column;
    }
    .main-screen__left {
        max-width: 100%;
        text-align: center;
    }
    .main-screen__right {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    section {
        padding: 60px 0;
    }
    .main-screen__title {
        font-size: 2.5rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
    
    /* Адаптивность для сетки цен */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 400px;
    }
    
    /* Адаптивность для маленьких карточек цен */
    .pricing-card-small {
        padding: 15px 12px;
    }
    
    .pricing-card-small__title {
        font-size: 0.95rem;
    }
    
    .pricing-card-small__price {
        font-size: 1.2rem;
    }
    
    .pricing-card-small__description {
        font-size: 0.75rem;
    }
    
    /* Адаптивность для quick-quote формы */
    .quick-quote-form {
        padding: 30px 20px;
    }
    
    .quick-quote-form__row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .quick-quote-form__field--wide,
    .quick-quote-form__field--button {
        grid-column: span 1;
    }
    
    .quick-quote-form__label {
        font-size: 0.85rem;
    }
    
    .quick-quote-form__input,
    .quick-quote-form__textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
}

/* Адаптивные стили для стрелок карусели отзывов */
@media (max-width: 1024px) {    .carousel-arrow.prev {
        left: -60px;
    }
}

/* ===== PHONE BUTTON & MODAL ===== */
.phone-button {
    position: fixed;
    bottom: 80px;
    right: 50px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    animation: phoneBounce 2s ease-in-out infinite;
}

@keyframes phoneBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-8px) scale(1.05);
    }
    60% {
        transform: translateY(-4px) scale(1.02);
    }
}

.phone-button:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.7);
    animation: phoneHover 0.6s ease-in-out infinite alternate;
}

@keyframes phoneHover {
    0% {
        transform: scale(1.15) rotate(-5deg);
    }
    100% {
        transform: scale(1.15) rotate(5deg);
    }
}

.phone-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.phone-modal.active {
    opacity: 1;
    visibility: visible;
}

.phone-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.phone-modal__content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.phone-modal.active .phone-modal__content {
    transform: scale(1);
}

.phone-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.phone-modal__header h3 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.phone-modal__close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.phone-modal__close:hover {
    color: var(--dark-color);
}

.phone-modal__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.phone-modal__field input,
.phone-modal__field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.phone-modal__field input:focus,
.phone-modal__field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .phone-button {
        bottom: 60px;
        right: 25px;
        width: 50px;
        height: 50px;
    }
    
    .phone-modal__content {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .header .container > .d-flex.flex-column.align-items-center {
        min-width: 64px !important;
    }
    .header .container > .d-flex.flex-column.align-items-center > div[style*="height:96px"] {
        height: 54px !important;
        width: 54px !important;
    }
    .header .container > .d-flex.flex-column.align-items-center span.fw-bold {
        font-size: 1em !important;
    }
}

.mobile-phone {
    font-size: 0.98em !important;
    color: #512da8 !important;
    font-weight: 700 !important;
    margin-left: 8px !important;
    letter-spacing: 0.01em;
}
@media (max-width: 600px) {
    .mobile-phone {
        font-size: 0.93em !important;
        margin-left: 4px !important;
    }
}
