/* ============================================
   JUMAAN — core stylesheet
   Palette: ink #201D1B / ivory #F4EEE2 / maroon #7E2331 / gold #B4863A / olive #545B3E
   Type: Fraunces (display) + Work Sans (body/UI)
   ============================================ */

:root{
  --ink:#201D1B;
  --ivory:#F4EEE2;
  --paper:#FBF8F2;
  --maroon:#7E2331;
  --maroon-dark:#5C1723;
  --gold:#B4863A;
  --olive:#545B3E;
  --line: rgba(32,29,27,0.14);
  --line-soft: rgba(32,29,27,0.08);
  --shadow: 0 18px 40px rgba(32,29,27,0.10);
  --radius: 2px;
  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Work Sans', -apple-system, Segoe UI, Arial, sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }

h1,h2,h3,h4{
  font-family:'Fraunces', Georgia, serif;
  font-weight:500;
  line-height:1.1;
  margin:0 0 0.5em;
  color:var(--ink);
}
h1{ font-size:clamp(2.4rem, 5vw, 4.2rem); font-weight:400; }
h2{ font-size:clamp(1.8rem, 3vw, 2.6rem); }
h3{ font-size:1.3rem; }
p{ margin:0 0 1em; }
.lede{ font-size:1.1rem; color:#4b4642; max-width:52ch; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }
.section{ padding:72px 0; }
.section-tight{ padding:40px 0; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px;
  border:1px solid var(--ink);
  border-radius:var(--radius);
  font-size:0.92rem; font-weight:600;
  letter-spacing:0.01em;
  background:transparent; color:var(--ink);
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover{ background:var(--ink); color:var(--paper); }
.btn-solid{ background:var(--ink); color:var(--paper); }
.btn-solid:hover{ background:var(--maroon-dark); border-color:var(--maroon-dark); }
.btn-whatsapp{
  background:var(--maroon); color:var(--paper); border-color:var(--maroon);
}
.btn-whatsapp:hover{ background:var(--maroon-dark); border-color:var(--maroon-dark); }
.btn-small{ padding:9px 16px; font-size:0.82rem; }
.btn-block{ width:100%; justify-content:center; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(251,248,242,0.94);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line-soft);
}
.header-bar{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 28px; max-width:var(--maxw); margin:0 auto;
}
.logo{ font-family:'Fraunces', serif; font-size:1.7rem; letter-spacing:0.02em; }
.logo span{ color:var(--maroon); }
.main-nav ul{ display:flex; gap:34px; }
.main-nav a{
  font-size:0.93rem; font-weight:500; color:var(--ink);
  padding-bottom:4px; border-bottom:1px solid transparent;
  transition:border-color .2s ease;
}
.main-nav a:hover, .main-nav a.active{ border-color:var(--maroon); }
.header-actions{ display:flex; align-items:center; gap:14px; }
.nav-toggle{
  display:none; background:none; border:none; font-size:1.6rem; line-height:1;
}

@media(max-width:860px){
  .main-nav{
    position:fixed; inset:64px 0 0 0; background:var(--paper);
    transform:translateX(100%); transition:transform .25s ease;
    padding:28px; border-top:1px solid var(--line-soft);
  }
  .main-nav.open{ transform:translateX(0); }
  .main-nav ul{ flex-direction:column; gap:20px; }
  .nav-toggle{ display:block; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background:var(--ink); color:var(--ivory);
  display:grid; grid-template-columns:1.1fr 0.9fr; align-items:stretch;
  min-height:560px;
}
.hero-copy{
  padding:80px 56px; display:flex; flex-direction:column; justify-content:center;
  position:relative; z-index:2;
}
.hero-eyebrow{ color:var(--gold); font-size:0.85rem; letter-spacing:0.08em; margin-bottom:18px; }
.hero h1{ color:var(--ivory); max-width:11ch; }
.hero p{ color:rgba(244,238,226,0.78); max-width:42ch; margin-top:14px; }
.hero-cta{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }
.hero .btn{ border-color:var(--ivory); color:var(--ivory); }
.hero .btn:hover{ background:var(--ivory); color:var(--ink); }
.hero .btn-whatsapp{ background:var(--maroon); border-color:var(--maroon); color:var(--ivory); }
.hero .btn-whatsapp:hover{ background:var(--maroon-dark); }
.hero-visual{
  position:relative; background:var(--maroon-dark);
}
.hero-visual svg{ width:100%; height:100%; }

@media(max-width:860px){
  .hero{ grid-template-columns:1fr; min-height:auto; }
  .hero-copy{ padding:56px 24px 40px; }
  .hero-visual{ height:280px; }
}

/* ---------- Category strip ---------- */
.cat-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:22px;
}
.cat-card{
  position:relative; aspect-ratio:3/4; overflow:hidden;
  background:var(--ink); color:var(--ivory);
  display:flex; align-items:flex-end; padding:22px;
  border-radius:var(--radius);
}
.cat-card svg{ position:absolute; inset:0; width:100%; height:100%; opacity:0.9; }
.cat-card span{ position:relative; z-index:2; font-family:'Fraunces', serif; font-size:1.25rem; }
.cat-card::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(32,29,27,0) 40%, rgba(32,29,27,0.75) 100%);
}
@media(max-width:860px){ .cat-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Section headings ---------- */
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:34px; gap:20px; flex-wrap:wrap;
}
.section-head .btn{ flex-shrink:0; }

/* ---------- Product grid ---------- */
.product-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:28px 24px;
}
.product-card{ display:flex; flex-direction:column; }
.product-media{
  position:relative; aspect-ratio:3/4; overflow:hidden;
  background:var(--ivory); border-radius:var(--radius); margin-bottom:14px;
}
.product-media svg{ width:100%; height:100%; }
.product-tag{
  position:absolute; top:12px; left:12px;
  background:var(--maroon); color:var(--paper);
  font-size:0.72rem; font-weight:600; padding:4px 10px; border-radius:2px;
}
.product-name{ font-weight:600; font-size:0.98rem; margin-bottom:2px; }
.product-cat{ font-size:0.82rem; color:#8a8580; margin-bottom:8px; }
.product-price{ font-family:'Fraunces', serif; font-size:1.15rem; margin-bottom:12px; }
.product-price .was{ text-decoration:line-through; color:#8a8580; font-size:0.9rem; margin-right:8px; }

@media(max-width:860px){ .product-grid{ grid-template-columns:repeat(2,1fr); } }

/* ---------- Filter bar (shop page) ---------- */
.filter-bar{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:38px; }
.filter-btn{
  padding:9px 18px; border:1px solid var(--line); border-radius:20px;
  background:transparent; font-size:0.86rem; font-weight:500; color:var(--ink);
  transition:all .2s ease;
}
.filter-btn.active, .filter-btn:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }

/* ---------- Promo band ---------- */
.promo-band{
  background:var(--olive); color:var(--ivory);
  padding:64px 0; text-align:center;
}
.promo-band h2{ color:var(--ivory); }
.promo-band p{ color:rgba(244,238,226,0.8); margin-left:auto; margin-right:auto; }

/* ---------- Split feature (about) ---------- */
.split{
  display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center;
}
.split img, .split svg{ border-radius:var(--radius); width:100%; }
@media(max-width:860px){ .split{ grid-template-columns:1fr; gap:32px; } }

.stat-row{ display:flex; gap:44px; margin-top:30px; flex-wrap:wrap; }
.stat b{ display:block; font-family:'Fraunces', serif; font-size:2rem; color:var(--maroon); }
.stat span{ font-size:0.85rem; color:#6b665f; }

/* ---------- Values grid ---------- */
.values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.value-card{ border-top:2px solid var(--gold); padding-top:18px; }
@media(max-width:860px){ .values-grid{ grid-template-columns:1fr; } }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.contact-info li{ margin-bottom:18px; display:flex; gap:12px; }
.contact-info b{ display:block; font-size:0.85rem; color:#8a8580; font-weight:600; }
.form-row{ margin-bottom:18px; }
.form-row label{ display:block; font-size:0.85rem; font-weight:600; margin-bottom:6px; }
.form-row input, .form-row textarea{
  width:100%; padding:12px 14px; border:1px solid var(--line); border-radius:var(--radius);
  font-family:inherit; font-size:0.95rem; background:var(--paper);
}
.form-row textarea{ resize:vertical; min-height:120px; }
@media(max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }

/* ---------- Social strip ---------- */
.social-strip{ text-align:center; }
.social-links{ display:flex; justify-content:center; gap:18px; margin-top:18px; }
.social-links a{
  width:44px; height:44px; border:1px solid var(--line); border-radius:50%;
  display:flex; align-items:center; justify-content:center; transition:all .2s ease;
}
.social-links a:hover{ background:var(--ink); color:var(--paper); border-color:var(--ink); }

/* ---------- Footer ---------- */
.site-footer{ background:var(--ink); color:rgba(244,238,226,0.75); padding:64px 0 24px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
.footer-grid h4{ color:var(--ivory); font-size:0.85rem; letter-spacing:0.04em; margin-bottom:16px; }
.footer-grid li{ margin-bottom:10px; font-size:0.9rem; }
.footer-grid a:hover{ color:var(--gold); }
.footer-logo{ font-family:'Fraunces', serif; font-size:1.5rem; color:var(--ivory); margin-bottom:12px; }
.footer-bottom{
  border-top:1px solid rgba(244,238,226,0.15); padding-top:22px;
  display:flex; justify-content:space-between; font-size:0.8rem; flex-wrap:wrap; gap:10px;
}
@media(max-width:860px){ .footer-grid{ grid-template-columns:1fr 1fr; } }

/* ---------- WhatsApp floating button ---------- */
.wa-float{
  position:fixed; bottom:22px; right:22px; z-index:60;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,0.25);
}

/* ---------- Utility ---------- */
.center{ text-align:center; }
.mt-0{ margin-top:0; }
.page-header{ padding:56px 0 24px; text-align:center; }
.page-header p{ margin:0 auto; }
