@charset "UTF-8";

/* ============ СБРОС И БАЗА ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    min-height: 100%;
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    background: #F4F4F4;
    color: #1A1A1A;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrapper {
    max-width: 1280px;
    padding: 0 24px;
    margin: 0 auto;
}

/* ============ ДЕКОРАТИВНАЯ ЧЁРНО-ЖЁЛТАЯ ПОЛОСА ============ */
.warning-stripe {
    height: 14px;
    width: 100%;
    background: repeating-linear-gradient(
        -45deg,
        #0D0D0D 0,
        #0D0D0D 20px,
        #FFC107 20px,
        #FFC107 40px
    );
}

/* ============ ШАПКА ============ */
.top_nav {
    position: fixed;                /* ← ключевое: шапка прилипает к окну */
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;                  /* выше всех секций */
    width: 100%;

    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 3px solid #FFC107;

    /* Устраняет дёрганье на мобильных при скролле */
    transform: translateZ(0);
    will-change: transform;
}

.top_nav .wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 14px 24px;
    gap: 6px;
    position: relative;
}

.top_nav__link-home {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #FFC107;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    transition: color 0.3s, transform 0.3s;
}

.top_nav__link-home:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.top_nav__home-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFC107;
    color: #0D0D0D;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    flex-shrink: 0;
}

.top_nav__link {
    display: inline-block;
    padding: 8px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s;
}

.top_nav__link:hover {
    color: #FFC107;
}

.top_nav__link-highlight {
    background: #FFC107;
    color: #0D0D0D !important;
    border-radius: 30px;
    padding: 10px 22px !important;
    margin-left: 10px;
    font-weight: 800;
}

.top_nav__link-highlight:hover {
    background: #fff;
    color: #0D0D0D !important;
}

/* ============ ГЛАВНЫЙ ЭКРАН ============ */
.screen_top {
    background: #0D0D0D;
    color: #fff;
    position: relative;
}

.hero-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Объединенное свойство: градиент + картинка с позиционированием и размером */
    background: linear-gradient(rgba(13, 13, 13, 0.4), rgba(13, 13, 13, 0.85)), 
                url('img/header-bg.jpg') center center / cover no-repeat;
}


.hero-img {
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;      /* ← центрирует блочный элемент */
    object-fit: cover;
    max-height: 75vh;
}

.hero-dark-section {
    background: #0D0D0D;
    padding: 90px 24px 100px;
    position: relative;
}

/* Диагональная жёлтая плашка слева */
.hero-dark-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 140px;
    height: 100%;
    background: #FFC107;
    transform: skewX(-12deg);
    transform-origin: top left;
    opacity: 0.08;
    pointer-events: none;
}

.hero-dark-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 70px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    max-width: 900px;
}

.hero-subtitle br { display: none; } /* убираем жёсткие переносы */

.accent-text {
    color: #FFC107;
    font-weight: 800;
    background: linear-gradient(180deg, transparent 60%, rgba(255,193,7,0.15) 60%);
    padding: 0 4px;
}

/* Линия со статистикой */
.hero-stats-line {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
}

.stat-box {
    text-align: left;
    position: relative;
    padding-left: 0;
}

.stat-num-big {
    font-size: 80px;
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 12px;
    color: #FFC107;
    letter-spacing: -2px;
}

.stat-text-bottom {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    opacity: 0.7;
}

.stat-divider {
    width: 2px;
    height: 80px;
    background: repeating-linear-gradient(
        to bottom,
        #FFC107 0,
        #FFC107 6px,
        transparent 6px,
        transparent 12px
    );
}

/* ============ СЕКЦИИ ============ */
.section-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.05;
    text-align: left;
    margin-bottom: 60px;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    color: #0D0D0D;
    max-width: 700px;
}

.section-title--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title--light { color: #fff; }

/* Жёлтая подчёркивающая полоска */
.section-title::after {
    content: '';
    display: block;
    width: 90px;
    height: 8px;
    background: #FFC107;
    margin-top: 18px;
}

.section-title--center::after { margin-left: auto; margin-right: auto; }

/* ============ УСЛУГИ ============ */
.services-section {
    padding: 100px 0;
    background: #F4F4F4;
}

.services-wrapper { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 110px;
}

.service-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    position: relative;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-image-box {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.service-image-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13,13,13,0.4) 0%, transparent 50%);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
    transition: filter 0.4s ease, transform 0.5s ease;
}

.service-card:hover .service-img {
    filter: grayscale(0) contrast(1);
    transform: scale(1.05);
}

.service-info {
    padding: 28px 26px 32px;
    border-top: 6px solid #FFC107;
}

.service-info h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #0D0D0D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #4A4A4A;
    margin: 0;
}

/* ============ ГАРАНТИИ ============ */
.guarantees-block {
    margin-top: 60px;
    background: #0D0D0D;
    padding: 80px 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.guarantees-block::before {
    content: '';
    position: absolute;
    top: 0;
    right: -80px;
    width: 300px;
    height: 100%;
    background: #FFC107;
    transform: skewX(-15deg);
    opacity: 0.06;
}

.guarantees-block .section-title {
    color: #fff;
    padding-left: 24px;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 24px;
}

.guarantee-card {
    background: rgba(255,255,255,0.04);
    padding: 40px 32px;
    border-radius: 4px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 5px solid #FFC107;
    transition: background 0.3s ease, transform 0.3s ease;
}

.guarantee-card:hover {
    background: rgba(255,193,7,0.06);
    transform: translateX(4px);
}

.guarantee-icon {
    font-size: 28px;
    color: #FFC107;
    margin-bottom: 20px;
    font-weight: 800;
}

.guarantee-card h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.guarantee-card p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

/* ============ КЛИЕНТЫ ============ */
.clients-section {
    padding: 100px 0;
    background: #fff;
    text-align: left;
}

.clients-wrapper { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.clients-seamless-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.seamless-item {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #F4F4F4;
    border: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.seamless-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1) opacity(0.7);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.seamless-item:hover {
    background: #FFC107;
}

.seamless-item:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

/* ============ ОТЗЫВЫ ============ */
.reviews-section {
    padding: 100px 0;
    background: #1A1A1A;
}

.reviews-wrapper { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.reviews-section .section-title { color: #fff; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: #fff;
    padding: 40px 32px 32px;
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    border-top: 6px solid #FFC107;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.review-quote-icon {
    position: absolute;
    top: 8px;
    right: 24px;
    font-size: 110px;
    color: #FFC107;
    opacity: 0.25;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.review-header {
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.review-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #0D0D0D;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.review-company {
    font-size: 12px;
    font-weight: 700;
    color: #8A8A8A;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-text {
    font-size: 14px;
    line-height: 1.65;
    color: #4A4A4A;
    margin: 0;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

/* ============ МЕДИА ============ */
.media-section {
    padding: 100px 0;
    background: #F4F4F4;
}

.media-wrapper { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.media-subtitle {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #4A4A4A;
    margin: -30px 0 50px;
    max-width: 600px;
}

.video-container {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 80px;
}

.video-wrapper-box {
    width: 100%;
    max-width: 900px;
    border-radius: 4px;
    padding: 0;
    background: #0D0D0D;
    border: none;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    overflow: hidden;
    position: relative;
}

.video-wrapper-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(
        -45deg,
        #0D0D0D 0,
        #0D0D0D 15px,
        #FFC107 15px,
        #FFC107 30px
    );
    z-index: 3;
}

.video-wrapper-box video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    object-fit: cover;
}

.gallery-redirect-block {
    text-align: left;
    border-top: 2px solid #0D0D0D;
    padding-top: 50px;
}

.gallery-redirect-block h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 28px;
    color: #0D0D0D;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.btn-gallery {
    display: inline-block;
    background: #FFC107;
    color: #0D0D0D;
    padding: 18px 44px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 0 #B38A00;
    position: relative;
    top: 0;
}

.btn-gallery:hover {
    background: #FFD54F;
    top: -3px;
    box-shadow: 0 9px 0 #B38A00;
}

.btn-gallery:active {
    top: 0;
    box-shadow: 0 3px 0 #B38A00;
}

/* ============ ЗАКАЗ ============ */
.order-section {
    padding: 100px 0;
    background: #1A1A1A;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.order-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: #FFC107;
    transform: rotate(45deg);
    opacity: 0.05;
}

.order-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.order-section .section-title { color: #fff; }

.order-subtitle {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255,255,255,0.7);
    margin: -30px 0 40px;
    max-width: 600px;
}

.email-notice {
    background: rgba(255,193,7,0.08);
    border: 2px solid #FFC107;
    padding: 18px 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.notice-badge {
    background: #FFC107;
    color: #0D0D0D;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.notice-text {
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    margin: 0;
}

.order-form { width: 100%; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 30px;
}

.form-group.full-width { grid-column: span 2; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 20px 24px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.4); }

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255,255,255,0.08);
    border-color: #FFC107;
}

.hidden-field { opacity: 0; position: absolute; width: 0; height: 0; overflow: hidden; z-index: -1; }

.form-submit-box { text-align: left; }

.btn-submit {
    display: inline-block;
    background: #FFC107;
    color: #0D0D0D;
    padding: 22px 70px;
    border-radius: 50px;
    border: none;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 6px 0 #B38A00;
    position: relative;
    top: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
    background: #FFD54F;
    top: -3px;
    box-shadow: 0 9px 0 #B38A00;
}

.btn-submit:active { top: 0; box-shadow: 0 3px 0 #B38A00; }

/* ============ СООБЩЕНИЯ ФОРМЫ ============ */
.form-message {
    display: none;
    max-width: 100%;
    margin: 0 0 30px;
    padding: 18px 24px;
    border-radius: 4px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-message.success {
    background: rgba(46, 204, 113, 0.15);
    border-left: 5px solid #2ecc71;
    color: #2ecc71;
}

.form-message.error {
    background: rgba(231, 76, 60, 0.15);
    border-left: 5px solid #e74c3c;
    color: #e74c3c;
}

/* ============ КОНТАКТЫ / ФУТЕР ============ */
.footer-section {
    padding: 100px 0 40px;
    background: #0D0D0D;
    color: #fff;
}

.footer-wrapper { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.footer-section .section-title { color: #fff; }

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.contact-item {
    background: rgba(255,255,255,0.04);
    padding: 36px 30px;
    border-radius: 4px;
    border-left: 5px solid #FFC107;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,193,7,0.06);
    transform: translateX(4px);
}

.contact-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #FFC107;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0D0D0D;
}

.contact-info { display: flex; flex-direction: column; min-width: 0; }

.contact-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FFC107;
    margin-bottom: 6px;
    font-weight: 800;
}

.contact-link,
.contact-text {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.contact-link:hover { color: #FFC107; }

.footer-bottom {
    border-top: 2px solid rgba(255,255,255,0.08);
    padding-top: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright,
.developer {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
    font-weight: 500;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

@media (max-width: 992px) {
    .section-title { font-size: 42px; }
    .hero-subtitle { font-size: 30px; }

    .services-grid,
    .guarantee-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .clients-seamless-grid { grid-template-columns: repeat(3, 1fr); }

    .contacts-grid { grid-template-columns: 1fr; gap: 16px; }

    .stat-num-big { font-size: 60px; }

    .hero-stats-line {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .stat-divider { display: none; }
}

@media (max-width: 768px) {
    .top_nav .wrapper { justify-content: center; gap: 4px; padding: 10px 16px; }
    .top_nav__link-home { position: static; transform: none; margin-right: 8px; font-size: 14px; }
    .top_nav__link { padding: 6px 10px; font-size: 11px; }
    .top_nav__link-highlight { padding: 7px 14px !important; font-size: 11px; }

    .hero-img { max-height: 45vh; }
    .hero-dark-section { padding: 60px 20px 70px; }
    .hero-subtitle { font-size: 22px; margin-bottom: 45px; }
    .stat-num-big { font-size: 52px; }
    .stat-text-bottom { font-size: 11px; letter-spacing: 1.5px; }

    .section-title { font-size: 32px; margin-bottom: 40px; }
    .section-title::after { width: 70px; height: 6px; }

    .services-section,
    .clients-section,
    .reviews-section,
    .media-section,
    .order-section,
    .footer-section { padding: 70px 0; }

    .service-info { padding: 22px 22px 26px; }
    .guarantee-card { padding: 32px 24px; }
    .review-card { padding: 32px 24px 26px; }

    .video-wrapper-box { max-width: 100%; }

    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .form-group input, .form-group textarea { padding: 16px 20px; }
    .btn-submit { width: 100%; padding: 20px; font-size: 14px; }

    .email-notice { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 18px; }

    .contact-item { padding: 24px 22px; }
    .contact-link, .contact-text { font-size: 15px; }

    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .media-subtitle, .order-subtitle {
        text-align: left;
        margin: -20px 0 30px;
    }
}

@media (max-width: 576px) {
    .clients-seamless-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 26px; }
    .hero-subtitle { font-size: 18px; }
    .gallery-redirect-block h3 { font-size: 24px; }
    .btn-gallery { width: 100%; text-align: center; }
}