/* Reset and Base Styles */
* {
    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: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    opacity: 0.9;
}

.contacts-header {
    text-align: right;
}

.contacts-header .phone a,
.contacts-header .email a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 3px 0;
    font-size: 16px;
}

.contacts-header .phone a:hover,
.contacts-header .email a:hover {
    text-decoration: underline;
}

.nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.3s;
    font-weight: 500;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(30, 60, 114, 0.85), rgba(42, 82, 152, 0.85)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231e3c72" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero h3 {
    font-size: 36px;
    margin-bottom: 25px;
    font-weight: 500;
}

.hero p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.hero p strong {
    display: block;
    margin: 20px 0;
    font-size: 20px;
}

.btn-primary {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #1e3c72;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.advantages {
    list-style: none;
    margin-top: 30px;
}

.advantages li {
    margin-bottom: 12px;
    font-size: 16px;
    padding-left: 10px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f0f4f8;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e3c72;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    color: #1e3c72;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 15px;
    font-size: 15px;
}

.service-card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.service-card ul li {
    margin-bottom: 8px;
    font-size: 15px;
}

.btn-secondary {
    display: inline-block;
    background: #1e3c72;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #2a5298;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: white;
}

.products h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #1e3c72;
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #e0e0e0;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 22px;
    color: #1e3c72;
    margin-bottom: 10px;
}

.product-card p {
    margin-bottom: 10px;
    font-size: 15px;
}

.product-card ul {
    margin-top: 15px;
    padding-left: 20px;
}

.product-card ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Why Choose Us Section */
.why-us {
    padding: 80px 0;
    background: #f0f4f8;
}

.why-us h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e3c72;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.why-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.why-card h3 {
    font-size: 20px;
    color: #1e3c72;
    margin-bottom: 12px;
}

.why-card p {
    font-size: 15px;
    color: #666;
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
    background: white;
}

.articles-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #1e3c72;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.article-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-placeholder {
    font-size: 80px;
    opacity: 0.3;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    font-size: 24px;
    color: #1e3c72;
    margin-bottom: 12px;
}

.article-content p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.7;
}

.article-highlights {
    list-style: none;
    margin-bottom: 20px;
}

.article-highlights li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.article-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.btn-read {
    display: inline-block;
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 2px solid #1e3c72;
    transition: color 0.3s, border-color 0.3s;
}

.btn-read:hover {
    color: #ff6b35;
    border-color: #ff6b35;
}

/* Order Form Section */
.order-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
}

.order-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
}

.order-section .section-description {
    text-align: center;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.9);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.order-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3c72;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 14px;
}

.checkbox-group a {
    color: #1e3c72;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    background: #ff6b35;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #e55a2b;
}

.form-note {
    margin-top: 15px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: white;
}

.process-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e3c72;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step h3 {
    font-size: 18px;
    color: #1e3c72;
    margin-bottom: 10px;
}

.step p {
    font-size: 14px;
    color: #666;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f0f4f8;
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e3c72;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #1e3c72;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
}

.faq-question.active:after {
    content: '−';
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* Contacts Section */
.contacts-section {
    padding: 80px 0;
    background: white;
}

.contacts-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1e3c72;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    font-size: 24px;
    color: #1e3c72;
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;
    font-size: 16px;
    color: #1e3c72;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 15px;
    margin-bottom: 5px;
}

.contact-item a {
    color: #2a5298;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-map {
    background: #f0f4f8;
    border-radius: 8px;
    padding: 20px;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.footer-section p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }
    
    .contacts-header {
        text-align: center;
    }
    
    .nav ul {
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero h3 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .products-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}