/* ═══════════════════════════════════════════════════════════════════════════
   Ascend Katalyst — Pharma section design system
   Tokens are lifted verbatim from the live ascendkatalyst.com stylesheet so
   the new section reads as the same site, then extended with the pieces a
   catalogue needs (cards, rails, chips, drawer).
   ═══════════════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* — inherited from the live site — */
  --gold: #C9A84C; --gold-l: #E8D08A; --gold-d: #8B6914;
  --navy: #0A1628; --navy-m: #122040; --navy-l: #1E3260;
  --cream: #FAF7F2; --cream-d: #F0EBE0;
  --white: #fff;
  --text: #0A1628; --text-m: #3D4F6E; --text-l: #7A8CAA;
  --F: 'Cormorant Garamond', serif;
  --B: 'DM Sans', sans-serif;
  --ease: cubic-bezier(.25, .46, .45, .94);
  --r: 0 24px 80px rgba(10, 22, 40, .13);

  /* — added for the catalogue — */
  --line: rgba(10, 22, 40, .09);
  --line-s: rgba(10, 22, 40, .16);
  --card: 0 2px 14px rgba(10, 22, 40, .05);
  --card-h: 0 16px 44px rgba(10, 22, 40, .13);
  --ok: #1E7A54; --warn: #B4781C; --err: #B03A3A;
  --rad: 8px; --rad-l: 14px;

  /* category hues — desaturated so gold stays the only loud colour */
  --h-indigo: #4C5FA8;  --h-slate: #5A6B84;  --h-rose: #A8546B;
  --h-violet: #7A55A0;  --h-teal: #2E7D74;   --h-amber: #B4781C;
  --h-crimson: #A8434A; --h-sky: #3B6FA0;    --h-lime: #5F7F37;
  --h-plum: #7D4A6E;    --h-cyan: #2F7788;   --h-gold: #8B6914;
  --h-moss: #4A7A45;
  --wa: #25D366;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--B);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── NAV ─────────────────────────────────────────────────────────────────── */
nav {
  position: fixed; inset: 0 0 auto; z-index: 1000; padding: 0 5%; height: 74px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10, 22, 40, .97); backdrop-filter: blur(14px);
  transition: .4s var(--ease);
}
nav.s { box-shadow: 0 2px 40px rgba(0, 0, 0, .3); }
.nl { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ni {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-l));
  display: flex; align-items: center; justify-content: center;
}
.nt { font-family: var(--F); font-size: 1.2rem; font-weight: 600; color: #fff; letter-spacing: .04em; }
.nt small {
  display: block; font-family: var(--B); font-size: .58rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin-top: -3px;
}
.nm { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nm a {
  color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .85rem;
  font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  transition: color .2s; position: relative;
}
.nm a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .3s;
}
.nm a:hover { color: var(--gold); }
.nm a:hover::after, .nm a.on::after { width: 100%; }
.nm a.on { color: var(--gold); }
.nc {
  background: var(--gold) !important; color: var(--navy) !important;
  padding: 9px 20px; border-radius: 4px; font-weight: 600 !important;
}
.nc::after { display: none !important; }
.nc:hover { background: var(--gold-l) !important; box-shadow: 0 6px 20px rgba(201, 168, 76, .4); }
.hbg { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hbg span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .4s var(--ease); }

/* quote counter in the nav */
.nq {
  position: relative; display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid rgba(201, 168, 76, .4); border-radius: 4px;
  padding: 8px 14px; color: var(--gold-l) !important; text-decoration: none;
  font-size: .78rem !important; letter-spacing: .06em;
}
.nq::after { display: none !important; }
.nq:hover { background: rgba(201, 168, 76, .12); }
.nqn {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--gold); color: var(--navy); font-size: .68rem; font-weight: 700;
  display: grid; place-items: center; font-family: var(--B);
}
.nback { color: rgba(255, 255, 255, .5) !important; font-size: .78rem !important; }
.nback::after { display: none !important; }

/* ── SHARED SECTION FURNITURE ────────────────────────────────────────────── */
section { padding: 84px 5%; }
.wrap { max-width: 1240px; margin: 0 auto; }
.sl2 {
  font-size: .77rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-d); margin-bottom: .9rem; display: flex; align-items: center; gap: 10px;
}
.sl2::before { content: ''; width: 28px; height: 1px; background: var(--gold-d); }
h2.st { font-family: var(--F); font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 600; line-height: 1.15; }
.ss { font-size: 1rem; color: var(--text-m); line-height: 1.85; max-width: 640px; }
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.2rem; }

.bp {
  background: var(--gold); color: var(--navy); padding: 13px 28px; border-radius: 4px;
  text-decoration: none; font-weight: 600; font-size: .88rem; letter-spacing: .04em;
  transition: all .3s; border: 2px solid var(--gold); display: inline-flex;
  align-items: center; gap: 8px; cursor: pointer; font-family: var(--B);
}
.bp:hover { background: var(--gold-l); border-color: var(--gold-l); box-shadow: 0 8px 30px rgba(201, 168, 76, .4); transform: translateY(-2px); }
.bo {
  background: transparent; color: var(--text); padding: 13px 28px; border-radius: 4px;
  text-decoration: none; font-weight: 500; font-size: .88rem; letter-spacing: .04em;
  transition: all .3s; border: 2px solid var(--line-s); display: inline-flex;
  align-items: center; gap: 8px; cursor: pointer; font-family: var(--B);
}
.bo:hover { border-color: var(--gold); color: var(--gold-d); transform: translateY(-2px); }
.bo.dark { color: #fff; border-color: rgba(255, 255, 255, .25); }
.bo.dark:hover { border-color: var(--gold); color: var(--gold); }
.bsm { padding: 9px 18px; font-size: .8rem; border-width: 1px; }

/* ── HERO ────────────────────────────────────────────────────────────────── */
#phero { position: relative; padding: 150px 5% 76px; overflow: hidden; background: var(--navy); }
.phero-img {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1587854692152-cbe660dbde88?w=1600&q=80') center/cover no-repeat;
  filter: brightness(.3) saturate(.6);
}
.phero-grad { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10, 22, 40, .96) 0%, rgba(10, 22, 40, .78) 55%, rgba(30, 50, 96, .5) 100%); }
.phero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201, 168, 76, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201, 168, 76, .05) 1px, transparent 1px);
  background-size: 80px 80px;
}
.phero-in { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; }
.hbadge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(201, 168, 76, .12);
  border: 1px solid rgba(201, 168, 76, .3); color: var(--gold-l); padding: 6px 16px;
  border-radius: 100px; font-size: .74rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hdot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(1.4); } }
h1.pht { font-family: var(--F); font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 600; color: #fff; line-height: 1.08; margin-bottom: 1.1rem; }
h1.pht em { font-style: italic; color: var(--gold-l); }
.phsub { font-size: 1.02rem; color: rgba(255, 255, 255, .68); line-height: 1.8; max-width: 660px; }

/* hero search */
.psearch {
  margin-top: 2.2rem; max-width: 720px; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: var(--rad); padding: 7px 7px 7px 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.psearch input {
  flex: 1; border: 0; outline: 0; font-family: var(--B); font-size: .95rem;
  color: var(--text); background: transparent; padding: 10px 0;
}
.psearch input::placeholder { color: var(--text-l); }
.psearch button {
  border: 0; background: var(--gold); color: var(--navy); font-family: var(--B);
  font-weight: 600; font-size: .85rem; padding: 12px 24px; border-radius: 5px;
  cursor: pointer; transition: background .25s;
}
.psearch button:hover { background: var(--gold-l); }
.pchips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; max-width: 720px; }
.pchip {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .82); font-size: .78rem; padding: 5px 13px;
  border-radius: 100px; cursor: pointer; transition: all .25s; font-family: var(--B);
}
.pchip:hover { background: rgba(201, 168, 76, .2); border-color: var(--gold); color: var(--gold-l); }
.pstats { display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 2.4rem; }
.pstat strong { display: block; font-family: var(--F); font-size: 1.9rem; font-weight: 600; color: var(--gold-l); line-height: 1.1; }
.pstat span { font-size: .72rem; color: rgba(255, 255, 255, .5); text-transform: uppercase; letter-spacing: .1em; }

/* ── TRUST MARQUEE ───────────────────────────────────────────────────────── */
#ptrust { background: var(--navy-m); padding: 16px 0; overflow: hidden; }
.tbi { display: flex; gap: 52px; animation: mq 34s linear infinite; white-space: nowrap; align-items: center; }
.tbi:hover { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.ti { display: flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .5); font-size: .79rem; font-weight: 500; flex-shrink: 0; }
.ti svg { stroke: rgba(201, 168, 76, .75); }

/* ── QUICK ACTIONS ───────────────────────────────────────────────────────── */
.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.qac {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--rad-l); padding: 18px 20px; text-decoration: none;
  transition: all .35s var(--ease); box-shadow: var(--card);
}
.qac:hover { transform: translateY(-4px); box-shadow: var(--card-h); border-color: rgba(201, 168, 76, .45); }
.qai {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: var(--cream-d); color: var(--gold-d); flex-shrink: 0; font-size: 1.15rem;
}
.qat { font-weight: 600; font-size: .92rem; color: var(--navy); }
.qas { font-size: .78rem; color: var(--text-m); }

/* ── CATEGORY TILES ──────────────────────────────────────────────────────── */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--rad-l);
  padding: 22px 20px; cursor: pointer; text-align: left; transition: all .35s var(--ease);
  position: relative; overflow: hidden; font-family: var(--B); box-shadow: var(--card);
}
.cat::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--hue, var(--gold)); transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.cat:hover, .cat.on { transform: translateY(-4px); box-shadow: var(--card-h); }
.cat:hover::before, .cat.on::before { transform: scaleY(1); }
.cat.on { border-color: var(--hue, var(--gold)); }
.cate { font-size: 1.6rem; line-height: 1; margin-bottom: .7rem; display: block; }
.catn { font-family: var(--F); font-size: 1.16rem; font-weight: 600; color: var(--navy); margin-bottom: .25rem; }
.catb { font-size: .78rem; color: var(--text-m); line-height: 1.55; min-height: 2.4em; }
.catc {
  margin-top: .8rem; font-size: .72rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--hue, var(--gold-d));
}

/* ── DIVISION SWITCH ─────────────────────────────────────────────────────── */
.dsw {
  display: inline-flex; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 100px; padding: 4px; gap: 3px;
}
.dsw button {
  border: 0; background: transparent; color: rgba(255, 255, 255, .72); font-family: var(--B);
  font-size: .84rem; font-weight: 500; padding: 8px 20px; border-radius: 100px;
  cursor: pointer; transition: all .28s var(--ease); white-space: nowrap;
}
.dsw button:hover { color: #fff; }
.dsw button.on { background: var(--gold); color: var(--navy); font-weight: 600; }
.dsw.light { background: #fff; border-color: var(--line); box-shadow: var(--card); }
.dsw.light button { color: var(--text-m); }
.dsw.light button.on { background: var(--navy); color: #fff; }

/* ── PRODUCT CARD ────────────────────────────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--rad-l);
  overflow: hidden; display: flex; flex-direction: column; transition: all .35s var(--ease);
  box-shadow: var(--card); text-decoration: none; position: relative;
}
.pc:hover { transform: translateY(-5px); box-shadow: var(--card-h); border-color: rgba(201, 168, 76, .45); }
.pcvl { display: block; }
.pcv {
  height: 132px; display: grid; place-items: center; font-size: 2.6rem; position: relative;
  background: linear-gradient(140deg, color-mix(in srgb, var(--hue) 13%, #fff), color-mix(in srgb, var(--hue) 4%, #fff));
  border-bottom: 1px solid var(--line);
}
.pcv.has-img { background: #fff; padding: 0; }
.pcv.has-img img { width: 100%; height: 100%; object-fit: cover; }
.pcdiv {
  position: absolute; bottom: 8px; left: 8px; background: rgba(74, 122, 69, .92); color: #fff;
  font-size: .62rem; font-weight: 700; padding: 3px 8px; border-radius: 100px; letter-spacing: .04em;
}
.pcmoq { font-size: .7rem; color: var(--text-l); margin-top: .25rem; }
.pcpv.enq { font-size: .95rem; font-weight: 600; color: var(--gold-d); }
.pcoff {
  position: absolute; top: 10px; right: 10px; background: var(--ok); color: #fff;
  font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 100px; letter-spacing: .04em;
}
.pcrx {
  position: absolute; top: 10px; left: 10px; background: rgba(10, 22, 40, .82); color: var(--gold-l);
  font-size: .6rem; font-weight: 700; padding: 3px 8px; border-radius: 100px;
  letter-spacing: .09em; text-transform: uppercase;
}
.pcb { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcc { font-size: .66rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--hue, var(--gold-d)); margin-bottom: .4rem; }
.pcn {
  font-family: var(--F); font-size: 1.06rem; font-weight: 600; color: var(--navy);
  line-height: 1.28; margin-bottom: .25rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcs { font-size: .75rem; color: var(--text-l); margin-bottom: .1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcp { font-size: .72rem; color: var(--text-m); }
.pcprice { display: flex; align-items: baseline; gap: 8px; margin-top: .85rem; }
.pcpv { font-size: 1.16rem; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.pcpo { font-size: .82rem; color: var(--text-l); text-decoration: line-through; }
.pcact { display: flex; gap: 7px; margin-top: .85rem; }
.pcadd {
  flex: 1; border: 1px solid var(--gold); background: rgba(201, 168, 76, .1); color: var(--gold-d);
  font-family: var(--B); font-weight: 600; font-size: .78rem; padding: 8px 10px;
  border-radius: 5px; cursor: pointer; transition: all .25s;
}
.pcadd:hover { background: var(--gold); color: var(--navy); }
.pcadd.in { background: var(--ok); border-color: var(--ok); color: #fff; }
.pcwa {
  width: 36px; border: 1px solid var(--line-s); background: #fff; border-radius: 5px;
  display: grid; place-items: center; cursor: pointer; transition: all .25s; color: var(--text-m);
}
.pcwa:hover { border-color: #25D366; color: #25D366; background: rgba(37, 211, 102, .08); }

/* ── RAILS ───────────────────────────────────────────────────────────────── */
.rail { position: relative; }
.railt { display: flex; align-items: center; gap: 10px; margin-bottom: 1.1rem; }
.railt h3 { font-family: var(--F); font-size: 1.5rem; font-weight: 600; color: var(--navy); }
.railt span { font-size: .82rem; color: var(--text-m); }
.railw { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.railw > * { flex: 0 0 250px; scroll-snap-align: start; }
.railn { display: flex; gap: 7px; }
.railb {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-s);
  background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--text-m);
  transition: all .25s;
}
.railb:hover { border-color: var(--gold); color: var(--gold-d); }

/* ── FILTER BAR ──────────────────────────────────────────────────────────── */
.fbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2rem 0 1.8rem; }
.fp {
  background: #fff; border: 1px solid var(--line); color: var(--text-m); padding: 7px 16px;
  border-radius: 100px; font-size: .81rem; font-weight: 500; cursor: pointer;
  transition: all .25s; font-family: var(--B);
}
.fp:hover { border-color: var(--gold); color: var(--gold-d); }
.fp.a { background: var(--navy); color: #fff; border-color: var(--navy); }
.ftools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fsel {
  border: 1px solid var(--line-s); border-radius: 5px; padding: 8px 12px; background: #fff;
  font-family: var(--B); font-size: .82rem; color: var(--text); cursor: pointer; outline: 0;
}

/* ── QUOTE DRAWER / FLOATING BAR ─────────────────────────────────────────── */
#qbar {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 130%); z-index: 900;
  background: var(--navy); color: #fff; border-radius: 100px; padding: 11px 12px 11px 24px;
  display: flex; align-items: center; gap: 18px; box-shadow: 0 18px 50px rgba(10, 22, 40, .45);
  transition: transform .45s var(--ease); border: 1px solid rgba(201, 168, 76, .3);
}
#qbar.on { transform: translate(-50%, 0); }
#qbar p { font-size: .86rem; }
#qbar strong { color: var(--gold-l); }
#qbar a {
  background: var(--gold); color: var(--navy); text-decoration: none; font-weight: 600;
  font-size: .83rem; padding: 9px 20px; border-radius: 100px; white-space: nowrap;
}
#qbar a:hover { background: var(--gold-l); }

/* ── WHATSAPP FLOAT ──────────────────────────────────────────────────────── */
.wafab {
  position: fixed; right: 24px; bottom: 24px; z-index: 950; width: 56px; height: 56px;
  border-radius: 50%; background: #25D366; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .3s;
}
.wafab:hover { transform: scale(1.08); }
.wafab svg { width: 30px; height: 30px; fill: #fff; }

/* ── COMPLIANCE NOTE ─────────────────────────────────────────────────────── */
.cnote {
  display: flex; gap: 14px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: 0 var(--rad) var(--rad) 0; padding: 16px 20px;
  font-size: .82rem; color: var(--text-m); line-height: 1.75;
}
.cnote svg { flex-shrink: 0; margin-top: 2px; stroke: var(--gold-d); }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
footer { background: var(--navy); color: rgba(255, 255, 255, .55); padding: 68px 5% 28px; }
.fg2 { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; max-width: 1240px; margin: 0 auto; }
.flogo { font-family: var(--F); font-size: 1.45rem; font-weight: 600; color: #fff; margin-bottom: .9rem; }
.fb p { font-size: .86rem; line-height: 1.85; max-width: 330px; }
.faddr { margin-top: 1.2rem; font-size: .84rem; line-height: 1.9; }
.faddr strong { color: rgba(255, 255, 255, .85); display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .3rem; }
.fc h4 { font-family: var(--F); font-size: 1.05rem; color: #fff; margin-bottom: 1rem; font-weight: 600; }
.fc ul { list-style: none; }
.fc li { margin-bottom: .6rem; }
.fc a { color: rgba(255, 255, 255, .55); text-decoration: none; font-size: .85rem; transition: color .2s; }
.fc a:hover { color: var(--gold); }
.fbot {
  max-width: 1240px; margin: 44px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1); display: flex;
  justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem;
}
.fdisc { max-width: 1240px; margin: 22px auto 0; font-size: .75rem; line-height: 1.8; color: rgba(255, 255, 255, .38); }

/* ── PHOTO GALLERY (product detail) ──────────────────────────────────────── */
.gal { display: grid; gap: 12px; }
.galmain {
  border: 1px solid var(--line); border-radius: var(--rad-l); height: 380px; overflow: hidden;
  display: grid; place-items: center; font-size: 6rem; position: relative; box-shadow: var(--card);
  background: linear-gradient(140deg, color-mix(in srgb, var(--hue) 15%, #fff), color-mix(in srgb, var(--hue) 4%, #fff));
}
.galmain img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.galthumbs { display: flex; gap: 9px; flex-wrap: wrap; }
.galthumb {
  width: 66px; height: 66px; border-radius: var(--rad); overflow: hidden; cursor: pointer;
  border: 2px solid var(--line); background: #fff; padding: 0; transition: border-color .22s;
}
.galthumb img { width: 100%; height: 100%; object-fit: cover; }
.galthumb.on { border-color: var(--gold); }

/* ── CHAT ASSISTANT ──────────────────────────────────────────────────────── */
#akchat { position: fixed; right: 24px; bottom: 92px; z-index: 960; }
.akc-fab {
  position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: var(--navy); color: var(--gold-l); cursor: pointer; display: grid;
  place-items: center; box-shadow: 0 10px 30px rgba(10, 22, 40, .4); transition: transform .3s;
  margin-left: auto;
}
.akc-fab:hover { transform: scale(1.07); }
.akc-badge {
  position: absolute; top: -2px; right: -2px; min-width: 19px; height: 19px; border-radius: 10px;
  background: var(--gold); color: var(--navy); font-size: .68rem; font-weight: 700;
  display: grid; place-items: center; font-family: var(--B);
}
.akc-box {
  position: absolute; right: 0; bottom: 68px; width: 358px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: var(--rad-l); box-shadow: 0 24px 70px rgba(10, 22, 40, .3);
  border: 1px solid var(--line); overflow: hidden; display: none; flex-direction: column;
}
.akc-box.open { display: flex; }
.akc-head { background: var(--navy); padding: 14px 16px; display: flex; align-items: center; gap: 11px; }
.akc-av {
  width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-l));
  display: grid; place-items: center; font-family: var(--F); font-weight: 700; color: var(--navy); font-size: .92rem;
}
.akc-name { color: #fff; font-size: .92rem; font-weight: 600; }
.akc-status { color: rgba(255, 255, 255, .55); font-size: .73rem; display: flex; align-items: center; gap: 6px; }
.akc-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
.akc-min { margin-left: auto; background: transparent; border: 0; color: rgba(255, 255, 255, .6); font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 0 4px; }
.akc-min:hover { color: #fff; }
.akc-msgs { padding: 16px; max-height: 320px; min-height: 150px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; background: var(--cream); }
.akc-m { max-width: 84%; padding: 9px 13px; border-radius: 13px; font-size: .855rem; line-height: 1.6; white-space: pre-wrap; }
.akc-m.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.akc-m.me { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.akc-typing { display: flex; gap: 4px; align-items: center; }
.akc-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-l); animation: akb 1.3s infinite; }
.akc-typing i:nth-child(2) { animation-delay: .18s; }
.akc-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes akb { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.akc-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; }
.akc-quick:not(:empty) { padding: 12px 16px 0; }
.akc-quick button {
  background: var(--cream-d); border: 1px solid rgba(201, 168, 76, .3); color: var(--gold-d);
  font-family: var(--B); font-size: .78rem; padding: 7px 13px; border-radius: 100px; cursor: pointer;
  transition: all .22s;
}
.akc-quick button:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.akc-send {
  background: var(--wa); color: #fff; text-decoration: none; font-size: .82rem; font-weight: 600;
  padding: 9px 16px; border-radius: 100px; display: inline-block;
}
.akc-send:hover { filter: brightness(1.06); }
.akc-input { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.akc-input input {
  flex: 1; border: 1px solid var(--line-s); border-radius: 100px; padding: 9px 14px;
  font-family: var(--B); font-size: .85rem; outline: 0;
}
.akc-input input:focus { border-color: var(--gold); }
.akc-input button {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--gold);
  color: var(--navy); cursor: pointer; display: grid; place-items: center; flex-shrink: 0;
}
.akc-input button:hover { background: var(--gold-l); }
.akc-foot { font-size: .68rem; color: var(--text-l); text-align: center; padding: 0 16px 11px; }

/* ── REVEAL ──────────────────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .tbi { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .pgrid, .cats { grid-template-columns: repeat(3, 1fr); }
  .qa { grid-template-columns: repeat(2, 1fr); }
  .fg2 { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 900px) {
  .hbg { display: flex; }
  .nm {
    position: fixed; inset: 74px 0 auto; background: rgba(10, 22, 40, .99);
    backdrop-filter: blur(14px); flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 5% 26px; max-height: calc(100vh - 74px); overflow-y: auto;
    transform: translateY(-130%); transition: transform .4s var(--ease);
    border-bottom: 1px solid rgba(201, 168, 76, .2);
  }
  .nm.open { transform: none; }
  .nm li { border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .nm li:last-child { border: 0; padding-top: 12px; }
  .nm a { display: block; padding: 15px 0; font-size: .92rem; }
  .nm a::after { display: none; }
  .nc, .nq { text-align: center; justify-content: center; }
  .hbg.x span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hbg.x span:nth-child(2) { opacity: 0; }
  .hbg.x span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 768px) {
  section { padding: 60px 5%; }
  #akchat { right: 16px; bottom: 86px; }
  .wafab { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .wafab svg { width: 26px; height: 26px; }
  .akc-fab { width: 50px; height: 50px; }
  #phero { padding: 120px 5% 56px; }
  .pgrid, .cats { grid-template-columns: repeat(2, 1fr); }
  .qa { grid-template-columns: 1fr 1fr; }
  .fg2 { grid-template-columns: 1fr; }
  .psearch { flex-wrap: wrap; padding: 10px; }
  .psearch input { flex: 1 0 100%; padding: 8px 6px; }
  .psearch button { width: 100%; }
  .railw > * { flex-basis: 210px; }
  #qbar { left: 12px; right: 12px; transform: translate(0, 130%); border-radius: var(--rad-l); }
  #qbar.on { transform: none; }
}
@media (max-width: 460px) {
  .pgrid, .cats { grid-template-columns: 1fr; }
  .qa { grid-template-columns: 1fr; }
}
