/* ============================================================
   KeteBio — corporate/clinical theme
   Inspired by premium CDMO sites (Bachem-style): white base,
   deep primary, generous spacing, refined typography.
   ============================================================ */
:root {
  --ink: #0e2230;
  --ink-soft: #51697a;
  --ink-mute: #8ba0ae;
  --primary: #0e6e5c;
  --primary-deep: #0a5146;
  --primary-soft: #e6f2ef;
  --gold: #c19a3f;
  --bg: #ffffff;
  --bg-soft: #f5f8f7;
  --line: #e4ece9;
  --wa: #25d366;
  --wa-deep: #128c4b;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Manrope', 'Inter', -apple-system, sans-serif;
  --shadow: 0 1px 2px rgba(14,34,48,.05), 0 10px 34px rgba(14,34,48,.08);
  --shadow-lg: 0 2px 6px rgba(14,34,48,.06), 0 22px 60px rgba(14,34,48,.16);
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary-deep); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ---------- topbar ---------- */
.topbar { background: var(--ink); color: #a9bfc9; font-size: 12.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #dbe9ef; }
.topbar a:hover { color: #fff; }
.topbar-trust strong { color: #fff; font-weight: 600; }
.topbar-contact { letter-spacing: .2px; }

/* ---------- header ---------- */
.site-header { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex-shrink: 0; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; box-shadow: 0 4px 12px rgba(14,110,92,.3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.2px; }
.brand-text em { font-style: normal; font-size: 11px; color: var(--ink-mute); letter-spacing: .3px; }
.main-nav { display: flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 500; }
.main-nav a { color: var(--ink-soft); padding: 8px 13px; border-radius: 8px; }
.main-nav a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.main-nav a.nav-cta { background: var(--primary); color: #fff; padding: 9px 18px; border-radius: 8px; font-weight: 600; margin-left: 8px; }
.main-nav a.nav-cta:hover { background: var(--primary-deep); }
.main-nav a.nav-wa { background: var(--wa); }
.main-nav a.nav-wa:hover { background: var(--wa-deep); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 600px at 85% -10%, #0e6e5c22 0%, transparent 55%), linear-gradient(180deg, #f0f7f5 0%, #ffffff 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 74px; padding-bottom: 84px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-family: var(--display); font-size: clamp(38px, 4.4vw, 60px); line-height: 1.08; font-weight: 800; letter-spacing: -1.6px; color: var(--ink); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lede { font-size: 17.5px; color: var(--ink-soft); max-width: 560px; line-height: 1.7; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 30px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); display: inline-block; }
.hero-art { display: flex; justify-content: center; align-items: center; }
.hero-vial-card { background: linear-gradient(150deg, #0b1f2e, #0e3a4a 60%, #0a5146); border-radius: 24px; padding: 10px; box-shadow: 0 30px 70px rgba(10,50,60,.35); border: 1px solid rgba(255,255,255,.12); width: min(460px, 100%); }
.hero-vial-card img { width: 100%; height: auto; display: block; border-radius: 16px; aspect-ratio: 586/460; object-fit: cover; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- stats band ---------- */
.stats-band { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 38px; padding-bottom: 38px; }
.stat { display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.14); padding-left: 22px; }
.stat strong { font-family: var(--display); font-size: 36px; font-weight: 800; letter-spacing: -1px; color: #fff; }
.stat span { font-size: 13px; color: #93b3bf; margin-top: 2px; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.8px; line-height: 1.2; }
.section-head .eyebrow { margin-bottom: 10px; }
.more { font-size: 14px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.more:hover { text-decoration: underline; }
.empty { color: var(--ink-mute); padding: 40px 0; text-align: center; }
h2, h3, h4 { font-family: var(--display); color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 15px; cursor: pointer; border: 1.5px solid transparent; transition: all .18s ease; text-decoration: none; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(14,110,92,.28); }
.btn-primary:hover { background: var(--primary-deep); box-shadow: 0 6px 20px rgba(14,110,92,.35); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-deep); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-light { background: #fff; color: var(--primary-deep); }
.btn-light:hover { background: var(--primary-soft); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 4px 14px rgba(37,211,102,.3); }
.btn-wa:hover { background: var(--wa-deep); color: #fff; }

/* ---------- capability cards ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cap-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; transition: all .2s ease; color: var(--ink); }
.cap-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; text-decoration: none; }
.cap-icon { font-size: 30px; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--primary-soft); }
.cap-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.cap-card p { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.cap-link { font-size: 13px; font-weight: 600; color: var(--primary); margin-top: 16px; }

/* ---------- quality dark band ---------- */
.quality-band { background: linear-gradient(135deg, #0a5146 0%, #0e6e5c 60%, #0e2230 160%); color: #e8f4f0; }
.quality-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; padding-top: 80px; padding-bottom: 80px; align-items: center; }
.eyebrow.light { color: #7fe0c4; background: rgba(127,224,196,.12); }
.quality-copy h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.8px; margin-bottom: 16px; line-height: 1.2; }
.quality-copy > p { color: #b5d5cd; font-size: 16px; max-width: 520px; margin-bottom: 30px; }
.quality-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quality-points div { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; }
.quality-points strong { font-family: var(--display); font-size: 19px; color: #7fe0c4; }
.quality-points span { font-size: 12px; color: #b5d5cd; margin-top: 3px; }
.quality-spec { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lg); }
.quality-spec h3 { font-size: 18px; margin-bottom: 18px; }
.quality-spec ul { list-style: none; margin-bottom: 24px; }
.quality-spec li { padding: 9px 0 9px 26px; position: relative; font-size: 14.5px; color: var(--ink-soft); border-bottom: 1px solid var(--bg-soft); }
.quality-spec li:last-child { border-bottom: none; }
.quality-spec li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

/* ---------- product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 24px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .22s ease; color: var(--ink); display: flex; flex-direction: column; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); text-decoration: none; }
.pcard-img { aspect-ratio: 1/1; background: linear-gradient(145deg, var(--bg-soft), #eaf3f0); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-badge { position: absolute; top: 12px; left: 12px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .6px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.ph { display: flex; align-items: center; justify-content: center; color: var(--primary); width: 100%; height: 100%; opacity: .9; }
.ph.big { min-height: 220px; }
.pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 5px; line-height: 1.3; }
.meta { font-size: 12.5px; color: var(--ink-mute); margin-bottom: 8px; font-weight: 500; }
.sum { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 12px; }
.pcard-more { font-size: 13px; font-weight: 700; color: var(--primary); margin-top: auto; }

/* ---------- videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.vcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: all .22s ease; }
.vcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); text-decoration: none; }
.vcard-img { aspect-ratio: 16/9; background: linear-gradient(135deg, #0e2230, #0e6e5c); display: flex; align-items: center; justify-content: center; position: relative; }
.vcard-img img { width: 100%; height: 100%; object-fit: cover; }
.vplay { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--primary-deep); display: flex; align-items: center; justify-content: center; font-size: 18px; padding-left: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.3); transition: transform .2s; }
.vplay.big { width: 78px; height: 78px; font-size: 24px; }
.vcard:hover .vplay { transform: scale(1.12); }
.dur-chip { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.75); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 6px; letter-spacing: .5px; }
.vcard-body { padding: 18px 20px; }
.vcard-body h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.vmeta { font-size: 12px; color: var(--ink-mute); font-weight: 500; text-transform: uppercase; letter-spacing: .6px; }
.vcard-body .sum { margin-top: 4px; }

/* ---------- cta band ---------- */
.cta { background: linear-gradient(135deg, var(--ink) 0%, #123a4d 60%, var(--primary-deep) 140%); color: #fff; padding: 76px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% 120%, rgba(127,224,196,.2), transparent); }
.cta .container { position: relative; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -.8px; margin-bottom: 12px; }
.cta p { color: #b5d5cd; font-size: 16px; margin-bottom: 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- page head ---------- */
.page-head { background: linear-gradient(180deg, var(--primary-soft), #fff); border-bottom: 1px solid var(--line); padding: 52px 0 40px; }
.page-head h1 { font-family: var(--display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.page-head p { color: var(--ink-soft); margin-top: 10px; font-size: 16px; max-width: 640px; }
.crumb { font-size: 13px; color: var(--ink-mute); margin-bottom: 12px; }
.crumb a { color: var(--primary); font-weight: 500; }

/* ---------- filters ---------- */
.filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 30px 0 34px; }
.filters a { padding: 8px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); background: #fff; }
.filters a.on, .filters a:hover { background: var(--primary); border-color: var(--primary); color: #fff; text-decoration: none; }
.filters .search { margin-left: auto; }
.filters input { padding: 9px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; width: 230px; outline: none; }
.filters input:focus { border-color: var(--primary); }

/* ---------- product detail ---------- */
.pdetail { display: grid; grid-template-columns: .95fr 1.15fr; gap: 56px; align-items: start; padding: 52px 0 0; }
.pdetail-img { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: linear-gradient(145deg, var(--bg-soft), #eaf3f0); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.pdetail-img img { width: 100%; height: 100%; object-fit: cover; }
.pdetail-info h1 { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 12px; }
.pdetail-info .pcard-badge { position: static; display: inline-block; margin-bottom: 14px; }
.pdetail-info .lede { font-size: 16.5px; color: var(--ink-soft); line-height: 1.7; margin-bottom: 22px; }
.specs { width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0 24px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: none; }
.specs th { width: 170px; color: var(--ink-soft); font-weight: 600; background: var(--bg-soft); }
.pdetail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 16px; }
.compliance-small { font-size: 12px; color: var(--ink-mute); }
.pdesc { padding: 30px 0 10px; }
.pdesc h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.5px; margin: 22px 0 14px; }
.pdesc h3 { font-size: 19px; margin: 20px 0 10px; }
.pdesc p { margin-bottom: 14px; max-width: 800px; color: var(--ink-soft); }

/* ---------- forms ---------- */
.narrow { max-width: 780px; margin: 0 auto; }
.narrow h2 { font-size: 24px; font-weight: 800; margin: 34px 0 12px; }
.narrow > p { margin-bottom: 14px; color: var(--ink-soft); }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: 14px; font-weight: 500; }
.alert.ok { background: #e3f6ec; color: #116b3e; border: 1px solid #b7e6c9; }
.alert.err { background: #fdeaea; color: #9b2c2c; border: 1px solid #f3caca; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-soft); margin: 16px 0 6px; }
input[type=text], input[type=email], input[type=password], select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; font-family: var(--font); color: var(--ink); background: #fff; transition: border .15s; }
textarea { min-height: 140px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,110,92,.12); }
.actions { margin-top: 24px; }
.contact-direct { margin-top: 40px; padding: 26px 28px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-direct p { margin-bottom: 10px; font-size: 15px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #9db3bf; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 64px; padding-bottom: 44px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text em { color: #7d97a4; }
.site-footer p { font-size: 13.5px; line-height: 1.7; }
.site-footer h4 { color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 16px; letter-spacing: 1.2px; text-transform: uppercase; }
.site-footer .footer-col a { display: block; color: #9db3bf; font-size: 13.5px; padding: 4px 0; }
.site-footer .footer-col a:hover { color: #fff; text-decoration: none; }
.site-footer .footer-col p a { display: inline; padding: 0; }
.footer-wa { margin-top: 6px; }
.footer-wa a { color: #7fe0c4; font-weight: 600; }
.compliance { font-size: 12px; color: #6d8a96; border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0 8px; }
.copyright { font-size: 12.5px; color: #5d7a86; padding: 0 0 26px; }

/* ---------- floating whatsapp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; padding: 13px 20px 13px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; box-shadow: 0 8px 26px rgba(37,211,102,.45); transition: all .2s ease; }
.wa-float:hover { background: var(--wa-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,.55); }
.wa-float svg { flex-shrink: 0; }

/* ---------- video player page ---------- */
.video-player-card { max-width: 1000px; margin: 0 auto; padding: 40px 0; }
.video-player-card h1 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.6px; }
.video-player-card .lede { margin-top: 8px; }
.video-player-card video { border-radius: 16px; box-shadow: var(--shadow-lg); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-art { order: -1; } .hero-art img { width: 260px; }
  .quality-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pdetail { grid-template-columns: 1fr; gap: 32px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 14px 28px 24px; border-bottom: 1px solid var(--line); gap: 6px; align-items: stretch; box-shadow: var(--shadow); }
  body.nav-open .main-nav { display: flex; }
  .main-nav a.nav-cta { margin-left: 0; text-align: center; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .quality-points { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 24px; }
  .topbar-contact { display: none; }
}

/* ---------- CoA page ---------- */
.coa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.coa-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--accent); }
.coa-icon { font-size: 22px; flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--primary-soft); border-radius: 10px; }
.coa-body { flex: 1; min-width: 0; }
.coa-body h3 { font-size: 14.5px; font-weight: 700; margin-bottom: 3px; line-height: 1.3; }
.coa-body .meta { margin: 0; }
.btn-sm-coa { padding: 8px 16px; font-size: 12.5px; flex-shrink: 0; }

/* ---------- News page ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--ink); transition: all .18s ease; display: flex; flex-direction: column; }
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); text-decoration: none; }
.news-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.news-meta .badge { background: var(--primary-soft); color: var(--primary-deep); font-size: 11px; padding: 3px 10px; border-radius: 999px; font-weight: 600; }
.news-date { font-size: 12px; color: var(--ink-mute); }
.news-body h3 { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.news-body .sum { flex: 1; }
.article-body h2 { font-size: 22px; margin: 22px 0 10px; }
.article-body h3 { font-size: 18px; margin: 18px 0 8px; }
.article-body p { margin-bottom: 14px; max-width: 780px; color: var(--ink-soft); }
.article-body ul, .article-body ol { margin: 0 0 14px 22px; color: var(--ink-soft); }
.article-body li { margin-bottom: 4px; }
/* ---------- CoA preview & lightbox (site1) ---------- */
.coa-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.coa-preview { position: relative; display: block; background: #f5f5f4; aspect-ratio: 850/1100; overflow: hidden; }
.coa-preview img, .coa-preview .coa-pdf { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.coa-preview .coa-pdf { border: 0; pointer-events: none; }
.coa-preview:hover img { transform: scale(1.03); }
.coa-lightbox iframe { display: none; width: min(920px, 92vw); height: min(80vh, 1100px); border: 0; background: #fff; border-radius: 8px; }
.coa-zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,20,30,.45); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .2s; }
.coa-preview:hover .coa-zoom { opacity: 1; }
.coa-card .coa-body { padding: 14px 16px 16px; }
.coa-lightbox { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(8,12,20,.88); padding: 24px; overflow: auto; }
.coa-lightbox.open { display: flex; align-items: center; justify-content: center; }
.coa-lightbox-inner { position: relative; max-width: 1000px; margin: auto; }
.coa-lightbox img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 20px 70px rgba(0,0,0,.5); }
.coa-close { position: fixed; top: 16px; right: 20px; width: 42px; height: 42px; border-radius: 50%; border: none; background: rgba(255,255,255,.15); color: #fff; font-size: 18px; cursor: pointer; z-index: 301; }
.coa-close:hover { background: rgba(255,255,255,.3); }
.coa-lightbox-bar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
/* ---------- WhatsApp multi-number popup ---------- */
.wa-wrap { position: fixed; right: 22px; bottom: 22px; z-index: 200; }
.wa-panel { display: none; position: absolute; right: 0; bottom: calc(100% + 12px); min-width: 260px; background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.25); padding: 8px; border: 1px solid rgba(0,0,0,.08); }
.wa-panel.open { display: block; }
.wa-panel-title { font-size: 12px; color: #64748b; padding: 8px 12px 6px; font-weight: 600; }
.wa-panel-item { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; color: #1f2937; font-size: 14.5px; font-weight: 600; transition: background .12s; }
.wa-panel-item:hover { background: #f0fdf4; text-decoration: none; color: #128c4b; }
.wa-panel-item svg { color: #25d366; flex-shrink: 0; }
