/* ============================================================
   СТРАНИЦА: О СЕРГЕЕ (about-sergey.css)
   ============================================================ */

/* ----- HERO ----- */
.about-sergey-hero {
    background: #D9E9F2;
    padding: 60px 20px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-sergey-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.about-sergey-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.about-sergey-hero__sensor {
    position: absolute;
    z-index: 1;
    width: 130%;
    height: 130%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: sergey-spin 30s linear infinite;
    pointer-events: none;
    opacity: 0.15;
}

.about-sergey-hero__sensor img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@keyframes sergey-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.about-sergey-hero__photo {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(58, 124, 165, 0.15);
}

.about-sergey-hero__photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ----- Контент HERO ----- */
.about-sergey-hero__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-sergey-hero__back {
    color: #3A7CA5;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    display: inline-block;
    width: fit-content;
}

.about-sergey-hero__back:hover {
    color: #2C5F7A;
}

.about-sergey-hero__badge {
    display: inline-block;
    background: #3A7CA5;
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.about-sergey-hero__title {
    font-size: 52px;
    font-weight: 300;
    color: #2C3E50;
    line-height: 1.1;
    margin: 0;
}

.about-sergey-hero__title span {
    font-weight: 600;
    color: #3A7CA5;
}

.about-sergey-hero__subtitle {
    font-size: 18px;
    color: #4A6A80;
    line-height: 1.6;
    margin: 0;
}

.about-sergey-hero__highlight {
    font-weight: 600;
    color: #2C5F7A;
}

.about-sergey-hero__quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-style: italic;
    color: #4A6A80;
    padding: 12px 0 12px 20px;
    border-left: 4px solid #3A7CA5;
    margin: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 0 12px 12px 0;
}

.about-sergey-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ----- ОБЩИЙ РАЗДЕЛИТЕЛЬ ----- */
.about-sergey__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.about-sergey__divider-line {
    flex: 1;
    height: 1.5px;
    background: #3A7CA5;
    opacity: 0.3;
}

.about-sergey__divider-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    animation: about-sergey-spin 20s linear infinite;
}

.about-sergey__divider-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@keyframes about-sergey-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ----- БЛОК: О СЕБЕ (биография) ----- */
.about-sergey-bio {
    padding: 70px 20px;
    background: #ffffff;
}

.about-sergey-bio__container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-sergey-bio__title {
    font-size: 38px;
    font-weight: 300;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 40px;
}

.about-sergey-bio__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-sergey-bio__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-sergey-bio__text p {
    font-size: 17px;
    color: #2C3E50;
    line-height: 1.7;
    margin: 0;
}

.about-sergey-bio__text strong {
    color: #3A7CA5;
    font-weight: 600;
}

.about-sergey-bio__stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.about-sergey-bio__stat {
    background: #D9E9F2;
    padding: 24px 16px;
    border-radius: 16px;
    text-align: center;
}

.about-sergey-bio__stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #3A7CA5;
    line-height: 1.1;
}

.about-sergey-bio__stat-label {
    display: block;
    font-size: 14px;
    color: #4A6A80;
    margin-top: 6px;
}

/* ----- БЛОК: РАЗРАБОТКИ ----- */
.about-sergey-dev {
    padding: 70px 20px;
    background: #f4f8fa;
}

.about-sergey-dev__container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-sergey-dev__title {
    font-size: 38px;
    font-weight: 300;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 8px;
}

.about-sergey-dev__subtitle {
    font-size: 18px;
    color: #6B8A9E;
    text-align: center;
    margin-bottom: 40px;
}

.about-sergey-dev__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-sergey-dev__card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.about-sergey-dev__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(58, 124, 165, 0.08);
    border-color: #D9E9F2;
}

.about-sergey-dev__icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.about-sergey-dev__card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0 0 8px 0;
}

.about-sergey-dev__card p {
    font-size: 15px;
    color: #6B8A9E;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.about-sergey-dev__link {
    color: #3A7CA5;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid #D9E9F2;
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
}

.about-sergey-dev__link:hover {
    border-color: #3A7CA5;
}

/* ----- БЛОК: ИССЛЕДОВАНИЯ ----- */
.about-sergey-services {
    padding: 70px 20px;
    background: #ffffff;
}

.about-sergey-services__container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-sergey-services__title {
    font-size: 38px;
    font-weight: 300;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 40px;
}

.about-sergey-services__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.about-sergey-services__group {
    background: #f4f8fa;
    border-radius: 16px;
    padding: 24px 28px;
}

.about-sergey-services__group h3 {
    font-size: 18px;
    font-weight: 600;
    color: #3A7CA5;
    margin: 0 0 12px 0;
}

.about-sergey-services__group ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-sergey-services__group ul li {
    font-size: 15px;
    color: #2C3E50;
    padding: 4px 0;
    border-bottom: 1px solid rgba(58, 124, 165, 0.06);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 992px) {
    .about-sergey-hero__title { font-size: 42px; }
    .about-sergey-dev__grid { grid-template-columns: 1fr 1fr; }
    .about-sergey-services__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .about-sergey-hero {
        min-height: auto;
        padding: 40px 16px;
    }
    .about-sergey-hero__container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .about-sergey-hero__visual {
        order: -1;
        max-width: 300px;
    }
    .about-sergey-hero__sensor {
        width: 140%;
        height: 140%;
        opacity: 0.12;
    }
    .about-sergey-hero__content { align-items: center; }
    .about-sergey-hero__badge { margin: 0 auto; }
    .about-sergey-hero__back { margin: 0 auto; }
    .about-sergey-hero__title { font-size: 34px; }
    .about-sergey-hero__quote { text-align: left; }
    .about-sergey-hero__actions { justify-content: center; }

    .about-sergey-bio__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-sergey-bio__stats {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .about-sergey-dev__grid { grid-template-columns: 1fr; }
    .about-sergey-bio__title,
    .about-sergey-dev__title,
    .about-sergey-services__title { font-size: 30px; }
    .about-sergey__divider-icon { width: 30px; height: 30px; }
}

@media (max-width: 480px) {
    .about-sergey-hero__visual { max-width: 240px; }
    .about-sergey-hero__sensor {
        width: 150%;
        height: 150%;
        opacity: 0.1;
    }
    .about-sergey-hero__title { font-size: 28px; }
    .about-sergey-hero__quote { font-size: 18px; }
    .about-sergey-bio__stats {
        grid-template-columns: 1fr 1fr;
    }
    .about-sergey-bio__stat-number { font-size: 28px; }
    .about-sergey-services__group { padding: 16px; }
}
/* ============================================================
   СТРАНИЦА: УСЛУГИ И ЦЕНЫ (services-full)
   ============================================================ */
.services-full {
    padding: 70px 20px;
    background: #ffffff;
}

.services-full__container {
    max-width: 900px;
    margin: 0 auto;
}

.services-full__title {
    font-size: 38px;
    font-weight: 300;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 8px;
}

.services-full__subtitle {
    font-size: 18px;
    color: #6B8A9E;
    text-align: center;
    margin-bottom: 40px;
}

.services-full__grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.services-full__group {
    background: #f4f8fa;
    border-radius: 16px;
    padding: 24px 28px;
}

.services-full__group-title {
    font-size: 20px;
    font-weight: 600;
    color: #3A7CA5;
    margin: 0 0 16px 0;
}

.services-full__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.services-full__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(58, 124, 165, 0.06);
    font-size: 16px;
    color: #2C3E50;
}

.services-full__list li:last-child {
    border-bottom: none;
}

.services-full__name {
    font-weight: 400;
}

.services-full__price {
    font-weight: 600;
    color: #3A7CA5;
    white-space: nowrap;
    margin-left: 16px;
}

.services-full__note {
    margin-top: 40px;
    padding: 24px 28px;
    background: #D9E9F2;
    border-radius: 16px;
}

.services-full__note h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0 0 12px 0;
}

.services-full__note p {
    font-size: 15px;
    color: #2C3E50;
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.services-full__note p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 768px) {
    .services-full {
        padding: 50px 16px;
    }
    .services-full__title {
        font-size: 30px;
    }
    .services-full__subtitle {
        font-size: 16px;
    }
    .services-full__group {
        padding: 16px 20px;
    }
    .services-full__list li {
        flex-wrap: wrap;
        gap: 4px;
        font-size: 15px;
        padding: 8px 0;
    }
    .services-full__price {
        margin-left: 0;
    }
    .services-full__note {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .services-full__group-title {
        font-size: 17px;
    }
    .services-full__list li {
        font-size: 14px;
    }
    .services-full__price {
        font-size: 14px;
    }
}