/* ТюменьПринт — tyumenprint.com */

@font-face {
    font-family: 'Golos Text';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/golos-cyr.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Golos Text';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/golos-lat.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+2000-206F, U+2212;
}

:root {
    --ink: #212832;
    --text: #3a4350;
    --muted: #717c8a;
    --line: #e4e8ed;
    --bg-soft: #f5f7f9;
    --bg-warm: #f9f8f4;
    --accent: #2350d6;
    --accent-dark: #1c40ad;
    --accent-soft: #e9eefc;
    --cyan: #00b3e3;
    --magenta: #e6007e;
    --yellow: #ffcf00;
    --radius: 10px;
    --shadow: 0 10px 30px -12px rgba(33, 40, 50, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 600; }
h1 { font-size: 2.35rem; letter-spacing: -.02em; }
h2 { font-size: 1.7rem; letter-spacing: -.01em; margin-bottom: 22px; }
h3 { font-size: 1.15rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

ul, ol { padding-left: 1.3em; margin-bottom: 1em; }
li { margin-bottom: .35em; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: #fff; padding: 8px 16px; z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--ink);
    color: #c6cdd6;
    font-size: .82rem;
}
.topbar-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 16px; min-height: 34px; flex-wrap: wrap;
}
.topbar a { color: #dfe4ea; }
.topbar a:hover { color: #fff; }
.topbar-contacts { display: flex; gap: 18px; }
.topbar-phone { font-weight: 600; }

/* ---------- Header ---------- */
.header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex; align-items: center; gap: 28px;
    min-height: 66px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    color: var(--ink); font-size: 1.25rem; letter-spacing: -.01em;
    flex-shrink: 0;
}
.logo:hover { color: var(--ink); }
.logo-mark { color: var(--ink); display: block; }
.logo-text b { font-weight: 700; color: var(--accent); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 13px; border-radius: 8px;
    color: var(--ink); font-size: .95rem; font-weight: 500;
}
.nav-link:hover { background: var(--bg-soft); color: var(--ink); }
.nav-caret { opacity: .5; }

.nav-drop { position: relative; }
.drop {
    position: absolute; top: 100%; left: 0; min-width: 300px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 8px;
    display: none; flex-direction: column;
}
.nav-drop:hover .drop, .nav-drop:focus-within .drop { display: flex; }
.drop a {
    padding: 9px 14px; border-radius: 7px;
    color: var(--text); font-size: .93rem;
}
.drop a:hover { background: var(--accent-soft); color: var(--accent-dark); }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { color: var(--ink); font-weight: 600; font-size: .98rem; white-space: nowrap; }
.header-phone:hover { color: var(--accent); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span {
    display: block; width: 22px; height: 2px; background: var(--ink);
    margin: 5px 0; transition: .2s;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 26px; border-radius: 9px;
    font-family: inherit; font-size: 1rem; font-weight: 500;
    border: 0; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
    text-align: center;
}
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline {
    background: transparent; color: var(--ink);
    border: 1.5px solid #c9d1da;
}
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--yellow); color: var(--ink); }
.btn-tg { background: #2aabee; color: #fff; }
.btn-tg:hover { background: #1e96d6; color: #fff; }
.btn-outline-light {
    background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45);
}
.btn-outline-light:hover { border-color: #fff; color: #fff; }

/* ---------- Crumbs ---------- */
.crumbs { padding: 14px 0 0; font-size: .85rem; color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: '·'; margin-right: 6px; color: #b6bfc9; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }
.section-lead { max-width: 760px; color: var(--muted); margin-bottom: 34px; }

/* ---------- Hero ---------- */
.hero { padding: 60px 0 64px; }
.hero-grid {
    display: grid; grid-template-columns: 1.1fr .9fr;
    gap: 48px; align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero-sub { font-size: 1.13rem; color: var(--text); max-width: 560px; margin-bottom: 26px; }
.hero-sub b { color: var(--ink); }
mark {
    background: linear-gradient(transparent 62%, #ffe089 62%);
    color: inherit; padding: 0 2px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.hero-points li {
    margin: 0; padding: 7px 14px;
    background: var(--bg-soft); border-radius: 999px;
    font-size: .88rem; color: var(--ink);
}
.hero-media { position: relative; }
.hero-media::before {
    content: ''; position: absolute; inset: 18px -18px -18px 18px;
    border: 2px solid var(--accent-soft); border-radius: var(--radius);
    z-index: -1;
}

/* ---------- Placeholder images ---------- */
.ph {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    overflow: hidden;
    background: var(--bg-soft);
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; color: var(--text);
    transition: box-shadow .18s, transform .18s, border-color .18s;
}
.card:hover {
    box-shadow: var(--shadow); transform: translateY(-3px);
    border-color: #cfd8e3; color: var(--text);
}
.card-img { aspect-ratio: 16 / 10; background: var(--bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 22px; }
.card h3 { margin-bottom: 8px; }
.card:hover h3 { color: var(--accent-dark); }
.card p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Feature list ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.feature-num {
    display: inline-flex; width: 34px; height: 34px;
    align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent-dark);
    border-radius: 8px; font-weight: 600; margin-bottom: 14px;
}
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    display: block; font-size: 1.5rem; font-weight: 700; color: var(--accent);
    margin-bottom: 10px; letter-spacing: -.02em;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: .89rem; color: var(--muted); margin: 0; }

/* ---------- Two-column text with media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split h2 { margin-bottom: 16px; }
.split ul { margin-top: 10px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .94rem; background: #fff; }
.tbl th, .tbl td { padding: 12px 16px; text-align: left; border: 1px solid var(--line); }
.tbl th { background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.tbl tr:hover td { background: #fafbfc; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.faq-item summary {
    cursor: pointer; list-style: none; padding: 16px 48px 16px 20px;
    font-weight: 500; color: var(--ink); position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: ''; position: absolute; right: 20px; top: 50%;
    width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
    transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item[open] summary { color: var(--accent-dark); }
.faq-body { padding: 0 20px 18px; font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--ink); color: #fff;
    padding: 52px 0;
    position: relative; overflow: hidden;
}
.cta-band::after {
    content: ''; position: absolute; right: -60px; top: -60px;
    width: 240px; height: 240px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(0,179,227,.35), transparent 60%),
                radial-gradient(circle at 65% 45%, rgba(230,0,126,.3), transparent 60%),
                radial-gradient(circle at 50% 70%, rgba(255,207,0,.3), transparent 60%);
    filter: blur(2px);
}
.cta-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 32px; position: relative; z-index: 1;
}
.cta-title { color: #fff; margin-bottom: 8px; }
.cta-sub { color: #b9c2cd; margin: 0; max-width: 520px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- Article / text pages ---------- */
.article { max-width: 780px; }
.article h2 { margin-top: 40px; }
.article h3 { margin-top: 26px; margin-bottom: 10px; }
.article .ph { margin: 26px 0; }
.article-meta { color: var(--muted); font-size: .88rem; margin-bottom: 26px; }
.note {
    padding: 18px 22px; border-left: 3px solid var(--accent);
    background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0;
    font-size: .95rem; margin: 22px 0;
}

/* ---------- Forms ---------- */
.lead-form {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; max-width: 560px;
}
.lead-form h3 { margin-bottom: 6px; }
.form-note { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid #ccd4de; border-radius: 8px;
    font-family: inherit; font-size: .98rem; color: var(--ink);
    background: #fff;
}
.field input:focus, .field textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 96px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.consent input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { font-size: .92rem; margin-top: 12px; }
.form-status.ok { color: #16794c; }
.form-status.err { color: #c02929; }

/* ---------- Contacts ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 18px; padding-left: 0; }
.contact-list .cl-label { display: block; font-size: .84rem; color: var(--muted); }
.contact-list a { font-size: 1.15rem; font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #aab4c0; font-size: .9rem; padding: 48px 0 0; margin-top: 0; }
.footer a { color: #cdd5de; display: block; margin-bottom: 9px; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.footer-about p { font-size: .88rem; }
.logo-footer { color: #fff; font-size: 1.2rem; margin-bottom: 14px; display: inline-block; }
.logo-footer .logo-text b { color: #7c96f0; }
.footer-head { color: #fff; font-weight: 600; margin-bottom: 14px; }
.footer-hours { font-size: .85rem; color: #8994a2; }
.footer-legal-req { font-size: .8rem; color: #8994a2; }
.req-placeholder { color: #67707c; }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding-top: 22px; padding-bottom: 24px;
    border-top: 1px solid #333c48; font-size: .82rem; color: #8994a2;
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { display: inline; margin: 0; color: #8994a2; }
.footer-bottom-links a:hover { color: #fff; }

/* ---------- Blog list ---------- */
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card {
    padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--text); transition: box-shadow .18s, border-color .18s;
}
.post-card:hover { box-shadow: var(--shadow); border-color: #cfd8e3; color: var(--text); }
.post-card h3 { margin-bottom: 10px; }
.post-card:hover h3 { color: var(--accent-dark); }
.post-card p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Misc ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.tag {
    padding: 6px 14px; background: #fff; border: 1px solid var(--line);
    border-radius: 999px; font-size: .87rem; color: var(--ink);
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat-num { font-size: 2.1rem; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }
.stat-label { font-size: .88rem; color: var(--muted); }

/* ---------- Cookie note ---------- */
.cookie-note {
    position: fixed; left: 20px; bottom: 20px; z-index: 150;
    max-width: 420px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 18px;
    display: none;
    align-items: flex-start; gap: 14px;
}
.cookie-note.show { display: flex; }
.cookie-note p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.cookie-note .btn { flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.45rem; }
    .hero { padding: 40px 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .cards, .features { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; gap: 26px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .contact-grid { grid-template-columns: 1fr; }
    .header-phone { display: none; }
    .header-inner { gap: 12px; justify-content: space-between; }
    .header-actions { gap: 10px; }
    .hero-media::before { display: none; }

    .nav {
        display: none;
        position: fixed; inset: 100px 0 0 0;
        background: #fff; z-index: 99;
        flex-direction: column; gap: 2px;
        padding: 20px 22px; overflow-y: auto;
    }
    .nav.open { display: flex; }
    .nav-link { font-size: 1.05rem; padding: 12px 10px; }
    .drop {
        position: static; display: flex; box-shadow: none; border: 0;
        padding: 0 0 6px 18px; min-width: 0;
    }
    .nav-caret { display: none; }
    .burger { display: block; }
    .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .burger.open span:nth-child(2) { opacity: 0; }
    .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .section { padding: 40px 0; }
    .logo { font-size: 1.12rem; gap: 8px; }
    .logo-mark svg { width: 28px; height: 28px; }
    .btn-sm { padding: 8px 13px; font-size: .85rem; }
    .burger { padding: 6px 0 6px 4px; }
    .cards, .features, .steps, .post-list { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .topbar-note { display: none; }
    .topbar-inner { justify-content: center; }
    .cookie-note { left: 12px; right: 12px; bottom: 12px; max-width: none; flex-direction: column; gap: 10px; }
    .hero-actions .btn { width: 100%; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { flex: 1 1 100%; }
}
