/* ===== Bait Al-Burhan — warm premium theme ===== */
:root {
  --cream: #f4eee1;
  --cream-2: #efe5d4;
  --panel: #fbf8f1;
  --olive: #3f4a2a;
  --olive-d: #333c21;
  --olive-l: #4a5733;
  --gold: #c2a05a;
  --gold-d: #a8843c;
  --ink: #2e3422;
  --text: #6d6553;
  --muted: #908872;
  --line: #e6dcc8;

  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 3px 14px rgba(80, 66, 30, .08);
  --shadow: 0 16px 40px rgba(70, 58, 25, .16);
  --shadow-lg: 0 30px 70px rgba(70, 58, 25, .22);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  font-family: 'Cairo', system-ui, 'Segoe UI', Tahoma, sans-serif;
  color: var(--text); background: var(--cream); line-height: 1.8;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; font-weight: 800; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 1000; background: var(--olive); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { inset-inline-start: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent; transition: .22s ease; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--olive); color: #f3eede; box-shadow: 0 10px 24px rgba(63, 74, 42, .26); }
.btn-primary:hover { background: var(--olive-d); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(63, 74, 42, .34); }
.btn-gold { background: var(--gold); color: #3a2e12; box-shadow: 0 10px 24px rgba(194, 160, 90, .4); }
.btn-gold:hover { background: var(--gold-d); transform: translateY(-2px); color: #fff; }
.btn-text { background: transparent; color: var(--olive); border-color: transparent; padding-inline: 8px; }
.btn-text:hover { color: var(--gold-d); }

/* Top bar */
.topbar { background: var(--olive-d); color: #d8d2c0; font-size: .85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.lang-switch { display: inline-flex; gap: 2px; }
.lang-switch button { border: 0; background: transparent; color: #cfc8b4; cursor: pointer; font-family: inherit; font-weight: 700; padding: 5px 12px; border-radius: 8px; font-size: .82rem; }
.lang-switch button.active { background: var(--gold); color: #3a2e12; }
.topbar-contact { display: flex; gap: 18px; color: #cfc8b4; font-weight: 600; }
.topbar-contact a { color: #cfc8b4; }
.topbar-contact a:hover { color: var(--gold); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(244, 238, 225, .92); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand-logo { height: 52px; width: auto; }
.brand { order: 3; }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; order: 1; }
.main-nav a { padding: 9px 15px; border-radius: 10px; font-weight: 700; color: var(--ink); font-size: 1rem; position: relative; transition: .2s; }
.main-nav a:hover { color: var(--gold-d); }
.main-nav a.active { color: var(--gold-d); }
.main-nav a.active::after { content: ''; position: absolute; inset-inline: 14px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--gold); }
.nav-toggle { display: none; order: 2; flex-direction: column; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); cursor: pointer; align-items: center; justify-content: center; margin-inline-start: auto; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(50px, 7vw, 96px); background:
    radial-gradient(900px 480px at 78% 30%, rgba(194,160,90,.28), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(63,74,42,.10), transparent 55%),
    linear-gradient(160deg, #f6f0e3 0%, #efe2cb 60%, #ead9bb 100%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-text { order: 2; }
.hero-media { order: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--olive); background: rgba(194,160,90,.2); border: 1px solid rgba(194,160,90,.5); padding: 7px 16px; border-radius: 999px; margin-bottom: 20px; }
.hero-text h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 900; letter-spacing: -1px; }
.hero-text h1 .ht-1 { display: block; color: var(--ink); }
.hero-text h1 .ht-2 { display: block; color: var(--gold-d); position: relative; }
.hero-text p { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text); margin: 20px 0 30px; max-width: 40ch; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Hero product cluster */
.hero-stage { position: relative; aspect-ratio: 1 / 0.92; max-width: 560px; margin-inline: auto; }
.hero-blob { position: absolute; inset: 6% 4%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.55), rgba(194,160,90,.35) 55%, rgba(168,132,60,.18) 75%, transparent 80%); filter: blur(2px); }
.hp { position: absolute; border-radius: 18px; background: #fff; border: 5px solid #fff; box-shadow: var(--shadow-lg); object-fit: cover; }
.hp1 { width: 52%; aspect-ratio: 4/5; inset-inline-end: 6%; top: 4%; z-index: 3; }
.hp2 { width: 40%; aspect-ratio: 1/1; inset-inline-start: 2%; top: 20%; z-index: 2; }
.hp3 { width: 38%; aspect-ratio: 1/1; inset-inline-start: 16%; bottom: 2%; z-index: 4; }
.hp4 { width: 33%; aspect-ratio: 1/1; inset-inline-end: 2%; bottom: 8%; z-index: 1; }
.hero-halal { position: absolute; z-index: 5; top: 0; inset-inline-start: 8%; background: var(--olive); color: #f3eede; font-weight: 800; font-size: .82rem; padding: 9px 15px; border-radius: 999px; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 7px; }
.hero-halal svg { width: 16px; height: 16px; color: var(--gold); }

/* Features band */
.features { background: linear-gradient(180deg, var(--olive), var(--olive-d)); color: #ece6d6; padding: clamp(36px, 5vw, 56px) 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { text-align: center; padding: 8px 14px; position: relative; }
.feature:not(:last-child)::after { content: ''; position: absolute; inset-inline-end: -10px; top: 16%; height: 68%; width: 1px; background: rgba(255,255,255,.14); }
.feature-icon { width: 60px; height: 60px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 16px; border: 1.5px solid rgba(194,160,90,.5); color: var(--gold); }
.feature-icon svg { width: 30px; height: 30px; }
.feature h3 { color: #fff; font-size: 1.15rem; margin-bottom: 7px; }
.feature p { color: #c9c3b1; font-size: .92rem; line-height: 1.6; }

/* Sections */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.08rem; }
.ornament { display: block; color: var(--gold); font-size: 1.4rem; margin-bottom: 6px; letter-spacing: 6px; }

/* Products */
.products { background: var(--cream); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.filter-chip { border: 1px solid var(--line); background: var(--panel); color: var(--text); font-family: inherit; font-weight: 700; padding: 9px 20px; border-radius: 999px; cursor: pointer; transition: .2s; font-size: .95rem; }
.filter-chip:hover { border-color: var(--gold); color: var(--gold-d); }
.filter-chip.active { background: var(--olive); color: #f3eede; border-color: transparent; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--panel); transition: .28s ease; aspect-ratio: 3 / 3.4; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.product-card:hover img { transform: scale(1.06); }
.product-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(40,38,25,.55), transparent 42%); z-index: 1; }
.product-label { position: absolute; z-index: 2; inset-inline: 12px; bottom: 12px; background: var(--olive); color: #f3eede; border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; box-shadow: 0 8px 18px rgba(40,38,25,.3); }
.product-label .pl-name { font-weight: 800; font-size: 1.02rem; }
.product-label .pl-arrow { color: var(--gold); display: inline-flex; }
.product-label .pl-arrow svg { width: 18px; height: 18px; }
html[dir="ltr"] .pl-arrow { transform: scaleX(-1); }
.product-cat-tag { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; background: rgba(251,248,241,.92); color: var(--olive); font-weight: 700; font-size: .76rem; padding: 4px 11px; border-radius: 999px; }

/* About */
.about { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.about-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.about-text .eyebrow { display: inline-block; color: var(--gold-d); font-weight: 800; font-size: .95rem; margin-bottom: 8px; }
.about-text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.about-body { font-size: 1.1rem; margin: 16px 0 8px; max-width: 52ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 30px; }
.stat { text-align: center; }
.stat-icon { width: 48px; height: 48px; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 14px; background: rgba(194,160,90,.16); color: var(--gold-d); }
.stat-icon svg { width: 24px; height: 24px; }
.stat-value { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; color: var(--olive); }
.stat-label { color: var(--muted); font-weight: 600; font-size: .9rem; }
.about-media { position: relative; }
.about-photo { border-radius: var(--radius-lg); aspect-ratio: 4/3; box-shadow: var(--shadow); border: 6px solid #fff; overflow: hidden; background: #fff; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-media::after { content: ''; position: absolute; inset-inline-end: -16px; bottom: -16px; width: 60%; height: 60%; border: 2px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }

/* Contact band */
.contact { position: relative; color: #ece6d6; padding: clamp(48px, 6vw, 80px) 0; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(90deg, rgba(51,60,33,.96), rgba(63,74,42,.9)),
    radial-gradient(600px 300px at 90% 50%, rgba(194,160,90,.3), transparent 60%); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.contact-cta { flex: 1 1 360px; }
.contact-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 22px; max-width: 18ch; }
.contact-info { display: flex; flex-direction: column; gap: 18px; flex: 0 1 360px; }
.contact-item { display: flex; align-items: center; gap: 14px; }
.contact-item .ci-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(194,160,90,.18); color: var(--gold); }
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item .ci-label { font-size: .82rem; color: #c2bca9; font-weight: 600; }
.contact-item .ci-value { font-weight: 700; color: #fff; word-break: break-word; }
.contact-item .ci-value:hover { color: var(--gold); }

/* Footer */
.site-footer { background: var(--olive-d); color: #c7c1af; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 36px; padding: 54px 24px 36px; }
.footer-brand img { height: 60px; width: auto; background: #fff; padding: 9px 13px; border-radius: 14px; }
.footer-brand p { margin-top: 16px; color: #a59e8c; max-width: 38ch; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .88rem; color: #948d7c; text-align: center; }

/* WhatsApp float */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.5); transition: .25s; }
.wa-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .feature:not(:last-child)::after { display: none; }
}
@media (max-width: 860px) {
  .main-nav { position: fixed; inset-block-start: 76px; inset-inline: 0; margin: 0; background: var(--panel); flex-direction: column; gap: 4px; padding: 14px 24px 24px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--line);
    transform: translateY(-14px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
  .main-nav.open { transform: translateY(0) !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
  .main-nav a { padding: 13px 16px; font-size: 1.05rem; }
  .main-nav a.active::after { display: none; }
  .nav-toggle { display: flex; }
  .brand { margin-inline-start: auto; order: 1; }
  .nav-toggle { order: 2; margin-inline-start: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-text { order: 2; text-align: center; }
  .hero-text p { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-media { order: 1; }
  .hero-stage { max-width: 420px; }
  .about-inner { grid-template-columns: 1fr; gap: 30px; }
  .about-media { order: -1; }
  .about-media::after { display: none; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat-value { font-size: 1.5rem; }
  .brand-logo { height: 44px; }
  .product-label { padding: 10px 12px; }
  .product-label .pl-name { font-size: .92rem; }
}
