/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --accent-gray: #2a2a2a;
    --medium-gray: #888888;
    --light-gray: #cccccc;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--white);
    background: var(--primary-black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 50px;
    color: var(--white);
}

.text-center {
    text-align: center;
}

.page-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.page-subtitle {
    font-size: 24px;
    color: var(--medium-gray);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition), transform 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .header {
        transform: translateY(0);
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: block;
    line-height: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo-image:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Navigation */
.nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--light-gray);
}

/* Buttons */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-black);
    border: 2px solid var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    background: transparent;
    color: var(--white);
}

.btn-large {
    padding: 18px 48px;
    font-size: 16px;
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--secondary-black);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 30px;
    flex-direction: column;
    gap: 20px;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.562) 0%, rgba(26, 26, 26, 0.486) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
    color: var(--white);
}

.hero-brand {
    display: block;
    font-size: 72px;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-subtitle {
    display: block;
    font-size: 28px;
    font-weight: 400;
    color: var(--light-gray);
    line-height: 1.4;
}

.hero-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 50px;
}

.category-btn {
    padding: 10px 30px;
    background: var(--secondary-black);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
}

.category-btn:hover {
    background: var(--white);
    color: var(--primary-black);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Page Hero Styles */
.page-hero {
    padding: 180px 0 100px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero-background img {
    width: 100%;
    height: 110%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.65) 0%, rgba(26, 26, 26, 0.75) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sections */
.trust-section,
.services-section,
.stats-section,
.tasks-section,
.process-section,
.services-detail-section,
.additional-services,
.metrics-section,
.cases-section,
.testimonials-section,
.about-content-section,
.values-section,
.advantages-section,
.team-section,
.contact-info-section,
.contact-form-section,
.map-section,
.faq-section,
.why-choose-section {
    padding: 120px 0;
}

.trust-section,
.values-section,
.team-section,
.contact-form-section,
.faq-section {
    background: var(--secondary-black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Trust Section */
.trust-grid,
.about-grid,
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.trust-items,
.why-choose-features {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.trust-item,
.why-feature {
    display: flex;
    gap: 20px;
}

/* Icons - unified styles */
.trust-icon,
.task-icon,
.metric-icon,
.value-icon,
.contact-icon,
.additional-icon,
.why-feature-icon {
    background: var(--white);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trust-icon {
    width: 60px;
    height: 60px;
    padding: 12px;
}

.task-icon,
.metric-icon,
.value-icon,
.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    padding: 16px;
}

.additional-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    padding: 14px;
}

.why-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    padding: 10px;
}

.trust-icon svg,
.task-icon svg,
.metric-icon svg,
.value-icon svg,
.contact-icon svg,
.additional-icon svg,
.why-feature-icon svg {
    width: 100%;
    height: 100%;
}

/* SVG Animations */
.animated-svg {
    animation: float 3s ease-in-out infinite;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
    will-change: transform;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.trust-item:hover .animated-svg,
.task-card:hover .animated-svg,
.metric-card:hover .animated-svg,
.value-card:hover .animated-svg,
.contact-card:hover .animated-svg,
.additional-card:hover .animated-svg {
    animation: none;
    transform: rotate(360deg) scale(1.15);
}

.trust-item:hover .trust-icon,
.task-card:hover .task-icon,
.metric-card:hover .metric-icon,
.value-card:hover .value-icon,
.contact-card:hover .contact-icon,
.additional-card:hover .additional-icon {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Cards - unified styles */
.task-card,
.value-card,
.advantage-item,
.testimonial-card,
.additional-card,
.contact-card,
.metric-card,
.faq-item,
.sidebar-card {
    background: var(--secondary-black);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.task-card:hover,
.value-card:hover,
.additional-card:hover,
.contact-card:hover,
.metric-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.value-card,
.additional-card,
.faq-item {
    background: var(--accent-gray);
}

.sidebar-card {
    background: var(--accent-gray);
    padding: 30px;
}

/* Text Styles */
.trust-text h3,
.task-title,
.value-title,
.advantage-title,
.contact-title,
.metric-label,
.case-title,
.testimonial-card .author-name,
.team-name,
.faq-question {
    color: var(--white);
    font-weight: 700;
}

.task-description,
.value-description,
.advantage-description,
.contact-description,
.case-description,
.testimonial-text,
.team-description,
.faq-answer,
.about-paragraph {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Image containers */
.trust-image,
.about-image,
.service-detail-image,
.case-image,
.why-choose-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-image img,
.about-image img,
.service-detail-image img,
.case-image img,
.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.trust-image:hover img,
.service-detail-image:hover img,
.case-image:hover img,
.why-choose-image:hover img {
    transform: scale(1.05);
}

/* Timeline Services */
.services-timeline {
    position: relative;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--white) 10%, var(--white) 90%, transparent 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: var(--white);
    border: 3px solid var(--primary-black);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    transition: all 0.6s ease;
}

.timeline-item.visible .timeline-dot {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
}

.timeline-connector {
    position: absolute;
    top: 50%;
    height: 2px;
    background: var(--white);
    z-index: 1;
    transform-origin: left;
    transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-connector-right {
    left: 50%;
    width: 0;
}

.timeline-connector-left {
    right: 50%;
    width: 0;
}

.timeline-item.visible .timeline-connector-right,
.timeline-item.visible .timeline-connector-left {
    width: 60px;
}

.service-card-timeline {
    width: 480px;
    background: var(--secondary-black);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    transform: translateX(-100px);
}

.timeline-right .service-card-timeline {
    margin-left: calc(50% + 60px);
    transform: translateX(-100px);
}

.timeline-left .service-card-timeline {
    margin-right: calc(50% + 60px);
    margin-left: auto;
    transform: translateX(100px);
}

.timeline-item.visible .service-card-timeline {
    opacity: 1;
    transform: translateX(0);
}

.service-card-timeline:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.service-image-timeline {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.service-image-timeline img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: grayscale(30%);
}

.service-card-timeline:hover .service-image-timeline img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.service-number-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.service-card-timeline:hover .service-number-badge {
    transform: rotate(360deg) scale(1.1);
}

.service-content-timeline {
    padding: 25px 30px;
}

.service-content-timeline h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    transition: var(--transition);
}

.service-card-timeline:hover .service-content-timeline h3 {
    color: var(--light-gray);
}

.service-content-timeline p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--medium-gray);
    margin-bottom: 15px;
}

.service-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.service-tags span {
    padding: 6px 16px;
    background: var(--accent-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.service-card-timeline:hover .service-tags span {
    background: var(--white);
    color: var(--primary-black);
    border-color: var(--white);
}

/* Statistics */
.stats-section {
    position: relative;
    background: var(--secondary-black);
    color: var(--white);
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.45;
}

.stats-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

.stat-item {
    padding: 40px;
}

.stat-number {
    font-size: 72px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1;
}

.stat-label {
    font-size: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--medium-gray);
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cta-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.35) 0%, rgba(26, 26, 26, 0.65) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-text {
    font-size: 20px;
    color: var(--light-gray);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--white);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background: var(--secondary-black);
    border-radius: 30px;
    padding: 50px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--accent-gray);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--white);
}

.modal-close:hover {
    background: var(--white);
    color: var(--primary-black);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    color: var(--white);
}

/* Forms */
.cost-form,
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 15px;
    transition: var(--transition);
    background: var(--accent-gray);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--white);
    background: var(--secondary-black);
}

.form-group select option {
    background: var(--secondary-black);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Grids - unified styles */
.tasks-grid,
.metrics-grid,
.values-grid,
.advantages-grid,
.team-grid,
.contact-grid,
.testimonials-grid,
.additional-grid {
    display: grid;
    gap: 40px;
    margin-top: 60px;
}

.tasks-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.metrics-grid {
    grid-template-columns: repeat(4, 1fr);
}

.values-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantages-grid {
    grid-template-columns: repeat(3, 1fr);
}

.team-grid {
    grid-template-columns: repeat(4, 1fr);
}

.contact-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
}

.additional-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

/* Lists */
.task-list {
    list-style: none;
    padding: 0;
}

.task-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--medium-gray);
}

.task-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: bold;
}

/* Service Details */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--white);
}

.service-detail-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--medium-gray);
    margin-bottom: 30px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--white);
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: var(--white);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.service-detail-image {
    height: 400px;
}

/* Process Section */
.process-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.process-description {
    font-size: 18px;
    color: var(--medium-gray);
    margin-top: 20px;
}

.process-visual {
    position: relative;
}

.process-line-animated {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--white) 10%, var(--white) 90%, transparent 100%);
    transform: translateX(-50%);
}

.process-steps {
    display: grid;
    gap: 80px;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
}

.step-number-modern {
    width: 120px;
    height: 120px;
    background: var(--white);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.step-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.step-content {
    background: var(--secondary-black);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.process-step:hover .step-content {
    transform: translateX(20px);
    border-color: var(--white);
    box-shadow: 0 15px 50px rgba(255, 255, 255, 0.1);
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.step-description {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* Cases */
.case-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 80px;
    background: var(--accent-gray);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.case-item.reverse {
    direction: rtl;
}

.case-item.reverse > * {
    direction: ltr;
}

.case-image {
    height: 350px;
}

.case-category {
    display: inline-block;
    background: var(--white);
    color: var(--primary-black);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.case-results {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.case-result-item {
    display: flex;
    flex-direction: column;
}

.result-label {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 5px;
}

.result-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

/* Testimonials */
.testimonial-quote {
    font-size: 80px;
    color: var(--white);
    opacity: 0.1;
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.author-position {
    font-size: 14px;
    color: var(--medium-gray);
}

/* Team */
.team-card {
    background: var(--accent-gray);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.team-photo {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--secondary-black);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-photo img {
    transform: scale(1.1);
}

.team-position {
    font-size: 14px;
    color: var(--light-gray);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.form-intro {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.working-hours {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hours-day {
    font-size: 14px;
    color: var(--medium-gray);
}

.hours-time {
    font-weight: 600;
    color: var(--white);
}

.sidebar-text {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.emergency-phone {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.sidebar-note {
    font-size: 13px;
    color: var(--medium-gray);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--light-gray);
}

/* Map */
.map-placeholder {
    margin-top: 60px;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background: var(--secondary-black);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-overlay p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--white);
}

/* Why Choose Us */
.why-choose-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--medium-gray);
    margin: 25px 0 40px;
}

.why-choose-image {
    position: relative;
    height: 600px;
}

.image-badge {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: var(--white);
    color: var(--primary-black);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.badge-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
}

.badge-text {
    display: block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Number badges */
.advantage-number {
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
}

.metric-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-timeline {
    transition-delay: calc(var(--index) * 0.2s);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up[data-delay="0"] { transition-delay: 0s; }
.fade-in-up[data-delay="100"] { transition-delay: 0.1s; }
.fade-in-up[data-delay="200"] { transition-delay: 0.2s; }
.fade-in-up[data-delay="300"] { transition-delay: 0.3s; }
.fade-in-up[data-delay="400"] { transition-delay: 0.4s; }
.fade-in-up[data-delay="500"] { transition-delay: 0.5s; }

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Contacts Page Styles */

/* Hero Contacts */
.contacts-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content-contacts {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quick-contacts {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.quick-contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.quick-contact-btn svg {
    width: 24px;
    height: 24px;
}

.quick-contact-btn:hover {
    background: var(--white);
    color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Modern Contact Cards */
.contact-cards-modern {
    padding: 100px 0;
    background: var(--primary-black);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.contact-cards-grid-centered {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card-modern {
    background: var(--secondary-black);
    padding: 50px 30px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--white), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}

.contact-card-modern:hover::before {
    transform: scaleX(1);
}

.contact-card-modern:hover {
    transform: translateY(-15px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 60px rgba(255, 255, 255, 0.15);
}

.card-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
}

.contact-icon-modern {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--white), var(--light-gray));
    color: var(--primary-black);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
}

.contact-card-modern:hover .contact-icon-modern {
    transform: rotate(360deg) scale(1.1);
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.contact-card-modern:hover .icon-glow {
    opacity: 1;
    animation: glow-pulse 2s infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.contact-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-link {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.contact-address {
    color: var(--light-gray);
    font-size: 15px;
    margin-bottom: 8px;
}

.contact-card-note {
    font-size: 13px;
    color: var(--medium-gray);
    text-align: center;
    font-style: italic;
}

.card-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent);
    border-radius: 30px 0 30px 0;
}

/* Modern Contact Form */
.contact-form-section-modern {
    padding: 120px 0;
    background: var(--secondary-black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header {
    margin-bottom: 60px;
}

.form-subtitle {
    font-size: 18px;
    color: var(--medium-gray);
    margin-top: 15px;
}

.contact-form-wrapper-new {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.form-main-extended {
    background: var(--accent-gray);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-sidebar-compact {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
    font-size: 15px;
}

.form-group-modern label svg {
    width: 20px;
    height: 20px;
    color: var(--light-gray);
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--secondary-black);
    color: var(--white);
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--white);
    background: var(--primary-black);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(5px);
}

/* Sidebar Modern */
.form-sidebar-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card-modern {
    background: var(--accent-gray);
    padding: 35px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.sidebar-card-modern:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.sidebar-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-black);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sidebar-icon svg {
    width: 28px;
    height: 28px;
}

.sidebar-card-modern h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.sidebar-card-modern p {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.working-hours-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row span:first-child {
    color: var(--medium-gray);
}

.hours-row span:last-child {
    color: var(--white);
    font-weight: 600;
}

.emergency-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    margin: 15px 0;
    transition: color 0.3s ease;
}

.emergency-number:hover {
    color: var(--light-gray);
}

.emergency-note {
    display: block;
    font-size: 12px;
    color: var(--medium-gray);
    font-style: italic;
}

/* Social Links Modern */
.social-links-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--secondary-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn:hover {
    background: var(--white);
    color: var(--primary-black);
    transform: translateX(5px);
}

/* Modern Map Section */
.map-section-modern {
    padding: 120px 0;
    background: var(--primary-black);
}

.map-container {
    margin-top: 60px;
    position: relative;
}

.map-iframe-wrapper {
    width: 100%;
    height: 880px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-info-card {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 35px;
    border-radius: 25px;
    border: 1px solid rgba(255,
    255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.map-info-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.map-info-card p {
    font-size: 16px;
    color: var(--light-gray);
    margin-bottom: 25px;
}

.map-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-black);
}

/* FAQ Modern */
.faq-section-modern {
    padding: 120px 0;
    background: var(--secondary-black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-accordion {
    max-width: 900px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item-modern {
    background: var(--accent-gray);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-modern:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    user-select: none;
}

.faq-question-modern h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--white);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item-modern.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer-modern {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item-modern.active .faq-answer-modern {
    max-height: 300px;
    padding: 0 30px 25px 30px;
}

.faq-answer-modern p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--medium-gray);
    margin: 0;
}

/* Phone Modal Styles */
.phone-modal-content {
    max-width: 500px;
}

.phone-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--accent-gray);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.phone-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.phone-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-black);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon svg {
    width: 28px;
    height: 28px;
}

.phone-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.phone-position {
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 600;
}

.phone-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-brand {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .section-title {
        font-size: 36px;
    }

    .trust-grid,
    .about-grid,
    .why-choose-grid,
    .service-detail,
    .case-item,
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Timeline responsive */
    .timeline-line {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-connector {
        display: none;
    }

    .service-card-timeline {
        width: calc(100% - 70px);
        margin-left: 70px !important;
        margin-right: 0 !important;
    }

    .timeline-left .service-card-timeline,
    .timeline-right .service-card-timeline {
        transform: translateX(-50px);
    }

    .timeline-item.visible .service-card-timeline {
        transform: translateX(0);
    }

    .timeline-item {
        margin-bottom: 60px;
    }

    .process-line-animated {
        left: 60px;
    }

    .step-number-modern {
        width: 100px;
        height: 100px;
        font-size: 36px;
    }

    .why-choose-image {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
    
    .header .btn-primary {
    padding: 10px 5px;
    font-size: 12px;
    white-space: nowrap;
}

    .hero-title {
        font-size: 28px;
    }

    .hero-brand {
        font-size: 38px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .hero-categories {
        display: none;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .metrics-grid,
    .values-grid,
    .advantages-grid,
    .team-grid,
    .contact-grid,
    .faq-grid,
    .testimonials-grid,
    .additional-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .task-card,
    .value-card,
    .metric-card,
    .additional-card,
    .contact-card,
    .testimonial-card,
    .advantage-item {
        padding: 20px;
    }

    .task-icon,
    .metric-icon,
    .value-icon,
    .contact-icon,
    .additional-icon {
        width: 50px;
        height: 50px;
        padding: 10px;
    }

    .task-title,
    .value-title,
    .metric-label,
    .contact-card-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .task-description,
    .value-description,
    .contact-card-note {
        font-size: 12px;
        line-height: 1.4;
    }

    .metric-number {
        font-size: 32px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .team-photo {
        height: 180px;
    }

    .team-name {
        font-size: 14px;
    }

    .team-position {
        font-size: 11px;
    }

    .task-list {
        font-size: 11px;
        margin-top: 10px;
    }

    .task-list li {
        padding: 5px 0 5px 20px;
        line-height: 1.3;
    }

    .task-list li::before {
        font-size: 10px;
    }

    .modal-content {
        padding: 30px;
    }

    .modal-title {
        font-size: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 32px;
    }

    .stat-number {
        font-size: 56px;
    }

    .trust-section,
    .services-section,
    .stats-section,
    .cta-section,
    .tasks-section,
    .process-section,
    .services-detail-section,
    .additional-services,
    .metrics-section,
    .cases-section,
    .testimonials-section,
    .about-content-section,
    .values-section,
    .advantages-section,
    .team-section,
    .contact-info-section,
    .contact-form-section,
    .map-section,
    .faq-section,
    .why-choose-section {
        padding: 80px 0;
    }

    .map-overlay {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        left: 20px;
        right: 20px;
        bottom: 20px;
        padding: 20px;
    }

    /* Timeline mobile */
    .timeline-line {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
        width: 14px;
        height: 14px;
    }

    .service-card-timeline {
        width: calc(100% - 55px);
        margin-left: 55px !important;
    }

    .service-image-timeline {
        height: 180px;
    }

    .service-content-timeline {
        padding: 20px;
    }

    .service-content-timeline h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .service-content-timeline p {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .service-number-badge {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: 12px;
        right: 12px;
    }

    .service-tags span {
        padding: 5px 12px;
        font-size: 11px;
    }

    .timeline-item {
        margin-bottom: 50px;
    }

    .process-steps {
        gap: 60px;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .process-line-animated {
        display: none;
    }

    .step-number-modern {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin: 0 auto;
    }

    .step-content {
        padding: 30px 25px;
    }

    .process-step:hover .step-content {
        transform: translateX(0);
    }

    .why-choose-image {
        height: 400px;
    }

    .image-badge {
        bottom: 20px;
        right: 20px;
        padding: 20px;
    }

    .badge-number {
        font-size: 36px;
    }

    /* CONTACTS PAGE MOBILE */
    .contact-cards-grid-centered {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .contact-card-modern {
        padding: 35px 20px;
    }
    
    .contact-details {
        margin-bottom: 15px;
    }
    
    .card-icon-wrapper,
    .contact-icon-modern {
        width: 70px;
        height: 70px;
    }
    
    .contact-icon-modern {
        padding: 16px;
    }
    
    .contact-card-title {
        font-size: 20px;
        margin-bottom: 15px;
    }

.contact-form-wrapper-new {
    grid-template-columns: 1fr;
    gap: 25px;
}

.form-sidebar-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Оптимизация карточек sidebar для мобильных */
.sidebar-card-modern {
    padding: 25px 20px;
}

.sidebar-card-modern h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.sidebar-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 15px;
}

.sidebar-icon svg {
    width: 24px;
    height: 24px;
}

.working-hours-modern {
    gap: 10px;
}

.hours-row {
    padding: 10px 0;
    font-size: 13px;
}

.emergency-number {
    font-size: 20px;
    margin: 12px 0;
}

.social-links-modern {
    gap: 10px;
}

.social-btn {
    padding: 10px 14px;
    font-size: 13px;
}

.quick-contacts {
    flex-direction: column;
    align-items: stretch;
}

.quick-contact-btn {
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
}

.contact-cards-modern {
    padding: 60px 0;
    margin-top: 0;
}

.contact-form-section-modern {
    padding: 80px 0;
}

.form-main-extended {
    padding: 30px 20px;
    border-radius: 20px;
}

.form-group-modern label {
    font-size: 14px;
    margin-bottom: 10px;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    padding: 14px 16px;
    font-size: 14px;
}

    .map-info-card {
        position: static;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 20px;
        padding: 25px 20px;
    }
    
    .map-iframe-wrapper {
        height: 400px;
        margin-bottom: 0;
    }

    .map-actions {
        flex-direction: column;
    }

    .map-actions .btn {
        width: 100%;
    }

    .map-section-modern {
        padding: 80px 0;
    }

    .faq-question-modern {
        padding: 20px;
    }

    .faq-question-modern h3 {
        font-size: 16px;
    }
/* Формы - оптимизация для мобильных */
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 16px;
        font-size: 15px;
    }
    
    .form-subtitle {
        font-size: 16px;
    }
    
    .faq-section-modern {
        padding: 80px 0;
    }

    .phone-modal-content {
        padding: 30px 20px;
    }

    .phone-item {
        padding: 15px;
        gap: 15px;
    }

    .phone-icon {
        width: 40px;
        height: 40px;
    }

    .phone-icon svg {
        width: 24px;
        height: 24px;
    }

    .phone-number {
        font-size: 16px;
    }

    .phone-position {
        font-size: 13px;
    }

    /* Services Detail Mobile */
    .service-detail-image {
        height: 300px;
        width: 100%;
    }
    
    .service-detail-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .service-detail-title {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .service-detail-description {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .service-features {
        gap: 12px;
    }
    
    .feature-item {
        font-size: 14px;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 15px;
    }

    .metrics-grid,
    .values-grid,
    .team-grid,
    .contact-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .additional-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card-modern {
        padding: 40px 25px;
    }

    .card-icon-wrapper,
    .contact-icon-modern {
        width: 70px;
        height: 70px;
    }

    .map-iframe-wrapper {
        height: 350px;
    }


/* ===============================================
   CUSTOM SCROLLBAR FOR MODAL (DESKTOP)
   =============================================== */

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.35);
}

.modal-content::-webkit-scrollbar-thumb:active {
    background: rgba(255, 255, 255, 0.5);
}

/* Firefox scrollbar */
.modal-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

/* ===============================================
   SUCCESS OVERLAY WITH CHECKMARK ANIMATION
   =============================================== */

.success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(15px);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.success-overlay.active {
    display: flex;
    opacity: 1;
}

.success-checkmark {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}

.success-checkmark svg {
    width: 100%;
    height: 100%;
}

.success-circle {
    stroke: #4CAF50;
    stroke-width: 3;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: success-circle-animation 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-check {
    stroke: #4CAF50;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: success-check-animation 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes success-circle-animation {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes success-check-animation {
    to {
        stroke-dashoffset: 0;
    }
}

.success-message {
    text-align: center;
    color: var(--white);
    animation: success-message-fade 0.5s ease 0.8s forwards;
    opacity: 0;
}

.success-message h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.success-message p {
    font-size: 18px;
    color: var(--light-gray);
}

@keyframes success-message-fade {
    to {
        opacity: 1;
    }
}

/* Responsive для success overlay */
@media (max-width: 768px) {
    .success-checkmark {
        width: 100px;
        height: 100px;
    }

    .success-message h3 {
        font-size: 26px;
    }

    .success-message p {
        font-size: 16px;
    }
}




}