@charset "UTF-8";

/* ============ СБРОС И БАЗОВЫЕ СТИЛИ ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    min-height: 100%;
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    background: #000;
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.wrapper {
    max-width: 1190px;
    padding: 0 20px;
    margin: 0 auto;
}

/* ============ ШАПКА (ФИКСИРОВАННАЯ) ============ */
.top_nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.top_nav .wrapper {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.top_nav__link-home {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 74px;
    height: 22px;
    background: url(img/home.png) no-repeat center;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
}

.top_nav__link {
    display: inline-block;
    padding: 6px 15px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.top_nav__link:hover {
    color: #aa824d;
}

.top_nav__link-highlight {
    background: #aa824d;
    border-radius: 30px;
    padding: 8px 20px !important;
    margin-left: 10px;
}

.top_nav__link-highlight:hover {
    background: #bc935c;
    color: #fff !important;
}

/* ============ ГЛАВНЫЙ ЭКРАН ============ */
.screen_top {
    background: #000;
    color: #fff;
    width: 100%;
}

/* ЗАГЛАВНОЕ ФОТО */
.hero-image-wrapper {
    padding-top: 80px;
    width: 100%;
    background: #111215;
}

.hero-img {
    width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;      /* ← центрирует блочный элемент */
    object-fit: cover;
    max-height: 75vh;
}

/* ТЕМНОЕ ПОЛЕ ПОД ФОТО */
.hero-dark-section {
    background: #111215;
    padding: 100px 20px;
    width: 100%;
}

.hero-dark-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 70px;
    color: #a0a5b0;
    text-align: center;
}

.accent-text {
    color: #aa824d;
    font-weight: 500;
}

.hero-stats-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 950px;
    margin: 0 auto;
}

.stat-box {
    text-align: center;
    flex: 1;
}

.stat-num-big {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    display: block;
    margin-bottom: 15px;
    background: linear-gradient(180deg, #ffffff 30%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text-bottom {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aa824d;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}

/* ============ ОБЩИЕ ЗАГОЛОВКИ СЕКЦИЙ ============ */
.section-title {
    font-size: 38px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #aa824d;
    margin: 15px auto 0;
}

/* ============ УСЛУГИ ============ */
.services-section {
    padding: 100px 20px;
    background: #16171b;
    color: #ffffff;
    box-sizing: border-box;
}

.services-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.service-card {
    background: #1f2126;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(170, 130, 77, 0.5);
}

.service-image-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #2a2c33;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-info {
    padding: 30px 25px;
}

.service-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.service-info p {
    font-size: 14px;
    line-height: 1.6;
    color: #a0a5b0;
    margin: 0;
}

/* ============ ГАРАНТИИ ============ */
.guarantees-block {
    margin-top: 60px;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.guarantee-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.guarantee-card:hover {
    background: rgba(170, 130, 77, 0.05);
    border-color: rgba(170, 130, 77, 0.3);
}

.guarantee-icon {
    font-size: 24px;
    color: #aa824d;
    margin-bottom: 15px;
}

.guarantee-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #a0a5b0;
    margin: 0;
}

/* ============ НАМ ДОВЕРЯЮТ ============ */
.clients-section {
    padding: 100px 20px;
    background: #111215;
    text-align: center;
    box-sizing: border-box;
}

.clients-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.clients-seamless-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #16171b;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.seamless-item {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

.seamless-item:nth-child(3n) {
    border-right: none;
}

.seamless-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1) brightness(0.8) opacity(0.6);
    mix-blend-mode: lighten;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.seamless-item:hover {
    background: rgba(170, 130, 77, 0.08);
}

.seamless-item:hover img {
    filter: grayscale(0) brightness(1) opacity(1);
    transform: scale(1.05);
}

/* ============ ОТЗЫВЫ ============ */
.reviews-section {
    padding: 100px 20px;
    background: #16171b;
    color: #ffffff;
    box-sizing: border-box;
}

.reviews-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: #1f2126;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(170, 130, 77, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.review-quote-icon {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 120px;
    color: rgba(170, 130, 77, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.review-header {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.review-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px 0;
}

.review-company {
    font-size: 13px;
    font-weight: 500;
    color: #aa824d;
    display: block;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #a0a5b0;
    margin: 0;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

/* ============ МЕДИА (ФОТО И ВИДЕО) ============ */
.media-section {
    padding: 100px 20px;
    background: #111215;
    color: #ffffff;
    box-sizing: border-box;
}

.media-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.media-subtitle {
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: #a0a5b0;
    margin: -40px auto 60px;
    max-width: 600px;
}

.video-container {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.video-wrapper-box {
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    padding: 6px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(170,130,77,0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.video-wrapper-box video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
}

.gallery-redirect-block {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 60px;
}

.gallery-redirect-block h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

.btn-gallery {
    display: inline-block;
    background-color: #1f2126;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(170, 130, 77, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-gallery:hover {
    background-color: #aa824d;
    color: #ffffff;
    border-color: #aa824d;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(170, 130, 77, 0.25);
}

/* ============ ЗАКАЗАТЬ РАСЧЕТ ============ */
.order-section {
    padding: 100px 20px;
    background: #16171b;
    color: #ffffff;
    box-sizing: border-box;
}

.order-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

.order-subtitle {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #a0a5b0;
    margin: -40px auto 30px;
    max-width: 550px;
}

.email-notice {
    background: rgba(170, 130, 77, 0.05);
    border: 1px solid rgba(170, 130, 77, 0.2);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
}

.notice-badge {
    background: #aa824d;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.notice-text {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.order-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    background: #1f2126;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 120px;
    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: #25282f;
    border-color: #aa824d;
    box-shadow: 0 0 15px rgba(170, 130, 77, 0.15);
}

.hidden-field {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
}

.form-submit-box {
    text-align: center;
}

.btn-submit {
    display: inline-block;
    background: #aa824d;
    color: #ffffff;
    padding: 20px 65px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(170, 130, 77, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-submit:hover {
    background: #bc935c;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(170, 130, 77, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* ============ СООБЩЕНИЯ ФОРМЫ ============ */
.form-message {
    display: none;
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-message.success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.form-message.error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* ============ КОНТАКТЫ И ФУТЕР ============ */
.footer-section {
    padding: 100px 20px 40px;
    background: #111215;
    color: #ffffff;
    box-sizing: border-box;
}

.footer-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.contact-item {
    background: #1f2126;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(170, 130, 77, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.contact-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 50px;
    background: rgba(170, 130, 77, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #aa824d;
    box-shadow: 0 0 10px rgba(170, 130, 77, 0.8);
}

.contact-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aa824d;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-link,
.contact-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.contact-link:hover {
    color: #bc935c;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright,
.developer {
    font-size: 13px;
    color: #a0a5b0;
    margin: 0;
    font-weight: 300;
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */

/* Планшеты — до 992px */
@media (max-width: 992px) {
    .services-grid,
    .guarantee-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card,
    .guarantee-card,
    .review-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .guarantee-card h4 {
        min-height: auto;
    }

    .section-title {
        font-size: 30px;
    }

    .clients-seamless-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto 60px;
    }
}

/* Мобильные — до 768px */
@media (max-width: 768px) {
    /* Шапка */
    .top_nav {
        padding: 10px 0;
    }

    .top_nav .wrapper {
        justify-content: center;
        gap: 4px;
    }

    .top_nav__link-home {
        position: static;
        transform: none;
        margin: 0 8px 0 0;
        flex-shrink: 0;
        width: 50px;
        height: 18px;
    }

    .top_nav__link {
        padding: 5px 8px;
        font-size: 12px;
    }

    .top_nav__link-highlight {
        padding: 5px 12px !important;
        margin-left: 4px;
    }

    /* Главный экран */
    .hero-image-wrapper {
        padding-top: 110px;
    }

    .hero-img {
        max-height: 50vh;
    }

    .hero-dark-section {
        padding: 70px 20px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    .hero-stats-line {
        flex-direction: column;
        gap: 40px;
    }

    .stat-divider {
        display: none;
    }

    .stat-num-big {
        font-size: 58px;
    }

    /* Секции */
    .services-section,
    .clients-section,
    .reviews-section,
    .media-section,
    .order-section,
    .footer-section {
        padding: 70px 20px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 45px;
    }

    .media-subtitle,
    .order-subtitle {
        font-size: 15px;
        margin-top: -35px;
        margin-bottom: 40px;
    }

    /* Медиа */
    .video-wrapper-box {
        padding: 4px;
        border-radius: 14px;
    }

    .video-wrapper-box video {
        border-radius: 10px;
    }

    .gallery-redirect-block h3 {
        font-size: 22px;
    }

    .btn-gallery {
        padding: 14px 32px;
        font-size: 13px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Форма */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .form-group input,
    .form-group textarea {
        padding: 16px 20px;
    }

    .email-notice {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 20px;
    }

    .btn-submit {
        width: 100%;
        padding: 18px 20px;
        font-size: 15px;
    }

    /* Футер */
    .contact-item {
        padding: 20px;
    }

    .contact-link,
    .contact-text {
        font-size: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Маленькие мобильные — до 576px */
@media (max-width: 576px) {
    .clients-seamless-grid {
        grid-template-columns: 1fr;
    }

    .seamless-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .seamless-item:last-child {
        border-bottom: none;
    }
}

/* Очень маленькие — до 480px */
@media (max-width: 480px) {
    .top_nav__link {
        font-size: 11px;
        padding: 4px 6px;
    }

    .top_nav__link-highlight {
        padding: 4px 8px !important;
        font-size: 11px;
    }

    .top_nav__link-home {
        width: 42px;
        height: 16px;
        margin-right: 4px;
    }

    .hero-image-wrapper {
        padding-top: 120px;
    }

    .hero-img {
        max-height: 40vh;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .stat-num-big {
        font-size: 48px;
    }

    .stat-text-bottom {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .section-title {
        font-size: 22px;
    }

    .service-info,
    .guarantee-card,
    .review-card {
        padding: 25px 20px;
    }

    .review-quote-icon {
        font-size: 90px;
        top: -5px;
    }
}