html { background-color: #121a17; scroll-behavior: smooth; scroll-padding-top: 90px; }

/* ===== FONTS (свои файлы в /fonts, наборы cyrillic + latin; Inter — вариативный 300–600) ===== */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('/fonts/inter-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/playfair-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/playfair-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
    --bg-color: #121a17;
    --text-color: #fdfbf7;
    --muted: #b3b3b3;
    --accent-color: #e3ca97;
    --accent-glow: rgba(227, 202, 151, 0.4);
    --accent-line: rgba(227, 202, 151, 0.15);
    --card-bg: #1a2521;
    --white-glow: rgba(255,255,255,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { overflow-x: clip; }

body {
    font-family: 'Inter', sans-serif;
    background-color: transparent;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    font-weight: 700;
}

a { color: inherit; }

/* Иконки из спрайта img/icons.svg (функция icon() в inc/helpers.php) */
.ic {
    display: inline-block;
    line-height: 1;
    vertical-align: -0.125em;
}

.icon {
    display: block;
    height: 1em;
    margin: 0 auto;
    fill: currentColor;
}

section {
    padding: 90px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-lead {
    text-align: center;
    color: #cccccc;
    font-size: 1.1rem;
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-note {
    text-align: center;
    color: var(--muted);
    max-width: 760px;
    margin: 30px auto 0;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

.card-list {
    list-style: none;
    margin-top: 15px;
}

.card-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
}

.card-list li::before {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.65em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
}

/* ===== PAGE BACKGROUND ===== */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.page-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.2) saturate(0.6);
}

/* ===== ФОТО В ФОРМЕ ЗАЯВКИ ===== */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.file-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px dashed var(--accent-line);
    border-radius: 12px;
    color: var(--accent-color);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.file-btn span { color: var(--muted); }
.file-btn:hover { border-color: var(--accent-color); background: rgba(227,202,151,0.06); }
.file-btn.disabled { opacity: 0.45; pointer-events: none; }

.file-list { display: flex; flex-wrap: wrap; gap: 10px; }
.file-list:not(:empty) { margin-top: 12px; }
.file-item { position: relative; width: 64px; height: 64px; }
.file-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid var(--accent-line); }
.file-del {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #121a17;
    color: var(--accent-color);
    font-size: 16px;
    line-height: 22px;
    cursor: pointer;
    box-shadow: 0 0 0 1px var(--accent-line);
}
.file-hint { margin-top: 6px; font-size: 0.8rem; color: var(--muted); text-align: center; }
.file-hint.error { color: #ff8a7a; }
.submit-btn:disabled { opacity: 0.6; cursor: wait; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 8px 40px;
    background: rgba(18,26,23,0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav .logo img {
    display: block;
    width: 64px;
    height: 64px;
    transform: scale(1.35);
}

.nav-links { display: flex; gap: 30px; }

.nav-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover { color: #fff; }

.burger {
    display: none;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.8rem;
    cursor: pointer;
}

.nav-links-social { display: none; }

.nav-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-contacts a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    color: var(--accent-color);
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.3s;
}

.nav-contacts a:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 8px var(--accent-glow));
}

/* ===== HERO ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 50px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 110px 30px 40px;
    min-height: 88vh;
}

.hero h1 {
    font-size: 2.9rem;
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero-slogan {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 6px;
}

.hero-slogan span { color: var(--accent-color); }

.hero-desc {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 25px;
}

.hero-facts {
    list-style: none;
    margin-bottom: 25px;
}

.hero-facts li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #dddddd;
    margin-bottom: 8px;
}

.hero-facts i {
    width: 20px;
    text-align: center;
    color: var(--accent-color);
}

.hero-price {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.hero-price strong {
    color: var(--accent-color);
    font-size: 2rem;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, #e3ca97, #f5e6c5);
    color: #121a17;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(227,202,151,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(227,202,151,0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 16px 36px;
    background: transparent;
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--accent-color);
    transition: 0.3s;
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: #121a17;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* ===== HERO GALLERY ===== */
.hero-gallery { min-width: 0; }

.gallery-container {
    position: relative;
    height: min(62vh, 560px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.6),
        0 0 40px rgba(227,202,151,0.08);
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide.active img { transform: scale(1); }

.caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    background: rgba(0,0,0,0.55);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(227,202,151,0.4);
    color: var(--accent-color);
    font-size: 2rem;
    line-height: 1;
    padding: 8px 16px 12px;
    cursor: pointer;
    border-radius: 50px;
    z-index: 5;
}

.gallery-arrow.left { left: 15px; }
.gallery-arrow.right { right: 15px; }

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumbs button {
    flex: 0 0 auto;
    width: 76px;
    height: 56px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: none;
    cursor: pointer;
    opacity: 0.55;
    transition: 0.3s;
}

.gallery-thumbs button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumbs button:hover { opacity: 0.85; }

.gallery-thumbs button.active {
    opacity: 1;
    border-color: var(--accent-color);
}

/* ===== USP STRIP ===== */
.usp-strip {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.usp {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(26,37,33,0.8);
    border: 1px solid var(--accent-line);
    border-radius: 15px;
}

.usp i {
    font-size: 1.6rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.usp span {
    font-size: 0.85rem;
    color: var(--muted);
}

.usp b {
    display: block;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.work {
    background: var(--card-bg);
    border: 1px solid rgba(227, 202, 151, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.work:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(227,202,151,0.2);
}

.work-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: none;
    background: none;
    cursor: zoom-in;
    overflow: hidden;
}

.work-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.work:hover .work-img img { transform: scale(1.05); }

.work figcaption {
    padding: 15px 18px 18px;
}

.work figcaption strong {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
}

.work figcaption span {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    margin: auto;
    max-width: 92vw;
    max-height: 92vh;
    padding: 0;
    border: none;
    border-radius: 15px;
    background: #0b120f;
    color: var(--text-color);
    overflow: hidden;
}

.lightbox::backdrop {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}

.lightbox img {
    display: block;
    max-width: 92vw;
    max-height: calc(92vh - 50px);
    object-fit: contain;
}

.lightbox p {
    padding: 12px 20px;
    color: var(--accent-color);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--accent-glow);
    background: rgba(0,0,0,0.6);
    color: var(--accent-color);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

/* ===== USE CASES ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.case {
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid rgba(227, 202, 151, 0.1);
    border-radius: 20px;
    transition: 0.3s;
}

.case:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px var(--accent-glow);
}

.case i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.case h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.case p {
    font-size: 0.92rem;
    color: var(--muted);
}

/* ===== SERVICES ===== */
#services .section-title { margin-bottom: 50px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(227, 202, 151, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 0 25px var(--white-glow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--accent-glow), 0 0 35px rgba(255,255,255,0.12);
    border-color: var(--accent-color);
}

.service-img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 2px solid var(--accent-color);
}

.service-content { padding: 30px; }

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-content p,
.service-content li {
    font-size: 0.92rem;
    color: var(--muted);
}

/* ===== SURFACES ===== */
.surface-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.surface-list li {
    padding: 12px 24px;
    border: 1px solid var(--accent-glow);
    border-radius: 50px;
    background: rgba(26,37,33,0.8);
    color: var(--accent-color);
    font-weight: 500;
}

/* ===== HOW IT WORKS ===== */
#how-it-works .section-title { margin-bottom: 50px; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step {
    background: var(--card-bg);
    border: 1px solid rgba(227, 202, 151, 0.1);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: 0.3s;
}

.step:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px var(--accent-glow);
}

.step-num {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
    opacity: 0.5;
    margin-bottom: 15px;
    line-height: 1;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.step p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ===== PRICE ===== */
#price .section-title { margin-bottom: 50px; }

.price-box {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 30px;
    background: linear-gradient(145deg, #1a2521, #121a17);
    border: 1px solid var(--accent-line);
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.price-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid var(--accent-line);
    padding-right: 30px;
}

.price-from { color: var(--muted); font-size: 1.2rem; }

.price-value {
    font-family: 'Playfair Display', serif;
    font-size: 3.6rem;
    color: var(--accent-color);
    line-height: 1.1;
}

.price-unit {
    color: var(--muted);
    margin-bottom: 25px;
}

.price-details h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.price-details li { color: #dddddd; }

.price-details p {
    margin-top: 15px;
    color: var(--muted);
}

/* ===== ADVANTAGES ===== */
#advantages .section-title { margin-bottom: 50px; }

.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.adv-item {
    padding: 30px;
    background: linear-gradient(145deg, #1a2521, #121a17);
    border-radius: 20px;
    transition: 0.3s;
    box-shadow: 0 0 20px var(--white-glow);
}

.adv-item:hover {
    box-shadow: inset 0 0 20px var(--accent-glow), 0 0 25px rgba(255,255,255,0.1);
}

.adv-icon {
    font-size: 2.6rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--accent-glow);
}

.adv-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.adv-item p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* ===== SEO TEXT ===== */
#about-printing .section-title { margin-bottom: 40px; }

.seo-text {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
    max-height: 330px;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.seo-text::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(transparent, #0f1513);
    pointer-events: none;
}

.seo-text.open { max-height: 3000px; }
.seo-text.open::after { display: none; }

.seo-text h3 {
    font-size: 1.35rem;
    margin: 25px 0 10px;
}

.seo-text h3:first-child { margin-top: 0; }

.seo-text p {
    color: #cccccc;
    margin-bottom: 12px;
}

.seo-toggle {
    display: block;
    margin: 20px auto 0;
    padding: 12px 30px;
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
}

.seo-toggle:hover {
    background: var(--accent-color);
    color: #121a17;
}

/* ===== FAQ ===== */
#faq .section-title { margin-bottom: 50px; }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid rgba(227, 202, 151, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item[open] { border-color: rgba(227, 202, 151, 0.4); }

.faq-q {
    padding: 22px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent-color);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-q::-webkit-details-marker { display: none; }

.faq-q::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.7;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item[open] .faq-q::after { transform: rotate(45deg); }

.faq-a {
    padding: 0 28px 22px;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== ORDER ===== */
.order-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.order-form,
.contact-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #1a2521, #121a17);
    padding: 50px;
    border-radius: 25px;
    border: 1px solid var(--accent-line);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.5),
        inset 0 0 20px rgba(255,255,255,0.03);
}

.contact-box { text-align: center; }
.contact-box p { color: var(--accent-color); }

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 18px 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow:
        0 0 10px var(--accent-glow),
        inset 0 0 10px rgba(227,202,151,0.1);
}

.input-group input::placeholder,
.input-group textarea::placeholder { color: #777; }

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #e3ca97, #f5e6c5);
    color: #121a17;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(227,202,151,0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 40px rgba(227,202,151,0.5),
        0 0 20px var(--accent-glow);
}

.phone {
    display: block;
    font-size: 2rem;
    color: var(--accent-color);
    text-decoration: none;
    margin: 15px 0;
}

.contact-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.call-btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--accent-color);
    color: #121a17;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
}

.tg-btn {
    background: #229ed9;
    color: #fff;
}

.tg-btn:hover { background: #1b87bb; }

/* <picture> не должен влиять на раскладку — стили задаются самому <img> */
picture { display: contents; }

.price-hint {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 20px 0 8px;
    letter-spacing: 0.5px;
}

/* ===== SOCIALS / FOOTER ===== */
.socials-block {
    margin-top: 40px;
    text-align: center;
}

.socials-block h3 { margin-bottom: 20px; }

.socials {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.social-link {
    color: var(--accent-color);
    font-size: 3rem;
    transition: 0.3s;
}

.social-link:hover {
    color: #fff;
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

footer {
    text-align: center;
    padding: 30px 20px 40px;
    background-color: #0b120f;
    color: #777;
    font-size: 0.9rem;
}

footer p { margin-bottom: 6px; }
footer strong { color: var(--accent-color); }
footer a { text-decoration: none; color: #aaa; }
.footer-cities { color: #666; }
.footer-legal { color: #666; font-size: 0.8rem; margin-top: 10px; }

.floating-call {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    background: var(--accent-color);
    color: #121a17;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ===== POPUP ===== */
.popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: linear-gradient(145deg, #1a2521, #121a17);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(227,202,151,0.2);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.7),
        0 0 25px rgba(227,202,151,0.2);
    animation: popupFade 0.3s ease;
}

.popup-content p {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.popup button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #e3ca97, #f5e6c5);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.popup button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--accent-glow);
}

@keyframes popupFade {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ===== WHITE INK (белая подложка) ===== */
.ink-demo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto 40px;
}

.ink-demo figure {
    margin: 0;
    text-align: center;
}

/* Иллюстрации img/ink-*.jpg: стена перекрашена, рисунок с белой подложкой и без */
.ink-wall {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.ink-wall img {
    display: block;
    width: 100%;
    height: auto;
}

.ink-demo figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.95rem;
}

.ink-demo figcaption strong {
    display: block;
    color: var(--accent-color);
    font-size: 1.05rem;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.compare-card {
    padding: 30px;
    background: var(--card-bg);
    border: 1px solid rgba(227, 202, 151, 0.1);
    border-radius: 20px;
}

.compare-card.ours {
    border-color: var(--accent-color);
    box-shadow: 0 0 25px var(--accent-glow);
}

.compare-card h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.compare-card:not(.ours) h3 { color: #999; }
.compare-card:not(.ours) .card-list li { color: var(--muted); }
.compare-card:not(.ours) .card-list li::before { background: #555; }
.compare-card.ours .card-list li { color: #dddddd; }

.ink-note {
    max-width: 760px;
    margin: 30px auto 0;
    text-align: center;
    color: #cccccc;
}

/* ===== LANDING PAGES ===== */
.page-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 30px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.page-hero h1 {
    font-size: 2.6rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.page-hero .hero-desc { margin-bottom: 20px; }

.page-hero-img img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.breadcrumbs a { color: var(--accent-color); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.text-block {
    max-width: 860px;
    margin: 0 auto;
}

.text-block h2 {
    font-size: 1.7rem;
    margin: 40px 0 15px;
}

.text-block h2:first-child { margin-top: 0; }

.text-block p {
    color: #cccccc;
    margin-bottom: 15px;
}

.text-block .card-list li { color: #dddddd; }

.text-block a { color: var(--accent-color); }

.case-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
}

.case-link:hover { text-decoration: underline; }

.related-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.related-links a {
    padding: 12px 24px;
    border: 1px solid var(--accent-glow);
    border-radius: 50px;
    background: rgba(26,37,33,0.8);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.related-links a:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Калькулятор на странице цен */
.calc {
    max-width: 640px;
    margin: 0 auto;
    padding: 35px;
    background: linear-gradient(145deg, #1a2521, #121a17);
    border: 1px solid var(--accent-line);
    border-radius: 25px;
}

.calc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.calc label {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.stepper {
    display: flex;
    margin-top: 6px;
    background: rgba(18,26,23,0.9);
    border: 1px solid var(--accent-line);
    border-radius: 12px;
    overflow: hidden;
}

.stepper:focus-within { border-color: var(--accent-color); }

.calc-field { min-width: 0; }

.calc input {
    flex: 1;
    width: 0;
    min-width: 0;
    padding: 14px 4px;
    background: none;
    border: 0;
    color: var(--text-color);
    font: inherit;
    font-size: 1.1rem;
    text-align: center;
}

.calc input:focus { outline: none; }

.step-btn {
    flex: none;
    width: 48px;
    background: rgba(227,202,151,0.08);
    border: 0;
    color: var(--accent-color);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background 0.2s;
}

.step-btn:hover { background: rgba(227,202,151,0.18); }
.step-btn:active { background: rgba(227,202,151,0.3); }
.step-btn:focus-visible { outline: 2px solid var(--accent-color); outline-offset: -2px; }

.calc-result {
    text-align: center;
    color: #cccccc;
}

.calc-result strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: var(--accent-color);
    line-height: 1.2;
}

.calc-hint {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-bottom: 14px;
}

.footer-links a { color: var(--accent-color); }

/* ===== RESPONSIVE ===== */

.nav-links a { white-space: nowrap; }

/* Меню из 7 пунктов не помещается в строку — сворачиваем в бургер раньше, чем остальную вёрстку */
@media (max-width: 1150px) {
    .nav { justify-content: flex-start; }
    .burger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    .nav-contacts { margin-left: auto; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(18,26,23,0.97);
        border-bottom: 1px solid var(--accent-line);
    }
    .nav-links.active { display: flex; }
    .nav-links a {
        padding: 14px 20px;
        border-top: 1px solid rgba(227,202,151,0.08);
    }
}

/* tablets */
@media (max-width: 1024px) {
    .nav { padding: 8px 20px; }
    .nav-links { gap: 20px; }
    .hero {
        grid-template-columns: 1fr;
        gap: 30px;
        min-height: 0;
        padding-top: 100px;
    }
    .hero h1 { font-size: 2.4rem; }
    .gallery-container { height: 460px; }
    .usp-strip { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 2.1rem; }
    .page-hero { grid-template-columns: 1fr; gap: 30px; padding-top: 100px; }
    .page-hero h1 { font-size: 2.2rem; }
}

/* mobile */
@media (max-width: 768px) {
    .nav { padding: 6px 12px; gap: 10px; justify-content: flex-start; }
    .burger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    .nav-contacts { margin-left: auto; gap: 8px; }
    .nav-contacts a { font-size: 1.3rem; }
    .nav-links-social {
        display: flex;
        justify-content: center;
        gap: 30px;
        padding: 14px 20px;
        border-top: 1px solid rgba(227,202,151,0.08);
    }
    .nav-links-social a {
        padding: 0;
        border-top: none;
        font-size: 1.5rem;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(18,26,23,0.97);
        border-bottom: 1px solid var(--accent-line);
    }
    .nav-links.active { display: flex; }
    .nav-links a {
        padding: 14px 20px;
        border-top: 1px solid rgba(227,202,151,0.08);
    }
    .nav .logo img { width: 48px; height: 48px; }

    section { padding: 60px 15px; }
    .section-title { font-size: 1.8rem; letter-spacing: 1px; }
    .section-lead { font-size: 1rem; margin-bottom: 35px; }

    /* Первый экран: заголовок → работы → кнопки */
    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 80px 15px 30px;
    }
    .hero-content { display: contents; }
    .hero h1 { order: 1; font-size: 1.75rem; margin-bottom: 10px; text-align: center; }
    .hero-slogan { order: 2; font-size: 1.2rem; text-align: center; }
    .hero-desc { order: 3; font-size: 1rem; margin-bottom: 15px; text-align: center; }
    .hero-gallery { order: 4; width: 100%; margin-bottom: 20px; }
    .hero-price { order: 5; margin-bottom: 15px; text-align: center; }
    .hero-cta { order: 6; flex-direction: column; align-items: stretch; }
    .hero-facts { order: 7; margin: 20px 0 0; font-size: 0.95rem; }
    .btn-primary, .btn-secondary { text-align: center; }

    .gallery-container { height: 280px; border-radius: 15px; }
    .gallery-thumbs button { width: 60px; height: 44px; }
    .caption { font-size: 0.85rem; padding: 6px 14px; bottom: 12px; }
    .gallery-arrow { font-size: 1.5rem; padding: 6px 12px 9px; }

    .usp-strip { padding: 0 15px; gap: 12px; }
    .usp { padding: 15px; }

    .cases-grid { grid-template-columns: 1fr; }
    .steps-grid { gap: 15px; }
    .step { padding: 25px 15px; }
    .step-num { font-size: 2.5rem; }

    .price-box { grid-template-columns: 1fr; padding: 30px 20px; }
    .price-main { border-right: none; padding-right: 0; border-bottom: 1px solid var(--accent-line); padding-bottom: 30px; }
    .price-value { font-size: 2.8rem; }

    .faq-q { padding: 18px 20px; font-size: 0.95rem; }
    .faq-a { padding: 0 20px 18px; }

    .order-wrapper { grid-template-columns: 1fr; gap: 20px; }
    .order-form, .contact-box { padding: 25px; }
    .phone { font-size: 1.5rem; }

    .ink-demo, .compare-grid { grid-template-columns: 1fr; gap: 20px; }
    .compare-card { padding: 25px 20px; }

    .page-hero { padding: 85px 15px 20px; }
    .page-hero h1 { font-size: 1.75rem; }
    .page-hero-img img { max-height: 320px; }
    .text-block h2 { font-size: 1.4rem; }
    .calc { padding: 25px 20px; }
    .calc-fields { grid-template-columns: 1fr 1fr; gap: 10px; }
    .step-btn { width: 40px; }

    .floating-call {
        width: 90%;
        left: 5%;
        right: auto;
        text-align: center;
    }
}

/* small mobile */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .nav-contacts { gap: 4px; }
    .nav-contacts a { font-size: 1.2rem; }
    .gallery-container { height: 250px; }
    .usp-strip { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .work figcaption { padding: 10px 12px 12px; }
    .work figcaption span { display: none; }
    .work figcaption strong { font-size: 0.85rem; }
    .adv-grid { grid-template-columns: 1fr; }
}
