/* Основные стили для ELECTROPROM PLANT */

body {
    font-family: 'DIN Pro', Arial, sans-serif;
}

.logo {
    min-width: 180px;
}

.logo-icon {
    height: 48px;
    width: auto;
    margin-bottom: 4px;
}

.logo-text {
    font-size: 2rem;
    font-family: 'DIN Pro', Arial, sans-serif;
    font-weight: bold;
    color: #fff;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-family: 'DIN Pro', Arial, sans-serif;
    font-size: 1.1rem;
    transition: color 0.2s;
    margin: 0 0.5rem;
}

.nav-link-en {
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: #ED1C24;
}

.btn-contact {
    display: inline-block;
    border: none;
    background: none;
    padding: 0;
    vertical-align: middle;
}

.btn-contact img {
    height: 40px;
    width: auto;
}

.btn-contact-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ED1C24;
    color: #fff;
    font-family: 'DIN Pro', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    width: 120px;
    height: 120px;
    box-shadow: 0 4px 24px 0 rgba(237, 28, 36, 0.25);
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}

.btn-contact-hero span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-contact-arrows {
    margin-top: 4px;
}

.btn-contact-arrows svg {
    margin-left: 2px;
    margin-right: 2px;
    vertical-align: middle;
}

.btn-contact-hero:hover, .btn-contact-hero:focus {
    background: #b9000e;
    color: #fff;
    box-shadow: 0 6px 32px 0 rgba(237, 28, 36, 0.35);
    text-decoration: none;
}

/* Hero section */
.hero {
    position: relative;
    min-height: 800px;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* Industry Solutions section */
.industry-solutions-section {
    background: #FBFBFB;
    min-height: 606px;
    overflow: hidden;
}

.industry-solutions-container {
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    height: 606px;
    position: relative;
}

.industry-solutions-blue {
    width: 608px;
    height: 606px;
    background: #17262E;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 0 0 116px;
    position: relative;
    z-index: 2;
}

.industry-solutions-content {
    max-width: 455px;
}

.industry-solutions-title {
    color: #DBDBDB;
    font-family: 'DIN Pro', sans-serif;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 50px;
}

.industry-solutions-subtitle {
    color: #F1F1F1;
    font-size: 24px;
    font-family: 'DIN Pro', sans-serif;
    font-weight: 500;
    line-height: 1.3;
}

.industry-solutions-red {
    width: 832px;
    height: 606px;
    background: #ED1C24;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 0 0 182px;
    position: relative;
    z-index: 2;
}

.industry-solutions-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 420px;
}

.industry-solution-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 6px;
    border-bottom: 1px solid #F1F1F1;
}

.solution-number {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 500;
    font-size: 64px;
    line-height: 1.1;
    color: transparent;
    -webkit-text-stroke: 1px #F1F1F1;
    text-stroke: 1px #F1F1F1;
}

.solution-text {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.1;
    color: #F1F1F1;
}

.industry-solutions-overlay {
    position: absolute;
    top: 85px;
    left: 130px;
    width: 1035px;
    height: 690px;
    z-index: 10;
    transform: rotate(-9.82deg);
    overflow: hidden;
    opacity: 0.4;
    filter: blur(1px);
}

.industry-solutions-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Services section */
.card {
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
}

.service-extra {
    padding: 0;
}

.service-text {
    font-family: 'DIN Pro', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
}

.service-extra img {
    margin-right: 12px;
    width: 36px;
    height: 33px;
}

/* Contacts section */
.contacts-section {
    background: #F5F5F5;
    min-height: 768px;
    padding: 80px 0;
}

.contacts-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
}

.contacts-title {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 1.1;
    color: #1B2C34;
    margin-bottom: 20px;
}

.contacts-subtitle {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.1;
    color: #5D5D5D;
    margin-bottom: 60px;
}

.contacts-info {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item:first-child {
    width: 215px;
}

.contacts-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-inputs {
    width: 600px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-textarea-container {
    width: 600px;
    margin-left: 600px;
    margin-top: -240px;
    position: relative;
}

.form-group {
    margin-bottom: 0;
    position: relative;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 10px 50px;
    border: 0.4px solid #959595;
    background: transparent;
    font-family: 'DIN Pro', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.1;
    color: #5D5D5D;
    margin-bottom: 0;
}

.form-input {
    height: 80px;
}

.form-textarea {
    height: 240px;
    resize: none;
    padding: 29px 30px 26px 50px;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: #5D5D5D;
}

.form-actions {
    display: flex;
    gap: 0;
    margin-top: -7px;
    width: 1200px;
}

.file-upload {
    width: 600px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    padding: 10px 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.file-text {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.1;
    color: #1B2C34;
}

.file-types {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.1;
    color: #9B9B9B;
}

.file-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-icon svg {
    width: 24px;
    height: 24px;
    color: #FF0000;
}

.submit-btn {
    width: 600px;
    height: 80px;
    background: transparent;
    border: 0.4px solid #959595;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 50px;
    cursor: pointer;
    transition: all 0.2s;
}



.submit-btn-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.required-fields {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    margin-left: 10px;
}

.required-text {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.1;
    color: #9B9B9B;
}



.contact-label {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.1;
    color: #1B2C34;
    margin: 0;
    text-decoration: underline;
}

.contact-value {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.1;
    color: #1B2C34;
    margin: 0;
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    transition: left 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.mobile-nav-link {
    color: #fff;
    text-decoration: none;
    font-family: 'DIN Pro', sans-serif;
    font-weight: 400;
    font-size: 24px;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #ED1C24;
}

.mobile-btn-contact img {
    height: 40px;
    width: auto;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .contacts-container {
        padding: 0 60px;
    }
    
    .industry-solutions-container {
        padding: 0 60px;
    }
}

@media (max-width: 992px) {
    .logo-text {
        font-size: 14px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .contacts-container {
        padding: 0 30px;
    }
    
    .industry-solutions-container {
        padding: 0 30px;
    }
    
    .form-inputs,
    .form-textarea-container {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
        position: relative;
    }
    
    .form-actions {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }
    
    .file-upload,
    .submit-btn {
        width: 100%;
    }
    
    .contacts-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-item:first-child {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px !important;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .contacts-title {
        font-size: 40px;
    }
    
    .industry-solutions-blue,
    .industry-solutions-red {
        width: 100%;
        height: auto;
        min-height: 200px;
        padding: 30px 20px;
    }
    
    .industry-solutions-container {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }
    
    .industry-solutions-overlay {
        display: none;
    }
    
    .industry-solutions-list {
        gap: 15px;
    }
    
    .industry-solution-item {
        gap: 8px;
        padding-bottom: 8px;
    }
    
    .form-input,
    .form-textarea {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .form-input {
        height: 60px;
    }
    
    .form-textarea {
        height: 150px;
        padding: 15px 20px;
    }
    
    .file-upload {
        height: 60px;
        padding: 10px 20px;
        gap: 10px;
    }
    
    .submit-btn {
        height: 60px;
        padding-left: 20px;
    }
    
    .submit-btn-img {
        height: 24px;
    }
    
    .file-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .file-text,
    .file-types {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .contacts-title {
        font-size: 32px;
    }
    
    .contacts-subtitle {
        font-size: 16px;
    }
    
    .contacts-container {
        padding: 0 20px;
    }
    
    .industry-solutions-container {
        padding: 0 20px;
    }
    
    .industry-solutions-blue,
    .industry-solutions-red {
        min-height: 220px;
        padding: 25px 15px;
    }
    
    .industry-solutions-title {
        font-size: 32px;
    }
    
    .industry-solutions-subtitle {
        font-size: 16px;
    }
    
    .industry-solutions-list {
        gap: 15px;
    }
    
    .industry-solution-item {
        gap: 8px;
        padding-bottom: 8px;
    }
    
    .solution-number {
        font-size: 20px;
    }
    
    .solution-text {
        font-size: 12px;
        line-height: 1.2;
    }
    
    .contact-label,
    .contact-value {
        font-size: 16px;
    }
    
    .required-text {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .industry-solutions-blue,
    .industry-solutions-red {
        min-height: 250px;
        padding: 20px 10px;
    }
    
    .industry-solutions-title {
        font-size: 28px;
    }
    
    .industry-solutions-subtitle {
        font-size: 14px;
    }
    
    .industry-solutions-list {
        gap: 12px;
    }
    
    .industry-solution-item {
        gap: 6px;
        padding-bottom: 6px;
    }
    
    .solution-number {
        font-size: 18px;
    }
    
    .solution-text {
        font-size: 11px;
        line-height: 1.3;
    }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: #F5F5F5;
    border-radius: 8px;
    padding: 60px 40px;
    position: relative;
    max-width: 684px;
    width: 90%;
    text-align: center;
}

.popup-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup-close:hover {
    background: #f0f0f0;
}

.popup-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.popup-title {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 1.1;
    color: #ED1C24;
    margin: 0;
}

.popup-message {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    color: #5D5D5D;
    margin: 0;
}

/* Form Validation Styles */
.form-input.error,
.form-textarea.error {
    border-color: #ED1C24 !important;
    box-shadow: 0 0 0 2px rgba(237, 28, 36, 0.2);
}

.form-input.error::placeholder,
.form-textarea.error::placeholder {
    color: #ED1C24;
}

.error-message {
    color: #ED1C24;
    font-size: 14px;
    font-family: 'DIN Pro', sans-serif;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    z-index: 10;
}

/* Loading State */
.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn.loading .submit-btn-img {
    opacity: 0.5;
}

/* File Upload Styles */
.file-upload.has-files {
    background: rgba(237, 28, 36, 0.1);
    border: 1px solid #ED1C24;
}

.file-upload.has-files .file-text {
    color: #ED1C24;
}

/* English Popup Styles */
.popup-content-en {
    background: #F5F5F5;
    border-radius: 8px;
    padding: 60px 40px;
    position: relative;
    max-width: 684px;
    width: 90%;
    text-align: center;
}

.popup-content-en .popup-title {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 1.1;
    color: #ED1C24;
    margin: 0;
    width: 300px;
}

.popup-content-en .popup-message {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    color: #5D5D5D;
    margin: 0;
}

.popup-content-en .popup-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #FFFFFF;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup-content-en .popup-close:hover {
    background: #f0f0f0;
}

.popup-close-icon {
    width: 14px;
    height: 14px;
}

.popup-content-en .popup-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Error Popup Styles */
#errorPopup .popup-content {
    background: #F5F5F5;
    border-radius: 8px;
    padding: 60px 40px;
    position: relative;
    max-width: 684px;
    width: 90%;
    text-align: center;
}

#errorPopup .popup-title {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 500;
    font-size: 56px;
    line-height: 1.1;
    color: #ED1C24;
    margin: 0;
}

#errorPopup .popup-message {
    font-family: 'DIN Pro', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.1;
    color: #5D5D5D;
    margin: 0;
    max-width: 500px;
    word-wrap: break-word;
}

/* Responsive Popup */
@media (max-width: 768px) {
    .popup-content,
    .popup-content-en {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .popup-title,
    .popup-content-en .popup-title {
        font-size: 32px;
    }
    
    .popup-message,
    .popup-content-en .popup-message {
        font-size: 18px;
    }
    
    .popup-close,
    .popup-content-en .popup-close {
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .popup-title,
    .popup-content-en .popup-title {
        font-size: 24px;
    }
    
    .popup-message,
    .popup-content-en .popup-message {
        font-size: 16px;
    }
}
