/* ============================================================================
 * ApexMart Retail & Wholesale — Public Landing Page Styles (css/style.css)
 * Inspired by ref/landing page.webp: Sage Green, Warm Amber & Sand Cream Palette
 * ============================================================================ */

:root {
  --sage: #6a8168;
  --sage-dark: #546952;
  --sage-deep: #3d4f3c;
  --sage-soft: #eef3ec;
  --sage-tint: #e4ede2;
  --amber: #f4a93b;
  --amber-hover: #e29627;
  --amber-soft: #fef5e7;
  --cream: #f1ece1;
  --cream-card: #f5f1ea;
  --surface: #ffffff;
  --border-light: #eee9e1;
  --ink: #232a24;
  --ink-body: #59615a;
  --ink-muted: #868e87;
  --footer-bg: #2c2c2c;
  --footer-bottom: #232323;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 26px rgba(35, 42, 36, 0.055);
  --shadow-hover: 0 16px 36px rgba(35, 42, 36, 0.1);
  --font-sans: 'Plus Jakarta Sans', 'Poppins', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --container-max: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 120px;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.lp-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px 24px;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-pill-sm {
  padding: 9px 20px;
  font-size: 10.5px;
}

.btn-amber {
  background-color: var(--amber);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(244, 169, 59, 0.28);
}

.btn-amber:hover {
  background-color: var(--amber-hover);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(244, 169, 59, 0.36);
}

.btn-sage {
  background-color: var(--sage);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(106, 129, 104, 0.24);
}

.btn-sage:hover {
  background-color: var(--sage-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(106, 129, 104, 0.32);
}

.btn-white {
  background-color: #ffffff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(35, 42, 36, 0.08);
}

.btn-white:hover {
  background-color: #faf8f4;
  color: var(--ink);
  transform: translateY(-1px);
}

.btn-outline-sage {
  background-color: transparent;
  color: var(--sage-dark);
  border-color: var(--sage);
}

.btn-outline-sage:hover {
  background-color: var(--sage);
  color: #ffffff;
}

/* ---------- Header (Top Utility Bar + Sage Nav Bar) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(35, 42, 36, 0.06);
}

.header-top {
  background: #ffffff;
  padding: 13px 0;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2d382c 0%, #445642 100%);
  border: 2px solid var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(45, 56, 44, 0.18);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-body);
}

.header-phone:hover {
  color: var(--sage-dark);
}

.cart-trigger {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sage);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.cart-trigger:hover {
  background: var(--sage-dark);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -3px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--ink);
  align-items: center;
  justify-content: center;
}

/* Sage Green Nav Bar */
.header-nav {
  background: var(--sage);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 13px 15px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
}

.nav-link:hover,
.nav-link.active {
  color: #fde4b4;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 30px rgba(35, 42, 36, 0.14);
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--amber);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 120;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-body);
}

.nav-dropdown a:hover {
  background: var(--sage-soft);
  color: var(--sage-deep);
}

/* ---------- Hero Section ---------- */
.hero-banner {
  position: relative;
  background: linear-gradient(104deg, #e2ece0 0%, #eef4ec 38%, #fafbf9 66%, #ffffff 100%);
  overflow: hidden;
  padding: 62px 0 66px;
}

.hero-watermark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.hero-watermark-top {
  top: -28px;
  left: 42px;
  width: 210px;
}

.hero-watermark-bottom {
  bottom: -36px;
  left: 16px;
  width: 250px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 1.12fr;
  align-items: center;
  gap: 32px;
}

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 520px;
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-body);
  max-width: 470px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.03);
}

/* ---------- Trust / Value Proposition Band ---------- */
.trust-bar {
  background: var(--sage);
  color: #ffffff;
  padding: 42px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.trust-item {
  text-align: center;
  padding: 8px 30px;
  position: relative;
}

.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 0;
  width: 1px;
  height: 76%;
  background: rgba(255, 255, 255, 0.18);
}

.trust-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-title {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 600;
  color: #ffffff;
}

.trust-desc {
  margin: 0 auto;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
  max-width: 255px;
}

/* ---------- Section Heading Shared ---------- */
.section-heading {
  text-align: center;
  margin: 0 0 38px;
  font-size: clamp(1.55rem, 2.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ---------- Retail vs. Wholesale ---------- */
.rw-section {
  position: relative;
  background: #ffffff;
  padding: 74px 0 60px;
  overflow: hidden;
}

.rw-pattern-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 92px;
  pointer-events: none;
  opacity: 0.35;
  background-image: radial-gradient(#d8e0d6 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent);
}

.rw-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  align-items: center;
  gap: 28px;
}

.rw-card {
  background: var(--cream-card);
  border-radius: var(--radius-md);
  padding: 38px 28px 34px;
  text-align: center;
  border: 1px solid #ede7dd;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.rw-card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  color: #4b554c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rw-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.rw-card-sub {
  display: block;
  margin: 3px 0 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-body);
}

.rw-card-text {
  margin: 0 auto 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-body);
  max-width: 245px;
}

.rw-card-note {
  margin: 0 auto 22px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
}

.rw-center-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.rw-center-visual img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* ---------- Featured Products ---------- */
.products-section {
  background: #ffffff;
  padding: 26px 0 84px;
}

.products-section .section-heading {
  margin-bottom: 18px;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
  padding: 12px 16px;
  background: #faf8f4;
  border: 1px solid var(--border-light);
  border-radius: 14px;
}

.tier-toggle {
  display: inline-flex;
  background: #ede8df;
  border-radius: var(--radius-pill);
  padding: 3px;
}

.tier-btn {
  border: none;
  background: transparent;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-body);
  transition: all 0.2s ease;
}

.tier-btn.active {
  background: var(--sage);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(106, 129, 104, 0.28);
}

.cat-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.cat-pill {
  border: 1px solid #e4dfd6;
  background: #ffffff;
  color: var(--ink-body);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.catalog-search-box {
  position: relative;
  min-width: 210px;
}

.catalog-search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
}

.catalog-search-input {
  width: 100%;
  padding: 8px 14px 8px 34px;
  border-radius: var(--radius-pill);
  border: 1px solid #e2ddd4;
  background: #ffffff;
  font-size: 12.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search-input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(106, 129, 104, 0.14);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: #ffffff;
  border: 1px solid #f0ece4;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 18px 18px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.product-card.is-extra-hidden {
  display: none;
}

.product-img-wrap {
  position: relative;
  height: 174px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 10px;
  overflow: hidden;
  border-radius: 10px;
  background: #ffffff;
}

.product-img-wrap img {
  max-height: 150px;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
  mix-blend-mode: multiply;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.06);
}

.product-stock-chip {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}

.stock-ok {
  background: #edf5ec;
  color: #3a6037;
}

.stock-low {
  background: #fef2e4;
  color: #b56513;
}

.product-cat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sage);
  margin-bottom: 4px;
}

.product-name {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 14px;
}

.price-compare {
  font-size: 12px;
  color: var(--ink-muted);
  text-decoration: line-through;
}

.price-current {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.catalog-more-wrap {
  text-align: center;
  margin-top: 34px;
}

.catalog-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-muted);
  font-size: 14px;
  display: none;
}

/* ---------- How It Works ---------- */
.hiw-section {
  background: var(--cream);
  padding: 78px 0 84px;
  position: relative;
}

.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 290px 1fr;
  align-items: center;
  gap: 20px;
}

.hiw-col {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.hiw-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hiw-col-left .hiw-step {
  justify-content: flex-end;
  text-align: right;
}

.hiw-col-left .hiw-step-mid {
  padding-right: 34px;
}

.hiw-col-right .hiw-step {
  justify-content: flex-start;
  text-align: left;
}

.hiw-col-right .hiw-step-mid {
  padding-left: 34px;
}

.hiw-step-content {
  max-width: 220px;
}

.hiw-step-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.hiw-step-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-body);
}

.hiw-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(244, 169, 59, 0.34);
}

.hiw-center-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-center-visual img {
  width: 100%;
  max-width: 280px;
  border-radius: 20px;
  object-fit: contain;
  mask-image: radial-gradient(ellipse 84% 88% at center, #000 68%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 84% 88% at center, #000 68%, transparent 100%);
}

/* ---------- Split Dual-Tone CTA Banner ---------- */
.split-cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
}

.split-panel-vip {
  background: linear-gradient(180deg, #6a8168 0%, #73886f 48%, #7a8d74 100%);
  color: #ffffff;
  align-items: flex-end;
}

.split-panel-community {
  background: linear-gradient(140deg, #f4a93b 0%, #e8a43f 50%, #d79c47 100%);
  color: var(--ink);
  align-items: flex-start;
}

.split-panel-inner {
  width: 100%;
  max-width: 580px;
  padding: 54px 48px 44px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.split-heading {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

.split-panel-vip .split-heading {
  color: #ffffff;
}

.split-panel-community .split-heading {
  color: var(--ink);
}

.split-subtext {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: rgba(35, 42, 36, 0.85);
}

.vip-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 5px 5px 5px 20px;
  max-width: 420px;
  width: 100%;
  margin-bottom: 28px;
  box-shadow: 0 10px 24px rgba(25, 35, 24, 0.16);
}

.vip-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 12px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  min-width: 0;
}

.vip-form input::placeholder {
  color: #9ba19c;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 10.5px;
  font-weight: 600;
}

.vip-visual-frame {
  max-width: 440px;
  width: 100%;
  margin-top: auto;
  overflow: hidden;
}

.vip-visual-frame img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  mask-image: radial-gradient(ellipse 88% 86% at center, #000 68%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 88% 86% at center, #000 68%, transparent 100%);
}

.community-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.community-visual-wrap {
  margin-top: auto;
  align-self: flex-end;
  max-width: 360px;
  width: 100%;
  overflow: hidden;
}

.community-visual-wrap img {
  width: 100%;
  height: 235px;
  object-fit: cover;
  mask-image: radial-gradient(ellipse 86% 86% at center, #000 66%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 86% 86% at center, #000 66%, transparent 100%);
}

/* ---------- Customer Testimonials ---------- */
.testimonials-section {
  background: var(--cream);
  padding: 74px 0 78px;
  text-align: center;
}

.testimonials-section .section-heading {
  margin-bottom: 14px;
}

.stars-row {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--amber);
  margin-bottom: 20px;
}

.testimonial-slider {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 60px;
}

.testimonial-quote-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  opacity: 0.06;
  pointer-events: none;
  color: var(--sage-deep);
}

.testimonial-slide {
  display: none;
  position: relative;
  z-index: 1;
  animation: fadeSlide 0.35s ease;
}

.testimonial-slide.active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-text {
  margin: 0 auto 24px;
  font-size: 16.5px;
  line-height: 1.65;
  color: #363e37;
  max-width: 540px;
  font-weight: 500;
}

.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(35, 42, 36, 0.14);
}

.testimonial-avatar-initials {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(35, 42, 36, 0.12);
}

.author-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.author-role {
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.slider-nav-btn {
  position: absolute;
  top: 52%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--sage);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 3;
}

.slider-nav-btn:hover {
  background: var(--sage-dark);
  transform: translateY(-50%) scale(1.06);
}

.slider-prev { left: 4px; }
.slider-next { right: 4px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: #d2ccc1;
  padding: 0;
  transition: all 0.25s ease;
}

.slider-dot.active {
  width: 24px;
  background: var(--sage);
}

/* ---------- Latest News ---------- */
.news-section {
  background: #ffffff;
  padding: 76px 0 88px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.news-featured-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.news-featured-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-featured-card:hover img {
  transform: scale(1.04);
}

.news-featured-overlay {
  position: relative;
  z-index: 2;
  background: rgba(106, 129, 104, 0.93);
  backdrop-filter: blur(4px);
  padding: 24px 26px;
  color: #ffffff;
}

.news-featured-title {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.news-featured-excerpt {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.news-read-more {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-featured-overlay .news-read-more {
  color: #fde4b4;
}

.news-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.news-row-card {
  display: flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}

.news-row-card:hover {
  background: #faf8f4;
}

.news-thumb {
  width: 138px;
  height: 108px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.news-row-title {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.news-row-excerpt {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-body);
}

.news-row-card .news-read-more {
  color: var(--sage-dark);
}

/* ---------- Dark Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: #c5c9c6;
}

.footer-main {
  padding: 62px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 0.85fr 1.15fr;
  gap: 36px;
}

.footer-brand .brand-title {
  color: #ffffff;
}

.footer-brand .brand-subtitle {
  color: var(--amber);
}

.footer-about {
  margin: 16px 0 20px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #aeb3af;
  max-width: 290px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 9px;
}

.social-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-circle:hover {
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-2px);
}

.footer-heading {
  margin: 0 0 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 12.5px;
  color: #b4b9b5;
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-label {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.footer-contact-val {
  font-size: 12px;
  color: #aeb3af;
  line-height: 1.45;
}

.footer-bottom {
  background: var(--footer-bottom);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: #999f9a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .accent {
  color: var(--amber);
  font-weight: 600;
}

/* ---------- Floating Portal / Support FAB & Popover ---------- */
.floating-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--amber);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(35, 42, 36, 0.28);
  z-index: 1050;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-fab:hover {
  background: var(--amber-hover);
  transform: scale(1.06);
}

.portal-popover {
  position: fixed;
  right: 24px;
  bottom: 88px;
  width: 330px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 22px 48px rgba(35, 42, 36, 0.22);
  z-index: 1050;
  overflow: hidden;
  display: none;
}

.portal-popover.open {
  display: block;
  animation: fadeSlide 0.22s ease;
}

.portal-popover-header {
  background: var(--sage);
  color: #ffffff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-popover-body {
  padding: 16px 18px 18px;
}

.db-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.db-pill.ok {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.db-pill.warn {
  background: var(--amber);
  color: var(--ink);
}

.portal-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: #faf8f4;
}

.portal-link-row:hover {
  border-color: var(--sage);
  background: var(--sage-soft);
}

.demo-creds-box {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--cream);
  font-size: 11.5px;
  color: var(--ink-body);
  line-height: 1.6;
}

.demo-creds-box code {
  background: #ffffff;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--sage-deep);
}

/* ---------- Slide-Over Cart Drawer & Modals ---------- */
.lp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 31, 26, 0.52);
  backdrop-filter: blur(2px);
  z-index: 1100;
  display: none;
}

.lp-backdrop.open {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 390px;
  max-width: 100vw;
  background: #ffffff;
  z-index: 1120;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -12px 0 36px rgba(25, 31, 26, 0.18);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 20px 22px;
  background: var(--sage);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--border-light);
  padding: 4px;
  background: #ffffff;
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}

.cart-qty-ctrl button {
  width: 24px;
  height: 24px;
  border: none;
  background: #faf8f4;
  color: var(--ink);
  font-weight: 700;
}

.cart-qty-ctrl span {
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.cart-drawer-footer {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--border-light);
  background: #faf8f4;
}

.lp-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);
  width: 500px;
  max-width: calc(100vw - 28px);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  z-index: 1130;
  box-shadow: 0 26px 60px rgba(20, 26, 20, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: all 0.22s ease;
}

.lp-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.lp-modal-header {
  padding: 18px 22px;
  background: var(--sage);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lp-modal-body {
  padding: 22px;
}

.lp-close-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lp-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lp-field {
  margin-bottom: 14px;
}

.lp-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
}

.lp-field input,
.lp-field select,
.lp-field textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid #dfd9cf;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  outline: none;
}

.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(106, 129, 104, 0.15);
}

/* Toast */
.lp-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 1200;
}

.lp-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rw-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rw-center-visual {
    grid-column: 1 / -1;
    order: -1;
  }
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hiw-col-left .hiw-step {
    justify-content: flex-start;
    text-align: left;
    flex-direction: row-reverse;
  }
  .hiw-col-left .hiw-step-mid,
  .hiw-col-right .hiw-step-mid {
    padding-left: 0;
    padding-right: 0;
  }
  .hiw-step-content {
    max-width: none;
  }
  .split-cta-section {
    grid-template-columns: 1fr;
  }
  .split-panel-vip,
  .split-panel-community {
    align-items: center;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-phone {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .header-nav {
    display: none;
  }
  .header-nav.open {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 14px;
    gap: 0;
  }
  .nav-link {
    padding: 11px 20px;
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.12);
    display: none;
  }
  .nav-item.has-dropdown.mobile-open .nav-dropdown {
    display: block;
  }
  .nav-dropdown a {
    color: rgba(255, 255, 255, 0.9);
    padding-left: 34px;
  }
  .hero-banner {
    padding: 40px 0 46px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title,
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-visual {
    justify-content: center;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .trust-item:not(:last-child)::after {
    display: none;
  }
  .rw-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-slider {
    padding: 0 40px;
  }
  .news-row-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-thumb {
    width: 100%;
    height: 170px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .split-panel-inner {
    padding: 42px 24px 36px;
  }
}
