/* =============================================================
   SNJ PHARMA — Design System
   Palette drawn from the company mark: a deep wine-maroon hexagon
   on white. Signature motif: the hexagon, reused throughout as a
   dosage/lab marker (pill-capsule + lab-glass + honeycomb reads).
   Display type echoes the logo's serif italic; a monospace face
   is used wherever exact data is printed (compositions, licence
   numbers, batch codes) — like text set on a medicine carton.
   ============================================================= */

:root {
  /* --- brand: maroon (from logo) --- */
  --maroon-900: #33121F;
  --maroon-800: #481A2E;
  --maroon-700: #6E2F49;
  /* primary */
  --maroon-600: #833A59;
  --maroon-500: #9C4C6E;
  --maroon-100: #F4E7ED;
  --maroon-050: #FAF2F5;

  /* --- accent: antique gold --- */
  --gold-700: #9C7A22;
  --gold-600: #B98A2E;
  --gold-500: #CB9F45;
  --gold-100: #F6ECD8;

  /* --- division accent: healthcare teal (used only inside Healthcare context) --- */
  --teal-700: #2C5F55;
  --teal-600: #387669;
  --teal-100: #E4EFEC;

  /* --- neutrals --- */
  --cream: #FBF7F1;
  --paper: #FFFDFA;
  --sand: #E9E0D2;
  --sand-200: #F1EAE0;
  --ink: #241820;
  --ink-70: #4B3E44;
  --ink-50: #75676C;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 26px;
  --shadow-soft: 0 12px 30px -14px rgba(51, 18, 31, .28);
  --shadow-card: 0 2px 0 rgba(51, 18, 31, .05), 0 14px 34px -18px rgba(51, 18, 31, .35);

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  --nav-h: 76px;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 14px);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--gold-100);
  color: var(--maroon-900);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: var(--font-display);
  color: var(--maroon-900);
  letter-spacing: -0.01em;
}

.font-mono {
  font-family: var(--font-mono);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 9px;
  background: var(--hex-svg, none);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'><path d='M6 0h12l6 5-6 5H6l-6-5Z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 10'><path d='M6 0h12l6 5-6 5H6l-6-5Z'/></svg>") center/contain no-repeat;
  background-color: var(--gold-600);
  display: inline-block;
}

.section {
  padding: 5.5rem 0;
}

.section-sm {
  padding: 3.25rem 0;
}

@media (max-width:767.98px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-sm {
    padding: 2.25rem 0;
  }
}

.section-title {
  font-size: clamp(1.9rem, 1.4vw + 1.5rem, 2.75rem);
  line-height: 1.08;
  margin-bottom: .9rem;
}

.section-lede {
  color: var(--ink-70);
  font-size: 1.06rem;
  max-width: 640px;
}

.bg-cream {
  background: var(--cream);
}

.bg-paper {
  background: var(--paper);
}

.bg-maroon {
  background: var(--maroon-800);
  color: #fff;
}

.bg-maroon .section-title,
.bg-maroon h1,
.bg-maroon h2,
.bg-maroon h3 {
  color: #fff;
}

.bg-sand {
  background: var(--sand-200);
}

.container-x {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ---------- Hexagon motifs (the signature element) ---------- */
.hex {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hex-badge {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--maroon-700);
  color: #fff;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hex-outline {
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--gold-500);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.hex-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'><path d='M21 0 63 0 84 24 84 72 63 96 21 96 0 72 0 24Z' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/></svg>");
  background-size: 84px 96px;
}

.hex-grid-bg.dark {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'><path d='M21 0 63 0 84 24 84 72 63 96 21 96 0 72 0 24Z' fill='none' stroke='rgba(110,47,73,0.08)' stroke-width='1'/></svg>");
}

/* ---------- Buttons ---------- */
.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: .72rem 1.5rem;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: .2s ease;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-brand {
  background: var(--maroon-700);
  color: #fff;
}

.btn-brand:hover {
  background: var(--maroon-800);
  color: #fff;
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold-600);
  color: #2a1c05;
}

.btn-gold:hover {
  background: var(--gold-700);
  color: #1c1203;
  transform: translateY(-1px);
}

.btn-outline-brand {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: transparent;
}

.btn-outline-brand:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.btn-outline-maroon {
  border-color: var(--maroon-700);
  color: var(--maroon-700);
  background: transparent;
}

.btn-outline-maroon:hover {
  background: var(--maroon-700);
  color: #fff;
}

.btn-sm {
  padding: .5rem 1.05rem;
  font-size: .84rem;
}

.btn-wa {
  background: #25D366;
  color: #053;
  color: #0b3d21;
}

.btn-wa:hover {
  background: #1fbd59;
  color: #0b3d21;
}

/* ---------- Navbar ---------- */
.site-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1040;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(251, 247, 241, .86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(51, 18, 31, .08);
  transition: background .25s ease, box-shadow .25s ease, height .25s ease;
}

.site-nav.is-scrolled {
  box-shadow: 0 8px 24px -18px rgba(51, 18, 31, .6);
  background: rgba(251, 247, 241, .97);
}

.site-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.site-nav .navbar-brand img {
  height: 40px;
  width: auto;
}

.site-nav .brand-word {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.32rem;
  color: var(--maroon-800);
  line-height: 1;
}

.site-nav .brand-sub {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-50);
  display: block;
  margin-top: .1rem;
}

.site-nav .nav-link {
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink-70) !important;
  padding: .5rem .95rem !important;
  position: relative;
}

.site-nav .nav-link.active,
.site-nav .nav-link:hover {
  color: var(--maroon-800) !important;
}

.site-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: .95rem;
  right: .95rem;
  bottom: .15rem;
  height: 2px;
  background: var(--gold-600);
}

.top-strip {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1041;
  background: var(--maroon-900);
  color: #f2e6ec;
  font-size: .78rem;
  height: 34px;
  display: flex;
  align-items: center;
}

.top-strip a {
  color: #f2e6ec;
}

.top-strip a:hover {
  color: var(--gold-500);
}

body {
  padding-top: calc(var(--nav-h) + 34px);
}

.site-nav {
  top: 34px;
}

@media (max-width:991.98px) {
  .top-strip {
    font-size: .7rem;
  }
}

.offcanvas-menu .nav-link {
  color: var(--ink) !important;
  font-size: 1.05rem;
  padding: .85rem 0 !important;
  border-bottom: 1px solid var(--sand);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--maroon-900) 0%, var(--maroon-800) 46%, var(--maroon-700) 100%);
  color: #fff;
  padding-top: 6.5rem;
  padding-bottom: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 2.6vw + 1.6rem, 3.6rem);
  line-height: 1.06;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-500);
}

.hero p.lede {
  color: rgba(255, 255, 255, .82);
  font-size: 1.12rem;
  max-width: 520px;
}

.hero-stats {
  display: flex;
  gap: 2.1rem;
  flex-wrap: wrap;
  margin-top: 2.6rem;
}

.hero-stats .num {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold-500);
}

.hero-stats .lbl {
  font-size: .76rem;
  color: rgba(255, 255, 255, .68);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-art {
  position: relative;
}

.rx-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 2;
}

.rx-card .rx-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px dashed var(--sand);
  padding-bottom: .75rem;
  margin-bottom: .9rem;
}

.rx-line {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  padding: .4rem 0;
  border-bottom: 1px dotted var(--sand);
}

.rx-line span:first-child {
  color: var(--ink-50);
}

.rx-line span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--maroon-800);
}

.float-hex {
  position: absolute;
  opacity: .9;
}

/* ---------- Divisions ---------- */
.division-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 2.5rem 2.1rem;
  height: 100%;
  border: 1px solid var(--sand);
  background: var(--paper);
  transition: transform .3s ease, box-shadow .3s ease;
}

.division-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.division-card .hex-badge {
  width: 76px;
  height: 76px;
  font-size: 1.9rem;
  margin-bottom: 1.4rem;
}

.division-card.derm .hex-badge {
  background: var(--maroon-700);
}

.division-card.health .hex-badge {
  background: var(--teal-700);
}

.division-card.health:hover {
  box-shadow: 0 14px 34px -18px rgba(44, 95, 85, .45);
}

.division-card ul {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 1.5rem;
}

.division-card ul li {
  display: flex;
  gap: .6rem;
  padding: .32rem 0;
  font-size: .92rem;
  color: var(--ink-70);
}

.division-card ul li::before {
  content: "—";
  color: var(--gold-600);
  font-weight: 700;
}

.division-card.health ul li::before {
  color: var(--teal-600);
}

/* ---------- Cards / feature grid ---------- */
.feature-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.9rem;
  height: 100%;
  transition: .25s;
}

.feature-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.feature-card .hex-badge {
  width: 54px;
  height: 54px;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  background: var(--maroon-100);
  color: var(--maroon-700);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}

.feature-card p {
  color: var(--ink-70);
  font-size: .92rem;
  margin: 0;
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.stat-strip .stat {
  flex: 1 1 150px;
  padding: 1.6rem 1.4rem;
  text-align: center;
  border-right: 1px solid var(--sand);
}

.stat-strip .stat:last-child {
  border-right: none;
}

.stat-strip .num {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--maroon-700);
}

.stat-strip .lbl {
  font-size: .78rem;
  color: var(--ink-50);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: .25rem;
}

/* ---------- Product cards ---------- */
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--paper);
  border: 1.5px solid var(--sand);
  border-radius: 999px;
  padding: .2rem .4rem .2rem 1.3rem;
  max-width: 560px;
  transition: border-color .2s, box-shadow .2s;
}

.search-bar:focus-within {
  border-color: var(--maroon-600);
  box-shadow: 0 0 0 3px var(--maroon-100);
}

.search-bar>.bi-search {
  color: var(--ink-50);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.search-bar input[type="search"] {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  padding: .72rem .8rem;
  font-size: .95rem;
  color: var(--ink);
  min-width: 0;
}

.search-bar input[type="search"]::placeholder {
  color: var(--ink-50);
}

.search-bar input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.search-bar button {
  border: none;
  background: none;
  color: var(--ink-50);
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, background .2s;
}

.search-bar button:hover {
  color: var(--maroon-700);
  background: var(--maroon-050);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.chip {
  border: 1px solid var(--sand);
  background: var(--paper);
  color: var(--ink-70);
  padding: .5rem 1.05rem;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  transition: .18s;
}

.chip:hover {
  border-color: var(--maroon-500);
  color: var(--maroon-800);
}

.chip.active {
  background: var(--maroon-700);
  border-color: var(--maroon-700);
  color: #fff;
}

/* Filter chip rows on narrow screens: scroll horizontally in a single tidy
   line instead of wrapping into uneven rows. */
@media (max-width: 575.98px) {
  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: .5rem;
    padding-block: .15rem .5rem;
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
    scrollbar-width: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  #divisionFilters,
  #rangeFilters {
    flex: 1 1 100%;
    min-width: 0;
  }

  .chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: .45rem .9rem;
    font-size: .82rem;
    white-space: nowrap;
  }
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.product-media {
  aspect-ratio: 1.22/1;
  min-height: 250px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  overflow: hidden;
}

.product-media.health {
  background: var(--teal-100);
}

.product-media.premium {
  background: var(--gold-100);
}

.product-media.derma {
  background: var(--maroon-50, #f7edf1);
}

.product-media.has-image {
  background: var(--paper);
}

.product-media.has-image::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: 52%;
  height: 10%;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(51, 18, 31, .12), rgba(51, 18, 31, 0) 72%);
  filter: blur(2px);
}

.product-media img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  object-position: center;
  padding: 0;
  box-sizing: border-box;
  filter: drop-shadow(0 10px 12px rgba(51, 18, 31, .12));
  transition: transform .3s ease;
}

.product-card .product-media img {
  max-width: 90%;
  max-height: 225px;
}

.product-card:hover .product-media img {
  transform: scale(1.045);
}

.product-media .hex-badge {
  width: 78px;
  height: 78px;
  font-size: 2rem;
  background: transparent;
  border: 1.5px solid var(--maroon-500);
  color: var(--maroon-700);
}

.product-media.health .hex-badge {
  border-color: var(--teal-600);
  color: var(--teal-700);
}

.product-media.premium .hex-badge {
  border-color: var(--gold-500);
  color: var(--gold-500);
}

.product-media.derma .hex-badge {
  border-color: var(--maroon-500);
  color: var(--maroon-700);
}

.product-media .tag {
  position: absolute;
  top: .7rem;
  left: .7rem;
  background: var(--maroon-800);
  color: #fff;
  font-size: .68rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: .03em;
  z-index: 2;
}

.product-media.health .tag {
  background: var(--teal-700);
}

.product-media.premium .tag {
  background: var(--gold-500);
  color: var(--ink-900);
}

.product-media.derma .tag {
  background: var(--maroon-800);
}

.product-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body .cat {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold-700);
  display: block;
  min-height: 1rem;
}

.product-body h3 {
  font-size: 1.05rem;
  line-height: 1.28;
  margin: .3rem 0 .4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.28em * 2);
}

.product-body .comp {
  font-size: .82rem;
  color: var(--ink-50);
  font-family: var(--font-mono);
  margin-bottom: .9rem;
}

.product-body .foot {
  margin-top: auto;
  padding-top: .25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-body .foot .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Timeline / process ---------- */
.timeline {
  position: relative;
  padding-left: 2.4rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--sand);
}

.timeline .t-item {
  position: relative;
  padding-bottom: 2.1rem;
}

.timeline .t-item:last-child {
  padding-bottom: 0;
}

.timeline .t-item::before {
  content: "";
  position: absolute;
  left: -2.4rem;
  top: 2px;
  width: 24px;
  height: 24px;
  background: var(--gold-600);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.timeline h4 {
  font-size: 1.05rem;
  margin-bottom: .25rem;
}

.timeline p {
  color: var(--ink-70);
  font-size: .92rem;
  margin: 0;
}

/* ---------- Quote / testimonial ---------- */
.quote-card {
  background: var(--maroon-050);
  border-left: 3px solid var(--gold-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.6rem 1.8rem;
}

.quote-card p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--maroon-900);
  margin-bottom: .9rem;
}

.quote-card .who {
  font-size: .82rem;
  color: var(--ink-50);
  font-weight: 600;
}

/* ---------- Accordion (FAQ) ---------- */
.faq-item {
  border-bottom: 1px solid var(--sand);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--maroon-900);
  font-weight: 600;
  cursor: pointer;
}

.faq-q .plus {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--gold-600);
  transition: transform .25s;
  flex-shrink: 0;
}

.faq-item.open .plus {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

.faq-a p {
  color: var(--ink-70);
  padding-bottom: 1.25rem;
  margin: 0;
  font-size: .95rem;
}

/* ---------- Forms ---------- */
.form-control,
.form-select {
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: .72rem .95rem;
  font-size: .94rem;
  background: var(--paper);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--maroon-600);
  box-shadow: 0 0 0 3px var(--maroon-100);
}

label.form-label {
  font-size: .83rem;
  font-weight: 600;
  color: var(--ink-70);
  margin-bottom: .35rem;
}

.form-note {
  font-size: .78rem;
  color: var(--ink-50);
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.6rem;
  height: 100%;
}

.contact-card .hex-badge {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  margin-bottom: .9rem;
}

.map-embed {
  min-height: 220px;
  background: var(--sand-200);
}

.map-embed iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--maroon-900);
  color: rgba(255, 255, 255, .78);
  position: relative;
  overflow: hidden;
}

.site-footer a:hover {
  color: var(--gold-500);
}

.site-footer h5 {
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: .6rem;
  font-size: .9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8rem;
  padding-top: 1.25rem;
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, .55);
}

.social-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}

.social-dot:hover {
  background: var(--gold-600);
  border-color: var(--gold-600);
  color: var(--maroon-900);
}

/* ---------- Floating WhatsApp + back to top ---------- */
.float-stack {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  align-items: flex-end;
}

.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .35);
  font-size: 1.4rem;
  transition: transform .2s;
}

.fab:hover {
  transform: translateY(-3px) scale(1.04);
}

.fab-wa {
  background: #25D366;
  color: #0b3d21;
}

.fab-top {
  background: var(--maroon-800);
  color: #fff;
  font-size: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .2s;
}

.fab-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Breadcrumb / page header ---------- */
.page-head {
  background: var(--maroon-900);
  color: #fff;
  padding: 3.4rem 0 2.6rem;
  position: relative;
  overflow: hidden;
}

.page-head .crumbs {
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  font-family: var(--font-mono);
}

.page-head .crumbs a:hover {
  color: var(--gold-500);
}

.page-head h1 {
  color: #fff;
  margin-top: .5rem;
}

/* ---------- Utilities ---------- */
.text-maroon {
  color: var(--maroon-700);
}

.text-gold {
  color: var(--gold-600);
}

.text-teal {
  color: var(--teal-700);
}

.divider-dot::after {
  content: "•";
  margin: 0 .6rem;
  color: var(--gold-600);
}

.badge-soft {
  background: var(--maroon-100);
  color: var(--maroon-800);
  font-weight: 600;
  font-size: .72rem;
  padding: .32rem .7rem;
  border-radius: 999px;
  letter-spacing: .02em;
}

.badge-soft.teal {
  background: var(--teal-100);
  color: var(--teal-700);
}

/* ---------- Scroll reveal (paired with main.js IntersectionObserver) ---------- */
[data-aos] {
  opacity: 0;
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}

[data-aos="fade-up"] {
  transform: translateY(24px);
}

[data-aos="fade-right"] {
  transform: translateX(-26px);
}

[data-aos="fade-left"] {
  transform: translateX(26px);
}

[data-aos="zoom-in"] {
  transform: scale(.94);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--maroon-800);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2.5px solid var(--gold-600);
  outline-offset: 2px;
}

.hr-dotted {
  border-top: 1.5px dashed var(--sand);
  margin: 2.5rem 0;
}

/* ---------- Product imagery ---------- */
.product-card .product-media.has-image img {
  max-width: 90%;
  max-height: 225px;
  width: auto;
  height: auto;
  padding: 0;
  object-fit: contain;
  object-position: center;
}


/* ---------- Product detail image fitting ---------- */
.product-detail-media {
  min-height: 0;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-detail-media #mediaInner {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
}

.product-detail-media #mediaInner img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center;
  filter: drop-shadow(0 12px 16px rgba(51, 18, 31, .12));
}

/* Keep catalogue product imagery consistently framed */
.product-card .product-media.has-image {
  min-height: 250px;
  height: 250px;
  aspect-ratio: auto;
}

.product-card .product-media.has-image img {
  width: auto !important;
  height: auto !important;
  max-width: 86% !important;
  max-height: 218px !important;
  object-fit: contain !important;
}

/* Equal-height division cards and aligned CTA buttons */
.division-card {
  display: flex;
  flex-direction: column;
}

.division-card .btn {
  margin-top: auto;
  align-self: flex-start;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
}

@media (max-width:575.98px) {
  .product-detail-media {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  .product-detail-media #mediaInner {
    padding: 1rem;
  }

  .product-card .product-media.has-image {
    height: 220px;
    min-height: 220px;
  }

  .product-card .product-media.has-image img {
    max-height: 195px !important;
  }
}

/* ---------- Contact page layout ---------- */
.contact-page-grid {
  align-items: start;
}

.contact-form-panel,
.contact-locations-panel {
  min-width: 0;
}

.location-card {
  height: auto !important;
  overflow: hidden;
}

.map-embed {
  position: relative;
  height: 260px;
  min-height: 260px;
  aspect-ratio: auto !important;
  border: 1px solid var(--sand);
}

.map-embed iframe {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.location-address {
  line-height: 1.65;
  max-width: 68ch;
}

/* ---------- Footer alignment / wrapping ---------- */
.site-footer .footer-reach li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  line-height: 1.55;
}

.site-footer .footer-reach li i {
  flex: 0 0 auto;
  margin-top: .15rem;
}

.site-footer .footer-reach .footer-address {
  max-width: 34rem;
}

.site-footer .footer-links li a,
.site-footer .footer-reach li a {
  display: inline-block;
}

@media (max-width: 991.98px) {
  .product-media {
    min-height: 230px;
  }

  .product-card .product-media.has-image img {
    max-height: 205px;
  }
}

@media (max-width: 575.98px) {
  .product-media {
    min-height: 220px;
    aspect-ratio: 1.18/1;
  }

  .product-card .product-media.has-image img {
    max-width: 88%;
    max-height: 205px;
  }

  .map-embed {
    height: 230px;
    min-height: 230px;
  }
}