/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.phone {
    font-weight: bold;
    color: #667eea;
    text-decoration: none;
}

.btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: white;
    color: #667eea;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* Services Section */
.services {
    background: white;
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #f8f9ff, #e3f2fd);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    background: #f8f9ff;
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.feature-item p {
    color: #666;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
}

/*О нас*/
.about-company {
    background-color: #f9f9f9;
    padding: 40px 0;
    color: #333;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

.about-company .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-company .section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
    text-align: center;
}

.about-company p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

/* Оплата - стили для формы Tinkoff */
.pay_get {
    padding: 4rem 0;
    background: white;
}

.wmain {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8f9ff, #e3f2fd);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    animation: fadeInUp 0.6s ease-out;
}

.wmain .ti {
    text-align: center;
    margin-bottom: 1rem;
}

.TinkoffPayForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.TinkoffPayForm .align_center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.TinkoffPayForm input[type="text"],
.TinkoffPayForm input[type="email"],
.TinkoffPayForm input[type="tel"],
.TinkoffPayForm input[type="number"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.TinkoffPayForm input:focus {
    border-color: #667eea;
    outline: none;
}

.TinkoffPayForm label {
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

.TinkoffPayForm input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.btn_main.btn_green {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn_main.btn_green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.in_3,
.in_2 {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.in_3 span,
.in_2 span {
    flex: 1 1 45%;
}

/* Responsive */
@media (max-width: 768px) {
    .in_3 span,
    .in_2 span {
        flex: 1 1 100%;
    }

    .wmain {
        padding: 1.5rem;
    }
}

/* news2025-07-16 */
.notice-box {
    background-color: #f9f9f9;
    border-left: 5px solid #002b55;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 20px;
}

.notice-box h3 {
    margin-top: 20px;
    color: #002b55;
    font-size: 20px;
}

.notice-box .price {
    color: #d22;
    font-weight: bold;
}

.notice-box ul {
    padding-left: 20px;
    margin-top: 10px;
}

.notice-box ul li {
    margin-bottom: 8px;
}


/* news-announsment*/

.news-announcement {
    background-color: #f0f8ff;
    padding: 30px 0;
    border-top: 2px solid #002b55;
    border-bottom: 2px solid #002b55;
}

.news-title {
    color: #002b55;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-text {
    font-size: 16px;
    color: #333;
}

.news-text a {
    color: #d22;
    text-decoration: underline;
    font-weight: bold;
}


/*error message*/
.error-message {
    color: #ff4b4b;
    font-size: 12px;
    margin-top: 3px;
    display: block;
}

.input-error {
    border: 1px solid #ff4b4b;
    box-shadow: 0 0 5px rgba(255, 75, 75, 0.5);
}

.news-date {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 15px;
}

