/* APCCO Cosmetics / Clients V39 — independent names, never simulated logos. */
.cos39{--c39-ink:#183a40;--c39-teal:#117b73;--c39-moss:#3b817b;--c39-paper:#f6f8f6;--c39-line:#dce8e5;color:var(--c39-ink);font-family:inherit}
.cos39 *{box-sizing:border-box}
.cos39-hero{min-height:385px;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,.55fr);background:linear-gradient(110deg,#eaf2ef 0%,#f9fbf8 60%,#e0ebe5 100%);border-bottom:1px solid var(--c39-line)}
.cos39-hero-copy{padding:clamp(56px,6vw,100px) 5vw clamp(42px,5vw,76px);align-self:center}
.cos39-eyebrow{display:block;color:#107f79;letter-spacing:.17em;text-transform:uppercase;font-weight:800;font-size:11px;line-height:1.8}
.cos39-hero h1{font-size:clamp(41px,5vw,75px);letter-spacing:-.055em;line-height:1.07;margin:21px 0;color:#173b42;max-width:700px;font-family:inherit;font-weight:800}
.cos39-hero h1 em{font-style:normal;color:#189b91}
.cos39-hero p{font-size:clamp(15px,1.25vw,18px);color:#566f75;line-height:1.85;max-width:720px;margin:0}
.cos39-hero-count{border-inline-start:1px solid #cddfd8;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(150deg,#14554e,#0b3a3d);color:#fff;padding:20px}
.cos39-hero-count strong{font-family:inherit;font-size:clamp(96px,12vw,170px);font-weight:800;line-height:1;letter-spacing:-.08em}
.cos39-hero-count span{font-size:12px;text-transform:uppercase;letter-spacing:.13em;margin-top:18px;color:#d6ebe5}
.cos39-main{padding:clamp(58px,6vw,90px) 5vw clamp(50px,5vw,74px);max-width:1660px;margin:0 auto}
.cos39-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:32px}
.cos39-head h2{font-size:clamp(30px,3vw,43px);font-weight:800;letter-spacing:-.04em;line-height:1.16;margin:10px 0 13px;color:var(--c39-ink)}
.cos39-head p{font-size:15px;line-height:1.75;color:#637b7c;max-width:650px;margin:0}
.cos39-search{width:min(100%,370px);flex-shrink:0;display:flex;flex-direction:column;gap:10px;font-size:12px;font-weight:800;color:#496b69}
.cos39-search input{background:#fff;border:1px solid #cbdcd6;border-radius:2px;padding:15px 18px;font:inherit;font-size:14px;font-weight:500;color:#1f4547;width:100%;outline-offset:3px;min-height:51px}
.cos39-search input:focus{border-color:#15968b;outline:2px solid #15968b35}
.cos39-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cos39-card{position:relative;background:#fff;border:1px solid var(--c39-line);padding:21px 20px;min-height:132px;display:flex;flex-direction:column;justify-content:space-between;gap:15px;overflow:hidden;transition:border-color .2s,transform .2s,box-shadow .2s}
.cos39-card:hover{border-color:#a4c8bd;transform:translateY(-2px);box-shadow:0 10px 24px #153c3020}
.cos39-card-index{font-size:10px;font-weight:800;letter-spacing:.15em;color:#87aaa1}
.cos39-card strong{font-size:clamp(14px,1.25vw,18px);font-weight:800;line-height:1.35;letter-spacing:-.01em;color:#173e45;overflow-wrap:anywhere;text-align:start}
.cos39-card-ornament{position:absolute;bottom:0;inset-inline-end:0;width:42px;height:3px;background:linear-gradient(90deg,#17b4a2,#9eccc2)}
.cos39-card[hidden],.cos39-no-match[hidden]{display:none!important}
.cos39-no-match{padding:34px;background:#f0f6f4;text-align:center;border:1px solid #d7e5de;color:#4f7370}
.cos39-note{max-width:970px;margin:31px 0 0;color:#7c8b8a;font-size:12px;line-height:1.9}
.cos39-cta{display:flex;gap:30px;justify-content:space-between;align-items:center;padding:55px 5vw;background:#123d40;color:#fff}
.cos39-cta h2{margin:0 0 11px;font-size:clamp(25px,2.4vw,34px);letter-spacing:-.025em;color:#fff}
.cos39-cta p{margin:0;color:#d8e9e6;font-size:15px;line-height:1.7}
.cos39-cta a{background:#fff;color:#143b3d;padding:17px 22px;flex-shrink:0;display:inline-flex;gap:22px;align-items:center;font-weight:800;font-size:13px;text-decoration:none}
.cos39-home{padding:clamp(55px,5vw,78px) 5vw;background:#f6f9f7}
.cos39-home-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:30px}
.cos39-home-head h2{font-size:clamp(28px,3.25vw,46px);letter-spacing:-.04em;line-height:1.15;margin:10px 0;color:#153d41}
.cos39-home-head p{margin:0;color:#607774;line-height:1.7;font-size:15px}
.cos39-home-head>a{font-size:13px;font-weight:800;color:#0d827b;text-decoration:none;white-space:nowrap;padding-bottom:5px;border-bottom:1px solid #24958b}
.cos39-home-brands{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.cos39-home-brands>div{padding:25px 14px;background:#fff;border:1px solid #dce9e4;display:flex;justify-content:center;align-items:center;text-align:center;min-height:84px;font-size:clamp(15px,1.5vw,21px);font-weight:800;color:#23464b;overflow-wrap:anywhere}
.cos36-ar .cos39-hero h1,.cos36-ar .cos39-head h2,.cos36-ar .cos39-home-head h2{letter-spacing:normal}
.cos36-ar .cos39-hero-count strong,.cos36-ar .cos39-card-index{font-variant-numeric:tabular-nums}
@media(max-width:1050px){.cos39-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cos39-home-brands{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){.cos39-hero{grid-template-columns:1fr;min-height:0}.cos39-hero-copy{padding:45px 6vw 37px}.cos39-hero-count{padding:18px 6vw;flex-direction:row;justify-content:space-between}.cos39-hero-count strong{font-size:70px}.cos39-hero-count span{margin:0;text-align:end}.cos39-main{padding:52px 6vw}.cos39-head{flex-direction:column;align-items:stretch}.cos39-search{width:100%}.cos39-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cos39-card{min-height:115px;padding:17px 15px}.cos39-cta{padding:45px 6vw;flex-direction:column;align-items:start}.cos39-home{padding:55px 6vw}.cos39-home-head{flex-direction:column;align-items:start}.cos39-home-brands{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.cos39-grid{gap:8px}.cos39-card{padding:15px 12px;min-height:112px}.cos39-card strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.cos39-card{transition:none}}

/* APCCO Cosmetics 39.1 — authentic client logo wall. */
.cos39-card:has(.cos391-logo-stage){min-height:168px;padding:14px 18px 16px;gap:9px;align-items:center;text-align:center}
.cos39-card:has(.cos391-logo-stage) .cos39-card-index{align-self:flex-start}
.cos391-logo-stage{display:flex;align-items:center;justify-content:center;width:100%;height:78px}
.cos391-logo-stage img{display:block;max-width:94%;width:auto;max-height:75px;height:auto;object-fit:contain;object-position:center}
.cos39-card:has(.cos391-logo-stage) strong{text-align:center;font-size:12px;line-height:1.3;font-weight:700}
.cos39-home-brands>div:has(.cos391-logo-stage){flex-direction:column;gap:5px;min-height:103px;padding:12px 10px}
.cos39-home-brands .cos391-logo-stage{height:57px}
.cos39-home-brands .cos391-logo-stage img{max-height:55px}
.cos39-home-brands>div:has(.cos391-logo-stage) small{font-size:11px;font-weight:600;color:#486368}
@media(max-width:760px){.cos39-card:has(.cos391-logo-stage){min-height:148px;padding:13px 10px}.cos391-logo-stage{height:67px}.cos391-logo-stage img{max-height:61px}}
