:root {
    --ink: #0e1114;
    --ink-2: #1b2228;
    --ink-3: #2a333c;
    --paper: #f6f1e8;
    --paper-2: #fffdf8;
    --line: #d8d0c4;
    --muted: #5c6570;
    --rust: #c45c26;
    --rust-2: #a4481b;
    --copper: #e07a3d;
    --wa: #1f8b4d;
    --wa-2: #176b3b;
    --white: #fff;
    --shadow: 0 18px 40px rgba(14, 17, 20, 0.14);
    --radius: 14px;
    --header: 92px;
    --font: "IBM Plex Sans", "Segoe UI", sans-serif;
    --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--paper-2);
    line-height: 1.65;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust-2); text-decoration: none; }
a:hover { color: var(--rust); }
h1, h2, h3, h4 {
    font-family: var(--display);
    line-height: 1.08;
    letter-spacing: 0.02em;
    margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; text-transform: uppercase; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.skip-link {
    position: absolute; left: -999px; top: 8px; background: var(--rust); color: #fff; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
    position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.header-top { background: #080a0c; font-size: 0.82rem; }
.header-top-inner { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; color: #c9c3ba; }
.header-phones { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.header-phones a, .header-top a { color: #efe8dc; }
.header-phones .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--rust); display: inline-block; }
.header-main { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.logo:hover { color: #fff; }
.logo-mark {
    width: 42px; height: 42px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--rust), #8a3514);
    font-family: var(--display); font-weight: 800; letter-spacing: 0.04em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.08em; text-transform: uppercase; }
.logo-text em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--copper); }
.logo-light { color: #fff; }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
    color: #efe8dc; background: none; border: 0; font: 600 0.95rem var(--font);
    padding: 10px 12px; cursor: pointer; display: inline-flex; align-items: center;
}
.nav-link:hover, .nav-link.is-active, .nav-drop.is-active > .nav-link { color: var(--copper); }
.nav-drop { position: relative; }
.nav-drop-menu {
    display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
    background: #14191e; border: 1px solid #2c353e; padding: 8px; box-shadow: var(--shadow);
}
.nav-drop-menu a { display: block; color: #efe8dc; padding: 9px 12px; }
.nav-drop-menu a:hover { background: #1f272e; color: var(--copper); }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu, .nav-drop.is-open .nav-drop-menu { display: block; }
.nav-toggle { display: none; width: 42px; height: 42px; background: transparent; border: 1px solid #3a444e; margin-left: auto; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 8px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 18px; border-radius: 8px; font-weight: 700;
    letter-spacing: 0.02em; border: 0; cursor: pointer; text-decoration: none;
}
.btn:hover { filter: brightness(1.06); }
.btn-phone { background: var(--rust); color: #fff; }
.btn-phone:hover { color: #fff; background: var(--rust-2); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; background: var(--wa-2); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-ico { display: inline-flex; }
.header-cta { flex-shrink: 0; }

.hero {
    position: relative; color: #fff; overflow: hidden;
    background: var(--ink);
    min-height: min(78vh, 760px);
    display: grid;
    align-items: stretch;
}
.hero-photo {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 42%;
}
.hero-overlay {
    position: relative; z-index: 1;
    display: flex; align-items: center;
    background: linear-gradient(90deg, rgba(8,10,12,.88) 0%, rgba(8,10,12,.5) 55%, rgba(8,10,12,.28) 100%);
}
.hero-inner { padding: 72px 0 88px; max-width: 760px; }
.photo-banner,
.photo-tile,
.article-photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: #0e1114;
}
.page-hero + .photo-banner { margin-top: 20px; }
.photo-banner {
    width: min(1180px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
    border-radius: 16px;
}
.photo-banner img {
    width: 100%; height: 400px;
    object-fit: cover; object-position: center;
    display: block;
}
.photo-banner figcaption,
.photo-tile figcaption,
.article-photo figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 12px 16px 10px;
    background: linear-gradient(transparent, rgba(8,10,12,.78));
    color: #efe8dc;
    font-size: 0.88rem;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.photo-tile {
    margin: 0;
    border-radius: 12px;
    aspect-ratio: 5 / 4;
}
.photo-tile img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
}
.article-photo {
    margin: 0 0 1.35em;
    border-radius: 12px;
}
.article-photo img {
    width: 100%; height: 300px;
    object-fit: cover; object-position: center;
    display: block;
}
.eyebrow {
    display: inline-block; font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--copper); font-weight: 700; margin-bottom: 14px;
}
.hero h1 { margin-bottom: 16px; }
.hero p { font-size: 1.12rem; color: #ddd6cb; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-stats {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
    margin-top: 42px; max-width: 760px;
}
.hero-stats a, .hero-stats div { border-top: 2px solid var(--rust); padding-top: 10px; color: #fff; }
.hero-stats a:hover { color: var(--copper); }
.hero-stats strong { display: block; font-family: var(--display); font-size: 1.35rem; letter-spacing: 0.04em; }
.hero-stats span { color: #b7b0a6; font-size: 0.85rem; }

.section { padding: 72px 0; }
.section:has(.article-wrap) { padding-top: 16px; padding-bottom: 0; }
.section-head { margin-bottom: 28px; max-width: 680px; }
.kicker { color: var(--rust); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.78rem; margin-bottom: 8px; }
.muted { color: var(--muted); }

.cards-4, .cards-3 { display: grid; gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
    background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; box-shadow: 0 10px 24px rgba(14,17,20,.04); height: 100%;
    display: flex; flex-direction: column; gap: 8px;
}
.card h3 { font-size: 1.45rem; margin: 0; }
.card p { color: var(--muted); flex: 1; }
.card-ico {
    width: 48px; height: 48px; display: grid; place-items: center;
    background: var(--ink); color: var(--copper); border-radius: 10px; margin-bottom: 8px;
}
.card-link { font-weight: 700; color: var(--ink); }
.card-link:hover { color: var(--rust); }

.band { background: var(--paper); }
.dark-band { background: var(--ink-2); color: #efe8dc; }
.dark-band .muted, .dark-band p { color: #c4bdb3; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 8px 8px 8px 0; }
.step-num { font-family: var(--display); font-size: 2rem; color: var(--copper); display: block; }

.page-hero {
    background: linear-gradient(160deg, var(--ink) 0%, #24303a 100%);
    color: #fff; padding: 48px 0 40px;
}
.page-hero p { color: #d8d1c7; max-width: 62ch; }

.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; padding: 48px 0 80px; align-items: start; }
.article-body { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px 36px 28px; min-width: 0; overflow-wrap: anywhere; }
.article-body > p:first-of-type { font-size: 1.12rem; }
.article-body h2 { margin-top: 1.4em; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 18px; color: var(--muted); font-size: 0.9rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #b3aaa0; }
.breadcrumb a { color: var(--muted); }

.article-aside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 88px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.side-card h2 { font-size: 1.35rem; }
.side-kicker { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rust); font-weight: 700; margin: 0 0 6px; }
.side-wa { background: #173322; color: #e7f5ea; border-color: #1c4a2e; }
.side-wa h2, .side-phone h2 { color: inherit; }
.side-wa p { color: #cfe3d4; }
.side-phone { background: var(--ink); color: #efe8dc; }
.side-phone p { color: #d4cdc3; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.side-links a:hover { color: var(--rust); }

.faq { margin-top: 36px; padding-top: 8px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); margin-bottom: 10px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 16px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-a { padding: 0 16px 14px; color: var(--muted); }
.faq-a p { margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.contact-form label { display: block; font-weight: 600; margin: 0 0 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px;
    font: inherit; background: #fff; margin-bottom: 12px;
}
.hp { position: absolute; left: -9999px; }

.site-footer { background: #080a0c; color: #cfc8be; padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-bottom: 32px; }
.site-footer h2 { color: #fff; font-size: 1.15rem; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer a { color: #cfc8be; }
.site-footer a:hover { color: var(--copper); }
.footer-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-bottom { border-top: 1px solid #1d242b; padding: 14px 0 72px; font-size: 0.88rem; }

.float-cta {
    position: fixed; right: 18px; bottom: 18px; z-index: 80;
    display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.float-btn {
    position: relative; display: flex; align-items: center; gap: 10px;
    color: #fff; min-height: 54px; padding: 0 16px 0 12px; border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0,0,0,.28); font-weight: 700;
}
.float-btn:hover { color: #fff; }
.float-phone { background: var(--rust); }
.float-wa { background: var(--wa); }
.float-ico { width: 34px; height: 34px; display: grid; place-items: center; }
.float-label { padding-right: 6px; }
.pulse-ring {
    position: absolute; inset: -6px; border-radius: 999px; border: 2px solid rgba(196,92,38,.7);
    animation: pulse 2s ease-out infinite;
}
.pulse-ring.delay { animation-delay: 1s; }
.ring-ico { animation: ring 2.4s ease-in-out infinite; transform-origin: 70% 30%; }
@keyframes pulse {
    0% { transform: scale(0.92); opacity: 0.8; }
    100% { transform: scale(1.18); opacity: 0; }
}
@keyframes ring {
    0%, 78%, 100% { transform: rotate(0); }
    82% { transform: rotate(14deg); }
    86% { transform: rotate(-12deg); }
    90% { transform: rotate(10deg); }
    94% { transform: rotate(-8deg); }
}

.ilce-grid { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
.ilce-grid a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.ilce-grid a:hover,
.ilce-grid a.is-active { color: var(--rust); }
.list-cities li { break-inside: avoid; margin-bottom: 6px; }
.alert { padding: 12px 14px; border-radius: 10px; margin-bottom: 16px; }
.alert-ok { background: #e7f6ec; color: #14532d; }
.alert-err { background: #fde8e4; color: #7f1d1d; }

@media (max-width: 980px) {
    .cards-4, .cards-3, .hero-stats, .steps, .footer-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
    .article-wrap { grid-template-columns: 1fr; gap: 18px; padding: 28px 0 72px; }
    .article-aside { position: static; }
    .ilce-grid { grid-template-columns: 1fr 1fr; }
    .photo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
    .header-cta { display: none; }
    .nav-toggle { display: block; }
    .site-header { position: sticky; }
    .site-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: #12171c; flex-direction: column; align-items: stretch; padding: 8px 16px 18px;
    }
    .site-nav.is-open { display: flex; }
    .nav-drop-menu { position: static; display: none; min-width: 0; border: 0; box-shadow: none; background: transparent; }
    .nav-drop.is-open .nav-drop-menu { display: block; }
    .hero { min-height: min(100svh, 720px); }
    .hero-inner { padding: 40px 0 48px; max-width: none; }
    .hero p { max-width: none; font-size: 1rem; }
    .photo-banner { width: calc(100% - 24px); }
    .photo-banner img { height: 240px; }
    .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .article-photo img { height: 210px; }
    .page-hero { padding: 32px 0 28px; }
    .page-hero p { max-width: none; }
    .article-body { padding: 20px 16px; }
    .section { padding: 40px 0; }
    .float-label { display: none; }
    .float-btn { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
}
@media (max-width: 640px) {
    h1 { font-size: clamp(1.65rem, 8vw, 2.2rem); letter-spacing: 0.01em; }
    h2 { font-size: 1.35rem; }
    .container { width: calc(100% - 24px); }
    .cards-4, .cards-3, .steps, .footer-grid, .contact-grid, .hero-stats { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .section { padding: 36px 0; }
    .ilce-grid { grid-template-columns: 1fr; }
    .footer-bottom { padding-bottom: 110px; }
    .float-cta { right: 12px; bottom: 12px; }
}
