/* Glow Health Pharma concept site v2. Colours sampled from Glow's company profile and logo (navy #030459, blue #2854BE, green #00A85A).
   Fonts, all self-hosted (SIL OFL): Source Sans 3 (body, humanist sans), Manrope (headings), Kantumruy Pro (Khmer pages and the Khmer company name). */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/manrope-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Kantumruy Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/kantumruypro-400-khmer.woff2") format("woff2"); unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC; }
@font-face { font-family: "Kantumruy Pro"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/kantumruypro-600-khmer.woff2") format("woff2"); unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC; }
@font-face { font-family: "Kantumruy Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/kantumruypro-700-khmer.woff2") format("woff2"); unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC; }

:root {
  --navy: #030459; --blue: #2854BE; --blue-hover: #1F449C; --green: #00A85A; --green-light: #5ABD4E; --green-text: #007A41;
  --ink: #101A3D; --muted: #4A5573; --line: #DCE4F2; --panel: #F2F6FB; --mint: #EAF7F0; --white: #FFFFFF;
  --body: "Source Sans 3", "Kantumruy Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head: "Manrope", "Source Sans 3", system-ui, sans-serif;
  --radius: 16px; --shadow: 0 1px 2px rgba(3, 4, 89, .05), 0 8px 28px rgba(3, 4, 89, .07);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 18px; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 30; }
.skip:focus { left: 8px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 64ch; }
.eyebrow, .kicker { font-family: var(--head); font-weight: 700; color: var(--green-text); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .6em; }

/* icons: one line set */
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
.ic.lg { width: 30px; height: 30px; }
.ic.badge { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--mint); color: var(--green-text); }

/* banner, header, nav */
.banner { background: var(--navy); color: #fff; font-size: .85rem; text-align: center; padding: 8px 16px; line-height: 1.45; }
.top { background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 15; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-text); }
.brand img { width: 44px; height: 44px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name b { font-family: var(--head); font-weight: 800; font-size: 1.08rem; }
.brand-name small { font-family: "Kantumruy Pro", var(--body); font-size: .78rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--navy); padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.nav a:hover { background: var(--panel); }
.nav a[aria-current="page"] { color: var(--blue); background: var(--panel); box-shadow: inset 0 -3px 0 var(--green); border-radius: 10px 10px 0 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 12px; border: 2px solid var(--blue); font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.btn.ghost { background: #fff; color: var(--blue); }
.btn.ghost:hover { background: var(--panel); color: var(--blue-hover); }
.btn.light { background: #fff; color: var(--navy); border-color: #fff; }
.btn.light:hover { background: var(--mint); color: var(--navy); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 0; }

/* hero */
.hero { background: linear-gradient(160deg, var(--panel) 0%, #fff 55%, var(--mint) 100%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; padding: 72px 20px; }
.hero-forms { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-forms li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.hero-forms .ic { color: var(--green-text); }
.hero-art { display: flex; justify-content: center; }
.hero-disc { width: min(360px, 80vw); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: var(--shadow), 0 0 0 14px rgba(0, 168, 90, .08), 0 0 0 28px rgba(40, 84, 190, .05); display: grid; place-items: center; }
.hero-disc img { width: 62%; height: auto; }

/* sections and cards */
.section { padding: 72px 0; }
.section.alt { background: var(--panel); }
.section-title { margin-bottom: .7em; }
.page-head { background: linear-gradient(160deg, var(--panel), #fff); border-bottom: 1px solid var(--line); padding: 56px 0 44px; }
.page-head h1 { margin-bottom: .3em; }
.page-head .lead { margin: 0; }
.grid { display: grid; gap: 22px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start; }
.two.even { grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.two > *, .grid > * { min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.feature .ic.badge, .quote .ic.badge, .step .ic.badge { margin-bottom: 16px; }
.feature p, .quote p, .step p { color: var(--muted); }

/* category cards (home) */
.cats { margin-top: 30px; }
.cat { display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 0; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(3, 4, 89, .12); color: inherit; }
.cat .art { display: block; width: 100%; height: auto; }
.cat-body { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 24px; flex: 1; }
.cat-body h3 { margin: 0; }
.cat-count { display: inline-flex; align-items: center; gap: 6px; color: var(--green-text); font-weight: 600; font-size: .9rem; }
.cat-blurb { color: var(--muted); }
.more { margin-top: auto; padding-top: 10px; color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* band: who we supply */
.band { background: var(--navy); color: #fff; padding: 40px 0; }
.band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0; font-size: 1.35rem; }
.serve { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.serve li { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 12px 20px; font-weight: 600; font-size: 1.05rem; }
.serve .ic { color: #fff; }

/* contact strip */
.strip { background: linear-gradient(120deg, var(--blue-hover), var(--blue)); color: #fff; padding: 40px 0; }
.strip-in { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 24px; align-items: center; }
.strip p { margin: 0; }
.strip-text { font-family: var(--head); font-weight: 700; font-size: 1.25rem; line-height: 1.35; }
.strip-links { display: flex; flex-direction: column; gap: 6px; }
.strip-links a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.strip-links a:hover { color: #fff; text-decoration: underline; }

/* about */
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.facts li { display: flex; flex-direction: column; border-left: 4px solid var(--green); background: var(--panel); border-radius: 0 12px 12px 0; padding: 12px 18px; }
.facts b { font-family: var(--head); color: var(--navy); font-size: 1.2rem; }
.facts span { color: var(--muted); font-size: .95rem; }
.side-art .art { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; }
.step-n { position: absolute; top: 20px; right: 22px; font-family: var(--head); font-weight: 800; font-size: 2rem; color: #C9D5EA; line-height: 1; }

/* products */
.filter { border: 0; padding: 0; margin: 0 0 34px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filter legend { float: left; font-weight: 600; color: var(--muted); margin-right: 6px; padding: 0; }
.filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter label { cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.filter label:hover { background: var(--panel); }
.filter input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter input:focus-visible + label { outline: 3px solid var(--green); outline-offset: 2px; }
.plist:has(#f-tablets:checked) .pcat:not(#tablets),
.plist:has(#f-injections-infusions:checked) .pcat:not(#injections-infusions),
.plist:has(#f-syrups-suspensions:checked) .pcat:not(#syrups-suspensions) { display: none; }
.pcat { margin-bottom: 48px; }
.pcat-head { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pcat-head h2 { margin: 0 0 .1em; font-size: 1.5rem; }
.pcat-head p { margin: 0; color: var(--muted); }
.pcat-head .n { color: var(--muted); font-weight: 700; font-size: 1.1rem; }
.prod { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-top: 4px solid var(--green); }
.prod h3 { margin: 0; font-size: 1.15rem; }
.ingr { margin: 0; color: var(--ink); }
.lbl { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.meta { margin: 0; display: grid; gap: 6px; border-top: 1px dashed var(--line); padding-top: 12px; }
.meta div { display: flex; justify-content: space-between; gap: 12px; }
.meta dt { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .95rem; }
.meta dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.meta .ic, .lbl .ic { width: 17px; height: 17px; color: var(--green-text); }
.details { margin: 6px 0 0; color: var(--muted); }
.notes { display: grid; gap: 12px; margin-top: 10px; }
.required { display: flex; gap: 12px; align-items: flex-start; margin: 0; background: var(--mint); border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; padding: 14px 18px; font-weight: 600; color: var(--ink); }
.required .ic { color: var(--green-text); margin-top: 3px; }
.orders { margin: 10px 0 0; font-weight: 600; color: var(--navy); }

/* contact */
.contact-card h2 { font-size: 1.35rem; }
.contact-card p { display: flex; gap: 16px; align-items: center; margin: 0 0 18px; }
.contact-card p span { display: flex; flex-direction: column; min-width: 0; }
.contact-card a { overflow-wrap: anywhere; }
.contact-card b { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.demo-form { display: grid; gap: 14px; }
.demo-form h2 { font-size: 1.35rem; margin: 0; }
.demo-form label { display: grid; gap: 6px; font-weight: 600; color: var(--navy); }
.demo-form input, .demo-form textarea { font: inherit; padding: 11px 13px; border: 1px solid #B9C6DF; border-radius: 10px; background: #fff; color: var(--ink); }
.demo-form input:focus, .demo-form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(40, 84, 190, .18); }
.demo-form .btn { justify-self: start; }
.demo-note { display: none; margin: 0; background: var(--mint); color: var(--ink); border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.demo-note.on { display: block; }

/* footer */
.foot { background: var(--navy); color: #DDE3F5; padding: 52px 0 26px; }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
.foot h2 { color: #fff; font-size: 1rem; margin-bottom: 1em; }
.foot a { color: #fff; }
.foot p { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; }
.foot .ic { color: var(--green-light); margin-top: 3px; }
.lockup { background: #fff; border-radius: 14px; padding: 10px; width: 180px; height: auto; }
.slogan { font-family: var(--head); font-weight: 700; color: #fff; margin-top: 14px; }
.foot-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; color: #fff; }
.foot-note { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 34px; padding-top: 20px; font-size: .9rem; color: #B7C0DE; }
.foot-note p { margin: 0 0 6px; }
.advice { color: #fff; font-weight: 600; }

/* tablet and phone */
@media (max-width: 1000px) {
  .grid.four, .steps { grid-template-columns: repeat(2, 1fr); }
  .strip-in { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .grid.three, .two, .two.even, .foot-in { grid-template-columns: 1fr; }
  .hero-in { grid-template-columns: 1fr; padding: 44px 20px; gap: 28px; }
  .hero-art { order: -1; }
  .hero-disc { width: 180px; box-shadow: var(--shadow), 0 0 0 10px rgba(0, 168, 90, .08); }
  .section { padding: 52px 0; }
  .page-head { padding: 40px 0 32px; }
  /* phone: the links wrap onto as many lines as they need, so every link is on screen without scrolling or JavaScript (Dwight) */
  .top { position: relative; }
  .top-in { flex-wrap: wrap; gap: 4px 12px; padding-top: 10px; padding-bottom: 8px; }
  .nav { width: 100%; flex-wrap: wrap; gap: 4px 2px; margin: 0 -8px; }
  .nav a { padding: 6px 10px; font-size: .95rem; flex: none; white-space: nowrap; }
  .lang { order: 1; } .nav { order: 2; } /* phone: the EN/KM switch stays on the first row, next to the logo */
  .banner { font-size: .78rem; padding: 6px 12px; }
  .side-art { display: none; }
}
@media (max-width: 560px) {
  .grid.four, .steps { grid-template-columns: 1fr; }
  .serve { flex-direction: column; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* EN/KM switch: two links in the header, the active one marked (aria-current). */
.lang { display: flex; align-items: center; gap: 2px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.lang a { text-decoration: none; color: var(--navy); padding: 8px 10px; border-radius: 10px; }
.lang a:hover { background: var(--panel); }
.lang a[aria-current="true"] { color: var(--blue); background: var(--panel); box-shadow: inset 0 -3px 0 var(--green); border-radius: 10px 10px 0 0; }
.lang a + a { border-left: 1px solid var(--line); border-radius: 0; }
.lang a + a[aria-current="true"] { border-radius: 10px 10px 0 0; }
.lang a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 860px) { .lang a { padding: 6px 8px; } }

/* Khmer (pages under /glow_health_pharma/km/ and the ខ្មែរ switch): Kantumruy Pro, self-hosted, Khmer block only, so Latin
   words and numbers keep Source Sans 3 and Manrope. Khmer needs room for its stacked vowels: line-height 1.6 or more. */
html:lang(km) { --body: "Kantumruy Pro", "Source Sans 3", system-ui, sans-serif; --head: "Kantumruy Pro", "Manrope", "Source Sans 3", system-ui, sans-serif; }
:lang(km) { line-height: 1.6 !important; letter-spacing: normal !important; }
[lang="km"] { font-family: "Kantumruy Pro", var(--body); }

/* www.glowhealthpharma.com contact form (LSK-241): appended to site.css in the live build only. */
.demo-note.bad { background: #FDECEC; color: #8A1C1C; }
.form-privacy { margin: 0; font-size: .92rem; color: var(--ink); }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn:disabled { opacity: .6; cursor: not-allowed; }
