/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Open Sans', sans-serif;
    color: #aeaeb9;
    line-height: 1.6;
    background: #f0f0f0;
}

a { color: inherit; text-decoration: none; }

.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { text-align: center; }

.color-text-1 { color: #aeaeb9; }
.color-text-2 { color: #434458; }
.color-text-3 { color: #e35176; }

/* ===== CONTACT BAR ===== */
.contact-bar {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    font-size: 13px;
    padding: 8px 0;
}

.contact-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-bar-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.contact-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #434458;
}

.contact-bar-item a {
    color: #434458;
    transition: color 0.2s;
}

.contact-bar-item a:hover {
    color: #434458;
}

.contact-bar-item i {
    color: #434458;
}

.contact-bar-right {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    color: #434458;
    transition: color 0.2s;
    font-size: 16px;
}

.social-icon:hover {
    color: #434458;
}

/* ===== HEADER ===== */
.header {
    background: #fff;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.main-nav {
    display: flex;
    gap: 0;
}

.main-nav a {
    display: block;
    padding: 12px 20px;
    color: #434458;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover {
    color: #e35176;
}

.main-nav a.active {
    color: #e35176;
    border-bottom-color: #e35176;
}

.main-nav a.nav-callback {
    background: #e35176;
    color: #fff;
    border-radius: 6px;
    border-bottom: none;
    margin-left: 10px;
    padding: 10px 20px;
}

.main-nav a.nav-callback:hover {
    background: #c93d62;
    color: #fff;
}

/* Burger menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #434458;
    border-radius: 2px;
    transition: all 0.3s;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MAIN BLOCK ===== */
.main-block {
    background: #f0f0f0;
    padding-bottom: 40px;
}

.main-block h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.divider {
    border-bottom: 1px solid #ddd;
    margin: 15px 0;
}

.banner-image {
    margin: 20px 0;
}

.banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-text h4,
.content-text p {
    color: #434458;
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 15px;
}

.spacer {
    display: block;
}

/* ===== SERVICES PAGE ===== */
.services-content h4 {
    color: #434458;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.6;
}

.services-content p {
    color: #434458;
    font-size: 15px;
    margin-bottom: 15px;
}

.services-content ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}

.services-content ul li {
    color: #434458;
    font-size: 15px;
    line-height: 1.8;
}

/* ===== CONTACTS PAGE ===== */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contacts-content h3 {
    color: #434458;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.contacts-content h2 {
    color: #434458;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contacts-info {
    margin-bottom: 25px;
}

.contacts-info ul {
    list-style: none;
    padding: 0;
}

.contacts-info li {
    padding: 8px 0;
    font-size: 15px;
    color: #434458;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #eee;
}

.contacts-info li:last-child {
    border-bottom: none;
}

.contacts-info li i {
    width: 20px;
    text-align: center;
    color: #e35176;
    font-size: 16px;
}

.contacts-info li a {
    color: #434458;
    transition: color 0.2s;
}

.contacts-info li a:hover {
    color: #e35176;
}

.work-hours h4 {
    color: #434458;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.work-hours table {
    border-collapse: collapse;
}

.work-hours table td {
    padding: 5px 20px 5px 0;
    color: #434458;
    font-size: 14px;
}

.work-hours table td:first-child {
    font-weight: 600;
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== CALLBACK SECTION ===== */
.callback-section {
    background: #434458;
    padding: 60px 0;
}

.callback-inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.callback-info {
    flex: 1;
    color: #fff;
}

.callback-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.callback-info p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.callback-features {
    list-style: none;
    padding: 0;
}

.callback-features li {
    padding: 8px 0;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    padding-left: 28px;
    position: relative;
}

.callback-features li::before {
    content: '\f00c';
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: #e35176;
    font-size: 14px;
}

.callback-module {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    flex-shrink: 0;
    overflow: hidden;
}

.callback-header {
    background: #e35176;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
}

.callback-form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    outline: none;
    color: #333;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e35176;
    box-shadow: 0 0 0 3px rgba(227, 81, 118, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.submit-btn {
    background: #434458;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #33344a;
}

.submit-btn:disabled {
    background: #9a9aab;
    cursor: not-allowed;
}

.form-consent {
    font-size: 12px;
    color: #999;
    text-align: center;
    line-height: 1.4;
}

.status-message {
    text-align: center;
    font-size: 14px;
    min-height: 20px;
}

.status-message.success {
    color: #2e7d32;
}

.status-message.error {
    color: #c62828;
}

/* ===== FOOTER ===== */
.footer {
    background: #fff;
    border-top: 1px solid #ddd;
}

.prefooter {
    padding: 20px 0;
}

.prefooter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-nav {
    display: flex;
    gap: 0;
}

.footer-nav a {
    display: block;
    padding: 8px 16px;
    color: #434458;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.footer-nav a:hover,
.footer-nav a.active {
    color: #e35176;
}

.footer-social {
    display: flex;
    gap: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #f0f0f0;
        flex-direction: column;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 100;
    }

    .main-nav.open {
        display: flex;
    }

    .header-inner {
        position: relative;
    }

    .contact-bar-address {
        display: none;
    }

    .contact-bar-left {
        gap: 10px;
    }

    .contacts-content {
        grid-template-columns: 1fr;
    }

    .callback-inner {
        flex-direction: column;
        gap: 30px;
    }

    .callback-module {
        max-width: 100%;
    }

    .callback-info h2 {
        font-size: 22px;
    }

    .footer-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .contact-bar-left {
        flex-direction: column;
        gap: 4px;
    }

    .main-block h2 {
        font-size: 20px;
    }
}
