/* Public storefront palette: white and cool-gray surfaces that echo the steel product housings.
   Sections alternate white / gray, and a card always takes the opposite tone of its section. */
:root {
    --surface-page: #eef1f4;
    --surface-soft: #e3e8ec;
    --surface-raised: #f5f7f9;
    --surface-media: #e8ecf0;
    --surface-card: #ffffff;
    --surface-border: #d7dde3;
    --surface-shadow: 0 6px 20px #1d2b380d;
}

body.home-page,
body.inner-page {
    --orange: #426783;
    --ink: #243849;
    --muted: #657787;
    --pale: var(--surface-page);
    --border: var(--surface-border);
    background: var(--surface-page);
}

/* Gray sections and the inner-page canvas. */
.hefeng-home,
.shop-page,
.about-page,
.contact-page,
.news-page,
.hf-products,
.hf-support,
.site-partners {
    background: var(--surface-page);
}

/* White sections; the intro and news bands add a soft gray glow on the right. */
.hf-about {
    background: var(--surface-card);
}

.hf-intro,
.hf-news {
    background: radial-gradient(ellipse at 88% 18%, #e4e9ee 0, transparent 52%), var(--surface-card);
}

/* Strips above the header and below the banner. */
.site-topbar,
.hf-assurances,
.site-assurances .footer-assurance-row {
    background: var(--surface-soft);
    border-color: var(--surface-border);
}

/* Cards on gray sections are white... */
.hf-products .hf-product-inner,
.hf-support-grid > a,
.shop-card,
.shop-product,
.shop-filters,
.shop-information section,
.about-story-photo,
.about-story-future,
.news-page .news-card,
.news-article,
.news-sidebar-panel,
.contact-information,
.contact-page .form-card {
    background: var(--surface-card);
    border-color: var(--surface-border);
    box-shadow: var(--surface-shadow);
}

/* ...and cards on white sections are light gray. */
.hf-intro-note,
.hf-about figure,
.hf-about-values span,
.hf-story {
    background: var(--surface-raised);
    border-color: var(--surface-border);
}

.hf-products .hf-product-visual,
.shop-main-image,
.shop-card-image,
.hf-story-image {
    background: var(--surface-media);
    border-color: var(--surface-border);
}

/* Preserve the actual finish and color of product photography. */
.hf-products .hf-product-visual img {
    mix-blend-mode: normal;
}

.hf-products .hf-specs,
.shop-filters input,
.shop-filters select,
.shop-specifications tr:nth-child(odd) {
    background: var(--surface-raised);
    border-color: var(--surface-border);
}

.hf-products .hf-specs > div:nth-child(even),
.hf-products .hf-specs > div:nth-child(n+3),
.hf-assurance + .hf-assurance {
    border-color: var(--surface-border);
}

/* One content width for every public page, including the partner section. */
.hefeng-home .container,
.about-page .container,
.contact-page .container,
.news-shell,
.shop-shell,
.site-partners-shell {
    width: min(1280px, calc(100% - 80px));
}

@media (max-width: 1100px) {
    .hefeng-home .container,
    .about-page .container,
    .contact-page .container,
    .news-shell,
    .shop-shell,
    .site-partners-shell {
        width: calc(100% - 40px);
    }
}

@media (max-width: 540px) {
    .hefeng-home .container,
    .about-page .container,
    .contact-page .container,
    .news-shell,
    .shop-shell,
    .site-partners-shell {
        width: calc(100% - 32px);
    }
}

.site-footer {
    background-color: #243849;
    border-color: #344c60;
}

.site-footer::before {
    background: linear-gradient(180deg, #203447f2, #263e51e8 65%, #1c3042e6);
}

.footer-bottom {
    background: #192d3d;
}
