/* ═══════════════════════════════════════
   EMPAPHOR — Shared Stylesheet
   Used by: all PHP pages
   ═══════════════════════════════════════ */

/* ── Design tokens ── */
:root {
  --amber:    #E87722;
  --amber-d:  #C45F0A;
  --amber-l:  #FCA84A;
  --gold-bg:  #FEF3E2;
  --maroon:   #8B1A1A;
  --teal:     #0D9488;
  --teal-l:   #14B8A6;
  --navy:     #1A2744;
  --white:    #FFFFFF;
  --off:      #FAFAF8;
  --text:     #1C1C1C;
  --muted:    #5A5A5A;
  --border:   #E8D5B0;
  --radius:   0.875rem;
  --shadow:   0 4px 24px rgba(232,119,34,0.12);
  --shadow-s: 0 2px 10px rgba(0,0,0,0.06);
  --container-max: 67.5rem;
  --gutter: 1.5rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--off);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Layout utilities (mobile-first) ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.spacing-top    { padding-top: 2rem; }
.spacing-bottom { padding-bottom: 2rem; }
.spacing {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .spacing-top    { padding-top: 4rem; }
  .spacing-bottom { padding-bottom: 4rem; }
  .spacing {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 8px;
  display: block;
}

/* ══════════════════════════════════════
   NAV + DROPDOWN
   ══════════════════════════════════════ */
nav {
  background: var(--white);
  border-bottom: 3px solid var(--amber);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1rem;
}
.nav-logo img { height: 40px; width: auto; }

/* main nav list */
.nav-links {
  display: flex; gap: 8px; list-style: none;
  font-size: 0.9rem; font-weight: 600;
  position: relative;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  color: var(--navy); padding: 8px 14px; border-radius: 6px;
  display: flex; align-items: center; gap: 6px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li:hover > a { background: var(--gold-bg); color: var(--amber); }

/* chevron */
.nav-links .chevron {
  width: 12px; height: 12px; flex-shrink: 0;
  transition: transform 0.2s;
}
.nav-links > li:hover .chevron { transform: rotate(180deg); }

/* Level 1 dropdown — categories */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 240px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 300;
  overflow: visible;
}
/* Dropdown open — controlled by JS (nav-fix.js) */
.dropdown.drop-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}

/* Category row */
.dropdown-category {
  position: relative;
  border-bottom: 1px solid var(--border);
}
.dropdown-category:first-child .cat-label { border-radius: 10px 10px 0 0; }
.dropdown-category:last-child { border-bottom: none; }
.dropdown-category:last-child .cat-label { border-radius: 0 0 10px 10px; }

.cat-label {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  font-size: 0.82rem; font-weight: 700; color: var(--navy);
  letter-spacing: 0.02em;
  cursor: default;
  background: transparent;
  transition: background 0.15s;
}
.cat-label:hover { background: var(--gold-bg); }

.cat-label .arrow {
  width: 14px; height: 14px; color: var(--muted);
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}
.dropdown-category:hover .cat-label .arrow,
.sub-dropdown.sub-open ~ * .arrow,
.dropdown-category .sub-dropdown.sub-open + * .arrow {
  transform: translateX(3px); color: var(--amber);
}
/* highlight cat-label when its sub is open */
.dropdown-category:has(.sub-open) .cat-label {
  background: var(--gold-bg); color: var(--amber);
}
.dropdown-category:has(.sub-open) .cat-label .arrow {
  transform: translateX(3px); color: var(--amber);
}

/* Level 2 — sub products */
.sub-dropdown {
  position: absolute; top: 0; left: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
  min-width: 210px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  overflow: hidden;
  z-index: 400;
}
/* Sub-dropdown open — controlled by JS (nav-fix.js) */
.sub-dropdown.sub-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(0);
}

.sub-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  font-size: 0.88rem; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid #F0EAE0;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.sub-dropdown a:last-child { border-bottom: none; }
.sub-dropdown a:hover { background: var(--gold-bg); color: var(--amber); padding-left: 22px; }

.sub-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.dot-amber  { background: var(--amber); }
.dot-teal   { background: var(--teal); }
.dot-maroon { background: var(--maroon); }

/* mobile hamburger */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--navy);
}
.nav-hamburger svg { width: 24px; height: 24px; }

/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; top: 67px;
  background: var(--white);
  z-index: 190; overflow-y: auto;
  padding: 16px 0 40px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-cat {
  padding: 10px 24px 4px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--amber);
}
.mobile-menu a {
  display: block; padding: 12px 24px;
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid #F0EAE0;
  transition: background 0.15s;
}
.mobile-menu a:hover { background: var(--gold-bg); }

.nav-cta {
  background: var(--amber); color: var(--white) !important;
  padding: 9px 20px; border-radius: 50px;
  font-size: 0.86rem; font-weight: 700;
  transition: background 0.2s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--amber-d) !important; }

/* ══════════════════════════════════════
   BREADCRUMB
   ══════════════════════════════════════ */
.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding-block: 0.625rem;
  font-size: 0.78rem; color: var(--muted);
  position: relative;
  z-index: 9;
}
.breadcrumb-inner {
  display: flex; align-items: center; gap: 0.375rem; flex-wrap: wrap;
}
.breadcrumb a { color: var(--amber); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted); }

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(90deg, var(--amber), var(--amber-l));
  color: var(--white); font-weight: 700;
  padding: 13px 28px; border-radius: 50px;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(232,119,34,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,119,34,0.4); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--navy); color: var(--navy);
  padding: 11px 26px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ══════════════════════════════════════
   PRODUCT HERO (inner pages)
   ══════════════════════════════════════ */
.product-hero {
  position: relative; overflow: hidden;
}
.product-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: #fff;
  z-index: 0;
}
.product-hero-inner {
  display: grid; grid-template-columns: 1fr 26.25rem; gap: 3rem;
  align-items: center; position: relative; z-index: 1;
}
.product-hero-text .badge {
  display: inline-block;
  background: var(--navy); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 4px;
  margin-bottom: 16px;
}
.product-hero-text h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900; line-height: 1.1; color: var(--navy);
  letter-spacing: -0.03em; margin-bottom: 10px;
}
.product-hero-text h1 .accent { color: var(--amber); }
.product-hero-text .generic {
  font-size: 1rem; color: var(--muted); margin-bottom: 16px;
  font-style: italic;
}
.product-hero-text .tagline {
  display: inline-block;
  background: var(--navy); color: var(--white);
  font-size: 0.88rem; font-weight: 600;
  padding: 9px 18px; border-radius: 8px; margin-bottom: 24px;
}
.product-hero-text .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.product-hero-image {
  display: flex; justify-content: center; align-items: center;
}
.product-hero-image img {
  max-height: 320px; width: auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.15));
  transition: transform 0.3s;
}
.product-hero-image img:hover { transform: scale(1.02); }

/* ══════════════════════════════════════
   QUICK FACTS BAR
   ══════════════════════════════════════ */
.quick-facts {
  background: var(--navy); color: var(--white);
}
.quick-facts-inner {
  display: flex; gap: 0; flex-wrap: wrap;
  padding-block: 1.25rem;
}
.fact-item {
  flex: 1; min-width: 10rem;
  padding: 0.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.fact-item:last-child { border-right: none; }
.fact-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber-l); font-weight: 700; margin-bottom: 3px; }
.fact-value { font-size: 0.9rem; font-weight: 600; }

/* ══════════════════════════════════════
   CONTENT SECTIONS (inner pages)
   ══════════════════════════════════════ */
.content-section { /* spacing via .spacing utilities */ }
.content-section:nth-child(even) { background: var(--white); }


.content-section .container h2 {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800; color: var(--navy);
  margin-bottom: 24px; letter-spacing: -0.02em;
}

/* ── Highlight box (Important warnings) ── */
.highlight-box {
  border-radius: 12px; padding: 20px 24px;
  margin-bottom: 16px;
  display: flex; gap: 14px;
}
.highlight-box.warning {
  background: #FFF8F0; border: 2px solid var(--amber);
}
.highlight-box.danger {
  background: #FEF2F2; border: 2px solid #DC2626;
}
.highlight-box.info {
  background: #EFF6FF; border: 2px solid #3B82F6;
}
.highlight-box .hb-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.highlight-box .hb-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 4px; }
.highlight-box.warning .hb-title { color: var(--amber-d); }
.highlight-box.danger  .hb-title { color: #DC2626; }
.highlight-box.info    .hb-title { color: #1D4ED8; }
.highlight-box .hb-text { font-size: 0.88rem; color: var(--text); line-height: 1.6; }

/* ── Dosing Table ── */
.dosing-table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: var(--shadow-s); }
.dosing-table {
  width: 100%; border-collapse: collapse;
  font-size: 0.86rem; background: var(--white);
}
.dosing-table th {
  background: var(--navy); color: var(--white);
  padding: 12px 16px; text-align: left;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
  white-space: nowrap;
}
.dosing-table th:first-child { border-radius: 12px 0 0 0; }
.dosing-table th:last-child  { border-radius: 0 12px 0 0; }
.dosing-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  vertical-align: top; line-height: 1.5;
}
.dosing-table tr:last-child td { border-bottom: none; }
.dosing-table tr:nth-child(even) td { background: #FAFAF8; }
.dosing-table tr:hover td { background: var(--gold-bg); }
.egfr-badge {
  display: inline-block; padding: 3px 10px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
}
.egfr-green  { background: #DCFCE7; color: #166534; }
.egfr-yellow { background: #FEF9C3; color: #854D0E; }
.egfr-orange { background: #FFEDD5; color: #9A3412; }
.egfr-red    { background: #FEE2E2; color: #991B1B; }

/* ── Side effects grid ── */
.se-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.se-card {
  background: var(--white); border-radius: 12px;
  border: 1.5px solid var(--border);
  padding: 20px; box-shadow: var(--shadow-s);
}
.se-card .se-freq {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 50px;
  display: inline-block; margin-bottom: 12px;
}
.freq-vc { background: #FEE2E2; color: #991B1B; }
.freq-c  { background: #FFEDD5; color: #9A3412; }
.freq-uc { background: #FEF9C3; color: #854D0E; }
.se-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.se-list li { font-size: 0.86rem; display: flex; gap: 8px; align-items: flex-start; }
.se-list li::before { content: '•'; color: var(--amber); font-weight: 800; flex-shrink: 0; margin-top: 1px; }

/* ── Interactions list ── */
.interaction-list { display: flex; flex-direction: column; gap: 12px; }
.interaction-item {
  background: var(--white); border-radius: 10px;
  border: 1.5px solid var(--border);
  padding: 16px 20px;
  display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow-s);
}
.interaction-item .int-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.interaction-item .int-drug { font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 3px; }
.interaction-item .int-desc { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }

/* ── Accordion (PK/PD) ── */
.accordion { border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }
.accordion-btn {
  width: 100%; background: var(--white);
  padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.92rem; font-weight: 700; color: var(--navy);
  cursor: pointer; border: none; text-align: left;
  transition: background 0.15s;
}
.accordion-btn:hover { background: var(--gold-bg); }
.accordion-btn .acc-icon { font-size: 1rem; transition: transform 0.2s; flex-shrink: 0; }
.accordion-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }
.accordion-body {
  display: none; padding: 0 20px 20px;
  background: var(--white);
  font-size: 0.88rem; color: var(--text); line-height: 1.7;
}
.accordion-body.open { display: block; }
.accordion-body p { margin-bottom: 10px; }
.accordion-body p:last-child { margin-bottom: 0; }
.accordion-body strong { color: var(--navy); }

/* ── Pharma data grid ── */
.pk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 16px; }
.pk-card {
  background: var(--off); border-radius: 10px;
  border: 1.5px solid var(--border);
  padding: 16px;
}
.pk-card .pk-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px; }
.pk-card .pk-value { font-size: 0.9rem; color: var(--navy); font-weight: 600; margin-bottom: 4px; }
.pk-card .pk-note  { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }

/* ══════════════════════════════════════
   HOME PAGE SPECIFIC
   ══════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #FEF3E2 0%, #FDE8C4 50%, #FDDBA0 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -60px; right: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,119,34,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-block; background: var(--navy); color: var(--white);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 4px; margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; line-height: 1.1;
  color: var(--navy); margin-bottom: 12px; letter-spacing: -0.03em;
}
.hero h1 span { color: var(--amber); }
.hero-sub { font-size: 1rem; color: var(--muted); margin-bottom: 10px; }
.hero-tagline {
  display: inline-block; background: var(--navy); color: var(--white);
  font-size: 0.92rem; font-weight: 600; padding: 10px 18px;
  border-radius: 8px; margin: 14px 0 24px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-pills { display: flex; flex-direction: column; gap: 14px; }
.product-pill {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow); transition: transform 0.2s;
  cursor: pointer;
}
.product-pill:hover { transform: translateX(4px); }
.pill-dot {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.75rem; color: var(--white); flex-shrink: 0;
}
.dot-amber-g  { background: linear-gradient(135deg, var(--amber), var(--amber-l)); }
.dot-teal-g   { background: linear-gradient(135deg, var(--teal), var(--teal-l)); }
.dot-maroon-g { background: linear-gradient(135deg, var(--maroon), #B91C1C); }
.pill-name    { font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.pill-generic { font-size: 0.78rem; color: var(--muted); }
.pill-subs    { font-size: 0.75rem; color: var(--amber); font-weight: 600; margin-top: 2px; }

/* Category cards — home */
.categories-section { background: var(--white); }
.categories-section .section-header { text-align: center; margin-bottom: 48px; }
.categories-section .section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 900;
  color: var(--navy); letter-spacing: -0.02em;
}
.categories-section .section-header p { color: var(--muted); margin-top: 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  border-radius: 18px; overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(232,119,34,0.15); }
.cat-card-header { padding: 28px 24px 20px; }
.cat-card-header.amber-h  { background: linear-gradient(135deg, #FEF3E2, #FDDBA0); }
.cat-card-header.teal-h   { background: linear-gradient(135deg, #E0F7F5, #B2EBE4); }
.cat-card-header.maroon-h { background: linear-gradient(135deg, #FDE8E8, #FBBFBF); }
.cat-card-header h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.cat-card-header p  { font-size: 0.8rem; color: var(--muted); margin-bottom: 14px; }
.cat-tag {
  display: inline-block; padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
}
.tag-amber  { background: var(--amber); color: var(--white); }
.tag-teal   { background: var(--teal);  color: var(--white); }
.tag-maroon { background: var(--maroon); color: var(--white); }

.cat-card-body { padding: 20px 24px 24px; background: var(--white); flex: 1; display: flex; flex-direction: column; }
.cat-products  { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.cat-products li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: 8px;
  background: var(--off); border: 1.5px solid var(--border);
  font-size: 0.86rem; font-weight: 600; color: var(--navy);
  transition: all 0.15s;
}
.cat-products li a:hover { background: var(--gold-bg); border-color: var(--amber); color: var(--amber); }
.cat-products li a span { font-size: 0.75rem; color: var(--muted); font-weight: 400; }
.cat-products li a:hover span { color: var(--amber-d); }

/* ══════════════════════════════════════
   RISK SECTION (home)
   ══════════════════════════════════════ */
.risk-section { background: var(--navy); color: var(--white); }
.risk-section h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; max-width: 520px; margin-bottom: 36px; line-height: 1.25; }
.risk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 36px; }
.risk-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 18px; display: flex; align-items: flex-start; gap: 12px; }
.risk-icon { font-size: 1.3rem; flex-shrink: 0; }
.risk-card p { font-size: 0.88rem; font-weight: 500; line-height: 1.4; }
.risk-note { background: rgba(232,119,34,0.15); border-left: 4px solid var(--amber); border-radius: 8px; padding: 16px 20px; font-size: 0.9rem; max-width: 640px; line-height: 1.6; }

/* ══════════════════════════════════════
   STATS (home)
   ══════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--gold-bg), #FDE8C4);
  border-top: 3px solid var(--border);
  border-bottom: 3px solid var(--border);
}
.stats-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.stats-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--navy); margin-bottom: 14px; line-height: 1.25; }
.stats-text p { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; line-height: 1.7; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-box { background: var(--white); border-radius: 14px; padding: 20px; text-align: center; box-shadow: var(--shadow); border: 1.5px solid var(--border); }
.stat-num { font-size: 1.9rem; font-weight: 900; color: var(--amber); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.76rem; color: var(--muted); font-weight: 500; }
.chart-box { background: var(--white); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); border: 1.5px solid var(--border); }
.chart-title { font-size: 0.84rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.chart-sub { font-size: 0.74rem; color: var(--muted); margin-bottom: 18px; }
.bars { display: flex; gap: 10px; align-items: flex-end; height: 130px; }
.bar-group { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.bar-wrap { display: flex; gap: 5px; align-items: flex-end; width: 100%; height: 110px; }
.bar { flex: 1; border-radius: 5px 5px 0 0; position: relative; min-height: 8px; }
.bar-label { font-size: 0.63rem; color: var(--muted); text-align: center; line-height: 1.3; }
.bar-value { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 0.66rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.legend { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 5px; font-size: 0.74rem; color: var(--muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.ref { font-size: 0.7rem; color: var(--muted); margin-top: 12px; font-style: italic; }

/* ══════════════════════════════════════
   ABOUT / CONTACT (home)
   ══════════════════════════════════════ */
.about-section { background: var(--navy); color: var(--white); }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem;
}
.about-text h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 14px; }
.about-text p { font-size: 0.92rem; color: rgba(255,255,255,0.75); line-height: 1.8; margin-bottom: 10px; }
.about-contact { display: flex; flex-direction: column; gap: 14px; }
.contact-card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 18px 22px; display: flex; align-items: flex-start; gap: 14px; }
.contact-icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-card h4 { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-l); margin-bottom: 4px; }
.contact-card p { font-size: 0.88rem; color: rgba(255,255,255,0.85); line-height: 1.5; }
.contact-card a { color: var(--amber-l); }
.contact-card a:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   GALLERY (catalog page)
   ══════════════════════════════════════ */
.gallery-meta {
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: 600;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.gallery-item {
  border: 0;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  outline: none;
}
.gallery-thumb-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--gold-bg);
  overflow: hidden;
}
.gallery-item[data-type="embedded"] .gallery-thumb-wrap { aspect-ratio: 16 / 10; }
.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 39, 68, 0.5));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay { opacity: 1; }
.view-chip {
  margin-top: auto;
  margin-bottom: 18%;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
}
.gallery-caption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px 14px;
}
.gallery-caption strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.gallery-tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(13, 148, 136, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
}
.gallery-item[data-type="embedded"] .gallery-tag {
  color: var(--amber-d);
  background: rgba(232, 119, 34, 0.12);
}
.gallery-empty {
  text-align: center;
  color: var(--muted);
  padding: 32px 12px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 48, 0.9);
  cursor: zoom-out;
}
.lightbox-stage {
  position: relative;
  z-index: 2;
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.35s ease;
}
.lightbox.is-open .lightbox-stage { transform: scale(1) translateY(0); }
.lightbox-stage img {
  max-width: 96vw;
  max-height: calc(90vh - 56px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  background: #0F1A30;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox-stage img.is-loaded { opacity: 1; }
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 720px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
}
.lightbox-counter {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--amber-l);
  white-space: nowrap;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 3;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
body.lightbox-open { overflow: hidden; }

/* ══════════════════════════════════════
   DISCLAIMER + FOOTER
   ══════════════════════════════════════ */
.disclaimer { background: #FFF8F0; border-top: 2px solid var(--border); padding-block: 1.125rem; font-size: 0.75rem; color: var(--muted); text-align: center; line-height: 1.6; }
footer { background: #0F1A30; color: rgba(255,255,255,0.45); text-align: center; padding-block: 1.375rem; font-size: 0.78rem; }
footer strong { color: rgba(255,255,255,0.7); }
footer a { color: var(--amber-l); }
footer a:hover { text-decoration: underline; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-pills { display: none; }
  .stats-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .product-hero-inner { grid-template-columns: 1fr; }
  .product-hero-image { order: -1; }
  .product-hero-image img { max-height: 220px; }
  .quick-facts-inner { gap: 16px; }
  .fact-item { min-width: 140px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 8px 0; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
}
@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .se-grid { grid-template-columns: 1fr; }
  .pk-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}