/* Variables */
:root {
    --color-bg: #9c8dc5;
    --color-accent: #c6ff00;
    --color-text: #1d1d1d;
    --color-btn-start: #ff4081;
    --color-btn-end: #ff9800;
    --color-ui: #4dd0e1;
    --container-width: 1200px;
    --font-primary: 'Montserrat', system-ui, sans-serif;
    --font-secondary: 'Open Sans', system-ui, sans-serif;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 110px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.4;
}

p {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    color: white;
    background: linear-gradient(to right, var(--color-btn-start), var(--color-btn-end));
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 64, 129, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 64, 129, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 15px 0;
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: block;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav__link {
    font-family: var(--font-primary);
    font-weight: 500;
}

.nav__link:hover {
    color: var(--color-btn-start);
}

.header__phone {
    font-family: var(--font-primary);
    font-weight: 600;
}

.header__phone:hover {
    color: var(--color-btn-start);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('./img/pPMUbX.jpg') center/cover no-repeat;
    padding-top: 80px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero__content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 25px;
    color: white;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 40px;
}

/* About section */
.about {
    background-color: white;
}

.about__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about__content h2 {
    text-align: left;
    margin-bottom: 25px;
}

.about__content h2::after {
    left: 0;
    transform: none;
}

/* Services section */
.services {
    background-color: #f9f7ff;
}

.services__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--color-ui);
    border-radius: 50%;
    margin-bottom: 25px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Features section */
.features {
    background-color: white;
}

.features__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature {
    display: flex;
    gap: 20px;
}

.feature__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Process section */
.process {
    background-color: #f9f7ff;
}

.process__steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.process__steps::before {
    content: "";
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-ui);
    z-index: 1;
}

.process__step {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: calc(100% / 3 - 40px);
}

.process__step-number {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--color-btn-start), var(--color-btn-end));
    color: white;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 25px;
}

/* Testimonials section */
.testimonials {
    background-color: white;
}

.testimonials__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    background-color: #f9f7ff;
    padding: 30px;
    border-radius: 10px;
}

.testimonial__text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial__author {
    font-family: var(--font-primary);
    font-weight: 600;
}

/* Contact form */
.contact {
    background-color: #f9f7ff;
}

.form {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form__group {
    margin-bottom: 25px;
}

.form__label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.form__input,
.form__select,
.form__textarea {
    width: 100%;
    padding: 15px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    border-color: var(--color-ui);
    outline: none;
}

.form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.form__checkbox input {
    width: 18px;
    height: 18px;
}

.form__submit {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #262626;
    color: white;
    padding: 80px 0 30px;
}

.footer__wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer__logo {
    margin-bottom: 20px;
}

.footer__description {
    color: #b3b3b3;
}

.footer__title {
    color: white;
    margin-bottom: 25px;
    position: relative;
}

.footer__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
}

.footer__address {
    color: #b3b3b3;
    font-style: normal;
    margin-bottom: 15px;
}

.footer__link {
    display: block;
    color: #b3b3b3;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--color-ui);
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer__copyright {
    color: #b3b3b3;
    margin-bottom: 0;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(38, 38, 38, 0.95);
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-popup__content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.cookie-popup__content p {
    margin-right: 30px;
    margin-bottom: 0;
}

.cookie-popup--active {
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .services__wrapper,
    .testimonials__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process__steps::before {
        top: 40px;
    }
    
    .process__step-number {
        width: 80px;
        height: 80px;
        font-size: 1.75rem;
    }
    
    .footer__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    
    .nav__list {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .nav--active {
        height: auto;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .about__wrapper,
    .features__wrapper {
        grid-template-columns: 1fr;
    }
    
    .process__steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process__steps::before {
        display: none;
    }
    
    .process__step {
        max-width: 100%;
    }
    
    .cookie-popup__content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-popup__content p {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .services__wrapper,
    .testimonials__wrapper,
    .footer__wrapper {
        grid-template-columns: 1fr;
    }
    
    .form {
        padding: 30px 20px;
    }
} 