/* ==========================================================================
   ELM-O-SANAT 10 STRATEGIC DIVISIONS
   Sculpted Multi-Dimensional 24K Gold Bullion Ingot Cards + Live Filter
   ========================================================================== */

.divisions-section {
  position: relative;
  padding: 92px 0;
  background: linear-gradient(180deg, #02050b 0%, #050c19 50%, #02050b 100%);
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
  padding: 0 20px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-300);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-main-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--text-pure-white);
}

.section-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Interactive Filter & Search Toolbar */
.divisions-filter-bar {
  max-width: 1200px;
  margin: 0 auto 34px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip-btn {
  padding: 8px 16px;
  background: rgba(8, 16, 30, 0.78);
  border: 1px solid var(--hairline-gold);
  border-radius: 10px;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s var(--ease-maybach);
}

.chip-btn:hover {
  border-color: var(--hairline-gold-active);
  color: var(--gold-100);
}

.chip-btn.active {
  background: var(--gradient-gold);
  border-color: transparent;
  color: #03070f;
  font-weight: 800;
}

.divisions-search-wrap {
  position: relative;
  min-width: 260px;
  flex: 0 1 320px;
}

.divisions-search-input {
  width: 100%;
  padding: 10px 16px;
  background: rgba(6, 12, 23, 0.88);
  border: 1px solid var(--hairline-gold);
  border-radius: 10px;
  color: var(--text-pure-white);
  font-family: var(--font-main);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.divisions-search-input::placeholder {
  color: var(--text-subtle);
}

.divisions-search-input:focus {
  border-color: var(--hairline-gold-active);
  box-shadow: 0 0 18px rgba(212, 166, 68, 0.16);
}

.divisions-empty-state {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 28px;
  text-align: center;
  background: rgba(8, 16, 30, 0.7);
  border: 1px solid var(--hairline-gold);
  border-radius: 14px;
  color: var(--text-muted);
  display: none;
}

/* 10 Divisions Symmetrical 2-Column Grid */
.divisions-grid-ocd {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ==========================================================================
   SCULPTED MULTI-DIMENSIONAL GOLD BULLION INGOT CARD
   Outer ambient corner gold shadows + chamfered 45° beveled ingot shell
   ========================================================================== */
.division-card-3d {
  --mx: 50%;
  --my: 0%;
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: right;
  transition: transform 0.45s var(--ease-maybach), filter 0.45s var(--ease-maybach);
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.86))
    drop-shadow(0 0 18px rgba(212, 166, 68, 0.13));
}

/* Warm Golden Corner Ambient Bloom Behind Beveled Ingot */
.division-card-3d::before,
.division-card-3d::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  transition: opacity 0.45s var(--ease-maybach), transform 0.45s var(--ease-maybach);
}

.division-card-3d::before {
  top: -10px;
  right: -10px;
  background: radial-gradient(circle, rgba(242, 223, 168, 0.28) 0%, rgba(190, 140, 40, 0.1) 45%, transparent 72%);
}

.division-card-3d::after {
  bottom: -12px;
  left: -12px;
  background: radial-gradient(circle, rgba(215, 164, 59, 0.26) 0%, rgba(145, 103, 25, 0.1) 45%, transparent 72%);
}

.division-card-3d:hover {
  transform: translate3d(0, -6px, 0);
  filter:
    drop-shadow(0 26px 40px rgba(0, 0, 0, 0.94))
    drop-shadow(0 0 28px rgba(227, 193, 110, 0.28));
}

.division-card-3d:hover::before,
.division-card-3d:hover::after {
  opacity: 0.92;
  transform: scale(1.12);
}

/* Outer Chamfered Metallic Gold Bevel Rim */
.bullion-slab {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2px;
  clip-path: polygon(
    22px 0%,
    calc(100% - 22px) 0%,
    100% 22px,
    100% calc(100% - 22px),
    calc(100% - 22px) 100%,
    22px 100%,
    0% calc(100% - 22px),
    0% 22px
  );
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(251, 243, 222, 0.92), transparent 58%),
    linear-gradient(
      135deg,
      rgba(251, 243, 222, 0.72) 0%,
      rgba(215, 164, 59, 0.42) 22%,
      rgba(99, 68, 13, 0.35) 50%,
      rgba(227, 193, 110, 0.56) 78%,
      rgba(251, 243, 222, 0.72) 100%
    );
  transition: background 0.35s var(--ease-maybach);
}

/* Inner Deep Obsidian Velvet + Recessed Gold Mine Corner Reflections */
.bullion-face {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 20px;
  clip-path: polygon(
    20px 0%,
    calc(100% - 20px) 0%,
    100% 20px,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    20px 100%,
    0% calc(100% - 20px),
    0% 20px
  );
  background:
    radial-gradient(240px circle at 100% 0%, rgba(227, 193, 110, 0.14), transparent 70%),
    radial-gradient(240px circle at 0% 100%, rgba(190, 140, 40, 0.14), transparent 70%),
    radial-gradient(420px circle at var(--mx) var(--my), rgba(242, 223, 168, 0.08), transparent 62%),
    linear-gradient(155deg, #0b162c 0%, #060d1b 52%, #030710 100%);
  box-shadow:
    inset 0 2px 14px rgba(251, 243, 222, 0.09),
    inset 0 -12px 28px rgba(0, 0, 0, 0.85),
    inset 18px 0 32px rgba(212, 166, 68, 0.05),
    inset -18px 0 32px rgba(212, 166, 68, 0.05);
  overflow: hidden;
}

/* Machined Inner Recessed Step Frame (Gives Real Layered Gold Ingot Depth) */
.bullion-face::before {
  content: '';
  position: absolute;
  inset: 7px;
  clip-path: polygon(
    15px 0%,
    calc(100% - 15px) 0%,
    100% 15px,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    15px 100%,
    0% calc(100% - 15px),
    0% 15px
  );
  border: 1px solid rgba(227, 193, 110, 0.13);
  pointer-events: none;
  z-index: 0;
  transition: border-color 0.35s ease;
}

.division-card-3d:hover .bullion-face::before {
  border-color: rgba(242, 223, 168, 0.28);
}

/* Diagonal Metallic Specular Sweep Across the Ingot Face */
.bullion-face::after {
  content: '';
  position: absolute;
  top: 0;
  left: -155%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 243, 222, 0.09), transparent);
  transform: skewX(-24deg);
  pointer-events: none;
  z-index: 1;
  transition: left 0.9s var(--ease-maybach);
}

.division-card-3d:hover .bullion-face::after {
  left: 195%;
}

/* Quiet Engraved Bullion Hallmark Strip (Zero Pill Clutter) */
.bullion-hallmark-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(227, 193, 110, 0.14);
  position: relative;
  z-index: 2;
}

.bullion-meta-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-200);
  font-variant-numeric: tabular-nums;
}

.bullion-purity-stamp {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold-300);
  letter-spacing: 0.6px;
  padding: 2px 7px;
  border: 1px solid rgba(227, 193, 110, 0.32);
  border-radius: 4px;
  background: rgba(215, 164, 59, 0.08);
}

.bullion-meta-cat {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-subtle);
}

.bullion-sla-note {
  font-size: 0.73rem;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Title Row */
.card-title-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.card-icon-frame {
  width: 40px;
  height: 40px;
  clip-path: polygon(8px 0%, 100% 0%, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0% 100%, 0% 8px);
  background: linear-gradient(145deg, rgba(242, 223, 168, 0.18), rgba(145, 103, 25, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-200);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(227, 193, 110, 0.36);
  transition: color 0.3s ease, background 0.3s ease;
}

.division-card-3d:hover .card-icon-frame {
  color: var(--gold-100);
  background: linear-gradient(145deg, rgba(242, 223, 168, 0.3), rgba(190, 140, 40, 0.22));
}

.card-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-pure-white);
  line-height: 1.38;
}

/* Concise 1-sentence executive summary */
.card-lead {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 13px;
  position: relative;
  z-index: 2;
}

/* 3 Ultra-Crisp Deliverables */
.card-points-list {
  list-style: none;
  margin-bottom: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 2;
}

.card-points-list li {
  font-size: 0.82rem;
  color: var(--text-platinum);
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.58;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.card-points-list li:last-child {
  border-bottom: none;
}

.point-diamond {
  color: var(--gold-300);
  font-size: 0.68rem;
  flex-shrink: 0;
}

/* Engraved Strategic Advantage Plate */
.card-advantage-ribbon {
  background: linear-gradient(90deg, rgba(212, 166, 68, 0.09) 0%, rgba(212, 166, 68, 0.03) 100%);
  border: 1px solid rgba(227, 193, 110, 0.22);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 0.8rem;
  color: var(--gold-100);
  line-height: 1.6;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.card-advantage-ribbon strong {
  color: var(--gold-300);
  margin-left: 5px;
}

/* Sculpted Bullion Action Button */
.btn-enter-division {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 18px;
  clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
  background: linear-gradient(135deg, rgba(227, 193, 110, 0.14) 0%, rgba(190, 140, 40, 0.08) 100%);
  box-shadow: inset 0 0 0 1px rgba(227, 193, 110, 0.34);
  color: var(--gold-100);
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.28s var(--ease-maybach);
  position: relative;
  z-index: 2;
}

.btn-enter-division:hover {
  background: var(--gradient-gold);
  box-shadow: inset 0 0 0 1px rgba(251, 243, 222, 0.85);
  color: #03070f;
}

.btn-enter-division span:last-child {
  font-size: 1.02rem;
  transition: transform 0.25s var(--ease-maybach);
}

.btn-enter-division:hover span:last-child {
  transform: translateX(-4px);
}

@media (max-width: 920px) {
  .divisions-grid-ocd {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .divisions-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .divisions-search-wrap {
    flex: 1 1 100%;
  }
  .bullion-face {
    padding: 20px 18px 18px;
  }
  .bullion-sla-note {
    display: none;
  }
}
