/* Основные переменные и сброс стилей */
:root {
    --primary-color: #00d4b0;
    --accent-color: #ff6f61;
    --background-color: #f5f5f5;
    --text-color: #222222;
    --light-color: #ffffff;
    --dark-color: #333333;
    --border-radius: 32px;
    --border-radius-small: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
}

/* Отступ для якорей, чтобы заголовки были видны */
[id] {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

.btn-accent {
    background-color: var(--accent-color);
}

.btn-accent:hover {
    background-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Header стили */
.main-header {
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: block;
}

.logo img {
    max-height: 50px;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav .nav-list li {
    margin-left: 30px;
}

.main-nav .nav-list a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
    color: var(--primary-color);
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav .nav-list a:hover::after,
.main-nav .nav-list a.active::after {
    width: 100%;
}

.btn-contact {
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--light-color) !important;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.btn-contact:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.btn-contact::after {
    display: none;
}

/* Мобильное меню */
.menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
}

.menu-button span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.menu-button span:nth-child(1) {
    top: 0;
}

.menu-button span:nth-child(2) {
    top: 10px;
}

.menu-button span:nth-child(3) {
    top: 20px;
}

/* Hero секция */
.hero {
    background: linear-gradient(135deg, rgba(0, 212, 176, 0.8), rgba(0, 212, 176, 0.6)), url('../img/7wb28c.jpg') no-repeat center center;
    background-size: cover;
    color: var(--light-color);
    padding: 150px 0;
    margin-top: var(--header-height);
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Секция О компании */
.about {
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Секция Услуги */
.services {
    background-color: var(--background-color);
}

.services-tabs {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.services-tab {
    padding: 15px 30px;
    background-color: var(--light-color);
    color: var(--text-color);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.services-tab:hover,
.services-tab.active {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--light-color);
    border-radius: var(--border-radius-small);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-icon {
    background-color: rgba(0, 212, 176, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--primary-color);
}

/* Секция Почему мы */
.features {
    background: linear-gradient(135deg, var(--light-color), var(--background-color));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(0, 212, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

/* Секция Отзывы */
.testimonials {
    background-color: var(--light-color);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius-small);
    margin-bottom: 30px;
    position: relative;
    box-shadow: var(--shadow);
}

.testimonial:last-child {
    margin-bottom: 0;
}

.testimonial::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-position {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Секция FAQ */
.faq {
    background-color: var(--background-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-color);
    border-radius: var(--border-radius-small);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 212, 176, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* Форма заказа */
.contact {
    background: linear-gradient(135deg, rgba(0, 212, 176, 0.8), rgba(0, 212, 176, 0.6)), url('../img/1YkUJa.jpg') no-repeat center center;
    background-size: cover;
    color: var(--light-color);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow);
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 176, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    font-weight: 400;
}

/* Footer стили */
.main-footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 30px;
}

.footer-info,
.footer-company,
.footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #999;
}

/* Cookie баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--light-color);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
}

.cookie-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Стили для юридических страниц */
.legal-page {
    background-color: var(--light-color);
    padding: 120px 0 60px;
}

.legal-page h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.legal-content {
    background-color: var(--background-color);
    padding: 30px;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow);
}

.legal-content h2 {
    color: var(--primary-color);
    margin: 30px 0 20px;
    font-size: 1.8rem;
    text-align: left;
}

.legal-content h3 {
    color: var(--accent-color);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-update {
    margin-top: 40px;
    font-style: italic;
    color: #777;
}

/* Страница благодарности */
.thank-you {
    background: linear-gradient(135deg, var(--light-color), var(--background-color));
    padding: 120px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--light-color);
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow);
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background-color: rgba(0, 212, 176, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thank-you-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--primary-color);
}

.thank-you-content h1 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thank-you-content p {
    margin-bottom: 15px;
}

.thank-you-actions {
    margin-top: 30px;
}

/* Медиа запросы для адаптивности */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .menu-button {
        display: block;
    }

    .main-nav .nav-list {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background-color: var(--light-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: -1;
    }

    .main-nav .nav-list li {
        margin: 10px 0;
        width: 100%;
    }

    .main-nav .nav-list a {
        display: block;
        padding: 10px;
    }

    .menu-toggle:checked ~ .nav-list {
        transform: translateY(0);
        opacity: 1;
        z-index: 99;
    }

    .menu-toggle:checked ~ .menu-button span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }

    .menu-toggle:checked ~ .menu-button span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }

    .menu-toggle:checked ~ .menu-button span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }

    .hero {
        padding: 100px 0;
        margin-top: var(--header-height);
    }
    
    .hero h1 {
        font-size: 2.2rem;
        padding: 0 15px;
        word-wrap: break-word;
        margin-bottom: 25px;
    }
    
    .hero p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .services-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .services-tab {
        width: 100%;
        max-width: 300px;
    }

    .about-content,
    .footer-content {
        flex-direction: column;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-content {
        padding: 20px;
    }
    
    .legal-content h2 {
        font-size: 1.6rem;
    }
    
    .legal-content h3 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 10px 20px;
        width: 100%;
        max-width: 250px;
    }
    
    .services-cards {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
} 