/* Общие стили */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E6F0FA;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Шапка */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

/* Мобильное меню */
#mobileMenu {
    display: none;
}

/* Модальное окно */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    color: #6b7280;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #1f2937;
}

.modal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-form label {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 500;
}

.modal-form input[type="tel"] {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #1f2937;
    transition: border-color 0.2s ease;
}

.modal-form input[type="tel"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.modal-checkbox input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #3b82f6;
}

.modal-submit {
    background: #3b82f6;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.modal-submit:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.modal-submit:active {
    transform: translateY(0);
}

.required {
    color: #ef4444;
    font-size: 0.75rem;
}

/* Уведомления */
.notification {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 2000;
    animation: slideIn 0.3s ease, slideOut 0.3s ease 2.7s;
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Футер */
footer {
    background: linear-gradient(180deg, #353535 0%, #000000 100%);
    color: #FFFFFF;
    padding: 40px 0 15px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about, .footer-emails, .footer-phones {
    flex: 1;
    min-width: 220px;
}

.footer-about h3, .footer-emails h3, .footer-phones h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFFFF;
    position: relative;
}

.footer-about h3::after, .footer-emails h3::after, .footer-phones h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 40px;
    height: 2px;
    background-color: #60A5FA;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    color: #E5E7EB;
    max-width: 300px;
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #E5E7EB;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-list li:hover {
    color: #60A5FA;
    transform: translateX(4px);
}

.contact-list i {
    font-size: 16px;
    margin-right: 10px;
    color: #60A5FA;
    transition: color 0.3s ease;
}

.contact-list li:hover i {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    font-size: 12px;
    color: #D1D5DB;
}

/* Hero Section (Слайдер) */
#hero {
    width: 100%;
    height: 670px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 2500px;
    margin: 100px auto;
    padding: 10px 100px;
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.hero-content h2 {
    margin-top: 70px;
    font-size: 90px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-content .btn {
    background-color: #007BFF;
    color: #FFFFFF;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-content .btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Кастомные стрелки навигации */
.hero-nav-prev, .hero-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hero-nav-prev {
    left: 20px;
}

.hero-nav-next {
    right: 20px;
}

.hero-nav-prev:hover, .hero-nav-next:hover {
    color: #007BFF;
}

.hero-nav-prev i, .hero-nav-next i {
    display: block;
}

/* Пагинация Swiper */
.swiper-pagination {
    bottom: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #007BFF;
}

/* О нас */
#about {
    padding: 80px 0;
    background-color: #F9FAFB;
}

#about .section-title {
    font-size: 40px;
    font-weight: 700;
    color: #494949;
    text-align: center;
    margin-bottom: 50px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.about-text {
    flex: 1;
    color: #666666;
    font-size: 18px;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Каталог продукции (Слайдер) */
#catalog {
    padding: 60px 0;
    background-color: #FFFFFF;
}

#catalog h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin-bottom: 40px;
}

.catalog-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.swiper-slide.catalog-item {
    text-align: center;
    padding: 10px;
}

.catalog-item img {
    width: 100%;
    max-width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.catalog-item p {
    font-size: 16px;
    color: #333333;
    font-weight: 500;
    margin: 0;
}

/* Кастомные стрелки навигации */
.catalog-nav-prev, .catalog-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #007BFF;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.catalog-nav-prev {
    left: -50px;
}

.catalog-nav-next {
    right: -50px;
}

.catalog-nav-prev:hover, .catalog-nav-next:hover {
    color: #0056b3;
}

.catalog-nav-prev i, .catalog-nav-next i {
    display: block;
}

/* Почему нас выбирают */
#why-choose-us {
    background-color: #E6F0FA;
    padding: 50px 0;
}

.section-title {
    font-size: 45px;
    font-weight: 700;
    color: #494949;
    text-align: center;
    margin-bottom: 40px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.reason-item {
    background-color: #FFFFFF;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-icon {
    font-size: 60px;
    color: #007BFF;
    margin-bottom: 10px;
}

.reason-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
}

.reason-item p {
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
}

/* Видео компании */
#company-video {
    background-color: #E6F0FA;
    padding: 40px 0;
}

.video-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* Соотношение 16:9 */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Процесс работы */
#process {
    padding: 40px 0;
    background-color: #F9FAFB;
}

#process .section-title {
    font-size: 30px;
    font-weight: 700;
    color: #494949;
    text-align: center;
    margin-bottom: 25px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-item {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 200px;
}

.process-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.process-icon {
    font-size: 50px;
    color: #007BFF;
    margin-bottom: 12px;
}

.process-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
}

.process-content {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
    margin-top: 8px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-content p {
    margin: 0;
    max-width: 90%;
}

/* Каталог услуг */
#services {
    padding: 60px 0;
    background: linear-gradient(180deg, #F9FAFB 0%, #E6F0FA 100%);
}

#services .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #494949;
    text-align: center;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.service-item h3 i {
    font-size: 24px;
    color: #007BFF;
}

.service-item p {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.service-btn {
    display: inline-block;
    background-color: #007BFF;
    color: #FFFFFF;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.service-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Чертежи */
#drawings {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.drawings-content {
    display: flex;
    align-items: center;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.drawings-text {
    flex: 1;
}

.drawings-form-wrapper {
    flex: 1;
    max-width: 450px;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.drawings-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field {
    position: relative;
}

.form-field i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 22px;
    color: #007BFF;
}

.drawings-form-wrapper input[type="tel"],
.drawings-form-wrapper input[type="file"] {
    padding: 14px 14px 14px 44px;
    font-size: 16px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    width: 100%;
    background-color: #F9FAFB;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.drawings-form-wrapper input[type="tel"]:focus,
.drawings-form-wrapper input[type="file"]:focus {
    border-color: #007BFF;
    background-color: #FFFFFF;
    outline: none;
}

.drawings-form-wrapper input[type="file"] {
    padding: 12px 14px 12px 44px;
}

.drawings-form-wrapper button {
    background-color: #007BFF;
    color: #FFFFFF;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.drawings-form-wrapper button:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.form-note {
    font-size: 12px;
    color: #6B7280;
    text-align: center;
    margin-top: 10px;
}

/* Новый аккордеон FAQ */
#faq {
    padding: 60px 0;
    background: linear-gradient(180deg, #E6F0FA 0%, #F9FAFB 100%);
}

#faq .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1E3A8A;
    text-align: center;
    margin-bottom: 40px;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.faq-header {
    display: flex;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    background: linear-gradient(90deg, #ffffff 0%, #f8fafc 100%);
    transition: background 0.3s ease;
}

.faq-header:hover {
    background: linear-gradient(90deg, #f0f7ff 0%, #e6f0fa 100%);
}

.faq-icon {
    font-size: 28px;
    color: #2563eb;
    margin-right: 16px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(90deg);
    color: #1e40af;
}

.faq-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.faq-item.active .faq-header h3 {
    color: #1e40af;
}

.faq-arrow {
    font-size: 28px;
    color: #2563eb;
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: #1e40af;
}

.faq-content {
    display: none;
    padding: 24px;
    font-size: 16px;
    color: #4b5563;
    background: #f9fafb;
    border-top: 1px solid #e6f0fa;
    line-height: 1.6;
    opacity: 0;
}

.faq-content p {
    margin: 0;
}

/* Drag-and-Drop Styles */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    border: 2px dashed #D1D5DB;
    border-radius: 6px;
    background-color: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.file-upload-wrapper:hover,
.file-upload-wrapper.dragover {
    border-color: #007BFF;
    background-color: #E6F0FA;
}

.file-upload-wrapper input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #6B7280;
    font-size: 16px;
    padding: 10px;
}

.file-upload-label i {
    font-size: 24px;
    color: #007BFF;
    margin-bottom: 8px;
}

.file-upload-label span {
    font-weight: 500;
}

.file-upload-label::before {
    content: "Перетащите файл сюда или";
    display: block;
    font-size: 16px;
    color: #374151;
}

.file-upload-label::after {
    content: "нажмите для выбора";
    display: block;
    font-size: 14px;
    color: #007BFF;
    font-weight: 600;
    margin-top: 4px;
}

.file-upload-wrapper.dragover .file-upload-label::before {
    content: "Отпустите файл для загрузки";
}

.file-upload-wrapper.dragover .file-upload-label::after {
    content: "";
}

.file-name {
    margin-top: 10px;
    font-size: 14px;
    color: #374151;
    text-align: center;
    word-break: break-all;
}

/* Section Styles */
.drawings-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.drawings-text {
    text-align: left;
    margin-bottom: 20px;
}

.drawings-text h2 {
    font-size: 45px;
    color: #1F2937;
    margin-bottom: 80px;
}

.drawings-text p {
    margin-left: auto;
    font-size: 25px;
    color: #6B7280;
}

.required {
    color: #b91c1c;
    font-size: 12px;
}

label {
    display: block;
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
}

.success-message,
.error-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.success-message {
    color: #15803d;
    background-color: #dcfce7;
}

.error-message {
    color: #b91c1c;
    background-color: #fee2e2;
}

.hidden {
    display: none;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .catalog-nav-prev {
        left: 10px;
    }
    .catalog-nav-next {
        right: 10px;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Общие стили для контейнера */
    .container {
        padding: 15px;
    }

    /* Шапка */
    header .container {
        padding: 10px 15px;
    }
    header .text-2xl {
        font-size: 1.25rem; /* Уменьшаем размер логотипа */
    }
    header .text-3xl {
        font-size: 1.5rem;
    }
    #mobileMenu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    #mobileMenu nav {
        padding: 15px 0;
        space-y: 3;
    }
    #mobileMenu a {
        font-size: 14px;
    }

    /* Hero */
    #hero {
        height: 350px;
        padding-top: 70px; /* Отступ сверху для шапки */
    }
    .hero-content {
        padding: 15px;
        margin: 0;
        text-align: center;
        justify-content: center;
        align-items: center;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .hero-content h2 {
        font-size: 24px;
        margin-top: 0; /* Убираем верхний отступ */
        margin-bottom: 10px;
        line-height: 1.3;
    }
    .hero-content p {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    .hero-content .btn {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 8px;
    }
    .hero-nav-prev, .hero-nav-next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .hero-nav-prev {
        left: 10px;
    }
    .hero-nav-next {
        right: 10px;
    }
    .swiper-pagination {
        bottom: 10px;
    }
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    /* О нас */
    #about {
        padding: 40px 0;
    }
    #about .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .about-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start; /* Выравнивание по левому краю для текста */
    }
    .about-image {
        max-width: 100%;
        width: 100%;
        order: -1; /* Устанавливаем фото выше текста */
    }
    .about-image img {
        width: 100%;
        height: 200px; /* Фиксированная высота для мобильных */
        object-fit: cover; /* Чтобы изображение не искажалось */
    }
    .about-text {
        font-size: 16px;
        line-height: 1.6;
        width: 100%;
        text-align: left; /* Текст выравнивается по левому краю */
    }
    .about-text p {
        margin-bottom: 15px;
    }

    /* Почему нас выбирают */
    #why-choose-us {
        padding: 30px 0;
    }
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .reason-item {
        padding: 30px;
    }
    .reason-icon {
        font-size: 40px;
    }
    .reason-item h3 {
        font-size: 18px;
    }
    .reason-item p {
        font-size: 14px;
    }

    /* Видео */
    #company-video {
        padding: 30px 0;
    }
    .video-wrapper {
        padding-bottom: 56.25%; /* Соотношение 16:9 */
    }

    /* Процесс работы */
    #process {
        padding: 30px 0;
    }
    #process .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .process-item {
        padding: 15px;
        min-height: auto;
    }
    .process-icon {
        font-size: 40px;
        margin-bottom: 10px;
    }
    .process-item h3 {
        font-size: 16px;
    }
    .process-content {
        font-size: 14px;
    }

    /* Услуги */
    #services {
        padding: 40px 0;
    }
    #services .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .service-item {
        padding: 15px;
        min-height: auto;
    }
    .service-image {
        height: 200px;
    }
    .service-item h3 {
        font-size: 18px;
    }
    .service-item h3 i {
        font-size: 20px;
    }
    .service-item p {
        font-size: 14px;
    }
    .service-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Чертежи */
    #drawings {
        padding: 40px 0;
    }
    .drawings-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 20px;
    }
    .drawings-text {
        margin-bottom: 0;
    }
    .drawings-text h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .drawings-text p {
        font-size: 16px;
        margin-left: 0;
    }
    .drawings-form-wrapper {
        max-width: 100%;
        padding: 20px;
    }
    .drawings-form-wrapper form {
        gap: 15px;
    }
    .drawings-form-wrapper input[type="tel"],
    .drawings-form-wrapper input[type="file"] {
        font-size: 14px;
        padding: 12px 12px 12px 40px;
    }
    .drawings-form-wrapper input[type="file"] {
        padding: 10px 12px 10px 40px;
    }
    .form-field i {
        font-size: 20px;
    }
    .drawings-form-wrapper button {
        padding: 12px;
        font-size: 14px;
    }
    .file-upload-wrapper {
        height: 100px;
    }
    .file-upload-label::before {
        font-size: 14px;
    }
    .file-upload-label::after {
        font-size: 12px;
    }
    .form-note {
        font-size: 11px;
    }

    /* Модальное окно */
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-width: 90%;
    }
    .modal-content h2 {
        font-size: 1.5rem;
    }
    .modal-subtitle {
        font-size: 14px;
    }
    .modal-form input[type="tel"] {
        font-size: 14px;
        padding: 8px;
    }
    .modal-checkbox {
        font-size: 12px;
    }
    .modal-submit {
        font-size: 14px;
        padding: 10px;
    }

    /* Футер */
    footer {
        padding: 30px 0 10px;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .footer-about, .footer-emails, .footer-phones {
        min-width: 100%;
        text-align: center;
    }
    .footer-about p {
        max-width: 100%;
    }
    .footer-about h3::after, .footer-emails h3::after, .footer-phones h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .contact-list li {
        justify-content: center;
        font-size: 13px;
    }
    .footer-bottom {
        margin-top: 15px;
        padding-top: 10px;
    }
}

@media (max-width: 480px) {
    /* Общие стили */
    .container {
        padding: 10px;
    }

    /* Шапка */
    header .container {
        padding: 8px 10px;
    }
    header .text-2xl {
        font-size: 1.1rem;
    }
    header .text-3xl {
        font-size: 1.25rem;
    }
    #mobileMenu a {
        font-size: 13px;
    }

    /* Hero */
    #hero {
        height: 300px;
    }
    .hero-content {
        padding: 15px;
    }
    .hero-content h2 {
        font-size: 22px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .hero-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .hero-content .btn {
        padding: 6px 15px;
        font-size: 12px;
    }
    .hero-nav-prev, .hero-nav-next {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    /* О нас */
    #about {
        padding: 30px 0;
    }
    #about .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .about-image img {
        height: 180px; /* Ещё меньше высота для маленьких экранов */
    }
    .about-text {
        font-size: 14px;
        line-height: 1.5;
    }
    .about-text p {
        margin-bottom: 12px;
    }

    /* Почему нас выбирают */
    #why-choose-us {
        padding: 20px 0;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .reason-item {
        padding: 20px;
    }
    .reason-icon {
        font-size: 36px;
    }
    .reason-item h3 {
        font-size: 16px;
    }

    /* Видео */
    #company-video {
        padding: 20px 0;
    }

    /* Процесс работы */
    #process {
        padding: 20px 0;
    }
    #process .section-title {
        font-size: 20px;
    }
    .process-icon {
        font-size: 36px;
    }
    .process-item h3 {
        font-size: 15px;
    }
    .process-content {
        font-size: 13px;
    }

    /* Услуги */
    #services {
        padding: 30px 0;
    }
    #services .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .service-image {
        height: 180px;
    }
    .service-item h3 {
        font-size: 16px;
    }
    .service-item p {
        font-size: 13px;
    }

    /* Чертежи */
    .drawings-text h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .drawings-text p {
        font-size: 14px;
    }
    .drawings-form-wrapper {
        padding: 15px;
    }
    .file-upload-wrapper {
        height: 90px;
    }
    .file-upload-label::before {
        font-size: 13px;
    }
    .file-upload-label::after {
        font-size: 11px;
    }

    /* Модальное окно */
    .modal-content {
        padding: 1rem;
    }
    .modal-content h2 {
        font-size: 1.25rem;
    }
    .modal-subtitle {
        font-size: 12px;
    }
    .modal-form input[type="tel"] {
        font-size: 12px;
        padding: 6px;
    }
    .modal-checkbox {
        font-size: 11px;
    }
    .modal-submit {
        font-size: 12px;
        padding: 8px;
    }
}

.small-hero-text h2 {
    font-size: 70px;
}

@media (max-width: 768px) {
    .small-hero-text h2 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .small-hero-text h2 {
        font-size: 28px;
    }
}

@media (max-width: 360px) {
    /* Hero */
    #hero {
        height: 320px;
        padding-top: 60px; /* Отступ сверху для шапки */
    }
    .hero-content {
        padding: 10px;
    }
    .hero-content h2 {
        font-size: 22px;
    }
    .hero-content p {
        font-size: 13px;
    }
    .hero-content .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}