/* ====== GLOBAL STYLES ====== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    line-height: 1.6;
}

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

.navbar, nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 55px;
    width: auto;
}
.big-logo img {
    height: 200px;
    width: auto;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    padding: 8px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #007bff;
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover {
    color: #007bff;
}

/* ====== BUTTONS ====== */
.contact-btn, button, .btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-btn:hover,
button:hover,
.btn:hover {
    background: #005ec2;
    transform: translateY(-2px);
}

/* ====== SECTIONS ====== */
section {
    background: #fff;
    margin: 2rem auto;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    max-width: 1200px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
}

section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #555;
}

/* ====== HERO SECTION ====== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white; /* Белый текст на цветном фоне */
    margin: 0 auto 2rem;
    border-radius: 0 0 20px 20px;
    max-width: 1200px;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9); /* Полупрозрачный белый */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white; /* Явно белый цвет */
}

.hero p {
    color: rgba(255, 255, 255, 0.9); /* Белый с прозрачностью для параграфов */
    font-size: 1.2rem;
}

.hero button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.hero button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ====== STATS SECTION ====== */
.stats {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white; /* Белый текст */
    text-align: center;
}

.stats h2 {
    color: white; /* Белый заголовок */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white; /* Белые цифры */
}

.stat-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9); /* Полупрозрачный белый */
}

/* ====== ADVANTAGES & SERVICES ====== */
.advantages, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage-card, .service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.advantage-card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.advantage-card h3, .service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* ====== WORK STEPS ====== */
.work-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* ====== CONTACT PAGE ====== */
.contact {
    background: #fff;
    text-align: center;
    max-width: 1000px;
}

.office {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: left;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.social-buttons a {
    background: #007bff;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-buttons a:hover {
    background: #005ec2;
    transform: translateY(-2px);
}

.map-container {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

/* ====== FORMS ====== */
.form-container {
    background: #fff;
    max-width: 800px;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    background: #fff;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

/* ====== REVIEWS & CLIENTS ====== */
.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review {
    background: #04163f;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.review span {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #777;
    font-style: italic;
}

.clients {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    color: #ffffff;
}
.clients div {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
    min-width: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.clients div:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.clients img {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.clients img:hover {
    transform: scale(1.05);
}

/* ====== FORM MESSAGE ====== */
.form-message {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.4s forwards;
}

.form-message.hide {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translate(-50%, 0); }
    to { opacity: 0; transform: translate(-50%, -10px); }
}

/* ====== FLOATING BUTTON ====== */
.float-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 1000;
}

.float-button:hover {
    transform: scale(1.1);
    background: #128c7e;
}

/* ====== FOOTER ====== */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
    .navbar, nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1rem;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    section {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .advantages, .services-grid {
        grid-template-columns: 1fr;
    }

    .form-container, .contact {
        padding: 2rem 1rem;
    }

    .social-buttons {
        flex-direction: column;
    }

    .social-buttons a {
        width: 100%;
        text-align: center;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    section h2 {
        font-size: 1.6rem;
    }
}

/* Добавьте этот стиль в конец файла */
.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
}

.cta-section-negative {
    background: linear-gradient(135deg, #9cb9fc 0%, #104769 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-section button {
    background: #e74c3c;
    color: white;
}

.cta-section button:hover {
    background: #c0392b;
}

/* Для карточек внутри cta-section */
.cta-section .advantage-card,
.cta-section .service-card,
.cta-section .step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.cta-section .advantage-card h3,
.cta-section .service-card h3 {
    color: white;
}

/* ====== FIXES FOR CTA-SECTION LAYOUT ====== */
.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem !important;
}

.cta-section-negative {
    background: linear-gradient(135deg, #9cb9fc 0%, #104769 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem !important;
}

/* Исправляем сетку преимуществ и услуг */
.cta-section .advantages,
.cta-section .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Всегда 4 в ряд */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Исправляем сетку шагов работы */
.cta-section .work-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Всегда 4 в ряд */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Исправляем сетку статистики */
.cta-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Всегда 4 в ряд */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Для карточек внутри cta-section */
.cta-section .advantage-card,
.cta-section .service-card,
.cta-section .step,
.cta-section .stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.cta-section .advantage-card h3,
.cta-section .service-card h3,
.cta-section .step h3 {
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.cta-section .advantage-card p,
.cta-section .service-card p,
.cta-section .step p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin: 0;
}

/* Для мобильных устройств - перестраиваем в один столбец */
@media (max-width: 768px) {
    .cta-section .advantages,
    .cta-section .services-grid,
    .cta-section .work-steps,
    .cta-section .stats-grid {
        grid-template-columns: 1fr; /* На мобильных - один столбец */
        gap: 1rem;
    }

    .cta-section .advantage-card,
    .cta-section .service-card,
    .cta-section .step,
    .cta-section .stat-item {
        min-height: auto;
        padding: 1.5rem;
    }

    .cta-section {
        padding: 2rem 1rem !important;
    }
}

/* Убираем дублирующие стили для лучшей читаемости */
.cta-section h2 {
    color: white;
    margin-bottom: 3rem;
}

.cta-section p:not(.advantage-card p):not(.service-card p):not(.step p) {
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section button {
    background: #e74c3c;
    color: white;
    margin-top: 1rem;
}

.cta-section button:hover {
    background: #c0392b;
}

/* ====== UPDATED HERO LAYOUT ====== */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.hero-logo {
    flex: 0 0 auto;
}

.hero-content-centered {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.big-logo img {
    height: 200px;
    width: auto;
    display: block;
}

.hero-content-centered .hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 600;
}

.hero-content-centered p:not(.hero-subtitle) {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-content-centered button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-content-centered button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content-centered .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-content-centered p:not(.hero-subtitle) {
        font-size: 1.1rem;
    }

    .big-logo img {
        height: 150px;
    }
}

/* ====== VALUES SECTION ====== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.value-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
}

/* Адаптивность для ценностей */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
        min-height: 250px;
    }

    .value-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .value-card h3 {
        font-size: 1.3rem;
    }

    .value-card p {
        font-size: 1rem;
    }
}

/* ====== UPDATED CONTACT PAGE STYLES ====== */
.contact-main-info {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.contact-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-phone, .contact-email {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.contact-phone:hover, .contact-email:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.contact-icon-big {
    font-size: 3rem;
    flex-shrink: 0;
}

.contact-phone h3, .contact-email h3 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
}

.phone-number, .email-address {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.contact-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

.instant-contact {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    grid-column: 1 / -1;
}

.instant-contact h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.instant-contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.social-buttons-inline {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-buttons-inline .social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-width: 180px;
    justify-content: center;
}

.social-buttons-inline .social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-buttons-inline .whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
}

.social-buttons-inline .telegram:hover {
    background: rgba(0, 136, 204, 0.2);
}

/* Office section */
.office-info {
    max-width: 1000px;
    margin: 0 auto;
}

.office-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.office-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.office-item h3 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.office-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0.3rem 0;
}

/* Form styles */
.form-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    width: 100%;
    padding: 3rem;
    border-radius: 20px;
    margin: 2rem auto 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    background: white;
}

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

.contact-form button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-form button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Адаптивность для контактов */
@media (max-width: 768px) {
    .contact-highlight {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-phone, .contact-email {
        padding: 1.5rem;
    }

    .contact-icon-big {
        font-size: 2.5rem;
    }

    .phone-number, .email-address {
        font-size: 1.2rem;
    }

    .office-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .social-buttons-inline {
        flex-direction: column;
        align-items: center;
    }

    .social-buttons-inline .social-btn {
        width: 100%;
        max-width: 250px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-phone, .contact-email {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .office-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-icon, .contact-icon-big {
        align-self: center;
    }
}
/* ====== PROFESSIONAL NAVIGATION ====== */
.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.main-nav {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.nav-link:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.05);
}

.nav-link.active {
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: #007bff;
    border-radius: 2px;
}

/* ====== PROFESSIONAL BUTTONS ====== */
.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-accent:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

/* Обновляем существующие кнопки */
.hero-content-centered button,
.cta-section button,
.contact-form button {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.hero-content-centered button:hover,
.cta-section button:hover,
.contact-form button:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Кнопки в hero блоке */
.hero button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Социальные кнопки */
.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white;
}

.whatsapp:hover {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.3));
    border-color: rgba(37, 211, 102, 0.4);
}

.telegram:hover {
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.2), rgba(0, 136, 204, 0.3));
    border-color: rgba(0, 136, 204, 0.4);
}

/* ====== FLOATING BUTTON UPDATE ====== */
.float-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, #0088cc, #006699);
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 1000;
    border: none;
}

.float-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.6);
    background: linear-gradient(135deg, #006699, #004d66);
}

/* ====== RESPONSIVE NAVIGATION ====== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .main-nav {
        order: 2;
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .btn-primary {
        order: 1;
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .logo {
        order: 0;
    }

    .logo img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .main-nav {
        flex-wrap: wrap;
    }

    .nav-link {
        flex: 1;
        min-width: 100px;
        text-align: center;
        padding: 0.6rem 0.5rem;
        font-size: 0.85rem;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }
}
/* ====== FIXES FOR NAVIGATION AND LOGO ====== */

/* 1. Remove old navigation underlines */
nav a::after {
    display: none !important;
}

nav a:hover::after,
nav a.active::after {
    display: none !important;
}

/* Remove old navigation margins */
nav a {
    margin: 0 !important;
    padding: 0.8rem 1.5rem !important;
}

/* Update header nav styles */
header nav {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 2. Make logo clickable */
.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-link img {
    height: 55px;
    width: auto;
    display: block;
}

/* Ensure logo container doesn't have extra styles */
.logo {
    display: flex;
    align-items: center;
}

/* Mobile responsive for logo */
@media (max-width: 768px) {
    .logo-link img {
        height: 45px;
    }
}
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}