/* ANGUS — ranglar etiketka faylidan: qora #000, bej #eddcc6, bordo #791219, oltin */
:root {
  --black: #0b0908;
  --black2: #16110d;
  --beige: #eddcc6;
  --beige2: #f4e9da;
  --cream: #fbf6ef;
  --maroon: #791219;
  --ink: #2b1a10;
  --ink2: #6b5240;
  --line: rgba(43, 26, 16, .12);
  --gold1: #fff1b8;
  --gold2: #e3b44c;
  --gold3: #a86f1c;
  --gold: linear-gradient(135deg, #fff1b8 0%, #e9bd55 38%, #c48a2a 70%, #f3d27a 100%);
  --r: 18px;
  --sh: 0 1px 2px rgba(43, 26, 16, .06), 0 10px 30px -12px rgba(43, 26, 16, .22);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font: 500 16px/1.6 var(--sans); color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold3); outline-offset: 3px; border-radius: 6px; }
.ic { width: 20px; height: 20px; flex: none; }

/* tugmalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #2a1706; box-shadow: 0 8px 22px -10px rgba(168, 111, 28, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-gold:hover { box-shadow: 0 12px 28px -10px rgba(168, 111, 28, .95), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(43, 26, 16, .28); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-dark { background: var(--black); color: #f3e3c4; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

.eyebrow { font: 600 12px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold3); margin-bottom: 14px; }
.dark .eyebrow { color: var(--gold2); }

/* yuqori panel */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 239, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.top.sc { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(43, 26, 16, .5); }
.top-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.top-r { display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(43, 26, 16, .06); }
.langs a { text-decoration: none; font: 600 12px/1 var(--sans); padding: 8px 10px; border-radius: 999px; color: var(--ink2); }
.langs a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 12px 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }

/* hero */
.hero { position: relative; background: radial-gradient(120% 90% at 80% 40%, #f6e6cf 0%, var(--beige2) 45%, var(--cream) 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); }
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 32px; min-height: min(760px, calc(100svh - 72px)); padding: 56px 0 64px; }
.hero h1 { font: 700 clamp(44px, 5.6vw, 78px)/1.02 var(--serif); letter-spacing: -.01em; color: var(--black); }
.hero h1::after { content: ""; display: block; width: 84px; height: 3px; margin-top: 22px; border-radius: 3px; background: var(--gold); }
.lead { margin-top: 22px; font-size: clamp(16px, 1.35vw, 18.5px); color: var(--ink2); max-width: 520px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.badges { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.badges li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.badges .ic { width: 18px; height: 18px; color: var(--gold3); }

.hero-art { position: relative; aspect-ratio: 1 / .86; width: 100%; max-width: 600px; justify-self: center; touch-action: pan-y; margin-bottom: 46px; }
.hero-art .glow { position: absolute; inset: 6% 4% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(233, 189, 85, .38), rgba(233, 189, 85, 0)); filter: blur(10px); }
.hero-art .poster { position: absolute; inset: 0; margin: auto; width: 92%; height: 100%; object-fit: contain; transition: opacity .6s ease; }
.hero-art canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .8s ease; cursor: grab; outline: none; }
.hero-art canvas:active { cursor: grabbing; }
.hero-art.c3-on canvas { opacity: 1; }
.hero-art.c3-on .poster { opacity: 0; }
.c3-ui { position: absolute; left: 0; right: 0; bottom: -46px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.c3-sw { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: var(--sh); }
.c3-sw button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font: 600 13px/1 var(--sans); color: var(--ink2); cursor: pointer; }
.c3-sw button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--gold2); }
.dot-qora { background: #000; }
.dot-bej { background: var(--beige); }
.c3-hint { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.c3-hint .ic { width: 16px; height: 16px; }

/* bo'limlar */
.sec { padding: clamp(72px, 9vw, 120px) 0; }
.head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.head h2, .halal h2, .opt h2 { font: 700 clamp(34px, 4vw, 54px)/1.05 var(--serif); color: var(--black); }
.head p { margin-top: 16px; color: var(--ink2); font-size: 17px; }

.labels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.label { margin: 0; border-radius: 24px; padding: 34px 28px 26px; text-align: center; box-shadow: var(--sh); }
.label-bej { background: linear-gradient(160deg, #f6ecde, var(--beige)); }
.label-qora { background: radial-gradient(90% 80% at 50% 30%, #241b12, #050403); color: #f3e3c4; }
.lid-wrap { width: min(300px, 86%); margin: 0 auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.label:hover .lid-wrap { transform: rotate(-8deg) scale(1.03); }
.lid-wrap img { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .28)); }
.label figcaption { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.label figcaption b { font: 700 26px/1.1 var(--serif); }
.label figcaption span { font-size: 13.5px; opacity: .75; }

.feats { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feats li { background: #fff; border-radius: var(--r); padding: 24px 22px; box-shadow: var(--sh); display: flex; flex-direction: column; gap: 6px; }
.fi { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--black); color: var(--gold2); margin-bottom: 8px; }
.fi .ic { width: 22px; height: 22px; }
.feats b { font-size: 16.5px; }
.feats span:last-child { color: var(--ink2); font-size: 14.5px; line-height: 1.5; }

.info { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: 16px; }
.card { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: var(--sh); }
.card h3 { font: 700 26px/1.1 var(--serif); color: var(--black); margin-bottom: 10px; }
.card > p { color: var(--ink2); }
.specs, .nutr { margin: 18px 0 0; display: grid; gap: 0; }
.specs div, .nutr div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.specs dt, .nutr dt { color: var(--ink2); font-size: 14.5px; }
.specs dd, .nutr dd { margin: 0; font-weight: 600; text-align: right; }
.nutr { margin-top: 6px; }
.nutr dd { font: 700 24px/1 var(--serif); color: var(--maroon); }

/* halol (qora) */
.dark { background: radial-gradient(80% 70% at 20% 30%, #241a10 0%, var(--black) 60%); color: #efe3cf; }
.halal-in { display: grid; grid-template-columns: .82fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.cert a { display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(227, 180, 76, .35); transform: rotate(-2deg); transition: transform .4s ease; }
.cert a:hover { transform: rotate(0) scale(1.01); }
.halal h2 { color: #fff4dc; }
.halal-txt > p { margin-top: 16px; color: #cdbda3; font-size: 17px; }
.facts { margin: 28px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(227, 180, 76, .22); border-radius: 14px; overflow: hidden; }
.facts div { background: #120d09; padding: 16px 18px; }
.facts dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #a8957a; }
.facts dd { margin: 6px 0 0; font-weight: 600; color: #fff4dc; }
.note { margin-top: 16px; font-size: 13.5px; color: #a8957a; }
.opt .note { color: var(--ink2); }

/* dasturxon */
.table { background: linear-gradient(180deg, var(--beige2), var(--cream)); }
.scenes { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, (100% - 1180px) / 2) 24px; scrollbar-width: thin; }
.scene { position: relative; flex: 0 0 clamp(240px, 26vw, 320px); margin: 0; border-radius: 22px; overflow: hidden; scroll-snap-align: center; box-shadow: var(--sh); aspect-ratio: 4 / 5; background: #e9dccb; }
.scene .bg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.scene:hover .bg { transform: scale(1.04); }
.scene .lid { position: absolute; width: 44%; left: 28%; top: 30%; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .35)); transform: rotate(-6deg); }
.scene figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-weight: 600; font-size: 14px; }

/* optom + forma */
.opt-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.opt-txt > p { margin-top: 16px; color: var(--ink2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.ticks .ic { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--maroon); color: #fff; }
.form { display: grid; gap: 14px; border-top: 4px solid var(--maroon); }
.form h3 { margin-bottom: 0; }
.form > p { margin-top: -4px; }
.form label { display: grid; gap: 6px; }
.form label span { font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.form input, .form select, .form textarea { width: 100%; font: 500 16px/1.4 var(--sans); color: var(--ink); background: var(--cream); border: 1.5px solid rgba(43, 26, 16, .16); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, background-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold3); background: #fff; }
.form .bad { border-color: #b3261e; }
.form textarea { resize: vertical; min-height: 86px; }
.form .btn { margin-top: 4px; width: 100%; }
.form .btn[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }
.fmsg { min-height: 1.4em; font-size: 14.5px; font-weight: 600; }
.fmsg.ok { color: #1f6b3a; }
.fmsg.err { color: #b3261e; }

/* aloqa */
.contact { padding-top: 0; }
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lnk { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--r); background: #fff; box-shadow: var(--sh); text-decoration: none; transition: transform .2s ease; }
.lnk:hover { transform: translateY(-2px); }
.li { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--gold2); flex: none; }
.lnk small { display: block; font-size: 12.5px; color: var(--ink2); }
.lnk b { font-size: 16.5px; }

.foot { background: var(--black); color: #cdbda3; padding: 44px 0 40px; }
.foot-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot img { width: 110px; }
.foot-in div { display: flex; flex-direction: column; }
.foot b { font: 700 24px/1 var(--serif); letter-spacing: .08em; color: #f3d27a; }
.foot span { font-size: 13.5px; }
.foot small { margin-left: auto; font-size: 13px; color: #8f7f68; }

.mbar { display: none; }

/* planshet */
@media (max-width: 1020px) {
  .nav { gap: 18px; }
  .hide-m { display: none; }
  .feats { grid-template-columns: 1fr 1fr; }
}
/* telefon */
@media (max-width: 860px) {
  html { scroll-padding-top: 70px; }
  .top-in { height: 62px; gap: 12px; }
  .brand img { height: 34px; }
  .burger { display: flex; }
  .top-r { margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 62px; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px -16px rgba(0, 0, 0, .3); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding: 32px 0 48px; gap: 8px; text-align: left; }
  .hero-art { order: -1; max-width: 420px; aspect-ratio: 1 / .8; margin-bottom: 58px; }
  .cta .btn { flex: 1 1 100%; }
  .badges { margin-top: 26px; flex-direction: column; gap: 10px; }
  .labels { grid-template-columns: 1fr 1fr; gap: 12px; }
  .label { padding: 20px 12px 16px; border-radius: 18px; }
  .label figcaption b { font-size: 20px; }
  .label figcaption span { font-size: 12px; }
  .feats { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .feats li { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 18px; }
  .feats .fi { margin: 0; }
  .feats span:last-child { flex-basis: 100%; }
  .info { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 22px 18px; }
  .halal-in { grid-template-columns: 1fr; }
  .cert { max-width: 340px; margin: 0 auto; }
  .facts { grid-template-columns: 1fr; }
  .halal-txt .btn { width: 100%; white-space: normal; text-align: center; }
  .head { margin-bottom: 32px; text-align: left; }
  .opt-in { grid-template-columns: 1fr; }
  .opt-txt .btn { width: 100%; }
  .links { grid-template-columns: 1fr; gap: 12px; }
  .foot small { margin-left: 0; flex-basis: 100%; }
  body { padding-bottom: 76px; }
  .mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 246, 239, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: 14.5px; }
}
@media (max-width: 380px) {
  .langs a { padding: 7px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
