/* 
 * Main Stylesheet for domain.org
 * Color Palette:
 * - Background: #FDD8D3 (персиково-коралловый)
 * - Accents: #00A3A3 (бирюзово-синий)
 * - Text: #333333 (графитовый) + #FAF3E0 (мягкий бежевый)
 * - Buttons: #4B3F72 (насыщенный фиолетово-синий)
 * - Gradients: #FFB199 → #FF0844 (мягкий оранжево-розовый)
 */

/* Base Styles & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FDD8D3;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #00A3A3;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #4B3F72;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #4B3F72;
    position: relative;
    font-size: 2.2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #FFB199, #FF0844);
    border-radius: 2px;
}

/* Buttons */
.cta-button, .submit-button {
    display: inline-block;
    background-color: #4B3F72;
    color: #FAF3E0;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover, .submit-button:hover {
    background-color: #00A3A3;
    color: #FAF3E0;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Header Styles */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-link {
    color: #4B3F72;
    text-transform: lowercase;
}

.logo-link:hover {
    color: #00A3A3;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.desktop-menu {
    display: flex;
    list-style: none;
}

.desktop-menu li {
    margin-left: 25px;
}

.nav-link {
    color: #333333;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, #FFB199, #FF0844);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-checkbox,
.mobile-menu-button,
.mobile-menu {
    display: none;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    text-align: center;
    background: linear-gradient(to bottom right, rgba(0, 163, 163, 0.1), rgba(255, 8, 68, 0.1));
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-title {
    font-size: 4.5rem;
    color: #4B3F72;
    margin-bottom: 20px;
    text-transform: lowercase;
    animation: fadeInUp 1s ease;
}

.subtitle {
    font-size: 2rem;
    color: #00A3A3;
    margin-bottom: 30px;
    font-weight: 300;
    animation: fadeInUp 1.2s ease;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1.4s ease;
}

/* About Section */
.about-section {
    background-color: #FAF3E0;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.responsive-img {
    transition: transform 0.5s ease;
}

.about-image:hover .responsive-img {
    transform: scale(1.05);
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(to right, #FFB199, #FF0844);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 1.8rem;
}

/* Services Section */
.services-section {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
    color: #4B3F72;
}

.service-card p {
    padding-bottom: 20px;
}

/* Process Section */
.process-section {
    background-color: #FAF3E0;
}

.process-flow {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin: 0 15px 30px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #FFB199, #FF0844);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-arrow {
    flex: 0 0 40px;
    position: relative;
    align-self: center;
    height: 20px;
    margin-bottom: 30px;
}

.process-arrow::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #00A3A3;
    top: 50%;
    transform: translateY(-50%);
}

.process-arrow::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid #00A3A3;
    border-right: 2px solid #00A3A3;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

/* Testimonials Section */
.testimonials-section {
    background-color: #fff;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: #FAF3E0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0, 163, 163, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text p {
    font-style: italic;
    margin-bottom: 20px;
}

.author-name {
    font-weight: 700;
    color: #4B3F72;
    margin-bottom: 5px;
}

.author-company {
    font-size: 0.9rem;
    color: #00A3A3;
}

/* Order Form Section */
.order-form-section {
    background: linear-gradient(to right, rgba(255, 177, 153, 0.2), rgba(255, 8, 68, 0.2));
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.custom-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    background-color: rgba(250, 243, 224, 0.5);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #00A3A3;
    box-shadow: 0 0 0 3px rgba(0, 163, 163, 0.2);
    background-color: #fff;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
    flex-shrink: 0;
}

.form-submit {
    margin-top: 30px;
    text-align: center;
}

/* Contact Section */
.contact-section {
    background-color: #FAF3E0;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item i {
    margin-right: 15px;
    color: #00A3A3;
    font-size: 1.2rem;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #FDD8D3, #FAF3E0);
}

/* Footer Styles */
.site-footer {
    background-color: #4B3F72;
    color: #FAF3E0;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-company,
.footer-contact,
.footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #FFB199, #FF0844);
}

.company-desc {
    line-height: 1.7;
    opacity: 0.8;
}

.contact-list,
.legal-links {
    list-style: none;
}

.contact-list li,
.legal-links li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.contact-list i {
    margin-right: 10px;
}

.legal-links a {
    color: #FAF3E0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    opacity: 1;
    color: #FFB199;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 20px;
    transform: translateY(100%);
    opacity: 0;
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    margin-top: 15px;
    gap: 10px;
}

.cookie-button {
    background-color: #00A3A3;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cookie-button:hover {
    background-color: #4B3F72;
}

.cookie-link {
    padding: 8px 0;
    font-size: 0.9rem;
}

/* Icons (using pseudo-elements for now) */
.icon-experience::before,
.icon-experts::before,
.icon-solutions::before,
.icon-security::before,
.icon-phone::before,
.icon-address::before,
.icon-email::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    mask-size: cover;
}

.icon-experience::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8zm.5-13H11v6l5.2 3.2.8-1.3-4.5-2.7V7z'/%3E%3C/svg%3E"); }
.icon-experts::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 11c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm-8 0c1.7 0 3-1.3 3-3S9.7 5 8 5 5 6.3 5 8s1.3 3 3 3zm0 2c-2.3 0-7 1.2-7 3.5V19h14v-2.5c0-2.3-4.7-3.5-7-3.5zm8 0c-.3 0-.6 0-1 .1 1.2.8 2 1.9 2 3.4V19h6v-2.5c0-2.3-4.7-3.5-7-3.5z'/%3E%3C/svg%3E"); }
.icon-solutions::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 10c.7-1.7.7-3.6 0-5.3l-3.1 3.1-2.1-2.1 3.1-3.1c-1.7-.7-3.6-.7-5.3 0C10.3 3.4 9.2 5 9.1 6.8 6.8 7.2 5 9.2 5 11.6c0 1.5.7 2.8 1.8 3.7L3 19.1l1.4 1.4 3.8-3.8c.9 1.1 2.2 1.8 3.7 1.8 2.4 0 4.4-1.8 4.8-4.1 1.8-.1 3.4-1.2 4.1-2.9l-3.1-3.1-2.1 2.1 3.1 3.1c-1.1.5-2.4.5-3.5 0-1.1.5-2.4.5-3.5 0l5-5c-.5-1.1-.5-2.4 0-3.5z'/%3E%3C/svg%3E"); }
.icon-security::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1L3 5v6c0 5.5 3.8 10.7 9 12 5.2-1.3 9-6.5 9-12V5l-9-4zm0 10.8h7c-.5 4.2-3.3 7.9-7 9-3.7-1.1-6.5-4.8-7-9h7zm-1-8.8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E"); }
.icon-phone::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2.8.3 1.6.5 2.5.5.6 0 1 .4 1 1V20c0 .6-.4 1-1 1-9.4 0-17-7.6-17-17 0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 .9.2 1.7.5 2.5.1.3 0 .7-.2 1l-2.2 2.3z'/%3E%3C/svg%3E"); }
.icon-address::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5S10.6 6.5 12 6.5s2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z'/%3E%3C/svg%3E"); }
.icon-email::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media screen and (max-width: 960px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 3.5rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }
    
    .process-arrow {
        display: none;
    }
    
    .process-step {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-button {
        display: block;
        cursor: pointer;
        width: 30px;
        height: 20px;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-menu-icon,
    .mobile-menu-icon::before,
    .mobile-menu-icon::after {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333;
        position: absolute;
        transition: transform 0.3s ease, top 0.3s ease;
    }
    
    .mobile-menu-icon {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .mobile-menu-icon::before {
        content: '';
        top: -8px;
    }
    
    .mobile-menu-icon::after {
        content: '';
        top: 8px;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-button .mobile-menu-icon {
        background-color: transparent;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-button .mobile-menu-icon::before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu-button .mobile-menu-icon::after {
        top: 0;
        transform: rotate(-45deg);
    }
    
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 80px 20px 20px;
        z-index: 1000;
    }
    
    .mobile-menu-checkbox:checked ~ .mobile-menu {
        right: 0;
    }
    
    .mobile-menu ul {
        list-style: none;
    }
    
    .mobile-menu li {
        margin-bottom: 15px;
    }
    
    .mobile-nav-link {
        display: block;
        padding: 10px 0;
        font-size: 1.2rem;
        font-weight: 500;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 150px 0 80px;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .cookie-popup {
        right: 20px;
        left: 20px;
        max-width: none;
    }
    
    .footer-content > div {
        flex: 0 0 100%;
    }
}