/* Chemion's red and green identity across section heading accents. */
.chemical-molecule {
    display: inline-block;
    flex: 0 0 42px;
    width: 42px;
    height: 18px;
    background: url('../images/shapes/chemical-molecule.svg') center / contain no-repeat;
    vertical-align: middle;
}
.chemical-molecule--reverse { transform: scaleX(-1); }
.section-heading .text-main { letter-spacing: .08em; }
@media (max-width: 575px) {
    .chemical-molecule { flex-basis: 36px; width: 36px; height: 16px; }
    .section-heading .text-main { letter-spacing: .035em; }
}
/* Customer satisfaction card: a quiet molecular lattice over logo green. */
.chemion-satisfaction {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 24px;
    padding: 10px;
    background: linear-gradient(135deg, var(--brand-green) 0%, #3c5242 58%, #2e4034 100%);
    box-shadow: 0 12px 28px rgba(77, 102, 84, .18);
    color: #fff;
}
.chemion-satisfaction::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url('../images/shapes/chemical-card-pattern.svg') right top / 100px auto repeat;
    pointer-events: none;
}
.chemion-satisfaction::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    right: -52px;
    bottom: -65px;
    border: 18px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    pointer-events: none;
}
.chemion-satisfaction__inner {
    position: relative;
    border: 1px solid rgba(255, 255, 255, .23);
    border-radius: 17px;
    padding: 13px;
}
.chemion-satisfaction__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 16px;
}
.chemion-satisfaction .chemion-satisfaction__value {
    color: #fff;
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1.5px;
    margin: 0 0 10px;
}
.chemion-satisfaction__value > span { font-size: .6em; margin-left: 3px; }
.chemion-satisfaction__label { display: block; max-width: 180px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.chemion-satisfaction__accent { display: block; width: 34px; height: 3px; margin-top: 18px; border-radius: 2px; background: #c79a9b; }
@media (max-width: 575px) {
    .chemion-satisfaction__inner { padding: 20px 14px; }
    .chemion-satisfaction__label { font-size: 16px; }
}

/* Product catalogue slider */
.mainpageproductsec {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 0% 0%, rgba(148, 75, 80,.055), transparent 48%), radial-gradient(ellipse at 100% 100%, rgba(77, 102, 84,.065), transparent 48%), #fafbf9;
    border-block: 1px solid #edf0e9;
}
.chemical-products-heading { max-width: 100%; margin: 0 auto 40px; }
.chemical-products-heading h2 { color: #242a25; margin-bottom: 14px; }
.chemical-products-heading > p { max-width: 100%; margin: 0 auto; color: #59615a; font-size: 18px; line-height: 1.65; }
.chemical-products-slider { padding: 6px 5px 24px; margin: 0 -5px; }
.chemical-products-slider .swiper-wrapper { align-items: stretch; }
.chemical-product-card {
    height: auto; display: flex; flex-direction: column;
    background: #fff; border: 1px solid #e6ebe4; border-radius: 18px;
    overflow: hidden; box-shadow: 0 6px 20px rgba(24,45,29,.045);
    transition: border-color .25s, box-shadow .25s;
}
.chemical-product-card:hover { border-color: rgba(77, 102, 84,.3); box-shadow: 0 12px 28px rgba(24,45,29,.1); }
.chemical-product-card__image { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #f0f4ed; }
.chemical-product-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.chemical-product-card:hover img { transform: scale(1.045); }
.chemical-product-card__number { position: absolute; left: 18px; top: 18px; display: none; background: rgba(255,255,255,.94); color: var(--brand-green); border-radius: 20px; padding: 5px 12px; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.chemical-product-card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; border-top: 3px solid var(--brand-green); }
.chemical-product-card__body h3 { font-size: 25px; font-weight: 700; line-height: 1.2; color: #242a25; margin: 0 0 12px; }
.chemical-product-card__body > p { color: #626960; font-size: 16px; line-height: 1.5; margin: 0 0 24px; }
.chemical-product-card__body ul { list-style: none; padding: 0; margin: 0; display: none; gap: 9px; }
.chemical-product-card__body li { position: relative; padding-left: 15px; font-size: 15px; line-height: 1.45; color: #3c473e; }
.chemical-product-card__body li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; position: absolute; left: 0; top: 8px; background: var(--brand-green); }
.chemical-products-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 10px; }
.chemical-products-controls button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #dce5d9; color: var(--brand-green); background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.chemical-products-controls button:hover { background: var(--brand-green); color: #fff; }
.chemical-products-controls button:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 4px; }
.chemical-products-controls .chemical-products-pagination { width: auto; display: flex; align-items: center; gap: 6px; }
.chemical-products-pagination .swiper-pagination-bullet { width: 7px; height: 7px; background: var(--brand-green); opacity: .25; margin: 0; }
.chemical-products-pagination .swiper-pagination-bullet-active { width: 22px; border-radius: 5px; opacity: 1; background: var(--brand-red); }
@media (max-width: 767px) {
    .mainpageproductsec { padding: 56px 0; }
    .chemical-products-heading { margin-bottom: 28px; }
    .chemical-products-heading > p { font-size: 16px; }
    .chemical-product-card__body { padding: 22px; }
    .chemical-product-card__body h3 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .chemical-product-card, .chemical-product-card__image img, .chemical-products-controls button { transition: none; }
}

.chemical-product-card__action { margin-top: auto; padding-top: 0; }
.chemical-product-card__action .btn { font-size: 14px; padding: 16px 24px; }
.chemical-product-card__action .button__label { position: relative; z-index: 1; }
/* Company, treatment and contact sections based on the client material. */
.chemion-top-website { padding: 12px 20px; }
.chemion-section { padding: 76px 0; }
.chemion-centered-heading { max-width: 100%; margin: 0 auto 38px; }
.chemion-centered-heading h2 { margin-bottom: 14px; }
.chemion-centered-heading > p { max-width: 100%; margin: 0 auto; font-size: 18px; line-height: 1.65; color: #59615a; }
.chemion-quality { background: #fff; }
.chemion-feature h3, .chemion-service h3 { font-size: 24px; line-height: 1.25; margin-bottom: 12px; color: #242a25; }
.chemion-feature p, .chemion-service p { color: #626960; font-size: 16px; line-height: 1.65; margin: 0; }
.chemion-programs { background: #f5f8f2; border-block: 1px solid #e9eee3; }
.chemion-program { height: 100%; border: 1px solid #e3e9dc; border-radius: 20px; background: #fff; overflow: hidden; }
.chemion-program > img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.chemion-program__body { padding: 30px; }
.chemion-program__tag { display: inline-block; font-size: 11px; letter-spacing: 1.5px; font-weight: 700; color: var(--brand-red); margin-bottom: 12px; }
.chemion-program h3 { font-size: 28px; line-height: 1.2; color: #242a25; margin-bottom: 16px; }
.chemion-program p { font-size: 17px; line-height: 1.65; color: #586254; margin-bottom: 20px; }
.chemion-program details { border-top: 1px solid #e9eee3; padding-top: 16px; }
.chemion-program summary { color: var(--brand-green); font-weight: 600; cursor: pointer; font-size: 17px; }
.chemion-program details p { margin: 14px 0 0; font-size: 16px; }
.chemion-program summary:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 4px; }
.chemion-service { height: 100%; padding: 26px 22px; border-left: 2px solid #d5e2cf; }
.chemion-service > span { display: block; color: var(--brand-red); font-size: 14px; font-weight: 700; letter-spacing: 2px; margin-bottom: 18px; }
.chemion-expertise { margin-top: 40px; background: #f5f8f2; border: 1px solid #e4ebdc; padding: 28px 32px; border-radius: 16px; }
.chemion-expertise h3 { font-size: 24px; color: var(--brand-green); margin-bottom: 10px; }
.chemion-expertise p { font-size: 17px; color: #586254; line-height: 1.65; margin: 0; }
.chemion-literature { background: #f6f3f2; border-top: 1px solid #f2e4e4; }
.chemion-literature-card { display: block; background: #fff; border: 1px solid #eadfdf; border-radius: 16px; overflow: hidden; box-shadow: 0 5px 18px rgba(40,25,25,.04); }
.chemion-literature-card img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; background: #f4f7fa; }
.chemion-literature-card > span { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; font-size: 19px; font-weight: 600; color: #242a25; }
.chemion-literature-card i { color: var(--brand-green); font-size: 16px; }
.chemion-literature-card:hover > span { color: var(--brand-red); }
.chemion-contact { background: #354a3d; color: #fff; padding: 76px 0; position: relative; }
.chemion-contact__eyebrow { color: #cfe7cc; display: block; font-size: 12px; letter-spacing: 1.4px; font-weight: 600; margin-bottom: 18px; }
.chemion-contact h2 { color: #fff; line-height: 1.2; margin-bottom: 18px; }
.chemion-contact p { color: #d8e7d8; font-size: 17px; line-height: 1.6; margin-bottom: 24px; }
.chemion-contact .button__label { position: relative; z-index: 1; }
.chemion-contact__details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 32px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.045); }
.chemion-contact__details > div > span { display: block; color: #b5d4b8; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; margin-bottom: 10px; }
.chemion-contact__details a { display: block; color: #fff; font-size: 21px; overflow-wrap: anywhere; }
.chemion-contact__details a:hover { color: #ffd5d8; }
.chemion-contact__address, .chemion-contact__person { grid-column: 1 / -1; }
.chemion-contact__address address { color: #fff; font-size: 19px; line-height: 1.6; margin: 0; font-style: normal; }
.chemion-contact__person { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; }
.chemion-contact__person p { margin: 0 0 5px; color: #fff; }
.chemion-contact__person a { font-size: 16px; }
.chemion-footer { background: #f8faf6; padding: 52px 0 0; }
.chemion-footer img { max-width: 270px; width: 100%; height: auto; margin-bottom: 20px; }
.chemion-footer p { max-width: 380px; color: #60675d; font-size: 16px; line-height: 1.6; }
.chemion-footer h3 { font-size: 21px; color: #242a25; margin: 6px 0 18px; }
.chemion-footer a { color: #4a5646; }
.chemion-footer nav, .chemion-footer .col-lg-4 { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.chemion-footer a:hover { color: var(--brand-red); }
.chemion-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; margin-top: 32px; border-top: 1px solid #dfe6d9; color: #677060; font-size: 14px; }
.chemical-product-card__body li strong { font-weight: 600; }
@media (max-width: 991px) {
    .chemion-program__body { padding: 24px; }
    .chemion-contact__details { padding: 26px; }
}
@media (max-width: 575px) {
    .chemion-section, .chemion-contact { padding: 52px 0; }
    .chemion-centered-heading > p { font-size: 16px; }
    .chemion-program h3 { font-size: 25px; }
    .chemion-contact__details { grid-template-columns: 1fr; padding: 24px; }
    .chemion-contact__details a { font-size: 20px; }
    .chemion-expertise { padding: 24px; }
    .chemion-footer__bottom { flex-direction: column; gap: 8px; }
}

/* Four strengths, presented as a connected chemical sequence. */
.chemion-quality {
    position: relative;
    isolation: isolate;
    background: radial-gradient(ellipse at 0 100%, rgba(77, 102, 84,.045), transparent 48%), radial-gradient(ellipse at 100% 0, rgba(148, 75, 80,.035), transparent 42%), #fff;
}
.chemion-quality__grid { position: relative; }
.chemion-quality .chemion-feature {
    --feature-accent: var(--brand-green);
    --feature-tint: #edf5ee;
    --feature-border: #dce9dd;
    height: 100%;
    padding: 15px 16px 15px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid var(--feature-border);
    border-radius: 24px 24px 8px 24px;
    background: linear-gradient(155deg, #fff 50%, var(--feature-tint));
    box-shadow: 0 10px 30px rgba(30,51,32,.045);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.chemion-quality .chemion-feature--red {
    --feature-accent: var(--brand-red);
    --feature-tint: #f1e7e6;
    --feature-border: #f0dddd;
}
.chemion-feature::before {
    content: ''; position: absolute; left: 26px; top: 0;
    width: 40px; height: 3px; border-radius: 0 0 3px 3px;
    background: var(--feature-accent);
}
.chemion-feature::after {
    content: ''; position: absolute; right: -10px; bottom: 4px;
    width: 116px; height: 50px;
    background: url('../images/shapes/chemical-molecule.svg') center / contain no-repeat;
    opacity: .075; z-index: -1; transform: rotate(-25deg);
    pointer-events: none;
}
.chemion-feature__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.chemion-feature__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 80px; flex-shrink: 0;
    color: var(--feature-accent); background: var(--feature-tint);
    clip-path: polygon(50% 0, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
    font-size: 28px; position: relative;
}
.chemion-feature__icon::before {
    content: ''; position: absolute; inset: 7px;
    background: var(--feature-accent); opacity: .08;
    clip-path: inherit;
}
.chemion-feature__number { font-size: 48px; font-weight: 700; line-height: 1; color: var(--feature-accent); opacity: .16; letter-spacing: -2px; }
.chemion-feature__category { display: none; font-size: 10px; letter-spacing: 2px; font-weight: 700; color: var(--feature-accent); margin-bottom: 10px; }
.chemion-quality .chemion-feature h3 { font-size: clamp(23px, 1.8vw, 27px); line-height: 1.2; min-height: 2.4em; margin-bottom: 14px; }
.chemion-quality .chemion-feature p { font-size: 16px; line-height: 1.65; }
.chemion-feature__finish { display: flex; align-items: center; gap: 4px; margin-top: 25px; }
.chemion-feature__finish::before { content: ''; width: 30px; height: 2px; margin-right: 3px; border-radius: 2px; background: var(--feature-accent); }
.chemion-feature__finish > span { width: 4px; height: 4px; border-radius: 50%; background: var(--feature-accent); opacity: .35; }
.chemion-feature__finish > span:first-child { opacity: 1; }
@media (hover: hover) {
    .chemion-quality .chemion-feature:hover { transform: translateY(-7px); border-color: var(--feature-accent); box-shadow: 0 18px 34px rgba(30,51,32,.095); }
}
@media (min-width: 992px) {
    .chemion-quality__grid::before { content: ''; position: absolute; top: 70px; left: 8%; right: 8%; border-top: 1px dashed #cbd9c8; z-index: 0; }
}
@media (max-width: 575px) {
    .chemion-quality .chemion-feature { padding: 26px 24px 24px; }
    .chemion-feature__top { margin-bottom: 20px; }
    .chemion-quality .chemion-feature h3 { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .chemion-quality .chemion-feature { transition: none; }
    .chemion-quality .chemion-feature:hover { transform: none; }
}
/* CTA background: logo green with a restrained molecular lattice. */
.counter-section.chemion-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: 70px !important;
    background:
        radial-gradient(ellipse at 100% 0, rgba(148, 75, 80,.2), transparent 48%),
        radial-gradient(ellipse at 6% 100%, rgba(99, 122, 100,.25), transparent 55%),
        linear-gradient(115deg, #2e4034 0%, #3c5242 55%, #354a3d 100%);
    border-block: 1px solid rgba(77, 102, 84,.25);
}
.chemion-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url('../images/shapes/chemical-card-pattern.svg') right center / 132px auto repeat;
    mask-image: linear-gradient(90deg, transparent 15%, #000 100%);
    opacity: .65;
    pointer-events: none;
}
.chemion-cta::after {
    content: '';
    position: absolute;
    width: 410px;
    height: 410px;
    right: -130px;
    top: -165px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.018);
    z-index: -1;
    pointer-events: none;
}
.chemion-cta > .container { position: relative; z-index: 1; }
@media (max-width: 767px) {
    .counter-section.chemion-cta { padding-block: 50px !important; }
    .chemion-cta::before { opacity: .4; }
    .chemion-cta::after { width: 300px; height: 300px; right: -170px; top: -130px; }
}
/* Industry pictograms retain the existing tile layout and brand green. */
.industriesweserver .industry-serve-tile__icon {
    color: var(--brand-green);
    font-size: 42px;
    line-height: 1;
    transition: transform .28s ease;
}
.industriesweserver .industry-serve-tile:hover .industry-serve-tile__icon { transform: scale(1.06); }
@media (max-width: 767px) {
    .industriesweserver .industry-serve-tile__icon { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    .industriesweserver .industry-serve-tile__icon { transition: none; }
}
/* Aligned image comparison and a two-by-two grid of company strengths. */
.chemion-comparison {
    margin: 0;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #dce9dd;
    padding: 8px;
    box-shadow: 0 16px 38px rgba(30,51,32,.09);
}
.chemion-comparison__surface {
    position: relative;
    aspect-ratio: 516 / 512;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #e6ebe2;
    direction: ltr;
}
.chemion-comparison__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; pointer-events: none; }
.chemion-comparison__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--comparison-position)) 0 0); pointer-events: none; }
.chemion-comparison__label { position: absolute; top: 18px; padding: 7px 14px; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; font-size: 13px; font-weight: 600; line-height: 1.3; pointer-events: none; }
.chemion-comparison__label--before { left: 18px; background: rgba(34,39,34,.9); }
.chemion-comparison__label--after { right: 18px; background: var(--brand-green); }
.chemion-comparison__divider { position: absolute; left: var(--comparison-position); top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.28); pointer-events: none; }
.chemion-comparison__handle { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; align-items: center; justify-content: center; gap: 8px; width: 48px; height: 48px; background: #fff; color: var(--brand-green); border: 2px solid var(--brand-green); border-radius: 50%; box-shadow: 0 4px 15px rgba(0,0,0,.2); font-size: 12px; }
.chemion-comparison__range { position: absolute; inset: 0; z-index: 2; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.chemion-comparison:focus-within { outline: 3px solid var(--brand-green); outline-offset: 4px; }
.chemion-comparison__caption { padding: 17px 12px 12px; }
.chemion-comparison__caption strong { display: block; color: #242a25; font-size: 20px; line-height: 1.3; margin-bottom: 5px; }
.chemion-comparison__caption > span { display: block; color: #697263; font-size: 14px; line-height: 1.45; }
.chemion-quality__grid--paired::before { display: none; }
.chemion-quality__grid--paired .chemion-feature { padding: 22px 20px; }
.chemion-quality__grid--paired .chemion-feature__top { margin-bottom: 14px; }
.chemion-quality__grid--paired .chemion-feature__icon { width: 52px; height: 58px; font-size: 23px; }
.chemion-quality__grid--paired .chemion-feature__number { font-size: 38px; }
.chemion-quality .chemion-quality__grid--paired .chemion-feature h3 { font-size: 23px; margin-bottom: 10px; }
.chemion-quality .chemion-quality__grid--paired .chemion-feature p { font-size: 15px; line-height: 1.55; }
.chemion-quality__grid--paired .chemion-feature__finish { margin-top: 16px; }
@media (max-width: 991px) {
    .chemion-comparison { max-width: 580px; margin-inline: auto; }
}
@media (max-width: 575px) {
    .chemion-comparison__label { top: 14px; padding: 6px 12px; }
    .chemion-comparison__label--before { left: 14px; }
    .chemion-comparison__label--after { right: 14px; }
    .chemion-quality .chemion-quality__grid--paired .chemion-feature h3 { min-height: 0; }
}
/* Keep long product names inside the mobile navigation drawer. */
.nav-menu--mobile #mobile-products-submenu {
    width: calc(100% - 16px);
}

.nav-menu--mobile #mobile-products-submenu .nav-submenu__link {
    white-space: normal;
    overflow-wrap: anywhere;
}

