.form .success, .details-form .success, .order-cost-form .success {
    color: var(--aqua);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
}

.content-info ol li a {
    font-weight: 700;
    font-size: 22px;
    line-height: 38px;
    text-transform: uppercase;
    color: var(--dark-gray);
    transition: .3s;
    cursor: pointer;
}
.content-info ol li a:hover {
    color: var(--aqua);
}

.footer-contacts {
    min-width: 326px;
}

/* Catalog dropdown menu */
.drop-down-menu-catalog {
    position: absolute;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    background: var(--white);
    box-shadow: 2px 4px 15px 0px #00000033;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: opacity .3s, visibility .3s;
}

.drop-down-menu-catalog.active {
    opacity: 1;
    visibility: visible;
    display: flex;
}

/* Catalog link cards on service/analiticheskoe-oborudovanie page */
.catalog-link-section {
    padding: 60px 0;
}
.catalog-link-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}
.catalog-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 32px;
    background: var(--white);
    border: 1.5px solid var(--aqua);
    border-radius: 8px;
    flex: 1 1 calc(50% - 10px);
    min-width: 240px;
    text-decoration: none;
    color: var(--dark);
    font-size: 18px;
    font-weight: 600;
    transition: background .25s, color .25s, border-color .25s;
}
.catalog-link-card:hover {
    background: var(--aqua);
    color: var(--white);
}
.catalog-link-card .icon {
    color: var(--aqua);
    font-size: 20px;
    flex-shrink: 0;
    transition: color .25s;
}
.catalog-link-card:hover .icon {
    color: var(--white);
}
@media (max-width: 768px) {
    .catalog-link-card {
        flex: 1 1 100%;
    }
}

/* =============================================
   Service card content headings typography fix
   Applies to service & validation detail pages
   ============================================= */

/* Section h2 titles (e.g. Что входит в ...) */
.section > .container > h2 {
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

/* Sub-section h3 headings (e.g. Механическая часть и корпус) */
h3.main-types-clue {
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    color: var(--dark-gray);
}

@media (max-width: 768px) {
    .section > .container > h2 {
        font-size: 26px;
        line-height: 32px;
    }
    h3.main-types-clue {
        font-size: 18px;
        line-height: 24px;
    }
}

/* ===== Table styling in service detail pages ===== */
.section .main-types-texts table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
}
.section .main-types-texts table th,
.section .main-types-texts table td {
    border: 1px solid #d0d7e3;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
    line-height: 1.5;
}
.section .main-types-texts table th {
    background: #f0f4fa;
    font-weight: 700;
    color: var(--dark-gray);
}
.section .main-types-texts table tr:nth-child(even) td {
    background: #f8fafc;
}
.section .main-types-texts table tr:hover td {
    background: #eef2f8;
}

/* ===== Service process two-column layout ===== */
.service-process-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.service-process-text {
    flex: 1 1 0;
    min-width: 0;
}
.service-process-photo {
    flex: 0 0 280px;
    width: 280px;
    position: sticky;
    top: 100px;
}
.service-process-photo-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #e8edf5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #8a9ab5;
    font-size: 15px;
    line-height: 1.5;
    border: 2px dashed #c0cce0;
}
@media (max-width: 900px) {
    .service-process-layout {
        flex-direction: column;
    }
    .service-process-photo {
        flex: none;
        width: 100%;
        position: static;
    }
    .service-process-photo-placeholder {
        aspect-ratio: 16 / 7;
    }
}

/* callout link color fix */
.types-clue-text a { color: inherit; text-decoration: underline; }


/* service detail single-photo gallery: remove excess space */
#oborudovanie .swiper-center .swiper-wrapper { min-height: 420px !important; }
#oborudovanie .swiper-center { margin-top: 40px; margin-bottom: 20px; }

