/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Компенсация для фиксированного header */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F2F8F6;
    color: #2D2D2D;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(242, 248, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(28, 28, 28, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1C1C1C;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link svg {
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.logo-text {
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2D2D2D;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #FFB800, #FF5E5B);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #FF5E5B;
}

/* Header Contact */
.header-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.contact-phone,
.contact-email {
    text-decoration: none;
    color: #1C1C1C;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-phone:hover,
.contact-email:hover {
    color: #FF5E5B;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Дополнительные отступы для секций с якорями */
.section[id] {
    padding-top: 5rem;
    margin-top: -1rem;
}

/* Success Checkmarks */
.success-checkmarks {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.checkmark-icon {
    width: 60px;
    height: 60px;
    animation: checkmarkAppear 0.8s ease-out;
    transition: transform 0.3s ease;
}

.checkmark-icon:nth-child(1) {
    animation-delay: 0.2s;
}

.checkmark-icon:nth-child(2) {
    animation-delay: 0.4s;
    animation: checkmarkAppear 0.8s ease-out 0.4s both, checkmarkBounce 2s ease-in-out 1.2s infinite;
}

.checkmark-icon:nth-child(3) {
    animation-delay: 0.6s;
}

.checkmark-icon:hover {
    transform: scale(1.1);
    animation: checkmarkBounce 0.6s ease-in-out;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F2F8F6 0%, rgba(255, 184, 0, 0.1) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 94, 91, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: slideInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #2D2D2D;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: inline-block;
    background: linear-gradient(45deg, #FFB800, #FF5E5B);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 94, 91, 0.3);
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 94, 91, 0.4);
}

/* Section Styles */
.section {
    padding: 4rem 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.3);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1C1C1C;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #FFB800, #FF5E5B);
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2D2D2D;
}

.about-text h3 {
    color: #1C1C1C;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(28, 28, 28, 0.1);
    transition: all 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(28, 28, 28, 0.15);
}

/* Advantages Section */
.advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(28, 28, 28, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 94, 91, 0.1);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(28, 28, 28, 0.15);
    border-color: #FF5E5B;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #FFB800, #FF5E5B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.advantage-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 1rem;
}

.advantage-text {
    color: #2D2D2D;
    line-height: 1.6;
}

/* Services Section */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(28, 28, 28, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 94, 91, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(28, 28, 28, 0.15);
    border-color: #FF5E5B;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: #FF5E5B;
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #2D2D2D;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFB800;
    font-weight: bold;
}

.service-button {
    background: linear-gradient(45deg, #FFB800, #FF5E5B);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 94, 91, 0.3);
}

/* Order Form */
.order-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(28, 28, 28, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 10px;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    animation: slideInUp 0.5s ease-out;
}

.alert-error {
    background: linear-gradient(135deg, rgba(255, 94, 91, 0.1) 0%, rgba(255, 94, 91, 0.05) 100%);
    color: #FF5E5B;
    border: 1px solid rgba(255, 94, 91, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #1C1C1C;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(28, 28, 28, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #FF5E5B;
    box-shadow: 0 0 0 3px rgba(255, 94, 91, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px solid rgba(28, 28, 28, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-item:hover {
    border-color: #FF5E5B;
    background-color: rgba(255, 94, 91, 0.05);
}

.radio-item input[type="radio"] {
    margin-right: 0.5rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    margin-top: 0.25rem;
}

.checkbox-item label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #2D2D2D;
}

.form-submit {
    background: linear-gradient(45deg, #FFB800, #FF5E5B);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 15px rgba(255, 94, 91, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 94, 91, 0.4);
}

/* Footer */
.footer {
    background: #1C1C1C;
    color: #F2F8F6;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #FFB800;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-description {
    line-height: 1.6;
    color: rgba(242, 248, 246, 0.8);
}

.footer-contact a {
    color: #F2F8F6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #FFB800;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(242, 248, 246, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #FFB800;
}

.footer-bottom {
    border-top: 1px solid rgba(242, 248, 246, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(242, 248, 246, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1C1C1C;
    color: white;
    padding: 1rem;
    z-index: 1001;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept {
    background: linear-gradient(45deg, #FFB800, #FF5E5B);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 94, 91, 0.3);
}

.cookie-learn {
    color: #FFB800;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #FFB800;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cookie-learn:hover {
    background-color: #FFB800;
    color: #1C1C1C;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes checkmarkAppear {
    0% {
        opacity: 0;
        transform: scale(0.5) rotateZ(-45deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotateZ(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateZ(0deg);
    }
}

@keyframes checkmarkBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advantages {
        grid-template-columns: 1fr;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .success-checkmarks {
        gap: 0.8rem;
        margin-bottom: 1.8rem;
    }
    
    .checkmark-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 7rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .order-form {
        padding: 2rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .advantage-item,
    .service-card {
        padding: 1.5rem;
    }
    
    .service-image {
        height: 150px;
    }
    
    .about-image iframe {
        height: 250px !important;
    }
    
    .success-checkmarks {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .checkmark-icon {
        width: 45px;
        height: 45px;
    }
    
    .alert {
        padding: 0.75rem 1rem;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }
} 