/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Спокойные тона */
    --primary-color: #2c5282;      /* Глубокий синий */
    --secondary-color: #4299e1;    /* Светлый синий */
    --accent-color: #48bb78;       /* Зеленый для CTA */
    --dark-color: #1a365d;         /* Темно-синий */
    --light-bg: #f7fafc;           /* Очень светлый серо-голубой */
    --white: #ffffff;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    --text-dark: #2d3748;
    --text-light: #718096;
    
    /* Typography */
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-text h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 0.5px;
}

.tagline {
    display: none;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--secondary-color);
}

.phone-icon {
    font-size: 1.2rem;
}

.header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
}

.availability {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.specialist {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--gray-100);
    color: var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Social */
.contact-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 15px 0;
}

.contact-social .social-link {
    width: 40px;
    height: 40px;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: center;
}

.footer-social .social-link {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
}

.footer-social .social-link:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.cities-label {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 600;
}

.hero-cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    margin-bottom: 30px;
    font-size: 1.4rem;
    opacity: 0.9;
}

.hero-cities span {
    white-space: nowrap;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.feature-icon {
    font-size: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Services Section */
.services {
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--secondary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.advantage-item {
    text-align: center;
}

.advantage-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 60px;
    margin-bottom: 20px;
}

.advantage-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Process Section */
.process {
    background-color: var(--light-bg);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
    display: inline-block;
    width: 70px;
    height: 70px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    line-height: 70px;
    margin-bottom: 20px;
}

.step h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button-large {
    font-size: 1.5rem;
    padding: 20px 50px;
}

.cta-specialist {
    margin-top: 20px;
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item p {
    color: var(--text-light);
    margin-top: 10px;
}

.contact-item strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-contact a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-contact p {
    opacity: 0.8;
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Fixed Phone Button */
.fixed-phone-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 999;
    animation: pulse 2s infinite;
}

.fixed-phone-button:hover {
    background-color: #38a169;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(72, 187, 120, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(72, 187, 120, 0.7);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-features {
        gap: 20px;
    }

    .hero-cities {
        font-size: 1.1rem;
        gap: 8px 15px;
    }

    .process-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    /* Компактная мобильная шапка */
    .header {
        padding: 8px 0;
    }

    .header-content {
        gap: 10px;
    }

    .logo-img {
        width: 35px;
        height: 35px;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .header-contact {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        
    }

    .phone-link {
        font-size: 1rem;
        gap: 5px;
    }

    .phone-icon {
        font-size: 1rem;
    }

    .header-info {
        gap: 2px;
        align-items: flex-end;
    }

    .availability {
        font-size: 1rem;
    }

    .specialist {
        font-size: 1rem;
    }

    .social-links {
        gap: 6px;
        justify-content: flex-end;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link svg {
        width: 28px;
        height: 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .fixed-phone-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    section {
        padding: 60px 0;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .phone-link {
        font-size: 1rem;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: var(--secondary-color);
    color: var(--white);
}

