:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-soft: #eceff3;
  --ink: #151a22;
  --muted: #69717e;
  --brand: #b9863f;
  --brand-strong: #94682e;
  --brand-soft: #f1e4d0;
  --line: rgba(21, 26, 34, 0.11);
  --shadow: 0 22px 60px rgba(28, 33, 41, 0.12);
  --radius: 24px;
}

[data-theme="dark"] {
  --bg: #111419;
  --surface: #181d24;
  --surface-soft: #202630;
  --ink: #f5f1e8;
  --muted: #aab1bc;
  --brand: #d5a85f;
  --brand-strong: #efc578;
  --brand-soft: #322919;
  --line: rgba(255, 255, 255, 0.11);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  transition: background .25s ease, color .25s ease;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 8% 8%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 30%),
    radial-gradient(circle at 92% 75%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 28%);
  pointer-events: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px);
}
.nav-wrap {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  background: transparent;
}
.brand-logo-header { height: 68px; }
.brand-logo-footer { height: 92px; }
.brand-mark {
  width: 52px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--brand);
  border-radius: 16px 4px 16px 4px;
  color: var(--brand);
  font-size: 30px;
  font-weight: 900;
  transform: rotate(-4deg);
}
.brand-copy { display: grid; line-height: 1.35; }
.brand-copy strong { font-size: 1.05rem; }
.brand-copy small { color: var(--muted); font-size: .66rem; letter-spacing: .08em; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width .2s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.icon-btn, .menu-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}
.icon-btn:hover, .menu-btn:hover { transform: translateY(-2px); border-color: var(--brand); }
.menu-btn { display: none; border-radius: 13px; font-size: 1.3rem; }
.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(34px, 6vw, 78px);
  padding-block: 70px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--brand);
  font-weight: 900;
  letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
h1, h2, h3, h4, p { margin-top: 0; }
.hero h1 {
  margin-bottom: 14px;
  font-size: clamp(2.55rem, 6vw, 5.2rem);
  line-height: 1.15;
  letter-spacing: -.045em;
}
.hero h1 span { color: var(--brand); }
.hero h2 {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.6vw, 2rem);
  line-height: 1.55;
  font-weight: 500;
}
.hero h2 strong { color: var(--brand); }
.hero p { max-width: 660px; color: var(--muted); font-size: 1.05rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(185, 134, 63, .2); }
.btn-primary { color: #151515; background: var(--brand); }
.btn-light { border-color: var(--line); background: var(--surface); }
.btn-small { min-height: 40px; padding-inline: 17px; font-size: .88rem; }
.hero-visual {
  position: relative;
  min-height: 570px;
  border-radius: 34px 10px 34px 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, var(--brand-soft), var(--surface-soft));
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 17, 21, .18), transparent 45%);
  pointer-events: none;
}
.hero-visual > img { width: 100%; height: 100%; min-height: 570px; object-fit: cover; }
.hero-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 14px 35px rgba(0,0,0,.13);
  backdrop-filter: blur(12px);
  font-weight: 800;
}
.hero-note b { color: var(--brand); font-size: 1.2rem; }
.note-one { top: 8%; right: 6%; }
.note-two { bottom: 9%; left: 6%; }
.quick-contact { display: flex; gap: 9px; margin-top: 30px; }
.quick-contact a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 900;
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}
.trust-item {
  min-height: 130px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 20px;
  text-align: center;
  background: var(--surface);
}
.trust-icon { color: var(--brand); font-size: 1.8rem; }
.trust-item strong { font-size: 1.02rem; }
.trust-item span { color: var(--muted); font-size: .83rem; }
.section { padding-block: 100px; }
.section-tight { padding-block: 70px; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
}
.section-head h2 { margin-bottom: 8px; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.2; }
.section-head p { margin: 0; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(25,30,38,.06);
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,14,18,.85), transparent 66%);
}
.category-card:hover img { transform: scale(1.045); }
.category-copy { position: relative; z-index: 2; width: 100%; padding: 26px; color: white; }
.category-copy h3 { margin-bottom: 7px; font-size: 1.35rem; }
.category-copy p { margin: 0; color: rgba(255,255,255,.72); font-size: .9rem; }
.category-copy .tag { margin-top: 14px; }
.tag {
  display: inline-flex;
  padding: 5px 11px;
  border: 1px solid color-mix(in srgb, var(--brand) 65%, transparent);
  border-radius: 999px;
  color: var(--brand-strong);
  background: color-mix(in srgb, var(--brand-soft) 80%, transparent);
  font-size: .78rem;
  font-weight: 800;
}
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: steps; }
.process-card {
  position: relative;
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  counter-increment: steps;
}
.process-card::before {
  content: "0" counter(steps);
  display: block;
  margin-bottom: 22px;
  color: var(--brand);
  font-size: 1.7rem;
  font-weight: 900;
}
.process-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.process-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(34px, 6vw, 66px);
  border-radius: 30px 8px 30px 8px;
  color: #fff;
  background: #1c2027;
}
.cta-band::before {
  content: "ع";
  position: absolute;
  left: 4%;
  top: -55%;
  color: rgba(255,255,255,.035);
  font-size: 24rem;
  font-weight: 900;
}
.cta-band h2 { margin-bottom: 7px; font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.66); }
.page-hero { padding-block: 78px 62px; text-align: center; }
.page-hero h1 { margin-bottom: 12px; font-size: clamp(2.4rem, 6vw, 4.7rem); line-height: 1.2; }
.page-hero p { max-width: 720px; margin-inline: auto; color: var(--muted); font-size: 1.03rem; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: center; }
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.35; }
.about-copy p { color: var(--muted); }
.fact-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { padding: 20px; border-radius: 18px; background: var(--surface-soft); }
.fact strong { display: block; color: var(--brand); font-size: 1.55rem; }
.fact span { color: var(--muted); font-size: .85rem; }
.filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(145px, .55fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}
.field {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: var(--bg);
  outline: none;
}
.field:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.results-count { margin: 20px 0; color: var(--muted); font-weight: 700; }
.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.swatch-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: transform .2s ease, box-shadow .2s ease;
}
.swatch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.swatch-color { height: 190px; overflow: hidden; background: var(--swatch); }
.swatch-photo { background: var(--surface-soft); }
.swatch-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 57%;
  transform: scale(1.02);
}
.swatch-info { padding: 18px; }
.swatch-code { color: var(--brand); font-weight: 900; letter-spacing: .04em; }
.swatch-name { margin: 3px 0 12px; font-weight: 800; }
.swatch-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.swatch-actions { display: flex; gap: 8px; margin-top: 16px; }
.swatch-actions .btn { flex: 1; }
.gallery-collection { display: grid; gap: 62px; }
.gallery-group-head { margin-bottom: 22px; }
.gallery-group-head h2 { margin: 8px 0 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  padding: 0;
  background: var(--surface-soft);
  cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(14,17,22,.72);
  backdrop-filter: blur(10px);
  font-size: .83rem;
  font-weight: 800;
}
dialog {
  width: min(880px, calc(100% - 30px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
}
dialog::backdrop { background: rgba(8,10,13,.86); backdrop-filter: blur(7px); }
dialog img { width: 100%; max-height: 82vh; object-fit: contain; }
.dialog-close { position: absolute; top: 13px; left: 13px; z-index: 2; color: white; background: rgba(0,0,0,.62); }
.form-shell {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form-section + .form-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.form-section h2 { margin-bottom: 18px; font-size: 1.35rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .88rem; font-weight: 800; }
textarea.field { min-height: 125px; resize: vertical; }
.form-help { margin: 18px 0 0; color: var(--muted); font-size: .84rem; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.contact-card, .location-card {
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.contact-list { display: grid; gap: 14px; margin-top: 26px; }
.contact-row { display: flex; align-items: center; gap: 13px; padding: 16px; border-radius: 16px; background: var(--surface-soft); }
.contact-row b { display: block; }
.contact-row span { color: var(--muted); font-size: .86rem; }
.contact-symbol { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--brand); background: var(--brand-soft); font-weight: 900; }
.map-visual {
  min-height: 310px;
  display: grid;
  place-items: center;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  background:
    linear-gradient(rgba(185,134,63,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,134,63,.08) 1px, transparent 1px),
    var(--surface-soft);
  background-size: 30px 30px;
}
.pin { font-size: 3rem; filter: drop-shadow(0 10px 12px rgba(0,0,0,.15)); }
.site-footer {
  margin-top: 80px;
  padding: 42px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 42px; padding-bottom: 34px; }
.footer-grid h3 { margin-bottom: 14px; font-size: 1rem; }
.footer-grid p { max-width: 500px; color: var(--muted); }
.footer-links { display: grid; gap: 8px; color: var(--muted); }
.footer-links a:hover { color: var(--brand); }
.copyright { padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: .84rem; }
.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 45;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #169b58;
  box-shadow: 0 15px 35px rgba(16,136,76,.3);
  font-weight: 900;
}
.empty-state {
  grid-column: 1 / -1;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}
.toast {
  position: fixed;
  right: 50%;
  bottom: 28px;
  z-index: 90;
  transform: translate(50%, 120px);
  padding: 11px 18px;
  border-radius: 999px;
  color: #fff;
  background: #151a22;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: .25s ease;
}
.toast.show { transform: translate(50%, 0); opacity: 1; }
@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .site-nav {
    position: fixed;
    inset: 91px 20px auto 20px;
    display: none;
    align-items: stretch;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 8px; }
  .site-nav a::after { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 54px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; min-height: 470px; }
  .hero-visual > img { min-height: 470px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-card:last-child { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr 1fr; }
  .swatch-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 26px, 1180px); }
  .nav-wrap { min-height: 76px; }
  .site-nav { inset: 77px 13px auto 13px; }
  .brand-logo-header { height: 54px; }
  .brand-mark { width: 44px; font-size: 25px; }
  .brand-copy strong { font-size: .92rem; }
  .brand-copy small { font-size: .58rem; }
  .hero { padding-block: 38px 55px; gap: 34px; }
  .hero h1 { font-size: clamp(2.35rem, 13vw, 3.7rem); }
  .hero-visual, .hero-visual > img { min-height: 410px; }
  .hero-note { padding: 10px 12px; font-size: .78rem; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .section { padding-block: 72px; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 18px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card:last-child { grid-column: auto; }
  .category-card { min-height: 390px; }
  .process { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .swatch-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-grid > :first-child { grid-column: auto; }
}
@media (max-width: 460px) {
  .brand-logo-header { height: 48px; }
  .brand-copy small { display: none; }
  .nav-actions .icon-btn:first-child { display: none; }
  .hero-visual, .hero-visual > img { min-height: 360px; }
  .trust-strip, .swatch-grid, .gallery-grid { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
