:root {
    --primary-color: #006476;
    --saturated-blue: #2B57D3;
    --deep-navy: #070B27;
    --text-light: #e0e8ff;
    --card-bg: rgba(255, 255, 255, 0.05);
    --scrollbar-bg: #0a0f25;
    --scrollbar-thumb: var(--primary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: var(--scrollbar-bg);
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--saturated-blue));
    border-radius: 10px;
    border: 2px solid var(--scrollbar-bg);
}

body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #0088a0, #3b6eff);
}

.modal__content::-webkit-scrollbar {
    width: 6px;
}

.modal__content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.modal__content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 6px;
}

.modal__content {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

body {
    background-color: var(--deep-navy);
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--saturated-blue));
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 100, 118, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 87, 211, 0.6);
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 11, 39, 0.9);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(43, 87, 211, 0.2);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo-img {
    max-height: 50px;
    border-radius: 10px;
    position: relative;
    left: -2vw;
}

.logo-img:hover {
    box-shadow: 0 0 10px var(--saturated-blue);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav__link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav__link:hover {
    color: #fff;
}

.nav__link:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger__line {
    width: 28px;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
}

.hero {
    text-align: center;
    padding: 0 0 60px;
    background: radial-gradient(circle at 50% 0%, #0a1f3f 0%, var(--deep-navy) 70%);
    flex: 1;
}

.hero__title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a0c4ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #b0c4de;
}

.hero__features {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 40px 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #c0d0e0;
}

.feature-icon {
    font-size: 2rem;
    color: #5cd6ff;
    filter: drop-shadow(0 0 8px rgba(0, 100, 118, 0.7));
}

.common-problems {
    margin-top: 50px;
}

.common-problems__title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #ddd;
    font-weight: 600;
}

.problems-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.problem-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 87, 211, 0.25);
    border-radius: 12px;
    padding: 20px 25px;
    min-width: 150px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: default;
}

.problem-card i {
    font-size: 1.8rem;
    color: #5cd6ff;
}

.problem-card span {
    font-weight: 500;
    color: #b0c4de;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 100, 118, 0.3);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    overflow-y: auto;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: rgba(10, 20, 40, 0.98);
    border: 1px solid rgba(43, 87, 211, 0.3);
    border-radius: 20px;
    max-width: 1000px;
    width: 100%;
    margin-top: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    color: var(--text-light);
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    color: #aaa;
    z-index: 10;
    transition: color 0.3s;
}

.modal__close:hover {
    color: #fff;
}

.modal__content {
    padding: 40px 30px;
    max-height: 80vh;
    overflow-y: auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #fff;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

.team {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.team__member {
    text-align: center;
    flex: 1 1 250px;
    max-width: 300px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 87, 211, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    transition: transform 0.3s;
}

.team__member:hover {
    transform: translateY(-5px);
}

.team__photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    background: #1a1f35;
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workshop-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(43, 87, 211, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16 / 9;
}

.workshop-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.workshop-photo:hover {
    transform: scale(1.02);
}

.workshop-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #b0c4de;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}

.workshop-placeholder-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #8899aa;
    font-size: 1.3rem;
    display: none;
}

.workshop-caption {
    text-align: center;
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #b0c4de;
    letter-spacing: 0.3px;
}

.photo-placeholder {
    font-size: 3rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.team__name {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #fff;
}

.info-block {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 87, 211, 0.2);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.info-block h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-block ul {
    list-style: disc;
    padding-left: 20px;
    color: #b0c4de;
}

.info-block ul li {
    margin-bottom: 8px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.price-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 87, 211, 0.25);
    border-radius: 16px;
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 100, 118, 0.3);
}

.price-card__icon {
    font-size: 2rem;
    color: #5cd6ff;
    margin-bottom: 10px;
}

.price-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.price-list {
    list-style: none;
}

.price-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list li span:last-child {
    font-weight: 700;
    color: #5cd6ff;
    white-space: nowrap;
    margin-left: 10px;
}

.price-list small {
    display: block;
    width: 100%;
    color: #8899aa;
    font-size: 0.8rem;
    margin-top: 2px;
}

.subcategory {
    margin-top: 15px;
}

.subcategory h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #a0b8d0;
    margin-bottom: 5px;
}

.subcategory p {
    font-size: 0.85rem;
    color: #8899aa;
}

.contacts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.contacts__item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(43, 87, 211, 0.2);
}

.contacts__item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contacts__item a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contacts__item a:hover {
    color: #fff;
}

.footer {
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
    padding: 5px 0;
    border-top: 1px solid rgba(43, 87, 211, 0.2);
    margin-top: auto;
}

.socials {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials a {
    color: #b0c4de;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: #fff;
}

.process {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.01);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.step {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(43, 87, 211, 0.2);
    border-radius: 16px;
    padding: 25px 20px;
    flex: 1 1 220px;
    max-width: 260px;
    text-align: center;
    cursor: default;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 100, 118, 0.3);
}

.step__icon {
    font-size: 2.2rem;
    color: #5cd6ff;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.step p {
    font-size: 0.9rem;
    color: #b0c4de;
}


@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 11, 39, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px;
        border-bottom: 1px solid rgba(43, 87, 211, 0.3);
        transform: translateY(-150%);
        transition: transform 0.4s;
    }

    .nav.open {
        transform: translateY(0);
    }

    .nav__list {
        flex-direction: column;
        gap: 20px;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__features {
        gap: 30px;
        flex-wrap: wrap;
    }

    .problems-grid {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .team {
        gap: 30px;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 100%;
    }
}