/* Nafis oltin — krem va oltin, klassik va vazmin */

:root {
  --fon: #F8F2E7;
  --fon-2: #EFE3CC;
  --matn: #6B5434;
  --matn-2: #8F7A5C;
  --urgu: #9C7A45;
  --urgu-matn: #FFF8EC;
  --chiziq: #D9C29A;
  --konvert-fon: #F3E9D8;
  --muhr: #A8823F;
  --shrift-sarlavha: "Cormorant Garamond", Georgia, serif;
  --shrift-ism: "Great Vibes", "Cormorant Garamond", cursive;
  --shrift-matn: "Cormorant Garamond", Georgia, serif;
}

/* To'q oltin — krem yozuv bilan kontrast 4.6:1 */
.tugma-asosiy, .tugma:hover, .tugma:focus-visible { background: #8C6A35; border-color: #8C6A35; }

/* Bosh qism — burchak bezakli ramka */
.bosh {
  position: relative;
  margin-top: 28px;
  padding: 64px 28px;
  border: 1px solid var(--chiziq);
  outline: 1px solid var(--chiziq);
  outline-offset: 6px;
}
.bosh::before, .bosh::after {
  content: "";
  position: absolute;
  width: 64px;
  height: 64px;
  background: url("decor/ramka.svg") no-repeat center / contain;
}
.bosh::before { top: 8px; left: 8px; }
.bosh::after { bottom: 8px; right: 8px; transform: rotate(180deg); }

/* Bo'limlar orasida gul bezak */
.sahifa > section + section::before {
  content: "";
  display: block;
  width: 180px;
  height: 22px;
  margin: 0 auto 40px;
  background: url("decor/gul.svg") no-repeat center / contain;
}

.konvert::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--chiziq);
  pointer-events: none;
}
