/* Основные переменные */
:root {
    --color-primary: #F72585;
    --color-secondary: #3A0CA3;
    --color-accent-1: #4361EE;
    --color-accent-2: #4CC9F0;
    --color-light: #ffffff;
    --color-dark: #000000;
    --color-error: #ff3860;
    --font-main: 'Arial', sans-serif;
    --transition: all 0.3s ease;
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    line-height: 1.6;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    background-attachment: fixed;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent-1);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary);
}

/* Секции */
section {
    padding: 110px 0;
    background-color: var(--color-light);
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

section .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Навигация и шапка */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo a {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: lowercase;
}

/* Мобильная кнопка переключения меню */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Основная навигация */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 0.5rem;
}

nav ul li a {
    color: var(--color-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

nav ul li a:hover, 
nav ul li a:focus {
    color: var(--color-primary);
}

.btn-contato {
    background-color: var(--color-primary);
    color: var(--color-light) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px !important;
}

.btn-contato:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Хиро-секция с фоновым изображением */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    text-align: center;
    position: relative;
    background-color: transparent;
    color: var(--color-light);
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-light);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-light);
}

.btn {
    display: inline-block;
    background-color: var(--color-accent-1);
    color: var(--color-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    margin: 0.5rem;
}

.btn:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-light);
}

.btn-outline:hover {
    background-color: var(--color-light);
    color: var(--color-primary);
}

/* О компании */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    min-width: 200px;
    padding-right: 2rem;
}

.about-image {
    flex: 1;
    min-width: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Преимущества */
.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vantagem-item {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
}

.vantagem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.vantagem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Услуги с изображениями */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-item {
    padding: 0 0 2rem 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
    overflow: hidden;
}

.servico-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.servico-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.servico-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.servico-item:hover .servico-img img {
    transform: scale(1.1);
}

.servico-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.servico-item h3 {
    padding: 0 1rem;
}

.servico-item p {
    padding: 0 1.5rem;
}

/* Отзывы в вертикальном формате */
.depoimentos-container {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    margin: 0 auto;
}

.depoimento {
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.depoimento:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.depoimento p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.depoimento-autor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 3px solid var(--color-primary);
}

.depoimento-autor strong {
    display: block;
    color: var(--color-primary);
}

.depoimento-autor p {
    margin: 0;
    font-size: 0.9rem;
    font-style: normal;
    color: #666;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-answer {
    background-color: #f9f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 1rem;
}

/* CSS для работы аккордеона без JS */
.faq-item input[type="checkbox"] {
    display: none;
}

.faq-item input[type="checkbox"]:checked ~ .faq-answer {
    max-height: 500px;
}

.faq-item input[type="checkbox"]:checked ~ .faq-question::after {
    transform: rotate(45deg);
}

/* Форма */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.3rem;
}

button[type="submit"] {
    background-color: var(--color-primary);
    color: var(--color-light);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    width: 100%;
    font-size: 1rem;
}

button[type="submit"]:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

/* Стили для отображения ошибок формы */
.form-errors {
    background-color: rgba(255, 56, 96, 0.1);
    border: 1px solid var(--color-error);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.error-message {
    color: var(--color-error);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.error-message:last-child {
    margin-bottom: 0;
}

input.error,
select.error,
textarea.error {
    border-color: var(--color-error);
}

/* Подвал */
footer {
    background-color: var(--color-secondary);
    color: var(--color-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 20px;
}

.footer-info,
.footer-contato,
.footer-links {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-light);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent-2);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
    opacity: 1;
}

.cookie-popup p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-popup button {
    background-color: var(--color-primary);
    color: var(--color-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    margin-left: 1rem;
    white-space: nowrap;
}

.cookie-popup button:hover {
    background-color: var(--color-accent-1);
}

/* Медиа-запросы для адаптивности */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 60px 0;
    }

    .servicos-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    /* Мобильная навигация */
    .mobile-toggle {
        display: none;
    }
    .vantagens-grid{
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-light);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        max-height: 300px;
        padding: 1rem 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
    }
    
    nav ul li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .cookie-popup {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-popup p {
        margin-bottom: 1rem;
    }
    
    .cookie-popup button {
        margin-left: 0;
    }

    .depoimento {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding-top: 60px;
    }

    .hero-content {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
    }

    .depoimento p {
        font-size: 1rem;
    }
} 