/* 
   Style principal
   Version: 1.0
*/

/* Variables */
:root {
    --color-primary: #FE4A49; /* ярко-красный арбуз */
    --color-secondary: #2AB7CA; /* прохладный аквамарин */
    --color-accent: #FED766; /* теплый желтый */
    --color-light: #F4F4F8; /* молочный белый */
    --color-dark: #4A4E69; /* глубокий синий-серый */
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --container-width: 1200px;
    --section-spacing: 80px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--color-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    padding: 0 20px;
    margin: 0 auto;
}

section {
    padding: var(--section-spacing) 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 600;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    position: relative;
    margin-bottom: 50px;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-primary);
    margin: 15px auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--color-dark);
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 180px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo svg {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-link:hover:after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
}

/* Hero Section */
.hero-section {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--color-light) 0%, white 100%);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 500px;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--color-dark);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* About Section */
.about-section {
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text ul {
    margin-top: 20px;
}

.about-text li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.about-text li:before {
    content: '✓';
    margin-right: 10px;
    color: var(--color-primary);
    font-weight: bold;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Advantages Section */
.advantages-section {
    background-color: var(--color-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-icon svg {
    width: 50px;
    height: 50px;
}

/* Services Section */
.services-section {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-featured {
    border: 2px solid var(--color-primary);
}

.featured-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-primary);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    border-bottom-left-radius: var(--radius);
}

.price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 15px 0;
}

.service-features {
    margin: 25px 0;
    text-align: left;
}

.service-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

/* Process Section */
.process-section {
    background-color: var(--color-light);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline:before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--color-secondary);
}

.process-step {
    margin-bottom: 50px;
    position: relative;
    padding-left: 90px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 20px;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    z-index: 1;
}

.step-content {
    background-color: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Testimonials Section */
.testimonials-section {
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    position: relative;
    padding: 20px 0;
}

.testimonial-content:before {
    content: '"';
    font-size: 60px;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: #666;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-container {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-details {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-map {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.map-container {
    margin-top: 15px;
    border-radius: var(--radius);
    overflow: hidden;
    height: 250px;
    background-color: #eee;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 15px;
    z-index: 9999;
    transform: translateY(100%);
    opacity: 0;
    transition: var(--transition);
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 20px;
}

.cookie-content a {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Thank You Page Styling */
.thank-you-section {
    background: linear-gradient(135deg, var(--color-light) 0%, white 100%);
    padding: 150px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    border-top: 5px solid var(--color-primary);
    overflow: hidden;
}

.thank-you-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--color-secondary);
    border-radius: 5px;
}

.thank-you-icon {
    margin-bottom: 25px;
    position: relative;
}

.thank-you-icon::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(254, 74, 73, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.thank-you-content h1 {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.thank-you-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.thank-you-actions {
    margin-top: 40px;
}

.thank-you-actions .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
}

.thank-you-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.reference-number {
    background-color: var(--color-light);
    padding: 15px 25px;
    border-radius: var(--radius);
    margin: 20px auto;
    max-width: 300px;
    font-size: 1.1rem;
    border-left: 4px solid var(--color-secondary);
}

.reference-number strong {
    display: block;
    color: var(--color-dark);
    font-size: 1.3rem;
    margin-top: 5px;
    letter-spacing: 1px;
}

.additional-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
    font-size: 0.9rem;
    color: #777;
}

.thank-you-decoration {
    position: absolute;
    opacity: 0.07;
    z-index: 0;
}

.decoration-1 {
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: var(--color-primary);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.decoration-2 {
    bottom: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    transform: translate(-30%, 30%);
}

.decoration-3 {
    bottom: 0;
    right: 20%;
    width: 80px;
    height: 80px;
    background-color: var(--color-accent);
    border-radius: 50%;
    transform: translateY(50%);
}

/* Policy Pages Styling */
.policy-section {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, var(--color-light) 0%, white 100%);
}

.policy-section h1 {
    text-align: center;
    color: var(--color-dark);
    margin-bottom: 40px;
    position: relative;
    font-weight: 700;
}

.policy-section h1:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-primary);
    margin: 15px auto 0;
}

.policy-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    position: relative;
    border-left: 5px solid var(--color-secondary);
}

.policy-content p:first-of-type {
    font-style: italic;
    color: #777;
    text-align: right;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.policy-content h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 600;
}

.policy-content h2:after {
    display: none;
}

.policy-content h3 {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-top: 25px;
    margin-bottom: 15px;
}

.policy-content ul, 
.policy-content ol {
    margin: 20px 0 20px 20px;
}

.policy-content ul li, 
.policy-content ol li {
    margin-bottom: 10px;
    position: relative;
}

.policy-content ul li::before {
    content: "•";
    color: var(--color-secondary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.policy-content ol {
    list-style-type: decimal;
    list-style-position: inside;
}

.policy-content a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: var(--transition);
}

.policy-content a:hover {
    color: var(--color-secondary);
}

.policy-content p:last-of-type {
    margin-bottom: 0;
}

.policy-content address {
    font-style: normal;
    margin: 20px 0;
}

.policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.policy-header .logo {
    max-width: 150px;
}

.policy-header .date {
    font-style: italic;
    color: #777;
}

.policy-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

.policy-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.policy-navigation a {
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.policy-navigation a:hover {
    color: var(--color-primary);
}

.policy-navigation .prev:before {
    content: "←";
}

.policy-navigation .next:after {
    content: "→";
}

/* Additional policy styling */
.policy-intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--color-dark);
    line-height: 1.7;
    border-left: 3px solid var(--color-primary);
    padding-left: 20px;
    font-style: italic;
}

.highlight-box {
    background-color: rgba(254, 74, 73, 0.05);
    border-radius: var(--radius);
    padding: 25px;
    margin: 20px 0;
    border-left: 3px solid var(--color-primary);
}

.highlight-box h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.highlight-box p {
    margin-bottom: 15px;
    font-weight: 500;
}

.highlight-box ul {
    margin-left: 0;
}

.highlight-box ul li {
    padding-left: 25px;
    position: relative;
}

.highlight-box ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.contact-box {
    background-color: rgba(42, 183, 202, 0.05);
    border-radius: var(--radius);
    padding: 25px;
    margin: 20px 0;
    border-left: 3px solid var(--color-secondary);
}

.contact-box strong {
    color: var(--color-dark);
}

.contact-box a {
    text-decoration: none;
    border-bottom: 1px dotted var(--color-secondary);
}

.policy-logo svg {
    height: 40px;
    width: auto;
}

.policy-date {
    font-style: italic;
    color: #777;
    font-size: 0.9rem;
}

/* End of policy styling */

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section .container,
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .thank-you-content {
        padding: 40px 30px;
    }
    
    .policy-content {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.show {
        left: 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .thank-you-section {
        padding: 120px 0 80px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .process-timeline:before {
        left: 30px;
    }
    
    .process-step {
        padding-left: 70px;
    }
    
    .step-number {
        left: 10px;
    }
    
    .thank-you-content {
        padding: 30px 20px;
    }
    
    .policy-content {
        padding: 25px 20px;
    }
} 