/* =========================================================
   United Zone Trading LLC — website
   Concept: the page is the storefront. Red fascia with
   downlights, sand cladding sign, three shop windows.
   ========================================================= */

:root {
  --red: #C8202A;          /* logo red */
  --red-deep: #A3161F;
  --ink: #1A1A1A;          /* logo black */
  --sand: #E6D7B8;         /* storefront cladding */
  --sand-2: #F3EBDA;
  --sand-line: #D2BF98;
  --paper: #FFFFFF;
  --steel: #5B6066;
  --glass: #1F262B;        /* shop window glass */
  --glass-2: #2D363C;
  --line: #E4E0D8;

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --f-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

html[lang="ar"] body { font-family: var(--f-ar); font-size: 1rem; line-height: 1.75; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus {
  position: fixed; inset-inline-start: 12px; top: 12px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius);
}

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.3rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 1.05rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
html[lang="ar"] .btn { font-family: var(--f-ar); font-weight: 700; }
.btn .ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #333; }
.btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand-mark { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font: 800 1.55rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .01em;
}
.brand-name .u { color: var(--ink); }
.brand-name .z { color: var(--red); }
.brand-ar { font: 600 .78rem/1.4 var(--f-ar); color: var(--steel); margin-top: .2rem; }

.nav { display: flex; gap: 1.6rem; margin-inline-start: auto; }
.nav a {
  text-decoration: none; font-weight: 500; color: var(--ink);
  padding-block: .4rem; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--red); }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.lang-btn {
  min-height: 40px; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); font: 700 .95rem/1 var(--f-ar); color: var(--ink); cursor: pointer;
}
html[lang="ar"] .lang-btn { font-family: var(--f-body); font-weight: 600; }
.lang-btn:hover { border-color: var(--ink); }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between;
}
.menu-btn span:not(.sr) { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- HERO: facade ---------- */
.facade { background: var(--sand); }

.fascia { background: var(--red); border-bottom: 6px solid var(--red-deep); }
.lights { display: flex; justify-content: space-between; align-items: center; height: 46px; }
.lights i {
  width: 12px; height: 12px; border-radius: 50%;
  background: #f4e9d2; opacity: .25;
  box-shadow: 0 0 0 3px rgba(0,0,0,.12) inset;
  animation: light-on .5s ease-out forwards;
}
.lights i:nth-child(1)  { animation-delay: .10s; }
.lights i:nth-child(2)  { animation-delay: .18s; }
.lights i:nth-child(3)  { animation-delay: .26s; }
.lights i:nth-child(4)  { animation-delay: .34s; }
.lights i:nth-child(5)  { animation-delay: .42s; }
.lights i:nth-child(6)  { animation-delay: .50s; }
.lights i:nth-child(7)  { animation-delay: .58s; }
.lights i:nth-child(8)  { animation-delay: .66s; }
.lights i:nth-child(9)  { animation-delay: .74s; }
.lights i:nth-child(10) { animation-delay: .82s; }
@keyframes light-on {
  to { opacity: 1; background: #fffbea; box-shadow: 0 0 10px 3px rgba(255,246,214,.85), 0 10px 26px 6px rgba(255,240,200,.35); }
}
@media (prefers-reduced-motion: reduce) {
  .lights i { animation: none; opacity: 1; background: #fffbea; box-shadow: 0 0 10px 3px rgba(255,246,214,.85); }
}

/* cladding panels like the real facade */
.cladding {
  background-color: var(--sand);
  background-image:
    linear-gradient(rgba(170,140,90,.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(170,140,90,.28) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 0%, rgba(255,250,235,.75), transparent 60%);
  background-size: 100% 96px, 160px 100%, 100% 100%;
  background-position: 0 -1px, -1px 0, 0 0;
}
.sign {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center; padding-block: clamp(2.5rem, 7vw, 5.5rem);
}
.sign-mark { width: clamp(110px, 16vw, 200px); }
.sign-copy { max-width: 760px; }
.sign-name-ar { font: 800 clamp(1.15rem, 2.4vw, 1.6rem)/1.4 var(--f-ar); color: var(--ink); margin-bottom: .5rem; }
html[lang="ar"] .sign-name-ar { display: none; }
html[dir="ltr"] .sign-name-ar, html[dir="ltr"] .f-ar { text-align: left; }

.sign h1 {
  font: 800 clamp(2.5rem, 6.4vw, 5.2rem)/.95 var(--f-display);
  text-transform: uppercase; letter-spacing: -.005em; color: var(--ink);
  text-wrap: balance;
}
html[lang="ar"] .sign h1 {
  font: 800 clamp(2rem, 5vw, 3.8rem)/1.3 var(--f-ar); text-transform: none; letter-spacing: 0;
}
.lead { margin-top: 1.25rem; max-width: 60ch; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #3a3833; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* shop windows */
.windows-band { background: var(--red); padding-top: 10px; }
.windows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 0; }
.window {
  position: relative; display: flex; flex-direction: column; gap: .35rem;
  min-height: 210px; padding: 1.5rem 1.4rem 1.6rem;
  background:
    linear-gradient(115deg, rgba(255,255,255,.08) 0 18%, transparent 18% 32%, rgba(255,255,255,.05) 32% 38%, transparent 38%),
    linear-gradient(180deg, var(--glass-2), var(--glass));
  color: #fff; text-decoration: none;
  border-top: 8px solid var(--red-deep);
  transition: background-color .2s;
}
.window::after { /* warm interior glow on hover */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(255,214,150,.22), transparent 65%);
  opacity: 0; transition: opacity .25s;
}
.window:hover::after, .window:focus-visible::after { opacity: 1; }
.win-ico { width: 52px; height: 52px; fill: none; stroke: var(--sand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.win-title { font: 700 1.7rem/1.05 var(--f-display); text-transform: uppercase; margin-top: 1.5rem; }
html[lang="ar"] .win-title { font: 800 1.45rem/1.3 var(--f-ar); text-transform: none; }
.win-sub { color: #cfc6b4; font-size: .98rem; }
.windows-band::after { /* pavement */
  content: ""; display: block; height: 18px; background: linear-gradient(#cfcac1, #e9e6e0);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section h2 {
  font: 800 clamp(2rem, 4.2vw, 3.1rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: -.005em;
}
html[lang="ar"] .section h2 { font: 800 clamp(1.7rem, 3.4vw, 2.5rem)/1.3 var(--f-ar); text-transform: none; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2rem; }
.section-head p { color: var(--steel); max-width: 52ch; }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter {
  min-height: 42px; padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); font: 600 .98rem/1 var(--f-body); color: var(--ink); cursor: pointer;
}
html[lang="ar"] .filter { font-family: var(--f-ar); }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* product shelf */
.shelf {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line);
}
.item {
  display: grid; grid-template-columns: 96px 1fr; column-gap: 1.1rem; align-items: start;
  padding: 1.25rem; background: var(--paper);
  border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.item-ico {
  grid-row: span 4; display: grid; place-items: center; width: 96px; height: 96px;
  background: var(--sand-2); border-radius: var(--radius);
}
.item-ico svg { width: 60px; height: 60px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.item-cat { font-size: .82rem; color: var(--red); font-weight: 600; line-height: 1.3; }
.item-name { font: 700 1.3rem/1.15 var(--f-display); margin-top: .15rem; }
html[lang="ar"] .item-name { font: 700 1.08rem/1.45 var(--f-ar); }
.item-spec { color: var(--steel); font-size: .95rem; margin-top: .2rem; }
.item .btn {
  justify-self: start; margin-top: .75rem; min-height: 40px; padding: .45rem .95rem; font-size: .95rem;
  background: transparent; border-color: var(--ink); color: var(--ink);
}
.item .btn:hover { background: var(--ink); color: #fff; }

.brands { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.5rem; }
.brands p { color: var(--steel); font-weight: 500; }
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.brand-list li { font: 800 1.35rem/1 var(--f-display); color: #9a958b; letter-spacing: .02em; }

/* why */
.why { background: var(--ink); color: #fff; }
.why-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); }
.why-lead { margin-top: 1rem; color: #bdb8ae; max-width: 40ch; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
.why-list li { padding-inline-start: 1.1rem; border-inline-start: 4px solid var(--red); }
.why-list h3 { font: 700 1.35rem/1.15 var(--f-display); margin-bottom: .4rem; }
html[lang="ar"] .why-list h3 { font: 700 1.12rem/1.45 var(--f-ar); }
.why-list p { color: #c9c4ba; }

/* visit */
.visit { background: var(--sand-2); }
.visit-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; margin-bottom: 2rem; }
.store-photo { margin: 0; border: 8px solid var(--paper); box-shadow: 0 1px 0 var(--sand-line); }
.store-photo img { width: 100%; height: auto; }
.facts { margin: 1.5rem 0 1.75rem; display: grid; gap: 1.1rem; }
.facts dt { font-size: .9rem; color: var(--steel); font-weight: 600; }
.facts dd { margin: .15rem 0 0; font-size: 1.08rem; font-weight: 500; }
.facts a { text-decoration: none; font-weight: 600; }
.map { display: block; width: 100%; height: 340px; border: 0; border-radius: var(--radius); background: var(--sand); }

/* quote */
.quote-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.quote-grid > div p { margin-top: 1rem; color: var(--steel); max-width: 44ch; }
.quote-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem); background: var(--sand-2); border: 1px solid var(--sand-line); border-radius: var(--radius);
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-wide { grid-column: 1 / -1; }
.quote-form .btn { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: .75rem .85rem; border: 1px solid #cdbf9f; border-radius: var(--radius);
  background: var(--paper); font: inherit; font-size: 1rem; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--red); }
.err { color: var(--red); font-size: .92rem; font-weight: 600; }

/* footer */
.site-footer { background: var(--ink); color: #d8d3c9; padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }
.footer-brand { display: flex; gap: .9rem; align-items: center; }
.footer-brand img { background: #fff; border-radius: var(--radius); padding: 4px; width: 52px; }
.f-name { font: 700 1.3rem/1.1 var(--f-display); color: #fff; text-transform: uppercase; }
.f-ar { font: 600 .95rem/1.5 var(--f-ar); }
.footer-cats { display: flex; flex-direction: column; gap: .3rem; }
.footer-contact { display: grid; gap: .3rem; }
.footer-contact a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-base {
  padding-block: 1.25rem; font-size: .9rem; color: #9c978d;
  background: linear-gradient(#333, #333) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

/* floating WhatsApp */
.wa-float {
  position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  transition: opacity .2s, transform .2s;
}
.wa-float.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav { gap: 1.1rem; }
  .shelf { grid-template-columns: repeat(2, 1fr); }
  .call-top .num { display: none; }
}

@media (max-width: 880px) {
  .menu-btn { display: flex; }
  .nav {
    position: absolute; top: 100%; inset-inline: 0;
    flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: .85rem; border-bottom: 1px solid var(--line); }
  .header-actions { margin-inline-start: auto; }
  .section-head, .why-grid, .visit-grid, .quote-grid { grid-template-columns: 1fr; }
  .windows { grid-template-columns: 1fr; gap: 10px; }
  .window { min-height: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; }
  .win-ico { grid-row: span 2; margin: 0; width: 44px; height: 44px; }
  .win-title { margin-top: 0; font-size: 1.45rem; }
}

@media (max-width: 600px) {
  .brand-ar { display: none; }
  .brand-name { font-size: 1.35rem; }
  .call-top { display: none; }
  .sign { grid-template-columns: 1fr; }
  .sign-mark { display: none; }
  .shelf { grid-template-columns: 1fr; }
  .item { grid-template-columns: 80px 1fr; padding: 1rem; }
  .item-ico { width: 80px; height: 80px; }
  .item-ico svg { width: 50px; height: 50px; }
  .why-list { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .lights i:nth-child(n+7) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
}
