/* ==========================================================================
   Iniciopharma — base for the professional layouts.
   Colours come from the admin theme (--c-*); each layout file in
   assets/themes/ sets the shape tokens below and adds its own character.
   ========================================================================== */
:root {
  --r: 12px;            /* cards */
  --rb: 8px;            /* buttons, inputs */
  --w: 1200px;
  --pad: clamp(18px, 4vw, 32px);
  --sec: clamp(64px, 8vw, 112px);
  --line: color-mix(in srgb, var(--c-text) 13%, transparent);
  --muted: color-mix(in srgb, var(--c-text) 66%, var(--c-bg));
  --tint: color-mix(in srgb, var(--c-primary) 8%, var(--c-bg));
  --ta: color-mix(in srgb, var(--c-secondary) 62%, var(--c-text)); /* secondary colour, darkened so it stays readable as text */
  --shadow: 0 1px 2px rgba(10, 20, 30, .05), 0 10px 30px -14px rgba(10, 20, 30, .18);
  --shadow-up: 0 2px 4px rgba(10, 20, 30, .06), 0 24px 48px -20px rgba(10, 20, 30, .3);
  --h-weight: 700;
  --h-track: -.02em;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--c-bg); color: var(--c-text); font: 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: var(--h-weight); letter-spacing: var(--h-track); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: var(--c-primary); }
p { margin: 0 0 1em; text-wrap: pretty; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.ic.flip { transform: scaleX(-1); }
.w { width: min(var(--w), 100% - var(--pad) * 2); margin-inline: auto; }
.center { text-align: center; margin-top: 40px; }
.mono { font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--c-primary); color: var(--c-on-primary); padding: 10px 16px; border-radius: var(--rb); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--c-secondary); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .9em 1.5em; border-radius: var(--rb); border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn--sm { padding: .62em 1.1em; font-size: .87rem; }
.btn--p { background: var(--c-primary); color: var(--c-on-primary); }
.btn--p:hover { background: color-mix(in srgb, var(--c-primary) 86%, #000); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--c-primary) 70%, transparent); }
.btn--o { border-color: color-mix(in srgb, var(--c-text) 22%, transparent); color: var(--c-text); }
.btn--o:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--light { background: #fff; color: #0b1218; }
.btn--light:hover { background: color-mix(in srgb, #fff 88%, var(--c-primary)); }
.btn--line { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--accent { background: var(--c-accent); color: var(--c-on-accent); }
.btn--accent:hover { filter: brightness(1.06); }
.btn--gold { background: var(--c-accent); color: var(--c-on-accent); }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #178c46; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btns--c { justify-content: center; }
.more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--c-primary); font-size: .92rem; }
.more .ic { transition: transform .25s var(--ease); }
a:hover > .more .ic, .more:hover .ic { transform: translateX(4px); }
.ibtn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--rb); border: 1px solid var(--line); background: var(--c-surface); }
.ibtn:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ---------- Utility bar & header ---------- */
.util { background: var(--c-deep); color: color-mix(in srgb, #fff 78%, var(--c-deep)); font-size: .82rem; }
.util__in { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 38px; }
.util span, .util a { display: inline-flex; align-items: center; gap: 7px; }
.util__r { gap: 22px !important; }
.util a:hover { color: #fff; }
.util__soc { gap: 12px !important; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .18); }
.hdr { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--c-bg) 94%, transparent); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s; }
.hdr.is-stuck { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .35); }
.hdr__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo img { width: 40px; height: auto; }
.logo__txt { display: grid; line-height: 1.1; }
.logo__txt b { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; color: var(--c-deep); }
.logo__txt b span { color: var(--c-primary); }
.logo__txt small { font-size: .7rem; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.menu { display: flex; gap: 4px; margin-inline: auto; }
.menu a { position: relative; padding: 10px 14px; font-weight: 500; font-size: .95rem; border-radius: var(--rb); color: color-mix(in srgb, var(--c-text) 85%, var(--c-bg)); transition: color .2s, background .2s; }
.menu a:hover, .menu a.on { color: var(--c-primary); }
.hdr__cta { display: flex; align-items: center; gap: 14px; }
.hdr__tel { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.hdr__tel .ic { color: var(--c-primary); }
.burger { display: none; width: 44px; height: 44px; place-items: center; border-radius: var(--rb); border: 1px solid var(--line); background: var(--c-surface); }
.burger .ic { width: 22px; height: 22px; }
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(5, 12, 18, .5); backdrop-filter: blur(3px); }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: var(--c-surface); padding: 72px 24px 24px; display: flex; flex-direction: column; overflow-y: auto; animation: slideIn .3s var(--ease); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.drawer__x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; background: none; }
.drawer__x .ic { width: 24px; height: 24px; }
.drawer__a { display: flex; justify-content: space-between; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-heading); font-size: 1.2rem; font-weight: 600; }
.drawer__a.on { color: var(--c-primary); }
.drawer__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; font-size: .92rem; }
.drawer__foot a { display: flex; gap: 10px; align-items: center; }

/* ---------- Page header band (inner pages) ---------- */
.ph { position: relative; overflow: hidden; background: var(--tint); padding: clamp(48px, 7vw, 96px) 0 clamp(44px, 6vw, 80px); }
.ph__in { position: relative; z-index: 1; max-width: 860px; margin-left: max(var(--pad), (100% - var(--w)) / 2); }
.ph h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.ph__lead { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.ph--404 .ph__in { margin-inline: auto; text-align: center; }
.ph--404 .btns { justify-content: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.crumbs .ic { width: .9em; height: .9em; opacity: .6; }
.crumbs a:hover { color: var(--c-primary); }
.kick { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ta); margin-bottom: 14px; }

/* ---------- Sections & heads ---------- */
.sec { padding: var(--sec) 0; position: relative; }
.sec--first { padding-top: clamp(40px, 5vw, 72px); }
.sec--tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec--alt { background: var(--c-surface); }
.sec--deep { background: var(--c-deep); color: #fff; }
.sec--deep p { color: rgba(255, 255, 255, .72); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 52px); flex-wrap: wrap; }
.head > div { max-width: 640px; }
.head h2 { margin: 0; }
.head > p { max-width: 420px; color: var(--muted); margin: 0; }
.head--light h2 { color: #fff; }
.head--light h2 em { color: var(--c-accent); }
.head--light .kick { color: color-mix(in srgb, var(--c-secondary) 60%, #fff); }
.head--light > p { color: rgba(255, 255, 255, .7); }
.head--bar { align-items: end; }

/* ---------- Facts (stats band) ---------- */
.facts { padding: 34px 0; border-bottom: 1px solid var(--line); }
.facts--inline { background: var(--c-surface); border-block: 1px solid var(--line); }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: grid; gap: 2px; padding: 6px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border: 0; padding-left: 0; }
.fact b { font-family: var(--font-heading); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.1; color: var(--c-primary); letter-spacing: -.02em; }
.fact > span { color: var(--muted); font-size: .92rem; }

/* ---------- Therapy areas ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.area { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 24px; background: var(--c-surface); border: 1px solid var(--line); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
a.area:hover { transform: translateY(-5px); box-shadow: var(--shadow-up); border-color: transparent; }
.area__n { position: absolute; top: 22px; right: 22px; font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.area__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: calc(var(--r) - 2px); background: var(--tint); color: var(--c-primary); margin-bottom: 14px; transition: background .3s, color .3s; }
.area__ic .ic { width: 28px; height: 28px; }
a.area:hover .area__ic { background: var(--c-primary); color: var(--c-on-primary); }
.area p { color: var(--muted); font-size: .94rem; flex: 1; }
.area__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--c-primary); }
.area__more .ic { transition: transform .25s var(--ease); }
a.area:hover .area__more .ic { transform: translateX(4px); }
.areas--list { grid-template-columns: repeat(2, 1fr); }
.area--static { scroll-margin-top: 110px; }
.area__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 10px; }
.area__list a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-weight: 600; font-size: .95rem; }
.area__list a:hover { color: var(--c-primary); }
.area__list small { color: var(--muted); font-weight: 400; text-align: right; }

/* ---------- Chips / filters / search ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .55em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: var(--c-surface); font-size: .88rem; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.chip.is-on { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.pbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--rb); background: var(--c-surface); min-width: min(340px, 100%); }
.search .ic { color: var(--muted); }
.search input { border: 0; outline: 0; background: none; padding: 11px 0; width: 100%; }
.search:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.empty a { color: var(--c-primary); font-weight: 600; }

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow-up); border-color: transparent; }
.prod[hidden] { display: none; }
.prod__img { position: relative; display: grid; place-items: center; aspect-ratio: 1 / .86; background: radial-gradient(circle at 50% 60%, #fff 0, color-mix(in srgb, var(--c-primary) 7%, #fff) 75%); overflow: hidden; }
.prod__img img { width: 66%; height: 66%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .16)); transition: transform .5s var(--ease); }
.prod:hover .prod__img img { transform: scale(1.05); }
.prod__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 18px; }
.prod__cat { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ta); }
.prod h3 { margin: 6px 0 4px; font-size: 1.15rem; }
.prod h3 a:hover { color: var(--c-primary); }
.prod p { color: var(--muted); font-size: .88rem; line-height: 1.5; flex: 1; margin-bottom: 14px; }
.prod__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: .28em .7em; border-radius: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.tag--rx { color: #b3123f; }
.tag--otc { color: #13803f; }

/* ---------- About split, mission/vision ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split__copy p { color: var(--muted); font-size: 1.04rem; }
.split__copy .btn { margin-top: 10px; }
.mv { display: grid; gap: 18px; }
.mv__card { padding: 30px; border-radius: var(--r); background: var(--c-surface); border: 1px solid var(--line); }
.mv__card--v { background: var(--c-primary); color: var(--c-on-primary); border-color: transparent; }

.mv__card p { margin: 0; color: var(--muted); }
.mv__card.mv__card--v p { color: inherit; opacity: .88; }
.mv__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: color-mix(in srgb, currentColor 12%, transparent); margin-bottom: 14px; }
.mv__card--m .mv__ic { color: var(--c-primary); }

/* ---------- Features (why us / perks) ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r); overflow: hidden; }
.feat { position: relative; padding: 34px 30px; background: var(--c-deep); transition: background .3s; }
.feat:hover { background: color-mix(in srgb, var(--c-deep) 88%, #fff); }
.feat__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: calc(var(--r) - 2px); background: color-mix(in srgb, var(--c-secondary) 22%, transparent); color: color-mix(in srgb, var(--c-secondary) 55%, #fff); margin-bottom: 18px; }
.feat__ic .ic { width: 26px; height: 26px; }
.feat__n { position: absolute; top: 30px; right: 28px; font-size: .8rem; font-weight: 700; opacity: .4; letter-spacing: .1em; }
.feat h3 { color: #fff; }
.feat p { margin: 0; font-size: .95rem; }
.feats--light { background: var(--line); border-color: var(--line); }
.feats--light .feat { background: var(--c-surface); }
.feats--light .feat:hover { background: var(--tint); }
.feats--light .feat h3 { color: var(--c-text); }
.feats--light .feat p { color: var(--muted); }
.feats--light .feat__ic { background: var(--tint); color: var(--c-primary); }
.feats--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .feats--4 { grid-template-columns: 1fr 1fr; } }

/* ---------- Quality / certifications ---------- */
.quality { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center; }
.quality h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; }
.certs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cert { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--c-surface); }
.cert__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--c-primary); flex: none; }
.cert b { display: block; font-size: .98rem; }
.cert small { color: var(--muted); font-size: .82rem; }

/* ---------- Duo / tri cards ---------- */
.duo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.duo__card { display: flex; flex-direction: column; padding: 30px; border-radius: var(--r); background: var(--c-bg); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.duo__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-up); }
.duo__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: calc(var(--r) - 2px); background: var(--c-primary); color: var(--c-on-primary); margin-bottom: 20px; }
.duo__card .kick { margin-bottom: 6px; }
.duo__card h3 { font-size: 1.35rem; }
.duo__card p { color: var(--muted); flex: 1; }

/* ---------- CTA band ---------- */
.band { padding: 0 0 var(--sec); }
.band__in { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: clamp(36px, 5vw, 60px); border-radius: calc(var(--r) * 1.5); background: var(--c-primary); color: var(--c-on-primary); position: relative; overflow: hidden; }
.band__in::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .07); pointer-events: none; }
.band h2 { color: inherit; margin-bottom: .3em; }
.band h2 em { color: inherit; opacity: .75; }
.band p { margin: 0; opacity: .85; max-width: 560px; }
.band__act { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; position: relative; z-index: 1; }
.band__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }

/* ---------- Product detail ---------- */
.pd { padding: clamp(28px, 4vw, 48px) 0 var(--sec); }
.pd__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 8px; }
.pd__media { position: sticky; top: 100px; display: grid; place-items: center; aspect-ratio: 1; border-radius: calc(var(--r) * 1.4); background: radial-gradient(circle at 50% 55%, #fff, color-mix(in srgb, var(--c-primary) 10%, #fff)); border: 1px solid var(--line); }
.pd__media img { width: 72%; height: 72%; object-fit: contain; filter: drop-shadow(0 24px 26px rgba(0, 0, 0, .2)); }
.pd__media .tag { top: 18px; left: 18px; }
.pd__info h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: .15em; }
.pd__generic { font-size: 1.15rem; font-weight: 600; color: var(--ta); }
.pd__info > p { color: var(--muted); }
.spec { width: 100%; border-collapse: collapse; margin: 22px 0 6px; font-size: .95rem; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; font-weight: 600; color: var(--muted); }
.note { font-size: .82rem; color: var(--muted); margin-top: 18px; }
.indic { margin-top: clamp(40px, 6vw, 72px); padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: var(--c-surface); border: 1px solid var(--line); }
.indic h2 { font-size: 1.5rem; }
.indic ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px 24px; }
.indic li { display: flex; gap: 10px; align-items: flex-start; }
.indic li .ic { color: var(--c-primary); margin-top: 3px; }
.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.pnav a { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--r); border: 1px solid var(--line); font-weight: 600; transition: border-color .2s, color .2s; }
.pnav a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pnav small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.pnav__next { justify-content: flex-end; text-align: right; }

/* ---------- About: values & leaders ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.value { padding: 28px; border-top: 3px solid var(--c-primary); background: var(--c-surface); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow); }
.value__n { font-family: var(--font-heading); font-weight: 700; color: var(--ta); font-size: .9rem; }
.value h3 { margin-top: 8px; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.leader { display: flex; gap: 18px; padding: 26px; border-radius: var(--r); background: var(--c-bg); border: 1px solid var(--line); }
.leader__av { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; flex: none; background: var(--c-primary); color: var(--c-on-primary); font-weight: 800; font-family: var(--font-heading); }
.leader h3 { margin-bottom: 2px; }
.leader small { color: var(--ta); font-weight: 600; }
.leader p { color: var(--muted); font-size: .92rem; margin: 10px 0 0; }

/* ---------- Careers ---------- */
.jobs { display: grid; gap: 14px; }
.job { display: flex; align-items: center; gap: 24px; padding: 24px 28px; border-radius: var(--r); background: var(--c-bg); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.job[hidden] { display: none; }
.job:hover { border-color: color-mix(in srgb, var(--c-primary) 45%, transparent); box-shadow: var(--shadow); }
.job__main { flex: 1; }
.job__dept { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ta); }
.job h3 { margin: 4px 0 6px; font-size: 1.25rem; }
.job p { color: var(--muted); font-size: .94rem; margin-bottom: 10px; max-width: 760px; }
.job__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; font-size: .86rem; color: var(--muted); }
.job__meta li { display: flex; align-items: center; gap: 6px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 26px 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--c-surface); }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); font-weight: 800; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; font-size: .94rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.cinfo { display: grid; gap: 14px; }
.cinfo__item { display: flex; gap: 16px; padding: 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--c-surface); }
.cinfo__item b { display: block; margin-bottom: 2px; }
.cinfo__item div > a, .cinfo__item div > span { display: block; color: var(--muted); font-size: .94rem; overflow-wrap: anywhere; }
.cinfo__item div > a:hover { color: var(--c-primary); }
.cinfo__ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: calc(var(--r) - 2px); background: var(--tint); color: var(--c-primary); }
.form { padding: clamp(24px, 4vw, 40px); border-radius: calc(var(--r) * 1.3); background: var(--c-surface); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.form h2 { font-size: 1.7rem; margin-bottom: .2em; }
.form__sub { color: var(--muted); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0 24px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: span 2; }
.field label { font-size: .86rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--c-text) 20%, transparent); border-radius: var(--rb); background: var(--c-bg); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field :focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent); }
.hp { position: absolute; left: -9999px; }
.alert { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--rb); font-weight: 600; margin-top: 16px; }
.alert--ok { background: #e7f6ed; color: #13633a; }
.alert--err { background: #fdecea; color: #a12a1d; }
.map { margin-top: 40px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* ---------- Visual aid viewer ---------- */
.emptybox { max-width: 620px; margin: 0 auto; text-align: center; padding: 48px 32px; border-radius: var(--r); border: 1px dashed var(--line); background: var(--c-surface); }
.emptybox .cinfo__ic { margin: 0 auto 16px; }
.emptybox p { color: var(--muted); }
.viewer { border-radius: var(--r); border: 1px solid var(--line); background: var(--c-surface); overflow: hidden; box-shadow: var(--shadow); }
.viewer:fullscreen { display: flex; flex-direction: column; border-radius: 0; }
.viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.viewer__title { display: flex; align-items: center; gap: 10px; }
.viewer__title .ic { color: var(--c-primary); }
.viewer__pager { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.viewer__pager input { width: 56px; padding: 6px; text-align: center; border: 1px solid var(--line); border-radius: 6px; background: var(--c-bg); }
.viewer__tools { display: flex; gap: 10px; align-items: center; }
.viewer__stage { position: relative; display: grid; place-items: center; min-height: 420px; padding: 20px; background: color-mix(in srgb, var(--c-text) 6%, var(--c-bg)); }
.viewer:fullscreen .viewer__stage { flex: 1; }
.viewer__stage canvas { max-width: 100%; height: auto; box-shadow: 0 12px 40px -12px rgba(0, 0, 0, .35); border-radius: 4px; background: #fff; }
.viewer__loading { position: absolute; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--c-primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.viewer__hit { position: absolute; top: 0; bottom: 0; width: 22%; border: 0; background: none; }
.viewer__hit--prev { left: 0; cursor: w-resize; } .viewer__hit--next { right: 0; cursor: e-resize; }
.viewer__progress { height: 3px; background: var(--line); }
.viewer__progress i { display: block; height: 100%; width: 0; background: var(--c-primary); transition: width .3s; }
.viewer__thumbs { display: flex; gap: 10px; padding: 12px 16px; overflow-x: auto; }
.viewer__thumbs button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 4px; background: #fff; opacity: .6; transition: opacity .2s, border-color .2s; }
.viewer__thumbs button.on, .viewer__thumbs button:hover { opacity: 1; border-color: var(--c-primary); }
.viewer__thumbs canvas { display: block; height: 70px; width: auto; }

/* ---------- Footer ---------- */
.ftr { background: var(--c-deep); color: rgba(255, 255, 255, .7); padding: clamp(56px, 7vw, 88px) 0 0; font-size: .94rem; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.logo--ftr { margin-bottom: 18px; }
.logo--ftr img { background: #fff; border-radius: 8px; padding: 3px; }
.logo--ftr .logo__txt b { color: #fff; }
.logo--ftr .logo__txt b span { color: color-mix(in srgb, var(--c-secondary) 60%, #fff); }
.logo--ftr .logo__txt small { color: rgba(255, 255, 255, .55); }
.ftr__brand p { max-width: 320px; }
.ftr__soc { display: flex; gap: 10px; }
.ftr__soc a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); transition: background .2s, border-color .2s, color .2s; }
.ftr__soc a:hover { background: #fff; color: var(--c-deep); border-color: #fff; }
.ftr h3 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); }
.ftr__col > a { display: block; padding: 5px 0; transition: color .2s, transform .2s; }
.ftr__col > a:hover { color: #fff; transform: translateX(3px); }
.ftr__contact p { display: flex; gap: 10px; margin-bottom: 12px; }
.ftr__contact .ic { margin-top: 4px; color: color-mix(in srgb, var(--c-secondary) 60%, #fff); }
.ftr__contact span a { display: block; }
.ftr__contact a:hover { color: #fff; }
.ftr__bar { display: flex; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.ftr__bar span:last-child { max-width: 600px; }

/* ---------- Floating buttons ---------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1fa855; color: #fff; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa .ic { width: 28px; height: 28px; }
.totop { position: fixed; right: 26px; bottom: 86px; z-index: 30; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--c-surface); color: var(--c-text); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.totop.on { opacity: 1; pointer-events: auto; transform: none; }
.totop .ic { transform: rotate(-45deg); }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: grid; }
  .hdr__in { justify-content: space-between; }
  .hdr__cta { margin-left: auto; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .leaders { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .util__l, .util__soc, .hdr__tel { display: none !important; }
  .util__in { justify-content: center; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .split, .quality, .contact, .pd__grid { grid-template-columns: 1fr; }
  .pd__media { position: static; max-width: 460px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .duo { grid-template-columns: 1fr; }
  .facts__in { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .fact:nth-child(3) { border: 0; padding-left: 0; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: span 2; }
  .job { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .util { display: none; }
  .hdr__in { min-height: 64px; gap: 10px; }
  .hdr__cta .btn { display: none; }
  .logo__txt small { display: none; }
  .areas, .areas--list, .feats, .certs, .form__grid { grid-template-columns: 1fr; }
  .field--wide { grid-column: auto; }
  .pgrid { gap: 10px; }
  .prod__body { padding: 14px; }
  .prod h3 { font-size: 1rem; }
  .prod__foot span { display: none; }
  .pnav { grid-template-columns: 1fr; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad); max-width: 100vw; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__brand { grid-column: auto; }
  .band__in { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- Product lineup (hero product display: same scale, one baseline, one floor shadow) ---------- */
.lineup { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 0; width: 100%; height: 100%; padding: 12% 8% 18%; }
.lineup::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 15%; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .22), transparent); z-index: 0; }
.lineup img { position: relative; z-index: 1; flex: 0 1 34%; min-width: 0; max-height: 62%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .14)); }
.lineup img:nth-child(2) { flex-basis: 40%; max-height: 74%; z-index: 2; margin-inline: -4%; }
.lineup img:only-child { flex-basis: 56%; max-height: 74%; }
.lineup img:first-child:nth-last-child(2), .lineup img:first-child:nth-last-child(2) ~ img { flex-basis: 44%; max-height: 70%; margin-inline: 0; }

/* Announcement bar (Admin → Website controls) */
.announce { position: relative; z-index: 60; background: var(--c-accent); color: var(--c-on-accent, #111); text-align: center; font-size: .86rem; font-weight: 600; line-height: 1.45; padding: 9px 16px; }
.announce p { margin: 0 auto; max-width: 1100px; }
.announce a { color: inherit; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
