/* ==========================================================================
   Used Office Furniture Qatar — Stylesheet
   Design concept: "The Ledger" — a warehouse inventory / resale-ticket
   aesthetic. Ink on paper, brass tag accents, steel-blue authority.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Public+Sans:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root{
  --paper:      #EFEAE0;
  --paper-dim:  #E4DDCE;
  --ink:        #1B1815;
  --ink-soft:   #4A443C;
  --steel:      #3E5C6B;
  --steel-dark: #2A4048;
  --brass:      #B8894A;
  --brass-deep: #8E6832;
  --line:       #C9C0AD;
  --white:      #FFFDF9;

  --font-display: 'Fraunces', serif;
  --font-body: 'Public Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius: 3px;
  --container: 1180px;
}

*{ box-sizing: border-box; margin:0; padding:0; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }

a{ color: inherit; text-decoration: none; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Skip link / focus ---------- */
.skip-link{
  position:absolute; left:-999px; top:0;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 999;
}
.skip-link:focus{ left: 16px; top: 16px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--steel);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Eyebrow / ticket label ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before{
  content: "";
  width: 18px; height: 1px;
  background: var(--brass-deep);
  display:inline-block;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h2{ font-size: clamp(28px, 4vw, 42px); font-weight: 600; }
h3{ font-size: 22px; font-weight: 600; }

p{ color: var(--ink-soft); }

.lede{ font-size: 18px; max-width: 60ch; }

/* ---------- Top bar (contact strip) ---------- */
.topbar{
  background: var(--ink);
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.topbar .wrap{
  display:flex; justify-content: space-between; align-items:center;
  padding-top: 8px; padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a{ color: var(--paper-dim); }
.topbar a:hover{ color: var(--brass); }
.topbar-links{ display:flex; gap:20px; flex-wrap: wrap; }
.topbar-badge{ color: var(--brass); }

/* ---------- Header / nav ---------- */
header.site-header{
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top:0; z-index: 100;
}
.nav{
  display:flex; align-items:center; justify-content: space-between;
  padding: 18px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
}
.brand-mark{
  width:38px; height:38px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.brand small{
  display:block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 400;
  text-transform: uppercase;
}
.nav-links{
  display:flex; gap: 32px;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a{ position:relative; padding: 4px 0; }
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px;
  width:0; height:2px; background: var(--brass);
  transition: width .2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.03em;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn-primary{ background: var(--ink); color: var(--paper); }
.btn-primary:hover{ background: var(--steel-dark); border-color: var(--steel-dark); transform: translateY(-1px); }
.btn-ghost{ background: transparent; color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--paper); }
.btn-brass{ background: var(--brass); border-color: var(--brass-deep); color: var(--ink); }
.btn-brass:hover{ background: var(--brass-deep); color: var(--white); transform: translateY(-1px); }

.nav-cta{ display:flex; gap: 12px; align-items:center; }
.hamburger{ display:none; }

/* ---------- Hero ---------- */
.hero{
  background:
    linear-gradient(180deg, rgba(27,24,21,0) 60%, var(--paper) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(27,24,21,0.045) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, rgba(27,24,21,0.045) 28px),
    var(--ink);
  color: var(--paper);
  padding: 70px 0 0;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items:center;
  padding-bottom: 60px;
}
.hero h1{
  color: var(--paper);
  font-size: clamp(38px, 5.4vw, 62px);
  margin: 18px 0 20px;
}
.hero h1 em{
  font-style: normal;
  color: var(--brass);
}
.hero .eyebrow{ color: var(--brass); }
.hero .eyebrow::before{ background: var(--brass); }
.hero p.lede{ color: #D8D2C4; margin-bottom: 30px; }
.hero-cta{ display:flex; gap:16px; flex-wrap: wrap; margin-bottom: 20px;}

.hero-stats{
  display:flex; gap: 30px; margin-top: 34px;
  font-family: var(--font-mono);
}
.hero-stats div{ border-left: 2px solid var(--brass); padding-left: 12px; }
.hero-stats strong{ display:block; font-size: 26px; color: var(--paper); }
.hero-stats span{ font-size: 11.5px; color: #B7AF9E; letter-spacing:.05em; text-transform: uppercase; }

/* ticket card in hero */
.ticket{
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
  transform: rotate(2deg);
  border: 1px solid var(--line);
}
.ticket::before, .ticket::after{
  content:"";
  position:absolute; width:22px; height:22px;
  background: var(--ink);
  border-radius:50%;
  top:50%; transform: translateY(-50%);
}
.ticket::before{ left:-11px; }
.ticket::after{ right:-11px; }
.ticket img{ border-radius: 2px; margin-bottom: 16px; aspect-ratio: 4/3; object-fit: cover; background: var(--paper-dim); }
.ticket-row{
  display:flex; justify-content: space-between; align-items:baseline;
  border-top: 1px dashed var(--line);
  padding-top: 12px; margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
}
.ticket-title{ font-family: var(--font-display); font-size: 19px; font-weight:600; margin-bottom: 4px;}
.ticket-price{ color: var(--brass-deep); font-weight:700; font-size: 15px; }
.ticket-tag{
  position:absolute; top:-14px; left:26px;
  background: var(--brass); color: var(--ink);
  font-family: var(--font-mono); font-size: 11px; font-weight:700;
  letter-spacing: .06em; text-transform:uppercase;
  padding: 6px 12px; border-radius: 2px;
}

/* ---------- section shell ---------- */
section{ padding: 84px 0; }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head .eyebrow{ margin-bottom: 14px; }
.section-head p{ margin-top: 14px; }

.alt{ background: var(--white); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}

/* ---------- category / product grid ---------- */
.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card:hover{ transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgba(27,24,21,0.35); border-color: var(--brass); }
.cat-num{ font-family: var(--font-mono); font-size: 12px; color: var(--brass-deep); margin-bottom: 14px; }
.cat-card h3{ margin-bottom: 8px; }
.cat-card p{ font-size: 14.5px; }

.grid-3{ grid-template-columns: repeat(3, 1fr); }

/* product ticket cards (index preview + products page) */
.product-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover{ transform: translateY(-4px); box-shadow: 0 18px 34px -20px rgba(27,24,21,0.4); }
.product-media{
  aspect-ratio: 4/3; background: var(--paper-dim);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  overflow:hidden;
}
.product-media img{ width:100%; height:100%; object-fit: cover; }
.product-condition{
  position:absolute; top:12px; left:12px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing:.05em; text-transform:uppercase;
  padding: 5px 10px; border-radius: 2px;
}
.product-body{ padding: 18px 20px 22px; }
.product-body h3{ font-size: 18px; margin-bottom: 6px; }
.product-body p{ font-size: 13.5px; margin-bottom: 12px; }
.product-foot{
  display:flex; justify-content: space-between; align-items:center;
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  font-family: var(--font-mono);
}
.product-price{ color: var(--brass-deep); font-weight:700; }
.product-foot a{ font-size: 12.5px; font-weight:700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- why us / feature list ---------- */
.feature-list{ display:grid; grid-template-columns: repeat(2,1fr); gap: 30px 40px; }
.feature{ display:flex; gap: 18px; }
.feature-icon{
  width: 46px; height:46px; flex-shrink:0;
  border: 1.5px solid var(--ink);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size:18px;
}
.feature h3{ font-size: 17px; margin-bottom: 6px; }
.feature p{ font-size: 14.5px; }

/* ---------- process / steps ---------- */
.steps{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.step{
  border-top: 3px solid var(--brass);
  padding-top: 18px;
}
.step .step-no{
  font-family: var(--font-mono);
  font-size: 34px; font-weight:700;
  color: var(--line);
  display:block; margin-bottom: 6px;
}
.step h3{ margin-bottom: 8px; font-size: 18px; }
.step p{ font-size: 14.5px; }

/* ---------- testimonials ---------- */
.testimonials{ display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.stars{ color: var(--brass); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testi p{ font-size: 14.5px; color: var(--ink); margin-bottom: 16px; font-style: italic;}
.testi-name{ font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--steel);
  color: var(--white);
  padding: 60px 0;
}
.cta-band .wrap{
  display:flex; justify-content: space-between; align-items:center; gap: 24px; flex-wrap: wrap;
}
.cta-band h2{ color: var(--white); font-size: clamp(24px,3vw,34px); }
.cta-band p{ color: #D6E1E5; margin-top: 8px; }
.cta-band .btn-primary{ background: var(--brass); border-color: var(--brass-deep); color: var(--ink); }
.cta-band .btn-primary:hover{ background: var(--brass-deep); color:var(--white);}

/* ---------- location / map ---------- */
.location-grid{
  display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: stretch;
}
.location-card{
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
}
.location-card dl{ margin-top: 20px; }
.location-card dt{
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brass-deep); margin-top: 18px;
}
.location-card dd{ font-size: 15.5px; margin-top: 4px; }
.map-frame{ border: 1px solid var(--line); border-radius: var(--radius); overflow:hidden; min-height: 340px; }
.map-frame iframe{ width:100%; height:100%; min-height:340px; border:0; display:block; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary{
  cursor:pointer; font-family: var(--font-display); font-weight:600; font-size: 18px;
  display:flex; justify-content: space-between; align-items:center; gap: 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; font-family: var(--font-mono); font-size: 22px; color: var(--brass-deep); flex-shrink:0;
}
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{ margin-top: 12px; font-size: 15px; max-width: 68ch; }

/* ---------- form (contact) ---------- */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-field{ margin-bottom: 18px; }
.form-field label{
  display:block; font-family: var(--font-mono); font-size: 11.5px; text-transform:uppercase;
  letter-spacing: .05em; margin-bottom: 8px; color: var(--ink-soft);
}
.form-field input, .form-field textarea, .form-field select{
  width:100%; border: 1.5px solid var(--line); background: var(--white);
  padding: 12px 14px; border-radius: var(--radius); font-family: var(--font-body); font-size: 15px; color: var(--ink);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ border-color: var(--steel); }
.form-field textarea{ resize: vertical; min-height: 120px; }

/* ---------- footer ---------- */
footer{ background: var(--ink); color: var(--paper-dim); padding: 60px 0 0; }
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid #35302A;
}
.footer-brand{ font-family: var(--font-display); font-size: 20px; color: var(--paper); margin-bottom: 12px; font-weight: 700;}
.footer-grid p{ color: #ADA595; font-size: 14px; }
.footer-col h4{
  font-family: var(--font-mono); font-size: 12px; letter-spacing:.06em; text-transform:uppercase;
  color: var(--brass); margin-bottom: 16px;
}
.footer-col a, .footer-col li{ display:block; margin-bottom: 10px; font-size: 14.5px; color: #C9C2B4; }
.footer-col a:hover{ color: var(--brass); }
.footer-bottom{
  display:flex; justify-content: space-between; padding: 22px 0; font-family: var(--font-mono); font-size: 12px; color: #837C6E;
  flex-wrap:wrap; gap:10px;
}

/* ---------- breadcrumb / page header (inner pages) ---------- */
.page-header{
  background: var(--ink); color: var(--paper);
  padding: 56px 0 46px;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(255,255,255,0.03) 28px),
    repeating-linear-gradient(90deg, transparent, transparent 27px, rgba(255,255,255,0.03) 28px);
}
.page-header .eyebrow{ color: var(--brass); }
.page-header .eyebrow::before{ background: var(--brass); }
.page-header h1{ color: var(--paper); margin-top: 14px; font-size: clamp(32px,4.4vw,48px); }
.breadcrumb{ font-family: var(--font-mono); font-size: 12px; color: #B7AF9E; margin-top: 14px; }
.breadcrumb a{ color: var(--brass); }

/* ---------- filter bar (products page) ---------- */
.filter-bar{
  display:flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px;
}
.filter-bar button{
  font-family: var(--font-mono); font-size: 12.5px; font-weight:700;
  padding: 9px 16px; border-radius: 20px; border: 1.5px solid var(--ink);
  background: transparent; cursor:pointer; transition: all .15s ease;
}
.filter-bar button.active, .filter-bar button:hover{ background: var(--ink); color: var(--paper); }

/* ---------- utility ---------- */
.center{ text-align:center; margin-left:auto; margin-right:auto; }
.mt-40{ margin-top:40px; }
.section-cta{ margin-top: 44px; text-align:center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; padding-bottom: 40px; }
  .ticket{ transform: none; max-width: 380px; }
  .grid{ grid-template-columns: repeat(2,1fr); }
  .feature-list{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .testimonials{ grid-template-columns: 1fr; }
  .location-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px){
  .nav-links{ display:none; }
  .hamburger{
    display:flex; align-items:center; justify-content:center;
    width: 42px; height:42px; border: 1.5px solid var(--ink); border-radius: var(--radius);
    background:none; cursor:pointer;
  }
  .nav-cta .btn-ghost{ display:none; }
  .topbar .wrap{ font-size: 11px; }
  .grid{ grid-template-columns: 1fr 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .cta-band .wrap{ flex-direction: column; align-items: flex-start; text-align:left; }
  .footer-grid{ grid-template-columns: 1fr; }
  section{ padding: 56px 0; }
}

@media (max-width: 480px){
  .grid{ grid-template-columns: 1fr; }
  .hero-stats{ flex-wrap: wrap; row-gap: 16px; }
}

/* mobile nav drawer */
.mobile-nav{
  display:none;
  position: fixed; inset:0; z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 24px;
  flex-direction: column;
}
.mobile-nav.open{ display:flex; }
.mobile-nav-top{ display:flex; justify-content: space-between; align-items:center; margin-bottom: 40px; }
.mobile-nav a{
  font-family: var(--font-display); font-size: 26px; padding: 14px 0; border-bottom: 1px solid #35302A;
}
.mobile-nav .btn{ margin-top: 30px; align-self: flex-start; }
