/* Service Detail Page Styles - Modern Minimalist */
.service-detail-container {
    padding: 0;
    background: #ffffff;
    min-height: 60vh;
    overflow-x: hidden;
}

.service-detail {
    max-width: 100%;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.service-detail-hero {
    position: relative;
    margin: 0 30px;
    margin-top: 3rem;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #17255F 0%, #1e3a8a 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.service-detail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail-hero:hover .service-detail-image {
    transform: scale(1.05);
}

.service-detail-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 3rem 2rem;
    max-width: 800px;
}

.service-detail-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-detail-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.service-detail-meta-item svg {
    width: 20px;
    height: 20px;
}

/* Content Section */
.service-detail-content {
    padding: 0 30px;
    margin-bottom: 4rem;
}

.service-detail-description {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.2s both;
}

.service-detail-description p {
    margin-bottom: 1.5rem;
}

/* Features Section */
.service-detail-features {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.4s both;
    border: 1px solid rgba(23, 37, 95, 0.1);
}

.service-detail-features h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #17255F;
    text-align: center;
}

.service-detail-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.service-detail-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(23, 37, 95, 0.1);
    animation: fadeInUp 0.6s ease-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-detail-feature:nth-child(1) { animation-delay: 0.1s; }
.service-detail-feature:nth-child(2) { animation-delay: 0.2s; }
.service-detail-feature:nth-child(3) { animation-delay: 0.3s; }
.service-detail-feature:nth-child(4) { animation-delay: 0.4s; }
.service-detail-feature:nth-child(5) { animation-delay: 0.5s; }
.service-detail-feature:nth-child(6) { animation-delay: 0.6s; }

.service-detail-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(23, 37, 95, 0.15);
    border-color: #17255F;
}

.service-detail-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #17255F 0%, #1e3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.service-detail-feature:hover .service-detail-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-detail-feature-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke-width: 2.5;
}

.service-detail-feature-text {
    font-size: 1rem;
    color: #334155;
    line-height: 1.6;
    font-weight: 500;
}

/* CTA Section */
.service-detail-cta {
    background: linear-gradient(135deg, #17255F 0%, #1e3a8a 100%);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    margin: 0 30px 4rem 30px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out 0.6s both;
}

.service-detail-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.service-detail-cta-content {
    position: relative;
    z-index: 2;
}

.service-detail-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.service-detail-cta p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-detail-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.service-detail-cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 220px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.service-detail-cta-buttons .btn-primary {
    background: white;
    color: #17255F;
    border: 2px solid white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.service-detail-cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
}

.service-detail-cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.service-detail-cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1100px) {
    .service-detail-hero {
        margin: 0 20px;
        margin-top: 2rem;
    }
    
    .service-detail-content {
        padding: 0 20px;
    }
    
    .service-detail-cta {
        margin: 0 20px 3rem 20px;
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .service-detail-hero {
        margin: 0 15px;
        margin-top: 1.5rem;
        min-height: 300px;
        border-radius: 16px;
    }
    
    .service-detail-hero-content {
        padding: 2rem 1.5rem;
    }
    
    .service-detail-title {
        font-size: 2rem;
    }
    
    .service-detail-content {
        padding: 0 15px;
    }
    
    .service-detail-description {
        font-size: 1rem;
    }
    
    .service-detail-features {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .service-detail-features h2 {
        font-size: 1.5rem;
    }
    
    .service-detail-features-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-detail-feature {
        padding: 1.25rem;
    }
    
    .service-detail-cta {
        margin: 0 15px 2rem 15px;
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }
    
    .service-detail-cta h2 {
        font-size: 1.75rem;
    }
    
    .service-detail-cta p {
        font-size: 1rem;
    }
    
    .service-detail-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .service-detail-cta-buttons .btn {
        width: 100%;
    }
    
    .service-detail-hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .service-detail-hero {
        margin: 0 10px;
        margin-top: 1rem;
    }
    
    .service-detail-title {
        font-size: 1.75rem;
    }
    
    .service-detail-content {
        padding: 0 10px;
    }
    
    .service-detail-features {
        padding: 1.5rem 1rem;
    }
    
    .service-detail-cta {
        margin: 0 10px 1.5rem 10px;
        padding: 2rem 1rem;
    }
    
    .service-detail-cta h2 {
        font-size: 1.5rem;
    }
}

/* Services Grid - Autotechnical Page */
.autotechnical-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(23, 37, 95, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease-out both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(23, 37, 95, 0.15);
    border-color: #17255F;
}

.service-card-header {
    margin-bottom: 1rem;
}

.service-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #17255F;
    margin: 0;
    line-height: 1.4;
}

.service-card-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(23, 37, 95, 0.1);
    margin-top: auto;
    flex-wrap: wrap;
}

.service-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #334155;
    font-weight: 600;
}

.service-meta-item svg {
    width: 18px;
    height: 18px;
    color: #17255F;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .autotechnical-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card-title {
        font-size: 1.25rem;
    }
    
    .service-card-description {
        font-size: 0.9375rem;
    }
    
    .service-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .autotechnical-services-grid {
        gap: 1.25rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-card-title {
        font-size: 1.125rem;
    }
}

/* Autotechnical Page Styles */
.autotechnical-page {
    max-width: 1400px;
    margin: 0 auto;
}

/* Title Section */
.autotechnical-title-section {
    margin-top: 5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.autotechnical-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

/* Breadcrumbs */
.autotechnical-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    color: #64748b;
}

.autotechnical-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.autotechnical-breadcrumbs a:hover {
    color: #17255F;
}

.breadcrumbs-separator {
    color: #cbd5e1;
}

.breadcrumbs-current {
    color: #17255F;
    font-weight: 500;
}

/* Кнопка "Назад" скрыта по умолчанию на десктопе */
.mobile-back-button {
    display: none;
}

/* Hero Section */
.autotechnical-hero {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto 3rem auto;
}

.autotechnical-hero-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    height: 480px;
}

.autotechnical-hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(108deg,
        rgba(4, 11, 28, 0.84) 0%,
        rgba(4, 11, 28, 0.58) 42%,
        rgba(4, 11, 28, 0.08) 72%,
        transparent 100%);
    pointer-events: none;
}

.autotechnical-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.autotechnical-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 58%;
    background: transparent;
    display: flex;
    align-items: center;
    padding: 2.8rem 2rem 2.8rem 3rem;
    z-index: 1;
}

.autotechnical-hero-content {
    text-align: left;
    background: none;
    border-radius: 0;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding: 0.2rem 0 0.2rem 1.4rem;
    margin: 0;
    animation: slideDownHero 0.7s ease-out;
}

@keyframes slideDownHero {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.autotechnical-hero-title {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.autotechnical-hero-description {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.78;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.autotechnical-hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.autotechnical-hero-list li {
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 0.3rem;
    padding-left: 1.1rem;
    position: relative;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.autotechnical-hero-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
    font-size: 0.85rem;
    top: 0.05em;
}

.autotechnical-hero-list li:last-child {
    margin-bottom: 0;
}

/* Callback Form Section */
.autotechnical-callback {
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #17255F 0%, #1e3a8a 100%);
    border-radius: 32px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}


.autotechnical-callback-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.autotechnical-phone-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    color: #17255F;
}

.autotechnical-phone-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    background: white;
}

.autotechnical-phone-input::placeholder {
    color: #94a3b8;
}

.autotechnical-callback-button {
    padding: 1rem 1.5rem;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.autotechnical-callback-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.autotechnical-callback-button:active {
    transform: translateY(0);
}

.autotechnical-callback-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.autotechnical-checkbox-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: white;
}

.autotechnical-checkbox-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    user-select: none;
}

.autotechnical-checkbox-label a {
    color: #17255F;
    text-decoration: underline;
}

/* Expertise Types Section */
.autotechnical-expertise-types {
    margin-bottom: 4rem;
}

.autotechnical-expertise-types-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 2.5rem;
    text-align: center;
}

/* ── Expertise kinds grid ───────────────────────────────────────────────── */
.autotechnical-expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

@media (min-width: 600px) {
    .autotechnical-expertise-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .autotechnical-expertise-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Expertise Kind Cards — same design as "Типы экспертиз" on home page
   Uses .service-card + sc-* classes (mirrored from home.css)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Grid overrides for kinds */
.autotechnical-expertise-grid {
    gap: 1.25rem;
}

/* Card shell — identical to home page service-card */
.autotechnical-expertise-grid .service-card {
    position: relative;
    display: block;
    border-radius: 40px;
    overflow: hidden;
    height: 435px;
    background: #1a1a1e;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18), 0 1px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.42s cubic-bezier(0.34, 1.04, 0.64, 1),
                box-shadow 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    opacity: 1;
    animation: ekCardIn 0.5s ease-out both;
}

@keyframes ekCardIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 599px) {
    .autotechnical-expertise-grid .service-card { height: 395px; }
}

.autotechnical-expertise-grid .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.26), 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Slide images */
.autotechnical-expertise-grid .sc-slides {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 0;
}

.autotechnical-expertise-grid .sc-slide {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.autotechnical-expertise-grid .sc-slide.active { opacity: 1; }

.autotechnical-expertise-grid .service-card:hover .sc-slide.active {
    transform: scale(1.06);
}

/* Gradient overlay */
.autotechnical-expertise-grid .sc-overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        transparent 20%,
        rgba(0, 0, 0, 0.08) 40%,
        rgba(0, 0, 0, 0.62) 62%,
        rgba(0, 0, 0, 0.93) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.125rem;
    box-sizing: border-box;
}

/* Dots */
.autotechnical-expertise-grid .sc-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 0.875rem;
}

.autotechnical-expertise-grid .sc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.22s, transform 0.22s;
    -webkit-tap-highlight-color: transparent;
}

.autotechnical-expertise-grid .sc-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

/* Text content */
.autotechnical-expertise-grid .sc-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.autotechnical-expertise-grid .sc-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.022em;
    margin: 0;
}

.autotechnical-expertise-grid .sc-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tag pills */
.autotechnical-expertise-grid .sc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-top: 0.25rem;
}

.autotechnical-expertise-grid .sc-tag-icon {
    width: 13px;
    height: 13px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
    margin-top: -1px;
    display: inline;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

.autotechnical-expertise-grid .sc-tag {
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.80rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* CTA button */
.autotechnical-expertise-grid .sc-footer { margin-top: 0.75rem; }

.autotechnical-expertise-grid .sc-btn {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    color: #1d1d1f;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 100px;
    letter-spacing: -0.01em;
    transition: background 0.2s;
    box-sizing: border-box;
}

.autotechnical-expertise-grid .service-card:hover .sc-btn { background: #ffffff; }

/* ── Legacy hidden ──────────────────────────────────────────────────────── */
.autotechnical-expertise-card-image { display: none; }
.autotechnical-expertise-meta-item { display: none; }

/* Consultation Banner */
.autotechnical-consultation-banner {
    background: linear-gradient(135deg, #17255F 0%, #1e3a8a 100%);
    border-radius: 32px;
    padding: 2.5rem 3rem;
    margin-bottom: 4rem;
    min-height: 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.autotechnical-consultation-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    will-change: opacity, transform;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    width: 100%;
    min-height: 64px;
}

.autotechnical-consultation-left,
.autotechnical-consultation-center,
.autotechnical-consultation-button-legal {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
}

.autotechnical-consultation-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    flex-shrink: 0;
}

.autotechnical-consultation-question-mark {
    font-size: 14rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    position: absolute;
    left: 50px;
    z-index: 0;
}

.autotechnical-consultation-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.autotechnical-consultation-center {
    flex: 1;
    text-align: center;
}

.autotechnical-consultation-center p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.autotechnical-consultation-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.autotechnical-consultation-button {
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.autotechnical-consultation-button-legal,
.autotechnical-consultation-button-individual {
    background: rgba(255, 107, 53, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 107, 53, 0.8);
}

.autotechnical-consultation-button-legal:hover,
.autotechnical-consultation-button-individual:hover {
    background: rgba(255, 107, 53, 0.7);
    border-color: rgba(255, 107, 53, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.autotechnical-consultation-button:active {
    transform: translateY(0);
}

/* Consultation Form Wrapper (Hidden by default) */
.autotechnical-consultation-form-wrapper {
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: calc(1.5rem + 130px);
    width: 100%;
    min-height: 64px;
    position: relative;
}

.autotechnical-consultation-form-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
    white-space: nowrap;
    min-width: 500px;
    text-align: right;
}

/* Consultation Form */
.autotechnical-consultation-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.autotechnical-consultation-phone-input {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    color: #17255F;
    width: 250px;
    flex-shrink: 0;
}

.autotechnical-consultation-phone-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    background: white;
}

.autotechnical-consultation-phone-input::placeholder {
    color: #94a3b8;
}

.autotechnical-consultation-button-order {
    flex-shrink: 0;
}

/* Meta Information Section */
.autotechnical-meta-section {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    background: none;
    border-radius: 0;
    overflow: visible;
}

.autotechnical-meta-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.4rem 1.4rem 1.2rem;
    background: #fff;
    border-radius: 30px;
    border: 1px solid #ebebeb;
    gap: 0;
    transition: border-color 0.2s, box-shadow 0.2s;
    cursor: default;
}

.autotechnical-meta-item:hover {
    border-color: #c8c8c8;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.autotechnical-meta-icon {
    display: none;
}

.autotechnical-meta-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.autotechnical-meta-label {
    font-size: 1rem;
    color: #908f8f;
    font-weight: 400;
    margin-bottom: 0.55rem;
    letter-spacing: 0;
}

.autotechnical-meta-value {
    font-size: 1.3rem;
    color: #111;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.autotechnical-meta-button {
    font-size: 1.15rem;
    color: #111;
    font-weight: 600;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    line-height: 1.2;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: color 0.18s;
}

.autotechnical-meta-button::after {
    content: '';
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f0f0;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23555' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.18s;
}

.autotechnical-meta-button:hover {
    color: #17255F;
}

.autotechnical-meta-button:hover::after {
    background-color: #e0e4f0;
}

.autotechnical-meta-action {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.autotechnical-order-button {
    padding: 1.4rem 1.4rem;
    background: #17255F;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    font-family: inherit;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
}

.autotechnical-order-button:hover {
    background: #0f1a3e;
    transform: scale(1.02);
}

.autotechnical-order-button:active {
    transform: scale(0.98);
}

/* DTP Circumstances Content Sections */
.dtp-circumstances-content {
    margin-bottom: 4rem;
}

.dtp-circumstances-section {
    margin-bottom: 3rem;
}

.dtp-circumstances-section:last-child {
    margin-bottom: 0;
}

.dtp-circumstances-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.dtp-circumstances-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 32px;
    background: linear-gradient(135deg, #17255F 0%, #1e3a8a 100%);
    border-radius: 2px;
}

.dtp-circumstances-section-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
}

.dtp-circumstances-section-content p {
    margin-bottom: 1.25rem;
}

.dtp-circumstances-section-content p:last-child {
    margin-bottom: 0;
}

.dtp-circumstances-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}

.dtp-circumstances-list li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.875rem;
}

.dtp-circumstances-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #17255F;
    font-weight: 700;
    font-size: 1.5rem;
}

.dtp-circumstances-list li:last-child {
    margin-bottom: 0;
}

.dtp-circumstances-link {
    color: #17255F;
    text-decoration: none;
    border-bottom: 1px solid rgba(23, 37, 95, 0.3);
    transition: border-color 0.3s ease;
}

.dtp-circumstances-link:hover {
    border-bottom-color: #17255F;
}

/* Meta Information Section — kind/type pages (inherits main rules above) */

/* DTP Circumstances Content Sections */
.dtp-circumstances-content {
    margin-bottom: 4rem;
}

.dtp-circumstances-section {
    margin-bottom: 3rem;
}

.dtp-circumstances-section:last-child {
    margin-bottom: 0;
}

.dtp-circumstances-section-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.dtp-circumstances-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 40px;
    background: linear-gradient(135deg, #17255F 0%, #1e3a8a 100%);
    border-radius: 2px;
}

.dtp-circumstances-section-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
}

.dtp-circumstances-section-content p {
    margin-bottom: 1.25rem;
}

.dtp-circumstances-section-content p:last-child {
    margin-bottom: 0;
}

.dtp-circumstances-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}

.dtp-circumstances-list li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.875rem;
}

.dtp-circumstances-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #17255F;
    font-weight: 700;
    font-size: 1.5rem;
}

.dtp-circumstances-list li:last-child {
    margin-bottom: 0;
}

.dtp-circumstances-link {
    color: #17255F;
    text-decoration: none;
    border-bottom: 1px solid rgba(23, 37, 95, 0.3);
    transition: border-color 0.3s ease;
}

.dtp-circumstances-link:hover {
    border-bottom-color: #17255F;
}

/* Payment Methods Modal */
.payment-methods-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-methods-modal.active {
    opacity: 1;
}

.payment-methods-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.payment-methods-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.payment-methods-modal.active .payment-methods-modal-content {
    transform: scale(1);
}

.payment-methods-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.payment-methods-modal-close:hover {
    background: #f1f5f9;
    color: #17255F;
}

.payment-methods-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #17255F;
    margin-bottom: 1.5rem;
}

.payment-methods-modal-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
}

.payment-methods-modal-body p {
    margin-bottom: 1.25rem;
}

.payment-methods-modal-body p:last-child {
    margin-bottom: 0;
}

/* PDF Viewer Modal */
.pdf-viewer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pdf-viewer-modal.active {
    opacity: 1;
}

.pdf-viewer-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pdf-viewer-modal-content {
    position: relative;
    background: white;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 10001;
}

.pdf-viewer-close-btn {
    position: absolute;
    top: 0.6rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(23, 37, 95, 0.2);
    font-size: 2rem;
    color: #17255F;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10002;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pdf-viewer-close-btn:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #17255F;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.pdf-viewer-modal-body {
    flex: 1;
    overflow: auto;
    position: relative;
}

.pdf-viewer-iframe {
    width: 100%;
    height: 100%;
    border: none;
    min-height: 100vh;
}

/* Types of Auto Expertise Detailed Section */
.autotechnical-expertise-types-detailed {
    margin-bottom: 2rem;
    padding: 3rem 0;
}

.autotechnical-expertise-types-detailed-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.autotechnical-expertise-types-detailed-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.autotechnical-expertise-types-detailed-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.autotechnical-expertise-type-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.autotechnical-expertise-type-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.autotechnical-expertise-type-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #17255F;
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1.5rem;
}

.autotechnical-expertise-type-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #17255F 0%, #1e3a8a 100%);
    border-radius: 2px;
}

.autotechnical-expertise-type-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1rem;
}

.autotechnical-expertise-type-description:last-child {
    margin-bottom: 0;
}

.autotechnical-expertise-type-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.autotechnical-expertise-type-list li {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.autotechnical-expertise-type-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #17255F;
    font-weight: 400;
    font-size: 1.125rem;
}

.autotechnical-expertise-type-list li:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1100px) {
    .autotechnical-hero-overlay {
        width: 65%;
        padding: 2.2rem 1.8rem 2.2rem 2.4rem;
    }
}

@media (max-width: 768px) {
    .autotechnical-page {
        padding-left: 15px;
        padding-right: 15px;
    }

    .autotechnical-title-section {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .autotechnical-title {
        font-size: 2rem;
        text-align: left;
    }
    
    .autotechnical-breadcrumbs {
        display: none;
    }
    
    /* Кнопка "Назад" для мобильных */
    .mobile-back-button {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
        padding: 0;
        background: transparent;
        border: none;
        color: #17255F;
        cursor: pointer;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }
    
    .mobile-back-button:hover {
        opacity: 0.7;
        transform: translateX(-2px);
    }
    
    .mobile-back-button:active {
        transform: translateX(-3px);
        opacity: 0.8;
    }
    
    .mobile-back-button span {
        display: inline-block;
        font-size: 1.125rem;
        font-weight: 500;
        color: #17255F;
    }
    
    .mobile-back-button::before {
        content: '';
        display: block;
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%2317255F' viewBox='0 0 24 24' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 19l-7-7 7-7'%3E%3C/path%3E%3C/svg%3E");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        flex-shrink: 0;
    }
    
    .mobile-back-button:hover::before {
        transform: translateX(-1.5px);
    }
    
    .autotechnical-hero-image-wrapper {
        min-height: 400px;
        height: 400px;
    }

    .autotechnical-hero-overlay {
        width: 90%;
        padding: 2rem 1.5rem 2rem 2rem;
    }

    .autotechnical-hero-title {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .autotechnical-hero-description {
        font-size: 0.9rem;
    }

    .autotechnical-hero-list li {
        font-size: 0.88rem;
        margin-bottom: 0.25rem;
    }
    
    .autotechnical-callback {
        padding: 2rem;
        border-radius: 30px;
    }
    
    .autotechnical-callback-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .autotechnical-phone-input {
        width: 100%;
    }
    
    .autotechnical-callback-button {
        width: 100%;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .autotechnical-expertise-types-detailed {
        padding: 2rem 0;
    }
    
    .autotechnical-expertise-types-detailed-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    
    .autotechnical-expertise-types-detailed-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .autotechnical-expertise-types-detailed-list {
        gap: 1.5rem;
    }
    
    .autotechnical-expertise-type-item {
        padding: 2rem;
    }
    
    .autotechnical-expertise-type-title {
        font-size: 1.5rem;
    }

    .autotechnical-meta-section {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .autotechnical-meta-item {
        flex: 1 1 calc(50% - 0.6rem);
    }

    .autotechnical-meta-action {
        flex: 1 1 100%;
    }

    .autotechnical-order-button {
        writing-mode: horizontal-tb;
        transform: none;
        width: 100%;
        padding: 1rem;
        border-radius: 30px;
    }

    .autotechnical-order-button:hover {
        transform: none;
    }

    .autotechnical-order-button:active {
        transform: scale(0.98);
    }
}

/* Планшеты: блок «Получите консультацию» */
@media (min-width: 481px) and (max-width: 1024px) {
    .autotechnical-consultation-banner {
        padding: 2rem 1.5rem;
    }

    .autotechnical-consultation-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .autotechnical-consultation-left {
        width: 100%;
        justify-content: center;
    }

    .autotechnical-consultation-question-mark {
        font-size: 34rem;
        height: 33px;
        line-height: 33px;
    }

    .autotechnical-consultation-title {
        font-size: 1.75rem;
        text-align: center;
        width: 100%;
    }

    .autotechnical-consultation-center {
        text-align: left;
    }

    .autotechnical-consultation-right {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .autotechnical-consultation-button {
        width: 100%;
        text-align: center;
    }

    .autotechnical-consultation-form-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        justify-content: flex-start;
    }

    .autotechnical-consultation-form-text {
        white-space: normal;
        text-align: center;
        min-width: 0;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 0.5rem;
    }

    .autotechnical-consultation-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.75rem;
    }

    .autotechnical-consultation-phone-input {
        width: 100%;
    }

    .autotechnical-consultation-button-order {
        width: 100%;
    }
}

@media (max-width: 480px) {
    
    .autotechnical-title {
        font-size: 1.75rem;
        text-align: left;
    }
    
    .autotechnical-hero-image-wrapper {
        min-height: 340px;
        height: 340px;
        border-radius: 30px;
    }

    .autotechnical-hero-overlay {
        width: 100%;
        padding: 1.5rem 1.2rem 1.5rem 1.6rem;
    }

    .autotechnical-hero-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .autotechnical-hero-list li {
        font-size: 0.85rem;
        padding-left: 1rem;
    }
    
    .autotechnical-callback {
        padding: 1.5rem;
    }
    
    .autotechnical-callback-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .autotechnical-expertise-types-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }
    
    .autotechnical-consultation-banner {
        padding: 2rem 1.5rem;
    }
    
    .autotechnical-consultation-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .autotechnical-consultation-left {
        width: 100%;
        justify-content: center;
    }
    
    .autotechnical-consultation-question-mark {
        font-size: 34rem;
        height: 33px;
        line-height: 33px;
    }
    
    .autotechnical-consultation-title {
        font-size: 1.75rem;
        text-align: center;
        width: 100%;
    }
    
    .autotechnical-consultation-center {
        text-align: left;
    }
    
    .autotechnical-consultation-right {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .autotechnical-consultation-button {
        width: 100%;
        text-align: center;
    }
    
    .autotechnical-consultation-right {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .autotechnical-consultation-form-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        justify-content: flex-start;
    }
    
    .autotechnical-consultation-form-text {
        white-space: normal;
        text-align: center;
        min-width: 0;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 0.5rem;
    }
    
    .autotechnical-consultation-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.75rem;
    }
    
    .autotechnical-consultation-phone-input {
        width: 100%;
    }
    
    .autotechnical-consultation-button-order {
        width: 100%;
    }
    
    .autotechnical-expertise-types-detailed {
        padding: 2rem 0;
    }
    
    .autotechnical-expertise-types-detailed-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    
    .autotechnical-expertise-types-detailed-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .autotechnical-expertise-types-detailed-list {
        gap: 1.5rem;
    }
    
    .autotechnical-expertise-type-item {
        padding: 1.75rem;
    }
    
    .autotechnical-expertise-type-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        padding-left: 1.25rem;
    }
    
    .autotechnical-expertise-type-title::before {
        height: 20px;
    }
    
    .autotechnical-expertise-type-description {
        font-size: 0.9375rem;
    }
    
    .autotechnical-expertise-type-list li {
        font-size: 0.9375rem;
        padding-left: 1.5rem;
    }

    .autotechnical-meta-item {
        flex: 1 1 100%;
    }

    .autotechnical-meta-section {
        gap: 0.5rem;
    }
}


@media (max-width: 430px) {
    .autotechnical-consultation-title {
        font-size: 1.4rem;
        text-align: left;
        width: 100%;
    }
}

/* ========================================
   ТЁМНАЯ ТЕМА
   ======================================== */

/* Карточки видов экспертиз — dark-theme не переопределяет overlay-дизайн */
.dark-theme .autotechnical-expertise-card-link:hover .autotechnical-expertise-card {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Заголовок "Виды экспертиз" */
.dark-theme .autotechnical-expertise-types-detailed-title {
    color: #ffffff;
}

.dark-theme .autotechnical-expertise-types-detailed-intro {
    color: var(--text-secondary);
}

/* Текстовые блоки — типы экспертиз */
.dark-theme .autotechnical-expertise-type-item {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.dark-theme .autotechnical-expertise-type-title {
    color: var(--admin-accent);
}

.dark-theme .autotechnical-expertise-type-title::before {
    background: var(--admin-accent);
}

.dark-theme .autotechnical-expertise-type-description {
    color: var(--text-secondary);
}

.dark-theme .autotechnical-expertise-type-list li {
    color: var(--text-primary);
}

.dark-theme .autotechnical-expertise-type-list li::before {
    color: var(--admin-accent);
}