/* ═══════════════════════════════════════════════════════════
   Qualchen Chemicals — Industrial / Laboratory Frontend Theme
   ═══════════════════════════════════════════════════════════ */

:root {
    --chem-navy: #0C2340;
    --chem-navy-deep: #061528;
    --chem-teal: #00A896;
    --chem-teal-light: #5EEAD4;
    --chem-cyan: #22D3EE;
    --chem-amber: #F59E0B;
    --chem-ink: #0F172A;
    --chem-muted: #64748B;
    --chem-surface: #F1F5F9;
    --chem-white: #FFFFFF;
    --chem-line: rgba(12, 35, 64, 0.1);
    --chem-glass: rgba(255, 255, 255, 0.08);
    --chem-radius: 16px;
    --chem-radius-sm: 10px;
    --chem-shadow: 0 16px 40px rgba(6, 21, 40, 0.12);
    --chem-header: 68px;
    --chem-strip: 36px;
    --chem-tabbar: 64px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --font-body: "DM Sans", system-ui, sans-serif;
    --font-display: "DM Sans", system-ui, sans-serif;
    --ease: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.app-shell {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--chem-ink);
    background: var(--chem-surface);
    line-height: 1.65;
    padding-top: calc(var(--chem-header) + var(--safe-top));
    padding-bottom: calc(var(--chem-tabbar) + var(--safe-bottom) + 8px);
    -webkit-font-smoothing: antialiased;
}

/* One font site-wide (same as menus). Keep Font Awesome icons intact. */
body.app-shell,
body.app-shell h1,
body.app-shell h2,
body.app-shell h3,
body.app-shell h4,
body.app-shell h5,
body.app-shell h6,
body.app-shell button,
body.app-shell input,
body.app-shell select,
body.app-shell textarea,
body.app-shell .btn,
body.app-shell .chem-nav-link,
body.app-shell .chem-hero-title,
body.app-shell .chem-hero-brand,
body.app-shell .chem-heading,
body.app-shell .chem-brand-name {
    font-family: var(--font-body) !important;
}

@media (min-width: 992px) {
    body.app-shell {
        padding-top: calc(var(--chem-header) + var(--chem-strip) + var(--safe-top));
        padding-bottom: 0;
    }
}

img { max-width: 100%; height: auto; display: block; }
.page-wrapper { min-height: 50vh; overflow-x: hidden; }

/* ─── Typography ─────────────────────────────────────────── */
.chem-heading, .chem-page-title, .chem-hero-title {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--chem-navy);
}

.chem-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--chem-teal);
    margin-bottom: 0.5rem;
}

.chem-lead { color: var(--chem-muted); max-width: 36rem; margin: 0 auto; }
.chem-prose { color: var(--chem-muted); line-height: 1.75; }
.chem-prose p { margin-bottom: 1rem; }
.chem-empty { color: var(--chem-muted); text-align: center; padding: 2rem; }

/* ─── Buttons ────────────────────────────────────────────── */
.chem-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 46px;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.chem-btn-primary {
    background: linear-gradient(135deg, var(--chem-teal), #008F7A);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 168, 150, 0.35);
}
.chem-btn-primary:hover { transform: translateY(-2px); color: #fff; text-decoration: none; }

.chem-btn-outline {
    background: transparent;
    border-color: var(--chem-teal);
    color: var(--chem-teal);
}
.chem-btn-outline:hover { background: var(--chem-teal); color: #fff; text-decoration: none; }

.chem-btn-ghost {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}
.chem-btn-ghost:hover { background: rgba(255,255,255,0.2); color: #fff; text-decoration: none; }

.chem-btn-light {
    background: #fff;
    color: var(--chem-navy);
}
.chem-btn-light:hover { color: var(--chem-navy); text-decoration: none; transform: translateY(-2px); }

/* ─── Header ─────────────────────────────────────────────── */
.chem-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1040;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--chem-line);
    padding-top: var(--safe-top);
    overflow: visible;
}

.chem-header.scrolled { box-shadow: var(--chem-shadow); }

.chem-top-strip {
    background: var(--chem-navy);
    color: rgba(255,255,255,0.85);
    font-size: 0.8rem;
    height: var(--chem-strip);
}

.chem-top-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.chem-top-links { display: flex; gap: 1.25rem; }
.chem-top-links a { color: rgba(255,255,255,0.9); text-decoration: none; }
.chem-top-links a:hover { color: var(--chem-teal-light); }

.chem-header-bar {
    height: var(--chem-header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    gap: 0.75rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    overflow: visible;
}

.chem-desktop-nav {
    flex: 1;
    min-width: 0;
    justify-content: center;
    align-self: stretch;
}

.chem-header-cta {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.55rem 1.1rem;
    min-height: 40px;
    font-size: 0.85rem;
}

.chem-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--chem-navy);
    min-width: 0;
}

.chem-brand-name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
.chem-brand-name em { font-style: normal; color: var(--chem-teal); font-weight: 600; font-size: 0.9em; }

/* Top-level nav row only — do NOT target dropdown ul */
.chem-desktop-nav > ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.1rem;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    height: 100%;
}

.chem-desktop-nav > ul > li {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.chem-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.7rem;
    color: var(--chem-ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    border: 0;
    background: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.chem-nav-link:hover,
.chem-desktop-nav > ul > li.active > .chem-nav-link,
.chem-nav-link.active {
    color: var(--chem-teal);
    background: rgba(0, 168, 150, 0.08);
}

/* Dropdown panel — flush under li so hover never breaks across a gap */
.chem-desktop-nav .chem-drop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    max-width: 320px;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    background: #fff;
    border-radius: var(--chem-radius-sm);
    box-shadow: var(--chem-shadow);
    border: 1px solid var(--chem-line);
    z-index: 1050;
    pointer-events: auto;
}

/* Invisible bridge so the cursor can move from the link into the panel */
.chem-desktop-nav .chem-drop::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.chem-desktop-nav > ul > li.has-drop:hover > .chem-drop,
.chem-desktop-nav > ul > li.has-drop:focus-within > .chem-drop {
    display: block;
}

.chem-drop li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.chem-drop a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--chem-ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.86rem;
    white-space: normal;
    line-height: 1.35;
    cursor: pointer;
}

.chem-drop a:hover {
    background: rgba(0, 168, 150, 0.08);
    color: var(--chem-teal);
}

.chem-menu-toggle {
    width: 44px; height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--chem-navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.chem-menu-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; }

/* Drawer */
.chem-drawer { position: fixed; inset: 0; z-index: 1100; }
.chem-drawer[hidden] { display: none !important; }
.chem-drawer::before { content: ""; position: absolute; inset: 0; background: rgba(6,21,40,0.5); }
.chem-drawer-panel {
    position: absolute; top: 0; right: 0;
    width: min(88vw, 360px); height: 100%;
    background: #fff;
    padding: calc(var(--safe-top) + 1rem) 1rem calc(var(--safe-bottom) + 1rem);
    display: flex; flex-direction: column;
    box-shadow: -12px 0 40px rgba(0,0,0,0.15);
}
.chem-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.chem-drawer-head button { border: 0; background: var(--chem-surface); width: 40px; height: 40px; border-radius: 10px; font-size: 1.5rem; }
.chem-drawer-nav { flex: 1; overflow: auto; }
.chem-drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.chem-drawer-nav > ul > li > a, .chem-drawer-nav summary {
    display: block; padding: 0.9rem 0;
    border-bottom: 1px solid var(--chem-line);
    color: var(--chem-ink); text-decoration: none; font-weight: 700;
}
.chem-drawer-foot { display: grid; gap: 0.6rem; margin-top: 1rem; }
body.drawer-open { overflow: hidden; }

/* Tab bar */
.chem-tabbar {
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 1050;
    height: calc(var(--chem-tabbar) + var(--safe-bottom));
    padding: 0.35rem 0.5rem var(--safe-bottom);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--chem-line);
    box-shadow: 0 -8px 24px rgba(6,21,40,0.06);
}

.chem-tab {
    appearance: none; border: 0; background: transparent;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.15rem; font-size: 0.65rem; font-weight: 700;
    color: var(--chem-muted); text-decoration: none;
    border-radius: 12px; min-height: 52px;
}
.chem-tab i { font-size: 1.1rem; }
.chem-tab.active { color: var(--chem-teal); background: rgba(0,168,150,0.1); }
.chem-tab-call {
    background: var(--chem-navy); color: #fff !important;
    margin-top: -8px; border-radius: 14px;
    box-shadow: 0 8px 20px rgba(12,35,64,0.3);
}
.chem-tab-call i, .chem-tab-call span { color: #fff; }

/* ─── Hero Slider ────────────────────────────────────────── */
.chem-hero {
    position: relative;
    min-height: 0;
    height: auto;
    overflow: hidden;
    background: var(--chem-navy-deep);
}

.chem-hero .carousel-inner,
.chem-hero .carousel-item {
    height: auto;
    min-height: 0;
}

.chem-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.chem-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.chem-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(6, 21, 40, 0.92) 0%,
        rgba(6, 21, 40, 0.78) 45%,
        rgba(6, 21, 40, 0.45) 100%
    );
}

.chem-hero-fallback {
    background: linear-gradient(135deg, var(--chem-navy-deep), var(--chem-navy));
}

.chem-hero-fallback .chem-hero-shade {
    background: radial-gradient(ellipse at 70% 40%, rgba(0, 168, 150, 0.15), transparent 55%);
}

.chem-caption {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    left: auto;
    right: auto;
    bottom: auto;
    top: auto;
    transform: none;
    padding: 2.75rem 0 2.5rem;
    text-align: left;
    color: #fff;
}

.chem-hero-copy {
    max-width: 36rem;
}

.chem-hero-title {
    font-size: clamp(1.65rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 0.85rem;
}

.chem-hero-lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    font-weight: 400;
    max-width: 32rem;
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.chem-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chem-hero-actions .chem-btn {
    font-weight: 600;
    font-size: 0.92rem;
}

.chem-hero-actions .chem-btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
    background: transparent;
}

.chem-hero-actions .chem-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.chem-indicators {
    bottom: 0.85rem;
    z-index: 4;
    margin: 0;
}

.chem-indicators li {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 0;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.chem-indicators li.active {
    background: var(--chem-teal);
    transform: scale(1.2);
}

.chem-control {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    transition: background 0.2s ease;
}

.chem-control:hover,
.chem-control:focus {
    background: var(--chem-teal);
    outline: none;
}

.chem-control-prev { left: 1rem; }
.chem-control-next { right: 1rem; }

.chem-control i {
    font-size: 0.85rem;
    color: #fff;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .chem-caption { padding: 2rem 0 2.25rem; }
}

/* Trust bar */
.chem-trust-bar {
    background: var(--chem-navy);
    color: rgba(255,255,255,0.9);
    padding: 0.85rem 0;
    border-bottom: 3px solid var(--chem-teal);
}

.chem-trust-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1rem;
    list-style: none; margin: 0; padding: 0;
    font-size: 0.82rem; font-weight: 600;
}

@media (min-width: 768px) {
    .chem-trust-list { grid-template-columns: repeat(4, 1fr); }
}

.chem-trust-list li {
    display: flex; align-items: center; gap: 0.5rem;
}
.chem-trust-list i { color: var(--chem-teal-light); }

/* ─── Sections ───────────────────────────────────────────── */
.chem-section { padding: 3.5rem 0; }
.chem-section-head { text-align: center; margin-bottom: 2.5rem; }
.chem-section-head .chem-heading { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 0 0 0.5rem; }

/* Categories */
.chem-categories { background: #fff; }

.chem-cat-carousel {
    position: relative;
    padding: 0 2.75rem 2.5rem;
}

.chem-cat-slide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .chem-cat-slide { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .chem-cat-slide { grid-template-columns: repeat(3, 1fr); }
}

.chem-cat-card {
    display: flex; flex-direction: column;
    padding: 1.35rem;
    background: var(--chem-surface);
    border: 1px solid var(--chem-line);
    border-radius: var(--chem-radius);
    text-decoration: none;
    color: inherit;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 180px;
}

.chem-cat-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--chem-teal), var(--chem-cyan));
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--ease);
}

.chem-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--chem-shadow);
    border-color: rgba(0,168,150,0.3);
    text-decoration: none; color: inherit;
}
.chem-cat-card:hover::before { transform: scaleX(1); }

.chem-cat-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0,168,150,0.15), rgba(34,211,238,0.1));
    color: var(--chem-teal);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}

.chem-cat-card h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--chem-navy);
    margin: 0 0 0.25rem;
}

.chem-cat-card p { font-size: 0.85rem; color: var(--chem-muted); margin: 0 0 0.75rem; }

.chem-cat-link {
    margin-top: auto;
    font-size: 0.85rem; font-weight: 700;
    color: var(--chem-teal);
}

.chem-cat-control {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--chem-navy);
    opacity: 1;
    top: 42%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chem-cat-control:hover {
    background: var(--chem-teal);
    opacity: 1;
}

.chem-cat-control i {
    color: #fff;
    font-size: 0.85rem;
}

.chem-cat-control.carousel-control-prev { left: 0; }
.chem-cat-control.carousel-control-next { right: 0; }

.chem-cat-indicators {
    bottom: 0;
    margin: 0;
}

.chem-cat-indicators li {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(12, 35, 64, 0.25);
    border: 0;
    text-indent: -9999px;
    overflow: hidden;
}

.chem-cat-indicators li.active {
    background: var(--chem-teal);
}

@media (max-width: 575.98px) {
    .chem-cat-carousel { padding: 0 0 2.25rem; }
    .chem-cat-control { display: none; }
}

/* About */
.chem-about { background: linear-gradient(180deg, #fff 0%, var(--chem-surface) 100%); }

.chem-about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 992px) {
    .chem-about-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.chem-about-grid .chem-heading { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }

.chem-checklist {
    list-style: none; margin: 1.25rem 0 1.5rem; padding: 0;
    display: grid; gap: 0.6rem;
}

.chem-checklist li {
    display: flex; align-items: center; gap: 0.6rem;
    font-weight: 600; font-size: 0.92rem;
}

.chem-checklist i {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(0,168,150,0.12);
    color: var(--chem-teal);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; flex-shrink: 0;
}

.chem-about-img-wrap {
    border-radius: var(--chem-radius);
    overflow: hidden;
    box-shadow: var(--chem-shadow);
    border: 1px solid var(--chem-line);
}

.chem-about-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--chem-navy), var(--chem-teal));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    color: rgba(255,255,255,0.9);
    gap: 0.75rem;
    font-weight: 700;
}
.chem-about-placeholder i { font-size: 3rem; opacity: 0.8; }

/* Products */
.chem-products { background: #fff; }

.chem-product-carousel {
    position: relative;
    padding: 0 2.75rem 2.5rem;
}

.chem-product-slide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .chem-product-slide { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .chem-product-slide { grid-template-columns: repeat(3, 1fr); }
}

.chem-product-card {
    background: var(--chem-surface);
    border: 1px solid var(--chem-line);
    border-radius: var(--chem-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
    transition: box-shadow var(--ease), transform var(--ease);
}

.chem-product-card:hover {
    box-shadow: var(--chem-shadow);
    transform: translateY(-3px);
}

.chem-product-media {
    height: 140px;
    background: linear-gradient(135deg, var(--chem-navy), #134e4a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.chem-product-body {
    padding: 1.15rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.chem-product-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--chem-teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.chem-product-card h3 {
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--chem-navy);
    margin: 0 0 0.55rem;
    line-height: 1.3;
}

.chem-product-desc {
    flex: 1;
    font-size: 0.9rem;
    color: var(--chem-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.chem-product-actions { margin-top: auto; }

.chem-product-cta {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--chem-teal);
    text-decoration: none;
}

.chem-product-cta:hover {
    color: var(--chem-navy);
    text-decoration: none;
}

.chem-product-control {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--chem-navy);
    opacity: 1;
    top: 42%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chem-product-control:hover {
    background: var(--chem-teal);
    opacity: 1;
}

.chem-product-control i {
    color: #fff;
    font-size: 0.85rem;
}

.chem-product-control.carousel-control-prev { left: 0; }
.chem-product-control.carousel-control-next { right: 0; }

.chem-product-indicators {
    bottom: 0;
    margin: 0;
}

.chem-product-indicators li {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(12, 35, 64, 0.25);
    border: 0;
    text-indent: -9999px;
    overflow: hidden;
}

.chem-product-indicators li.active {
    background: var(--chem-teal);
}

@media (max-width: 575.98px) {
    .chem-product-carousel { padding: 0 0 2.25rem; }
    .chem-product-control { display: none; }
}

/* Industries */
.chem-industries { background: var(--chem-surface); }

.chem-industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

@media (min-width: 768px) { .chem-industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .chem-industry-grid { grid-template-columns: repeat(6, 1fr); } }

.chem-industry-card {
    background: #fff;
    border: 1px solid var(--chem-line);
    border-radius: var(--chem-radius-sm);
    padding: 1.25rem 0.75rem;
    text-align: center;
    transition: transform var(--ease), border-color var(--ease);
}

.chem-industry-card:hover {
    transform: translateY(-3px);
    border-color: var(--chem-teal);
}

.chem-industry-card i {
    font-size: 1.5rem;
    color: var(--chem-teal);
    margin-bottom: 0.5rem;
    display: block;
}

.chem-industry-card span {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--chem-navy);
    line-height: 1.3;
}

/* Stats */
.chem-stats {
    background: linear-gradient(135deg, var(--chem-navy-deep) 0%, var(--chem-navy) 100%);
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.chem-stats::before {
    content: ""; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.chem-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative; z-index: 1;
}

@media (min-width: 768px) { .chem-stats-grid { grid-template-columns: repeat(4, 1fr); } }

.chem-stat { text-align: center; color: #fff; }
.chem-stat strong {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--chem-teal-light);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.chem-stat span { font-size: 0.85rem; font-weight: 600; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.06em; }

/* CTA */
.chem-cta { padding: 3rem 0 4rem; }

.chem-cta-box {
    background: linear-gradient(135deg, var(--chem-navy) 0%, #0F3460 100%);
    border-radius: var(--chem-radius);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: var(--chem-shadow);
    border: 1px solid rgba(0,168,150,0.2);
}

@media (min-width: 768px) {
    .chem-cta-box {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 2.5rem 2.5rem;
    }
}

.chem-cta-copy h2 {
    font-family: var(--font-body);
    color: #fff;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    margin: 0 0 0.4rem;
}

.chem-cta-copy p { color: rgba(255,255,255,0.8); margin: 0; max-width: 28rem; }
.chem-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ─── Inner pages ────────────────────────────────────────── */
.chem-page-hero, .page-hero {
    background: linear-gradient(135deg, var(--chem-navy-deep), var(--chem-navy));
    color: #fff;
    padding: 2rem 0 2.25rem;
}

.chem-breadcrumb, .page-breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem;
    font-size: 0.82rem; font-weight: 600;
    margin-bottom: 0.75rem; opacity: 0.85;
}

.chem-breadcrumb a, .page-breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.chem-page-title, .page-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    color: #fff;
    margin: 0;
}

.chem-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 168, 150, 0.2);
    border: 1px solid rgba(0, 168, 150, 0.4);
    color: var(--chem-teal-light);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.chem-badge-hero { margin-bottom: 0.75rem; }

.chem-content-page { padding: 2rem 0 3.5rem; }

.chem-content-card {
    background: #fff;
    border: 1px solid var(--chem-line);
    border-radius: var(--chem-radius);
    padding: 1.75rem;
    box-shadow: 0 8px 24px rgba(6,21,40,0.04);
}

.chem-product-lead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--chem-navy);
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--chem-line);
}

.chem-content-cta { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--chem-line); }

/* Contact page (legacy class names kept) */
.contact-page { padding: 2rem 0 3.5rem; }
.contact-quick { display: grid; grid-template-columns: 1fr; gap: 0.85rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-quick { grid-template-columns: repeat(3, 1fr); } }
.contact-quick-card {
    display: flex; flex-direction: column; gap: 0.25rem;
    background: #fff; border: 1px solid var(--chem-line);
    border-radius: var(--chem-radius); padding: 1rem;
    text-decoration: none; color: inherit;
}
a.contact-quick-card:hover { box-shadow: var(--chem-shadow); text-decoration: none; color: inherit; }
.contact-quick-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(0,168,150,0.12); color: var(--chem-teal);
    display: flex; align-items: center; justify-content: center;
}
.contact-layout { display: grid; gap: 1.25rem; }
@media (min-width: 992px) { .contact-layout { grid-template-columns: 1.35fr 0.9fr; } }
.contact-form-panel, .contact-info-card, .contact-map-card {
    background: #fff; border: 1px solid var(--chem-line);
    border-radius: var(--chem-radius); padding: 1.5rem;
}
.contact-field input, .contact-field textarea {
    width: 100%; border: 1px solid var(--chem-line);
    border-radius: 12px; padding: 0.8rem; font: inherit;
}
.contact-field input:focus, .contact-field textarea:focus {
    outline: none; border-color: var(--chem-teal);
    box-shadow: 0 0 0 3px rgba(0,168,150,0.15);
}
.contact-form-grid { display: grid; gap: 0.9rem; }
@media (min-width: 576px) { .contact-form-grid { grid-template-columns: 1fr 1fr; } }
.contact-field-full { grid-column: 1 / -1; }
.contact-submit { margin-top: 1rem; border: 0; cursor: pointer; }
.contact-alert { border-radius: 12px; padding: 0.85rem; margin-bottom: 1rem; font-weight: 600; }
.contact-alert-success { background: #e8f8ef; color: #146c43; }
.contact-alert-error { background: #fdecea; color: #a12b22; }
.contact-map-wrap { aspect-ratio: 16/11; border-radius: 12px; overflow: hidden; position: relative; }
.contact-map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ─── Footer ─────────────────────────────────────────────── */
.chem-footer { background: var(--chem-navy-deep); color: rgba(255,255,255,0.8); margin-top: 0; }
.chem-footer-main { padding: 3rem 0 1.5rem; }

.chem-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) { .chem-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.chem-footer-brand p { font-size: 0.9rem; line-height: 1.7; margin: 1rem 0; max-width: 28rem; }

.chem-footer h4 {
    font-family: var(--font-body);
    color: #fff;
    font-size: 0.95rem;
    margin: 0 0 1rem;
}

.chem-footer ul { list-style: none; margin: 0; padding: 0; }
.chem-footer ul li { margin-bottom: 0.5rem; }
.chem-footer a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.88rem; }
.chem-footer a:hover { color: var(--chem-teal-light); }

.chem-footer-social { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.chem-footer-social a {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.chem-footer-social a:hover { background: var(--chem-teal); }

.chem-footer-ai { margin-top: 1rem; }
.chem-footer-ai-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.45rem;
}
.chem-footer-ai-links a {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
}
.chem-footer-ai-links img {
    width: 18px;
    height: 18px;
    display: block;
    opacity: 0.95;
}

.chem-footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.chem-footer-contact i { color: var(--chem-teal-light); margin-top: 0.2rem; }

.chem-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0 calc(1rem + var(--safe-bottom));
}

.chem-footer-bottom .container {
    display: flex; flex-wrap: wrap;
    justify-content: space-between; align-items: center; gap: 0.5rem;
}

.chem-footer-bottom p { margin: 0; font-size: 0.82rem; opacity: 0.7; }

/* ─── Brochure (pharma clients) ──────────────────────────── */
/* ─── PDF-style company brochure ─────────────────────────── */
body.brochure-shell {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--chem-ink);
    background:
        radial-gradient(ellipse at top, rgba(0, 168, 150, 0.08), transparent 40%),
        linear-gradient(180deg, #d7dee8 0%, #c5cedb 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.pdf-doc { min-height: 100vh; }

.pdf-toolbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(12, 35, 64, 0.1);
    backdrop-filter: blur(10px);
}

.pdf-toolbar-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.pdf-toolbar-back {
    font-weight: 700;
    color: var(--chem-navy);
    text-decoration: none;
}

.pdf-toolbar-back:hover { color: var(--chem-teal); text-decoration: none; }

.pdf-toolbar-meta {
    display: none;
    align-items: center;
    gap: 0.55rem;
    color: var(--chem-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.pdf-toolbar-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--chem-teal);
}

.pdf-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .pdf-toolbar-meta { display: flex; }
}

.pdf-stage {
    max-width: 860px;
    margin: 0 auto;
    padding: 0.85rem 1rem 3rem;
    display: grid;
    gap: 1.5rem;
}

.pdf-page {
    position: relative;
    background: #fff;
    color: var(--chem-ink);
    border-radius: 4px;
    box-shadow:
        0 1px 1px rgba(6, 21, 40, 0.04),
        0 18px 40px rgba(6, 21, 40, 0.14);
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: pdfPageIn 0.55s ease both;
}

.pdf-page:nth-child(1) { animation-delay: 0.02s; }
.pdf-page:nth-child(2) { animation-delay: 0.08s; }
.pdf-page:nth-child(3) { animation-delay: 0.14s; }
.pdf-page:nth-child(4) { animation-delay: 0.2s; }
.pdf-page:nth-child(5) { animation-delay: 0.26s; }
.pdf-page:nth-child(6) { animation-delay: 0.32s; }

@keyframes pdfPageIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.pdf-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.75rem;
    border-bottom: 1px solid var(--chem-line);
    background: linear-gradient(180deg, #f8fafc, #fff);
}

.pdf-page-head-light {
    background: transparent;
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

.pdf-page-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    color: var(--chem-navy);
    font-size: 0.92rem;
}

.pdf-page-head-light .pdf-page-brand { color: #fff; }

.pdf-page-brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.pdf-page-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--chem-teal);
}

.pdf-page-head-light .pdf-page-label { color: var(--chem-teal-light); }

.pdf-page-body {
    padding: 1.75rem;
}

.pdf-page-foot,
.pdf-back-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.75rem;
    border-top: 1px solid var(--chem-line);
    font-size: 0.78rem;
    color: var(--chem-muted);
}

.pdf-page-num,
.pdf-page-num-inline {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pdf-section-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--chem-teal);
}

.pdf-section-eyebrow-light { color: var(--chem-teal-light); }

.pdf-section-gap { margin-top: 2rem; }

.pdf-section-title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.2;
    color: var(--chem-navy);
    font-weight: 800;
}

.pdf-section-title-light { color: #fff; }

.pdf-lead {
    margin: 0 0 1.25rem;
    color: var(--chem-muted);
    max-width: 40rem;
}

.pdf-lead-light { color: rgba(255, 255, 255, 0.82); }

.pdf-prose {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--chem-ink);
}

.pdf-prose-muted {
    color: var(--chem-muted);
    font-size: 0.95rem;
}

.pdf-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .pdf-facts { grid-template-columns: repeat(4, 1fr); }
}

.pdf-fact {
    padding: 0.9rem 0.85rem;
    border-top: 3px solid var(--chem-teal);
    background: var(--chem-surface);
}

.pdf-fact strong {
    display: block;
    color: var(--chem-navy);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.pdf-fact span {
    font-size: 0.78rem;
    color: var(--chem-muted);
}

.pdf-why-grid {
    display: grid;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .pdf-why-grid { grid-template-columns: repeat(2, 1fr); }
}

.pdf-why {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--chem-line);
}

.pdf-why i {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 168, 150, 0.12);
    color: var(--chem-teal);
    flex-shrink: 0;
}

.pdf-why strong {
    display: block;
    color: var(--chem-navy);
    margin-bottom: 0.2rem;
}

.pdf-why p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--chem-muted);
    line-height: 1.5;
}

.pdf-cat-list { display: grid; gap: 0.85rem; }

.pdf-cat-row {
    display: grid;
    gap: 0.65rem;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--chem-line);
}

@media (min-width: 768px) {
    .pdf-cat-row {
        grid-template-columns: 1.1fr 1fr;
        align-items: start;
        gap: 1.25rem;
    }
}

.pdf-cat-main {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.pdf-cat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--chem-navy);
    color: var(--chem-teal-light);
    flex-shrink: 0;
}

.pdf-cat-main strong {
    display: block;
    color: var(--chem-navy);
    margin-bottom: 0.15rem;
}

.pdf-cat-main p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--chem-muted);
}

.pdf-cat-children {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.pdf-cat-children li {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--chem-navy);
    background: var(--chem-surface);
    border: 1px solid var(--chem-line);
    padding: 0.28rem 0.55rem;
}

.pdf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
}

.pdf-table th,
.pdf-table td {
    padding: 0.7rem 0.65rem;
    border-bottom: 1px solid var(--chem-line);
    text-align: left;
    vertical-align: top;
}

.pdf-table th {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--chem-muted);
    background: var(--chem-surface);
    border-bottom-color: rgba(12, 35, 64, 0.18);
}

.pdf-table td strong {
    display: block;
    color: var(--chem-navy);
}

.pdf-table-note {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: var(--chem-muted);
    font-weight: 400;
}

.pdf-note {
    margin: 0;
    font-size: 0.82rem;
    color: var(--chem-muted);
    font-style: italic;
}

.pdf-industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .pdf-industry-grid { grid-template-columns: repeat(3, 1fr); }
}

.pdf-industry {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.75rem 0.7rem;
    border: 1px solid var(--chem-line);
    background: var(--chem-surface);
}

.pdf-industry i { color: var(--chem-teal); }

.pdf-industry span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--chem-navy);
}

.pdf-partner-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

@media (min-width: 768px) {
    .pdf-partner-list { grid-template-columns: repeat(2, 1fr); }
}

.pdf-partner-list li {
    position: relative;
    padding: 0.65rem 0.75rem 0.65rem 1.6rem;
    border-bottom: 1px solid var(--chem-line);
    font-weight: 600;
    color: var(--chem-navy);
}

.pdf-partner-list li::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    top: 1.05rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--chem-teal);
}

.pdf-promise {
    margin-top: 1.25rem;
    padding: 1.1rem 1.15rem;
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.04), rgba(0, 168, 150, 0.08));
    border-left: 3px solid var(--chem-teal);
}

.pdf-promise strong {
    display: block;
    color: var(--chem-navy);
    margin-bottom: 0.25rem;
}

.pdf-promise p {
    margin: 0;
    color: var(--chem-muted);
    font-size: 0.9rem;
}

.pdf-promise-light {
    margin: 1.25rem 0 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-left-color: var(--chem-teal-light);
}

.pdf-promise-light strong,
.pdf-promise-light p {
    color: rgba(255, 255, 255, 0.92);
}

.pdf-promise-light p {
    color: rgba(255, 255, 255, 0.75);
}

.pdf-empty { color: var(--chem-muted); }

/* Cover page */
.pdf-page-cover {
    background:
        radial-gradient(circle at 85% 15%, rgba(0, 168, 150, 0.22), transparent 35%),
        radial-gradient(circle at 10% 80%, rgba(34, 211, 238, 0.12), transparent 40%),
        linear-gradient(160deg, var(--chem-navy-deep) 0%, var(--chem-navy) 48%, #0f3f3a 100%);
    color: #fff;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto auto;
}

.pdf-cover-inner {
    display: grid;
    gap: 1.35rem;
    padding: 1.75rem 1.5rem 0;
    min-height: 0;
}

@media (min-width: 768px) {
    .pdf-cover-inner {
        grid-template-columns: 1.25fr 1fr;
        gap: 1.5rem;
        align-items: stretch;
        padding: 2rem 2rem 0;
    }
}

.pdf-cover-brand-block {
    display: flex;
    flex-direction: column;
}

.pdf-cover-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0.55rem;
    margin-bottom: 1rem;
}

.pdf-cover-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--chem-teal-light);
}

.pdf-cover-brand {
    margin: 0 0 0.5rem;
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pdf-cover-tagline {
    margin: 0 0 0.85rem;
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.84);
    max-width: 28rem;
}

.pdf-cover-lead {
    margin: 0 0 1.1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 34rem;
}

.pdf-cover-ranges {
    margin-top: 0;
}

.pdf-cover-range-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pdf-cover-range-list li {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
}

.pdf-cover-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.65rem;
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    height: 100%;
    box-sizing: border-box;
}

.pdf-cover-side-label {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--chem-teal-light);
}

.pdf-cover-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    flex: 1;
}

.pdf-cover-points li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pdf-cover-points li:last-child { border-bottom: 0; }

.pdf-cover-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--chem-teal-light);
}

.pdf-cover-bands {
    display: grid;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 768px) {
    .pdf-cover-bands { grid-template-columns: repeat(3, 1fr); }
}

.pdf-cover-band {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .pdf-cover-band {
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    .pdf-cover-band:last-child { border-right: 0; }
}

.pdf-cover-band strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
}

.pdf-cover-band span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
}

.pdf-cover-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.5rem 1.1rem;
}

@media (min-width: 768px) {
    .pdf-cover-foot { padding: 0.95rem 2rem 1.15rem; }
}

.pdf-cover-foot strong {
    display: block;
    margin-bottom: 0.15rem;
}

.pdf-cover-foot span,
.pdf-cover-contact span {
    display: block;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.75);
}

.pdf-page-cover .pdf-page-num-inline {
    color: rgba(255, 255, 255, 0.55);
}

/* Back / contact page */
.pdf-page-back {
    background:
        radial-gradient(circle at 80% 20%, rgba(0, 168, 150, 0.2), transparent 35%),
        linear-gradient(160deg, var(--chem-navy) 0%, #0f3f3a 100%);
    color: #fff;
}

.pdf-contact-grid {
    display: grid;
    gap: 0.85rem;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .pdf-contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.pdf-contact-block {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.pdf-contact-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--chem-teal-light);
    margin-bottom: 0.3rem;
}

.pdf-contact-block a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.02rem;
    word-break: break-word;
}

.pdf-address {
    margin: 0.5rem 0 1.5rem;
}

.pdf-address p {
    margin: 0.25rem 0 0.55rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    max-width: 36rem;
}

.pdf-map-link {
    color: var(--chem-teal-light);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.pdf-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.pdf-btn-light {
    border-color: rgba(255, 255, 255, 0.45) !important;
    color: #fff !important;
}

.pdf-back-foot {
    border-top-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.7);
}

.pdf-back-foot strong {
    display: block;
    color: #fff;
    margin-bottom: 0.15rem;
}

@media (max-width: 767px) {
    .pdf-page-body { padding: 1.25rem; }
    .pdf-page-head,
    .pdf-page-foot,
    .pdf-back-foot,
    .pdf-cover-inner,
    .pdf-cover-foot { padding-left: 1.25rem; padding-right: 1.25rem; }
    .pdf-cover-inner { padding-top: 1.5rem; }
}

@media print {
    @page {
        size: A4;
        margin: 0;
    }

    body.brochure-shell {
        background: #fff !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .no-print,
    .pdf-toolbar {
        display: none !important;
    }

    .pdf-stage {
        max-width: none;
        margin: 0;
        padding: 0;
        gap: 0;
        display: block;
    }

    .pdf-page,
    .pdf-page-cover {
        width: 210mm;
        min-height: 297mm;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        page-break-after: always;
        break-after: page;
        animation: none;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .pdf-page:last-child {
        page-break-after: auto;
        break-after: auto;
    }
}

/* ─── Animations ─────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(20px); transition: 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* Legacy hide — prevent old theme nav rules leaking in */
.inner-banner { display: none !important; }
.site-header.header-one .top-bar { display: none; }
