/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a, a:link, a:visited, a:hover, a:active {
    text-decoration: none;
     
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border: none;
    transition: all 0.3s ease;
}

.header:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border: none;
    outline: none;
}

.logo {
}

.logo:hover {
    transform: scale(1.05);
    border: none;
    outline: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.logo-icon:hover {
    
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    border: none;
    outline: none;
}

.logo-icon img {
    width: 24px;
    height: 24px;
    border: none;
    outline: none;
}

.navigation {
    display: flex;
    gap: 2rem;
    border: none;
    outline: none;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border: none;
    outline: none;
}

.nav-link:hover {
    color: #2563eb;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: none;
    outline: none;
}

.phone {
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.phone:hover {
    color: #2563eb;
    transform: scale(1.05);
}

/* Button Styles */
.btn-primary {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary-small {
    background: #2563eb;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary-small:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8l4 4m0 0l-4 4m4-4H3"/></svg>') no-repeat center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Mobile Menu Styles */
.mobile-menu-checkbox {
    display: none;
}

* {
    box-sizing: border-box;
}

*:before,
*:after {
    border: none;
    outline: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    height: 24px;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    
    transform: scale(1.1);
}

.mobile-menu-toggle::before,
.mobile-menu-toggle::after,
.mobile-menu-toggle {
   
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
    content: '';
    display: block;
}


.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1999;
    padding: 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu-checkbox:checked ~ .mobile-overlay {
    display: block;
    opacity: 1;
}

.mobile-menu-checkbox:checked ~ .mobile-menu {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.mobile-logo-icon {
    width: 32px;
    height: 32px;
   
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-logo-icon:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}




.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mobile-menu-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: transparent;
    transition: width 0.3s ease;
}

.mobile-menu-nav a:hover::before {
    width: 100%;
    background: #406A9C;
}

.mobile-menu-nav a:hover {
    color: #406A9C;
    transform: translateX(10px);
    padding-left: 20px;
}

.mobile-menu-contact {
    margin-top: auto;
}

.mobile-menu-phone {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mobile-menu-phone:hover {
    color: #406A9C;
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(64, 106, 156, 0.2);
}

.mobile-menu-button {
    width: 100%;
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.mobile-menu-button:hover::before {
    left: 100%;
}

.mobile-menu-button:hover {
    background: #2E5A8A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(64, 106, 156, 0.4);
}

/* Phone number hover effect */
.phone, .mobile-menu-phone {
    transition: all 0.3s ease;
    cursor: pointer;
}

.phone:hover, .mobile-menu-phone:hover {
    color: #406A9C;
    transform: scale(1.05);
    text-shadow: 0 2px 4px rgba(64, 106, 156, 0.2);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    transition: all 0.3s ease;
}

.hero-text:hover {
    transform: translateY(-5px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.hero-title:hover {
    color: #2563eb;
}

.hero-title.forensic {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.hero-description:hover {
    color: #475569;
}

.hero-image {
    position: relative;
    transition: all 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-image:hover img {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.hero-badge {
    position: absolute;
    bottom: 1px;
    right: 20px;
    background: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    color: #2563eb;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.3);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.section-title:hover {
    color: #2563eb;
    transform: translateY(-2px);
}

.section-title-left {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.section-title-left:hover {
    color: #2563eb;
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
    
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.services-grid-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.service-card.large {
    min-height: 200px;
     color: inherit
}

.service-card.medium {
    min-height: 160px;
     color: inherit
}

.service-card.primary {
    background: #2563eb;
    color: white;
     color: inherit
}

.service-card.primary:hover {
    background: #1d4ed8;
    transform: translateY(-8px) scale(1.02);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: white;
}

.service-card.primary h3 {
    color: white;
}

.card-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card-arrow:hover {
    transform: scale(1.2) rotate(45deg);
}

.card-arrow.white {
    background: #f1f5f9;
}

.card-arrow.blue {
    background: rgba(255, 255, 255, 0.2);
}

.card-arrow::after {
    content: '→';
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-card:hover .card-arrow::after {
    transform: translateX(2px);
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: #f8fafc;
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.why-us-info {
    transition: all 0.3s ease;
}

.why-us-info:hover {
    transform: translateY(-5px);
}

.why-us-image {
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.why-us-image:hover {
    transform: scale(1.05);
}

.why-us-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.why-us-image:hover img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-us-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.why-us-description:hover {
    color: #475569;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.advantage-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.advantage-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.advantage-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-number {
    color: white;
    transform: scale(1.1);
}

.advantage-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.advantage-card:hover h4 {
    color: white;
}

.advantage-card p {
    color: #64748b;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.advantage-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Three columns grid for advantages */
.advantages-grid.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.contact-form-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.contact-form-card:hover h3 {
    color: #2563eb;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-input,
.form-select {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:hover,
.form-select:hover {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Privacy Consent Styles */
.privacy-consent {
    margin: 1rem 0;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
    font-size: 0.9rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.consent-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    background: white;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #2563eb;
    border-color: #2563eb;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark::after {
    display: block;
}

.consent-checkbox:hover .checkmark {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.consent-text {
    flex: 1;
}

.consent-link {
    color: #2563eb;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.consent-link:hover {
    color: #1d4ed8;
    text-decoration: none;
}

.contact-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    transition: all 0.3s ease;
}

.contact-badge:hover {
    transform: scale(1.1) rotate(10deg);
}

.badge-circle {
    width: 80px;
    height: 80px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.badge-circle:hover {
    background: #1d4ed8;
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.badge-dots {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.badge-dots:hover {
    transform: scale(1.2);
}

/* Leader Section */
.leader {
    padding: 80px 0;
    background: white;
}

.leader-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.leader-photo {
    transition: all 0.3s ease;
    border-radius: 40px;
    width: 50%;
     justify-self:center;
    
    
}

.leader-photo:hover {
    transform: scale(1.05);
}

.leader-photo img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.leader-photo:hover img {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.leader-info {
    transition: all 0.3s ease;
}

.leader-info:hover {
    transform: translateY(-5px);
}

.leader-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.leader-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.leader-description:hover {
    color: #475569;
}

/* Experience Section */
.experience {
    padding: 80px 0;
    background: #f8fafc;
}

.experience-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.experience-info {
    transition: all 0.3s ease;
}

.experience-info:hover {
    transform: translateY(-5px);
}

.experience-subtitle {
    font-size: 1.2rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.experience-subtitle:hover {
    color: #1d4ed8;
}

.experience-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.experience-description:hover {
    color: #475569;
}

.experience-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.experience-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cert-container {
    position: relative;
    width: 300px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
}

.cert-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    top: 0;
    left: 0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(350px);
    animation: slideShow 15s infinite;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cert-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    opacity: 0;
    animation: certSlide 18s infinite;
    transform: scale(1.1);
    transition: transform 0.3s ease;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.experience-nav-btn:hover {
    background: #406A9C;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(64, 106, 156, 0.3);
}

.experience-nav-btn:hover::after {
    border-color: #FFFFFF;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cert-indicator:hover {
    background: #406A9C;
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(64, 106, 156, 0.4);
    opacity: 0;
    transition: all 0.5s ease;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover, .footer-logo:hover {
    transform: scale(1.1) rotate(2deg);
}

.logo-icon img, .footer-logo img {
    transition: all 0.3s ease;
}

.logo:hover .logo-icon img, .footer-logo:hover img {
    filter: brightness(1.2) saturate(1.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-title:hover, .section-title-left:hover {
    color: #406A9C;
    transform: translateX(10px);
    text-shadow: 0 2px 4px rgba(64, 106, 156, 0.2);
    transition: all 0.3s ease;
}

.cert-img:hover {
    transform: scale(1.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-badge:hover {
    transform: rotate(10deg) scale(1.1);
}

.badge-circle {
    transition: all 0.3s ease;
}

.contact-badge:hover .badge-circle {
    background: linear-gradient(45deg, #406A9C, #173483);
    box-shadow: 0 8px 25px rgba(64, 106, 156, 0.4);
}

.cert-radio:checked + .cert-radio + .cert-radio + .cert-radio + .cert-container .cert-img-1,
.cert-radio + .cert-radio:checked + .cert-radio + .cert-radio + .cert-container .cert-img-2,
.cert-radio + .cert-radio + .cert-radio:checked + .cert-radio + .cert-container .cert-img-3,
.cert-radio + .cert-radio + .cert-radio + .cert-radio:checked + .cert-container .cert-img-4 {
    opacity: 1;
}
.cert-img:hover {
    transform: scale(1.15);
    cursor: pointer;
}

.cert-img-1 {
    animation-delay: 0s;
    opacity: 1;
}

.cert-img-2 {
    animation-delay: 3s;
}

.cert-img-3 {
    animation-delay: 6s;
}

.experience-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.experience-arrows.left {
    left: 20px;
}

.experience-arrows.right {
    right: 20px;
}

.experience-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.experience-nav-btn:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.experience-nav-btn::after {
    content: '‹';
    font-size: 20px;
    font-weight: bold;
}

.experience-nav-btn.next::after {
    content: '›';
}

.cert-img-4 {
    animation-delay: 9s;
    z-index: 10;
}

.cert-img-5 {
    animation-delay: 12s;
}

.cert-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.cert-img-6 {
    animation-delay: 15s;
}

@keyframes slideShow {
    0%, 15% {
        opacity: 0;
        transform: translateX(350px);
    }
    20%, 35% {
        opacity: 1;
        transform: translateX(0);
    }
    40%, 100% {
        opacity: 0;
        transform: translateX(-350px);
    }
}

@keyframes certSlide {
    0%, 16.66% {
        opacity: 1;
        transform: scale(1);
    }
    33.33%, 100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

/* Partners Section */
/* Partners Section */
.partners {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.partners-container {
    overflow: hidden;
    position: relative;
}

/* Desktop - бесконечная прокрутка */
.partners-track {
    display: flex;
    gap: 2rem;
    animation: partnerScroll 10s linear infinite;
    flex-shrink: 0;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-card {
    min-width: 200px;
    height: 120px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.partner-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.partner-placeholder {
    width: 90%;
    height: 100%;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Mobile - свайп пальцем */
@media (max-width: 768px) {
    .partners {
        padding: 60px 0;
    }
    
    .partners-container {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 20px;
    }
    
    .partners-container::-webkit-scrollbar {
        display: none;
    }
    
    .partners-track {
        animation: none !important;
        width: max-content;
        gap: 16px;
        padding-right: 20px;
    }
    
    .partners-track:hover {
        animation-play-state: running;
    }
    
    .partner-card {
        min-width: 180px;
        height: 100px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    
    .partner-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 480px) {
    .partners {
        padding: 40px 0;
    }
    
    .partners-container {
        padding: 0 15px;
    }
    
    .partners-track {
        gap: 12px;
        padding-right: 15px;
    }
    
    .partner-card {
        min-width: 160px;
        height: 90px;
    }
}

/* Улучшенная поддержка touch-событий */
@media (hover: none) and (pointer: coarse) {
    .partners-container {
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }
    
    .partners-track {
        animation: none !important;
    }
    
    .partner-card {
        touch-action: manipulation;
    }
}
.footer{
    background: #FFFFFF;
    color: #333;
    padding: 60px 0 20px;
    background: #ffffff;
    color: #333;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo .logo-placeholder img {
    width: 300px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}



.footer-contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #64748b;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer-contacts .contact-item {
    transition: all 0.3s ease;
    cursor: pointer;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #64748b;
    font-size: 0.9rem;
    white-space: nowrap;
}

.contact-item:hover {
    transform: translateX(5px);
    color: #2563eb;
}

.form-input:hover, .form-select:hover {
    background: #E8EDF4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-input:focus, .form-select:focus {
    background: #FFFFFF;
    border: 2px solid #406A9C;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 106, 156, 0.2);
    outline: none;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary-small:hover::before {
    left: 100%;
}

.btn-primary-small:hover {
   
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(64, 106, 156, 0.4);
}

.contact-item:hover {
   
    transform: translateX(5px);
}

.contact-icon {
    width: 20px;
    height: 20px;
    background: #475569;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
   
    transform: scale(1.1);
}

.contact-icon.email {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/></svg>');
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-icon.phone {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"/></svg>');
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-icon.telegram {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M11.944 0A12 12 0 000 12a12 12 0 0012 12 12 12 0 0012-12A12 12 0 0012 0a12 12 0 00-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 01.171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"/></svg>');
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}



.header .nav-link:hover::before {
    left: 0;
}

.header .nav-link:hover {
    color: #406A9C;
    transform: translateY(-2px);
}

.footer-nav-link {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #64748b;
}

.footer-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 1px;
    background: #406A9C;
    transition: left 0.3s ease;
}

.footer-nav-link:hover::after {
    left: 0;
}

.footer-nav-link:hover {
    color: #406A9C;
    transform: translateX(5px);
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-nav-link:hover {
    color: #2563eb;
    transform: translateX(5px);
}

.footer-address {
    color: #94a3b8;
    transition: all 0.3s ease;
}



.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}



/* Pretrial Section (for wpage.html) */
.pretrial-section {
    padding: 80px 0;
    background: white;
}

.pretrial-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pretrial-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.pretrial-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.pretrial-card:hover .pretrial-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Benefits Section (for wpage.html) */
.benefits-section {
    padding: 80px 0;
    background: #f8fafc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.benefit-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.benefit-card:hover h3 {
    color: white;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-list li {
    color: rgba(255, 255, 255, 0.9);
}

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-list li::before {
    color: white;
}

/* Court Expertise Section (for wpage.html) */
.court-expertise {
    padding: 80px 0;
    background: white;
}

.court-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.court-info {
    transition: all 0.3s ease;
}

.court-info:hover {
    transform: translateY(-5px);
}

.court-image {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.court-image:hover {
    transform: scale(1.05);
}

.court-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.court-image:hover img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.court-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.court-subtitle:hover {
    color: #2563eb;
}

.court-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.court-description:hover {
    color: #475569;
}

.court-services {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.service-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.service-item:hover h4 {
    color: white;
}

.service-item p {
    color: #64748b;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.service-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Why Choose Section (for wpage.html) */
.why-choose {
    padding: 80px 0;
    background: #f8fafc;
}

/* Hero Expertise Section (for expetize.html) */
.hero-expertise {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-expertise-text {
    transition: all 0.3s ease;
}

.hero-expertise-text:hover {
    transform: translateY(-5px);
}

.hero-expertise-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.hero-expertise-title:hover {
    color: #2563eb;
}

.hero-expertise-description {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.hero-expertise-description:hover {
    color: #475569;
}

.hero-expertise-image {
    position: relative;
    transition: all 0.3s ease;
}

.hero-expertise-image:hover {
    transform: scale(1.05);
}

.hero-expertise-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-expertise-image:hover img {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Services Expertise Section (for expetize.html) */
.services-expertise {
    padding: 80px 0;
    background: white;
}

.services-expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.services-expertise-grid-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-expertise-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
   
}

.service-expertise-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.service-expertise-card.large {
    
    max-height: 167px;
}

.service-expertise-card.medium {
    max-height: 167px;
    
}

.service-expertise-card h3 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1e293b;
    transition: all 0.3s ease;
}

.service-expertise-card:hover h3 {
    color: white;
}

/* Problems Section (for expetize.html) */
.problems-section {
    padding: 80px 0;
    background: #f8fafc;
}

.problems-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.problems-info {
    transition: all 0.3s ease;
}

.problems-info:hover {
    transform: translateY(-5px);
}

.problems-subtitle {
    font-size: 1.2rem;
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.problems-subtitle:hover {
    color: #1d4ed8;
}

.problems-description,
.problems-solution,
.problems-cta {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.problems-description:hover,
.problems-solution:hover,
.problems-cta:hover {
    color: #475569;
}

.problems-image {
    transition: all 0.3s ease;
}

.problems-image:hover {
    transform: scale(1.05);
}

.problems-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.problems-image:hover img {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Why Choose Expertise Section (for expetize.html) */
.why-choose-expertise {
    padding: 80px 0;
    background: white;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    justify-items: center;
}

.why-choose-info {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.why-choose-info:hover {
    transform: translateY(-5px);
}

.why-choose-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.why-choose-description:hover {
    color: #475569;
}

.advantages-expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.advantage-expertise-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
}

.advantage-expertise-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.advantage-expertise-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.advantage-expertise-card:hover h4 {
    color: white;
}

.advantage-expertise-card p {
    color: #64748b;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.advantage-expertise-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Process Section (for expetize.html) */
/* Изменения для блока "Простой путь к положительному заключению" */

/* Основной контейнер секции процесса */
.process-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Новый контент процесса - сетка 1:1 */
.process-new-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Левая часть с изображением */
.process-left {
    position: relative;
    overflow: hidden;
}

.process-image-container {
    position: relative;
    height: 100%;
    min-height: 480px;
}

.process-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Заголовок поверх изображения */
.process-title-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.process-title-overlay:hover {
    background: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
}

.process-title-overlay h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.process-title-overlay:hover h2 {
    color: white;
}

/* Правая часть со шагами */
.process-right {
    background: white;
    padding: 40px 35px;
    display: flex;
    align-items: center;
    min-height: 480px;
}

.process-steps-new {
    width: 100%;
}

/* Отдельный шаг процесса */
.process-step-new {
    position: relative;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 12px;
}

.process-step-new:hover {
    transform: translateY(-3px);
    background: #f8f9fa;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.process-step-new:last-child {
    margin-bottom: 0;
}

.process-step-new:last-child .step-arrow {
    display: none;
}

/* Номер шага в кружке */
.step-number-new {
    position: absolute;
    top: 20px;
    left: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.process-step-new:hover .step-number-new {
    background: #0056b3;
    transform: scale(1.1);
}

/* Контент шага */
.step-content-new {
    margin-left: 90px;
    padding-top: 20px;
}

.step-content-new h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.process-step-new:hover .step-content-new h4 {
    color: #007bff;
}

.step-content-new p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.process-step-new:hover .step-content-new p {
    color: #333;
}

/* Стрелка между шагами */
.step-arrow {
    position: absolute;
    left: 47px;
    top: 65px;
    width: 2px;
    height: 25px;
    background: #e9ecef;
    z-index: 1;
    transition: background 0.3s ease;
}

.process-step-new:hover .step-arrow {
    background: #007bff;
}

.step-arrow::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #e9ecef;
    border-bottom: 2px solid #e9ecef;
    transform: rotate(45deg);
    transition: border-color 0.3s ease;
}

.process-step-new:hover .step-arrow::after {
    border-color: #007bff;
}

/* Адаптивные стили для планшетов */
@media (max-width: 1024px) {
    .process-new-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .process-left {
        border-radius: 20px 20px 0 0;
    }
    
    .process-right {
        border-radius: 0 0 20px 20px;
        min-height: auto;
    }
    
    .process-image-container {
        min-height: 320px;
    }
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .process-title-overlay {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 20px;
    }
    
    .process-title-overlay h2 {
        font-size: 1.5rem;
    }
    
    .process-right {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .process-image-container {
        min-height: 280px;
    }
    
    .process-title-overlay h2 {
        font-size: 1.3rem;
    }
    
    .process-right {
        padding: 30px 20px;
    }
    
    .step-number-new {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-content-new h4 {
        font-size: 1.1rem;
    }
    
    .step-content-new p {
        font-size: 0.9rem;
    }
    
    .step-arrow {
        left: 44px;
    }
}

/* Technical Sections (for str4.html) */
.hero-technical-new {
    padding: 120px 0 80px;
    background: white;
    position: relative;
    overflow: hidden;
}

.hero-technical-new-content {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-technical-new-content:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-technical-new-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-technical-new-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.hero-technical-new-content:hover .hero-technical-new-image img {
    transform: scale(1.1);
}

.hero-technical-new-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(29, 78, 216, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    transition: all 0.3s ease;
}

.hero-technical-new-content:hover .hero-technical-new-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(29, 78, 216, 1) 100%);
}

.hero-technical-new-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.hero-technical-new-content:hover .hero-technical-new-title {
    transform: translateY(-5px);
}

.hero-technical-new-description {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-technical-new-content:hover .hero-technical-new-description {
    transform: translateY(-5px);
}

.hero-technical-new-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.hero-technical-new-content:hover .hero-technical-new-description p {
    opacity: 1;
}

.technical-subtitle-new {
    padding: 60px 0;
    background: #f8fafc;
}

.technical-subtitle-new-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.technical-subtitle-new-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.technical-subtitle-new-card p {
    font-size: 1.3rem;
    color: #1e293b;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

.technical-subtitle-new-card:hover p {
    color: white;
}

.technical-problems-new {
    padding: 80px 0;
    background: white;
}

.technical-problems-new-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.technical-problems-new-info {
    transition: all 0.3s ease;
}

.technical-problems-new-info:hover {
    transform: translateY(-5px);
}

.technical-problems-new-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.technical-problems-new-info:hover h3 {
    color: #2563eb;
}

.problems-subtitle,
.problems-description {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.technical-problems-new-info:hover .problems-subtitle,
.technical-problems-new-info:hover .problems-description {
    color: #475569;
}

.technical-problems-new-image {
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.technical-problems-new-image:hover {
    transform: scale(1.05);
}

.technical-problems-new-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.technical-problems-new-image:hover img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.technical-benefits-new-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.technical-benefit-new-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.technical-benefit-new-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}



.technical-benefit-new-card.primary:hover {
    background: #1d4ed8;
    transform: translateX(5px);
}

.technical-benefit-new-card.primary .btn-primary {
    background: white;
    color: #2563eb;
}

.technical-benefit-new-card.primary:hover .btn-primary {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.technical-services-new {
    padding: 80px 0;
    background: #f8fafc;
}

.technical-services-new-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.technical-services-new-left,
.technical-services-new-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.technical-service-new-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.technical-service-new-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.technical-service-new-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.technical-service-new-card:hover h4 {
    color: white;
}

.technical-service-new-card p {
    color: #64748b;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.technical-service-new-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

.technical-services-new-center {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.technical-services-new-center:hover {
    transform: translateY(-5px);
}

.technical-center-new-image {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.technical-center-new-image:hover {
    transform: scale(1.05);
}

.technical-center-new-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.technical-center-new-image:hover img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.technical-center-new-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.technical-services-new-center:hover .technical-center-new-title {
    color: #2563eb;
}

.technical-center-new-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.technical-services-new-center:hover .technical-center-new-description {
    color: #475569;
}

.technical-additional-new {
    padding: 80px 0;
    background: white;
}

.technical-additional-new-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.technical-additional-new-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.technical-additional-new-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.technical-additional-new-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.technical-additional-new-card:hover h4 {
    color: white;
}

.technical-additional-new-card p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.technical-additional-new-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Legal Support Page Styles */
.hero-legal {
    padding: 120px 0 80px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.hero-legal-content {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-legal-content:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-legal-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-legal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.hero-legal-content:hover .hero-legal-image img {
    transform: scale(1.1);
}

.hero-legal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(29, 78, 216, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    transition: all 0.3s ease;
}

.hero-legal-content:hover .hero-legal-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(29, 78, 216, 1) 100%);
}

.hero-legal-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.hero-legal-content:hover .hero-legal-title {
    transform: translateY(-5px);
}

.hero-legal-description {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-legal-content:hover .hero-legal-description {
    transform: translateY(-5px);
}

.hero-legal-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.hero-legal-content:hover .hero-legal-description p {
    opacity: 1;
}

/* Hero Legal Badge */
.hero-legal-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.hero-legal-badge:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.hero-legal-badge .badge-circle {
    width: 80px;
    height: 80px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.hero-legal-badge:hover .badge-circle {
    background: white;
}

.hero-legal-badge .badge-circle .badge-dots {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-legal-badge:hover .badge-circle .badge-dots {
    background: #2563eb;
}

.hero-legal-badge .badge-dots img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.hero-legal-badge span {
    font-size: 1rem;
    font-weight: 500;
    color: #2563eb;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    outline: none;
}

.hero-legal-badge:hover span {
    color: white;
}

/* Hero Legal Badge */
.hero-legal-badge {
    position: absolute;
    bottom: -20px;
    right: 2rem;
    background: white;
    color: #2563eb;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-legal-badge:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Contract Work Section */
.contract-work-section {
    padding: 80px 0;
    background: white;
}

.contract-work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contract-work-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contract-work-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
}

.contract-work-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.contract-work-card:hover h3 {
    color: white;
}

.contract-list {
    list-style: none;
    padding: 0;
}

.contract-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #64748b;
    transition: all 0.3s ease;
}

.contract-work-card:hover .contract-list li {
    color: rgba(255, 255, 255, 0.9);
}

.contract-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contract-work-card:hover .contract-list li::before {
    color: white;
}

.contract-cta-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contract-cta-section:hover {
    background: #f8fafc;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contract-cta-text {
    flex: 1;
}

.contract-cta-text p {
    font-size: 1.2rem;
    color: #2563eb;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

.contract-cta-section:hover .contract-cta-text p {
    color: #1d4ed8;
}

/* Full Support Section */
/* Full Support Section */
.full-support-section {
    padding: 5rem 0;
    background: #f1f5f9;
}

.full-support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.full-support-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.full-support-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.full-support-question {
    margin-bottom: 2rem;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.answer-text {
    color: #64748b;
    line-height: 1.6;
}

.full-support-image {
    margin-top: 2rem;
}

.full-support-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.support-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.support-service-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.service-number {
    background: #3b82f6;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.service-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.service-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.support-documents-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    grid-column: 1 / -1;
}

.support-documents-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.support-documents-section p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Why Choose Legal Section */
.why-choose-legal {
    padding: 80px 0;
    background: white;
}

.legal-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.legal-advantage-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.legal-advantage-card:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.legal-advantage-card .advantage-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.legal-advantage-card:hover .advantage-number {
    color: white;
    transform: scale(1.1);
}

.legal-advantage-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
    transition: all 0.3s ease;
}

.legal-advantage-card:hover h4 {
    color: white;
}

.legal-advantage-card p {
    color: #64748b;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.legal-advantage-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Consultation Page Styles */
.hero-consultation {
    padding: 120px 0 80px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.hero-consultation-content {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-consultation-content:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.hero-consultation-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-consultation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.hero-consultation-content:hover .hero-consultation-image img {
    transform: scale(1.1);
}

.hero-consultation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(29, 78, 216, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
    transition: all 0.3s ease;
}

.hero-consultation-content:hover .hero-consultation-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(29, 78, 216, 1) 100%);
}

.hero-consultation-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.hero-consultation-content:hover .hero-consultation-title {
    transform: translateY(-5px);
}

.hero-consultation-description {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.hero-consultation-content:hover .hero-consultation-description {
    transform: translateY(-5px);
}

.hero-consultation-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.hero-consultation-content:hover .hero-consultation-description p {
    opacity: 1;
}

/* Новый дизайн блока "С чем мы можем помочь" */

.consultation-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.consultation-services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Левая часть с изображением и информацией */
.consultation-services-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.consultation-services-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
}

.consultation-services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultation-services-info {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.consultation-services-info .section-title-left {
    font-size: 2.2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.consultation-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Правая часть с карточками услуг */
.consultation-services-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.consultation-service-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid #007bff;
}

.consultation-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.2);
}

.consultation-service-card.large {
    padding: 35px 30px;
}

/* Номера услуг */
.consultation-service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.consultation-service-card:hover .consultation-service-number {
    background: #0056b3;
    transform: scale(1.1);
}

/* Заголовки карточек */
.consultation-service-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.consultation-service-card:hover h4 {
    color: #007bff;
}

/* Описания карточек */
.consultation-service-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.consultation-service-card:hover p {
    color: #333;
}

/* Адаптивные стили для планшетов */
@media (max-width: 1024px) {
    .consultation-services-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .consultation-services-left {
        order: 2;
    }
    
    .consultation-services-right {
        order: 1;
    }
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .consultation-services-info {
        padding: 30px;
    }
    
    .consultation-services-info .section-title-left {
        font-size: 1.8rem;
    }
    
    .consultation-service-card {
        padding: 25px;
    }
    
    .consultation-service-card h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .consultation-services-image {
        height: 250px;
    }
    
    .consultation-services-info .section-title-left {
        font-size: 1.5rem;
    }
    
    .consultation-services-info {
        padding: 25px;
    }
    
    .consultation-service-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .consultation-service-card h4 {
        font-size: 1rem;
    }
    
    .consultation-service-card p {
        font-size: 0.9rem;
    }
}

/* Target Audience Section */
/* Новый дизайн блока "Кому мы будем полезны" */

.target-audience {
    padding: 80px 0;
    background: white;
}

.target-audience .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

/* Основная сетка - две равные колонки */
.target-audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid #007bff;
    border-radius: 20px;
    overflow: hidden;
    background: #f8f9fa;
    min-height: 500px;
}

/* Карточки аудитории */
.target-audience-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    background: #f8f9fa;
}

.target-audience-card:first-child {
    border-right: 2px solid #007bff;
}

/* Заголовки карточек */
.target-audience-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 25px;
    text-align: left;
    letter-spacing: 0.5px;
}

/* Контент карточек */
.audience-benefits {
    flex-grow: 1;
}

.audience-benefits > p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Списки */
.audience-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.audience-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.audience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #007bff;
    border-radius: 50%;
}

/* Выделенные блоки */
.audience-highlight {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.audience-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.audience-highlight p {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.audience-highlight p:first-child {
    margin-bottom: 8px;
}

.audience-highlight strong {
    color: #007bff;
    font-weight: 600;
}

/* Контейнер для кнопки */
.audience-cta {
    margin-top: 30px;
    text-align: right;
}

/* Единая кнопка "Оставить заявку" */
.audience-cta-button {
    background: #007bff;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.audience-cta-button:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.audience-cta-button .btn-arrow {
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="white"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 8l4 4m0 0l-4 4m4-4H3"/></svg>') no-repeat center;
    background-size: contain;
}

/* Адаптивные стили */
@media (max-width: 1024px) {
    .target-audience-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .target-audience-card:first-child {
        border-right: none;
        border-bottom: 2px solid #007bff;
    }
}

@media (max-width: 768px) {
    .target-audience .section-title {
        font-size: 2rem;
    }
    
    .target-audience-card {
        padding: 30px;
    }
    
    .target-audience-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .target-audience .section-title {
        font-size: 1.8rem;
    }
    
    .target-audience-card {
        padding: 25px;
    }
    
    .target-audience-card h3 {
        font-size: 1.1rem;
    }
    
    .audience-benefits > p,
    .audience-list li,
    .audience-highlight p {
        font-size: 0.9rem;
    }
    
    .audience-cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

/* Consultation Process Section */
.consultation-process {
    padding: 80px 0;
    background: white;
}

.consultation-process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.consultation-process-image {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.consultation-process-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.consultation-process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultation-process-info {
    transition: all 0.3s ease;
}

.consultation-process-info:hover {
    transform: translateY(-5px);
}

.process-question {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process-question:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.process-question p {
    margin: 0.5rem 0;
    color: #2563eb;
    transition: all 0.3s ease;
}

.process-question:hover p {
    color: white;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: #2563eb;
    min-width: 60px;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    color: #1d4ed8;
    transform: scale(1.1);
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.process-step:hover .step-content h4 {
    color: #1d4ed8;
}

.step-content p {
    color: #64748b;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.process-step:hover .step-content p {
    color: #475569;
}

/* Hero technical section hover effects */
.hero-technical-new-overlay {
    transition: all 0.3s ease;
}

/* Responsive animations adjustments */
@media (max-width: 768px) {
    .expert-card:hover {
        transform: translateY(-5px);
    }
    
    .about-hero-card:hover {
        transform: translateY(-3px);
    }
    
    .partner-card:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .section-title:hover, .section-title-left:hover {
        transform: translateX(5px);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Page load animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero, .our-experts, .experience, .partners, .contact-form-section {
    animation: fadeInUp 0.8s ease-out;
}

/* Staggered animation for expert cards */
.expert-card:nth-child(1) {
    animation-delay: 0.1s;
}

.expert-card:nth-child(2) {
    animation-delay: 0.2s;
}

.expert-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* About Us Page Styles */
.about-hero {
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.about-hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1474px;
  margin: 0 auto;
}

.about-hero-left {
  flex: 1;
}

.about-hero-title {
  font-size: 45px;
  line-height: 53px;
  color: #2C2C2C;
  transition: color 0.3s ease;
}

.contacts-info:hover .contacts-title {
  color: #173483;
  margin-bottom: 40px;
  font-weight: 500;
}

.about-hero-card {
  background: #FFFFFF;
  border-radius: 30px;
  padding: 40px;
  transition: all 0.3s ease;
}

.about-hero-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-hero-text {
  font-size: 25px;
  line-height: 29px;
  color: #2C2C2C;
  transition: color 0.3s ease;
}

.contact-group:hover .contact-text {
  color: #406A9C;
}

.contact-group {
  transition: transform 0.3s ease;
  padding: 10px 0;
  border-radius: 10px;
}


.about-hero-btn {
  background: #406A9C;
  color: white;
  border: none;
  padding: 20px 42px;
  border-radius: 40px;
  font-size: 25px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(64, 106, 156, 0.3);
}

.about-hero-image {
  flex: 1;
  position: relative;
}

.about-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.about-hero-image:hover img {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

/* Our Experts Section */
.our-experts {
  padding: 80px 0;
  background: #F0F3F7;
}

.experts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.experts-navigation {
  display: flex;
  gap: 1rem;
}

.expert-card {
  background: #FFFFFF;
  border-radius: 30px;
  padding: 40px;
  transition: all 0.3s ease;
}

.expert-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.expert-image {
  width: 100%;
  height: 265px;
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 20px;
}

.expert-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: all 0.3s ease;
}

.expert-card:hover .expert-image img {
  transform: scale(1.1);
}

.expert-name {
  font-size: 25px;
  line-height: 29px;
  color: #173483;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  position: relative;
}

.contact-label::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #173483;
  transition: width 0.3s ease;
}

.contact-group:hover .contact-label::after {
  width: 100%;
  transition: all 0.3s ease;
}

.expert-card:hover .expert-name {
  color: #406A9C;
  transform: translateX(5px);
}

.expert-position {
  font-size: 16px;
  line-height: 19px;
  color: #2C2C2C;
  margin-bottom: 10px;
}

.expert-description {
  font-size: 16px;
  line-height: 19px;
  color: #2C2C2C;
}

.experts-nav-btn {
  width: 55px;
  height: 55px;
  background: #F0F3F7;
  border: none;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.experts-nav-btn:hover {
  background: #406A9C;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(64, 106, 156, 0.3);
}

.nav-arrow {
  width: 15px;
  height: 15px;
  border-right: 2px solid #406A9C;
  border-bottom: 2px solid #406A9C;
  transition: all 0.3s ease;
}

.experts-nav-btn:hover .nav-arrow {
  border-color: white;
}

.nav-arrow.left {
  transform: rotate(135deg);
}

.nav-arrow.right {
  transform: rotate(-45deg);
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1474px;
  margin: 0 auto;
}

/* Responsive Design for About Page */
@media (max-width: 1200px) {
  .about-hero-content {
    max-width: 90%;
    gap: 40px;
  }
  
  .experts-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 40px 0;
  }
  
  .about-hero-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .about-hero-title {
    font-size: 35px;
    line-height: 41px;
    text-align: center;
  }
  
  .about-hero-text {
    font-size: 20px;
    line-height: 24px;
  }
  
  .about-hero-btn {
    font-size: 20px;
    padding: 15px 30px;
  }
  
  .our-experts {
    padding: 40px 0;
  }
  
  .experts-header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .experts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .expert-card {
    padding: 30px;
  }
  
  .expert-name {
    font-size: 22px;
    line-height: 26px;
  }
}

/* Contacts Page Styles */
.contacts-hero {
    padding: 60px 0;
    background: #F0F3F7;
}

.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding-top: 80px;
}

.contacts-info {
    background: #FFFFFF;
    border-radius: 40px;
    padding: 40px;
  transition: all 0.3s ease;
  transform: translateY(0);
}

.contacts-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contacts-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 45px;
    line-height: 53px;
    color: #2C2C2C;
    margin-bottom: 40px;
}

.contacts-details {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.contact-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 29px;
    color: #173483;
    margin: 0;
}

.contact-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 29px;
    color: #2C2C2C;
    margin: 0;
}

.contacts-map {
    width: 100%;
    height: 500px;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contacts-map:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.map-container {
    width: 100%;
    height: 500px;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.map-container iframe {
  width: 100% !important;
  height: 500px !important;
  min-height: 500px !important;
  border: none !important;
  border-radius: 20px !important;
  display: block !important;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* Mobile Styles for Contacts */
@media (max-width: 768px) {
    .contacts-hero {
        padding: 40px 0;
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacts-info {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .contacts-title {
        font-size: 32px;
        line-height: 38px;
        margin-bottom: 30px;
    }
    
    .contacts-details {
        gap: 40px;
    }
    
    .contact-label {
        font-size: 20px;
        line-height: 24px;
    }
    
    .contact-text {
        font-size: 18px;
        line-height: 22px;
    }
    
    .contacts-map {
        height: 400px;
        border-radius: 15px;
    }
    
    .map-container {
        border-radius: 15px;
    }
    
    .map-container iframe {
        border-radius: 15px;
    }
}

@media (max-width: 480px) {
    .contacts-info {
        padding: 25px 15px;
    }
    
    .contacts-title {
        font-size: 28px;
        line-height: 34px;
    }
    
    .contact-label {
        font-size: 18px;
        line-height: 22px;
    }
    
    .contact-text {
        font-size: 16px;
        line-height: 20px;
    }
    
    .contacts-map {
        height: 300px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navigation,
    .header-contact {
        display: none;
    }
    
    .hero-content,
    .why-us-content,
    .leader-content,
    .experience-content,
    .court-content,
    .problems-content,
    .why-choose-content,
    .process-content,
    .technical-problems-new-content,
    .technical-services-new-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .services-grid-bottom,
    .benefits-grid,
    .advantages-grid,
    .services-expertise-grid,
    .services-expertise-grid-bottom,
    .technical-benefits-new-grid,
    .technical-additional-new-grid {
        grid-template-columns: 1fr;
    }
    
    .contract-work-grid,
    .full-support-content,
    .full-support-services,
    .legal-advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid.three-columns {
        grid-template-columns: 1fr;
    }
    
    .hero-title,
    .hero-expertise-title,
    .hero-technical-new-title,
    .hero-legal-title,
    .hero-consultation-title {
        font-size: 2rem;
    }
    
    .section-title,
    .section-title-left {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero,
    .hero-expertise,
    .hero-technical-new,
    .hero-legal,
    .hero-consultation {
        padding: 100px 0 60px;
    }
    
    .services,
    .why-us,
    .leader,
    .experience,
    .partners,
    .pretrial-section,
    .benefits-section,
    .court-expertise,
    .why-choose,
    .services-expertise,
    .problems-section,
    .why-choose-expertise,
    .process-section,
    .technical-subtitle-new,
    .technical-problems-new,
    .technical-services-new,
    .technical-additional-new,
    .contract-work-section,
    .full-support-section,
    .why-choose-legal,
    .consultation-services,
    .target-audience,
    .consultation-process {
        padding: 60px 0;
    }
    
    .contact-form-section {
        padding: 60px 0;
    }
    
    .contact-form-card {
        padding: 2rem;
    }
    
    .contract-cta-section {
        flex-direction: column;
        text-align: center;
    }
    
    .consultation-services-content,
    .target-audience-grid,
    .consultation-process-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title,
    .hero-expertise-title,
    .hero-technical-new-title,
    .hero-legal-title,
    .hero-consultation-title {
        font-size: 1.8rem;
    }
    
    .section-title,
    .section-title-left {
        font-size: 1.8rem;
    }
    
    .service-card,
    .benefit-card,
    .advantage-card,
    .service-expertise-card,
    .advantage-expertise-card,
    .technical-benefit-new-card,
    .technical-service-new-card,
    .technical-additional-new-card,
    .contract-work-card,
    .support-service-card,
    .legal-advantage-card,
    .consultation-service-card,
    .target-audience-card {
        padding: 1.5rem;
    }
    
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .hero-badge {
        position: static;
        margin-top: 2rem;
        align-self: flex-start;
    }
}
@media screen and (max-width: 1024px) {
  .contact-badge {
    display: none !important;
  }
}
/* Для мобильных устройств (до 768px) */
@media screen and (max-width: 768px) {
  .contact-badge {
    display: none !important;
  }
}
@media screen and (max-width: 480px) {
  .contact-badge {
    display: none !important;
  }
}
@media screen and (max-width: 1024px) {
  .header img,
  .navbar img,
  .nav img,
  header img,
  .logo img
{
    max-width: 120px;
    height: auto;
    float: right;
    margin-left: auto;
  }
}

/* Дополнительное уменьшение на мобильных */
@media screen and (max-width: 768px) {
  .header img,
  .navbar img,
  .nav img,
  header img,
  .logo img
 {
    max-width: 100px;
    height: auto;
    float: right;
    margin-left: auto;
  }
}

/* Еще больше уменьшение на маленьких экранах */
@media screen and (max-width: 480px) {
  .header img,
  .navbar img,
  .nav img,
  header img,
  .logo img
 {
    max-width: 80px;
    height: auto;
    float: right;
    margin-left: auto;
  }
}

/* Центрирование логотипа в футере */

/* Mobile Menu Bug Fixes */

/* Основные стили для предотвращения скролла */
html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* Блокировка скролла при открытом меню */
.mobile-menu-checkbox:checked ~ body {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
    touch-action: none;
}

/* Альтернативный способ блокировки скролла */
body:has(.mobile-menu-checkbox:checked) {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
    touch-action: none;
}

/* Улучшенные стили мобильного меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: white;
    z-index: 1999;
    padding: 2rem;
    transition: right 0.3s ease;
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.3);
    border-left: 1px solid #e2e8f0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1998;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-overflow-scrolling: touch;
}

/* Убираем любые белые блики и отражения */
.mobile-menu::before,
.mobile-menu::after {
    display: none !important;
}

.mobile-menu * {
    box-shadow: none !important;
}

/* Убираем webkit appearance которые могут давать блики */
.mobile-menu input,
.mobile-menu button,
.mobile-menu select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.mobile-menu-checkbox:checked ~ .mobile-overlay {
    display: block;
    opacity: 1;
}

.mobile-menu-checkbox:checked ~ .mobile-menu {
    right: 0;
}

/* Убираем hover эффекты для touch устройств */
@media (hover: none) and (pointer: coarse) {
    .mobile-menu-nav a:hover,
    .mobile-menu-phone:hover,
    .mobile-logo-icon:hover,
    
    .logo:hover,
    .nav-link:hover,
    .phone:hover,
    .btn-primary:hover,
    .btn-primary-small:hover {
        transform: none;
        background: initial;
        color: initial;
        box-shadow: none;
    }
    
    .mobile-menu-nav a::before {
        width: 0;
    }
    
    .mobile-menu-nav a:hover::before {
        width: 0;
    }
    
    .nav-link::after {
        width: 0;
    }
    
    .nav-link:hover::after {
        width: 0;
    }
}

/* Дополнительная защита от скролла при открытом меню для iOS */
@supports (-webkit-touch-callout: none) {
    .mobile-menu-checkbox:checked ~ body,
    body:has(.mobile-menu-checkbox:checked) {
        position: fixed;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        -webkit-overflow-scrolling: none;
        touch-action: none;
    }
}

/* Мобильные стили */
@media (max-width: 768px) {
    /* Блокировка скролла для мобильных устройств */
    body:has(.mobile-menu-checkbox:checked) {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100vh;
        touch-action: none;
    }
    
    .mobile-menu-checkbox:checked {
        overflow: hidden;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: relative;
        z-index: 2001;
    }
    
    .navigation,
    .header-contact {
        display: none;
    }
    
    .mobile-menu {
        width: min(300px, 85vw);
        padding: 1.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -8px 0 20px rgba(0, 0, 0, 0.25);
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 90vw;
        padding: 1rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }
}

/* Исправление белого блика от кнопки "Оставить заявку" */
.mobile-menu .btn-primary-small {
    position: relative;
    overflow: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Убираем все псевдоэлементы от кнопки */
.mobile-menu .btn-primary-small::before,
.mobile-menu .btn-primary-small::after {
    display: none !important;
    content: none !important;
}

/* Убираем блики и отражения от кнопки */
.mobile-menu .btn-primary-small {
    -webkit-box-reflect: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    -webkit-filter: none !important;
    filter: none !important;
}

/* Отключаем hover эффекты для кнопки в мобильном меню */
@media (hover: none) and (pointer: coarse) {
    .mobile-menu .btn-primary-small:hover,
    .mobile-menu .btn-primary-small:active,
    .mobile-menu .btn-primary-small:focus {
        background: #2563eb !important;
        transform: none !important;
        box-shadow: none !important;
        -webkit-box-reflect: none !important;
        backdrop-filter: none !important;
    }
    
    .mobile-menu .btn-primary-small:hover::before,
    .mobile-menu .btn-primary-small:active::before,
    .mobile-menu .btn-primary-small:focus::before {
        display: none !important;
        left: -100% !important;
    }
}

/* Дополнительная защита от бликов на iOS */
@supports (-webkit-touch-callout: none) {
    .mobile-menu {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        -webkit-box-reflect: none;
    }
    
    .mobile-menu * {
        -webkit-box-reflect: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/* Предотвращение горизонтального скролла */
* {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e5e7eb;
    margin-top: 20px
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background-color: #f3f4f6;
    color: #2563eb;
    border-left-color: #2563eb;
}

/* Mobile Services Styles */
.mobile-services-section {
    margin-bottom: 20px;
}

.mobile-services-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.mobile-services-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 16px;
}

.mobile-service-link {
    color: #6b7280;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-service-link:hover {
    background-color: #f3f4f6;
    color: #2563eb;
    border-left-color: #2563eb;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-dropdown {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-services-section {
        display: none;
    }
}
/* Адаптивные стили для блока "Полное сопровождение «под ключ»" */

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .full-support-grid {
        gap: 3rem;
    }
    
    .full-support-title {
        font-size: 2.2rem;
    }
    
    .support-services-grid {
        gap: 1.2rem;
    }
    
    .support-service-item {
        padding: 1.2rem;
    }
}

/* Планшеты портретная ориентация (до 768px) */
@media (max-width: 768px) {
    .full-support-section {
        padding: 3rem 0;
    }
    
    .full-support-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .full-support-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .full-support-subtitle {
        text-align: center;
        font-size: 1rem;
    }
    
    .full-support-question {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .support-services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .support-service-item {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .service-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .service-content h4 {
        font-size: 1rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
    }
    
    .support-documents-section {
        padding: 1.2rem;
        margin-top: 1rem;
    }
    
    .support-documents-section h4 {
        font-size: 1rem;
    }
    
    .support-documents-section p {
        font-size: 0.9rem;
    }
}

/* Мобильные устройства (до 480px) */
@media (max-width: 480px) {
    .full-support-section {
        padding: 2rem 0;
    }
    
    .full-support-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .full-support-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .question-text {
        font-size: 1rem;
    }
    
    .answer-text {
        font-size: 0.9rem;
    }
    
    .support-service-item {
        padding: 0.8rem;
        gap: 0.6rem;
    }
    
    .service-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .service-content h4 {
        font-size: 0.95rem;
        line-height: 1.2;
    }
    
    .service-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .support-documents-section {
        padding: 1rem;
    }
    
    .support-documents-section h4 {
        font-size: 0.95rem;
    }
    
    .support-documents-section p {
        font-size: 0.85rem;
    }
    
    .full-support-image {
        margin-top: 1.5rem;
    }
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .full-support-title {
        font-size: 1.5rem;
    }
    
    .full-support-subtitle {
        font-size: 0.9rem;
    }
    
    .support-service-item {
        padding: 0.6rem;
    }
    
    .service-content h4 {
        font-size: 0.9rem;
    }
    
    .service-content p {
        font-size: 0.8rem;
    }
    
    .support-documents-section {
        padding: 0.8rem;
    }
}

/* Большие экраны (от 1200px) */
@media (min-width: 1200px) {
    .full-support-grid {
        gap: 5rem;
    }
    
    .full-support-title {
        font-size: 2.8rem;
    }
    
    .full-support-subtitle {
        font-size: 1.2rem;
    }
    
    .support-services-grid {
        gap: 2rem;
    }
    
    .support-service-item {
        padding: 2rem;
    }
    
    .service-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .service-content h4 {
        font-size: 1.2rem;
    }
    
    .service-content p {
        font-size: 1rem;
    }
}

/* Очень большие экраны (от 1440px) */
@media (min-width: 1440px) {
    .full-support-section {
        padding: 6rem 0;
    }
    
    .full-support-title {
        font-size: 3rem;
    }
    
    .support-service-item {
        padding: 2.5rem;
    }
}

/* Анимации и эффекты для блока "Полное сопровождение «под ключ»" */

/* Эффекты при наведении */
.support-service-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.support-service-item:hover {
    transform: translateY(-5px);
    background: #3b82f6 !important;
}

.support-service-item:hover .service-content h4 {
    color: white !important;
}

.support-service-item:hover .service-content p {
    color: white !important;
}

.support-service-item:hover .service-number {
    background: white !important;
    color: #3b82f6 !important;
}

.support-documents-section {
    transition: all 0.3s ease;
    cursor: pointer;
}

.support-documents-section:hover {
    transform: translateY(-5px);
    background: #3b82f6 !important;
}

.support-documents-section:hover h4 {
    color: white !important;
}

.support-documents-section:hover p {
    color: white !important;
}

.full-support-image {
    transition: transform 0.3s ease;
}

.full-support-image:hover {
    transform: translateY(-5px);
}

.full-support-title {
    transition: transform 0.3s ease;
}

.full-support-title:hover {
    transform: translateY(-5px);
}

.full-support-subtitle {
    transition: transform 0.3s ease;
}

.full-support-subtitle:hover {
    transform: translateY(-5px);
}

.full-support-question {
    transition: transform 0.3s ease;
}

.full-support-question:hover {
    transform: translateY(-5px);
}
/* Единый блок "Досудебное заключение" */

.pretrial-unified {
    padding: 80px 0;
    background: #f8f9fa;
}

.pretrial-unified-container {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Заголовок блока */
.pretrial-unified-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

/* Описание под заголовком */
.pretrial-unified-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Сетка с двумя колонками */
.pretrial-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* Карточки блоков */
.pretrial-benefit-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.pretrial-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Заголовки карточек */
.pretrial-benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.3;
    flex-shrink: 0;
}

/* Списки в карточках */
.pretrial-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.pretrial-benefit-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.pretrial-benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #007bff;
    font-weight: bold;
    font-size: 1.2rem;
}

.pretrial-benefit-card:hover .pretrial-benefit-list li {
    color: #333;
}

/* Адаптивные стили для планшетов */
@media (max-width: 1024px) {
    .pretrial-benefits-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pretrial-unified-container {
        padding: 50px 40px;
    }
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 768px) {
    .pretrial-unified-title {
        font-size: 2rem;
    }
    
    .pretrial-unified-container {
        padding: 40px 30px;
    }
    
    .pretrial-benefit-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .pretrial-unified-title {
        font-size: 1.8rem;
    }
    
    .pretrial-unified-container {
        padding: 30px 20px;
    }
    
    .pretrial-benefit-card h3 {
        font-size: 1.2rem;
    }
    
    .pretrial-benefit-list li {
        font-size: 0.95rem;
    }
}
/* Исправления для блока "Почему стоит выбрать нас" */

/* Исправления для блока "Почему стоит выбрать нас" */

/* Исправления для блока "Почему стоит выбрать нас" */

.technical-services-new.technical-additional-new {
    padding: 80px 0;
    background: #f8fafc;
}

.technical-services-mega-unified {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.technical-services-new-content {
    display: grid;
    grid-template-columns: 1fr 400px 1fr;
    gap: 40px;
    align-items: start;
}

.technical-services-new-left,
.technical-services-new-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.technical-service-new-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.technical-service-new-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.technical-service-new-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.technical-service-new-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

.technical-services-new-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.technical-center-new-image {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.technical-center-new-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.technical-center-new-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.3;
}

.technical-center-new-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.technical-additional-new-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 0;
}

.technical-additional-new-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.technical-additional-new-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.technical-additional-new-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.technical-additional-new-card p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Исправления для блока проблем */
.technical-problems-new {
    padding: 80px 0;
    background: white;
}

.technical-problems-new-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.technical-problems-new-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.technical-problems-new-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.3;
}

.problems-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 16px;
}

.problems-description {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 32px;
}

.technical-problems-new-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.technical-problems-new-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.technical-benefits-new-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    height: 100%;
    align-content: start;
}

.technical-benefit-new-card {
    background: #f8fafc;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.technical-benefit-new-card:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.technical-benefit-new-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.technical-benefit-new-card.primary {
    background: #3b82f6;
    border-color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.technical-benefit-new-card.primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.technical-cta-button {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.technical-benefit-new-card.primary:hover .technical-cta-button {
    color: white;
}

.technical-cta-button .btn-arrow {
    width: 16px;
    height: 16px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    transition: transform 0.3s ease;
}

.technical-cta-button:hover .btn-arrow {
    transform: translateX(4px);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .technical-services-new-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .technical-services-new-center {
        order: 1;
    }
    
    .technical-services-new-left,
    .technical-services-new-right {
        order: 2;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .technical-problems-new-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .technical-benefits-new-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .technical-additional-new-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .technical-services-new.technical-additional-new {
        padding: 60px 0;
    }
    
    .technical-problems-new {
        padding: 60px 0;
    }
    
    .technical-services-new-left,
    .technical-services-new-right {
        grid-template-columns: 1fr;
    }
    
    .technical-center-new-title {
        font-size: 20px;
    }
    
    .technical-problems-new-info h3 {
        font-size: 24px;
    }
    
    .technical-service-new-card,
    .technical-additional-new-card {
        padding: 20px;
    }
    
    .technical-services-new-center {
        padding: 24px;
    }
}
/* Contacts Redesign Styles */

.contacts-hero {
    padding: 40px 0 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contacts-info-card {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    height: fit-content;
    position: relative;
    overflow: hidden;
}

.contacts-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
}

.contacts-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 32px;
    line-height: 1.2;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contacts-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-group {
    position: relative;
    padding-left: 24px;
}

.contact-group::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.contact-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

.contact-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.contacts-map-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
}

.contacts-map-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #3b82f6, #8b5cf6);
}

.map-container {
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 800px;
    }
    
    .contacts-info-card {
        padding: 40px 32px;
    }
    
    .contacts-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .contacts-hero {
        padding: 30px 0 45px 0;
    }
    
    .contacts-grid {
        gap: 24px;
        padding: 0 16px;
    }
    
    .contacts-info-card {
        padding: 32px 24px;
    }
    
    .contacts-title {
        font-size: 2rem;
        margin-bottom: 24px;
    }
    
    .contacts-details {
        gap: 24px;
    }
    
    .contact-label {
        font-size: 1rem;
    }
    
    .contact-text {
        font-size: 0.95rem;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .contacts-hero {
        padding: 20px 0 30px 0;
    }
    
    .contacts-info-card {
        padding: 24px 20px;
    }
    
    .contacts-title {
        font-size: 1.8rem;
    }
    
    .map-container {
        height: 350px;
    }
    
    .contacts-map-card {
        padding: 16px;
    }
}
/* Карусель сертификатов - показ по одному с задержкой */
.certificates-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    background: white;
}

.certificates-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.certificate-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.certificate-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Показ сертификатов по одному с задержкой 3 секунды */
.certificate-item:nth-child(1) {
    animation: showCertificate 18s infinite;
    animation-delay: 0s;
    z-index: 6;
}

.certificate-item:nth-child(2) {
    animation: showCertificate 18s infinite;
    animation-delay: 3s;
    z-index: 5;
}

.certificate-item:nth-child(3) {
    animation: showCertificate 18s infinite;
    animation-delay: 6s;
    z-index: 4;
}

.certificate-item:nth-child(4) {
    animation: showCertificate 18s infinite;
    animation-delay: 9s;
    z-index: 3;
}

.certificate-item:nth-child(5) {
    animation: showCertificate 18s infinite;
    animation-delay: 12s;
    z-index: 2;
}

.certificate-item:nth-child(6) {
    animation: showCertificate 18s infinite;
    animation-delay: 15s;
    z-index: 1;
}

@keyframes showCertificate {
    0% { 
        opacity: 0;
        transform: scale(0.95);
    }
    5% { 
        opacity: 1;
        transform: scale(1);
    }
    15% { 
        opacity: 1;
        transform: scale(1);
    }
    20% { 
        opacity: 0;
        transform: scale(1.05);
    }
    100% { 
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Пауза анимации при наведении */
.certificates-carousel:hover .certificate-item {
    animation-play-state: paused;
}

/* Индикаторы прогресса для сертификатов */
.certificates-progress {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.progress-dot:nth-child(1) {
    animation: dotActive 18s infinite;
    animation-delay: 0s;
}

.progress-dot:nth-child(2) {
    animation: dotActive 18s infinite;
    animation-delay: 3s;
}

.progress-dot:nth-child(3) {
    animation: dotActive 18s infinite;
    animation-delay: 6s;
}

.progress-dot:nth-child(4) {
    animation: dotActive 18s infinite;
    animation-delay: 9s;
}

.progress-dot:nth-child(5) {
    animation: dotActive 18s infinite;
    animation-delay: 12s;
}

.progress-dot:nth-child(6) {
    animation: dotActive 18s infinite;
    animation-delay: 15s;
}

@keyframes dotActive {
    0%, 16.666% {
        background: white;
        transform: scale(1.3);
    }
    20%, 100% {
        background: rgba(255, 255, 255, 0.4);
        transform: scale(1);
    }
}

/* Карусель экспертов - показ 3 из 9 с пошаговой навигацией */
.experts-carousel {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 80px;
}

.experts-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    max-width: 1200px;
}

.experts-track {
    display: flex;
    width: 300%; /* 9 экспертов - показываем 3 карточки */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 24px;
}

.expert-card {
    flex: 0 0 calc(33.333% - 16px); /* Показываем 3 карточки */
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.expert-image {
    width: 100%;
    height: 220px;
    margin: 0 0 32px 0;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background: #f8f9fa;
}

.expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.expert-content {
    padding: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.expert-name {
    font-size: 20px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
    line-height: 1.3;
    text-align: left;
    letter-spacing: -0.02em;
}

.expert-position {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.expert-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.5;
    flex-grow: 1;
}

/* Скрытие радиокнопок */
.experts-radio {
    display: none;
}

/* Позиции экспертов - пошаговое перелистывание по одному */
#experts-1:checked ~ .experts-container .experts-track {
    transform: translateX(0%);
}

#experts-2:checked ~ .experts-container .experts-track {
    transform: translateX(calc(-33.333% - 16px));
}

#experts-3:checked ~ .experts-container .experts-track {
    transform: translateX(calc(-66.666% - 32px));
}

#experts-4:checked ~ .experts-container .experts-track {
    transform: translateX(calc(-100% - 48px));
}

#experts-5:checked ~ .experts-container .experts-track {
    transform: translateX(calc(-133.333% - 64px));
}

#experts-6:checked ~ .experts-container .experts-track {
    transform: translateX(calc(-166.666% - 80px));
}

#experts-7:checked ~ .experts-container .experts-track {
    transform: translateX(calc(-200% - 96px));
}

/* Кнопки навигации экспертов */
.experts-nav {
    position: absolute;
    top: 50%;
    left: 0px;
    right: -10px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
    pointer-events: none;
}

.experts-nav-btn {
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Скрытые label'ы для навигации */
.experts-navigation-labels {
    position: absolute;
    top: 0;
    left: 0;
    right: 20px;
    bottom: 0;
    pointer-events: none;
}

.nav-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 20;
    display: none;
    pointer-events: all;
}

.nav-label[class*="next-"] {
    right: -16px;
}

.nav-label[class*="prev-"] {
    left: 4px;
}

/* Показ соответствующих кнопок для каждой позиции */
#experts-1:checked ~ .experts-container .experts-navigation-labels .next-1 {
    display: block;
}

#experts-1:checked ~ .experts-container .experts-navigation-labels .prev-1 {
    display: block;
}

#experts-2:checked ~ .experts-container .experts-navigation-labels .next-2 {
    display: block;
}

#experts-2:checked ~ .experts-container .experts-navigation-labels .prev-2 {
    display: block;
}

#experts-3:checked ~ .experts-container .experts-navigation-labels .next-3 {
    display: block;
}

#experts-3:checked ~ .experts-container .experts-navigation-labels .prev-3 {
    display: block;
}

#experts-4:checked ~ .experts-container .experts-navigation-labels .next-4 {
    display: block;
}

#experts-4:checked ~ .experts-container .experts-navigation-labels .prev-4 {
    display: block;
}

#experts-5:checked ~ .experts-container .experts-navigation-labels .next-5 {
    display: block;
}

#experts-5:checked ~ .experts-container .experts-navigation-labels .prev-5 {
    display: block;
}

#experts-6:checked ~ .experts-container .experts-navigation-labels .next-6 {
    display: block;
}

#experts-6:checked ~ .experts-container .experts-navigation-labels .prev-6 {
    display: block;
}

#experts-7:checked ~ .experts-container .experts-navigation-labels .next-7 {
    display: block;
}

#experts-7:checked ~ .experts-container .experts-navigation-labels .prev-7 {
    display: block;
}

#experts-8:checked ~ .experts-container .experts-navigation-labels .next-8 {
    display: block;
}

#experts-8:checked ~ .experts-container .experts-navigation-labels .prev-8 {
    display: block;
}

#experts-9:checked ~ .experts-container .experts-navigation-labels .next-9 {
    display: block;
}

#experts-9:checked ~ .experts-container .experts-navigation-labels .prev-9 {
    display: block;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .certificates-carousel {
        max-width: 350px;
        height: 300px;
        margin: 0 20px;
    }
    
    .certificate-item {
        padding: 20px;
    }
    
    .experts-carousel {
        padding: 0 20px;
        margin: 0;
    }
    
    .experts-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0;
    }
    
    .experts-container::-webkit-scrollbar {
        display: none;
    }
    
    .experts-track {
        width: auto;
        gap: 16px;
        padding-right: 20px;
    }
    
    .expert-card {
        flex: 0 0 280px;
        min-height: 420px;
        padding: 24px;
        scroll-snap-align: start;
    }
    
    /* Отключаем radio navigation на мобильном */
    .experts-radio:checked ~ .experts-container .experts-track {
        transform: none !important;
    }
    
    .experts-nav {
        display: none;
    }
    
    .experts-navigation-labels {
        display: none;
    }
}

@media (max-width: 480px) {
    .certificates-carousel {
        max-width: 450px;
        height: 350px;
        margin: 0 10px;
    }
    
    .experts-carousel {
        padding: 0 10px;
        margin: 0;
    }
    
    .expert-card {
        flex: 0 0 280px;
        min-height: 420px;
        padding: 20px;
    }
    
    .certificate-item {
        padding: 15px;
    }
    
    .expert-image {
        height: 140px;
        margin-bottom: 32px;
        border-radius: 16px;
    }
    
    .expert-image img {
        border-radius: 16px;
    }
    
    .expert-content {
        padding: 0;
        text-align: left;
    }
    
    .expert-name {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .expert-position {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .expert-description {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Центрирование заголовка экспертов */
.experts-header {
    text-align: left;
    margin-bottom: 32px;
    padding-left: 0;
}

/* Дополнительные стили для плавности */
.certificate-item {
    will-change: opacity, transform;
}

.experts-track {
    will-change: transform;
}

/* Улучшенная поддержка touch-событий */
@media (hover: none) and (pointer: coarse) {
    .certificates-carousel {
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }
    
    .experts-carousel {
        touch-action: pan-x;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .experts-container {
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }
}
/* Mobile Responsive Styles */

/* Hide mobile phone on desktop by default */
.header-mobile-phone {
    display: none;
}

/* Hide mobile menu elements on desktop */
.mobile-menu-checkbox {
    display: none;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 999;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu-checkbox:checked ~ .mobile-overlay {
    display: block;
}

.mobile-menu-checkbox:checked ~ .mobile-menu {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-logo-icon img {
    height: 40px;
}

.mobile-menu-close {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #333;
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-nav {
    flex: 1;
    padding: 20px;
}

.mobile-services-section {
    margin-bottom: 30px;
}

.mobile-services-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.mobile-services-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 15px;
}

.mobile-service-link {
    color: #666;
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-service-link:hover {
    color: #2563eb;
}

.mobile-menu-contact {
    padding: 20px;
    border-top: 1px solid #eee;
}

.mobile-menu-phone {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    /* Header Mobile */
    .header-content {
        padding: 12px 0;
    }

    .logo-icon img {
        height: 30px;
        width: auto;
        object-fit: contain;
        image-rendering: auto;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }

    .navigation,
    .header-contact {
        display: none;
    }

    /* Show mobile phone number between logo and burger */
    .header-mobile-phone {
        display: block;
        color: #2563eb;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
    }

    /* Mobile burger menu */
    .mobile-menu-toggle {
        display: flex;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: #2563eb;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu-toggle::before,
    .mobile-menu-toggle::after {
        content: '';
        display: block;
        width: 25px;
        height: 3px;
        background: #2563eb;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    /* Burger animation when menu is open */
    .mobile-menu-checkbox:checked ~ .header .mobile-menu-toggle span {
        opacity: 0;
    }

    .mobile-menu-checkbox:checked ~ .header .mobile-menu-toggle::before {
        transform: translateY(10.5px) rotate(45deg);
    }

    .mobile-menu-checkbox:checked ~ .header .mobile-menu-toggle::after {
        transform: translateY(-10.5px) rotate(-45deg);
    }

    /* Hero Mobile */
    .hero {
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    /* Hide hero badge on mobile */
    .hero-badge {
        display: none;
    }

    /* Services Mobile */
    .services {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
        
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 16px;
    }

    .services-grid-bottom {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 24px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .service-card.large,
    .service-card.medium {
        min-height: auto;
    }

    /* Why Us Mobile */
    .why-us {
        padding: 60px 0;
    }

    .why-us-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-info {
        position: static;
    }

    .section-title-left {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .why-us-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .advantages-grid {
        gap: 20px;
    }

    .advantage-card {
        padding: 24px;
    }

    .advantage-card h4 {
        font-size: 18px;
    }

    /* Contact Form Mobile */
    .contact-form-section {
        padding: 60px 0;
    }

    .contact-form-card {
        padding: 40px 20px;
    }

    .contact-form-card h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .contact-badge {
        display: none;
    }

    /* Leader Mobile */
    .leader {
        padding: 60px 0;
    }

    .leader-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .leader-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    /* Experience Mobile */
    .experience {
        padding: 60px 0;
    }

    .experience-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .experience-subtitle {
        font-size: 16px;
    }

    .experience-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .cert-container {
        height: 300px;
        max-width: 300px;
    }

    .cert-img-1 {
        width: 150px;
        top: 0;
        left: 0;
    }

    .cert-img-2 {
        width: 130px;
        top: 30px;
        right: 0;
    }

    .cert-img-3 {
        width: 120px;
        bottom: 60px;
        left: 30px;
    }

    .cert-img-4 {
        width: 100px;
        bottom: 0;
        right: 60px;
    }

    .cert-img-5 {
        width: 90px;
        top: 80px;
        left: 80px;
    }

    /* Partners Mobile */
    .partners {
        padding: 60px 0;
    }

    .partner-card {
        width: 150px;
        height: 80px;
    }

    .partner-placeholder img {
        max-width: 100px;
        max-height: 50px;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-main {
        gap: 50px;
    }

    .footer-contacts {
        gap: 12px;
    }

    .footer-nav {
        gap: 12px;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 14px;
    }

    /* Button Mobile */
    .btn-primary {
        padding: 14px 28px;
        font-size: 14px;
    }

    .btn-primary-small {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-title-left {
        font-size: 24px;
    }

    .contact-form-card {
        padding: 30px 16px;
    }

    .contact-form-card h3 {
        font-size: 20px;
    }

    .service-card {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .advantage-card {
        padding: 20px;
    }

    .advantage-card h4 {
        font-size: 16px;
    }
}
