/* ============================================================
   Assaf Design — palette extracted from the brand logo
   Charcoal #1f1f1f  +  Gold #fec907  +  warm off-white
   ============================================================ */
:root{
  --black:      #1a1a1a;
  --black-soft: #242424;
  --black-2:    #121212;
  --gold:       #fec907;
  --gold-dark:  #d9a800;
  --gold-ink:   #8a6a00;
  --cream:      #faf8f3;
  --cream-2:    #f2efe6;
  --white:      #ffffff;
  --gray-700:   #4a4a46;
  --gray-500:   #767168;
  --gray-300:   #d8d4c8;
  --border:     #e7e2d3;

  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Work Sans', 'Segoe UI', Arial, sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(26,26,26,.06);
  --shadow-md: 0 12px 34px rgba(26,26,26,.12);
  --container: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3{ font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.15; color: var(--black); }
p{ margin: 0 0 1em; color: var(--gray-700); }
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
svg{ width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

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

.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--black);
  padding: 10px 16px; z-index: 1000; font-weight: 600;
}
.skip-link:focus{ left: 12px; top: 12px; }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn-gold{ background: var(--gold); color: var(--black); }
.btn-gold:hover{ background: var(--gold-dark); transform: translateY(-2px); }
.btn-outline{ border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline:hover{ background: var(--black); color: var(--white); transform: translateY(-2px); }
.btn-small{ padding: 9px 18px; font-size: .82rem; }

/* ---------- header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 500;
  background: rgba(250,248,243,.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner{ display: flex; align-items: center; gap: 24px; padding: 14px 24px; }
.brand{ display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-text{ font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: .2px; }
.brand-text em{ font-style: normal; color: var(--gold-ink); }
.main-nav{ display: flex; align-items: center; gap: 28px; }
.main-nav a{ font-weight: 600; font-size: .95rem; position: relative; padding: 6px 0; }
.main-nav a::after{
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .2s ease;
}
.main-nav a:hover::after{ width: 100%; }
.header-cta{ padding: 10px 22px; margin-left: 6px; }
.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--white); cursor: pointer;
}
.nav-toggle span{ display: block; height: 2px; background: var(--black); border-radius: 2px; }

/* ---------- hero ---------- */
.hero{
  position: relative; overflow: hidden; background: var(--black);
  padding: 120px 0 100px; color: var(--white);
}
.hero-roofline{
  position: absolute; inset: 0; opacity: .5;
  background:
    linear-gradient(135deg, transparent 48%, var(--gold) 48.4%, var(--gold) 49.6%, transparent 50%),
    linear-gradient(45deg, transparent 58%, rgba(254,201,7,.35) 58.6%, rgba(254,201,7,.35) 59.4%, transparent 60%);
  background-size: 600px 600px, 500px 500px;
  background-repeat: no-repeat;
  background-position: 110% -10%, -10% 120%;
}
.hero-inner{ position: relative; max-width: 760px; }
.eyebrow{
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700;
  color: var(--gold); margin-bottom: 18px;
}
.hero h1{ font-size: clamp(2.1rem, 5vw, 3.4rem); color: var(--white); font-weight: 700; }
.hero-sub{ color: #d8d5cc; font-size: 1.05rem; max-width: 60ch; }
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-actions .btn-outline{ border-color: var(--white); color: var(--white); }
.hero-actions .btn-outline:hover{ background: var(--white); color: var(--black); }

/* ---------- section helpers ---------- */
section{ padding: 90px 0; }
.section-eyebrow{
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--gold-ink);
  margin-bottom: 10px;
}
.center{ text-align: center; }
.section-intro{ max-width: 620px; margin: 0 auto 10px; }
h2{ font-size: clamp(1.6rem, 3.4vw, 2.3rem); }

/* ---------- about ---------- */
.about{ background: var(--white); }
.about-grid{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-motto{
  font-family: var(--font-head); font-style: italic; font-weight: 600; font-size: 1.15rem;
  color: var(--black); border-left: 3px solid var(--gold); padding-left: 18px; margin-top: 24px;
}
.about-stats{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card{
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center;
}
.stat-number{ display: block; font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--gold-ink); }
.stat-label{ font-size: .88rem; color: var(--gray-700); }

/* ---------- products ---------- */
.products{ background: var(--cream-2); }
.product-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 50px;
}
.product-card{
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.product-icon{
  width: 48px; height: 48px; color: var(--gold-ink); margin-bottom: 18px;
}
.product-card h3{ font-size: 1.15rem; margin-bottom: 10px; }
.product-card p{ font-size: .92rem; margin-bottom: 0; }

/* ---------- catalogs ---------- */
.catalogs{ background: var(--white); }
.cat-tabs{
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 46px 0 36px;
}
.cat-tab{
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--cream);
  font-weight: 600; font-size: .9rem; color: var(--gray-700); cursor: pointer; transition: all .2s ease;
}
.cat-tab:hover{ border-color: var(--gold); color: var(--black); }
.cat-tab.is-active{ background: var(--black); border-color: var(--black); color: var(--gold); }

.cat-panel{ display: none; }
.cat-panel.is-active{ display: block; }
.cat-panel-head{
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px;
  flex-wrap: wrap;
}
.cat-panel-head h3{ margin: 0; font-size: 1.3rem; }

.gallery{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px;
  min-height: 160px;
}
.gallery-placeholder{
  grid-column: 1 / -1; text-align: center; color: var(--gray-500); padding: 40px 0; font-style: italic;
}
.gallery-item{
  position: relative; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--cream-2);
  border: 1px solid var(--border); aspect-ratio: 16 / 9;
}
.gallery-item img{
  width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, opacity .3s ease;
  opacity: 0;
}
.gallery-item img.is-loaded{ opacity: 1; }
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item .page-no{
  position: absolute; right: 8px; bottom: 8px; background: rgba(26,26,26,.75); color: var(--gold);
  font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 6px;
}

/* ---------- branches ---------- */
.branches{ background: var(--black); color: var(--white); }
.branches .section-eyebrow{ color: var(--gold); }
.branches h2{ color: var(--white); }
.branches .section-intro{ color: #cfccc2; }
.branch-grid{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-top: 46px;
}
.branch-card{
  background: var(--black-soft); border: 1px solid #333; border-radius: var(--radius);
  padding: 26px 20px; text-align: center; transition: border-color .2s ease, transform .2s ease;
}
.branch-card:hover{ border-color: var(--gold); transform: translateY(-4px); }
.branch-name{ display: block; font-family: var(--font-head); font-weight: 700; margin-bottom: 8px; }
.branch-phone{ display: block; color: var(--gold); font-weight: 600; letter-spacing: .02em; }

/* ---------- contact ---------- */
.contact{ background: var(--cream-2); }
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-cards{ display: grid; gap: 16px; }
.contact-card{
  display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px; font: inherit; text-align: left; cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.contact-card:hover{ border-color: var(--gold); transform: translateY(-3px); }
.contact-icon{ width: 42px; height: 42px; flex: none; color: var(--gold-ink); }
.contact-text{ display: block; min-width: 0; }
.contact-label{ display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); }
.contact-value{ display: block; font-weight: 700; font-size: 1.02rem; word-break: break-word; }

/* ---------- footer ---------- */
.site-footer{ background: var(--black-2); color: #c9c6bb; padding: 40px 0; }
.footer-inner{ text-align: center; display: grid; gap: 10px; }
.footer-brand{ display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; color: var(--white); }
.footer-note{ font-size: .85rem; margin: 0; }
.footer-copy{ font-size: .8rem; margin: 0; color: var(--gray-500); }

/* ---------- lightbox ---------- */
.lightbox{
  position: fixed; inset: 0; background: rgba(10,10,10,.94); z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.lightbox.is-open{ opacity: 1; pointer-events: auto; }
.lightbox-img{ max-width: 88vw; max-height: 84vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close{
  position: absolute; top: 20px; right: 24px; background: none; border: none; color: var(--white);
  font-size: 2.2rem; line-height: 1; cursor: pointer;
}
.lightbox-nav{
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08);
  border: none; color: var(--white); width: 50px; height: 50px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
}
.lightbox-nav:hover{ background: var(--gold); color: var(--black); }
.lightbox-prev{ left: 24px; }
.lightbox-next{ right: 24px; }
.lightbox-count{ position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #cfccc2; font-size: .85rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px){
  .about-grid, .contact-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .main-nav{ display: none; }
  .nav-toggle{ display: flex; }
  .site-header.is-open .main-nav{
    display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 18px 24px 24px; border-bottom: 1px solid var(--border); gap: 16px;
  }
  .site-header.is-open .header-cta{ margin-left: 0; margin-top: 4px; }
  section{ padding: 64px 0; }
  .hero{ padding: 90px 0 70px; }
}
