/* assets/css/hero.css
   Oriental Gems hero
   Gallery calm theme
   Palette: mineral indigo, rice ivory, clay, muted gold, minimal jade focus
   Works with the current hero.php class names (oghero*)
*/

:root{
  --h-max: 1180px;
  --h-pad: 18px;

  --h-ivory: #f7f5f0;
  --h-ink: #161a1d;
  --h-ink2: rgba(22,26,29,0.70);

  --h-indigo: #1c2a3a;
  --h-clay: #b56a4a;
  --h-gold: #c8a45d;

  --h-focus: rgba(47,143,107,0.26);

  --h-panel: rgba(247,245,240,0.84);
  --h-panel2: rgba(255,255,255,0.80);

  --h-line: rgba(28,42,58,0.12);
  --h-line2: rgba(28,42,58,0.18);

  --h-shadow: 0 18px 50px rgba(16,22,28,0.14);
  --h-shadow2: 0 10px 26px rgba(16,22,28,0.10);

  --h-radius: 22px;

  --h-title: clamp(34px, 4vw, 56px);
  --h-lead: 16.5px;

  --h-img1: 340px;
}

.oghero{
  position: relative;
  overflow: hidden;
  padding: 76px 0 58px 0;
  background: var(--h-ivory);
  color: var(--h-ink);
}

.oghero::before{
  content:"";
  position:absolute;
  inset:-140px;
  background:
    radial-gradient(900px 520px at 14% 18%, rgba(28,42,58,0.12), transparent 62%),
    radial-gradient(820px 520px at 86% 22%, rgba(200,164,93,0.12), transparent 60%),
    radial-gradient(820px 520px at 70% 92%, rgba(181,106,74,0.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.45), rgba(247,245,240,0.35));
  pointer-events:none;
  z-index:0;
}

.ogheroWrap{
  position: relative;
  z-index: 2;
  max-width: var(--h-max);
  margin: 0 auto;
  padding: 0 var(--h-pad);
}

.ogheroGrid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.ogheroLeft{ padding-top: 4px; }

.ogheroPill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--h-line);
  background: var(--h-panel);
  backdrop-filter: blur(12px) saturate(115%);
  box-shadow: var(--h-shadow2);
  font-weight: 620;
  font-size: 13px;
  letter-spacing: 0.1px;
  color: rgba(28,42,58,0.84);
}

.ogheroDot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(200,164,93,0.92), rgba(28,42,58,0.92));
  box-shadow: 0 0 0 4px rgba(200,164,93,0.12), 0 0 0 7px rgba(28,42,58,0.06);
}

.ogheroTitle{
  margin: 14px 0 12px 0;
  font-size: var(--h-title);
  line-height: 1.06;
  font-weight: 720;
  letter-spacing: -0.6px;
  color: var(--h-indigo);
}

.ogheroLead{
  margin: 0 0 18px 0;
  max-width: 62ch;
  font-size: var(--h-lead);
  line-height: 1.7;
  color: var(--h-ink2);
}

.ogheroCta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 14px 0;
}

/* Corrected button system */
.ogheroBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(28,42,58,0.18);
  background: rgba(255,255,255,0.70);
  color: #1c2a3a;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--h-shadow2);
  transition: background 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
  white-space: nowrap;
}

.ogheroBtn:hover{
  background: rgba(255,255,255,0.88);
  transform: translateY(-1px);
  box-shadow: var(--h-shadow);
}

.ogheroBtn:focus-visible{
  outline: 3px solid var(--h-focus);
  outline-offset: 4px;
}

.ogheroBtnPrimary{
  background: #1c2a3a;
  border-color: #c8a45d;
  color: #f7f5f0;
}

.ogheroBtnPrimary:hover{
  background: #16212e;
}

.ogheroBtnGhost{
  background: rgba(255,255,255,0.60);
}

.ogheroArrow{ transform: translateY(1px); }

.ogheroProof{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.ogheroProofItem{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 13px;
  color: rgba(28,42,58,0.76);
}

.ogheroCheck{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(200,164,93,0.16), rgba(28,42,58,0.08));
  border: 1px solid rgba(28,42,58,0.14);
  color: rgba(28,42,58,0.84);
}

.ogheroScroll{
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--h-line);
  background: rgba(255,255,255,0.62);
  color: rgba(28,42,58,0.78);
  font-weight: 620;
  cursor: pointer;
  box-shadow: var(--h-shadow2);
  transition: background 0.14s ease, transform 0.14s ease, border-color 0.14s ease;
}

.ogheroScroll:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.78);
  border-color: var(--h-line2);
}

.ogheroScroll:focus-visible{
  outline: 3px solid var(--h-focus);
  outline-offset: 4px;
}

.ogheroScrollCue{
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(200,164,93,0.70);
  border-bottom: 2px solid rgba(28,42,58,0.55);
  transform: rotate(45deg);
}

.ogheroRight{
  display: grid;
  gap: 14px;
  align-content: start;
}

.ogheroFrames{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ogheroFrame{
  position: relative;
  border-radius: var(--h-radius);
  background: rgba(255,255,255,0.72);
  box-shadow: var(--h-shadow);
  overflow: hidden;
  border: 1px solid var(--h-line);
}

.ogheroFrame::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  border-radius: var(--h-radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(200,164,93,0.26), rgba(28,42,58,0.18));
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0.95;
}

.ogheroFrame img{
  width: 100%;
  height: 100%;
  display:block;
  object-fit: cover;
}

.ogheroFrameLarge{ height: var(--h-img1); }

.ogheroFrameLabel{
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(247,245,240,0.90);
  border: 1px solid rgba(200,164,93,0.24);
  color: rgba(28,42,58,0.82);
  font-size: 12px;
  font-weight: 650;
  box-shadow: var(--h-shadow2);
}

.ogheroMiniCard{
  padding: 14px 14px;
  border-radius: var(--h-radius);
  border: 1px solid var(--h-line);
  background: rgba(255,255,255,0.76);
  box-shadow: var(--h-shadow);
}

.ogheroMiniTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.ogheroMiniBadge{
  display:inline-flex;
  align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(200,164,93,0.14);
  border: 1px solid rgba(200,164,93,0.22);
  font-weight: 680;
  font-size: 12px;
  color: rgba(28,42,58,0.84);
}

.ogheroMiniMeta{
  font-size: 12px;
  font-weight: 560;
  color: rgba(28,42,58,0.64);
}

.ogheroMiniTitle{
  font-size: 14px;
  font-weight: 720;
  color: rgba(28,42,58,0.92);
  margin-bottom: 4px;
}

.ogheroMiniText{
  font-size: 13px;
  line-height: 1.65;
  color: rgba(28,42,58,0.72);
}

/* Responsive */
@media (max-width: 980px){
  .oghero{
    padding: 64px 0 46px 0;
  }
  .ogheroGrid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ogheroFrameLarge{
    height: 280px;
  }
}

@media (max-width: 520px){
  .oghero{
    padding: 58px 0 40px 0;
  }
  .ogheroCta{
    flex-direction: column;
  }
  .ogheroBtn{
    width: 100%;
  }
  .ogheroFrameLarge{
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce){
  .ogheroBtn,
  .ogheroScroll{
    transition: none;
  }
}
