/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: #2b2e4a;
    background: linear-gradient(to bottom, #ecf8f8, #def1eb);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #48466d;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff6978;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #48466d;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-top: 40px; /* Добавляем отступ сверху для заголовков */
}

h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #ff6978;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

/* Logo Domain */
.domain-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6978;
    text-transform: lowercase;
    margin: 0;
    letter-spacing: 1px;
}

.domain-logo-footer {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    text-transform: lowercase;
    margin: 0;
    letter-spacing: 1px;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #ff6978;
    color: white;
}

.btn-primary:hover {
    background-color: #e05d6c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ff6978;
    color: #ff6978;
}

.btn-outline:hover {
    background-color: #ff6978;
    color: white;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(245, 245, 245, 0.97);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    z-index: 1000;
    height: 80px; /* Фиксированная высота шапки */
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #2b2e4a;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    font-weight: 600;
}

.nav-menu a.active {
    color: #ff6978;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(43, 46, 74, 0.8), rgba(72, 70, 109, 0.8)), 
                url('../img/pDTJlw.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

/* Исправление якорных ссылок для всех секций */
section[id] {
    scroll-margin-top: 120px; /* Важно для корректной прокрутки */
    padding-top: 120px; /* Увеличенный отступ сверху */
    margin-top: -80px; /* Компенсация для выравнивания с остальным контентом */
}

/* Специальные правила для разных секций */
.about, .services, .benefits, .testimonials, .faq, .contact {
    scroll-padding-top: 100px;
}

/* Переопределение для hero */
.hero {
    padding-top: 150px;
    margin-top: 0;
    scroll-margin-top: 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    animation: fadeIn 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.2s ease;
}

.hero .btn {
    animation: fadeIn 1.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: rotate(0);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

/* Services Section */
.services {
    background-color: #f5f5f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
}

.service-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ff6978;
    margin-top: 20px;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item svg {
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.benefits-image {
    margin: 0 auto 40px;
    max-width: 600px;
    text-align: center;
}

.benefits-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Testimonials Section */
.testimonials {
    background-color: #48466d;
    color: white;
}

.testimonials h2 {
    color: white;
}

.testimonials h2::after {
    background-color: #ffcb77;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 3px solid #ffcb77;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-content {
    text-align: center;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-content h4 {
    color: #ffcb77;
    margin-bottom: 5px;
}

.company {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.faq-item summary {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    background-color: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-item summary:hover {
    background-color: #e9e9e9;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    margin-left: 10px;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 15px 20px;
    margin-bottom: 0;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.map {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus {
    outline: none;
    border-color: #ffcb77;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background-color: #2b2e4a;
    color: #f5f5f5;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 20px;
}

.contact-details a {
    color: #ffcb77;
}

.footer-links, 
.footer-legal {
    flex: 1;
    min-width: 200px;
}

.footer-links h3, 
.footer-legal h3 {
    color: #ffcb77;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li, 
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links a, 
.footer-legal a {
    color: #f5f5f5;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover, 
.footer-legal a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-content p {
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.9rem;
}

.cookie-content a {
    color: #ff6978;
    font-weight: 600;
}

/* Página de Agradecimento */
.thank-you {
    text-align: center;
    padding: 150px 0;
    background-color: #f5f5f5;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.thank-you .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.thank-you h1 {
    margin-bottom: 30px;
}

.thank-you .btn {
    margin-top: 30px;
}

/* Página Legal - Correção da margem */
.legal-page {
    padding: 150px 0 80px;
    background-color: #f5f5f5;
    margin-top: 80px;
}

.legal-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.legal-content h2 {
    text-align: left;
    margin-top: 40px;
}

.legal-content h2::after {
    left: 0;
    transform: none;
}

.legal-content ul, .legal-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.legal-content table th, .legal-content table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.legal-content table th {
    background-color: #f5f5f5;
}

.disclaimer-box {
    background-color: #f9f9f9;
    border-left: 4px solid #ff6978;
    padding: 20px;
    margin: 30px 0;
}

/* Media Queries para Responsividade */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .nav-toggle-label {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #f5f5f5;
        display: none;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-toggle:checked ~ .nav-menu {
        display: flex;
    }
    
    .about-content, 
    .contact-content {
        flex-direction: column;
    }
    
    section {
        padding: 60px 0;
    }
    
    .cookie-banner {
        left: 10px;
        right: 10px;
        max-width: none;
        bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .services-grid, 
    .benefits-grid, 
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card, 
    .benefit-item, 
    .testimonial-card {
        padding: 20px;
    }
    
    .form-group.checkbox label {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
} 