/* ============================================================
   Alrightmed — "big company" design layer (am.css)
   Loaded after style.css. New sections use .am-* classes only,
   so older inner pages keep working until they are redesigned.

   Layout: dark forest hero with a spec sheet of dosage forms,
   then alternating paper / white / forest bands.
   ============================================================ */
:root {
  --am-forest: #10210a;      /* dark bands, footer */
  --am-forest-2: #18300e;    /* raised surfaces on dark */
  --am-green: #345c00;       /* brand green (buttons, headings accents) */
  --am-leaf: #3f850d;        /* logo green */
  --am-lime: #b8e066;        /* highlight on dark only */
  --am-ink: #16220f;         /* body text */
  --am-mute: #5a6852;        /* secondary text */
  --am-paper: #f3f6ee;       /* soft band */
  --am-white: #ffffff;
  --am-line: #dde5d3;
  --am-line-dark: rgba(184, 224, 102, .16);

  --am-display: 'Archivo', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --am-body: 'Figtree', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --am-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --am-r: 14px;
  --am-gutter: max(20px, env(safe-area-inset-left, 0px));
}

/* ---------- base ---------- */
.am-body { background: var(--am-white); color: var(--am-ink); font-family: var(--am-body); -webkit-font-smoothing: antialiased; }
.am-body h1, .am-body h2, .am-body h3 { font-family: var(--am-display); font-stretch: 108%; letter-spacing: -.01em; text-wrap: balance; }
.am-wrap { max-width: 1220px; margin: 0 auto; padding-left: var(--am-gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.am-mono { font-family: var(--am-mono); font-size: 11.5px; letter-spacing: .02em; }
.am-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--am-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--am-leaf); }
.am-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.am-eyebrow-light { color: var(--am-lime); }

.am-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 999px; font-family: var(--am-body); font-weight: 700; font-size: 14.5px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.am-btn:hover { transform: translateY(-1px); }
.am-btn:focus-visible, .am-nav a:focus-visible, .am-dd-btn:focus-visible { outline: 3px solid var(--am-lime); outline-offset: 2px; }
.am-btn-solid { background: var(--am-green); color: #fff; }
.am-btn-solid:hover { background: var(--am-forest-2); }
.am-btn-lime { background: var(--am-lime); color: var(--am-forest); }
.am-btn-lime:hover { background: #cbee84; }
.am-btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.am-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.am-link { font-weight: 700; color: var(--am-green); }
.am-link:hover { color: var(--am-leaf); }

/* reveal: visible at rest; animates only when JS is running */
.am-js .am-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
.am-js .am-rv.in-view { opacity: 1; transform: none; }

/* ---------- top bar ---------- */
.am-topbar { background: var(--am-forest); color: #c9d6bd; font-size: 12.5px; }
.am-topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.am-topbar-note { font-family: var(--am-mono); font-size: 11.5px; letter-spacing: .03em; }
.am-topbar-contact { display: flex; gap: 22px; }
.am-topbar a { color: #e7f0dd; }
.am-topbar a:hover { color: var(--am-lime); }

/* ---------- header ---------- */
header.am-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--am-line); transition: box-shadow .25s; }
header.am-header.scrolled { box-shadow: 0 8px 30px rgba(16,33,10,.08); }
.am-header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.am-brand img { height: 44px; width: auto; display: block; }
nav.am-nav { display: flex; align-items: center; gap: 4px; font-family: var(--am-body); font-size: 15px; font-weight: 600; }
nav.am-nav > a, .am-dd-btn { white-space: nowrap; padding: 10px 14px; border-radius: 10px; color: var(--am-ink); background: none; border: 0; font: inherit; cursor: pointer; }
nav.am-nav > a:hover, .am-dd-btn:hover { color: var(--am-green); background: var(--am-paper); }
nav.am-nav > a.on, .am-dd-btn.on { color: var(--am-green); }
nav.am-nav > a.am-nav-cta { margin-left: 10px; color: #fff; background: var(--am-green); padding: 0 22px; }
nav.am-nav > a.am-nav-cta:hover { background: var(--am-forest-2); color: #fff; }
.am-dd { position: relative; }
.am-dd-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.am-dd.open .am-dd-btn::after { transform: translateY(0) rotate(225deg); }
.am-dd-menu { position: absolute; top: 100%; left: 0; padding-top: 10px; min-width: 320px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.am-dd-menu::before { content: ""; position: absolute; inset: 10px 0 0; background: #fff; border: 1px solid var(--am-line); border-radius: var(--am-r); box-shadow: 0 24px 50px rgba(16,33,10,.14); }
.am-dd-menu > a { position: relative; display: block; padding: 12px 18px; }
.am-dd-menu > a:first-child { margin-top: 8px; }
.am-dd-menu > a:last-child { margin-bottom: 8px; }
.am-dd-menu > a b { display: block; font-size: 14.5px; color: var(--am-ink); }
.am-dd-menu > a span { display: block; font-size: 12.5px; font-weight: 500; color: var(--am-mute); margin-top: 2px; }
.am-dd-menu > a:hover b { color: var(--am-green); }
.am-dd-menu.am-dd-right { left: auto; right: 0; min-width: 240px; }
.am-dd-mega { display: grid; grid-template-columns: 1fr 1fr; min-width: 540px; padding-bottom: 8px; }
.am-dd-mega > a:first-child, .am-dd-mega > a:nth-child(2) { margin-top: 8px; }
.am-dd-mega > a:last-child { margin-bottom: 0; }
.am-dd-grid { display: grid; grid-template-columns: 1fr 1fr; min-width: 400px; padding-bottom: 8px; }
.am-dd-grid > a:first-child, .am-dd-grid > a:nth-child(2) { margin-top: 8px; }
.am-dd-grid > a:last-child { margin-bottom: 0; }
@media (hover: hover) and (min-width: 1101px) { .am-dd:hover .am-dd-menu { opacity: 1; visibility: visible; transform: none; } }
.am-dd.open .am-dd-menu { opacity: 1; visibility: visible; transform: none; }
.am-burger { display: none; width: 46px; height: 46px; border: 1px solid var(--am-line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.am-burger span { width: 20px; height: 2px; background: var(--am-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.am-nav-open .am-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.am-nav-open .am-burger span:nth-child(2) { opacity: 0; }
.am-nav-open .am-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
section.am-hero { position: relative; padding: 0; color: #fff; background: var(--am-forest); overflow: hidden; isolation: isolate; }
.am-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: 70% center; animation: am-drift 22s ease-in-out infinite alternate; }
section.am-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(16,33,10,.97) 0%, rgba(16,33,10,.88) 42%, rgba(16,33,10,.45) 75%, rgba(16,33,10,.62) 100%), linear-gradient(0deg, rgba(16,33,10,.9) 0%, transparent 38%); }
@keyframes am-drift { from { transform: scale(1.04) translateX(0); } to { transform: scale(1.12) translateX(-2%); } }
.am-hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 56px; align-items: center; padding-block: 92px 56px; }
.am-hero-copy h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.02; font-weight: 800; font-stretch: 112%; color: #fff; margin: 20px 0 22px; letter-spacing: -.02em; }
.am-hero-copy p { font-size: 17.5px; line-height: 1.65; color: #d5e2c9; max-width: 54ch; }
.am-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.am-js .am-hero-copy > * { animation: am-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.am-js .am-hero-copy > *:nth-child(2) { animation-delay: .08s; }
.am-js .am-hero-copy > *:nth-child(3) { animation-delay: .16s; }
.am-js .am-hero-copy > *:nth-child(4) { animation-delay: .24s; }
.am-js .am-spec { animation: am-rise .9s cubic-bezier(.2,.7,.2,1) .3s both; }
@keyframes am-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.am-spec { background: rgba(16,33,10,.62); border: 1px solid var(--am-line-dark); border-radius: 18px; padding: 8px 22px 12px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.am-spec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 12px; border-bottom: 1px solid var(--am-line-dark); font-size: 13px; font-weight: 700; color: #fff; }
.am-spec-head .am-mono { color: var(--am-lime); }
.am-spec ul { list-style: none; margin: 0; padding: 0; }
.am-spec li { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--am-line-dark); }
.am-spec li:last-child { border-bottom: 0; }
.am-spec-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(184,224,102,.12); color: var(--am-lime); }
.am-spec-ico svg { width: 24px; height: 24px; }
.am-spec-txt { min-width: 0; }
.am-spec-txt b { display: block; font-size: 15.5px; color: #fff; }
.am-spec-txt .am-mono { color: #aebfa0; }

.am-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--am-line-dark); margin-bottom: 0; }
.am-stat { padding: 26px 22px 30px 0; }
.am-stat + .am-stat { padding-left: 24px; border-left: 1px solid var(--am-line-dark); }
.am-stat b { display: block; font-family: var(--am-display); font-stretch: 112%; font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.am-stat b.am-stat-word { font-size: clamp(22px, 2.2vw, 28px); padding-top: 6px; }
.am-stat span { display: block; margin-top: 6px; font-size: 13.5px; color: #aebfa0; }

/* ---------- generic sections ---------- */
section.am-sec { padding: 104px 0; background: var(--am-white); }
section.am-sec-paper { background: var(--am-paper); }
section.am-sec-dark { background: var(--am-forest); color: #fff; }
.am-head { max-width: 760px; margin-bottom: 52px; }
.am-head h2, .am-split-copy h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; font-weight: 800; margin-top: 16px; color: var(--am-ink); }
.am-sec-dark .am-head h2 { color: #fff; }
.am-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.am-head-row > div { max-width: 720px; }
.am-body .am-sec p { color: var(--am-mute); line-height: 1.7; }

/* ---------- capabilities ---------- */
.am-forms { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--am-line); border: 1px solid var(--am-line); border-radius: 18px; overflow: hidden; }
.am-form { grid-column: span 2; }
.am-form:nth-child(n+4) { grid-column: span 3; }
.am-form:nth-child(n+4) .am-mock { max-width: 460px; margin: 0 auto; }
.am-form:nth-child(n+4) .am-form-photo { aspect-ratio: 3 / 2; object-position: center 45%; }
.am-form { display: flex; flex-direction: column; gap: 12px; padding: 30px 24px 26px; background: #fff; transition: background .25s; }
.am-form:hover { background: var(--am-paper); }
.am-form-stage { display: block; margin: -30px -24px 6px; padding: 0; background: radial-gradient(120% 90% at 50% 100%, #e3edd6 0%, #f3f6ee 55%, #ffffff 100%); border-bottom: 1px solid var(--am-line); overflow: hidden; }
.am-mock { display: block; width: 100%; height: auto; max-width: 100%; transition: transform .5s cubic-bezier(.2,.7,.2,1); transform-origin: 50% 90%; }
.am-form-photo { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 7 / 5; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.am-form:hover .am-form-photo { transform: scale(1.04); }
.am-form-stage .am-mock { padding: 18px 10px 6px; }
.am-form:hover .am-mock { transform: translateY(-4px) scale(1.03); }
.am-form-ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--am-paper); color: var(--am-green); transition: background .25s, color .25s; }
.am-form:hover .am-form-ico { background: var(--am-green); color: var(--am-lime); }
.am-form-ico svg { width: 30px; height: 30px; }
.am-form h3 { font-size: 21px; font-weight: 700; color: var(--am-ink); margin-top: 8px; }
.am-body .am-form p { font-size: 14.5px; flex: 1; }
.am-form-fmt { color: var(--am-green); padding-top: 14px; border-top: 1px dashed var(--am-line); }

/* ---------- split / about ---------- */
.am-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.am-split-copy p { font-size: 16.5px; margin-top: 20px; max-width: 58ch; }
.am-split-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.am-quote { margin: 26px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--am-leaf); font-family: var(--am-display); font-stretch: 105%; font-size: 21px; font-weight: 600; color: var(--am-green); }
.am-collage { position: relative; aspect-ratio: 1 / .95; max-width: 100%; }
.am-collage img { position: absolute; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px rgba(16,33,10,.18); }
.am-collage-a { inset: 0 18% 22% 0; width: 82%; height: 78%; }
.am-collage-b { right: 0; bottom: 0; width: 46%; height: 58%; border: 8px solid var(--am-paper); }
.am-collage-tag { position: absolute; left: 22px; bottom: 6%; background: var(--am-forest); color: #fff; border-radius: 14px; padding: 16px 20px; max-width: 60%; }
.am-collage-tag b { display: block; font-family: var(--am-display); font-stretch: 112%; font-size: 24px; color: var(--am-lime); }
.am-collage-tag span { font-size: 12.5px; color: #c9d6bd; }

/* ---------- process ---------- */
ol.am-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: none; position: relative; }
ol.am-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--am-line) 0 8px, transparent 8px 14px); }
.am-step { position: relative; padding-right: 22px; }
.am-step-n { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--am-green); color: var(--am-green); font-size: 14px; font-weight: 500; margin-bottom: 22px; transition: background .25s, color .25s; }
.am-step:hover .am-step-n { background: var(--am-green); color: var(--am-lime); }
.am-step h3 { font-size: 17px; font-weight: 700; color: var(--am-ink); font-stretch: 100%; }
.am-body .am-step p { font-size: 14px; margin-top: 8px; line-height: 1.6; }

/* ---------- facility mosaic ---------- */
.am-mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 16px; }
.am-mosaic figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; background: var(--am-forest-2); }
.am-mosaic .am-m1 { grid-row: 1 / 3; }
.am-mosaic .am-m2 { grid-column: 2 / 4; }
.am-mosaic img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.am-mosaic figure:hover img { transform: scale(1.05); }
.am-mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(0deg, rgba(16,33,10,.92), transparent); }
.am-mosaic figcaption b { display: block; font-size: 15.5px; color: #fff; }
.am-mosaic figcaption span { font-family: var(--am-mono); font-size: 11.5px; color: var(--am-lime); }

/* ---------- quality ---------- */
.am-split-rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.am-checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.am-checks li { position: relative; padding-left: 30px; font-weight: 600; font-size: 15px; color: var(--am-ink); }
.am-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--am-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23b8e066' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.am-quality-visual { position: relative; }
.am-quality-visual img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 18px; display: block; }
.am-seal { position: absolute; left: -34px; bottom: -34px; width: 132px; height: 132px; border-radius: 50%; background: var(--am-forest); color: var(--am-lime); display: grid; place-items: center; box-shadow: 0 18px 40px rgba(16,33,10,.3); }
.am-seal svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: am-spin 30s linear infinite; }
.am-seal text { font-family: var(--am-mono); font-size: 9.4px; letter-spacing: .14em; fill: var(--am-lime); }
.am-seal b { font-family: var(--am-display); font-stretch: 115%; font-size: 26px; font-weight: 800; color: #fff; }
@keyframes am-spin { to { transform: rotate(360deg); } }

/* ---------- therapeutic areas ---------- */
.am-areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.am-area { display: flex; align-items: flex-start; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--am-line); border-radius: var(--am-r); transition: border-color .25s, box-shadow .25s, transform .25s; }
.am-area:hover { border-color: var(--am-leaf); box-shadow: 0 16px 36px rgba(16,33,10,.08); transform: translateY(-2px); }
.am-area-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--am-paper); color: var(--am-green); }
.am-area-ico svg { width: 24px; height: 24px; }
.am-area-txt { flex: 1; min-width: 0; }
.am-area-txt b { display: block; font-size: 16.5px; color: var(--am-ink); }
.am-area-txt span { display: block; font-size: 13.5px; line-height: 1.55; color: var(--am-mute); margin-top: 4px; }
.am-area-go { color: var(--am-leaf); font-weight: 700; transition: transform .25s; }
.am-area:hover .am-area-go { transform: translateX(4px); }

/* ---------- why us ---------- */
.am-range { margin: 0 0 48px; border-radius: 20px; overflow: hidden; background: var(--am-paper); }
.am-range-meet { margin-bottom: 56px; }
.am-range img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.am-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--am-line); }
.am-why-item { padding: 30px 32px 34px 0; border-bottom: 1px solid var(--am-line); }
.am-why-item:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--am-line); }
.am-why-item h3 { font-size: 19px; font-weight: 700; color: var(--am-ink); }
.am-why-item h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--am-leaf); margin-bottom: 18px; }
.am-body .am-why-item p { font-size: 14.5px; margin-top: 10px; }

/* ---------- quote band ---------- */
section.am-quote-band { padding: 0; background: var(--am-white); }
.am-quote-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; background: var(--am-forest); color: #fff; border-radius: 24px; padding: 56px; margin-bottom: 104px; position: relative; overflow: hidden; }
.am-quote-in::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(184,224,102,.06); pointer-events: none; }
.am-quote-copy h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; color: #fff; line-height: 1.08; }
.am-body .am-quote-copy p { color: #c9d6bd; font-size: 16px; margin-top: 16px; max-width: 42ch; line-height: 1.65; }
.am-quote-contact { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--am-line-dark); }
.am-quote-contact span { display: block; font-family: var(--am-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--am-lime); }
.am-quote-contact a { font-family: var(--am-display); font-stretch: 110%; font-size: 26px; font-weight: 700; color: #fff; }
.am-quote-form { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.am-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.am-field-full { grid-column: 1 / -1; }
.am-field label { font-size: 12.5px; font-weight: 600; color: #c9d6bd; }
.am-field input, .am-field select, .am-field textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--am-line-dark); background: rgba(255,255,255,.06); color: #fff; font: 15px var(--am-body); }
.am-field select option { color: var(--am-ink); }
.am-field input::placeholder, .am-field textarea::placeholder { color: #8a9c7d; }
.am-field input:focus, .am-field select:focus, .am-field textarea:focus { outline: none; border-color: var(--am-lime); background: rgba(255,255,255,.1); }
.am-quote-form .am-btn-solid { background: var(--am-lime); color: var(--am-forest); }
.am-quote-form .am-btn-solid:hover { background: #cbee84; }

/* ---------- footer ---------- */
footer.am-footer { background: var(--am-forest); color: #b7c6aa; padding: 76px 0 0; font-size: 14px; }
.am-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 44px; padding-bottom: 52px; }
.am-foot-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; }
.am-foot-logo img { height: 38px; display: block; }
.am-body .am-foot-about p { color: #b7c6aa; margin-top: 20px; max-width: 38ch; line-height: 1.7; font-size: 14px; }
.am-social { display: flex; gap: 10px; margin-top: 22px; }
.am-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--am-line-dark); color: #e7f0dd; transition: background .2s, color .2s; }
.am-social a:hover { background: var(--am-lime); color: var(--am-forest); }
.am-foot-col h5 { font-family: var(--am-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--am-lime); margin: 6px 0 20px; }
.am-foot-col a { display: block; color: #dfe9d5; margin-bottom: 12px; }
.am-foot-col a:hover { color: var(--am-lime); }
.am-body .am-foot-contact p { color: #dfe9d5; margin-bottom: 14px; line-height: 1.5; font-size: 14px; }
.am-foot-contact p span { display: block; font-size: 12px; color: #93a585; }
.am-foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--am-line-dark); font-size: 13px; }
.am-foot-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.am-foot-legal a { color: #b7c6aa; }
.am-foot-legal a:hover { color: var(--am-lime); }

/* floating buttons sit above the safe area */
.whatsapp-float { bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .am-forms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-form, .am-form:nth-child(n+4) { grid-column: span 1; }
  .am-form:last-child { grid-column: 1 / -1; }
  ol.am-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  ol.am-steps::before { display: none; }
}
@media (max-width: 1240px) and (min-width: 1101px) {
  nav.am-nav { font-size: 14.5px; }
  nav.am-nav > a, .am-dd-btn { padding: 10px 10px; }
  nav.am-nav > a.am-nav-cta { padding: 0 18px; margin-left: 6px; }
}
@media (max-width: 1100px) {
  .am-burger { display: inline-flex; }
  nav.am-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--am-line); padding: 10px var(--am-gutter) 20px; max-height: calc(100vh - 110px); overflow-y: auto; box-shadow: 0 20px 40px rgba(16,33,10,.12); }
  nav.am-nav.open { display: flex; }
  nav.am-nav > a, .am-dd-btn { width: 100%; text-align: left; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--am-line); }
  nav.am-nav > a.am-nav-cta { margin: 16px 0 0; border-radius: 999px; text-align: center; border: 0; padding: 0 22px; }
  .am-dd-btn { display: flex; justify-content: space-between; align-items: center; }
  .am-dd-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 8px; min-width: 0; }
  .am-dd-menu::before { display: none; }
  .am-dd.open .am-dd-menu { display: block; }
  .am-dd-grid, .am-dd-mega { min-width: 0; }
  .am-dd-grid.am-dd-menu { grid-template-columns: 1fr 1fr; }
  .am-dd-mega.am-dd-menu { grid-template-columns: 1fr; }
  .am-dd.open .am-dd-grid, .am-dd.open .am-dd-mega { display: grid; }
  .am-dd-menu > a span { white-space: normal; }
  .am-dd-menu > a, .am-dd-menu > a:first-child, .am-dd-menu > a:last-child { margin: 0; padding: 10px 12px; }
  .am-header-in { position: relative; }
  header.am-header { position: sticky; }

  .am-hero-in { grid-template-columns: 1fr; gap: 40px; padding-block: 64px 44px; }
  .am-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .am-stat:nth-child(n+3) { border-top: 1px solid var(--am-line-dark); }
  .am-split, .am-split-rev { grid-template-columns: 1fr; gap: 48px; }
  .am-split-rev .am-quality-visual { order: -1; }
  .am-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 200px 200px; }
  .am-mosaic .am-m1 { grid-row: auto; grid-column: 1 / 3; }
  .am-mosaic .am-m2 { grid-column: auto; }
  .am-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-why-item, .am-why-item:not(:nth-child(3n+1)) { padding: 28px 24px 30px 0; border-left: 0; }
  .am-why-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--am-line); }
  .am-quote-in { grid-template-columns: 1fr; gap: 36px; padding: 40px 28px; }
  .am-foot-grid { grid-template-columns: 1fr 1fr; }
  .am-seal { left: 16px; bottom: -28px; width: 108px; height: 108px; }
  .am-seal b { font-size: 21px; }
}
@media (max-width: 640px) {
  .am-topbar-note { display: none; }
  .am-topbar-in { justify-content: center; }
  .am-topbar-contact { gap: 16px; font-size: 12px; }
  .am-brand img { height: 36px; }
  .am-header-in { min-height: 64px; }
  section.am-sec { padding: 72px 0; }
  .am-head { margin-bottom: 36px; }
  .am-forms { grid-template-columns: 1fr; }
  .am-form, .am-form:nth-child(n+4), .am-form:last-child { grid-column: auto; }
  ol.am-steps { grid-template-columns: 1fr; row-gap: 0; }
  .am-step { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 0 0 26px; }
  .am-step-n { grid-row: 1 / 3; margin: 0; }
  .am-mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 210px; }
  .am-mosaic .am-m1 { grid-column: auto; }
  .am-areas, .am-why { grid-template-columns: 1fr; }
  .am-why-item, .am-why-item:nth-child(even), .am-why-item:not(:nth-child(3n+1)) { padding: 24px 0; border-left: 0; }
  .am-checks { grid-template-columns: 1fr; }
  .am-quote-form { grid-template-columns: 1fr; }
  .am-quote-in { margin-bottom: 72px; border-radius: 18px; padding: 32px 20px; }
  .am-foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .am-collage { aspect-ratio: 1 / 1.05; }
  .am-collage-tag { max-width: 70%; left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .am-hero-bg, .am-seal svg { animation: none; }
  .am-js .am-rv, .am-js .am-hero-copy > *, .am-js .am-spec { animation: none; opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Inner pages
   ============================================================ */
/* page banner */
section.am-phero { position: relative; padding: 0; overflow: hidden; isolation: isolate; background: var(--am-forest); color: #fff; }
.am-phero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.03); }
section.am-phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(16,33,10,.95) 0%, rgba(16,33,10,.82) 45%, rgba(16,33,10,.4) 100%); }
.am-phero-in { padding-block: 72px 76px; max-width: 1220px; }
.am-phero-in h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.05; font-weight: 800; font-stretch: 110%; color: #fff; margin: 16px 0 16px; max-width: 18ch; }
.am-body .am-phero-in p { font-size: 17px; line-height: 1.65; color: #d5e2c9; max-width: 58ch; }
.am-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #aebfa0; margin-bottom: 22px; }
.am-crumb a { color: #dfe9d5; } .am-crumb a:hover { color: var(--am-lime); }
.am-crumb-now { color: var(--am-lime); }

/* closing CTA */
section.am-cta { padding: 0 0 104px; background: var(--am-white); }
.am-cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; background: var(--am-forest); border-radius: 24px; padding: 48px 52px; position: relative; overflow: hidden; }
.am-cta-in::after { content: ""; position: absolute; right: -110px; bottom: -150px; width: 340px; height: 340px; border-radius: 50%; border: 56px solid rgba(184,224,102,.07); pointer-events: none; }
.am-cta-in h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; color: #fff; line-height: 1.12; max-width: 22ch; }
.am-body .am-cta-in p { color: #c9d6bd; margin-top: 10px; max-width: 52ch; }
.am-cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }

/* generic photo cards */
.am-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.am-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.am-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.am-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--am-line); border-radius: 18px; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; min-width: 0; }
a.am-card:hover { border-color: var(--am-leaf); box-shadow: 0 18px 40px rgba(16,33,10,.08); transform: translateY(-2px); }
.am-card-img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.am-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.am-card-body h3 { font-size: 19px; font-weight: 700; color: var(--am-ink); font-stretch: 100%; }
.am-body .am-card-body p { font-size: 14.5px; line-height: 1.65; flex: 1; }
.am-card-more { font-weight: 700; font-size: 14px; color: var(--am-green); margin-top: 4px; }

/* numbered/plain text grid (no photos) */
.am-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--am-line); }
.am-point { padding: 26px 28px 28px 0; border-bottom: 1px solid var(--am-line); }
.am-point:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--am-line); }
.am-point h3 { font-size: 18px; font-weight: 700; color: var(--am-ink); font-stretch: 100%; }
.am-point h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--am-leaf); margin-bottom: 16px; }
.am-body .am-point p { font-size: 14.5px; margin-top: 8px; }

/* chips + fact boxes */
.am-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.am-chips li { background: var(--am-paper); border: 1px solid var(--am-line); color: var(--am-green); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; }
.am-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.am-fact { background: var(--am-paper); border: 1px solid var(--am-line); border-radius: 14px; padding: 16px 18px; }
.am-fact span { display: block; font-family: var(--am-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--am-leaf); }
.am-fact b { display: block; margin-top: 6px; font-size: 15px; color: var(--am-ink); }

/* sub navigation (dosage forms) */
.am-subnav { position: sticky; top: 76px; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--am-line); }
.am-subnav-in { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.am-subnav-in::-webkit-scrollbar { display: none; }
.am-subnav a { flex: none; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--am-ink); border: 1px solid var(--am-line); }
.am-subnav a:hover { border-color: var(--am-leaf); color: var(--am-green); }
.am-subnav a.on { background: var(--am-green); border-color: var(--am-green); color: #fff; }

/* photo pair (line + pack) */
.am-pair { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.am-pair img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: cover; border-radius: 18px; aspect-ratio: 4 / 3.4; }
.am-pair img + img { background: var(--am-paper); }

/* step list (vertical) */
ol.am-vsteps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; }
.am-vsteps li { counter-increment: s; position: relative; padding: 0 0 22px 56px; font-weight: 600; color: var(--am-ink); min-height: 40px; display: flex; align-items: center; }
.am-vsteps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--am-green); color: var(--am-green); font-family: var(--am-mono); font-size: 12.5px; background: #fff; }
.am-vsteps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 42px; bottom: 2px; width: 2px; background: repeating-linear-gradient(180deg, var(--am-line) 0 6px, transparent 6px 10px); }
.am-vsteps li { align-items: flex-start; padding-top: 9px; }

/* compositions table */
.am-table-wrap { overflow-x: auto; border: 1px solid var(--am-line); border-radius: 16px; background: #fff; }
table.am-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.am-table th { text-align: left; font-family: var(--am-mono); font-weight: 500; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--am-leaf); background: var(--am-paper); padding: 14px 18px; border-bottom: 1px solid var(--am-line); }
.am-table td { padding: 14px 18px; border-bottom: 1px solid var(--am-line); color: var(--am-ink); vertical-align: top; }
.am-table tr:last-child td { border-bottom: 0; }
.am-table td:first-child { font-weight: 600; }
.am-table td:last-child { color: var(--am-mute); }
.am-note { font-size: 13.5px; color: var(--am-mute); margin-top: 14px; }

/* locations */
.am-locs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.am-loc { background: #fff; border: 1px solid var(--am-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.am-loc img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.am-loc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.am-loc-body span { font-family: var(--am-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--am-leaf); }
.am-loc-body b { font-size: 18px; color: var(--am-ink); }
.am-body .am-loc-body p { font-size: 14.5px; line-height: 1.6; flex: 1; }
.am-loc-body a { font-weight: 700; font-size: 14px; color: var(--am-green); margin-top: 8px; }
.am-loc-mark { aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(140deg, var(--am-forest), var(--am-forest-2)); color: var(--am-lime); font-family: var(--am-display); font-stretch: 112%; font-weight: 800; font-size: 34px; }

/* contact page form on white */
.am-contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: start; }
.am-form-light { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; border: 1px solid var(--am-line); border-radius: 20px; padding: 32px; }
.am-form-light .am-field label { color: var(--am-ink); }
.am-form-light .am-field input, .am-form-light .am-field select, .am-form-light .am-field textarea { background: var(--am-paper); border-color: var(--am-line); color: var(--am-ink); }
.am-form-light .am-field input::placeholder, .am-form-light .am-field textarea::placeholder { color: #8a9783; }
.am-form-light .am-field input:focus, .am-form-light .am-field select:focus, .am-form-light .am-field textarea:focus { border-color: var(--am-leaf); background: #fff; }
.am-alert { grid-column: 1 / -1; border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: 14.5px; }
.am-alert-ok { background: #e8f4dc; color: #2b5a06; border: 1px solid #c6e2a6; }
.am-alert-err { background: #fdeceb; color: #9b2218; border: 1px solid #f3c2c2; }
.am-aside { display: grid; gap: 16px; }
.am-aside-card { background: var(--am-paper); border: 1px solid var(--am-line); border-radius: 18px; padding: 22px 24px; }
.am-aside-card h3 { font-size: 17px; font-weight: 700; color: var(--am-ink); font-stretch: 100%; margin-bottom: 8px; }
.am-aside-card a { font-weight: 700; color: var(--am-green); word-break: break-word; }

/* long text (policies) */
.am-prose { max-width: 760px; }
.am-prose h2 { font-size: 22px; font-weight: 700; color: var(--am-ink); margin: 36px 0 10px; font-stretch: 100%; }
.am-prose h2:first-child { margin-top: 0; }
.am-body .am-prose p, .am-prose li { font-size: 16px; line-height: 1.75; color: var(--am-mute); }
.am-prose ul { padding-left: 22px; margin: 10px 0; }
.am-prose a { color: var(--am-green); font-weight: 600; }
.am-policy-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.am-policy-tabs a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--am-line); font-weight: 600; font-size: 14px; color: var(--am-ink); }
.am-policy-tabs a.on { background: var(--am-green); color: #fff; border-color: var(--am-green); }

/* big quote / statement */
.am-statement { font-family: var(--am-display); font-stretch: 108%; font-weight: 700; font-size: clamp(24px, 3vw, 36px); line-height: 1.25; color: var(--am-ink); max-width: 30ch; }
.am-statement em { font-style: normal; color: var(--am-leaf); }

@media (max-width: 980px) {
  .am-cards, .am-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-locs { grid-template-columns: 1fr 1fr; }
  .am-contact-grid { grid-template-columns: 1fr; }
  .am-pair { grid-template-columns: 1fr 1fr; }
  .am-subnav { top: 76px; }
  .am-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .am-phero-in { padding-block: 52px 56px; }
  .am-cards, .am-cards-2, .am-cards-4, .am-locs, .am-points { grid-template-columns: 1fr; }
  .am-point, .am-point:nth-child(even) { padding: 22px 0; border-left: 0; }
  .am-cta-in { padding: 34px 22px; border-radius: 18px; }
  section.am-cta { padding-bottom: 72px; }
  .am-form-light { grid-template-columns: 1fr; padding: 22px 18px; }
  .am-pair { grid-template-columns: 1fr; }
  .am-subnav { top: 64px; }
  .am-facts { grid-template-columns: 1fr; }
}
/* cards on dark bands */
.am-card.am-card-dark { background: var(--am-forest-2); border-color: var(--am-line-dark); }
.am-card-dark .am-card-body h3 { color: #fff; }
.am-body .am-card-dark .am-card-body p { color: #aebfa0; font-family: var(--am-mono); font-size: 12px; }
.am-card-dark .am-card-more { color: var(--am-lime); }
a.am-card.am-card-dark:hover { border-color: var(--am-lime); }

/* careers */
.am-jobs { display: grid; gap: 12px; }
.am-job { background: #fff; border: 1px solid var(--am-line); border-radius: 16px; overflow: hidden; }
.am-job[open] { border-color: var(--am-leaf); }
.am-job summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; }
.am-job summary::-webkit-details-marker { display: none; }
.am-job summary:focus-visible { outline: 3px solid var(--am-lime); outline-offset: -3px; }
.am-job-main { flex: 1; min-width: 0; }
.am-job-main b { display: block; font-size: 18px; color: var(--am-ink); }
.am-job-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.am-job-meta span { font-family: var(--am-mono); font-size: 11.5px; color: var(--am-green); background: var(--am-paper); border: 1px solid var(--am-line); border-radius: 999px; padding: 4px 10px; }
.am-job-toggle { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--am-green); color: var(--am-green); font-size: 20px; font-weight: 600; transition: transform .25s; }
.am-job[open] .am-job-toggle { transform: rotate(45deg); background: var(--am-green); color: #fff; }
.am-job-body { padding: 0 22px 22px; display: grid; gap: 16px; justify-items: start; }
.am-body .am-job-body p { font-size: 15px; line-height: 1.7; max-width: 75ch; }

/* product cards on therapeutic area pages */
.am-prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.am-prod { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--am-line); border-radius: 18px; overflow: hidden; min-width: 0; transition: border-color .25s, box-shadow .25s, transform .25s; }
.am-prod:hover { border-color: var(--am-leaf); box-shadow: 0 18px 40px rgba(16,33,10,.08); transform: translateY(-2px); }
.am-prod-img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 7 / 5; object-fit: cover; background: var(--am-paper); }
.am-prod-ph { display: grid; place-items: center; color: var(--am-leaf); }
.am-prod-ph svg { width: 64px; height: 64px; opacity: .6; }
.am-prod-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.am-prod-body h3 { font-size: 18px; font-weight: 700; color: var(--am-ink); font-stretch: 100%; }
.am-body .am-prod-body p { font-size: 12.5px; color: var(--am-green); flex: 1; }
@media (max-width: 1100px) { .am-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .am-prods { grid-template-columns: 1fr; } }

/* six-tile facility mosaic (old + new photos) */
.am-mosaic.am-mosaic-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 250px 250px; }
.am-mosaic-6 figure:nth-child(1) { grid-row: auto; }
@media (max-width: 1100px) { .am-mosaic.am-mosaic-6 { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 210px; } }
@media (max-width: 640px)  { .am-mosaic.am-mosaic-6 { grid-template-columns: 1fr; } }

/* "Medicine heals doubts" statement band */
section.am-statement-band { position: relative; padding: 0; overflow: hidden; isolation: isolate; background: var(--am-forest); color: #fff; }
.am-statement-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-attachment: fixed; }
section.am-statement-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,33,10,.94) 0%, rgba(16,33,10,.8) 55%, rgba(16,33,10,.55) 100%); }
.am-statement-in { padding-block: 120px; max-width: 1220px; }
.am-statement-in blockquote { margin: 22px 0 0; font-family: var(--am-display); font-stretch: 112%; font-weight: 800; font-size: clamp(34px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.02em; color: #fff; max-width: 16ch; text-wrap: balance; }
.am-body .am-statement-in p { margin-top: 26px; font-size: 17px; color: #c9d6bd; max-width: 52ch; }
@media (max-width: 640px) { .am-statement-in { padding-block: 80px; } .am-statement-bg { background-attachment: scroll; } }
@media (hover: none) { .am-statement-bg { background-attachment: scroll; } }

/* infrastructure gallery */
.am-gallery { columns: 3 280px; column-gap: 16px; }
.am-gallery figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: 14px; overflow: hidden; background: var(--am-paper); }
.am-gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.am-gallery img { display: block; width: 100%; height: auto; max-width: 100%; transition: transform .6s ease; }
.am-gallery figure:hover img { transform: scale(1.04); }
.am-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(0deg, rgba(16,33,10,.85), transparent); color: #fff; font-weight: 600; font-size: 14px; pointer-events: none; }
.am-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,16,5,.92); display: none; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.am-lightbox.open { display: flex; }
.am-lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; }
.am-lightbox figure { margin: 0; text-align: center; color: #dfe9d5; font-size: 14px; }
.am-lightbox figcaption { margin-top: 12px; }
.am-lb-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font-size: 22px; cursor: pointer; }

/* checkbox row in forms */
.am-check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--am-ink); cursor: pointer; }
.am-check input { width: 18px; height: 18px; accent-color: var(--am-green); }
.am-check-dark { color: #dfe9d5; }
.am-check-dark input { accent-color: var(--am-lime); }

/* B2B notice */
.am-body .am-b2b { font-size: 12.5px; color: #93a585; line-height: 1.6; padding: 18px 0; border-top: 1px solid var(--am-line-dark); max-width: 100ch; margin: 0; }

/* mobile sticky action bar */
.am-mbar { display: none; }
@media (max-width: 760px) {
  .am-mbar { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--am-line); box-shadow: 0 -8px 24px rgba(16,33,10,.08); }
  .am-mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; font-weight: 700; font-size: 15px; }
  .am-mbar-quote { background: var(--am-green); color: #fff; }
  .am-mbar-mail { border: 1.5px solid var(--am-green); color: var(--am-green); }
  body.am-body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .chat-float { bottom: calc(150px + env(safe-area-inset-bottom, 0px)) !important; }
  .whatsapp-float { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
  .chat-box { bottom: calc(210px + env(safe-area-inset-bottom, 0px)) !important; }
  .am-nav-open .am-mbar { display: none; }
}

/* FAQ */
.am-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.am-faq-h { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; font-weight: 800; margin-top: 16px; color: var(--am-ink); }
.am-body .am-faq-side { margin-top: 18px; font-size: 15.5px; }
.am-faq-side a { color: var(--am-green); font-weight: 700; }
.am-faq { display: grid; gap: 10px; }
.am-faq details { background: #fff; border: 1px solid var(--am-line); border-radius: 14px; }
.am-faq details[open] { border-color: var(--am-leaf); }
.am-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 16px; color: var(--am-ink); cursor: pointer; }
.am-faq summary::-webkit-details-marker { display: none; }
.am-faq summary:focus-visible { outline: 3px solid var(--am-lime); outline-offset: -3px; border-radius: 14px; }
.am-faq summary span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--am-green); color: var(--am-green); transition: transform .25s; }
.am-faq details[open] summary span { transform: rotate(45deg); background: var(--am-green); color: #fff; }
.am-body .am-faq details p { padding: 0 20px 20px; font-size: 15px; line-height: 1.7; }
@media (max-width: 1100px) { .am-faq-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Product list filter */
.am-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.am-pfilter { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 14px; margin-bottom: 18px; }
.am-pf-search { position: relative; display: block; }
.am-pf-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--am-green); }
.am-pf-search input, .am-pf-sel select { width: 100%; height: 52px; border: 1.5px solid var(--am-line); border-radius: 12px; background: #fff; font: inherit; font-size: 15.5px; color: var(--am-ink); }
.am-pf-search input { padding: 0 16px 0 46px; }
.am-pf-sel select { padding: 0 14px; }
.am-pf-search input:focus, .am-pf-sel select:focus { outline: none; border-color: var(--am-leaf); box-shadow: 0 0 0 3px rgba(184,224,102,.45); }
.am-pf-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.am-pf-chips button { border: 1.5px solid var(--am-line); background: #fff; color: var(--am-ink); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.am-pf-chips button:hover { border-color: var(--am-leaf); }
.am-pf-chips button.on { background: var(--am-green); border-color: var(--am-green); color: #fff; }
.am-body .am-pf-count { font-size: 14px; color: var(--am-green); font-weight: 600; margin: 0 0 18px; }
.am-prod[hidden] { display: none; }
.am-prod-tags { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--am-leaf); }
.am-pf-empty { text-align: center; padding: 48px 20px; background: var(--am-paper); border-radius: 18px; }
.am-pf-empty h3 { font-size: 22px; font-weight: 800; color: var(--am-ink); }
.am-body .am-pf-empty p { margin: 10px auto 22px; max-width: 460px; }
@media (max-width: 700px) { .am-pfilter { grid-template-columns: 1fr; } .am-prods { grid-template-columns: 1fr; } }

/* Blog article */
.am-article { max-width: 780px; margin: 0 auto; }
.am-article-img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; margin-bottom: 36px; }
.am-article .am-prose { max-width: none; }
.am-prose h3 { font-size: 18px; font-weight: 700; color: var(--am-ink); margin: 26px 0 8px; }
.am-prose p { margin: 0 0 16px; }
.am-prose li { margin: 4px 0; }
.am-body .am-article-note { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--am-line); font-size: 13.5px; color: var(--am-green); }
/* product cards without a photo: compact text card */
.am-prod-text .am-prod-body { border-top: 4px solid var(--am-lime); }
.am-prod-text .am-prod-body h3 { font-size: 16.5px; }
.am-pf-more { display: flex; justify-content: center; margin-top: 28px; }
