/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container-fluid {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-"] {
    padding: 0 15px;
    flex: 0 0 100%;
    max-width: 100%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #2c3e50;
    color: #fff;
}

.btn-primary:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn-secondary {
    background: #3498db;
    color: #fff;
}

.btn-secondary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: #fff;
}

.btn-contact {
    background: #e74c3c;
    color: #fff;
}

.btn-contact:hover {
    background: #c0392b;
}

/* Sections */
.section-wrapper {
    padding: 60px 0;
}

.section-title-container {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3498db;
}

.section-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    flex-wrap: wrap;
}

.header-logo {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.header-logo img {
    max-height: 60px;
    width: auto;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.contact-icon {
    font-size: 18px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #2c3e50;
}

/* Banner Carousel */
.banner-carousel {
    position: relative;
    overflow: hidden;
}

.banner-slide {
    display: none;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.banner-slide.active {
    display: block;
    animation: fadeIn 0.5s;
}

.banner-content {
    max-width: 600px;
    padding: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.banner-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.banner-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.banner-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.banner-controls button {
    background: rgba(255,255,255,0.8);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 18px;
}

.banner-controls button:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.banner-dots {
    text-align: center;
    padding: 20px 0;
}

.banner-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    margin: 0 5px;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dots button.active {
    background: #3498db;
    transform: scale(1.2);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Services */
.section-services {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.service-description {
    color: #666;
    margin-bottom: 15px;
}

.service-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: none;
    color: #555;
    line-height: 1.8;
}

.service-details.open {
    display: block;
}

.service-toggle {
    margin-top: 10px;
}

/* Advantages */
.section-advantages {
    background: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.advantage-item:hover {
    background: #e8f0fe;
    transform: translateY(-3px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.advantage-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.advantage-description {
    color: #666;
    font-size: 0.95rem;
}

/* CTA Section */
.section-cta {
    padding: 80px 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.cta-image {
    text-align: center;
    padding: 40px;
}

/* Reviews */
.section-reviews {
    background: #f8f9fa;
}

.reviews-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.reviews-wrapper {
    overflow: hidden;
}

.review-item {
    display: none;
    animation: fadeIn 0.5s;
}

.review-item.active {
    display: block;
}

.review-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.review-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-avatar {
    width: 100%;
    height: 100%;
    background: #3498db;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 700;
}

.review-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.review-rating {
    color: #f39c12;
    margin: 5px 0;
}

.review-rating .far {
    color: #ddd;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-comment {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

.reviews-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -30px;
}

.reviews-controls button {
    background: #fff;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.reviews-controls button:hover {
    background: #3498db;
    color: #fff;
    transform: scale(1.1);
}

.reviews-dots {
    text-align: center;
    padding: 20px 0;
}

.reviews-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    margin: 0 5px;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.reviews-dots button.active {
    background: #3498db;
    transform: scale(1.2);
}

/* Contact Form */
.section-contact {
    background: #fff;
}

.contact-info {
    padding: 30px;
}

.contact-info-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-benefits {
    display: grid;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.benefit-item i {
    font-size: 24px;
    color: #3498db;
}

.contact-form {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Team */
.section-team {
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.team-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.15);
}

.team-photo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar {
    width: 100%;
    height: 100%;
    background: #2c3e50;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
}

.team-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #2c3e50;
}

.team-position {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.team-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Promotions */
.section-promotions {
    background: #fff;
}

.promotions-grid {
    display: grid;
    gap: 20px;
}

.promotion-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.promotion-item:hover {
    background: #e8f0fe;
    transform: translateX(5px);
}

.promotion-item.featured {
    background: #2c3e50;
    color: #fff;
}

.promotion-item.featured:hover {
    background: #1a252f;
}

.promotion-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3498db;
    min-width: 50px;
}

.promotion-item.featured .promotion-number {
    color: #f39c12;
}

.promotion-content {
    line-height: 1.6;
}

/* How We Work */
.section-how-we-work {
    background: #f8f9fa;
}

.steps-list {
    padding: 20px 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.step-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    min-width: 40px;
}

.step-content {
    font-size: 1.05rem;
    line-height: 1.6;
}

.how-image {
    padding: 20px;
}

.how-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.how-placeholder {
    background: #2c3e50;
    color: #fff;
    padding: 80px 40px;
    text-align: center;
    border-radius: 10px;
}

.how-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
}

.how-placeholder p {
    font-size: 2rem;
    font-weight: 700;
}

/* Contacts */
.section-contacts {
    background: #fff;
}

.contacts-info {
    padding: 20px 0;
}

.contacts-block {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contacts-block h4 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.contacts-block h4 i {
    color: #3498db;
    margin-right: 10px;
}

.contacts-block p {
    margin: 8px 0;
    color: #555;
}

.contacts-block a {
    color: #3498db;
    text-decoration: none;
}

.contacts-block a:hover {
    text-decoration: underline;
}

.contacts-form-wrapper {
    padding: 20px;
}

.contacts-form-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col p {
    color: #bdc3c7;
    margin: 8px 0;
    font-size: 0.95rem;
}

.footer-col p i {
    width: 20px;
    margin-right: 10px;
    color: #3498db;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-control:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control.error {
    border-color: #e74c3c;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Responsive */
@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-contacts {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .col-md-6, .col-md-4, .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-slide {
        padding: 40px 0;
        min-height: 300px;
    }
    
    .banner-content {
        padding: 20px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .section-cta {
        padding: 40px 0;
    }
    
    .team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .banner-controls {
        padding: 0 10px;
    }
    
    .banner-controls button {
        padding: 10px 15px;
    }
    
    .promotion-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-contacts {
        display: none;
    }
    
    .header-contacts.open {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
    }
}

@media (max-width: 576px) {
    .section-wrapper {
        padding: 40px 0;
    }
    
    .banner-slide {
        padding: 30px 0;
        min-height: 250px;
    }
    
    .banner-title {
        font-size: 1.4rem;
    }
    
    .banner-description {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contacts-block {
        padding: 15px;
    }
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}