:root {
    --bg: #f4f1ea;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: #ffffff;
    --text: #1f2933;
    --muted: #5a6773;
    --line: rgba(31, 41, 51, 0.12);
    --primary: #0f766e;
    --primary-dark: #115e59;
    --accent: #f59e0b;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", "Noto Sans SC", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 28%),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.16), transparent 30%),
        linear-gradient(180deg, #fbf8f3 0%, #eef3f1 100%);
}

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

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 40px;
}

.header,
.footer,
.hero,
.page-intro,
.cta-banner,
.catalog-download,
.info-card,
.catalog-card,
.contact-card,
.contact-note {
    backdrop-filter: blur(18px);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.header,
.footer {
    border-radius: 22px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    position: sticky;
    top: 14px;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
}

.nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.nav a,
.lang-switcher button {
    color: var(--muted);
    font-weight: 600;
    transition: 0.2s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switcher {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--line);
}

.lang-switcher button {
    border: 0;
    background: transparent;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.lang-switcher button.active {
    background: var(--text);
    color: white;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    font-weight: 700;
}

.button:hover {
    background: var(--primary-dark);
}

.button-secondary {
    background: white;
    color: var(--text);
}

.button-small {
    padding: 10px 16px;
}

main {
    padding-top: 28px;
}

.hero,
.cta-banner,
.contacts-layout,
.catalog-download {
    display: grid;
    gap: 24px;
}

.hero {
    grid-template-columns: 1.2fr 0.8fr;
    border-radius: 32px;
    padding: 40px;
    min-height: 520px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h1,
.page-intro h1 {
    font-size: clamp(2.4rem, 6vw, 4.7rem);
    line-height: 0.96;
    margin: 8px 0 18px;
    max-width: 12ch;
}

.lead,
.section-heading h2,
.cta-banner p,
.info-card p,
.catalog-card p,
.contact-note p,
.contact-card span,
.footer-text,
.footer-copy {
    color: var(--muted);
}

.lead {
    font-size: 1.08rem;
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-panel {
    display: grid;
    gap: 16px;
    align-content: end;
}

.metric-card {
    padding: 24px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72));
    border: 1px solid var(--line);
}

.metric-card strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 6px;
}

.section,
.page-intro,
.cta-banner,
.contacts-layout,
.catalog-download {
    margin-top: 28px;
}

.page-intro,
.cta-banner,
.catalog-download {
    padding: 30px;
    border-radius: 30px;
}

.section-heading {
    max-width: 60ch;
    margin-bottom: 18px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.card-grid,
.catalog-grid,
.contact-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.info-card,
.catalog-card,
.contact-card {
    border-radius: 24px;
    padding: 24px;
}

.info-card h3,
.catalog-card h3,
.contact-note h2 {
    margin: 8px 0 12px;
    font-size: 1.25rem;
}

.catalog-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(15, 118, 110, 0.06), rgba(255, 255, 255, 0.86)),
        var(--surface);
}

.catalog-download {
    grid-template-columns: 1fr auto;
    align-items: center;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(245, 158, 11, 0.1));
}

.contacts-layout {
    grid-template-columns: 1fr 0.9fr;
}

.contact-note {
    border-radius: 30px;
    padding: 28px;
}

.contact-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.1rem;
}

.footer {
    margin-top: 28px;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}

.footer-title {
    margin: 0 0 8px;
    font-weight: 800;
}

@media (max-width: 920px) {
    .header,
    .footer,
    .hero,
    .contacts-layout,
    .catalog-download {
        grid-template-columns: 1fr;
    }

    .header,
    .footer {
        position: static;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav,
    .header-actions,
    .hero-actions {
        width: 100%;
    }

    .card-grid,
    .catalog-grid,
    .contact-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-shell {
        width: min(100% - 20px, 1180px);
    }

    .hero,
    .page-intro,
    .cta-banner,
    .catalog-download,
    .contact-note,
    .info-card,
    .catalog-card,
    .contact-card {
        padding: 22px;
        border-radius: 24px;
    }

    .hero h1,
    .page-intro h1 {
        max-width: none;
    }

    .brand-text {
        font-size: 0.95rem;
    }
}
