:root {
    --ink: #172026;
    --muted: #5f6f78;
    --paper: #f7f8f6;
    --surface: #ffffff;
    --mist: #e6edf0;
    --line: #d7e0e4;
    --steel: #2f5668;
    --deep: #102a35;
    --green: #1f6b58;
    --gold: #b8873b;
    --white: #ffffff;
    --shadow: 0 18px 42px rgba(16, 42, 53, 0.14);
}

* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.58;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    align-items: center;
    background: rgba(247, 248, 246, 0.96);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 22px;
    grid-template-columns: auto 1fr auto;
    min-height: 76px;
    padding: 0 36px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.site-brand {
    align-items: center;
    display: inline-flex;
    gap: 12px;
    min-width: 220px;
}

.site-brand__mark {
    align-items: center;
    background: var(--deep);
    color: var(--white);
    display: inline-flex;
    font-weight: 850;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.site-brand__text {
    display: grid;
    line-height: 1.1;
}

.site-brand__text strong {
    font-size: 1rem;
}

.site-brand__text small {
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 3px;
}

.primary-nav {
    justify-self: end;
}

.primary-nav ul,
.site-footer ul {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-nav a {
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 700;
}

.primary-nav a:hover,
.text-link:hover,
.site-footer a:hover {
    color: var(--steel);
}

.header-actions,
.cta-row {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
}

.header-contact,
.button {
    align-items: center;
    border: 1px solid transparent;
    display: inline-flex;
    font-weight: 760;
    justify-content: center;
    min-height: 44px;
    padding: 11px 17px;
}

.header-contact--telegram,
.button--primary {
    background: var(--steel);
    color: var(--white);
}

.header-contact--whatsapp,
.button--whatsapp {
    background: var(--green);
    color: var(--white);
}

.button--secondary {
    background: var(--surface);
    border-color: var(--line);
    color: var(--ink);
}

.button:hover,
.header-contact:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.site-main {
    min-height: 70vh;
}

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

.hero {
    background:
        linear-gradient(90deg, rgba(16, 42, 53, 0.91), rgba(47, 86, 104, 0.55)),
        radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.14), transparent 26%),
        linear-gradient(135deg, #102a35 0%, #2f5668 52%, #f7f8f6 160%);
    color: var(--white);
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 760px) minmax(270px, 360px);
    min-height: 560px;
    padding: 72px 7vw 64px;
    place-items: end start;
}

.hero__content h1,
.page-hero h1,
.section-heading h2,
.cta-panel h2 {
    line-height: 1.08;
    margin: 0 0 20px;
}

.hero__content h1 {
    font-size: 3.8rem;
    max-width: 830px;
}

.hero__content p {
    font-size: 1.04rem;
    max-width: 720px;
}

.hero__panel,
.contact-card,
.product-card,
.spec-card,
.category-card,
.cta-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(16, 42, 53, 0.08);
}

.hero__panel {
    color: var(--ink);
    display: grid;
    gap: 8px;
    padding: 24px;
    width: 100%;
}

.hero__panel strong {
    font-size: 1.3rem;
}

.eyebrow {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 830;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.section {
    padding: 82px 0;
}

.section--compact {
    padding-top: 68px;
}

.section--band {
    background: var(--mist);
}

.section--cta {
    padding-top: 0;
}

.section-heading {
    margin-bottom: 32px;
    max-width: 760px;
}

.section-heading h2,
.cta-panel h2,
.page-hero h1 {
    font-size: 3rem;
}

.category-grid,
.product-grid,
.use-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.product-card,
.use-grid article,
.contact-card,
.spec-card {
    padding: 24px;
}

.category-card {
    min-height: 192px;
}

.category-card span,
.product-card h2,
.product-card h3,
.use-grid strong,
.contact-card h2,
.spec-card h2 {
    display: block;
    font-size: 1.14rem;
    line-height: 1.25;
    margin: 0 0 12px;
}

.category-card p,
.product-card p,
.use-grid p,
.contact-card p,
.spec-card p,
.site-footer p {
    color: var(--muted);
}

.use-grid strong a:hover {
    color: var(--steel);
}

.split,
.product-detail,
.contact-layout,
.footer-grid {
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.process-list {
    display: grid;
    gap: 12px;
}

.process-list span {
    background: var(--surface);
    border-left: 4px solid var(--gold);
    font-weight: 750;
    padding: 16px 18px;
}

.process-list--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-hero {
    background:
        linear-gradient(90deg, rgba(16, 42, 53, 0.94), rgba(47, 86, 104, 0.76)),
        linear-gradient(135deg, #102a35, #2f5668);
    color: var(--white);
    padding: 92px 0 78px;
}

.page-hero p {
    max-width: 760px;
}

.compliance-note {
    background: rgba(255, 255, 255, 0.12);
    border-left: 4px solid var(--gold);
    color: rgba(255, 255, 255, 0.92);
    margin: 22px 0;
    max-width: 820px;
    padding: 14px 18px;
}

.compliance-note strong {
    color: var(--white);
}

.cta-panel {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 34px;
}

.content-flow {
    max-width: 820px;
}

.content-flow p,
.content-flow li {
    color: var(--muted);
}

.spec-card__checklist {
    background: var(--mist);
    border-left: 4px solid var(--green);
    color: var(--ink);
    padding: 14px 16px;
}

.contact-card ul {
    color: var(--muted);
    padding-left: 20px;
}

.download-list {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 10px;
    margin: 22px 0;
    padding-top: 18px;
}

.download-list a {
    background: var(--mist);
    border-left: 4px solid var(--steel);
    color: var(--ink);
    font-weight: 760;
    padding: 11px 14px;
}

.contact-fallback {
    display: grid;
    gap: 16px;
}

.wpcf7-form {
    display: grid;
    gap: 14px;
}

.wpcf7-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    border: 1px solid var(--line);
    font: inherit;
    min-height: 44px;
    padding: 10px 12px;
    width: 100%;
}

.wpcf7-form textarea {
    min-height: 120px;
}

.wpcf7-submit {
    background: var(--steel);
    border: 0;
    color: var(--white);
    cursor: pointer;
    font-weight: 800;
    padding: 13px 18px;
}

.site-footer {
    background: var(--deep);
    color: var(--white);
    padding: 52px 0 0;
}

.site-footer p,
.site-footer a {
    color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
}

.site-footer ul {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.62);
    margin-top: 42px;
    padding: 18px 28px;
    text-align: center;
}

@media (max-width: 980px) {
    .site-header {
        align-items: start;
        grid-template-columns: 1fr;
        padding: 18px 24px;
    }

    .primary-nav {
        justify-self: start;
    }

    .primary-nav ul {
        flex-wrap: wrap;
    }

    .hero,
    .split,
    .product-detail,
    .contact-layout,
    .cta-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .category-grid,
    .product-grid,
    .use-grid,
    .process-list--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        min-height: auto;
        padding: 58px 22px;
    }

    .hero__content h1,
    .section-heading h2,
    .cta-panel h2,
    .page-hero h1 {
        font-size: 2.1rem;
    }

    .category-grid,
    .product-grid,
    .use-grid,
    .process-list--grid {
        grid-template-columns: 1fr;
    }

    .header-actions,
    .cta-row {
        width: 100%;
    }

    .header-contact,
    .button {
        flex: 1 1 140px;
    }
}
