:root {
    --red: #e71921;
    --green: #113f2d;
    --leaf: #31a936;
    --ink: #252928;
    --muted: #67706d;
    --line: #dedede;
    --paper: #ffffff;
    --soft: #f7f7f5;
}

* {
    box-sizing: border-box;
}

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

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

img {
    display: block;
    max-width: 100%;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 22px;
    align-items: center;
    padding: 12px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand img {
    width: 118px;
}

.nav {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2.4vw, 36px);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.nav a {
    padding: 10px 0;
}

.nav a:hover,
.section-head a:hover,
.article-card a:hover {
    color: var(--red);
}

.header-phone {
    color: #fff;
    background: var(--green);
    padding: 9px 13px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 4px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--green);
}

.hero {
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    background: #111;
    color: #fff;
}

.hero-media {
    height: 100%;
    min-height: 560px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    padding: clamp(36px, 6vw, 90px);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0 0 18px;
    font-size: clamp(34px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: 0;
    font-weight: 700;
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(25px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: 0;
    font-weight: 650;
}

h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 650;
}

.hero-content p:not(.eyebrow),
.page-hero p,
.lead {
    max-width: 650px;
    font-size: 18px;
    color: rgba(255, 255, 255, .82);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid currentColor;
    border-radius: 4px;
    font-weight: 650;
}

.btn.primary {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
}

.btn.ghost {
    color: #fff;
    background: transparent;
}

.btn.dark-text {
    color: var(--green);
}

.section {
    padding: clamp(44px, 6vw, 82px) clamp(18px, 5vw, 72px);
}

.intro-grid,
.split-band,
.content-columns,
.contact-grid,
.industrial-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: start;
}

.feature-list,
.pill-cloud,
.use-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-list span,
.pill-cloud span,
.use-list span {
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px 12px;
    border-radius: 4px;
    font-weight: 550;
}

.feature-list span:nth-child(odd),
.pill-cloud.green span {
    border-color: rgba(49, 169, 54, .34);
    color: var(--green);
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.section-head h2 {
    margin-bottom: 0;
}

.section-head a,
.article-card a {
    color: var(--green);
    font-weight: 650;
}

.product-strip,
.blog-preview,
.product-filter,
.section.product-grid {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .72)),
        linear-gradient(60deg, transparent 48%, rgba(17, 63, 45, .06) 49%, rgba(17, 63, 45, .06) 51%, transparent 52%),
        linear-gradient(-60deg, transparent 48%, rgba(17, 63, 45, .05) 49%, rgba(17, 63, 45, .05) 51%, transparent 52%),
        var(--soft);
    background-size: auto, 160px 92px, 160px 92px, auto;
}

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

.product-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 9px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .08);
}

.product-card a {
    display: grid;
    grid-template-rows: 295px 1fr;
    min-height: 100%;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 28px;
    background: #fff;
}

.product-card div {
    border-top: 0;
    padding: 18px 22px 24px;
}

.product-card p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 15px;
}

.product-card span {
    font-weight: 650;
    color: var(--green);
}

.split-band {
    color: #fff;
    background: var(--green);
}

.split-band .eyebrow {
    color: #85d48a;
}

.split-band p {
    color: rgba(255, 255, 255, .78);
}

.split-band span {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
    color: #fff;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.article-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.article-card h2,
.article-card h3 {
    font-size: 21px;
}

.article-card p {
    color: var(--muted);
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    display: grid;
    align-content: center;
    padding: clamp(44px, 6vw, 72px) clamp(18px, 5vw, 72px);
    color: #fff;
    background: var(--green);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 63, 45, .86), rgba(17, 63, 45, .72)),
        url("../img/freeze-3.jpg") center / cover;
    opacity: .9;
}

.page-hero::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 116px;
    height: 42px;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, .55), transparent 68%),
        linear-gradient(135deg, #6fc65b, #1e7e35);
    border-radius: 100% 0 100% 0;
    transform: translateX(-50%) rotate(-9deg);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .24);
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero.compact h1,
.page-hero.product-hero h1 {
    max-width: 980px;
    font-size: clamp(28px, 4vw, 54px);
    line-height: 1.1;
    font-weight: 700;
}

.page-hero.product-hero {
    background: var(--green);
}

.page-hero.dark {
    background: #1f1f1f;
}

.content-columns p,
.blog-detail p {
    max-width: 840px;
    color: #4c5652;
    font-size: 17px;
}

.image-stack {
    display: grid;
    gap: 14px;
}

.image-stack img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
}

.industrial-grid h2 {
    color: var(--green);
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    min-height: calc(100vh - 78px);
}

.detail-image {
    display: grid;
    place-items: center;
    padding: clamp(26px, 5vw, 70px);
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent), #fff 82%), #fff);
}

.detail-image img {
    max-height: 760px;
    object-fit: contain;
}

.detail-copy {
    align-self: center;
    padding: clamp(34px, 6vw, 90px);
}

.detail-copy h1 {
    font-size: clamp(34px, 4.5vw, 58px);
}

.detail-copy p {
    font-size: 18px;
    color: var(--muted);
}

dl {
    display: grid;
    gap: 10px;
    margin: 28px 0;
}

dl div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

dt {
    font-weight: 650;
    color: var(--green);
}

dd {
    margin: 0;
}

.blog-detail {
    max-width: 980px;
    margin: 0 auto;
}

.blog-detail h1 {
    font-size: clamp(30px, 4.5vw, 58px);
    line-height: 1.1;
}

.blog-detail .lead {
    color: var(--green);
}

.contact-grid {
    align-items: stretch;
}

.contact-info,
.contact-form {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.big-link {
    display: block;
    margin: 8px 0;
    color: var(--red);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 650;
    line-height: 1.1;
}

iframe {
    width: 100%;
    height: 340px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
}

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

label {
    display: grid;
    gap: 6px;
    color: var(--green);
    font-weight: 650;
}

.product-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 28px clamp(18px, 5vw, 72px) 8px;
}

.product-filter a {
    min-width: 118px;
    padding: 12px 20px;
    border: 2px solid var(--red);
    border-radius: 7px;
    color: var(--red);
    background: #fff;
    text-align: center;
    font-weight: 650;
}

.product-filter a.active,
.product-filter a:hover {
    color: #fff;
    background: var(--red);
}

input,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 13px 12px;
    font: inherit;
    color: var(--ink);
    background: #fff;
}

input:focus,
textarea:focus {
    outline: 2px solid rgba(231, 25, 33, .22);
    border-color: var(--red);
}

.notice {
    margin: 0;
    padding: 12px;
    border-radius: 4px;
    font-weight: 800;
}

.notice.success {
    color: var(--green);
    background: #e8f6ea;
}

.notice.error {
    color: var(--red);
    background: #fde9ea;
}

.footer {
    display: grid;
    grid-template-columns: 1.1fr .7fr 1fr;
    gap: 28px;
    padding: 42px clamp(18px, 5vw, 72px);
    color: #fff;
    background: #171717;
}

.footer img {
    width: 150px;
}

.footer a,
.footer span {
    display: block;
    margin: 6px 0;
    color: rgba(255, 255, 255, .78);
}

@media (max-width: 980px) {
    .topbar {
        grid-template-columns: 150px 1fr auto;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
    }

    .nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 12px 18px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .nav.is-open {
        display: flex;
    }

    .header-phone {
        display: none;
    }

    .hero,
    .intro-grid,
    .split-band,
    .content-columns,
    .contact-grid,
    .industrial-grid,
    .product-detail {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-media {
        min-height: 360px;
        order: 2;
    }

    .hero-content {
        order: 1;
    }

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

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

@media (max-width: 640px) {
    .topbar {
        padding: 12px 16px;
    }

    .brand img {
        width: 128px;
    }

    h1 {
        font-size: 38px;
    }

    .hero-content p:not(.eyebrow),
    .page-hero p {
        font-size: 17px;
    }

    .section-head {
        display: block;
    }

    .product-grid,
    .article-grid {
        grid-template-columns: 1fr;
    }

    .product-card a {
        grid-template-rows: 290px 1fr;
    }

    dl div {
        grid-template-columns: 1fr;
    }
}
