* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #222;
}

.main {
    margin-top: 80px;
    padding: 60px 0;
}

.hero {
    text-align: center;
    padding: 80px 0;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 40px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: #222;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 40px;
    font-weight: 300;
}

.accent-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    margin: 30px auto;
    border-radius: 2px;
}

.about-section {
    background: #fff;
    padding: 80px 0;
    margin: 60px 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #27ae60, #229954);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 30px;
    font-weight: 300;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.8;
}

.photo-container {
    text-align: center;
    position: relative;
}

.photo-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #f8f8f8, #e0e0e0);
    border-radius: 15px;
    z-index: -1;
}

.photo {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.service-card p {
    color: #bdc3c7;
    line-height: 1.6;
}

.contact {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.contact h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border-top: 3px solid #9b59b6;
}

.footer {
    background: #222;
    color: #bbb;
    text-align: center;
    padding: 40px 0;
}

.footer::before {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #e74c3c, #3498db);
    margin: 0 auto 20px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .photo {
        width: 240px;
        height: 300px;
    }

    .about-text h2,
    .services h2,
    .contact h2 {
        font-size: 2rem;
    }

    .header-content {
        padding: 10px 20px;
    }

    .logo-text {
        font-size: 20px;
    }

    .about-section::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

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

    .about-section,
    .services,
    .contact {
        padding: 40px 0;
    }

    .photo {
        width: 200px;
        height: 250px;
    }
}

/* Стили для ссылок */
a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #9b59b6;
    text-decoration: underline;
}

a:visited {
    color: #7f8c8d;
}

a:active {
    color: #8e44ad;
}

/* Специальные стили для ссылок в hero секции */
.hero a {
    color: #555;
    font-weight: 500;
}

.hero a:hover {
    color: #9b59b6;
}

/* Стили для ссылок в контактной информации */
.contact-item a {
    color: #666;
    font-weight: 500;
}

.contact-item a:hover {
    color: #8e44ad;
}

/* Стили для .about-text */
.about-text p {
    border-left: 3px solid transparent;
    padding-left: 20px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

/*.about-text p:nth-child(odd) {
     border-left-color: #c9b3d6;
}

.about-text p:nth-child(even) {
    border-left-color: #a8c8e1;
}*/

.about-text p:nth-child(4n+2) {
    border-left-color: #a8c8e1;
}

.about-text p:nth-child(4n) {
    border-left-color: #c9b3d6;
}

.about-text p:hover {
    background: rgba(155, 89, 182, 0.03);
    border-radius: 5px;
    padding: 15px 20px;
}
/* Врезка */
.about-text .highlight-box {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.08) 0%, rgba(52, 152, 219, 0.08) 100%);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.1);
}

.about-text .highlight-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, #9b59b6, #3498db);
    border-radius: 5px 0 0 5px;
}

.about-text .highlight-box p {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: #444;
    border-left: none;
    padding-left: 25px;
}
/* Врезка минимал */
.about-text .highlight-box-minimal {
    background: #f8f9fa;
    border-top: 4px solid #9b59b6;
    border-radius: 8px;
    padding: 35px;
    margin: 40px 0;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.about-text .highlight-box p {
    margin-bottom: 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    text-align: center;
    border-left: none;
    padding-left: 0;
}