/* === GLOBAL STYLES === */
:root {
    --indigo: #4B0082;
    --saffron: #FFC300;
    --beige: #E5E5DC;
    --coal: #1C1C1C;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--coal);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--indigo);
    transition: var(--transition);
}

a:hover {
    color: var(--saffron);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--indigo);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--saffron);
    margin: 20px auto;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--indigo);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--saffron);
    color: var(--coal);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--indigo);
    color: var(--indigo);
}

.btn-secondary:hover {
    background-color: var(--indigo);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* === HEADER STYLES === */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: block;
}

.nav-list {
    display: flex;
}

.nav-list li {
    margin-left: 25px;
}

.nav-list a {
    font-weight: 600;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--saffron);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
}

.phone {
    margin-right: 20px;
    font-weight: 600;
}

.btn-contact {
    padding: 10px 20px;
    background-color: var(--saffron);
    color: var(--coal);
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-contact:hover {
    background-color: var(--indigo);
    color: var(--white);
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
}

/* === HERO SECTION === */
.hero {
    background-color: var(--beige);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(75, 0, 130, 0.8), rgba(255, 195, 0, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 150px 0;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero .btn {
    margin-right: 15px;
}

/* === ABOUT SECTION === */
.about {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: var(--transition);
    height: 400px;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === BENEFITS SECTION === */
.benefits {
    background-color: var(--beige);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--saffron);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
}

.benefit-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--indigo);
}

/* === SERVICES SECTION === */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    border: 1px solid var(--beige);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--saffron);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-title {
    color: var(--indigo);
    margin-bottom: 10px;
}

/* === CASES SECTION === */
.cases {
    background-color: var(--beige);
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.case-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.case-content {
    padding: 20px;
}

.case-result {
    color: var(--saffron);
    font-weight: 700;
    margin-top: 10px;
}

/* === FORM SECTION === */
.contact-form {
    background-color: var(--white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--beige);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: var(--saffron);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.2);
}

.price-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.price-option {
    flex: 1;
    min-width: 200px;
}

.price-option input {
    display: none;
}

.price-option label {
    display: block;
    padding: 15px;
    background-color: var(--white);
    border: 2px solid #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.price-option input:checked + label {
    border-color: var(--indigo);
    background-color: rgba(75, 0, 130, 0.05);
}

.price-option label .price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--saffron);
    margin-top: 10px;
}

.checkbox-group {
    margin-top: 20px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.checkbox-container input {
    margin-top: 5px;
    margin-right: 10px;
}

/* === TESTIMONIALS SECTION === */
.testimonials {
    background-color: var(--beige);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 5rem;
    color: var(--saffron);
    opacity: 0.3;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name {
    font-weight: 700;
}

.client-title {
    color: #777;
    font-size: 0.9rem;
}

/* === CONTACT SECTION === */
.contact {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-info {
    background-color: var(--indigo);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
}

.contact-info h3 {
    color: var(--white);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    margin-right: 15px;
    color: var(--saffron);
    font-size: 1.5rem;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-detail a {
    color: var(--white);
    font-weight: bold;
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--saffron);
}

.contact-hours h4 {
    color: var(--white);
    margin-bottom: 10px;
}

/* === FOOTER === */
footer {
    background-color: var(--coal);
    color: var(--beige);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-section h3 {
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--saffron);
}

.footer-section p {
    color: var(--beige);
}

.footer-section.about, 
.footer-section.contact {
    background-color: transparent;
}

.footer-section a {
    color: var(--beige);
}

.footer-section a:hover {
    color: var(--saffron);
}

.footer-section ul li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--coal);
    color: var(--white);
    padding: 15px;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-content p {
    margin: 0;
    padding-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons .btn-primary {
    background-color: var(--saffron);
    color: var(--coal);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-buttons .btn-primary:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cookie-buttons .btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--coal);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Icons */
.icon-location, .icon-phone, .icon-mail {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--saffron);
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    margin-right: 10px;
}

/* Контактная информация на странице контактов */
.contact-page .contact-detail a {
    color: inherit;
    font-weight: 600;
}

.contact-page .contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--saffron);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-page .contact-hours h3 {
    color: var(--indigo);
}

.contact-page .contact-hours ul {
    color: var(--coal);
}

/* === RESPONSIVE STYLES === */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-image {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 100;
    }
    
    .menu-icon span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--indigo);
        margin: 5px 0;
        transition: var(--transition);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 99;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .menu-toggle:checked ~ .nav-list {
        right: 0;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero-content {
        padding: 100px 0;
    }
    
    .benefits-grid,
    .services-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .case-studies {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        height: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-bottom: 20px;
        padding-right: 0;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero .btn {
        display: block;
        margin: 0 auto 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .price-options {
        flex-direction: column;
    }
    
    .price-option {
        min-width: 100%;
    }
    
    .about-image {
        height: 250px;
    }
} 