/* Сброс стилей и базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    color: #1a237e;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 4rem;
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6f00, #ff8f00);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a237e;
}

.btn-outline {
    background: #f3f2f2;
    color: #000000;
    border: 2px solid #1a237e38;
}

.btn-outline:hover {
    background: #1a237e;
    color: white;
}

/* WhatsApp кнопка */
.whatsapp-btn {
    position: fixed;
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-btn a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Позиционирование WhatsApp кнопки */
@media (min-width: 768px) {
    .whatsapp-btn {
        bottom: 30px;
        left: 30px;
    }
}

@media (max-width: 767px) {
    .whatsapp-btn {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 126, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(26, 35, 126, 0.98);
    padding: 0.5rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-phone {
    color: #ff6f00;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* Hero секция */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8), rgba(55, 71, 79, 0.6));
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-sub {
    display: block;
    font-size: 2rem;
    color: #ff6f00;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6f00;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Секции */
section {
    padding: 5rem 0;
}

.services {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #1a237e;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.service-card li {
    padding: 0.3rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff6f00;
    font-weight: bold;
}

/* Калькулятор */
.calculator {
    background: linear-gradient(135deg, #1a237e, #37474f);
    color: white;
}

.calculator-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.step.active {
    background: rgba(255, 111, 0, 0.2);
    border: 2px solid #ff6f00;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step.active .step-number {
    background: #ff6f00;
}

.calculator-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    min-height: 400px;
}

.calc-step {
    display: none;
}

.calc-step.active {
    display: block;
}

.calc-step h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.material-grid, .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.material-card, .service-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.material-card:hover, .service-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.material-card.selected, .service-option.selected {
    border-color: #ff6f00;
    background: rgba(255, 111, 0, 0.2);
}

.material-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-option i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff6f00;
}

.params-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
   width: 100%;
    padding: 12px;
    border: 1px solid #1a237e;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #3F51B5;
    font-size: 1rem;
    font-weight: 700;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.calc-result {
    text-align: center;
}

.result-summary {
    margin-bottom: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.result-price {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.price-breakdown {
    margin-bottom: 1rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.total-price {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: bold;
    padding-top: 1rem;
    border-top: 2px solid #ff6f00;
    color: #ff6f00;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.calculator-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Прайс-лист */
.prices {
    background: #f8f9fa;
}

.price-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: white;
    color: #1a237e;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn.active {
    background: #1a237e;
    color: white;
}

.tab-btn:hover {
    background: #ff6f00;
    color: white;
}

.price-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.price-table {
    display: none;
    padding: 2rem;
}

.price-table.active {
    display: block;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a237e;
}

tr:hover {
    background: #f8f9fa;
}

.services-pricing {
    display: grid;
    gap: 2rem;
}

.pricing-category h4 {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.pricing-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #ff6f00;
}

.price-notes {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.note-item i {
    color: #ff6f00;
}

/* Индивидуальные решения */
.custom-solutions {
    background: linear-gradient(135deg, #37474f, #1a237e);
    color: white;
}

.custom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.custom-text h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.custom-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.custom-text ul {
    list-style: none;
}

.custom-text li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.custom-text li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ff6f00;
    font-weight: bold;
}

.custom-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
}

.custom-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: #ff6f00;
    background: rgba(255, 111, 0, 0.1);
}

.file-upload input {
    display: none;
}

/* Портфолио */
.portfolio {
    background: #f8f9fa;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    background: white;
    color: #1a237e;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #1a237e;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(26, 35, 126, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Видео производства */
.production-video {
    background: #1a237e;
    color: white;
}

.video-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-wrapper video {
    width: 100%;
    height: auto;
}

.equipment-specs h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.specs-grid {
    display: grid;
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.spec-item i {
    font-size: 1.5rem;
    color: #ff6f00;
    margin-top: 0.2rem;
}

.spec-item h4 {
    margin-bottom: 0.5rem;
    color: #ff6f00;
}

.spec-item p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Преимущества */
.advantages {
    background: #f8f9fa;
}

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

.advantage-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ff6f00, #ff8f00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.advantage-item h3 {
    color: #1a237e;
    margin-bottom: 1rem;
}

.advantage-item p {
    color: #666;
}

/* FAQ */
.faq {
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #ff6f00;
}

.faq-question h4 {
    font-size: 1.1rem;
    color: #1a237e;
}

.faq-question i {
    color: #ff6f00;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* Контакты */
.contact {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6f00, #ff8f00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #1a237e;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #ff6f00;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #1a237e;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #333;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: #ff6f00;
}

/* Футер */
.footer {
    background: #1a237e;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6f00;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: #ff6f00;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 111, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #ff6f00;
    transform: translateY(-2px);
}

.footer-contact {
    display: grid;
    gap: 0.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: #ff6f00;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-large {
    max-width: 900px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: #1a237e;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #ff6f00;
}

.modal-body {
    padding: 1.5rem;
}

.portfolio-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.portfolio-modal-image img {
    width: 100%;
    border-radius: 8px;
}

.portfolio-specs {
    margin-top: 1.5rem;
}

.portfolio-specs h4 {
    color: #1a237e;
    margin-bottom: 1rem;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .custom-content,
    .contact-content,
    .video-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-modal-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;display: none;
        background: #1a237e;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transition: top 0.3s ease;
    }
    
    .nav-menu.active {
        top: 100%;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-steps {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .step {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .step-title {
        display: none;
    }
    
    .material-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .params-form {
        grid-template-columns: 1fr;
    }
    
    .price-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .table-responsive {
        font-size: 0.8rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price-notes {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .advantage-item {
        padding: 1.5rem;
    }
    
    .calculator-content {
        padding: 1.5rem;
    }
    
    .custom-form,
    .contact-form {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 1rem;
        width: calc(100% - 2rem);
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Скрытие элементов по умолчанию для анимации */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Дополнительные утилиты */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Улучшение производительности */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

video {
    max-width: 100%;
    height: auto;
}


/* Обновленные стили для улучшения контрастности */
.navbar {
    position: static !important; /* Статичная навигация */
}

/* Hero секция с формой */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: 80vh;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-form-wrapper {
    flex: 0 0 400px;
    display: none; /* Скрыто на мобильных */
}

.hero-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-form h3 {
    color: #1a237e;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.hero-form p {
    color: #666;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.hero-form .form-group {
    margin-bottom: 1rem;
}

.hero-form input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.hero-form input:focus {
    border-color: #ff6b35;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.hero-form .btn {
    width: 100%;
    margin-top: 1rem;
    padding: 12px;
    font-size: 1rem;
}

.form-benefits {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.benefit-item i {
    color: #4caf50;
    font-size: 0.8rem;
}

/* Мобильная кнопка звонка */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
}

.mobile-call-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #4caf50;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.mobile-call-btn a:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.desktop-only {
    display: block;
}

/* SEO блок */
.seo-content {
    background: #f8f9fa;
    padding: 4rem 0;
    margin-top: 4rem;
}

.seo-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.seo-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.seo-text h2 {
    color: #1a237e;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.seo-preview {
    margin-bottom: 1rem;
}

.seo-full-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.seo-full-text.expanded {
    max-height: 5000px;
}

.seo-full-text h3 {
    color: #1a237e;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
}

.seo-full-text p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.seo-toggle-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.seo-toggle-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

.seo-toggle-btn i {
    transition: transform 0.3s ease;
}

.seo-toggle-btn.expanded i {
    transform: rotate(180deg);
}

/* Улучшение контрастности заголовков */
.hero-title .title-main {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

.hero-title .title-sub {
    color: #ff6b35 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

.hero-subtitle {
    color: #ffffff !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.section-title {
    color: #1a237e !important;
    font-weight: 700;
}

.service-card h3 {
    color: #1a237e !important;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-form-wrapper {
        display: block;
        flex: 0 0 350px;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .seo-wrapper {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-form-wrapper {
        display: none; /* Скрываем форму на мобильных */
    }
    
    .mobile-call-btn {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    .seo-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .seo-image {
        order: -1;
    }
    
    .seo-text h2 {
        font-size: 1.5rem;
    }
    
    /* Мобильное меню - убираем гамбургер, делаем всегда видимым */
    .nav-menu {
        position: static !important;
        background: transparent !important;
        flex-direction: row !important;
        transform: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        gap: 1rem !important;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .nav-menu.active {
        transform: none !important;
    }
    
    .hamburger {
        display: none !important;
    }
    
    .nav-menu a {
        font-size: 0.9rem !important;
        padding: 0.5rem 1rem !important;
        border-radius: 20px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .hero-title .title-main {
        font-size: 1.8rem;
    }
    
    .hero-title .title-sub {
        font-size: 1.2rem;
    }
    
    .mobile-call-btn {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
    
    .seo-text h2 {
        font-size: 1.3rem;
    }
}

div#navMenu2 {
    display: grid;
    padding: 15px;
    font-size: 22px;
    display: none;
}


.nav-menu2.active {
    display: grid !important;
    padding: 15px !important;
    font-size: 24px !important;
}

/* Общая секция */
#intro {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

/* Видео */
.video-bg video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0; left: 0;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(2px);
}

/* Контент */
.content-area {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  gap: 60px;
  flex-wrap: wrap;
}

/* Текст */
.text-side {
  flex: 1;
  min-width: 380px;
}
.text-side h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}
.text-side h1 span {
  color: #ffd43b;
  font-size: 1.8rem;
  display: block;
  margin-top: 10px;
}
.text-side p {
  font-size: 1.15rem;
  margin-bottom: 20px;
}
.features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.features li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}
.features li::before {
  content: "✔";
  color: #22c55e;
  position: absolute;
  left: 0;
}

/* Кнопки */
.cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.btn-main, .btn-light {
  padding: 14px 26px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.btn-main {
  background: linear-gradient(135deg, #ff6b6b, #f94d6a);
  color: #fff;
}
.btn-main:hover { transform: translateY(-3px); }
.btn-light {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-light:hover { background: rgba(255,255,255,0.3); }

/* Форма */
.form-side {
  flex: 0 0 360px;
  min-width: 320px;
}
.form-card {
  background: rgba(255,255,255,0.08);
  padding: 30px;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}
.form-card h3 {
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.form-card form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-card input {
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 1rem;
}
.form-card button {
  padding: 14px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.form-card button:hover {
  transform: translateY(-2px);
}
.perks {
  margin-top: 20px;
  font-size: 0.95rem;
}
.perks p {
  margin: 6px 0;
}

@media (max-width: 768px) {

.form-side {
    display: none;
}
}
.wh3 {
    color: white !important;
}


.catalog {
    padding: 5rem 0;
    background: #f8f9fa;
}

.catalog-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.catalog-categories {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.catalog-categories h3 {
    color: #1a237e;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    border: none;
    background: #f5f5f5;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-align: left;
}

.category-btn:hover {
    background: #e3f2fd;
    color: #1a237e;
}

.category-btn.active {
    background: #1a237e;
    color: white;
}

.category-btn i {
    font-size: 1.1rem;
    width: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}



.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 200px;
    background: #f0f0f0;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff6b35;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.new {
    background: #4caf50;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    color: #1a237e;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #888;
}

.product-specs i {
    color: #ff6b35;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 1rem;
}

.product-buy {
    width: 100%;
    padding: 0.8rem;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .catalog-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .catalog-categories {
        position: static;
    }
    
    .category-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .category-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
        padding: 0.8rem;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

   .content-area {
    position: relative;
    z-index: 2;
    display: flex
;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1390px;
    margin: 0 auto;
    padding: 14px;
    gap: 25px;
    flex-wrap: wrap;
}

.text-side {
    flex: 1;
    min-width: auto;
}
.text-side h1 span {
    color: #ffd43b;
    font-size: 1rem;
    display: block;
    margin-top: 10px;
}
.text-side h1 {
    text-align: center;
    font-size: 2em;}
    
    .category-btn {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
        min-width: 120px;
    }
}
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 10000;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #4caf50;
}

.notification-error {
    border-left: 4px solid #f44336;
}

.notification i {
    color: #4caf50;
}

.notification-error i {
    color: #f44336;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
    margin-left: auto;
}

.field-error {
    color: #f44336;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

input.error {
    border-color: #f44336 !important;
}


input::placeholder {
    color: #888 !important;   /* серый */
    opacity: 1;    /* чтобы не был полупрозрачным */
}